/* Normal page stacking is contained; full-screen play retains its own top layer. */
.app>.header{position:relative;z-index:10}.app>.content{isolation:isolate;z-index:0}
body.arcade-open .app>.header,body.arcade-open .app>.rail{visibility:hidden}
body.arcade-open .app>.content{isolation:auto;z-index:auto}
body.arcade-open .site-footer{display:none}
.site-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px clamp(22px,5vw,70px);color:var(--muted);font-size:11px}
.site-footer nav{display:flex;gap:22px;flex-wrap:wrap}.site-footer a,.reward-claim-panel>a{color:var(--muted);text-underline-offset:4px}.quiet-help{font-size:12px;color:var(--muted);margin:16px 0}.quiet-help summary{cursor:pointer;width:fit-content}.quiet-help p{max-width:70ch;line-height:1.65;margin-top:10px}.mining-explainer{font-size:11px;margin:10px 0 0}
#results-view .results-summary>div,#results-view .game-total{border:0;background:#fff;box-shadow:0 2px 12px #1c365306}
#results-view .point-activity{border:0;display:grid;gap:4px}
#results-view .activity-row{border:0;border-radius:7px;padding:16px}
#results-view .activity-row:nth-child(odd){background:#fff}
#results-view .results-footnotes{display:block;border:0;padding:0;margin-top:30px;max-width:78ch;color:var(--muted)}
#results-view .results-footnotes .help{font-size:12px}
#results-view .help:empty,#rewards-view .help:empty,#rewards-view .notice:empty{display:none}
.leader-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 22px}.leader-heading h2{font-size:24px;margin:0}
.era-leader-table{width:100%;border-collapse:separate;border-spacing:0 7px;table-layout:fixed;font-size:14px}
.era-leader-table thead th{font-weight:400;color:var(--muted);font-size:11px;padding:0 18px 8px;text-align:left}
.era-leader-table thead th:first-child{width:90px}.era-leader-table thead th:last-child{width:36%;text-align:right}
.era-leader-table tbody tr{background:#fff}.era-leader-table tbody th{font-weight:600;text-align:left;overflow-wrap:anywhere}
.era-leader-table td,.era-leader-table tbody th{padding:16px 18px;border:0}
.era-leader-table td:first-child{border-radius:9px 0 0 9px}.era-leader-table td:last-child{border-radius:0 9px 9px 0;text-align:right;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.place-badge{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;font-size:17px;font-weight:700;color:var(--muted);background:#f2f5fa}
.era-leader-table [data-place="1"]{background:#fff7dd}.era-leader-table [data-place="1"] .place-badge{color:#654c0b;background:#edcf78}
.era-leader-table [data-place="2"]{background:#eaf0f7}.era-leader-table [data-place="2"] .place-badge{color:#384a60;background:#cbd6e5}
.era-leader-table [data-place="3"]{background:#f8ede6}.era-leader-table [data-place="3"] .place-badge{color:#704327;background:#e9c8b1}
.you-tag{display:inline-block;margin-left:9px;font-size:10px;color:var(--blue);font-weight:600}.era-leader-table [data-yours=true]{outline:1px solid #315bea55;outline-offset:-1px;border-radius:9px}
#rewards-view>.text-button{margin-bottom:24px}#rewards-view .eyebrow{margin-bottom:7px}.reward-state{display:flex;flex-wrap:wrap;gap:9px;margin:25px 0}.status-pill{font-size:11px;color:var(--muted);background:#e5edf6;border-radius:20px;padding:8px 12px}
.rewards-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,300px);align-items:start;gap:28px}.rewards-ledger{min-width:0}.rewards-table{border-collapse:collapse;width:100%;font-size:12px}.rewards-table th{font-weight:600;text-align:left}.rewards-table thead th{font-size:11px;color:var(--muted);font-weight:400;padding:12px}.rewards-table tbody tr:nth-child(odd){background:#fff}.rewards-table td,.rewards-table tbody th{padding:18px 12px;vertical-align:top}.rewards-table th:nth-child(2),.rewards-table td:nth-child(2){text-align:right;font-variant-numeric:tabular-nums}.rewards-table td:last-child{width:32%;overflow-wrap:anywhere}.rewards-table summary{cursor:pointer;color:var(--muted)}.rewards-table code{display:block;font-size:10px;max-width:210px;overflow-wrap:anywhere;margin-top:7px}.rewards-table dl{display:grid;grid-template-columns:1fr auto;gap:8px 12px;margin:14px 0;color:var(--muted);font-size:10px}.rewards-table dd{margin:0;text-align:right}.reward-status{font-size:11px}.reward-status[data-status=paid],.reward-status[data-status=eligible]{color:#128064}.reward-status[data-status=disputed],.reward-status[data-status=held]{color:#896221}
.reward-claim-panel{padding:24px;background:#fff;border-radius:10px;min-width:0}.reward-claim-panel h2{font-size:22px;margin:0 0 14px}.reward-claim-panel .help{font-size:12px;line-height:1.6;margin:10px 0 20px}.reward-claim-panel label{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}.reward-claim-panel input,.reward-claim-panel select{width:100%;font-size:12px;margin-bottom:14px}.reward-claim-panel .btn{font-size:11px}.reward-claim-panel .row{flex-wrap:wrap}.reward-claim-panel>a{display:block;font-size:11px;margin-top:24px}.reward-claim-panel form{margin-top:24px}.reward-claim-panel #claim-review{overflow-wrap:anywhere}.reward-claim-panel .notice{font-size:12px;margin-top:16px}
/* Let artwork and instructions use the available page width without a short-screen cap. */
.arcade-page{width:100%;max-width:1840px;padding:28px clamp(22px,3vw,56px) 36px}
.arcade-detail{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(28px,3vw,56px);border:0;background:none;min-height:clamp(500px,72dvh,790px)}
.arcade-detail .arcade-keyart{height:auto;min-height:100%;max-height:none;align-self:stretch;border-radius:14px}
.arcade-detail .arcade-keyart img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.arcade-detail .arcade-description{padding:16px 0!important;align-self:center}
.arcade-detail .arcade-description h1{font-size:clamp(32px,3.2vw,54px);line-height:1.1;margin:12px 0}
.arcade-detail .arcade-description .arcade-tagline{font-size:clamp(17px,1.3vw,21px);line-height:1.4;margin:14px 0}
.arcade-detail .arcade-description>p#arcade-description{font-size:14px;line-height:1.7;margin:0 0 20px;max-width:66ch}
.arcade-detail .arcade-description #arcade-access{font-size:12px;line-height:1.6;margin:12px 0}
.arcade-detail .arcade-description>.btn{padding:12px 22px;min-height:44px;font-size:13px}
.arcade-detail .arcade-facts{margin:20px 0;font-size:9px;gap:16px;flex-wrap:wrap}
.arcade-detail details{margin-top:20px;border:0;background:none;padding:0}.arcade-detail summary{font-size:14px;font-weight:600;cursor:pointer}.arcade-detail details>p,.arcade-detail .arcade-control{font-size:12px;line-height:1.65}.arcade-detail .arcade-controls{gap:10px}.arcade-detail .arcade-race-entry{padding:16px;background:#e7eef7;border-radius:8px}.arcade-detail .arcade-race-entry>div{display:flex;flex-wrap:wrap;gap:8px}.arcade-detail .arcade-race-entry small{font-size:10px}.arcade-detail .arcade-howto{padding-top:20px;border-top:1px solid var(--line)}
@media(min-width:1600px){.arcade-detail .arcade-description{max-width:740px}.arcade-detail .arcade-control{font-size:14px}}
@media(max-width:1150px){.rewards-layout{grid-template-columns:1fr}.reward-claim-panel{max-width:600px}.arcade-detail{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:26px}}
@media(max-width:850px){.arcade-detail{grid-template-columns:1fr;gap:12px;min-height:0}.arcade-detail .arcade-keyart{height:clamp(200px,38vw,320px);min-height:0;max-height:none}.arcade-detail .arcade-description{padding:14px 0!important}.arcade-page{padding:20px 24px 28px}}
@media(max-width:540px){.site-footer{align-items:flex-start;flex-direction:column;padding:20px 22px}.site-footer nav{gap:18px;font-size:10px}.era-leader-table{font-size:12px}.era-leader-table thead th:first-child{width:62px}.era-leader-table thead th:last-child{width:39%}.era-leader-table td,.era-leader-table tbody th{padding:12px 8px}.era-leader-table thead th{padding-inline:8px}.place-badge{width:32px;height:32px;font-size:15px}.you-tag{display:block;margin:5px 0 0}.rewards-table{font-size:11px}.rewards-table td,.rewards-table th,.rewards-table thead th{padding:14px 6px}.rewards-table thead th{font-size:10px}.rewards-table td:last-child{width:27%}.reward-status{font-size:10px}.rewards-table dl{display:block}.rewards-table dd{text-align:left;margin:2px 0 8px}.reward-claim-panel{padding:20px}.arcade-page{padding:18px 20px 24px}.arcade-detail .arcade-description h1{font-size:34px}.arcade-detail .arcade-description>p#arcade-description{font-size:13px}}
#results-view .results-footnotes details,.rewards-table details{border:0;margin:0;padding:0}
#results-view .quiet-help{border:0;padding:0}#results-tabs{gap:24px}#results-tabs button{white-space:nowrap}
@media(max-width:1150px){.reward-claim-panel{order:-1;width:100%}}
@media(max-width:540px){#results-tabs{gap:18px}.reward-claim-panel{max-width:none}.rewards-table details>p{font-size:10px;line-height:1.5;margin-top:10px}}
