/* Torn stock, deckled edges and pressed ink replace rectangular UI chrome. */
#game button{
 border:0!important;border-radius:0!important;
 clip-path:polygon(1% 8%,5% 4%,10% 6%,16% 2%,22% 5%,29% 1%,35% 4%,42% 2%,49% 5%,55% 1%,63% 4%,70% 2%,78% 5%,85% 1%,92% 4%,98% 2%,99% 16%,97.8% 29%,99.5% 43%,98.5% 57%,100% 72%,98% 86%,99% 96%,93% 98%,85% 95%,77% 99%,70% 96%,63% 100%,55% 96%,48% 99%,41% 96%,34% 100%,27% 97%,20% 99%,13% 95%,6% 98%,1% 95%,2% 82%,.2% 67%,1.5% 53%,0% 39%,2% 24%);
 box-shadow:inset 0 2px 0 #fff9,inset 0 -3px 0 #5555!important;
 min-height:44px;text-shadow:0 1px 0 #fff6;
}
#game button:not(.card):not(.research-node){
 color:#25241f!important;
 background-color:#e8e3d7!important;
 background-image:linear-gradient(112deg,#fff9,transparent 35%,#85796622 75%,#fff8),url('paper-ui.png')!important;
 background-size:100% 100%!important;background-blend-mode:multiply!important;
}
#game button:nth-child(3n){transform:rotate(-.35deg)}
#game button:nth-child(3n+1){transform:rotate(.25deg)}
#game button:hover:not(:disabled){filter:brightness(1.07);text-decoration:underline;text-underline-offset:4px}
#game button:active:not(:disabled){transform:translateY(2px) rotate(-.5deg);filter:brightness(.96)}
#game button:focus-visible{outline:3px dashed #222!important;outline-offset:-7px!important}
#game button:disabled{opacity:.5;cursor:not-allowed}
#game button.active,#game button[aria-pressed=true],#game button[aria-selected=true],#game #launchGame,#game .primary{
 background-color:#d6ceba!important;font-weight:800;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px;
 box-shadow:inset 0 0 0 3px #474133,inset 0 0 0 6px #eee8d7!important;
}
.title-actions{gap:10px 8px}.title-actions button{padding:10px 18px!important;min-height:49px!important}
.title-actions #launchGame{min-height:56px!important;font-size:15px;letter-spacing:.4px}
#game #exitGame{background-color:#ddd6c8!important}
#game #strategicSelector button{padding:9px 12px}
@media(orientation:landscape) and (max-height:600px){.title-actions{gap:4px 7px}.title-actions button,.title-actions #launchGame{min-height:44px!important;padding:6px 12px!important}.title-content{padding:0}.title-top{padding-bottom:4px}}
@media(prefers-reduced-motion:reduce){#game button{transform:none!important;transition:none!important}}
