/* Illustrated arcade shell. Gameplay geometry, canvases, tiles, and timing are untouched. */
body{background:radial-gradient(ellipse at 50% 0,#4f4d49 0,transparent 700px),#22211f!important;color:#fff1db}
body>header,main>header{border-bottom-color:#706e69}
h1,.masthead h1{font-family:'Arial Rounded MT Bold','Trebuchet MS',Arial,sans-serif!important;font-weight:900!important;font-style:italic;letter-spacing:-.045em;color:#ffe1a3;text-shadow:3px 4px 0 #141413;transform:rotate(-2deg);transform-origin:left center}
h1 em,.masthead h1 em{font-family:inherit!important;font-weight:900!important;color:#ffcb58!important}
.brand{font-family:'Trebuchet MS',Arial,sans-serif;font-weight:900;color:#ffdf9a!important;transform:rotate(-2deg)}
.back,main>header>a{display:inline-flex;align-items:center;min-height:44px;padding:9px 14px;border:2px solid #191817;border-radius:20px 12px 22px 14px;background:#4a4845;color:#fff1da;box-shadow:3px 4px 0 #171716;text-decoration:none}
.seal{border:3px dashed #ffd26d!important;color:#ffdc8a!important;background:#403e3b;border-radius:45% 48% 43% 47%!important;transform:rotate(8deg)}
.game-shell,.game,.workshop,#console,.table-shell{border:3px solid #171716!important;border-radius:22px 17px 25px 16px!important;box-shadow:7px 8px 0 #131312!important}
/* Buttons keep their existing size and layout; no generic rules touch a puzzle tile. */
:is(.tool-row,.toolbar,.actions,.menu-actions,.result-actions,.overlay-secondary,nav) button:not(.tile),button.primary,#primary-button{border:2px solid #1c1c1b;border-radius:15px 10px 17px 12px;background:#504e4b;color:#ffefda;box-shadow:2px 3px 0 #161615;font-weight:800}
button.primary,#primary-button,.actions button:first-child{background:#ffd16a;color:#242422}
.overlay-card{border:3px solid #1d1d1b!important;border-radius:23px 16px 29px 15px!important;box-shadow:6px 8px 0 #141413}
.overlay-card h2{font-family:'Trebuchet MS',Arial,sans-serif;font-weight:900;letter-spacing:-.035em}
:is(.toolbar,.mission-bar,.topline,.hud){border-bottom-color:#686661}
button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #ffe7ac!important;outline-offset:4px}
@media(max-width:700px){.game-shell,.game,.workshop,#console,.table-shell{box-shadow:3px 4px 0 #131312!important;border-width:2px!important}h1,.masthead h1{text-shadow:2px 3px 0 #141413}}
@media(prefers-reduced-motion:reduce){body*,body*::before,body*::after{scroll-behavior:auto!important}}
