:root {
  --heat-cool: #c9c3b7;
  --heat-warm: #ffb057;
  --heat-hot: #ff5a1f;
  --heat-now: #ff3b2f;
  --sky-0: #03050a;
  --sky-1: #080c14;
  --sky-2: #121722;
  --ground: #07080b;
  --band: #0c0d11;
  --panel: #101218;
  --panel-2: #16181e;
  --ink: #ede7db;
  --ink-2: #c9c3b7;
  --muted: #8d8a83;
  --faint: #5b5952;
  --rule: rgba(237, 231, 219, 0.12);
  --rule-2: rgba(237, 231, 219, 0.28);
  --sun: #ff7a18;
  --sun-hi: #ff8c36;
  --ring: #ffb057;
  --moon: #ffe27a;
  --ok: #6fcf8e;
  --bad: #ff6b5e;
  --discord: #5865f2;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --top-h: 76px;
  --display: "Big Shoulders Display", "Barlow Condensed", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
p a:not(.btn), .prose a, dd a, td a.inline { color: var(--ring); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p a:hover, .prose a:hover { color: var(--moon); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
code, kbd { font-family: var(--mono); font-size: .92em; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
::selection { background: var(--sun); color: #160a02; }

.shell { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: #160a02; padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }
.i { width: 18px; height: 18px; flex: none; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

h1, h2, h3 { text-wrap: balance; font-family: var(--display); text-transform: uppercase; margin: 0; line-height: .95; letter-spacing: .01em; }
h2 { font-weight: 800; font-size: clamp(32px, 3.6vw, 44px); }
h3 { font-weight: 700; font-size: 24px; letter-spacing: .02em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 20px;
  border-radius: 3px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; letter-spacing: .01em; white-space: nowrap;
  background: transparent;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, opacity 160ms ease;
}
.btn:disabled { opacity: .5; cursor: default; }
.btn-sun { background: var(--sun); color: #160a02; }
.btn-sun:hover:not(:disabled) { background: var(--sun-hi); }
.btn-line { border-color: var(--rule-2); color: var(--ink); }
.btn-line:hover:not(:disabled) { border-color: var(--ink); }
.btn-ghost { color: var(--ink-2); padding: 0 12px; }
.btn-ghost:hover { color: var(--ink); background: rgba(237, 231, 219, .06); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 26px; }
.btn-discord { background: rgba(3, 5, 10, .55); border-color: var(--rule-2); color: var(--ink); height: 56px; padding: 0 24px; font-size: 18px; }
.btn-discord .i { color: var(--ring); }
.hero-discord .i { color: #fff; }
.btn-discord:hover { border-color: var(--ring); }
.btn-discord .i { width: 24px; height: 24px; }
.btn .spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; color: var(--ink-2); border-radius: 3px; }
.icon-btn:hover { color: var(--ink); background: rgba(237, 231, 219, .06); }
.icon-btn .i { width: 20px; height: 20px; }

.top { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background-color 200ms ease, border-color 200ms ease; border-bottom: 1px solid transparent; }
.top.solid, body:not(.has-hero) .top { background: rgba(3, 5, 10, .94); border-bottom-color: var(--rule); }
.top-in { display: flex; align-items: center; gap: 40px; height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand svg { width: 32px; height: 32px; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.nav { display: flex; gap: 28px; }
.nav a { font-weight: 500; font-size: 16px; color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; transition: color 160ms ease, border-color 160ms ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-color: var(--sun); }
.acct { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.acct .btn { height: 40px; padding: 0 16px; font-size: 15px; background: rgba(3, 5, 10, .7); }
.acct-user { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px 0 4px; border: 1px solid var(--rule-2); border-radius: 3px; font-weight: 600; font-size: 15px; max-width: 220px; }
.acct-user img { width: 30px; height: 30px; border-radius: 2px; }
.acct-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-link { position: relative; }
.cart-link b { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sun); color: #160a02; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.menu-btn { display: none; }

.page-head { position: relative; padding: calc(var(--top-h) + 40px) 0 36px; background: linear-gradient(180deg, var(--sky-0), var(--sky-1)); border-bottom: 1px solid var(--rule); overflow: hidden; }
.page-head .stars { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, #000 55%); mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, #000 55%); }
.page-head .shell { position: relative; }
.page-head h1 { font-weight: 900; font-size: clamp(40px, 5vw, 64px); line-height: .92; }
.page-head .sub { margin: 16px 0 0; color: var(--ink-2); max-width: 60ch; }
.crumbs { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 40px; }
.crumbs a:hover { color: var(--ink); }

.sec { padding: 96px 0; }
.sec-tight { padding: 56px 0 96px; }
.sec-band { background: var(--band); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head p { margin: 0; color: var(--muted); font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ring); }
.link-arrow:hover { color: var(--moon); }
.link-arrow .i { width: 16px; height: 16px; transition: transform 160ms var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

.has-hero .top:not(.solid) :is(.menu-btn, .acct .btn, .acct-user) { background: rgba(3, 5, 10, .7); }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: max(620px, 100svh); background: linear-gradient(180deg, var(--sky-0) 0%, var(--sky-1) 62%, #0b0f18 100%); }
.hero canvas { position: absolute; top: -24px; left: -24px; width: calc(100% + 48px); height: calc(100% + 48px); display: block; pointer-events: none; }
.hero .hero-sun { z-index: 0; }
.hero .hero-far, .hero .hero-near { z-index: 1; }
.hero::after { content: ""; position: absolute; left: -8%; right: -8%; bottom: -1px; z-index: 1; height: clamp(56px, 11vh, 110px); background: var(--ground); border-radius: 50% 50% 0 0 / 100% 100% 0 0; pointer-events: none; }
.hero::before { content: ""; position: absolute; left: -8%; right: -8%; bottom: -1px; z-index: 2; height: clamp(56px, 11vh, 110px); border-radius: 50% 50% 0 0 / 100% 100% 0 0; box-shadow: inset 0 1px 0 rgba(255, 176, 87, .6); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 85%); mask-image: linear-gradient(90deg, transparent 30%, #000 85%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero canvas { will-change: transform; }
  @supports (animation-timeline: scroll()) {
    .hero .hero-sun { animation: hero-drift-sun linear both; animation-timeline: scroll(root); animation-range: 0 1200px; }
    .hero .hero-near { animation: hero-drift-near linear both; animation-timeline: scroll(root); animation-range: 0 1200px; }
    .hero .hero-far { animation: hero-drift-far linear both; animation-timeline: scroll(root); animation-range: 0 1200px; }
  }
}
@keyframes hero-drift-sun { to { translate: 0 120px; } }
@keyframes hero-drift-near { to { translate: 0 264px; } }
@keyframes hero-drift-far { to { translate: 0 360px; } }
.hero-in { position: relative; z-index: 2; min-height: inherit; display: flex; align-items: center; padding: var(--top-h) 0 40px; }
.hero h1 { font-weight: 900; font-size: clamp(64px, 9.4vw, 152px); line-height: .88; white-space: nowrap; margin: 0 0 20px; }
.slogan { margin: 0 0 32px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; z-index: 2; width: 1px; height: 46px; background: linear-gradient(var(--rule-2), transparent); }

.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; align-items: start; }
.about-text p { margin: 0 0 18px; color: var(--ink-2); max-width: 62ch; }
.about-text p:last-of-type { margin-bottom: 0; }
.jump { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--rule); }
.jump a { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); transition: color 160ms ease; }
.jump a + a { padding-left: 16px; border-left: 1px solid var(--rule); }
.jump b { font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: .02em; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.jump span { font-size: 14px; color: var(--muted); }
.jump a:hover b { color: var(--ring); }
.jump .i { width: 16px; height: 16px; color: var(--faint); transition: transform 160ms var(--ease), color 160ms ease; }
.jump a:hover .i { color: var(--ring); transform: translateX(3px); }

.ranks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.ranks::before { content: ""; position: absolute; left: 0; right: 0; top: 47px; height: 1px; background: var(--rule-2); }
.rank { position: relative; padding: 0 22px 0 0; }
.rank-hrs { display: block; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .06em; color: var(--muted); line-height: 1; height: 30px; }
.rank-dot { display: block; width: 11px; height: 11px; margin: 0 0 24px; border-radius: 50%; background: var(--sky-1); border: 2px solid var(--ink-2); position: relative; z-index: 1; }
.rank:last-child .rank-dot { background: var(--moon); border-color: var(--moon); }
.rank h3 { font-size: 30px; margin: 0 0 12px; }
.rank:last-child h3 { color: var(--moon); }
.rank ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.rank code { color: var(--ring); font-size: 14px; }
.ranks-note { margin: 36px 0 0; font-size: 15px; color: var(--muted); }

.discord-line { padding: 80px 0; border-top: 1px solid var(--rule); }
.discord-line .shell { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.discord-line p { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.02; text-transform: uppercase; letter-spacing: .01em; max-width: 24ch; }


.tbl-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; background: linear-gradient(90deg, var(--ground) 30%, transparent) left / 40px 100% no-repeat local, linear-gradient(270deg, var(--ground) 30%, transparent) right / 40px 100% no-repeat local, radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.6), transparent) left / 14px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.6), transparent) right / 14px 100% no-repeat scroll; }
.sec-band .tbl-wrap { background: linear-gradient(90deg, var(--band) 30%, transparent) left / 40px 100% no-repeat local, linear-gradient(270deg, var(--band) 30%, transparent) right / 40px 100% no-repeat local, radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.6), transparent) left / 14px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.6), transparent) right / 14px 100% no-repeat scroll; }
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 500; font-size: 14px; color: var(--muted); padding: 0 14px 12px; border-bottom: 1px solid var(--rule-2); white-space: nowrap; }
.tbl th button { background: none; border: 0; padding: 0; color: inherit; font-weight: inherit; display: inline-flex; gap: 6px; align-items: center; }
.tbl th button:hover, .tbl th button[aria-sort] { color: var(--ink); }
.tbl th button[aria-sort="descending"]::after { content: ""; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; }
.tbl th button[aria-sort="ascending"]::after { content: ""; border: 4px solid transparent; border-bottom-color: currentColor; margin-bottom: 4px; }
.tbl td { padding: 14px; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.tbl .n { text-align: right; }
.tbl tbody tr { transition: background-color 120ms ease; }
.tbl tbody tr[data-player] { cursor: pointer; }
.tbl tbody tr[data-player]:hover { background: rgba(237, 231, 219, .03); }
.tbl .rank-n { width: 48px; color: var(--muted); font-family: var(--mono); font-size: 14px; }
.tbl .rank-n.rk-top { font-weight: 700; color: var(--ring); }
.tbl .rank-n.rk-1 { color: var(--moon); }
.who { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; min-width: 0; }
.who img, .who .av { width: 32px; height: 32px; border-radius: 2px; flex: none; background: var(--panel-2); }
.who .av { display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--muted); }
.who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty { padding: 40px 14px !important; }
.empty b { display: block; font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); line-height: 1; margin-bottom: 6px; }

.seg { display: inline-flex; border: 1px solid var(--rule-2); border-radius: 3px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; color: var(--ink-2); font-weight: 600; font-size: 15px; height: 36px; padding: 0 14px; border-radius: 2px; display: inline-flex; align-items: center; gap: 8px; transition: background-color 140ms ease, color 140ms ease; }
.seg button small { font-weight: 500; font-size: 13px; color: var(--muted); }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--ink); color: var(--sky-0); }
.seg button[aria-selected="true"] small { color: #4a4740; }

.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; color: var(--muted); font-weight: 500; }
.input, .select { height: 44px; padding: 0 14px; border: 1px solid var(--rule-2); border-radius: 3px; background: var(--sky-0); color: var(--ink); width: 100%; }
.input:focus, .select:focus { outline: none; border-color: var(--ring); }
.input::placeholder { color: var(--faint); }
.search { position: relative; }
.search .input { padding-left: 40px; }
.search .i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--faint); }

