/* ===================== WINTER THEME =====================
   Loaded by every page. To turn winter off, remove the
   winter.css <link> and winter.js <script> from the pages.
   ======================================================== */
:root{--frost:#e8f1ff;--frost-line:rgba(200,222,255,.22)}

/* faint cold light from the top of the page */
body{background:radial-gradient(1200px 520px at 50% -12%,rgba(170,205,255,.085),transparent 62%) fixed,var(--bg)}

/* snowfall canvas (drawn by winter.js); sits above content but never blocks clicks */
.snow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:40}

/* frosty edge on the active gamemode tab */
.tabs .nav-item.on{box-shadow:inset 0 1px 0 var(--frost-line)}

/* winter announcement strip (index page) */
.announce{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:11px 16px;border-radius:12px;cursor:pointer;
  color:var(--text);text-decoration:none;font-size:13.5px;
  background:linear-gradient(90deg,rgba(170,205,255,.10),rgba(170,205,255,.03) 60%,transparent),var(--surface);
  border:1px solid var(--frost-line);transition:border-color .15s,background .15s}
.announce:hover{border-color:rgba(200,222,255,.4)}
.announce[hidden]{display:none}
.announce .flake{width:18px;height:18px;flex-shrink:0;color:var(--frost)}
.announce b{font-weight:600}
.announce .when{color:var(--muted)}
.announce .go{margin-left:auto;color:var(--muted);font-weight:500;white-space:nowrap}
.announce:hover .go{color:var(--text)}
@media(max-width:760px){.announce{flex-wrap:wrap;gap:6px 10px}.announce .go{margin-left:0}}

/* opening date on the Sword tab and its "not live" screen */
.tabs .nav-item .soon-badge.date{color:var(--frost);opacity:.9}
.soon .opens{display:inline-flex;align-items:center;gap:8px;margin-top:4px;padding:8px 14px;border-radius:10px;
  background:rgba(170,205,255,.08);border:1px solid var(--frost-line);color:var(--frost);font-weight:600;font-size:14px}
.soon .opens svg{width:16px;height:16px}

@media(prefers-reduced-motion:reduce){.snow{display:none}}
