/* Hashcade interface system. Game worlds keep their own art; all surrounding UI
   shares these semantic colors, type sizes, spacing and interaction states. */
:root,body,body[data-theme=light]{color-scheme:light;--frost:#f8f4e9;--ice:#eee5d7;--ink:#18171d;--muted:#625b52;--line:#ded4c5;--white:#fff;--surface:#fff;--surface-raised:#f0e9dd;--selection:#ffdfe5;--blue:#a4263d;--action:#ff5472;--on-action:#171717;--success:#226342;--warning:#865019;--danger:#ac263b;--control-line:#81766a;--focus:#ab2640;--outline:#18171d;--coral:#ff5472;--yellow:#ffc83d;--sky:#55c7f2;--violet:#9d7aff;--hero-accent:#e33957;--shadow:4px 4px 0 #171717;--text-small:.8125rem;--text-label:.875rem;--text-body:1rem;--space:8px;--hud-scale:1;background:var(--frost);color:var(--ink)}
body[data-theme=dark]{color-scheme:dark;--frost:#1c1b22;--ice:#35313c;--ink:#f7f2e8;--muted:#c3bbc9;--line:#524b59;--white:#28252f;--surface:#28252f;--surface-raised:#35313c;--selection:#4b2634;--blue:#ffa3b0;--action:#ff7889;--on-action:#171717;--success:#9de0b7;--warning:#ffce82;--danger:#ffadba;--control-line:#9b90a3;--focus:#ffc83d;--outline:#0d0c10;--hero-accent:#ff7889;--shadow:4px 4px 0 #0d0c10;background:var(--frost);color:var(--ink)}
body{font-family:Arial,Helvetica,sans-serif;font-size:var(--text-body);line-height:1.5;font-synthesis:weight}button,input,select,textarea{font-family:inherit}button,summary,a{-webkit-tap-highlight-color:transparent}
:is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid var(--focus);outline-offset:3px}::selection{background:var(--selection);color:var(--ink)}
body :is(input,select,textarea){background:var(--surface);color:var(--ink);border:1px solid var(--control-line);border-radius:8px;font-size:1rem;line-height:1.5;min-height:44px}
body :is(input,textarea)::placeholder{color:var(--muted);opacity:1}body :is(input[type=checkbox],input[type=radio]){min-height:0;accent-color:var(--action)}
body .btn{font-size:.875rem;line-height:1.4;min-height:44px;padding:11px 18px;border-radius:8px;background:var(--surface);color:var(--ink);border-color:var(--control-line)}
body .btn.primary{background:var(--action);color:var(--on-action);border-color:var(--action)}body .btn:hover:not(:disabled){background:var(--surface-raised);color:var(--ink);border-color:var(--blue)}body .btn.primary:hover:not(:disabled){background:var(--action);color:var(--on-action);filter:brightness(.94)}body .btn:disabled{background:var(--surface-raised);color:var(--muted);border-color:var(--line);opacity:.75}
body .text-button{font-size:.875rem;min-height:44px;display:inline-flex;align-items:center;color:var(--blue)}body .help,body .hint,body .quiet-help,body .notice{font-size:.875rem;line-height:1.65}body .help,body .hint,body .quiet-help{color:var(--muted)}body .notice{color:var(--warning)}body .notice:empty{display:none}
body .eyebrow{font-size:.75rem;line-height:1.5;letter-spacing:.08em;color:var(--muted)}body summary{font-size:.875rem;min-height:40px;line-height:1.5;padding-block:8px;color:var(--ink)}
/* One compact header: navigation, mining state, score, identity. */
body .app>.header{gap:28px;min-height:80px;padding:12px 32px;background:var(--surface);border-color:var(--line)}body .header .brand img{width:172px;filter:grayscale(1) brightness(.45)}body[data-theme=dark] .brand img{filter:grayscale(1) brightness(2)}
body .header .rail-main{gap:24px}body .header .nav-item{font-size:.9375rem;min-height:44px;display:flex;align-items:center;padding:10px 0}body .header .nav-item.selected:after{bottom:-13px;background:var(--action)}body .app .header-tools{gap:20px;min-width:0}
body .app .header-round{display:flex;min-height:44px;border-left:1px solid var(--line);background:none;padding:0 0 0 20px;max-width:210px;flex-shrink:1}body .app .header-round .header-points{display:block;min-width:0;text-align:right}body .app .header-points>b{font-size:1.125rem;line-height:1.3;overflow-wrap:anywhere;font-weight:600;color:var(--ink)}body .app .header-round small{font-size:.75rem;display:block;color:var(--muted)}
body .app .header-status b,body .account-label b{font-size:.875rem;color:var(--ink)}body .app .status-check{color:var(--success)}body .header-status{min-height:44px}body .account-menu>summary{min-height:44px;padding:4px 8px}body .account-menu-panel{background:var(--surface);box-shadow:var(--shadow);border-color:var(--line);max-width:calc(100vw - 32px)}body .account-menu-panel button{min-height:44px;font-size:.9375rem;color:var(--ink)}body .account-menu-panel button span{font-size:.8125rem;color:var(--muted)}body .account-menu-panel button:hover,body .account-menu[open]>summary,body .account-menu>summary:hover{background:var(--surface-raised);color:var(--ink)}
/* Collections base sizes. Reference layout and breakpoints are below. */
body .arcade-library{padding:32px;max-width:1640px}body .library-title-row h1{font-size:2rem;line-height:1.2}body .library-title-row{margin-bottom:24px}body .library-online{font-size:.875rem}body .library-online[data-fresh=true] .online-dot{background:var(--success)}
body .collections-side .library-filter{font-size:.875rem;min-height:44px;border-radius:8px;padding:12px}body .collections-side .library-filter>span{font-size:.8125rem}body .collections-side .library-filter[aria-pressed=true]{background:var(--selection);color:var(--blue);font-weight:600}body .collections-side>.eyebrow,body .collections-side #library-recent>.eyebrow{font-size:.75rem}body .recent-game{font-size:.8125rem;line-height:1.5;gap:10px}body .recent-game img{width:32px;height:32px}body .collection-legal{font-size:.8125rem;gap:20px}body .collection-legal a{display:flex;align-items:center;min-height:44px}
body .library-toolbar>span{font-size:.875rem}body .library-search input{font-size:1rem;height:44px;width:260px;border-color:var(--control-line)}body .library-toolbar{padding-bottom:0;border:0;margin-bottom:24px}body .shelf-heading h2{font-size:1.375rem;line-height:1.35}body .shelf-more{font-size:.875rem;min-height:44px;padding:8px;color:var(--blue)}body .shelf-grid{gap:20px}body .game-shelf{margin-bottom:32px}body .shelf-grid .tile-wordmark{font-size:clamp(22px,1.75vw,30px);line-height:1.08}body .tile-live,body .tile-saved{font-size:.75rem;line-height:1.3;background:#202820ed;color:#fff}body .saved-game-meta{font-size:.8125rem}body .shelf-grid .tile-cover{border-radius:10px}body .game-tile:focus-visible{outline-offset:5px;border-radius:10px}
/* Secondary pages use the same reading width and type hierarchy. */
body .page-view{padding:36px 32px 48px;max-width:1320px}body .page-view h1,body .profile-top h1,body .results-top h1{font-size:2rem;line-height:1.2}body .page-intro{font-size:1rem;line-height:1.6;max-width:68ch;margin:16px 0 28px}body .page-columns{gap:32px;margin-top:28px;grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)}body .paper-panel,body .profile-section .paper-panel{padding:24px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:12px}body .panel-title{font-size:1.25rem;line-height:1.4;margin-bottom:16px}body .panel-title>span{font-size:.8125rem}body .access-message{font-size:1rem}body .paper-panel label:not(.setting){font-size:.875rem;margin-top:20px}body .miner-code input{font-size:.875rem;background:var(--surface-raised)}body .side-notes{font-size:.9375rem}body .side-notes h2{font-size:1.25rem;line-height:1.4;margin:0 0 16px}body .side-notes p{margin:12px 0}body .worker b{font-size:.875rem}body .worker small{font-size:.8125rem}
body .mining-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0 28px}.mining-summary>div{padding:20px 24px;border:1px solid var(--line);border-radius:12px;background:var(--surface);min-width:0}.mining-summary span,.mining-summary small{display:block;color:var(--muted);font-size:.8125rem;line-height:1.5}.mining-summary strong{display:block;font-size:1.625rem;line-height:1.4;font-variant-numeric:tabular-nums;margin:8px 0;overflow-wrap:anywhere}
body .workers-panel{background:none;padding:24px 0 0;border-color:var(--line)}body .workers-table-wrap{background:var(--surface);border-color:var(--line)}body .workers-table{font-size:.875rem}body .workers-table th{background:var(--surface-raised);font-size:.8125rem;color:var(--ink);white-space:normal}body .workers-table th small,body .workers-table td small{font-size:.75rem;color:var(--muted)}body .workers-table td:nth-child(4){text-align:right}body .workers-table tr[data-yours=true]{background:var(--selection);color:var(--ink)}body .worker-state[data-status=active]{color:var(--success)}body .worker-state[data-status=unavailable]{color:var(--warning)}body .workers-updated{font-size:.8125rem}
body .page-tabs{gap:28px;flex-wrap:wrap;margin:24px 0}body .page-tabs button{font-size:.9375rem;min-height:44px;padding:12px 0}body .profile-section .help,body .profile-fields .help{font-size:.875rem}body .profile-top .help,body .security-summary small{font-size:.8125rem}body .account-form label{font-size:.875rem}body .account-form label small,body .account-form .help{font-size:.8125rem}body .account-form input{min-height:44px}body .compact-check{font-size:.875rem!important;min-height:44px}body .color-options button{width:44px;height:44px;border-color:var(--surface)}body .profile-section h2{font-size:1.375rem}body .profile-section h3{font-size:1.0625rem}body .address-review{background:var(--selection);color:var(--ink);border-color:var(--line)}
body #results-view :is(.results-summary>div,.game-total,.activity-row:nth-child(odd)){background:var(--surface)}body .results-summary>div{padding:24px;border-radius:12px}body .results-summary small,body .results-summary span,body .results-mining{font-size:.875rem}body .results-summary strong{font-size:2rem;color:var(--ink)}body .results-mining{gap:12px 28px;line-height:1.6}body .results-filters label{font-size:.8125rem}body .results-filters input,body .results-filters select{height:44px;font-size:1rem;background:var(--surface)}body .game-total-name{font-size:.9375rem}body .game-total small,body .activity-row small,body .results-paging .help{font-size:.8125rem}body .activity-row{font-size:.9375rem}body .activity-row[data-kind=earned]>b{color:var(--success)}body .activity-row[data-kind=decay]>b{color:var(--warning)}body #results-view .results-footnotes .help{font-size:.875rem}body .results-footnotes summary{font-size:.875rem}
body .era-leader-table thead th{font-size:.8125rem}body .era-leader-table tbody tr{background:var(--surface)}body .era-leader-table [data-place="1"]{background:var(--selection)}body .era-leader-table [data-place="2"],body .era-leader-table [data-place="3"]{background:var(--surface-raised)}body .era-leader-table [data-yours=true]{outline-color:var(--blue)}body .you-tag{font-size:.75rem;color:var(--blue)}body .place-badge{background:var(--surface-raised);color:var(--ink)}
body .reward-claim-panel{background:var(--surface);color:var(--ink);padding:24px;border:1px solid var(--line);border-radius:12px}body .reward-claim-panel :is(.help,label,.btn),body .rewards-table,body .reward-status{font-size:.875rem}body .reward-claim-panel :is(input,select){font-size:1rem}body .rewards-table thead th,body .rewards-table :is(code,dl){font-size:.8125rem}body .rewards-table tbody tr:nth-child(odd){background:var(--surface)}body .reward-status[data-status=paid],body .reward-status[data-status=eligible]{color:var(--success)}body .reward-status[data-status=held],body .reward-status[data-status=disputed]{color:var(--warning)}body .status-pill{background:var(--surface-raised);color:var(--muted);font-size:.8125rem}body .setting small{font-size:.875rem}body .setting select{max-width:48%}body .site-footer{font-size:.8125rem;padding:24px 32px}body .site-footer nav{font-size:.8125rem}body .site-footer a{min-height:44px;display:inline-flex;align-items:center}
/* Game instructions and actions share a rhythm across the entire catalog. */
body .arcade-page{max-width:1600px;padding:28px 32px 40px}body .detail-hero{background:var(--surface);border:1px solid var(--line);border-radius:12px}body .arcade-detail .arcade-description{padding:32px!important}body .arcade-detail .arcade-description h1{font-size:clamp(28px,3vw,44px);line-height:1.15}body .arcade-detail .arcade-description .arcade-tagline{font-size:1.125rem;line-height:1.5;color:var(--ink)}body .arcade-detail .arcade-description>p#arcade-description{font-size:.9375rem;line-height:1.65;color:var(--muted)}body .arcade-detail .arcade-facts{font-size:.75rem;line-height:1.5;letter-spacing:.02em}body .arcade-detail .arcade-description #arcade-access{font-size:.8125rem;line-height:1.65}body .detail-actions .btn{font-size:.9375rem;min-height:48px}body .detail-guide h2{font-size:1.375rem;line-height:1.3}body .playbook-steps h3{font-size:1rem;line-height:1.4}body .playbook-steps p{font-size:.875rem;line-height:1.65}body .playbook-number{font-size:.875rem}body .arcade-detail .arcade-control,body .arcade-detail .arcade-control span{font-size:.875rem;line-height:1.65}body .arcade-detail .arcade-control kbd{font-size:.8125rem;min-width:90px;background:var(--surface-raised);color:var(--ink)}body .arcade-detail .detail-more summary,body .arcade-detail .detail-extras summary{font-size:.875rem;color:var(--ink)}body .arcade-detail .detail-more>p,body .arcade-detail .detail-extras>details>p{font-size:.875rem}body .arcade-detail .detail-extras small{font-size:.8125rem}body .arcade-race-entry input{font-size:1rem}body .detail-extras{gap:24px}
/* Gameplay chrome stays graphite in both site themes to frame bright worlds. */
body.arcade-open{--focus:#efb573}body.arcade-open #arcade-play{background:#191c19;color:#f1f2e9}body.arcade-open .arcade-play-heading,body.arcade-open .arcade-play-footer{background:#242824;color:#b7c0b2}body.arcade-open .arcade-play-heading{height:auto;min-height:72px;padding:12px 20px;gap:16px}body.arcade-open .arcade-play-heading h2{color:#f1f2e9;font-size:1.125rem;line-height:1.3}body.arcade-open .arcade-play-heading .eyebrow{font-size:.75rem;color:#b7c0b2}body.arcade-open .arcade-play-heading .btn{font-size:.875rem;min-height:44px;color:#f1f2e9;background:#30362d;border-color:#77836d;padding:10px 14px}body.arcade-open .arcade-run-score>span{font-size:.75rem;min-width:55px;letter-spacing:0;color:#bac3b5}body.arcade-open .arcade-run-score b{font-size:1.25rem;line-height:1.3;color:#f1f2e9;overflow-wrap:anywhere}body.arcade-open .arcade-stage{background:#191c19}body.arcade-open .arcade-play-footer{font-size:.75rem;line-height:1.5;min-height:36px;height:auto;padding:8px 20px}body.arcade-open .arcade-play-footer>span:last-child{display:none}
body.arcade-open :is(.lb-panel,.lb-personal){background:#20251f;color:#f1f2e9;border-color:#424b3e;font-family:inherit}body.arcade-open .lb-panel{flex-basis:292px;padding:20px}body.arcade-open .lb-heading,body.arcade-open .lb-eyebrow{font-size:.75rem;letter-spacing:.05em;color:#bbc5b5}body.arcade-open .lb-title{font-size:1.375rem;line-height:1.3;color:#f1f2e9}body.arcade-open :is(.lb-count,.lb-rule,.lb-foot,.lb-empty,.lb-chase,.lb-practice,.lb-own-rank,.lb-connection){font-size:.8125rem;line-height:1.6;color:#bbc5b5}body.arcade-open .lb-table td{font-size:.875rem}body.arcade-open .lb-number::before,body.arcade-open .lb-you-label{font-size:.75rem;letter-spacing:0;color:#bbc5b5}body.arcade-open .lb-time{font-size:.875rem!important}body.arcade-open .lb-stat>span{font-size:.75rem;letter-spacing:.04em;color:#bbc5b5}body.arcade-open .lb-first .lb-name,body.arcade-open .lb-first .lb-position{color:#efc283}body.arcade-open .lb-you{background:#34432f}body.arcade-open .lb-table tr{padding:12px 4px;border-color:#424b3e}
body.arcade-open .arcade-sidebar{background:#252b24;color:#f1f2e9;border-color:#66765d;width:min(320px,calc(100% - 24px));padding:20px}body.arcade-open .arcade-sidebar :is(p,span,kbd,.eyebrow){font-size:.875rem;line-height:1.65;color:#c5cebf}body.arcade-open .arcade-sidebar kbd{display:inline-block;color:#f1f2e9}body.arcade-open .arcade-overlay{background:#151b15eb;overflow:auto;align-items:safe center;padding:24px}body.arcade-open .arcade-overlay .eyebrow{font-size:.8125rem;color:#c0cbbb}body.arcade-open .arcade-overlay h2{font-size:clamp(24px,3vw,38px);color:#f1f2e9}body.arcade-open .arcade-overlay p:not(.eyebrow){font-size:.9375rem;line-height:1.65;color:#c5cebf}body.arcade-open .arcade-overlay .btn{font-size:.875rem;min-height:44px}body.arcade-open .arcade-overlay .btn.primary{background:#efb573;color:#241b12;border-color:#efb573}
body .overlay{background:#171c17c9}body .overlay :is(.result-card,.dialog-card,.recovery-card){background:var(--surface);color:var(--ink);border-color:var(--line)}body .toast{background:var(--surface);color:var(--ink);border-color:var(--line);box-shadow:var(--shadow)}body .high-contrast{--muted:var(--ink);--control-line:var(--ink);--line:var(--muted)}body .large-hud{--hud-scale:1.2}body.arcade-open .large-hud :is(.arcade-run-score>span,.lb-rule,.lb-stat>span,.lb-number::before){font-size:.9375rem}body.arcade-open .large-hud .arcade-run-score b{font-size:1.5rem}
/* Entry and legal pages are part of the same product. */
body .join-lobby{background:var(--frost);color:var(--ink);padding:40px 32px 100px}body .join-lobby:before{background:linear-gradient(90deg,var(--frost) 35%,transparent)}body .welcome-collection{background:var(--surface-raised);color:var(--line)}body .join-lobby h1{font-size:clamp(32px,4vw,56px);line-height:1.15}body .join-lobby .tagline{font-size:1.125rem}body .entry-panel{background:none;border-color:var(--line);padding-top:24px}body .account-tabs{background:none}body .account-tabs button{font-size:.875rem;min-height:44px}body .account-tabs button.selected{background:var(--selection);color:var(--blue);border-color:var(--blue)}body .entry-legal{font-size:.8125rem}body .entry-legal a{min-height:44px;display:inline-flex;align-items:center}
body.legal-page{background:var(--frost);color:var(--ink);font-size:1rem;line-height:1.75}body .legal-header{background:var(--surface);border-color:var(--line)}body .legal-header .brand img{filter:grayscale(1) brightness(.45)}body[data-theme=dark] .legal-header .brand img{filter:grayscale(1) brightness(2)}body.legal-page a{color:var(--blue)}body .legal-header>a:last-child,body .legal-shell>aside,body .legal-version,body.legal-page footer{font-size:.875rem}body .legal-shell>aside details a{color:var(--muted)}body .legal-facts,body.legal-page tr:nth-child(even){background:var(--surface)}body .legal-facts,body.legal-page table,body .legal-draft{font-size:.9375rem}body .legal-draft{background:var(--selection);color:var(--ink);border-color:var(--blue)}body .legal-facts em{color:var(--warning)}body .legal-version{color:var(--muted)}body.legal-page h1{font-size:2.5rem}body.legal-page h2{font-size:1.375rem}body.legal-page code{font-size:.875rem}
@media(max-width:1150px){body .app>.header{gap:20px;padding-inline:24px}body .header .brand img{width:150px}body .app .header-tools{gap:16px}body .header .header-status{display:none}body .account-label b{max-width:110px}body .arcade-library,body .page-view,body .arcade-page{padding-inline:24px}body .page-columns{gap:24px}}
@media(max-width:850px){body .header .account-label{display:none}body.arcade-open .lb-panel{flex-basis:100%;height:190px;padding:12px 16px}body.arcade-open .arcade-stage{height:calc(100% - 190px)}body .mining-summary{gap:12px}.mining-summary>div{padding:18px}body .page-columns{grid-template-columns:1fr}body .side-notes{max-width:70ch}}
@media(max-width:800px){body .app>.header{gap:12px;padding:12px 20px;min-height:110px}body .header .rail-main{gap:28px}body .header .nav-item{padding:5px 0;min-height:40px}body .header .nav-item.selected:after{bottom:-12px}body .app .header-round{padding-left:0;border:0;max-width:150px}body .header .brand img{width:150px}body .library-title-row{padding:0}body .collections-side .library-filter{font-size:.875rem}body .shelf-grid{gap:16px}body .arcade-detail .arcade-description{padding:24px!important}body .legal-shell{padding:28px 24px}body .legal-header{padding:20px 24px}}
@media(max-width:600px){body .app>.header{padding:12px 16px;gap:8px}body .app .header-tools{gap:12px}body .header .brand img{width:125px}body .app .header-points>b{font-size:.9375rem}body .app .header-round{max-width:120px}body .account-menu>summary{padding:4px}body .account-menu>summary>svg{display:none}body .account-menu>summary>img{width:32px;height:32px}body .account-menu .profile-attention{right:-2px}body .arcade-library,body .page-view,body .arcade-page{padding:24px 16px}body .library-title-row h1{font-size:1.75rem}body .library-title-row{gap:12px}body .library-online{font-size:.8125rem}body .library-search{max-width:none;min-width:0}body .library-search input{width:100%}body .library-toolbar{gap:12px}body .library-toolbar>span{font-size:.8125rem;white-space:nowrap}body .shelf-grid{gap:14px}body .shelf-grid .tile-wordmark{font-size:21px;left:12px;right:10px}body .shelf-heading h2{font-size:1.125rem}body .shelf-more{font-size:.8125rem}body .tile-live{font-size:.75rem;top:8px;right:8px}body .shelf-grid .tile-cover{aspect-ratio:1.1}body .page-view h1,body .profile-top h1,body .results-top h1{font-size:1.75rem}body .profile-top{flex-wrap:wrap}body .profile-top>.text-button{font-size:.875rem}body .page-tabs,body #results-tabs{gap:20px}body .page-tabs button{font-size:.875rem}body .paper-panel,body .profile-section .paper-panel{padding:20px}body .mining-summary{grid-template-columns:1fr}.mining-summary>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px}.mining-summary strong{font-size:1.375rem;grid-column:2;grid-row:1/3;margin:0;align-self:center;max-width:170px}.mining-summary small{grid-column:1}body .workers-table{min-width:740px}body .workers-table-wrap{overscroll-behavior-x:contain}body .results-paging .btn{font-size:.875rem;padding-inline:12px}body .era-leader-table{font-size:.875rem}body .rewards-table{font-size:.8125rem}body .reward-status{font-size:.8125rem}body .setting{gap:12px;flex-wrap:wrap}body .setting>span{flex:1;min-width:160px}body .setting select{max-width:100%}body .site-footer{padding:20px 16px}body .arcade-detail .arcade-description{padding:24px 20px!important}body .detail-actions{display:grid;grid-template-columns:1fr;width:100%}body .detail-actions .btn{margin:0}body .detail-extras>details{min-width:0;flex-basis:100%}body .legal-shell{padding:24px 16px}body .legal-header{padding:16px}body .legal-header .brand img{width:125px}body .legal-header>a:last-child{font-size:.8125rem}body.legal-page h1{font-size:2rem}body.legal-page th,body.legal-page td{font-size:.875rem;overflow-wrap:anywhere}body .join-lobby{padding:28px 20px 100px}body .join-lobby .lobby-copy{width:100%}body .lobby-footer{left:20px;right:20px;font-size:.75rem;gap:12px}body.arcade-open .arcade-play-heading{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:10px 12px;min-height:104px}body.arcade-open .arcade-play-heading>div:first-child{grid-column:1;min-width:0}body.arcade-open .arcade-play-heading h2{font-size:1rem}body.arcade-open .arcade-run-score{grid-row:2;grid-column:1/-1;justify-content:flex-start;gap:24px;margin:0}body.arcade-open .arcade-run-score>span{font-size:.75rem}body.arcade-open .arcade-run-score b{font-size:1.125rem}body.arcade-open .arcade-play-heading .btn{font-size:.8125rem;padding:10px}body.arcade-open .arcade-play-footer{padding:6px 12px}body.arcade-open .arcade-overlay{padding:20px 16px}body.arcade-open .arcade-overlay h2{margin:8px 0}body.arcade-open .lb-panel{height:170px}body.arcade-open .arcade-stage{height:calc(100% - 170px)}}
@media(max-width:360px){body .header .brand img{width:108px}body .app .header-tools{gap:8px}body .app .header-round{max-width:100px}body .app .header-points>b{font-size:.875rem}body .library-title-row{flex-direction:column}body .shelf-grid .tile-wordmark{font-size:19px}body .shelf-heading{gap:8px}.mining-summary strong{max-width:130px;font-size:1.125rem}}
@media(max-height:600px) and (min-width:650px){body.arcade-open .arcade-play-heading{min-height:64px;padding:8px 16px}body.arcade-open .arcade-play-heading .eyebrow{display:none}body.arcade-open .lb-panel{height:auto;flex:0 0 250px;padding:12px}body.arcade-open .arcade-stage{height:auto}body.arcade-open .arcade-play-footer{min-height:28px;padding-block:4px}body.arcade-open .arcade-overlay h2{font-size:1.5rem;margin:6px 0}body.arcade-open .arcade-overlay p:not(.eyebrow){margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{body.legal-page{background:#fff;color:#222}.legal-facts,.legal-draft{background:none!important}}
/* Settings is reached through the identity menu; it is not a fourth main tab. */
body .header .settings-nav{display:none}
body .header .header-status .status-check{color:var(--success)}
body .rewards-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}body .rewards-table{min-width:440px}body .page-view .eyebrow{font-size:.75rem}body .profile-top .help{font-size:.8125rem}
@media(max-width:600px){body.arcade-open .arcade-play-heading{grid-template-columns:auto minmax(0,1fr) auto auto}body.arcade-open .arcade-play-heading .game-identity{grid-column:2;grid-row:1}body.arcade-open #arcade-lobby{grid-column:1;grid-row:1}body.arcade-open #arcade-help{grid-column:3;grid-row:1}body.arcade-open #arcade-pause{grid-column:4;grid-row:1}body.arcade-open .arcade-play-heading h2{font-size:.875rem}body.arcade-open .arcade-play-heading .btn{font-size:.75rem;padding:8px}body.arcade-open .arcade-run-score{grid-column:1/-1;grid-row:2}}
body .overlay,body .overlay[data-theme]{--dialog-ink:var(--ink);--dialog-muted:var(--muted);--dialog-rule:var(--line);--dialog-wash:var(--surface);--dialog-input:var(--surface-raised);--dialog-accent:var(--action);--dialog-on:var(--on-action)}
body .overlay .result-card{border-radius:12px;padding:28px;max-height:calc(100dvh - 40px);overflow:auto}body .overlay .result-card h2{font-size:clamp(24px,3vw,36px);line-height:1.2}body .overlay :is(.dialog-kicker,.result-kicker,.result-note,.result-row,.history-controls label){font-size:.8125rem}body .shelf-grid .tile-wordmark{overflow-wrap:anywhere}
@media(max-width:600px){body .overlay{padding:16px}body .overlay .result-card{padding:20px;max-height:calc(100dvh - 32px)}}
@media(max-width:700px){body.arcade-open .arcade-play-heading #arcade-sound{display:none}}

/* Arcade reference: cream paper, ink outlines, offset shadows and bright accents. */
body :is(h1,h2,h3,.tile-wordmark,.header-points>b,.welcome-collection,.lb-title){font-family:Arial,Helvetica,sans-serif;font-weight:900;letter-spacing:-.04em}
body .app>.header{background:var(--frost);border-bottom:2px solid var(--outline);padding-inline:max(28px,calc((100vw - 1200px)/2));gap:32px;min-height:88px}
body .brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;flex-shrink:0}
body .brand-mark{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border:2px solid #171717;border-radius:12px;background:var(--coral);color:#171717;transform:rotate(-6deg);box-shadow:3px 3px 0 var(--outline)}
body .brand-name{font-size:1.45rem;font-weight:900;letter-spacing:-.075em;line-height:1.1}body .brand-name>span{color:var(--hero-accent)}
body .header .nav-item{font-family:inherit;font-weight:700;color:var(--ink)}body .header .nav-item.selected{color:var(--blue)}body .header .nav-item.selected:after{display:none}
body .app .header-tools{gap:16px}body .app .header-round{border:2px solid var(--outline);background:var(--yellow);border-radius:12px;padding:7px 14px;color:#171717;box-shadow:2px 2px 0 var(--outline)}
body .app .header-round .header-points{text-align:center}body .app .header-points>b{font-weight:900;color:#171717}body .app .header-round small{color:#463713;font-weight:700}
body .account-menu>summary{border:2px solid var(--outline);border-radius:999px;background:var(--surface);padding:5px 9px;gap:8px}body .account-menu-panel{border:2px solid var(--outline);border-radius:16px;box-shadow:5px 5px 0 var(--outline);padding:8px;z-index:100}
body .account-menu-panel button{border-radius:8px}body .account-menu-panel button:hover{background:var(--selection)}
body .btn{border:2px solid var(--outline);border-radius:999px;font-weight:700}body .btn.primary{border:2px solid var(--outline);box-shadow:3px 3px 0 var(--outline)}body .btn.primary:hover:not(:disabled){filter:none;box-shadow:1px 1px 0 var(--outline)}body .btn.primary:disabled{background:var(--surface-raised);color:var(--muted);border-color:var(--control-line);box-shadow:none}body .detail-actions .btn,body .overlay .btn{border-radius:999px;border:2px solid var(--outline)}
body :is(input,select,textarea){border-width:2px;border-radius:10px}body .text-button{font-weight:700}
body .arcade-library{display:block;width:100%;max-width:none;padding:0;margin:0;min-height:0;background:var(--frost)}
body .lobby-hero{max-width:1280px;margin:auto;padding:56px 40px 72px;display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:60px}
body .hero-copy{min-width:0}.hero-sticker{display:inline-flex;align-items:center;gap:8px;background:var(--yellow);color:#171717;border:2px solid #171717;border-radius:999px;box-shadow:3px 3px 0 var(--outline);padding:7px 12px;transform:rotate(-2deg);font-size:.75rem;font-weight:900;letter-spacing:.06em}
body .hero-copy h1{font-size:clamp(64px,7.6vw,104px);line-height:.88;letter-spacing:-.075em;margin:28px 0 24px;color:var(--ink)}body .hero-copy h1 em{color:var(--hero-accent);font-style:normal}
body .hero-copy>p{font-size:1.125rem;line-height:1.7;color:var(--muted);margin:0;max-width:35ch}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}body .hero-actions .btn{padding:14px 20px;min-height:52px;display:inline-flex;align-items:center;gap:16px}
.hero-feature{position:relative;min-width:0;padding:20px 10px 20px 0}.hero-feature:before{content:'+';position:absolute;left:-34px;top:-8px;font-size:48px;font-weight:900;line-height:1;transform:rotate(-12deg)}.hero-feature:after{content:'';position:absolute;right:10px;top:-6px;width:26px;height:26px;background:var(--sky);border-radius:50%;z-index:1}.hero-spark{position:absolute;left:-28px;bottom:-4px;color:var(--violet);font-size:56px;line-height:1;transform:rotate(-12deg)}
.featured-game{position:relative;background:#171717;color:#fff;border:2px solid #171717;border-radius:26px;padding:12px;box-shadow:8px 8px 0 var(--coral);transform:rotate(2deg)}.featured-top{display:flex;justify-content:space-between;gap:12px;padding:2px 6px 12px;font-size:.75rem;font-weight:700;color:#d5d2cf;letter-spacing:.04em}.featured-top>span:last-child{color:var(--yellow);text-align:right;letter-spacing:0}
.featured-art{position:relative;overflow:hidden;border-radius:16px;aspect-ratio:1.85;background:var(--sky)}.featured-art img{display:block;width:100%;height:100%;object-fit:cover}.featured-badge{position:absolute;left:14px;bottom:14px;padding:5px 12px;border:2px solid #171717;border-radius:999px;background:var(--surface);color:var(--ink);font-size:.75rem;font-weight:900}
.featured-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 4px 4px}.featured-bottom>div{min-width:0}body .featured-bottom h2{font-size:1.2rem;color:#fff;margin:0;letter-spacing:-.025em}.featured-bottom p{font-size:.8125rem;color:#d5d2cf;margin:3px 0 0;line-height:1.5}.featured-bottom button{flex-shrink:0;min-height:44px;border:2px solid #171717;border-radius:999px;padding:10px 14px;background:var(--yellow);color:#171717;font-size:.8125rem;font-weight:900}.featured-bottom button:hover{background:#fff}
.collection-band{background:var(--surface);border-block:2px solid var(--outline);scroll-margin-top:12px}.collection-band:focus{outline:none}.collection-wrap{max-width:1280px;margin:auto;padding:48px 40px 24px}
body .library-title-row{padding:0;margin:0 0 28px;align-items:center}body .library-title-row .eyebrow{font-size:.75rem;color:var(--blue);letter-spacing:.16em;font-weight:900;margin:0 0 8px}body #collection-title,body .lobby-leaders h2{font-size:clamp(32px,3.5vw,48px);line-height:1.1;letter-spacing:-.065em;margin:0}body .library-online{background:var(--frost);padding:8px 12px;border:1px solid var(--line);border-radius:999px;white-space:nowrap}
body .collections-layout{display:block}body .collections-side{padding:0;border:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}body .collections-side .library-filters{display:flex;flex-direction:row;gap:8px;flex-wrap:wrap;padding:0;margin:0;border:0}body .collections-side .library-filter{width:auto;min-height:44px;padding:9px 14px;border:2px solid transparent;border-radius:999px;background:var(--surface-raised);color:var(--ink);gap:8px;font-size:.875rem;font-weight:700}body .collections-side .library-filter[aria-pressed=true]{border-color:var(--outline);background:var(--yellow);color:#171717;box-shadow:2px 2px 0 var(--outline)}body .collections-side .library-filter>span{display:inline;font-size:.75rem;opacity:.8}body .library-search{flex:0 1 240px;max-width:none;min-width:170px}body .library-search input{width:100%;height:46px;border:2px solid var(--outline);background:var(--surface);border-radius:999px;padding-inline:18px}
body #library-recent{margin:0 0 28px}body #library-recent>.eyebrow{font-size:.75rem;margin:0 0 10px;font-weight:700}#recent-games{display:flex;gap:10px;flex-wrap:wrap}body .recent-game{width:auto;max-width:100%;border:1px solid var(--line);border-radius:999px;padding:6px 12px 6px 6px;min-height:44px;color:var(--ink);background:var(--frost);font-weight:700}body .recent-game img{border-radius:50%;width:28px;height:28px}body .recent-game:hover{border-color:var(--ink)}
body .shelf-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}body .game-shelf{margin-bottom:32px}body .shelf-heading{margin-bottom:16px}body .shelf-heading h2{font-size:1.25rem;letter-spacing:-.035em}body .shelf-more{color:var(--ink);font-weight:700;font-size:.8125rem}
body .shelf-grid .game-tile{border-radius:18px;padding:0;overflow:visible;background:none}body .shelf-grid .tile-cover{aspect-ratio:1.12;border:2px solid var(--outline);border-radius:18px;box-shadow:5px 5px 0 var(--outline)}body .shelf-grid .tile-cover:after{background:linear-gradient(180deg,transparent 32%,#10121c35 50%,#10121cee 100%)}body .shelf-grid .tile-wordmark{font-family:Arial,Helvetica,sans-serif;font-weight:900;font-size:clamp(22px,2vw,30px);line-height:.98;letter-spacing:-.05em;bottom:18px;left:16px;right:16px;text-transform:uppercase}body .game-tile:hover .tile-cover,body .game-tile:focus-visible .tile-cover{box-shadow:7px 7px 0 var(--outline);transform:translate(-1px,-2px)}
body .shelf-grid .tile-live{border:1px solid #171717;background:#fff;color:#171717;border-radius:999px;font-size:.75rem;font-weight:700;top:10px;right:10px;padding:5px 9px}body .shelf-grid .tile-live[data-active=true]{background:var(--yellow);color:#171717}body .tile-saved{display:block;top:44px;left:auto;right:10px;border:1px solid #171717;background:var(--yellow);color:#171717;border-radius:999px;font-weight:700}.saved-game-meta{padding-top:4px}
.lobby-leaders{max-width:1280px;margin:auto;padding:56px 40px 64px;display:flex;justify-content:space-between;align-items:center;gap:36px}.lobby-leaders .eyebrow{color:var(--blue);font-weight:900;letter-spacing:.12em;margin:0 0 8px}.leader-spotlight{display:flex;align-items:center;gap:16px;min-width:0;max-width:580px;text-align:left;background:var(--yellow);color:#171717;border:2px solid #171717;border-radius:18px;padding:20px;box-shadow:5px 5px 0 var(--outline);flex:1}.leader-spotlight:hover{box-shadow:2px 2px 0 var(--outline)}.leader-icon{display:grid;place-items:center;background:#fff;border:2px solid #171717;border-radius:12px;width:52px;height:52px;flex-shrink:0}.leader-copy{display:grid;gap:3px;min-width:0}.leader-copy small{font-size:.75rem;font-weight:700;letter-spacing:.04em}.leader-copy b{font-size:1.0625rem;font-weight:900;overflow-wrap:anywhere}.leader-copy>span{font-size:.8125rem}.leader-arrow{font-size:26px;margin-left:auto}
body:not(.arcade-open) .site-footer{display:flex!important;border-top:2px solid var(--outline);padding:18px max(40px,calc((100vw - 1200px)/2));background:var(--frost);font-weight:700}body .site-footer>span{display:inline}
/* Carry the reference into details, account pages, forms and game controls. */
body :is(.page-view,.arcade-page){max-width:1280px;margin-inline:auto}body :is(.page-view h1,.profile-top h1,.results-top h1){font-size:clamp(30px,4vw,44px);letter-spacing:-.06em}
body :is(.paper-panel,.profile-section .paper-panel,.mining-summary>div,.reward-claim-panel,.detail-hero,.overlay .result-card){border:2px solid var(--outline);border-radius:18px;box-shadow:4px 4px 0 var(--outline)}body #results-view .results-summary>div{border:2px solid var(--outline);border-radius:18px;box-shadow:3px 3px 0 var(--outline)}body .mining-summary>div:first-child,body #results-view .results-summary>div:first-child{background:var(--selection)}body .workers-panel{box-shadow:none;border:0;border-top:2px solid var(--outline);border-radius:0}body .workers-table-wrap{border:2px solid var(--outline);border-radius:14px}body .page-tabs{gap:8px;border:0}body .page-tabs button{padding:10px 18px;border:2px solid transparent;border-radius:999px;font-weight:700}body .page-tabs button[aria-selected=true]{color:#171717;background:var(--yellow);border-color:var(--outline);box-shadow:2px 2px 0 var(--outline)}body .page-tabs button[aria-selected=true]:after{display:none}
body .arcade-detail .arcade-description h1{font-weight:900;letter-spacing:-.05em}body .playbook-number{display:inline-grid;place-items:center;background:var(--yellow);color:#171717;border:2px solid #171717;border-radius:50%;width:30px;height:30px;font-weight:900}body .arcade-detail .arcade-control kbd{border:1px solid var(--control-line);border-bottom-width:3px;border-radius:6px}body .detail-hero{overflow:hidden}body .join-lobby h1{letter-spacing:-.07em;font-weight:900}body .welcome-collection{background:var(--yellow);color:#17171718}body .account-tabs button{font-weight:700;border-radius:999px}body .account-tabs button.selected{background:var(--yellow);color:#171717;border:2px solid var(--outline)}body .legal-header{background:var(--frost);border-bottom:2px solid var(--outline)}body .legal-draft{border:2px solid var(--outline);border-radius:14px}
body.arcade-open{--focus:#ffc83d}body.arcade-open #arcade-play,body.arcade-open .arcade-stage{background:#191820}body.arcade-open .arcade-play-heading,body.arcade-open .arcade-play-footer{background:#24212c;color:#d4cddb}body.arcade-open .arcade-play-heading{border-bottom-color:var(--coral);font-family:inherit}body.arcade-open .arcade-play-heading h2{font-family:Arial,Helvetica,sans-serif;font-weight:900}body.arcade-open .arcade-play-heading .btn{border-radius:999px;background:#35303e;border-color:#8f849a;color:#fff}body.arcade-open .arcade-play-heading #arcade-pause{background:var(--yellow);color:#171717;border-color:#171717}body.arcade-open .arcade-overlay .btn.primary{background:var(--yellow);color:#171717;border-color:#171717}body.arcade-open .arcade-overlay{background:#19151eee}body.arcade-open :is(.lb-panel,.lb-personal){background:#24212c;border-color:#524b59}
@media(min-width:1600px){body .shelf-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}}
@media(max-width:1200px){body .app>.header{padding-inline:28px;gap:26px}body .header .header-status{display:none}.lobby-hero{gap:40px}.hero-feature:before{left:-22px}}
@media(max-width:1100px){body .shelf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body .collections-side{gap:14px;flex-wrap:wrap}body .library-search{flex-basis:240px}body .lobby-hero{padding:40px 32px 56px;gap:32px}body .hero-copy h1{font-size:80px}.hero-sticker{font-size:.6875rem}.featured-bottom{flex-wrap:wrap}.featured-bottom button{margin-left:auto}.collection-wrap{padding:40px 32px 20px}.lobby-leaders{padding:44px 32px 52px}.leader-spotlight{padding:16px}.leader-icon{width:44px;height:44px}}
@media(max-width:800px){body .app>.header{padding:14px 24px;gap:12px;min-height:114px}body .header .rail-main{gap:28px}body .header .rail{order:3}body .header .nav-item{min-height:40px;padding:5px 0}body .lobby-hero{grid-template-columns:1fr 1.1fr;gap:28px;padding:36px 24px 48px}body .hero-copy h1{font-size:68px}body .hero-copy>p{font-size:1rem}.hero-sticker{font-size:.625rem;letter-spacing:.025em;padding:7px 9px}.hero-feature:before{display:none}.hero-feature{padding:10px 8px 10px 0}.hero-spark{font-size:36px;left:-15px}.featured-game{transform:rotate(1.5deg);padding:9px;border-radius:20px}.featured-art{aspect-ratio:1.25}.featured-top{font-size:.6875rem;letter-spacing:0;padding-inline:0}.featured-bottom{padding-top:12px;gap:8px}body .featured-bottom h2{font-size:1.0625rem}.featured-bottom p{font-size:.75rem}.featured-bottom button{font-size:.75rem;padding:8px 12px}.collection-wrap{padding:36px 24px 16px}.lobby-leaders{padding:40px 24px 48px;gap:24px;flex-wrap:wrap}.leader-spotlight{max-width:none;flex-basis:50%}body:not(.arcade-open) .site-footer{padding:18px 24px}}
@media(max-width:600px){body .app>.header{padding:12px 16px;gap:10px}body .brand{gap:8px}body .brand-mark{width:32px;height:32px;border-radius:10px}body .brand-mark svg{width:20px;height:20px}body .brand-name{font-size:1.125rem}body .app .header-tools{gap:9px}body .app .header-round{padding:4px 8px;border:2px solid var(--outline);max-width:98px;border-radius:10px}body .app .header-round small{font-size:.625rem}body .app .header-points>b{font-size:.875rem}body .account-menu>summary{padding:3px;border-radius:50%}body .account-menu>summary>img{width:28px;height:28px}body .lobby-hero{grid-template-columns:1fr;padding:32px 22px 42px;gap:28px}body .hero-copy h1{font-size:76px;margin:24px 0 18px}body .hero-copy>p{font-size:1rem}.hero-sticker{font-size:.6875rem}.hero-actions{margin-top:20px}body .hero-actions .btn{padding:12px 16px;min-height:48px;font-size:.8125rem;gap:10px}.hero-feature{padding:6px 8px 8px 0;margin:0 4px}.featured-game{transform:rotate(1.5deg)}.featured-art{aspect-ratio:1.85}.featured-bottom{flex-wrap:nowrap}.featured-top{font-size:.6875rem}.hero-spark{display:none}.hero-feature:after{top:-10px;right:0;width:20px;height:20px}.collection-wrap{padding:30px 18px 10px}body .library-title-row{align-items:flex-start;gap:14px;margin-bottom:24px;flex-direction:column}body .library-online{font-size:.75rem;padding:6px 10px}body #collection-title,body .lobby-leaders h2{font-size:36px}body .collections-side{margin-bottom:24px;gap:20px}body .collections-side .library-filters{display:flex;gap:8px;width:100%}body .collections-side .library-filter{padding:8px 12px;font-size:.8125rem}body .library-search{flex-basis:100%;width:100%}body .shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}body .shelf-grid .tile-cover{aspect-ratio:.98;border-radius:14px;box-shadow:3px 3px 0 var(--outline)}body .shelf-grid .tile-wordmark{font-size:21px;left:10px;right:8px;bottom:14px}body .shelf-grid .tile-live{top:7px;right:7px;font-size:.6875rem;padding:4px 7px}body .tile-saved{top:38px;right:7px;font-size:.6875rem;padding:4px 7px}body .shelf-heading{gap:12px}body .shelf-heading h2{font-size:1.0625rem}body .shelf-more{padding:8px 0;white-space:nowrap;font-size:.75rem}body #library-recent{margin-bottom:22px}body .recent-game{font-size:.75rem;padding-right:10px;gap:7px}#recent-games{gap:8px}.lobby-leaders{padding:34px 18px 42px;gap:22px}.leader-spotlight{flex-basis:100%;gap:12px;padding:16px}.leader-copy b{font-size:1rem}.leader-copy small{font-size:.6875rem}.leader-copy>span{font-size:.75rem}.leader-icon{width:40px;height:40px}.leader-arrow{font-size:22px}body:not(.arcade-open) .site-footer{padding:16px 18px;flex-wrap:wrap;gap:4px 16px}body .site-footer nav{gap:16px;font-size:.75rem}body .site-footer>span{font-size:.8125rem}body .page-tabs button{padding:8px 12px}body .page-tabs{gap:8px}body.arcade-open .arcade-play-heading .btn{padding:8px}}
@media(max-width:360px){body .brand-name{font-size:1rem}body .brand{gap:6px}body .brand-mark{width:28px;height:28px}body .app .header-tools{gap:7px}body .app .header-round{max-width:90px;padding:4px 6px}body .lobby-hero{padding-inline:18px}body .hero-copy h1{font-size:68px}body .shelf-grid .tile-wordmark{font-size:18px}.featured-bottom{gap:8px}body .featured-bottom h2{font-size:1rem}.featured-bottom p{font-size:.6875rem}.featured-bottom button{padding:8px 10px}}
@media(prefers-reduced-motion:reduce){body .game-tile:hover .tile-cover{transform:none}}body .reduced-motion .game-tile:hover .tile-cover{transform:none}

/* v0.71 — align the complete interface with the supplied website reference.
   These rules style existing controls and content; they do not hide features. */
body:not(.arcade-open){background:#e8e2d5}
body[data-theme=dark]:not(.arcade-open){background:#111116}
body .app{max-width:1440px;margin-inline:auto;border-inline:2px solid var(--outline);background:var(--frost)}
body .app>.header{padding-inline:40px;gap:24px}
body .app>.content{scrollbar-color:var(--control-line) var(--frost)}
body .header .nav-item{font-size:.875rem;font-weight:900}
body .app .header-round{border-radius:0;box-shadow:3px 3px 0 var(--outline)}
body .app .header-status b{color:var(--success)}
body .account-menu>summary>img{border-radius:50%}
body .account-label small{font-size:.6875rem}
body .account-menu-panel{z-index:100;max-height:calc(100dvh - 140px);overflow-y:auto}
body .lobby-hero{max-width:1440px;grid-template-columns:.8fr 1.2fr;gap:48px;padding:48px 40px}
body .hero-copy h1{font-size:clamp(76px,9vw,128px);line-height:.8;letter-spacing:-.085em}
body .hero-copy>p{font-weight:700;line-height:1.6}
.hero-feature:before,.hero-feature:after,.hero-spark{content:none;display:none}
.featured-game{transform:rotate(-2deg);border-radius:32px}
.featured-art{aspect-ratio:auto;height:clamp(280px,28vw,384px);border-radius:22px}
.collection-band{background:var(--frost)}
.collection-wrap{max-width:1440px;padding:52px 40px 24px}
body .library-search input{background:var(--surface)}
body .library-title-row .eyebrow,body .page-view>.eyebrow,body .results-top .eyebrow,body .profile-heading .eyebrow{color:var(--blue);font-weight:900;letter-spacing:.14em}
body .shelf-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
body .shelf-grid .tile-cover{aspect-ratio:1.28;border-radius:16px;box-shadow:4px 4px 0 var(--outline)}
body .shelf-grid .tile-wordmark{font-size:clamp(22px,2vw,28px)}
.lobby-leaders{max-width:1440px;display:flex;flex-wrap:nowrap;padding:48px 40px 60px}.lobby-leaders>div{flex:1;min-width:0}
.leader-spotlight{margin-top:0;flex:1;max-width:580px}@media(max-width:600px){.lobby-leaders{flex-direction:column;align-items:stretch}.leader-spotlight{max-width:none}}
body:not(.arcade-open) .site-footer{padding:20px 40px}
body :is(.page-view,.arcade-page){max-width:1440px;padding:48px 40px 56px}
body :is(.page-view h1,.profile-top h1,.results-top h1){font-size:clamp(36px,4.2vw,60px);line-height:1.03;letter-spacing:-.065em;margin-top:12px}
.title-accent{color:var(--hero-accent)}
body .page-intro{max-width:64ch;font-weight:600;line-height:1.65;margin-top:18px}
body .mining-summary,body .results-summary{gap:20px;margin-block:32px 24px}
body #miner-view .mining-summary>div,body #results-view .results-summary>div{padding:24px;border-radius:0;box-shadow:5px 5px 0 var(--outline)}
body .mining-summary strong,body .results-summary strong{font-size:2rem;font-weight:900;line-height:1.25;margin-block:12px}
body .mining-summary span,body .mining-summary small,body .results-summary small,body .results-summary>div>span{font-size:.8125rem;font-weight:700}
body .paper-panel,body .profile-section .paper-panel,body .reward-claim-panel{border-radius:16px;box-shadow:5px 5px 0 var(--outline);padding:28px}
body .panel-title{font-size:1.5rem;font-weight:900;text-transform:uppercase;border-bottom:2px solid var(--outline);padding-bottom:18px;margin-bottom:20px}
body .panel-title>span{font-size:.75rem;text-transform:none;color:var(--success)}
body .access-message{font-weight:900}
body .page-columns{grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr);gap:32px}
body .side-notes{border-top:4px solid var(--outline);padding-top:20px;line-height:1.75}
body .side-notes h2{font-size:1.375rem;font-weight:900;text-transform:uppercase}
body .side-notes h2:not(:first-child){margin-top:28px}
body .miner-code input{background:var(--surface-raised);font-family:ui-monospace,monospace;font-size:.875rem;min-width:0}
body .miner-code .btn{border-radius:8px}
body .workers-panel{margin-top:40px;padding-top:28px}
body .workers-heading h2{font-size:1.75rem;letter-spacing:-.04em}
body .workers-table-wrap,body .rewards-table-wrap{border:2px solid var(--outline);border-radius:14px;background:var(--surface);overflow-x:auto}
body .workers-table th{font-weight:900}
body .workers-table td{padding-block:18px}
body .page-tabs{border-bottom:2px solid var(--outline);gap:12px;margin:32px 0 24px;flex-wrap:wrap;align-items:stretch}
body .page-tabs button{border-radius:12px 12px 0 0;border:2px solid transparent;margin-bottom:-2px;padding:12px 18px;text-transform:uppercase;font-size:.8125rem;font-weight:900}
body .page-tabs button[aria-selected=true]{box-shadow:none;border-color:var(--outline);border-bottom-color:var(--yellow)}
body #results-view .game-total{border:0;border-radius:12px;padding:20px}
body .game-total-name{font-weight:900;font-size:1rem}
body .game-total-score{font-size:1.375rem;font-weight:900}
body .game-total small{font-size:.8125rem;font-weight:400}
body .point-activity{border:0;display:grid;gap:8px}
body .activity-row{border:0;border-radius:12px;padding:18px}
body .results-footnotes{border-top:2px solid var(--outline);padding-top:20px;margin-top:36px;max-width:760px}
body .results-footnotes summary{font-weight:900}
body .era-leader-table{border-spacing:0 10px}
body .era-leader-table tbody th,body .era-leader-table td{padding:16px;border-block:1px solid var(--line)}
body .era-leader-table td:first-child{border-left:1px solid var(--line)}
body .era-leader-table td:last-child{border-right:1px solid var(--line)}
body .era-leader-table [data-place="1"]{background:var(--selection)}
body .place-badge{border-radius:50%;font-weight:900}
body .era-leader-table [data-place="1"] .place-badge{background:var(--yellow);color:#18171d}
body .rewards-table thead th{background:var(--surface-raised);color:var(--ink);font-weight:900;padding:16px 12px}
body .rewards-table td:last-child{width:auto;min-width:70px}
body .reward-state{gap:10px;margin:24px 0}
body .status-pill{border:1px solid var(--control-line);border-radius:999px;font-weight:700}
body .profile-sections{max-width:960px}
body .security-summary{gap:16px;padding-block:24px}
body .security-summary>div{flex:1;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface-raised)}
body .profile-heading>img{border:2px solid var(--outline);border-radius:20px;box-shadow:3px 3px 0 var(--outline)}
body .setting{gap:24px;padding-block:20px}
body .setting b{font-weight:900}
body .settings-bottom{padding-top:24px}
body .arcade-detail .detail-hero{border:0;box-shadow:none;border-radius:0;background:none;gap:36px;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)}
body .arcade-detail .arcade-keyart{border:2px solid var(--outline);border-radius:24px;box-shadow:6px 6px 0 var(--outline);min-height:400px}
body .arcade-detail .arcade-keyart img{border-radius:22px}
body .arcade-detail .arcade-description{padding:28px 0!important;align-self:center}
body .arcade-detail .arcade-description h1{font-size:clamp(36px,4.4vw,64px);line-height:.98;letter-spacing:-.065em}
body .detail-actions{gap:12px}
body .detail-actions .btn{min-height:52px;padding-inline:24px}
body .detail-guide{gap:36px;margin-top:40px}
body .detail-guide>section{border-top:4px solid var(--outline);padding-top:22px}
body .detail-guide h2{font-size:1.5rem;letter-spacing:-.04em}
body .playbook-steps{gap:24px}
body .detail-extras{border-top:2px solid var(--outline);padding-top:20px}
body .join-lobby{min-height:100%;padding:48px 40px 96px}
body .join-lobby h1{font-size:clamp(44px,5vw,72px);line-height:.98}
body .entry-panel{margin-top:24px;padding:24px;border:2px solid var(--outline);border-radius:20px;background:var(--surface);box-shadow:5px 5px 0 var(--outline)}
body .entry-panel input{width:100%}
body .entry-panel .compact-check input{width:auto}
body .overlay{background:#18171dc9}
body .overlay .result-card{border-radius:20px;padding:32px;box-shadow:6px 6px 0 var(--coral)}
body .overlay h2{font-size:clamp(26px,3vw,40px);letter-spacing:-.05em}
body .toast{border:2px solid var(--outline);border-radius:12px}
body.legal-page{max-width:1440px;margin:auto;background:var(--frost);border-inline:2px solid var(--outline)}
body .legal-shell{max-width:1360px;gap:48px;padding:48px 40px}
body .legal-header{padding:24px 40px}
body.legal-page h1{font-size:clamp(36px,4.2vw,60px);line-height:1.05;letter-spacing:-.06em}
body .legal-shell>aside nav:first-child a{padding:12px;border:2px solid transparent;border-radius:12px;font-weight:700}
body .legal-shell>aside nav:first-child a[aria-current=page]{border-color:var(--outline);background:var(--yellow);color:#18171d;box-shadow:3px 3px 0 var(--outline)}
body .legal-facts{border:2px solid var(--outline);border-radius:16px;box-shadow:4px 4px 0 var(--outline)}
@media(max-width:1150px){
 body .shelf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body .app>.header{padding-inline:28px;gap:20px}
 body .lobby-hero{gap:32px}
 body .page-view,body .arcade-page{padding:36px 28px 48px}
 body .arcade-detail .arcade-keyart{min-height:320px}
}
@media(max-width:850px){
 body .page-columns,body .arcade-detail .detail-hero{grid-template-columns:minmax(0,1fr)}
 body .arcade-detail .arcade-keyart{min-height:240px;height:clamp(240px,48vw,390px)}
 body .arcade-detail .detail-hero{gap:16px}
 body .arcade-detail .arcade-description{padding-block:16px!important}
 body .side-notes{margin-top:12px}
 body .legal-shell{grid-template-columns:1fr;gap:24px;padding:32px 24px}
}
@media(max-width:600px){
 body .app{border:0}
 body .app>.header{padding:12px 16px;gap:10px}
 body .lobby-hero{grid-template-columns:1fr;padding:36px 22px 44px;gap:28px}
 body .hero-copy h1{font-size:80px}
 .featured-game{transform:rotate(-1deg);border-radius:24px}
 .featured-art{aspect-ratio:1.65;border-radius:16px}
 .collection-wrap,.lobby-leaders{padding:32px 18px}
 body .shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 body .shelf-grid .tile-cover{aspect-ratio:1.04;border-radius:14px}
 body .shelf-grid .tile-wordmark{font-size:21px}
 body .page-view,body .arcade-page{padding:30px 18px 40px}
 body .page-view h1,body .profile-top h1,body .results-top h1{font-size:36px;line-height:1.08}
 body .profile-top h1{font-size:30px}
 body .profile-top .profile-heading{gap:12px;min-width:0}
 body .profile-heading>img{width:48px;height:48px;border-radius:14px}
 body .mining-summary,body .results-summary{gap:16px;margin-top:24px}
 body .mining-summary>div,body #results-view .results-summary>div{padding:20px}
 body .paper-panel,body .profile-section .paper-panel,body .reward-claim-panel{padding:20px}
 body .panel-title{font-size:1.25rem}
 body .page-tabs{gap:0;margin-top:28px}
 body .page-tabs button{flex:1;padding:12px 8px;font-size:.75rem}
 body .security-summary{gap:12px;flex-wrap:wrap}
 body .security-summary>div{min-width:100px;padding:14px}
 body .setting{gap:14px;flex-wrap:wrap}
 body .setting select{max-width:100%}
 body .setting>span{flex:1;min-width:130px}
 body .arcade-detail .arcade-keyart{height:230px;min-height:0;border-radius:18px}
 body .arcade-detail .arcade-description h1{font-size:42px}
 body .detail-guide{gap:28px;margin-top:24px}
 body .detail-actions .btn{padding-inline:18px}
 body .join-lobby{padding:32px 18px 96px}
 body .join-lobby h1{font-size:48px}
 body .entry-panel{padding:20px;margin-right:4px}
 body .overlay .result-card{padding:24px 18px}
 body:not(.arcade-open) .site-footer{padding:18px}
 body.legal-page{border:0}
 body .legal-header{padding:20px 18px}
 body .legal-shell{padding:28px 18px}
 body .legal-shell>aside nav:first-child{gap:8px;flex-wrap:wrap}
 body .legal-shell>aside nav:first-child a{font-size:.8125rem}
}
@media(max-width:360px){body .app>.header{padding-inline:12px}body .hero-copy h1{font-size:72px}body .shelf-grid .tile-wordmark{font-size:18px}body .profile-top h1{font-size:26px}}

/* Cover titles match the reference while retaining each game's real artwork. */
.featured-top{position:absolute;top:22px;left:22px;right:22px;z-index:2;padding:0;pointer-events:none}
.featured-top>span{background:#18171de8;color:#fff;border-radius:999px;padding:6px 10px;font-size:.6875rem}
body .hero-feature{padding-block:10px}
body .arcade-detail .arcade-keyart{overflow:hidden}
body .arcade-detail .arcade-keyart:after{inset:20% 0 0;border-radius:inherit;background:linear-gradient(transparent,#101018e8);pointer-events:none}
.detail-cover-copy{position:absolute;bottom:30px;left:30px;right:26px;z-index:1;color:#fff}
body .detail-cover-copy h1{font-size:clamp(46px,5.7vw,80px);font-weight:900;line-height:.93;letter-spacing:-.065em;text-transform:uppercase;overflow-wrap:normal;color:#fff}
body .detail-cover-copy .eyebrow{display:inline-flex;width:fit-content;max-width:100%;padding:7px 12px;margin-bottom:18px;border-radius:999px;background:#fff;color:#18171d;font-size:.75rem;font-weight:900;letter-spacing:0}
body .arcade-description .detail-lowdown{color:var(--blue);font-weight:900;font-size:.75rem;letter-spacing:.14em}
body .arcade-detail .arcade-description .arcade-tagline{font-size:clamp(25px,2.4vw,34px);font-weight:900;line-height:1.16;letter-spacing:-.035em;margin:8px 0 20px}
body .detail-actions{display:grid;grid-template-columns:1fr auto}
body .detail-actions .btn:first-child{width:100%}
body.legal-page .brand{color:var(--ink);text-decoration:none}
body.legal-page .eyebrow{color:var(--blue);font-weight:900}
@media(max-width:850px){body .detail-cover-copy h1{font-size:56px}.detail-cover-copy{bottom:24px;left:24px;right:24px}}
@media(max-width:600px){
 .featured-art{height:auto;aspect-ratio:1.65}
 .featured-top{top:18px;left:18px;right:18px;gap:8px}
 .featured-top>span{font-size:.5625rem;padding:5px 7px}
 body .detail-cover-copy h1{font-size:clamp(34px,10vw,44px);line-height:.98}
 body .detail-cover-copy .eyebrow{font-size:.6875rem;padding:6px 10px;margin-bottom:14px}
 .detail-cover-copy{bottom:20px;left:20px;right:20px}
 body .arcade-detail .arcade-description .arcade-tagline{font-size:28px}
 body .join-lobby .welcome-collection{display:none}
 body .join-lobby:before{display:none}
 body .detail-actions{grid-template-columns:minmax(0,1fr)}
 body .rewards-table{table-layout:fixed;min-width:0}
 body .rewards-table th,body .rewards-table td,body .rewards-table thead th{padding:12px 6px;font-size:.8125rem;overflow-wrap:anywhere}
 body .rewards-table th:first-child{width:12%}
 body .rewards-table th:nth-child(2){width:31%}
 body .rewards-table th:nth-child(3){width:35%}
 body .rewards-table th:last-child,body .rewards-table td:last-child{width:22%;min-width:0}
 body .rewards-table summary{font-size:.8125rem}
 body .rewards-table details[open]{position:relative}
}
/* Compact game selection: artwork, controls and launch actions in one view. */
body #arcade-view{max-width:1240px;width:100%;padding:18px 28px 24px}
body #arcade-view .detail-navigation{margin-bottom:16px;min-height:36px}
body #arcade-detail .detail-hero{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:0;min-height:0;overflow:hidden}
body #arcade-detail .arcade-keyart{min-height:0;height:auto;align-self:stretch;border-radius:0;position:relative}
body #arcade-detail .arcade-keyart img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body #arcade-detail .detail-cover-copy{left:24px;right:24px;bottom:24px}
body #arcade-detail .detail-cover-copy h1{font-size:clamp(36px,4.2vw,64px);line-height:.98}
body #arcade-detail .detail-cover-copy .eyebrow{margin-bottom:14px;font-size:.6875rem}
body #arcade-detail .arcade-description{padding:24px!important;display:flex;flex-direction:column;gap:18px;align-self:stretch;min-width:0}
body #arcade-detail .arcade-description>p#arcade-description{font-size:1rem;line-height:1.5;max-width:none;margin:0;color:var(--ink)}
body #arcade-detail .arcade-facts{margin:0;gap:8px 14px;font-size:.6875rem;line-height:1.4}
body #arcade-detail .detail-controls{padding:0;border:0;border-radius:0;background:none}
body #arcade-detail .detail-controls h2{font-size:.875rem;margin:0 0 12px;line-height:1.3}
body #arcade-detail #arcade-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
body #arcade-detail .arcade-control{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:0;margin:0;min-width:0}
body #arcade-detail .arcade-control kbd{width:auto;min-width:0;max-width:100%;font-size:.75rem;padding:3px 7px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;background:var(--surface-raised);border:1px solid var(--line);border-radius:5px}
body #arcade-detail .arcade-control span{font-size:.8125rem;line-height:1.4;color:var(--muted)}
body #arcade-detail .detail-launch{margin-top:auto}
body #arcade-detail .detail-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
body #arcade-detail .detail-actions .btn{min-height:44px;padding:10px 20px;font-size:.875rem}
body #arcade-detail .arcade-description #arcade-access{margin:10px 0 0;max-width:none;font-size:.75rem;line-height:1.4}
body #arcade-detail .detail-links{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:-6px}
body #arcade-detail .detail-links .text-button{min-height:36px;padding:6px 0;font-size:.8125rem;font-weight:600}
body #arcade-detail .compact-controls-link{display:none}
body[data-page=arcade]:not(.arcade-open) .site-footer{display:none!important}
body #arcade-detail .detail-dialog{position:fixed;inset:0;width:min(560px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:28px;border:2px solid var(--outline);border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:5px 5px 0 var(--outline);overflow:auto}
body #arcade-detail .detail-dialog::backdrop{background:#17171da8}
body #arcade-detail .detail-dialog h2{font-size:1.5rem;line-height:1.2;margin:0 44px 24px 0}
body #arcade-detail .detail-dialog p{font-size:.875rem;line-height:1.6;margin:0 0 18px;color:var(--muted)}
body #arcade-detail .detail-dialog small{display:block;margin-top:18px;font-size:.75rem;color:var(--muted)}
body #arcade-detail .detail-dialog-close{position:absolute;right:14px;top:12px;width:44px;height:44px;border:0;border-radius:50%;background:var(--surface-raised);color:var(--ink);font-size:1.5rem;cursor:pointer}
body #arcade-detail .playbook-steps{display:grid;grid-template-columns:1fr;gap:18px}
body #arcade-detail .playbook-steps article{display:grid;grid-template-columns:30px minmax(0,1fr);gap:4px 12px;border:0;padding:0}
body #arcade-detail .playbook-number{grid-row:1/3;margin:0;font-size:.75rem;font-weight:900;line-height:1.7;color:var(--blue)}
body #arcade-detail .playbook-steps h3{margin:0;font-size:1rem;line-height:1.4}
body #arcade-detail .playbook-steps p{grid-column:2;margin:0}
body #arcade-detail .detail-more{border:0;border-top:1px solid var(--line);padding:20px 0 0;margin-top:24px}
body #arcade-detail .detail-more h3{font-size:.875rem;margin:0 0 10px}
body #arcade-detail #arcade-compact-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body #arcade-detail .arcade-race-entry>div{display:flex;flex-wrap:wrap;gap:12px}
body #arcade-detail .arcade-race-entry input{min-width:0;width:140px}
@media(max-width:1000px){
 body #arcade-detail .arcade-description{padding:20px!important;gap:14px}
 body #arcade-detail #arcade-controls{gap:10px 14px}
 body #arcade-detail .detail-cover-copy h1{font-size:42px}
}
@media(max-width:650px),(max-height:650px){
 body #arcade-detail .detail-controls{display:none}
 body #arcade-detail .compact-controls-link{display:block}
 body #arcade-detail .detail-links{gap:4px 16px}
 body #arcade-detail .detail-links .text-button{min-height:44px}
}
@media(max-width:650px){
 body #arcade-view{padding:12px 16px 20px}
 body #arcade-view .detail-navigation{margin-bottom:10px;gap:12px}
 body #arcade-breadcrumb{font-size:.625rem}
 body #arcade-detail .detail-hero{grid-template-columns:1fr}
 body #arcade-detail .arcade-keyart{height:160px;min-height:0}
 body #arcade-detail .detail-cover-copy{inset:auto 18px 18px}
 body #arcade-detail .detail-cover-copy h1{font-size:34px}
 body #arcade-detail .detail-cover-copy .eyebrow{font-size:.5625rem;margin-bottom:10px;padding:4px 8px}
 body #arcade-detail .arcade-description{padding:16px!important;gap:14px}
 body #arcade-detail .arcade-description>p#arcade-description{font-size:.875rem}
 body #arcade-detail .detail-actions .btn{padding:10px 14px;font-size:.8125rem}
 body #arcade-detail .detail-dialog{padding:22px 18px}
}
@media(max-width:650px) and (max-height:740px){body #arcade-detail .arcade-keyart{height:124px}body #arcade-detail .arcade-description{gap:10px}body #arcade-detail .detail-cover-copy h1{font-size:30px}}
/* Every card stays in the row; the partial next card signals horizontal browsing. */
body #lobby-view[data-library-mode=overview] [data-collection] .shelf-grid{display:grid;grid-template-columns:repeat(var(--shelf-columns,5),minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:16px;overflow:visible;padding:0;margin:0;scroll-snap-type:none}
body #lobby-view[data-library-mode=overview] [data-collection] .shelf-grid>article{min-width:0}
body #lobby-view[data-library-mode=overview] [data-collection] .shelf-grid .tile-wordmark{font-size:clamp(18px,1.55vw,25px);left:12px;right:10px;bottom:14px}
@media(max-width:650px){body #lobby-view[data-library-mode=overview] [data-collection] .shelf-grid{gap:12px}body #lobby-view[data-library-mode=overview] [data-collection] .shelf-grid .tile-wordmark{font-size:18px}}

/* Numeric titles and values share the same edge, padding and column widths. */
body .workers-table{table-layout:fixed;min-width:740px}
body .workers-table th,body .workers-table td{padding:16px;vertical-align:middle;white-space:normal;overflow-wrap:anywhere;line-height:1.45}
body .workers-table :is(th,td):nth-child(1){width:27%;text-align:left}
body .workers-table :is(th,td):nth-child(2){width:22%;text-align:right}
body .workers-table :is(th,td):nth-child(3){width:18%;text-align:right}
body .workers-table :is(th,td):nth-child(4){width:21%;text-align:right}
body .workers-table :is(th,td):nth-child(5){width:12%;text-align:left}
body .workers-table td{font-variant-numeric:tabular-nums}
body .workers-table th small,body .workers-table td small{display:block;line-height:1.4;margin-top:5px}
body #results-view .results-summary>div:first-child strong{color:#171717}
body[data-theme=dark] #results-view .results-summary>div:first-child strong{color:var(--ink)}
body[data-page=arcade]:not(.arcade-open) .content>#game{min-height:0}
body #arcade-detail .detail-common-controls{display:flex;align-items:center;gap:8px;margin:14px 0 0;font-size:.75rem;color:var(--muted)}
body #arcade-detail .detail-common-controls kbd{padding:2px 6px;font-size:.75rem;border:1px solid var(--line);border-radius:4px;background:var(--surface-raised);color:var(--ink)}
@media(min-width:651px) and (max-height:800px){
 body #arcade-view{padding-top:12px;padding-bottom:16px}
 body #arcade-view .detail-navigation{margin-bottom:10px}
 body #arcade-detail .arcade-description{padding:18px!important;gap:12px}
 body #arcade-detail #arcade-controls{gap:10px 18px}
 body #arcade-detail .detail-controls h2{margin-bottom:10px}
 body #arcade-detail .detail-common-controls{margin-top:10px}
}
@media(min-width:651px) and (max-height:500px){
 body #arcade-view{padding:8px 20px 12px}
 body #arcade-view .detail-navigation{min-height:30px;margin-bottom:4px}
 body #arcade-detail .arcade-description{padding:12px 16px!important;gap:8px}
 body #arcade-detail .arcade-description>p#arcade-description{font-size:.875rem;line-height:1.4}
 body #arcade-detail .detail-links{gap:0 12px;margin:0}
 body #arcade-detail .detail-links .text-button{font-size:.75rem;min-height:36px;padding:4px 0}
 body #arcade-detail .detail-cover-copy h1{font-size:34px}
 body #arcade-detail .detail-cover-copy .eyebrow{margin-bottom:10px}
}

/* v0.75: one artwork card, matching the supplied collection reference. */
body #arcade-detail .detail-hero{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;overflow:visible;border:0;border-radius:0;background:none;box-shadow:none}
body #arcade-detail .arcade-keyart{border:2px solid var(--outline);border-radius:24px;box-shadow:5px 5px 0 var(--outline);overflow:hidden;padding:0}
body #arcade-detail .arcade-keyart img{border-radius:0;inset:0;object-fit:cover}
body #arcade-detail .arcade-description{padding:12px 0!important}
body #arcade-detail .detail-cover-copy{z-index:2}
body #arcade-detail .arcade-keyart::after{border-radius:0}
@media(max-width:650px){
 body #arcade-detail .detail-hero{grid-template-columns:minmax(0,1fr);gap:18px}
 body #arcade-detail .arcade-keyart{height:clamp(170px,46vw,240px);border-radius:20px;box-shadow:4px 4px 0 var(--outline)}
 body #arcade-detail .arcade-description{padding:0!important}
}