.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.status.up i { background: var(--ok); }
.status.up { color: var(--ok); }
.status.soon { color: var(--moon); }
.status.soon i { background: var(--moon); }
.status.down { color: var(--bad); }
.status.down i { background: var(--bad); }

.connect { display: flex; align-items: center; gap: 0; border: 1px solid var(--rule-2); border-radius: 3px; height: 46px; max-width: 100%; }
.connect code { padding: 0 16px; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.connect code span { color: var(--muted); }
.connect button { height: 100%; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border: 0; border-left: 1px solid var(--rule-2); background: none; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.connect button:hover { color: var(--ink); background: rgba(237, 231, 219, .05); }
.connect button .i { width: 15px; height: 15px; }

.srv-list { display: grid; gap: 16px; }
.srv-card { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .8fr)) auto; align-items: center; gap: 20px 28px; padding: 24px 28px; background: var(--panel); border: 1px solid var(--rule); border-radius: 3px; transition: border-color 160ms ease; }
.srv-card:hover { border-color: var(--rule-2); }
.srv-card h2 { font-size: 34px; }
.srv-card h2 a:hover { color: var(--ring); }
.srv-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag { font-size: 13px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--rule); border-radius: 2px; padding: 2px 8px; }
.kv-mini { display: grid; gap: 2px; }
.kv-mini span { font-size: 13px; color: var(--muted); }
.kv-mini b { font-weight: 600; font-variant-numeric: tabular-nums; }

