.arcade-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:18px;height:455px;margin:6px 0 0}
#cabinet-stage .home-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:0;min-width:0;padding:12px;background:#010308;border:3px solid var(--tile);border-radius:8px;color:var(--tile);text-align:center;box-shadow:inset 0 -6px 0 #ffffff08;transition:transform .12s,border-color .12s}
#cabinet-stage .home-tile .arcade-nav-icon{width:72px;height:48px;object-fit:contain;filter:drop-shadow(0 4px 0 #000)}
#cabinet-stage .home-tile b{font-size:26px;line-height:1;font-weight:1000;font-style:italic;letter-spacing:1px}
#cabinet-stage .home-tile span{font-size:15px;color:#e5edf5}
#cabinet-stage .home-tile:hover,#cabinet-stage .home-tile.pad-focus{background:#10151e;color:var(--tile);transform:translateY(-3px);outline:4px solid white;outline-offset:3px}
.home-credits{color:#ffdf00;text-align:center;font-size:16px;margin-top:19px;font-weight:900}
#cabinet-stage[data-scene="HOME"] .screen-heading{height:104px}
#cabinet-stage[data-scene="MODE"] .mode-screen-grid{height:350px}
.library-bar [data-world-tabs]{display:flex;gap:8px}.library-bar [data-world-tabs] button{display:flex;align-items:center;justify-content:center;gap:7px;padding:7px 10px}.library-bar .arcade-nav-icon{width:29px;height:29px;object-fit:contain}
.world-data-badge{display:block;border-left:4px solid #00baff;background:#03070c;padding:7px 10px;margin:8px 0;color:#fff;font-size:13px}.world-data-badge.estimate{border-color:#ffdf00}.world-data-badge b{color:#00caff}.world-data-badge.estimate b{color:#ffdf00}.world-data-badge small{display:block;color:#bdcedd;font-size:11px;line-height:1.3}
.reduced-motion .home-tile{transition:none!important;transform:none!important}
@media(prefers-reduced-motion:reduce){#cabinet-stage .home-tile{transition:none;transform:none}}

#cabinet-library [data-cabinet-tab=sources] .world-stage{display:none!important}
#cabinet-library [data-cabinet-tab=sources] .world-layout{display:block!important}
#cabinet-library [data-cabinet-tab=sources] .world-field{display:grid!important;grid-template-columns:1.15fr 1fr;grid-template-rows:25px 1fr;gap:18px 26px;padding:25px;width:100%}
#cabinet-library [data-cabinet-tab=sources] .world-field>.eyebrow{grid-column:1/-1;margin:0}
#cabinet-library [data-cabinet-tab=sources] .world-provenance{grid-column:1;grid-row:2;align-self:start;font-size:17px;line-height:1.4;padding:15px}
#cabinet-library [data-cabinet-tab=sources] .world-sources{grid-column:2;grid-row:2;margin:0;padding:18px;background:#020609;border:1px solid #00a8ff}
#cabinet-library [data-cabinet-tab=sources] .world-sources p{font-size:20px;line-height:1.5}
#cabinet-library [data-cabinet-tab=sources] .world-sources summary{font-size:21px;color:#00caff}

/* Seven challenges fit one cabinet screen. Big Three gets the hero tile. */
#cabinet-stage[data-scene="MODE"] .mode-screen-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,1fr);height:350px;gap:14px}
#cabinet-stage[data-scene="MODE"] .mode-poster{height:auto;min-height:0;justify-content:center;padding:8px}
#cabinet-stage[data-scene="MODE"] .mode-poster img{width:67px;height:67px}
#cabinet-stage[data-scene="MODE"] .mode-poster b{font-size:24px;margin:4px 0}
#cabinet-stage[data-scene="MODE"] .featured-mode{grid-column:span 2;display:grid;grid-template-columns:112px 1fr;grid-template-rows:1fr 28px 32px;text-align:left;padding:18px 28px;background:#06172b;border-color:#00caff}
#cabinet-stage[data-scene="MODE"] .featured-mode img{grid-row:1/4;width:100px;height:100px}
#cabinet-stage[data-scene="MODE"] .featured-mode b{font-size:42px;align-self:end;color:#ffe000}
#cabinet-stage[data-scene="MODE"] .featured-mode span{align-self:center;font-size:18px}
#cabinet-stage[data-scene="MODE"] .featured-mode small{color:#00eaff;font-size:12px;font-weight:900;align-self:center}
#cabinet-hud .fish-count{display:block;margin:0 0 3px;font-variant-numeric:tabular-nums;white-space:nowrap}

#cabinet-hud .bag-score>strong{font-size:30px;line-height:1.35}#cabinet-hud .bag-score .tension{left:auto;right:12px;width:92px}
