/* Frostline dark-ice layer on top of the themed template CSS (frost.css). Role vars: bgc = surfaces, fgc = ink, lnc = lines, shc = shadows. */
:root {
  --font-stencil: "Unbounded", "Space Grotesk", system-ui, sans-serif;
  --font-silk: "Space Grotesk", system-ui, sans-serif;

  --ice: #6bd2ff; --ice-2: #a8e6ff; --ice-deep: #2aa8ef; --night: #060d1a; --night-2: #0a1628; --night-3: #0f2036;

  --bgc-bg: #060d1a; --bgc-bg2: #0c1a2d; --bgc-card: #0a1628; --bgc-white: #0a1628; --bgc-accent: #2aa8ef; --bgc-accent2: #5cc4f5;
  --bgc-accent-dim: #2aa8ef1f; --bgc-forest: #0f3a63; --bgc-fg: #123250; --bgc-line: #17304e; --bgc-sky: #2aa8ef; --bgc-ok: #1f8a5b;
  --bgc-gold: #d99a1e; --bgc-khaki: #d99a1e; --bgc-heart: #d2475a; --bgc-muted: #3a5878; --bgc-dim: #2a4562; --bgc-warn: #9a6a08;

  --fgc-fg: #e6f3ff; --fgc-forest: #ecf8ff; --fgc-muted: #93aecb; --fgc-dim: #6684a4; --fgc-accent: #6bd2ff; --fgc-accent2: #a8e6ff;
  --fgc-sky: #6bd2ff; --fgc-white: #ffffff; --fgc-ok: #3ddc97; --fgc-gold: #f2c14e; --fgc-khaki: #f2c14e; --fgc-heart: #ff6b7d;
  --fgc-warn: #f0b23a; --fgc-line: #2a4a6e; --fgc-bg: #060d1a; --fgc-card: #0a1628; --fgc-accent-dim: #6bd2ff;

  --lnc-line: #17304e; --lnc-accent: #2aa8ef; --lnc-white: #17304e; --lnc-fg: #2a4a6e; --lnc-forest: #2a4a6e; --lnc-sky: #2aa8ef;
  --lnc-card: #17304e; --lnc-ok: #1f8a5b; --lnc-muted: #2a4a6e; --lnc-dim: #22405f; --lnc-bg: #17304e; --lnc-gold: #d99a1e;

  --shc-accent: #2aa8ef55; --shc-forest: #01060f; --shc-fg: #01060f; --shc-line: #01060f;

  --color-bg: #060d1a; --color-bg2: #0c1a2d; --color-card: #0a1628; --color-white: #0a1628; --color-fg: #e6f3ff; --color-forest: #ecf8ff;
  --color-muted: #93aecb; --color-dim: #6684a4; --color-line: #17304e; --color-accent: #6bd2ff; --color-sky: #6bd2ff; --color-accent-dim: #2aa8ef1f;
  color-scheme: dark;
}
html, body { background: radial-gradient(1200px 700px at 70% -10%, #0e2a4a 0%, transparent 60%), radial-gradient(900px 600px at -10% 30%, #0b2140 0%, transparent 55%), #060d1a; color: var(--fgc-fg); }
::selection { background: #2aa8ef55; color: #fff; }

/* type */
.display { font-family: var(--font-display); letter-spacing: -.035em; font-weight: 800; }
h1.display, h2.display { line-height: 1.02; }
.ink-shadow { text-shadow: 0 0 1px #000, 0 10px 34px #2aa8ef40; }
.text-white { color: #fff; }

/* hero headline size: Unbounded runs wide */
main section h1.display { font-size: clamp(38px, 6.1vw, 92px) !important; }
main section h1.display > span { background: linear-gradient(135deg, #8fe3ff 0%, #2aa8ef 45%, #1867c9 100%) !important; color: #04101f !important; text-shadow: none; box-shadow: 0 0 0 1px #bfe9ff55 inset, 0 18px 50px -14px #2aa8efaa; }

/* buttons + chips */
.btn { background: #0d1d33; border-color: #1d3a5e; color: #dff1ff; box-shadow: inset 0 1px #bfe6ff12, 0 10px 22px -14px #000; }
.btn:hover { border-color: #2f5f8f; box-shadow: inset 0 1px #bfe6ff18, 0 14px 26px -14px #000; }
.btn-primary { background: linear-gradient(#3fb6f5, #1679d0) !important; border-color: #1f8ee0 !important; color: #fff !important; box-shadow: inset 0 1px #ffffff55, 0 12px 28px -10px #2aa8efaa !important; }
.btn-primary:hover { background: linear-gradient(#5cc4f5, #1f86da) !important; }
.btn:after { background: linear-gradient(90deg, #0000, #ffffff30, #0000); }
.chip { background: #0c1a2d; border-color: #1b3656; color: #dff1ff; }
.chip-dark { background: linear-gradient(#123a62, #0b2541) !important; color: #e3f4ff !important; border-color: #1f4c7a !important; }
.chip-live { background: #0d2a22; color: #3ddc97; border-color: #1d5a45; }
.chip-wait { background: #2a2210; color: #f2c14e; border-color: #5a4718; }
.input { background: #081425; border-color: #1b3656; color: #e6f3ff; }
.input::placeholder { color: #557395; }
.input:focus { box-shadow: 0 0 0 4px #2aa8ef26; }
.tab:hover, .tab[data-on="true"], .tab.on { background: #11253f; color: #ecf8ff; }
.tab[data-on="true"], .tab.on { border-color: #2a5c8c !important; }
.bar { background: #0f2036; box-shadow: inset 0 1px 2px #000a; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, #2aa8ef, #a8e6ff); border-radius: 99px; }
.card, .box { background: linear-gradient(180deg, #0c1b2f, #0a1628); border-color: #17304e; box-shadow: inset 0 1px #bfe6ff10, 0 18px 40px -26px #000; }
.box-head { background: linear-gradient(#0f223a, #0c1b2f); color: #ecf8ff; }
.lift:hover { border-color: #2a5c8c; box-shadow: inset 0 1px #bfe6ff18, 0 24px 50px -24px #2aa8ef55; }
.snowcap:after { background: linear-gradient(#bfe9ff22, #0000) !important; box-shadow: none !important; height: 2px; top: -1px; }
.ground { background: linear-gradient(#0c1b2f, #060d1a) !important; }
.notice { background: #1f1a0c !important; border-color: #5a4718 !important; color: #f6dfa2 !important; }
.table th { color: #6684a4; }
.table tr { border-color: #17304e; }
.table tbody tr:hover { background: #0c1b2f; }
.marquee-wrap { background: linear-gradient(90deg, #071a30, #0f3a63 50%, #071a30) !important; border-bottom: 1px solid #1b3a5e; }
aside, header { background: #070f1dcc !important; backdrop-filter: blur(10px); }

/* meteor in place of the rolling ball */
.sf-ball > div > div { animation: none !important; }
.sf-ball img[data-mark] { transform: scaleX(-1) rotate(-8deg); filter: drop-shadow(0 0 18px #2aa8efaa) !important; }
img[data-mark] { animation: none; }
img[data-ice] { filter: drop-shadow(0 0 6px #2aa8ef66); }

/* live bits */
[data-f="ca"][hidden], [data-f="x"][hidden] { display: none !important; }
.f-empty { padding: 28px 8px; text-align: center; color: #6684a4; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.f-pop { animation: f-pop .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes f-pop { 0% { transform: scale(1) } 40% { transform: scale(1.08); color: #a8e6ff } 100% { transform: scale(1) } }

.f-toasts { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; width: 300px; pointer-events: none; }
.f-toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: #0c1b2fee; border: 1px solid #1d3a5e;
  box-shadow: 0 18px 40px -18px #000, inset 0 1px #bfe6ff14; backdrop-filter: blur(8px); animation: f-in .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.f-toast.out { animation: f-out .4s ease forwards; }
.f-toast img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; flex: none; }
.f-toast b { display: block; font-family: var(--font-pixel); font-size: 15px; color: #ecf8ff; }
.f-toast span { font-family: var(--font-mono); font-size: 12.5px; color: #93aecb; }
@keyframes f-in { from { opacity: 0; transform: translateX(30px) } to { opacity: 1; transform: none } }
@keyframes f-out { to { opacity: 0; transform: translateX(30px) } }
@media (max-width: 640px) { .f-toasts { left: 12px; right: 12px; width: auto; bottom: 12px } .f-toast:nth-child(n+2) { display: none } }

.f-drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.f-drawer.open { display: block; }
.f-drawer .f-scrim { position: absolute; inset: 0; background: #020711cc; }
.f-drawer nav { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 320px); background: #08111f; border-left: 1px solid #17304e; padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; animation: f-in .3s ease both; }
.f-drawer nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; font-family: var(--font-pixel); font-size: 17px; font-weight: 600; color: #cfe6fb; }
.f-drawer nav a.on, .f-drawer nav a:hover { background: #11253f; color: #fff; }
.f-drawer nav .btn { justify-content: center; margin-top: 10px; }

.f-tier { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 99px; font-family: var(--font-mono); font-size: 12px; border: 1px solid #1d3a5e; background: #0c1b2f; color: #a8e6ff; white-space: nowrap; }
.f-tier[data-t="0"] { color: #cfe6fb } .f-tier[data-t="1"] { color: #a8e6ff } .f-tier[data-t="2"] { color: #6bd2ff }
.f-tier[data-t="3"] { color: #3fb6f5; border-color: #1f4c7a } .f-tier[data-t="4"] { color: #8fb8ff; border-color: #2b4f8f } .f-tier[data-t="5"] { color: #fff; border-color: #6bd2ff; box-shadow: 0 0 14px #2aa8ef66 }
.f-res { width: 100%; }
.f-res .row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #17304e; }
.f-res .row:last-child { border-bottom: 0; }
.f-res img { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; }
.f-res .grow { flex: 1; min-width: 0; }
.f-res .x { font-family: var(--font-mono); font-size: 22px; color: #6bd2ff; }
.f-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-family: var(--font-mono); font-size: 14px; }
.f-kv dt { color: #6684a4; } .f-kv dd { color: #e6f3ff; text-align: right; word-break: break-all; }
.f-msg { margin-top: 14px; font-size: 15px; color: #93aecb; }
.f-msg.err { color: #ff8a98; } .f-msg.ok { color: #3ddc97; }
.f-steps { margin: 14px 0 0; padding-left: 20px; color: #93aecb; font-size: 15.5px; line-height: 1.7; list-style: decimal; }
.f-steps b { color: #ecf8ff; }
.f-copy { cursor: pointer; }

/* ice field (freeze map) */
[data-f="field"] .f-dot { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; transition: transform .2s; }
[data-f="field"] .f-dot:hover { transform: translate(-50%, -50%) scale(1.6); z-index: 10; }
[data-f="field"] .f-dot img { width: 100%; height: 100%; display: block; }
[data-f="field"] .f-dot.cold { background: #0f2036; border: 1px solid #1d3a5e; }
[data-f="field"] .f-dot[data-t="3"] img, [data-f="field"] .f-dot[data-t="4"] img { filter: hue-rotate(15deg) saturate(1.3) drop-shadow(0 0 4px #2aa8ef); }
[data-f="field"] .f-dot[data-t="5"] img { filter: brightness(1.35) drop-shadow(0 0 8px #a8e6ff); }

#frost-sky { opacity: .9; }
@media (prefers-reduced-motion: reduce) { .f-toast { animation: none } }

/* Frostline (2026-11-28): CA + Follow row under the home headline; the longer wordmark needs room in the phone header */
.f-cax { gap: 8px; }
@media (max-width: 420px) { .f-cax > * { padding-left: 12px; padding-right: 12px; } }
@media (max-width: 519px) {
  html[data-page="index"] header.lg\:hidden [data-f="ca"] { display: none; }
  header.lg\:hidden [data-f="ca"] { padding-left: 9px; padding-right: 9px; gap: 4px; }
  header.lg\:hidden [data-f="ca"] > span:first-child, header.lg\:hidden [data-f="ca"] > span:last-child { display: none; }
  header.lg\:hidden .display.text-forest { font-size: 19px !important; }
}