.srv-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.srv-meta { display: flex; gap: 10px 28px; flex-wrap: wrap; margin-top: 18px; color: var(--ink-2); font-size: 15px; }
.srv-meta b { color: var(--ink); font-weight: 600; }
.srv-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: end; min-width: 0; }
.srv-hero > * { min-width: 0; }

.next-wipe { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding: 28px 32px; border: 1px solid var(--rule-2); border-radius: 3px; background: var(--panel); position: relative; overflow: hidden; }
.next-wipe { --heat: var(--heat-cool); }
.next-wipe[data-heat="warm"] { --heat: var(--heat-warm); border-color: rgba(255, 176, 87, .5); }
.next-wipe[data-heat="hot"] { --heat: var(--heat-hot); border-color: var(--heat-hot); background: #1a0f0b; }
.next-wipe[data-heat="now"] { --heat: var(--heat-now); border-color: var(--heat-now); background: #1f0b0a; }
.nw-label { font-size: 14px; font-weight: 600; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.nw-label .pill { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; background: var(--panel-2); color: var(--ink-2); }
.next-wipe:not([data-heat="cool"]) .pill { background: var(--heat); color: #160a02; }
.nw-when { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.4vw, 54px); text-transform: uppercase; line-height: 1; margin: 8px 0 0; }
.nw-local { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.connect-help { margin: 0; font-size: 14px; color: var(--muted); }
.nw-count { font-family: var(--mono); font-size: clamp(22px, 2.6vw, 32px); font-variant-numeric: tabular-nums; color: var(--heat); text-align: right; white-space: nowrap; }
.next-wipe[data-heat="cool"] .nw-count { color: var(--ink); }
.nw-bar { grid-column: 1 / -1; height: 4px; background: var(--panel-2); border-radius: 2px; overflow: hidden; }
.nw-bar i { display: block; height: 100%; width: 0; background: var(--heat); transition: width 600ms var(--ease); }
.next-wipe[data-heat="now"] .nw-bar i { animation: none; }
.cal { margin-top: 28px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.cal-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend i { width: 10px; height: 10px; border-radius: 2px; }
.cal-legend .k-map { background: var(--heat-warm); }
.cal-legend .k-force { background: var(--moon); }
.cal-legend .k-today { border: 1px solid var(--ink); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { font-size: 13px; font-weight: 600; color: var(--muted); padding: 0 10px 6px; }
.cal-day { position: relative; min-height: 84px; padding: 9px 10px; background: var(--panel); border-radius: 2px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; border: 1px solid transparent; }
.cal-day .d { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.cal-day.past { opacity: .55; }
.cal-day.today { border-color: var(--ink); }
.cal-day.today .d { color: var(--ink); }
.cal-day.map { background: rgba(255, 176, 87, .08); }
.cal-day.force { background: rgba(255, 226, 122, .14); }
.cal-day .w { font-family: var(--mono); font-size: 13px; font-weight: 500; line-height: 1.2; color: var(--ink-2); }
.cal-day.map .w { color: var(--heat-warm); }
.cal-day.force .w { color: var(--moon); }
.cal-day.next { box-shadow: inset 0 0 0 2px var(--heat, var(--heat-warm)); }
.cal-day.next[data-heat="cool"] { --heat: var(--heat-warm); }
.cal-day.next[data-heat="warm"] { --heat: var(--heat-warm); background: rgba(255, 176, 87, .18); }
.cal-day.next[data-heat="hot"] { --heat: var(--heat-hot); background: rgba(255, 90, 31, .22); }
.cal-day.next[data-heat="now"] { --heat: var(--heat-now); background: rgba(255, 59, 47, .26); }
.cal-day.next .w { color: var(--heat); }
.cal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cal-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--rule); }
.kv div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.kv div:nth-child(odd) { padding-right: 24px; }
.kv div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 180ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--ring); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 66ch; }

.rules-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; align-items: start; }
.rules-nav { position: sticky; top: calc(var(--top-h) + 24px); display: grid; gap: 2px; }
.rules-nav a { padding: 8px 12px; border-left: 2px solid var(--rule); color: var(--ink-2); font-weight: 500; }
.rules-nav a:hover { color: var(--ink); border-color: var(--sun); }
.rule-group { margin-bottom: 56px; }
.rule-group h2 { font-size: 34px; margin-bottom: 16px; }
.rule-group > p { color: var(--muted); margin: -6px 0 18px; font-size: 15px; }
.rule-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.rule-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.rule-id { font-family: var(--mono); font-size: 14px; color: var(--ring); padding-top: 2px; }
.rule-list b { font-weight: 600; font-size: 17px; }
.rule-list p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.member { display: flex; align-items: center; gap: 14px; padding: 14px; background: linear-gradient(90deg, color-mix(in srgb, var(--role, var(--ring)) 10%, var(--panel)), var(--panel) 60%); border: 1px solid color-mix(in srgb, var(--role, var(--ring)) 28%, transparent); border-radius: 3px; }
.member img { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--panel-2); object-fit: cover; box-shadow: 0 0 0 2px var(--role, var(--ring)); }
.member b { display: block; font-weight: 600; font-size: 17px; }
.member .role { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--role, var(--ring)); }
.member .since { display: inline-block; margin-top: 6px; padding: 2px 8px; border: 1px solid var(--rule-2); border-radius: 2px; font-size: 12px; color: var(--ink-2); }
.faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; align-items: start; }
.faq-cols > div > details:first-child { border-top: 1px solid var(--rule); }
@media (max-width: 900px) { .faq-cols { grid-template-columns: minmax(0, 1fr); } .faq-cols > div + div > details:first-child { border-top: 0; } }

