:root{--bg:#10120f;--panel:#171a16;--panel2:#1c201b;--line:#30352d;--muted:#8c9284;--cream:#f0f1e8;--lime:#c7f36b;--lime2:#a6d84f;--mono:'DM Mono',monospace;--display:'Space Grotesk',sans-serif;--body:'DM Sans',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--cream);font-family:var(--body);font-size:14px}.grain{position:fixed;inset:0;pointer-events:none;z-index:10;opacity:.035;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E")}.topbar,main,footer{max-width:1240px;margin:auto}.topbar{height:86px;padding:0 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff14}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--cream);font:700 12px var(--display);letter-spacing:.09em}.brand-mark{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--lime);color:var(--lime);font:700 15px var(--display);letter-spacing:-.1em}.brand-mark span,.stats-mark span{color:var(--cream);font-size:10px}.brand-sub{display:block;margin-top:3px;font:9px var(--mono);letter-spacing:.13em;color:var(--muted)}nav{display:flex;gap:38px;margin-left:10%;}nav a,.text-link{color:#aeb3a7;text-decoration:none;font-size:12px;transition:color .2s}nav a:hover,.text-link:hover{color:var(--lime)}button{font:inherit;cursor:pointer}.discord-button{display:flex;align-items:center;gap:10px;background:transparent;border:1px solid #454a3f;color:var(--cream);padding:11px 15px;font-size:11px;transition:.2s}.discord-button:hover{border-color:var(--lime);color:var(--lime)}.discord-button svg{width:17px;height:17px}.hero{min-height:555px;padding:86px 48px 76px;display:grid;grid-template-columns:1.08fr .92fr;position:relative;overflow:hidden;border-bottom:1px solid #ffffff14}.hero-copy{position:relative;z-index:2}.eyebrow{display:flex;align-items:center;gap:10px;color:var(--lime);font:10px var(--mono);letter-spacing:.09em}.eyebrow-line{display:inline-block;width:36px;height:1px;background:#737a63}.live-dot,.tag-dot{width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:0 0 12px #c7f36b8c;display:inline-block}.hero h1{font:600 clamp(56px,7.5vw,96px)/.91 var(--display);letter-spacing:-.075em;margin:31px 0 25px}.hero h1>span,.how h2 span{color:var(--lime)}.hero-text{max-width:400px;color:#a5aa9d;font-size:14px;line-height:1.75;margin-bottom:31px}.hero-actions{display:flex;align-items:center;gap:28px}.primary-button,.secondary-button{background:var(--lime);border:1px solid var(--lime);color:#141710;padding:14px 17px;font:600 12px var(--body);transition:.2s}.primary-button:hover,.secondary-button:hover{background:#ddffa0;border-color:#ddffa0;transform:translateY(-1px)}.primary-button span,.secondary-button span{margin-left:25px;font-size:17px}.text-link span{color:var(--lime);margin-left:7px}.hero-note{margin-top:40px;font:9px var(--mono);letter-spacing:.08em;color:#a1a797}.shield{color:var(--lime);font-size:14px;vertical-align:-1px;margin-right:6px}.note-divider{padding:0 8px;color:#61685b}.hero-art{position:relative;min-height:370px;display:grid;place-items:center;margin-top:-5px}.orbit{position:absolute;left:50%;top:50%;border:1px solid #c7f36b1a;border-radius:50%;transform:translate(-50%,-50%)}.orbit-one{width:255px;height:255px}.orbit-two{width:370px;height:370px;border-style:dashed;animation:rotate 70s linear infinite}.orbit-three{width:475px;height:475px;border-color:#ffffff0b}@keyframes rotate{to{transform:translate(-50%,-50%) rotate(360deg)}}.power-core{position:relative;z-index:1;width:213px;height:213px;border:1px solid #c7f36b5c;border-radius:50%;background:radial-gradient(circle,#22291b 0,#151812 72%);box-shadow:0 0 65px #a1d34617, inset 0 0 35px #a1d3460d;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.core-kicker,.core-label{font:9px var(--mono);letter-spacing:.12em;color:#a9b29a}.core-value{font:600 74px/.95 var(--display);color:var(--lime);letter-spacing:-.08em}.core-rule{width:34px;height:1px;background:var(--lime);margin:11px 0}.core-label{line-height:1.65;font-size:8px}.float-tag{position:absolute;z-index:2;border:1px solid #4b5141;background:#171a15;padding:11px 13px;font:9px var(--mono);letter-spacing:.04em;color:#a7ad9f;display:flex;align-items:center;gap:9px}.float-tag b{color:var(--lime);font-weight:400}.tag-top{top:51px;right:0}.tag-bottom{bottom:56px;left:0}.tag-icon{font-size:23px;color:var(--lime)}.art-coordinates{position:absolute;right:0;bottom:3px;color:#71796a;font:9px/1.7 var(--mono);text-align:right;letter-spacing:.08em}.spark{position:absolute;width:23px;color:var(--lime);top:93px;left:12%}.stats{height:118px;border-bottom:1px solid #ffffff14;display:grid;grid-template-columns:1fr 1fr 1fr auto;align-items:center;padding:0 48px;gap:30px}.stats>div:not(.stats-mark){display:flex;flex-direction:column;gap:10px}.stat-label{font:9px var(--mono);letter-spacing:.1em;color:#858c7b}.stats strong{font:600 23px var(--display);letter-spacing:-.04em}.stats-mark{font:700 30px var(--display);color:var(--lime)}.rankings{padding:93px 48px 82px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:32px}.muted{color:#8c9481}.section-heading h2,.how h2,.modal h2{font:600 43px/.97 var(--display);letter-spacing:-.055em;margin:17px 0 0}.accent{color:var(--lime)}.all-link{margin-bottom:7px}.table-wrap{border:1px solid var(--line);background:#141713}.table-head,.record-row{display:grid;grid-template-columns:1.7fr 1.05fr 1fr .7fr;align-items:center}.table-head{padding:15px 22px;border-bottom:1px solid var(--line);font:9px var(--mono);letter-spacing:.08em;color:#858c7b}.record-row{min-height:69px;padding:10px 22px;border-bottom:1px solid #ffffff0d}.record-row:last-child{border:0}.player-cell{display:flex;align-items:center;gap:13px}.rank-no{font:11px var(--mono);color:#858c7b;width:22px}.avatar{width:31px;height:31px;background:#293021;color:var(--lime);display:grid;place-items:center;font:600 12px var(--display)}.player-name{font-weight:600;font-size:12px}.player-discord{font:9px var(--mono);color:#818778;margin-top:3px}.power-cell{font:600 15px var(--display);letter-spacing:-.02em}.record-date{font:10px var(--mono);color:#92988a}.verified{font:9px var(--mono);letter-spacing:.04em;color:var(--lime);display:flex;align-items:center;gap:7px}.verified span{font-size:13px}.empty-state{height:205px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center}.empty-symbol{color:var(--lime);font-size:23px}.empty-state strong{font:500 11px var(--mono);letter-spacing:.1em}.empty-state>span:last-of-type{color:#838a7c;font-size:11px}.empty-state button{margin-top:7px;background:none;border:0;color:var(--lime);font:11px var(--body)}.empty-state button span{font-size:16px;margin-left:7px}.table-foot{padding:13px 3px;display:flex;justify-content:space-between;font:9px var(--mono);letter-spacing:.06em;color:#788071}.table-foot>span:last-child{display:flex;gap:8px;align-items:center}.table-foot .live-dot{width:6px;height:6px}.how{padding:80px 48px 96px;background:#151814;border-top:1px solid #ffffff12;display:grid;grid-template-columns:.85fr 1.15fr;gap:54px}.how h2{font-size:51px;line-height:.98;margin-top:22px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:23px;padding-top:5px}.steps article{position:relative;border-top:1px solid #444a3d;padding-top:22px}.step-no{position:absolute;right:0;top:19px;color:#747c6c;font:9px var(--mono)}.step-icon{color:var(--lime);font-size:22px}.steps h3{font:600 11px var(--display);letter-spacing:.04em;margin:21px 0 10px}.steps p{font-size:11px;line-height:1.7;color:#969d8e;margin:0;max-width:175px}footer{min-height:100px;padding:22px 48px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff12;color:#778071;font:9px var(--mono);letter-spacing:.07em}footer a:last-child{color:#9fa695;text-decoration:none}.footer-brand{font-size:10px}dialog{border:1px solid #484e40;background:#151814;color:var(--cream);padding:0;width:min(530px,calc(100vw - 30px));max-height:92vh;overflow:auto}dialog::backdrop{background:#080a08d9;backdrop-filter:blur(4px)}.modal-close-form{position:sticky;top:10px;height:0;z-index:2}.modal-close{float:right;margin:12px 13px 0 0;width:32px;height:32px;background:#22271e;border:1px solid #444b3d;color:var(--cream);font-size:21px}.modal-content{padding:40px 42px 34px}.modal h2{font-size:42px;margin:18px 0 22px}.modal h2 span{color:var(--lime)}.auth-status{display:flex;align-items:center;gap:8px;padding:12px 13px;background:#1d211a;border:1px solid #363c30;color:#a9b09e;font-size:11px;margin-bottom:24px}.status-dot{width:7px;height:7px;border-radius:50%;background:#7d8475}.auth-status.connected .status-dot{background:var(--lime);box-shadow:0 0 10px #c7f36b80}.inline-login{margin-left:auto;background:none;border:0;color:var(--lime);font-size:11px}.auth-status.connected .inline-login{display:none}#record-form>label:not(.upload-box){display:block;font:9px var(--mono);letter-spacing:.07em;color:#bdc2b5;margin:17px 0 8px}#record-form>label span{float:right;color:#778071;font-size:8px}#record-form>input{width:100%;height:43px;background:#10120f;border:1px solid #34392f;padding:0 12px;color:var(--cream);font:12px var(--body);outline:none}#record-form>input:focus,#code:focus{border-color:var(--lime)}.upload-box{height:86px;border:1px dashed #515847;background:#191d17;display:flex;align-items:center;gap:13px;padding:13px;cursor:pointer;color:#9ea595;font-size:10px;line-height:1.7}.upload-box:hover{border-color:var(--lime)}.upload-box input{position:absolute;width:1px;height:1px;opacity:0}.upload-box b{color:var(--cream);font-weight:500}.upload-box small{color:#7f8775}.upload-icon{width:34px;height:34px;display:grid;place-items:center;color:var(--lime);border:1px solid #4a5340;font-size:18px}.verify-row{display:grid;grid-template-columns:1.2fr 1fr;gap:10px;margin-top:18px}.secondary-button{background:#22271e;border-color:#424a39;color:var(--cream);padding:11px 12px;font-size:10px}.secondary-button:hover{background:#2a3123;color:var(--lime);border-color:var(--lime)}.secondary-button span{margin-left:8px}.code-input-wrap input{height:100%;width:100%;min-height:42px;text-align:center;letter-spacing:.35em;font:14px var(--mono);background:#10120f;border:1px solid #34392f;color:var(--cream);outline:none}.form-hint,.privacy-copy{font-size:9px;color:#838a7c;line-height:1.6}.form-hint{margin:10px 0 15px}.submit-record{width:100%;display:flex;justify-content:space-between;align-items:center}.submit-record:disabled{opacity:.45;cursor:not-allowed;transform:none}.form-message{font-size:11px;line-height:1.5;margin-top:12px;color:var(--lime)}.form-message.error{color:#ff9c86}.privacy-copy{padding-top:12px;border-top:1px solid #ffffff12;margin:16px 0 0}.dragging .upload-box{border-color:var(--lime);background:#20271a}@media(max-width:780px){.topbar{padding:0 22px;height:72px}nav{display:none}.hero{padding:65px 22px 45px;grid-template-columns:1fr;min-height:0}.hero h1{font-size:clamp(59px,14vw,88px)}.hero-art{min-height:330px;margin-top:35px}.orbit-one{width:215px;height:215px}.orbit-two{width:305px;height:305px}.orbit-three{width:380px;height:380px}.power-core{width:175px;height:175px}.core-value{font-size:59px}.tag-top{right:0;top:20px}.tag-bottom{bottom:35px;left:0}.stats{padding:25px 22px;height:auto;grid-template-columns:1fr 1fr;gap:25px}.stats-mark{display:none}.rankings{padding:68px 22px}.section-heading h2{font-size:35px}.table-head,.record-row{grid-template-columns:1.4fr 1fr .75fr}.table-head span:last-child,.record-row>.verified{display:none}.table-head{padding:13px 12px;font-size:8px}.record-row{padding:10px 12px}.record-date{font-size:9px}.how{padding:65px 22px;grid-template-columns:1fr;gap:37px}.how h2{font-size:44px}.steps{gap:14px}.steps p{font-size:10px}footer{padding:20px 22px;gap:12px;flex-wrap:wrap}footer>span{display:none}.modal-content{padding:37px 24px 27px}}@media(max-width:430px){.discord-button{padding:10px}.discord-button span{font-size:0}.discord-button svg{width:18px}.hero-actions{gap:16px}.hero-actions .text-link{font-size:10px}.hero-note{font-size:8px}.section-heading{align-items:start}.all-link{font-size:10px}.table-head,.record-row{grid-template-columns:1.4fr .95fr .75fr}.avatar{width:27px;height:27px}.player-cell{gap:8px}.power-cell{font-size:13px}.steps{grid-template-columns:1fr;gap:20px}.steps article{min-height:110px}.steps p{max-width:270px}.step-icon{font-size:20px}.steps h3{margin-top:12px}.footer-brand{font-size:9px}footer a:last-child{font-size:8px}}

.legal-consent{display:flex;align-items:flex-start;gap:10px;margin:9px 0 16px;color:#a4ab9a;font-size:10px;line-height:1.6;cursor:pointer}.legal-consent input{flex:none;margin:2px 0 0;accent-color:#c7f36b}.legal-consent a{color:var(--lime);text-underline-offset:2px}.footer-legal{display:flex;gap:16px}.footer-legal a{color:#aab09f;text-decoration:none;font:9px var(--mono);letter-spacing:.07em}.footer-legal a:hover{color:var(--lime)}@media(max-width:600px){.footer-legal{order:3;width:100%;padding-top:12px;border-top:1px solid #ffffff12}}

/* PowerBound visual refresh */
.is-hidden { display: none !important; }
:root {
  --bg: #0b0e0b;
  --panel: #111611;
  --panel2: #171d15;
  --line: #2a3427;
  --muted: #969f8e;
  --cream: #f3f5ed;
  --lime: #c7f36b;
  --lime2: #a6d84f;
}
body {
  background:
    radial-gradient(ellipse at 80% 13%, #24331a38 0, transparent 35rem),
    radial-gradient(ellipse at 10% 52%, #17251b4a 0, transparent 38rem),
    var(--bg);
}
.topbar, main, footer { max-width: 1320px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 78px;
  background: #0b0e0beF;
  backdrop-filter: blur(16px);
  border-bottom-color: #c7f36b20;
}
.brand { gap: 13px; font-size: 13px; letter-spacing: .12em; }
.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  flex: none;
  overflow: visible;
  border: 0;
  letter-spacing: normal;
  transition: filter .2s, transform .2s;
}
.brand:hover .brand-mark { filter: drop-shadow(0 0 9px #c7f36b70); transform: translateY(-1px); }
.mark-shell { fill: #151b12; stroke: var(--lime); stroke-width: 1.5; }
.mark-letter { fill: var(--lime); font: 700 16px 'Space Grotesk', Arial, sans-serif; letter-spacing: -1.5px; }
.mark-spark { fill: var(--cream); }
.brand-sub { font-size: 8px; letter-spacing: .18em; }
.discord-button { border-radius: 5px; border-color: #43503a; padding: 12px 17px; }
.discord-button:hover { background: #c7f36b12; }
.hero {
  min-height: 610px;
  padding-top: 105px;
  padding-bottom: 88px;
  border-bottom-color: #c7f36b20;
  background: linear-gradient(110deg, #11171138, transparent 60%);
}
.hero::before {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(#d3f8a308 1px, transparent 1px), linear-gradient(90deg, #d3f8a308 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, black, transparent 83%);
}
.hero-copy { z-index: 1; }
.eyebrow { letter-spacing: .14em; font-size: 9px; }
.hero h1 { font-size: clamp(64px, 8vw, 108px); line-height: .88; letter-spacing: -.085em; margin-top: 36px; }
.hero h1 > span { color: var(--lime); text-shadow: 0 0 36px #c7f36b20; }
.hero-text { max-width: 430px; font-size: 15px; line-height: 1.8; color: #b1b9a9; }
.primary-button { box-shadow: 0 8px 28px #9dd84d22; border-radius: 3px; }
.primary-button:hover { box-shadow: 0 10px 35px #9dd84d36; }
.hero-art { min-height: 400px; }
.orbit-one { width: 270px; height: 270px; border-color: #c7f36b45; }
.orbit-two { width: 390px; height: 390px; border-color: #c7f36b25; }
.orbit-three { width: 500px; height: 500px; border-color: #ffffff10; }
.power-core {
  width: 224px;
  height: 224px;
  border-color: #c7f36b80;
  background: radial-gradient(circle at 50% 36%, #29351c, #121710 70%);
  box-shadow: 0 0 85px #a1d34624, inset 0 0 42px #a1d34610;
}
.core-value { text-shadow: 0 0 30px #c7f36b65; }
.float-tag { border-color: #46523b; background: #111711eF; border-radius: 3px; }
.tag-top { right: 10px; }
.tag-bottom { left: 8px; }
.stats {
  height: 132px;
  border-bottom-color: #c7f36b20;
  gap: 0;
}
.stats > div:not(.stats-mark) { padding: 10px 27px; border-left: 1px solid #ffffff13; }
.stats > div:nth-child(1) { border-left: 0; padding-left: 0; }
.stat-label { letter-spacing: .14em; }
.stats strong { font-size: 26px; }
.stats-mark { width: 46px; height: 46px; color: var(--lime); }
.stats-mark svg { display: block; width: 100%; height: 100%; }
.stats-mark svg path:first-child { fill: #151b12; stroke: var(--lime); stroke-width: 1.5; }
.stats-mark svg path:last-child { fill: var(--cream); }
.stats-mark svg text { fill: var(--lime); font: 700 16px 'Space Grotesk', Arial, sans-serif; letter-spacing: -1.5px; }
.rankings { padding-top: 100px; }
.section-heading { margin-bottom: 28px; }
.section-heading h2 { font-size: 49px; letter-spacing: -.065em; }
.table-wrap { border-color: #34402e; border-radius: 5px; overflow: hidden; background: #0f130fbb; box-shadow: 0 20px 60px #00000025; }
.table-head { background: #171e15; color: #a5b095; letter-spacing: .13em; }
.record-row { transition: background .18s; }
.record-row:hover { background: #c7f36b08; }
.avatar { border: 1px solid #50613c; background: #20291b; }
.power-cell { font-size: 16px; }
.verified { letter-spacing: .1em; }
.empty-state { min-height: 230px; }
.how {
  margin: 0 24px 65px;
  padding: 66px 54px;
  border: 1px solid #34402e;
  border-radius: 5px;
  background: linear-gradient(125deg, #171e15, #101410 72%);
}
.steps article { border-top-color: #536048; }
.steps p { color: #a6ae9c; }
footer { min-height: 112px; border-top-color: #c7f36b20; }
footer .brand-mark { width: 38px; height: 38px; }
dialog { border-radius: 8px; box-shadow: 0 24px 90px #0009; }
.upload-box { min-height: 96px; height: auto; border-radius: 3px; }
#record-form > input, .code-input-wrap input { border-radius: 3px; }
#record-form > select { width: 100%; height: 43px; margin: 0 0 18px; padding: 0 12px; border: 1px solid #34392f; border-radius: 3px; background: #10120f; color: var(--cream); font: 11px var(--body); }
.player-guild { display: block; margin-top: 3px; color: var(--lime); font: 8px var(--mono); letter-spacing: .07em; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
@media (max-width: 780px) {
  .topbar { height: 72px; }
  .hero { padding-top: 70px; }
  .hero h1 { font-size: clamp(58px, 13vw, 88px); }
  .hero-art { min-height: 340px; }
  .orbit-three { width: 390px; height: 390px; }
  .stats > div:not(.stats-mark) { padding: 8px 15px; }
  .rankings { padding-top: 70px; }
  .section-heading h2 { font-size: 37px; }
  .how { margin: 0 12px 38px; padding: 45px 24px; }
}
@media (max-width: 430px) {
  .brand-mark { width: 36px; height: 36px; }
  .brand { gap: 9px; font-size: 11px; }
  .brand-sub { font-size: 7px; }
  .hero h1 { letter-spacing: -.08em; }
  .stats > div:not(.stats-mark) { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Theme control and light theme */
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  color: var(--cream);
  font: 9px var(--mono);
  letter-spacing: .06em;
  transition: border-color .2s, color .2s, background .2s;
}
.theme-toggle:hover { border-color: var(--lime); color: var(--lime); }
#theme-glyph { font: 16px var(--body); line-height: 1; }
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7f0;
  --panel: #ffffff;
  --panel2: #edf1e6;
  --line: #d7dfce;
  --muted: #68725f;
  --cream: #182016;
  --lime: #547c19;
  --lime2: #416210;
}
html[data-theme="light"] body {
  background: radial-gradient(ellipse at 80% 13%, #dcebcf9c 0, transparent 35rem), radial-gradient(ellipse at 10% 52%, #e4eee2b5 0, transparent 38rem), var(--bg);
  color: var(--cream);
}
html[data-theme="light"] .grain { opacity: .018; }
html[data-theme="light"] .topbar { background: #f5f7f0f2; border-bottom-color: #6a8c3b40; }
html[data-theme="light"] .hero { background: linear-gradient(110deg, #eaf1e088, transparent 65%); border-bottom-color: #6a8c3b40; }
html[data-theme="light"] .hero::before { opacity: .42; background-image: linear-gradient(#48652b0b 1px, transparent 1px), linear-gradient(90deg, #48652b0b 1px, transparent 1px); }
html[data-theme="light"] .hero-text { color: #56614f; }
html[data-theme="light"] .hero-note { color: #68725f; }
html[data-theme="light"] .note-divider { color: #aab49f; }
html[data-theme="light"] .hero h1 > span { text-shadow: none; }
html[data-theme="light"] .mark-shell { fill: #f8fbf3; }
html[data-theme="light"] .orbit-one { border-color: #547c1945; }
html[data-theme="light"] .orbit-two { border-color: #547c192b; }
html[data-theme="light"] .orbit-three { border-color: #26341c18; }
html[data-theme="light"] .power-core { border-color: #547c1970; background: radial-gradient(circle at 50% 36%, #e8f2db, #f8faf5 72%); box-shadow: 0 0 85px #84ad4a24, inset 0 0 42px #84ad4a10; }
html[data-theme="light"] .core-kicker, html[data-theme="light"] .core-label { color: #657157; }
html[data-theme="light"] .core-value { text-shadow: 0 0 25px #8aaf5550; }
html[data-theme="light"] .core-rule { background: var(--lime); }
html[data-theme="light"] .float-tag { border-color: #c6d2b8; background: #fbfcf8ed; color: #5e6954; }
html[data-theme="light"] .art-coordinates { color: #707d63; }
html[data-theme="light"] .stats { border-bottom-color: #6a8c3b40; }
html[data-theme="light"] .stats > div:not(.stats-mark) { border-left-color: #22321a1a; }
html[data-theme="light"] .stat-label { color: #68745e; }
html[data-theme="light"] .stats-mark svg path:first-child { fill: #f8fbf3; }
html[data-theme="light"] .table-wrap { background: #ffffffd9; border-color: #d2dcc7; box-shadow: 0 20px 60px #2434140c; }
html[data-theme="light"] .table-head { background: #edf3e6; color: #66735a; border-bottom-color: #d7dfce; }
html[data-theme="light"] .record-row { border-bottom-color: #e6ebdf; }
html[data-theme="light"] .record-row:hover { background: #547c190a; }
html[data-theme="light"] .rank-no, html[data-theme="light"] .record-date, html[data-theme="light"] .player-discord { color: #68725f; }
html[data-theme="light"] .avatar { background: #e8efdd; border-color: #c7d4b4; }
html[data-theme="light"] .table-foot { color: #68725f; }
html[data-theme="light"] .how { background: linear-gradient(125deg, #edf3e6, #f8faf5 75%); border-color: #d3ddc8; }
html[data-theme="light"] .steps article { border-top-color: #b5c3a7; }
html[data-theme="light"] .step-no, html[data-theme="light"] .steps p { color: #5f6b56; }
html[data-theme="light"] footer { border-top-color: #d7dfce; color: #68725f; }
html[data-theme="light"] footer a:last-child { color: #4f5b45; }
html[data-theme="light"] .discord-button { border-color: #bac8ad; }
html[data-theme="light"] .discord-button:hover { background: #547c1910; }
html[data-theme="light"] .theme-toggle { background: #ffffffb8; }
html[data-theme="light"] .theme-toggle:hover { background: #eff5e8; }
html[data-theme="light"] dialog { background: #fbfcf8; border-color: #c9d4bd; box-shadow: 0 24px 90px #26341c30; }
html[data-theme="light"] .modal-close { background: #edf2e7; border-color: #cbd6c0; }
html[data-theme="light"] .auth-status { background: #eff4e9; border-color: #d5dfcb; color: #5e6954; }
html[data-theme="light"] #record-form > label:not(.upload-box) { color: #394632; }
html[data-theme="light"] #record-form > label span { color: #6e7964; }
html[data-theme="light"] #record-form > input, html[data-theme="light"] #record-form > select, html[data-theme="light"] .code-input-wrap input { background: #fff; border-color: #cbd5c1; color: #26321f; }
html[data-theme="light"] .player-guild { color: #547c19; }
html[data-theme="light"] .upload-box { background: #f1f5eb; border-color: #b9c8aa; color: #58634e; }
html[data-theme="light"] .upload-box:hover { border-color: var(--lime); background: #edf4e3; }
html[data-theme="light"] .upload-box small, html[data-theme="light"] .form-hint, html[data-theme="light"] .privacy-copy { color: #69745f; }
html[data-theme="light"] .upload-icon { border-color: #bdcbaa; }
html[data-theme="light"] .secondary-button { background: #eaf0e2; border-color: #c5d2b7; color: #283321; }
html[data-theme="light"] .secondary-button:hover { background: #e1ebd4; }
html[data-theme="light"] .legal-consent { color: #56614f; }
html[data-theme="light"] .privacy-copy { border-top-color: #dfe6d8; }
html[data-theme="light"] .dragging .upload-box { background: #e6efd9; }
@media (max-width: 780px) {
  .header-actions { gap: 7px; }
  .theme-toggle { min-height: 38px; padding: 0 9px; }
}
@media (max-width: 430px) {
  .header-actions { gap: 5px; }
  .theme-toggle { width: 38px; padding: 0; }
  #theme-label { display: none; }
}

/* Admin-only export and proof review */
.admin-panel {
  margin: 0 48px 72px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(125deg, var(--panel), #111611b8);
}
.admin-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.admin-panel-heading h2 { margin: 13px 0 0; font: 600 30px/.98 var(--display); letter-spacing: -.055em; }
.admin-panel-heading .primary-button { white-space: nowrap; }
.admin-status { margin: 17px 0 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.admin-records { border-top: 1px solid var(--line); }
.admin-record { min-height: 62px; display: flex; justify-content: space-between; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.admin-record > div { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.admin-record strong { color: var(--cream); font: 600 13px var(--display); }
.admin-record span { color: var(--muted); font: 10px var(--mono); }
.admin-record .secondary-button { flex: none; }
.admin-empty { padding: 20px 0; color: var(--muted); font-size: 11px; }
.proof-dialog { width: min(1100px, calc(100vw - 28px)); max-height: 94vh; padding: 0; border-radius: 8px; }
.proof-content { padding: 26px; }
.proof-content p { margin: 0 42px 17px 0; color: var(--muted); font: 10px var(--mono); letter-spacing: .06em; }
.proof-content img { display: block; max-width: 100%; max-height: 78vh; margin: auto; object-fit: contain; }
html[data-theme="light"] .admin-panel { background: linear-gradient(125deg, #edf3e6, #fbfcf8); }
html[data-theme="light"] .admin-record { border-color: #d7dfce; }
html[data-theme="light"] .proof-dialog { background: #fbfcf8; border-color: #c9d4bd; }
@media (max-width: 780px) {
  .admin-panel { margin: 0 22px 54px; padding: 22px; }
}
@media (max-width: 500px) {
  .admin-panel { margin: 0 12px 42px; padding: 17px; }
  .admin-panel-heading { align-items: start; flex-direction: column; }
  .admin-panel-heading h2 { font-size: 27px; }
  .admin-record { align-items: start; flex-direction: column; padding: 13px 0; }
  .admin-record .secondary-button { align-self: stretch; }
  .proof-content { padding: 20px 14px; }
}
