@font-face{font-family:VT323;src:url('/assets/VT323-Regular.ttf') format('truetype');font-display:swap}
#site-page{display:contents}
.site-navigation{position:relative;margin-left:auto;flex-shrink:0}
.site-menu-toggle{display:none;align-items:center;gap:12px;min-height:44px;padding:9px 12px;background:#171a14;color:#e5e3d8;border:1px solid #555c48;border-radius:0;font:22px/1 VT323,monospace;cursor:pointer}
.site-menu-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.site-menu-toggle:hover,.site-menu-toggle[aria-expanded=true]{color:#a3ff12;border-color:#a3ff12}
.site-menu-toggle:focus-visible{outline:2px solid #a3ff12;outline-offset:4px}
.site-nav{display:flex!important;align-items:center;justify-content:flex-end;gap:clamp(14px,2.4vw,28px)!important;margin-left:auto;font:20px/1.2 VT323,monospace!important;letter-spacing:0}
.site-nav a{display:block!important;white-space:nowrap;text-decoration:none;padding:12px 0;color:#969992}
.site-nav a:hover,.site-nav a[aria-current=page]{color:#a3ff12}
.site-nav a[aria-current=page]{box-shadow:0 2px 0 #a3ff12}
.site-nav a:focus-visible{outline:2px solid #a3ff12;outline-offset:5px}
#site-music-toggle{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:110;display:grid;place-items:center;width:48px;height:48px;padding:11px;border:1px solid #555c48;border-radius:0;background:#171a14f2;color:#e5e3d8;box-shadow:3px 3px 0 #0009;cursor:pointer}
#site-music-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:square}
#site-music-toggle[aria-pressed=true]{color:#a3ff12;border-color:#a3ff1266}
#site-music-toggle .sound-slash{display:none}
#site-music-toggle[aria-pressed=false] .sound-waves{display:none}
#site-music-toggle[aria-pressed=false] .sound-slash{display:block}
#site-music-toggle:focus-visible{outline:2px solid #a3ff12;outline-offset:4px}
#site-music-toggle:disabled{opacity:.5;cursor:default}
/* Reserve a corner for sound without covering the fullscreen bag or clock. */
body.game-fullscreen .quick-bar{right:76px}
#sound-button{display:none!important}
.masthead,.board-header,.lore-header,.game-header,.ranking-header{position:relative;z-index:120;flex-wrap:wrap;height:auto!important;min-height:92px;gap:12px 26px!important}
@media(max-width:650px){
  .masthead,.board-header,.lore-header,.game-header{align-items:center;gap:5px!important;padding-top:16px;padding-bottom:16px}
  .site-nav{flex-basis:100%;justify-content:space-between;gap:10px!important;font-size:20px!important}
  .site-nav a{padding:10px 0}
  #site-music-toggle{right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));width:44px;height:44px;padding:9px}
  body.game-fullscreen .quick-bar{right:68px}
}
body[data-site-page=leaderboard]{background:#10110f;color:#e5e3d8;font:16px/1.5 Arial,Helvetica,sans-serif}
.ranking-shell{max-width:1100px;padding:0 32px 90px;margin:auto}
.ranking-header{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:100px;border-bottom:1px solid #33352e}
.ranking-header img{display:block;max-width:185px;height:auto}
.ranking-intro{margin:44px 0 28px}.ranking-intro h1{font:56px/1 VT323,monospace;margin:0 0 16px}.ranking-intro p{color:#969992;max-width:580px;margin:0}
.ranking-controls{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:0 0 26px}
.ranking-controls form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-right:auto}
.ranking-controls button,.ranking-controls input,#ranking-more{background:#191d15;color:#e5e3d8;border:1px solid #555c48;font:18px VT323,monospace;min-height:44px;padding:10px 14px;color-scheme:dark;cursor:pointer}
.ranking-controls button:disabled{opacity:.4;cursor:default}.ranking-controls button:hover:not(:disabled),#ranking-more:hover{border-color:#a3ff12}
.ranking-panel{border:1px solid #45483e;padding:24px;background:#171a14}.ranking-panel .small,.ranking-panel .results-state{color:#969992;font-size:14px}.ranking-panel .results-own{color:#a3ff12}
.results-table{width:100%;border-collapse:collapse;margin-top:26px;text-align:left}.results-table th{font:20px VT323,monospace;color:#969992;padding:12px;border-bottom:1px solid #45483e}.results-table td{padding:16px 12px;border-bottom:1px solid #33352e}.result-identity{display:flex;align-items:center;gap:14px}.result-identity img{display:block}.result-identity strong{font:22px VT323,monospace;overflow-wrap:anywhere}.result-identity small{display:block;color:#969992;font-size:12px}.result-actions{font:24px VT323,monospace}.results-you{background:#a3ff1209}.results-empty{padding:30px 0;color:#969992}.ranking-footer{margin-top:24px}.ranking-footer a{color:#a3ff12}.ranking-shell a{text-decoration:none}#ranking-more{margin-top:20px}
@media(max-width:650px){.ranking-shell{padding:0 20px 80px}.ranking-header{flex-wrap:wrap;gap:8px;padding:18px 0}.ranking-intro{margin-top:30px}.ranking-intro h1{font-size:44px}.ranking-panel{padding:15px}.results-table td,.results-table th{padding:12px 4px}.result-identity{gap:9px}.result-identity strong{font-size:19px}.result-identity img{width:32px;height:32px}.ranking-controls{gap:8px}}
@media(max-width:760px){
  .masthead,.board-header,.lore-header,.game-header,.ranking-header{flex-wrap:nowrap;align-items:center;min-height:84px;gap:12px!important;padding-top:14px;padding-bottom:14px}
  .site-navigation{margin-left:auto;min-width:0}
  .site-navigation .site-nav{flex-wrap:wrap;gap:10px!important}
  .site-navigation[data-ready=true] .site-menu-toggle{display:flex}
  .site-navigation[data-ready=true] .site-nav{display:none!important;position:absolute;top:calc(100% + 12px);right:0;width:min(260px,calc(100vw - 40px));margin:0;padding:8px;border:1px solid #555c48;background:#171a14;box-shadow:4px 4px 0 #0009;flex-direction:column;align-items:stretch;gap:0!important;font-size:24px!important;box-sizing:border-box}
  .site-navigation[data-ready=true][data-open=true] .site-nav{display:flex!important}
  .site-navigation[data-ready=true] .site-nav a{padding:12px 14px;border-bottom:1px solid #33352e;box-shadow:none}
  .site-navigation[data-ready=true] .site-nav a:last-child{border-bottom:0}
  .site-navigation[data-ready=true] .site-nav a[aria-current=page]{background:#a3ff120a}
}
.ranking-shell [hidden]{display:none!important}
body[data-site-page=leaderboard] *,body[data-site-page=leaderboard] *::before,body[data-site-page=leaderboard] *::after{box-sizing:border-box}
.ranking-overview{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.ranking-main>h2,.profile-titlebar h2,.history-titlebar h2{font:30px/1.1 VT323,monospace;font-weight:400;margin:0 0 20px}
.ranking-main .ranking-controls{gap:8px}.ranking-main .ranking-controls form{flex-basis:100%}.ranking-main .ranking-controls input{max-width:170px;min-width:0}.ranking-main .ranking-panel{padding:20px}
.profile-panel{border:1px solid #45483e;background:#171a14;padding:22px;margin-top:0}
.profile-titlebar,.history-titlebar{display:flex;align-items:start;justify-content:space-between;gap:12px}.profile-titlebar h2{margin-bottom:22px}.profile-titlebar button{background:none;border:0;color:#969992;padding:4px 0;font:16px VT323,monospace;cursor:pointer}
.profile-identity{display:flex;gap:14px;align-items:center}.profile-identity img{width:64px;height:64px;flex-shrink:0;border:1px solid #59604e}.profile-identity strong{display:block;font:24px/1.15 VT323,monospace;color:#e5e3d8;overflow-wrap:anywhere}.profile-identity span{display:block;font-size:12px;line-height:1.5;color:#969992;margin-top:6px}
.profile-summary{display:grid;grid-template-columns:1fr 1fr;gap:22px 12px;margin:25px 0}.profile-summary dt{font:12px/1.3 Arial,sans-serif;color:#969992;margin-bottom:5px}.profile-summary dd{font:34px/1 VT323,monospace;color:#a3ff12;margin:0}
.profile-note,#profile-status,#history-status{font-size:13px;color:#969992;line-height:1.6}.profile-note{margin:24px 0 0;border-top:1px solid #33352e;padding-top:17px}
#profile-signin button,.profile-runs button,#history-more{min-height:44px;border:1px solid #555c48;background:#191d15;color:#e5e3d8;padding:10px 15px;font:18px VT323,monospace;cursor:pointer}#profile-signin button{background:#a3ff12;color:#10110f;border-color:#a3ff12;width:100%;margin-top:12px}#profile-signin button:disabled{opacity:.45;cursor:default}
.profile-history{margin-top:42px;border-top:1px solid #45483e;padding-top:28px}.history-titlebar h2{margin-bottom:10px}.history-titlebar p{font-size:13px;color:#969992;margin:0 0 22px;max-width:610px}.profile-runs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.profile-runs .history-card{border:1px solid #45483e;background:#171a14;padding:22px}.profile-runs .history-heading{display:flex;align-items:center;gap:13px}.profile-runs .history-heading img{flex-shrink:0;width:48px;height:48px;border:1px solid #59604e}.profile-runs .history-heading strong{display:block;font:25px VT323,monospace}.profile-runs .history-status{display:block;font-size:12px;color:#969992;margin-top:5px}
.profile-runs .history-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:22px 0}.profile-runs .history-stats dt{font:12px Arial,sans-serif;color:#969992;margin-bottom:6px}.profile-runs .history-stats dd{font:28px VT323,monospace;margin:0}.profile-runs .history-time{font-size:12px;line-height:1.5;color:#969992;margin:5px 0}.profile-runs .history-cause{font-size:13px;color:#dbb2a4}.profile-runs .history-eligibility{font-size:13px;color:#a3ff12}.profile-runs .history-card>button{margin-top:15px}.profile-runs button:hover,#history-more:hover{border-color:#a3ff12}.profile-runs button:disabled{opacity:.4;cursor:default}
.ranking-shell button:focus-visible,.ranking-shell input:focus-visible{outline:2px solid #a3ff12;outline-offset:4px}#history-more{margin-top:24px}
@media(max-width:900px){.ranking-overview{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.profile-panel{padding:18px}.profile-identity{gap:10px}.profile-identity img{width:52px;height:52px}.ranking-main .ranking-panel{padding:15px}}
@media(max-width:700px){.ranking-overview{grid-template-columns:1fr;gap:28px}.profile-runs{grid-template-columns:1fr}.profile-panel{padding:20px}.profile-identity img{width:64px;height:64px}.profile-summary{grid-template-columns:repeat(4,1fr);gap:12px}.profile-summary dd{font-size:30px}.profile-note{margin-top:16px}.profile-runs .history-card{padding:18px}.ranking-main .ranking-controls form{gap:8px}.ranking-main .ranking-controls input{max-width:145px}.ranking-main .ranking-controls form>button{padding:10px}.ranking-main .ranking-controls form>label{font-size:13px}}

.board-lock h2{font:32px/1.1 VT323,monospace;margin:0 0 16px;color:#e5e3d8}.board-lock>p{max-width:540px}.board-lock .button{display:inline-block;text-decoration:none;margin:5px 0 16px}.board-lock .small-label{font-size:12px;line-height:1.7;margin:0 0 8px}.board-lock .small-label:last-child{margin-bottom:0}
.board-run-note{padding:12px 0;border-top:1px solid #45483e;border-bottom:1px solid #45483e}.panel-card .board-unlock-action{display:block;margin:18px 0 10px;padding:13px 18px;border:1px solid #a3ff12;background:#a3ff12;color:#10110f;font:24px VT323,monospace;text-decoration:none}.board-unlock-action:focus-visible{outline:2px solid #a3ff12;outline-offset:4px}
.ranking-titlebar{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:20px}.ranking-titlebar h2{font:30px/1.1 VT323,monospace;font-weight:400;margin:0}.ranking-titlebar button{background:none;border:0;padding:4px 0;color:#969992;font:16px VT323,monospace;cursor:pointer}.ranking-titlebar button:hover{color:#a3ff12}.ranking-titlebar button:disabled{opacity:.4;cursor:default}
.ranking-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 24px;padding-bottom:20px;border-bottom:1px solid #33352e}.ranking-summary dt{font-size:12px;color:#969992}.ranking-summary dd{margin:4px 0 0;font:40px/1 VT323,monospace;color:#a3ff12}.all-time-table{table-layout:fixed}.all-time-table th:first-child{width:46px}.all-time-table th:nth-child(n+3){width:54px;text-align:right}.all-time-table td,.all-time-table th{padding-left:5px;padding-right:5px}.all-time-table .result-total{text-align:right;font:24px VT323,monospace;white-space:nowrap}.all-time-table .result-total small{display:none}.all-time-table .result-identity{min-width:0;gap:9px}.all-time-table .result-identity>div{min-width:0}.all-time-table .result-identity img{flex-shrink:0;width:32px;height:32px}.all-time-table .result-identity strong{font-size:21px}.all-time-table .result-place{font:22px VT323,monospace;color:#969992}.all-time-table .results-you strong,.all-time-table .results-you .result-place{color:#a3ff12}
@media(max-width:540px){.all-time-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.all-time-table tbody,.all-time-table tr{display:block}.all-time-table tr{display:grid;grid-template-columns:35px repeat(3,minmax(0,1fr));gap:0 8px;padding:16px 0;border-bottom:1px solid #33352e}.all-time-table td{display:block;border:0;padding:0}.all-time-table td:first-child{grid-column:1;align-self:center}.all-time-table td:nth-child(2){grid-column:2/-1}.all-time-table .result-total{margin-top:14px;text-align:left;font-size:26px}.all-time-table .result-total:nth-child(3){grid-column:2}.all-time-table .result-total small{display:block;font:11px/1.4 Arial,sans-serif;color:#969992;margin-bottom:4px}.all-time-table .result-identity img{width:40px;height:40px}.all-time-table .result-identity strong{font-size:23px}}