.prose { max-width: 74ch; color: var(--ink-2); }
.prose h2 { font-size: 30px; color: var(--ink); margin: 48px 0 14px; }
.prose h3 { font-size: 22px; color: var(--ink); margin: 28px 0 10px; }
.prose p, .prose li { line-height: 1.65; }
.prose ul, .prose ol { padding-left: 22px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.prose th { color: var(--ink); font-weight: 600; }
.prose strong { color: var(--ink); }

.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(3, 5, 10, .78); animation: fade 160ms ease; }
.modal-box { position: relative; width: min(640px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: var(--sky-1); border: 1px solid var(--rule-2); border-radius: 3px; padding: 28px; animation: rise 220ms var(--ease); }
.modal-box.wide { width: min(900px, 100%); }
.modal-x { position: sticky; top: -16px; float: right; margin: -16px -16px 0 8px; z-index: 3; background: var(--sky-1); }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(440px, 100%); background: var(--sky-1); border-left: 1px solid var(--rule-2); display: flex; flex-direction: column; animation: slide 240ms var(--ease); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--rule); }
.drawer-head h2 { font-size: 34px; }
.drawer-body { flex: 1; overflow: auto; padding: 18px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--rule); }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(3, 5, 10, .6); animation: fade 160ms ease; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--sky-0); font-weight: 600; font-size: 15px; padding: 12px 18px; border-radius: 3px; width: max-content; max-width: calc(100% - 32px); transition: opacity 180ms ease, transform 220ms var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.sk { position: relative; overflow: hidden; background: var(--panel-2); border-radius: 2px; color: transparent !important; }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(237, 231, 219, .06), transparent); animation: shimmer 1.4s ease-in-out infinite; }
.sk-line { display: block; height: 14px; width: 70%; }
.sk-line.short { width: 40%; }
.sk-av { width: 32px; height: 32px; flex: none; }
.acct-sk { display: inline-block; width: 128px; height: 40px; border-radius: 3px; }
.nw-when.sk { width: min(360px, 80%); }
.nw-count.sk { min-width: 11ch; }
[data-players].sk { display: inline-block; min-width: 4.5ch; height: 1em; vertical-align: -2px; }
.cal-day.sk { border-color: transparent; }
.cal-dow .sk-line { margin: 4px 0 6px; }
.js .acct [data-signin] { visibility: hidden; animation: show-late 0s 4s forwards; }
@keyframes show-late { to { visibility: visible; } }
.loader { display: inline-flex; gap: 5px; align-items: center; color: var(--muted); font-size: 15px; }
.loader i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: dot 1s ease-in-out infinite; }
.loader i:nth-child(2) { animation-delay: .15s; }
.loader i:nth-child(3) { animation-delay: .3s; }

