.section-navigation{max-width:1144px;margin:22px auto 0;padding:0 24px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;min-height:0}
.section-link{position:relative;isolation:isolate;overflow:hidden;display:flex;justify-content:center;align-items:center;gap:10px;min-height:64px;padding:12px 8px;background:#171c15;border:1px solid #333d2e;border-radius:12px;color:#b6c3ac;text-decoration:none;font-size:15px;font-weight:bold;transition:color .2s,border-color .2s,box-shadow .2s}
.section-link>span{font-size:21px;color:#a3e765}.section-link:hover{border-color:#a3e765;color:#eff3eb}.section-link.active{color:#eff3eb;border-color:#a3e765;box-shadow:0 0 22px #a3e76520,inset 0 0 18px #a3e7650d}
.section-link.active:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,#a3e765,transparent);background-size:200% 100%;animation:menu-light 3s linear infinite;box-shadow:0 0 12px #a3e765}
.section-link.active:after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 0,#a3e76520,transparent 70%);animation:menu-breathe 4s ease-in-out infinite}.section-link:focus-visible{outline:2px solid #a3e765;outline-offset:4px}
.card{text-decoration:none;display:block}.section-main{max-width:1144px;min-height:60vh;margin:34px auto 60px;padding:0 24px}.section-page{width:100%;padding:30px;border:1px solid #333d2e;border-radius:16px;background:#171c15}.section-page.store-dialog{width:100%;box-shadow:none}.section-page h1{font-family:AMETPixel,monospace;font-size:clamp(19px,3vw,28px);letter-spacing:0;text-shadow:2px 2px 0 #304722;line-height:1.6;margin:0;color:#eff3eb}.section-page .modal-head{margin-bottom:24px}.section-page .auth-form{max-width:650px}.section-page .empty{padding:28px}
@keyframes menu-light{to{background-position:200% 0}}@keyframes menu-breathe{50%{opacity:.35}}
@media(max-width:700px){.section-navigation{gap:7px;padding:0 16px}.section-link{flex-direction:column;gap:7px;font-size:11px;min-height:70px;padding:10px 3px}.section-main{padding:0 16px}.section-page{padding:20px 16px}.section-link>span{font-size:20px}}
@media(prefers-reduced-motion:reduce){.section-link{transition:none}.section-link.active:before,.section-link.active:after{animation:none}}
/* Three leaderboards, visible together. */
.ranking-intro{margin:0 0 10px;line-height:1.7}.ranking-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}.ranking-card{min-width:0;position:relative;border:1px solid #333d2e;border-top:2px solid var(--rank-accent);border-radius:14px;overflow:hidden;background:linear-gradient(160deg,color-mix(in srgb,var(--rank-accent) 6%,#171c15),#12180f);box-shadow:0 8px 24px #0002}.ranking-heading{display:flex;align-items:center;gap:12px;padding:22px 18px;border-bottom:1px solid #ffffff0c;background:radial-gradient(ellipse at 20% 0,color-mix(in srgb,var(--rank-accent) 12%,transparent),transparent 75%)}.ranking-emblem{flex-shrink:0;width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--rank-accent);border-radius:8px;background:#11180f;color:var(--rank-accent);font-size:24px;box-shadow:3px 3px 0 #0003}.ranking-subtitle{margin:0 0 7px;font:11px monospace;color:var(--rank-accent);letter-spacing:.6px}.ranking-heading h2{font:700 17px Arial,sans-serif;margin:0;line-height:1.4}.ranking-list{padding:8px 12px}.ranking-empty{padding:30px 18px;line-height:1.8;color:#85917b;font-size:14px}.ranking-table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}.ranking-table th{font-size:10px;color:#85917b;font-weight:400;text-align:left;padding:13px 4px}.ranking-table th:first-child{width:40px}.ranking-table th:last-child{width:38%;text-align:right}.ranking-table td{padding:13px 4px;border-top:1px solid #ffffff09}.ranking-place{display:grid;place-items:center;width:27px;height:27px;border-radius:6px;color:#85917b;background:#ffffff05;font:bold 12px monospace}.ranking-player{overflow-wrap:anywhere;font-weight:600}.ranking-score{text-align:right;color:var(--rank-accent);font-variant-numeric:tabular-nums;font-size:12px}.ranking-podium{background:#ffffff02}.podium-1 .ranking-place{color:#e5c66a;background:#e5c66a18;border:1px solid #e5c66a55}.podium-2 .ranking-place{color:#c5cfbb;background:#c5cfbb12}.podium-3 .ranking-place{color:#d5a477;background:#d5a47712}.ranking-card:hover{border-color:var(--rank-accent);box-shadow:0 0 18px color-mix(in srgb,var(--rank-accent) 9%,transparent)}
@media(max-width:1000px){.ranking-grid{grid-template-columns:1fr}.ranking-table{font-size:14px}.ranking-table th:last-child{width:35%}.ranking-heading{padding:20px}.ranking-score{font-size:14px}}
.section-link .nav-head{display:block;width:36px;height:39px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(2px 3px 0 #0005);transition:transform .2s ease,filter .2s ease}.section-link.active .nav-head{filter:drop-shadow(0 0 5px #a3e76544)}@media(hover:hover){.section-link:hover .nav-head{transform:translateY(-2px)}}@media(max-width:700px){.section-link .nav-head{width:29px;height:32px}}@media(prefers-reduced-motion:reduce){.section-link .nav-head{transition:none}.section-link:hover .nav-head{transform:none}}
/* One forest scene connects the navigation and page beneath it. */
.minecraft-scene{position:relative;background:linear-gradient(180deg,#10181055 0,#10131088 330px,#101310 750px),url('/minecraft-dusk.webp') center top/auto 800px no-repeat;padding-top:22px}.minecraft-scene .section-navigation{margin-top:0}.minecraft-scene .hero{background:transparent}.minecraft-scene .section-link{background:#141c12c9;backdrop-filter:blur(5px)}.minecraft-scene .section-link.active{background:#24351bd9}.minecraft-scene .section-main{margin-bottom:0;padding-bottom:60px}.minecraft-scene .section-page{background:#171c15eb}.minecraft-scene .section-page.store-dialog{background:radial-gradient(ellipse at top right,#33462866,transparent 55%),#141c12ed}
.section-page>.modal-head{min-height:156px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:20px;border-bottom:1px solid #ffffff0c}.section-mascot{flex:0 0 144px;position:relative;display:grid;place-items:center;align-self:center}.section-mascot:before{content:"";position:absolute;inset:22px -12px 6px;background:radial-gradient(ellipse,#a3e7651c,transparent 70%);pointer-events:none}.section-mascot img{display:block;width:144px;height:156px;image-rendering:pixelated;position:relative;filter:drop-shadow(7px 9px 0 #0004)}[data-section="shop"] .section-mascot:before{background:radial-gradient(ellipse,#e5c66a20,transparent 70%)}[data-section="support"] .section-mascot:before{background:radial-gradient(ellipse,#61d9ed18,transparent 70%)}[data-section="apply"] .section-page>.modal-head{min-height:0}
@media(max-width:700px){.minecraft-scene{padding-top:16px;background-size:auto,auto 650px}.section-page>.modal-head{min-height:105px;gap:12px}.section-mascot{flex-basis:88px}.section-mascot img{width:88px;height:96px}.section-page>.modal-head h1{font-size:18px;overflow-wrap:anywhere}}
/* Full-screen forest, shared by every page and fixed during scrolling. */
body{position:relative;isolation:isolate;min-height:100vh}body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#10181066,#10131099),url('/minecraft-dusk.webp') center center/cover no-repeat}.minecraft-scene{background:none}.minecraft-scene .hero{background:transparent}footer{background:#1013109c}header{background:#101310d9}
.section-navigation{grid-template-columns:repeat(6,minmax(0,1fr))}.chests-placeholder{text-align:center;padding:32px 16px 48px}.chests-placeholder img{image-rendering:pixelated;filter:drop-shadow(0 0 15px #e5c66a22)}.chests-placeholder h2{font-size:22px;color:#e5c66a}[data-section="chests"] .section-page>.modal-head{min-height:0}@media(max-width:560px){.section-navigation{grid-template-columns:repeat(3,minmax(0,1fr))}}
.auth-link{background:transparent;border:0;color:#a3e765;font:inherit;font-size:14px;text-align:center;padding:8px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.auth-link:hover{color:#c4eea6}.auth-link:focus-visible{outline:2px solid #a3e765;outline-offset:2px}.auth-form .auth-hint{margin:0 0 8px;line-height:1.6}#recovery-code{text-align:center;letter-spacing:5px;font:24px monospace}
.auth{flex-wrap:wrap;justify-content:flex-end}.auth .btn{white-space:nowrap}@media(max-width:560px){.auth{justify-content:center}}
.auth:not(.auth-ready){visibility:hidden;pointer-events:none}.auth.auth-ready{animation:auth-reveal .16s ease-out}@keyframes auth-reveal{from{opacity:.55}to{opacity:1}}
.registration-help{display:grid;gap:18px}.registration-help>.muted{margin:0;line-height:1.75}.registration-steps{display:grid;gap:12px;margin:0;padding-left:24px;color:#c5cfbb;line-height:1.7}.registration-steps li::marker{color:#a3e765;font-weight:700}.registration-ip{display:block;overflow-wrap:anywhere;padding:13px 15px;border:1px solid #46543c;background:#11180e;color:#c4eea6;text-align:center;font:14px monospace;user-select:all}.registration-copy{width:100%;white-space:normal;line-height:1.5}
/* Stable navigation: shared layers stay mounted; feedback never shifts layout. */
html{scrollbar-gutter:stable}
.minecraft-scene .section-link{backdrop-filter:none}
.section-navigation[aria-busy="true"]{cursor:progress}
.section-navigation[aria-busy="true"] .section-link{cursor:progress}
.section-link.active:before{background-size:100% 100%;animation:menu-glow 3s ease-in-out infinite}
@keyframes menu-glow{50%{opacity:.4}}
dialog[open]{overflow-y:auto;overscroll-behavior:contain}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.section-link.active:before{animation:none}}
/* Pixel pinecones frame the centered server name. */
nav>.brand{display:flex;align-items:center;justify-content:center;gap:12px;white-space:nowrap}
.brand-cone{display:block;flex:none;width:26px;height:35px;image-rendering:pixelated;filter:drop-shadow(2px 3px 0 #0006)}
.brand-cone-left{transform:rotate(-14deg)}.brand-cone-right{transform:rotate(14deg)}
@media(max-width:560px){nav>.brand{gap:10px}.brand-cone{width:23px;height:31px}}