.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes dot { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes slide { from { transform: translateX(100%); } }

@media (max-width: 1100px) {
  .top-in { gap: 28px; }
  .nav { gap: 20px; }
  .srv-card { grid-template-columns: minmax(0, 1fr) repeat(3, auto); }
  .srv-card > .btn { grid-column: 1 / -1; justify-self: start; }
  .about, .split { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --top-h: 64px; }
  .nav, .acct .signin-label { display: none; }
  .acct-sk { width: 48px; }
  .menu-btn { display: inline-grid; margin-right: -8px; }
  .top.open, body:not(.has-hero) .top.open { background: var(--sky-0); border-bottom-color: var(--rule); }
  .top.open .top-in { flex-wrap: wrap; height: auto; min-height: var(--top-h); padding-top: 12px; padding-bottom: 16px; row-gap: 8px; }
  .top.open .nav { display: flex; order: 3; flex-direction: column; gap: 0; width: 100%; }
  .top.open .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 18px; }
  .acct { gap: 4px; }
  .ranks { grid-template-columns: 1fr; gap: 0; padding-left: 26px; }
  .ranks::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .rank { padding: 0 0 28px; }
  .rank-hrs { position: absolute; right: 0; top: 2px; height: auto; }
  .rank-dot { position: absolute; left: -26px; top: 8px; margin: 0; }
  .rank h3 { font-size: 26px; margin-bottom: 8px; padding-right: 70px; }
  .jump { grid-template-columns: 1fr 1fr; }
  .jump a:nth-child(3) { padding-left: 0; border-left: 0; }
  .discord-line .shell { flex-direction: column; align-items: flex-start; }
  .rules-layout { grid-template-columns: 1fr; gap: 24px; }
  .rules-nav { position: static; display: flex; overflow-x: auto; gap: 0; }
  .rules-nav a { border-left: 0; border-bottom: 2px solid var(--rule); white-space: nowrap; }
  .srv-hero { grid-template-columns: 1fr; }
  .srv-actions { justify-items: start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand svg { width: 28px; height: 28px; }
  .brand span { font-size: 21px; }
  .hero { min-height: 0; }
  .hero-in { display: block; min-height: 0; padding: calc(var(--top-h) + 92vw) 0 48px; }
  .hero h1 { font-size: 19vw; margin-bottom: 14px; }
  .slogan { margin-bottom: 28px; }
  .actions .btn { flex: 1; padding: 0 12px; }
  .hero-scroll { display: none; }
  .page-head { padding: calc(var(--top-h) + 36px) 0 32px; }
  .sec { padding: 64px 0; }
  .sec-tight { padding: 32px 0 64px; }
  .sec-head { margin-bottom: 24px; }
  .discord-line { padding: 56px 0; }
  .btn-discord { width: 100%; }
  .srv-card { grid-template-columns: 1fr 1fr; padding: 20px; }
  .srv-card > :first-child { grid-column: 1 / -1; }
  .next-wipe { grid-template-columns: 1fr; padding: 22px; }
  .nw-count { text-align: left; }
  .cal-day { min-height: 58px; padding: 6px; }
  .cal-day .w { font-size: 11px; }
  .cal-day .w small { display: none; }
  .cal-dow { padding: 0 6px 4px; font-size: 12px; }
  .kv { grid-template-columns: 1fr; }
  .kv div:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; }
  .tbl .hide-s { display: none; }
  .tbl th, .tbl td { padding-left: 8px; padding-right: 8px; }
  .connect { width: 100%; }
  .srv-actions { justify-items: stretch; }
  .srv-actions .btn { width: 100%; }
  .prose table { display: block; overflow-x: auto; }
  .btn-sm { height: 40px; }
  .tbl th button { min-height: 40px; }
  .cal-day .w { font-size: 12px; }
  .modal { padding: 0; place-items: end stretch; }
  .modal-box { width: 100%; max-height: 88svh; border-radius: 6px 6px 0 0; padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.h-small { font-size: 28px; margin-bottom: 8px; }
.support-top { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; padding: 28px 32px; background: var(--panel); border: 1px solid var(--rule); border-radius: 3px; }
.support-top p { margin: 0; max-width: 52ch; }
.page-notfound .page-head { min-height: 70svh; display: flex; align-items: center; }
@media (max-width: 640px) {
  .support-top { padding: 22px 18px; }
  .support-top .btn-discord { width: 100%; }
}

body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(1px 1px at 38px 61px, #ede7db, transparent),
    radial-gradient(1px 1px at 142px 233px, #ede7db, transparent),
    radial-gradient(1.4px 1.4px at 301px 97px, #ffd6aa, transparent),
    radial-gradient(1px 1px at 417px 382px, #ede7db, transparent),
    radial-gradient(1px 1px at 520px 44px, #c4d6ff, transparent),
    radial-gradient(1px 1px at 611px 301px, #ede7db, transparent),
    radial-gradient(1.4px 1.4px at 702px 168px, #ede7db, transparent),
    radial-gradient(1px 1px at 88px 441px, #ede7db, transparent),
    radial-gradient(1px 1px at 233px 520px, #ffd6aa, transparent),
    radial-gradient(1px 1px at 377px 611px, #ede7db, transparent),
    radial-gradient(1px 1px at 560px 502px, #ede7db, transparent),
    radial-gradient(1.4px 1.4px at 689px 578px, #c4d6ff, transparent),
    radial-gradient(1px 1px at 33px 640px, #ede7db, transparent),
    radial-gradient(1px 1px at 455px 233px, #ede7db, transparent);
  background-size: 760px 680px; }
body { background: var(--ground); isolation: isolate; }
.sec-band { background: rgba(12, 13, 17, .72); position: relative; }
.page-head { border-bottom: 0; }
.discord-line { position: relative; border-top: 0; }
.page-head::after, .sec-band::before, .discord-line::before { content: ""; position: absolute; left: 0; right: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent 8%, rgba(255, 176, 87, .08) 40%, rgba(255, 150, 60, .5) 92%, transparent); }
.page-head::after { bottom: 0; }
.sec-band::before, .discord-line::before { top: 0; }

.foot { position: relative; margin-top: 56px; background: var(--sky-0); color: var(--muted); font-size: 15px; }
.foot h2 { font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; line-height: 1.3; }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; padding: 40px 0 36px; border-bottom: 1px solid var(--rule); }
.foot-about .brand { min-height: 40px; }
.foot-about .brand span { color: var(--ink); }
.foot-about p { margin: 12px 0 14px; max-width: 46ch; color: var(--ink-2); line-height: 1.55; }
.foot-discord { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--ink-2); font-weight: 600; }
.foot-discord .i { width: 20px; height: 20px; color: var(--ring); }
.foot-discord:hover { color: var(--ink); }
.foot-srv { padding: 14px 0; border-top: 1px solid var(--rule); }
.foot-srv:first-of-type { border-top: 0; padding-top: 0; }
.foot-srv-name { display: inline-flex; align-items: center; min-height: 36px; font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; color: var(--ink); letter-spacing: .01em; }
.foot-srv-name:hover { color: var(--ring); }
.foot-srv p { margin: 2px 0 10px; color: var(--ink-2); font-size: 15px; }
.foot-connect { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 12px; border: 1px solid var(--rule-2); border-radius: 3px; background: none; color: var(--ink-2); max-width: 100%; }
.foot-connect code { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.foot-connect .i { width: 15px; height: 15px; flex: none; }
.foot-connect:hover { border-color: var(--ink); color: var(--ink); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 32px 0 24px; }
.foot-cols a { display: flex; align-items: center; min-height: 36px; color: var(--ink-2); transition: color 160ms ease; }
.foot-cols a:hover { color: var(--ink); }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: 1fr 1fr; } }
.foot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 56px; background: var(--sky-0); border-radius: 50% 50% 0 0 / 100% 100% 0 0; box-shadow: inset 0 1px 0 rgba(255, 176, 87, .38); -webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 70%); mask-image: linear-gradient(90deg, transparent 5%, #000 70%); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 26px; padding: 16px 0 28px; font-size: 13px; color: var(--muted); }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 40px; }
.foot-legal a:hover { color: var(--ink); }
.menu-btn[aria-expanded="true"] .i-menu-open { display: none; }
.menu-btn:not([aria-expanded="true"]) .i-menu-close { display: none; }
@media (max-width: 640px) {
  .foot::before { height: 28px; }
  .foot-cols { gap: 20px 16px; }
  .foot-cols a { min-height: 40px; }
  .connect code { font-size: 13px; padding: 0 10px; }
  .cal-day .d { font-size: 12px; white-space: nowrap; }
}

.hero-discord { height: 52px; font-size: 16px; }
.hero-discord .i { width: 22px; height: 22px; }
.scroll-cue { position: absolute; left: 50%; bottom: 14px; z-index: 3; transform: translateX(-50%); display: grid; justify-items: center; padding: 8px 14px; color: var(--ink-2); transition: opacity 300ms ease; }
.scroll-cue svg { width: 22px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: -3px; opacity: .2; animation: cue 1.8s ease-in-out infinite; }
.scroll-cue svg:nth-child(2) { animation-delay: .2s; }
.scroll-cue svg:nth-child(3) { animation-delay: .4s; }
.scroll-cue.gone { opacity: 0; pointer-events: none; }
@keyframes cue { 0%, 100% { opacity: .15; transform: translateY(-2px); } 40% { opacity: .85; transform: translateY(2px); } }
@media (max-width: 640px) {
  .hero-discord { flex-basis: 100%; }
  .scroll-cue { bottom: 6px; }
}

.slogan { white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); line-height: 1.1; }
.slogan span { color: var(--ring); }
.included { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 22px 0 0; padding: 14px 18px; border: 1px solid var(--rule); border-radius: 3px; background: rgba(16, 18, 24, .7); }
.included-k { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-right: 8px; }
.inc { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 3px; background: var(--panel-2); color: var(--ink); font-weight: 600; font-size: 15px; }
.inc .i { width: 17px; height: 17px; color: var(--ring); }
.store-legal { margin: 10px 0 0; font-size: 13px; color: var(--faint); }
.sk { background: transparent; animation: sk-in 180ms ease 350ms forwards; }
.sk::after { animation: shimmer 1.4s ease-in-out 350ms infinite backwards; }
@keyframes sk-in { to { background: var(--panel-2); } }
@media (max-width: 640px) {
  .slogan { white-space: normal; font-size: 22px; }
  .included-k { flex-basis: 100%; }
}

.head-note { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.lb-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

.acct-user.is-partial { border-color: rgba(255, 176, 87, .5); }
.acct-user.is-partial i { width: 8px; height: 8px; border-radius: 50%; background: var(--ring); flex: none; }

.head-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 16px 0 0; padding: 8px 14px; border: 1px solid rgba(255, 176, 87, .35); border-radius: 3px; background: rgba(255, 122, 24, .08); font-size: 14px; color: var(--ink-2); }
.head-badge b { color: var(--ring); font-weight: 700; }
.head-badge code { color: var(--moon); }
