:root {
  color-scheme: dark;
  --bg: #0f0a1d;
  --text: #fbf3ec;
  --muted: #cfc0cc;
  --faint: #978aa3;
  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(24, 16, 40, 0.6);
  --hover: rgba(255, 255, 255, 0.06);
  --accent: #ff8a3d;
  --accent-2: #ff4f7b;
  --glow: #ff8240;
  --radius: 24px;
  --sans: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(90% 45% at 50% -5%, color-mix(in srgb, var(--glow) 24%, transparent), transparent 70%),
    radial-gradient(60% 40% at 100% 100%, rgba(120, 60, 200, 0.16), transparent 70%),
    radial-gradient(60% 40% at 0% 70%, rgba(255, 80, 120, 0.07), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: max(14px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
}

button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--accent); }
h1, h2, p { margin: 0; }

/* ---------- Header ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 16px; }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--serif); font-size: 1.55rem; letter-spacing: -0.01em; }
.ver-badge {
  align-self: center; padding: 2px 7px; border-radius: 999px; font-family: var(--sans); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.04em; color: var(--faint); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
}
.ver-badge:empty { display: none; }
.brand img { border-radius: 9px; box-shadow: 0 6px 18px -6px rgba(255, 120, 60, 0.6); }

.mode {
  position: relative; display: inline-flex; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); backdrop-filter: blur(12px);
}
.mode button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; color: var(--muted); transition: color 0.2s, background 0.2s; }
.mode button[aria-pressed="true"] {
  background: linear-gradient(135deg, #ffb347, var(--accent) 45%, var(--accent-2));
  color: #22101c; box-shadow: 0 6px 20px -8px rgba(255, 110, 70, 0.8);
}

/* ---------- Search ---------- */
.search { display: flex; gap: 10px; margin-bottom: 16px; }
.search-box { position: relative; flex: 1; min-width: 0; }
.search-icon { position: absolute; z-index: 1; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
#q {
  width: 100%; height: 48px; padding: 0 16px 0 42px; font: inherit; font-size: 1rem; font-weight: 500; color: var(--text);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 16px; outline: none;
  backdrop-filter: blur(12px); transition: border-color 0.2s, background 0.2s;
}
#q::placeholder { color: var(--faint); }
#q:focus { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: rgba(255, 255, 255, 0.08); }
#q::-webkit-search-cancel-button { filter: invert(0.7); }

.results {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  background: rgba(30, 20, 48, 0.96); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7); backdrop-filter: blur(20px);
}
.results button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 11px 12px; border-radius: 11px; font-weight: 600; }
.results button:hover, .results button:focus-visible { background: var(--hover); outline: none; }
.results small { display: block; color: var(--faint); font-size: 0.8rem; font-weight: 500; margin-top: 2px; }
.results .none { padding: 11px 12px; color: var(--faint); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 16px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 16px; font-size: 0.92rem; font-weight: 600;
  backdrop-filter: blur(12px); transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-ghost svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(380px, 60vw, 440px); margin-bottom: 14px; border-radius: 30px;
  box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--glow) 70%, transparent), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: #120c22;
}
.hero-sky { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-sky > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 5, 16, 0.55) 0%, transparent 30%, transparent 52%, rgba(8, 5, 16, 0.82) 100%);
}
.hero-top, .hero-bottom { position: absolute; left: 0; right: 0; padding: 22px 24px; }
.hero-top { top: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hero-top h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 6.5vw, 2.7rem); line-height: 1; letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); overflow-wrap: anywhere;
}
.hero-top p { margin-top: 6px; color: rgba(255, 255, 255, 0.78); font-size: 0.85rem; font-weight: 600; }
.eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; padding: 7px 12px; border-radius: 999px;
  background: rgba(10, 6, 20, 0.38); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px);
  font-size: 0.78rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); transition: background 0.2s;
}
.chip:hover { background: rgba(10, 6, 20, 0.6); }
.chips { display: flex; gap: 8px; flex-shrink: 0; }
.chip.icon-only { width: 34px; height: 34px; padding: 0; justify-content: center; }
.chip.icon-only svg { width: 15px; height: 15px; }
.chip[data-action="motion"] svg path { fill: none; }
.chip[data-action="motion"][aria-pressed="false"] svg path { fill: currentColor; }
.chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-bottom { bottom: 0; }
.score { display: flex; align-items: baseline; gap: 4px; margin-bottom: 10px; }
.score-num {
  font-family: var(--serif); font-size: clamp(6rem, 26vw, 8.5rem); line-height: 0.78; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}
.score-of { font-size: 1rem; font-weight: 600; color: rgba(255, 255, 255, 0.6); }
.score-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
.hero-note { margin-top: 10px; font-family: var(--serif); font-size: 1.5rem; }

.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 10px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c);
  background: color-mix(in srgb, var(--c) 18%, rgba(10, 6, 20, 0.55));
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); backdrop-filter: blur(10px);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }

.welcome h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 8vw, 3.2rem); line-height: 1; letter-spacing: -0.01em; }
.welcome p { margin-top: 10px; max-width: 440px; color: rgba(255, 255, 255, 0.82); line-height: 1.5; font-size: 0.95rem; }

.btn-primary {
  margin-top: 18px; padding: 13px 22px; border: 0; border-radius: 14px; font-weight: 700; color: #22101c;
  background: linear-gradient(135deg, #ffc56b, var(--accent) 45%, var(--accent-2));
  box-shadow: 0 12px 30px -10px rgba(255, 100, 80, 0.8); transition: transform 0.15s;
}
.btn-primary:hover { transform: translateY(-1px); }

/* Sky time-lapse: the sun sinks, clouds catch the afterglow, blue hour falls
   and the stars come out — then it plays back (sunrise runs the other way). */
.sky-anim { --cycle: 14s; }
.sky-anim .sun-path, .sky-anim .sky-warm, .sky-anim .sky-dusk, .sky-anim .sky-stars {
  animation-duration: var(--cycle); animation-timing-function: ease-in-out;
  animation-iteration-count: infinite; animation-direction: alternate;
}
.mode-sunrise .sun-path, .mode-sunrise .sky-warm, .mode-sunrise .sky-dusk, .mode-sunrise .sky-stars { animation-direction: alternate-reverse; }
.sky-anim .sun-path { animation-name: sun-path; }
.sky-anim .sky-warm { animation-name: warm; }
.sky-anim .sky-dusk { animation-name: dusk; }
.sky-anim .sky-stars { animation-name: stars; }
.sky-stars .tw { animation: twinkle 2.4s ease-in-out infinite alternate; }
@keyframes sun-path { 0%, 6% { transform: translateY(-26px); } 94%, 100% { transform: translateY(30px); } }
@keyframes warm { 0% { opacity: 0.15; } 58% { opacity: 1; } 100% { opacity: 0.1; } }
@keyframes dusk { 0%, 40% { opacity: 0; } 94%, 100% { opacity: 0.72; } }
@keyframes stars { 0%, 50% { opacity: 0; } 100% { opacity: 1; } }
@keyframes twinkle { from { opacity: 0.25; } to { opacity: 1; } }

/* Clouds drift at different speeds for depth. */
.sky-drift { animation: drift 22s ease-in-out infinite alternate; }
.sky-drift.slow { animation-duration: 36s; }
.sky-drift.fast { animation-duration: 14s; }
@keyframes drift { from { transform: translateX(-40px); } to { transform: translateX(40px); } }

.rain line { animation: fall 0.9s linear infinite; }
@keyframes fall {
  from { transform: translate(5px, -36px); opacity: 0; }
  20% { opacity: 1; }
  to { transform: translate(-7px, 46px); opacity: 0; }
}

.birds { animation: fly 48s linear infinite; animation-delay: -12s; }
.birds .wing { transform-box: fill-box; transform-origin: center; animation: flap 0.45s ease-in-out infinite alternate; }
@keyframes fly {
  0% { transform: translate(-60px, 0); }
  50% { transform: translate(240px, -14px); }
  100% { transform: translate(540px, 6px); }
}
@keyframes flap { to { transform: scaleY(-0.55); } }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px;
  backdrop-filter: blur(16px) saturate(140%);
}
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-head h2 { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }

.verdict .headline { font-family: var(--serif); font-size: clamp(1.5rem, 4.8vw, 1.9rem); line-height: 1.18; letter-spacing: -0.005em; }
.verdict .subline { margin-top: 10px; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.verdict-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: 0.82rem; font-weight: 600; color: var(--faint); }
.conf { display: inline-flex; align-items: center; gap: 3px; }
.conf i { width: 6px; height: 12px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); }
.conf i.on { background: var(--muted); }
.conf i:last-of-type { margin-right: 6px; }
.passed { color: var(--accent-2); }
.tip {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 14px;
  background: color-mix(in srgb, var(--glow) 10%, transparent); border: 1px solid color-mix(in srgb, var(--glow) 22%, transparent);
  color: var(--muted); font-size: 0.88rem; line-height: 1.45;
}
.tip svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: #ffc56b; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Light window */
.bearing { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.92rem; }
.compass { width: 28px; height: 28px; }
.compass circle { fill: rgba(255, 255, 255, 0.04); stroke: var(--line); stroke-width: 1.5; }
.compass path { fill: var(--accent); }
.compass text { fill: var(--faint); font-size: 7px; font-weight: 700; text-anchor: middle; font-family: var(--sans); }

.tl-bar { position: relative; height: 10px; margin: 8px 11px 18px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); }
.seg { position: absolute; top: 0; bottom: 0; border-radius: 5px; }
.seg.golden { background: linear-gradient(90deg, #ffd36b, #ff8a3d); }
.seg.blue { background: linear-gradient(90deg, #5d5fd8, #263487); }
.seg.golden.rev { background: linear-gradient(90deg, #ff8a3d, #ffd36b); }
.seg.blue.rev { background: linear-gradient(90deg, #263487, #5d5fd8); }
.tl-sun {
  position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: radial-gradient(circle, #fff6d0 0 38%, #ffb347 40% 64%, transparent 66%);
  box-shadow: 0 0 22px 6px rgba(255, 160, 70, 0.55);
}
.tl-stats { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; }
.stat span { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.stat strong { display: block; margin-top: 4px; font-size: 0.98rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat.main { text-align: center; padding: 0 6px; }
.stat.main span { justify-content: center; }
.stat.main strong { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; }
.tl-stats .stat:last-child { text-align: right; }
.tl-stats .stat:last-child span { justify-content: flex-end; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.golden { background: #ffb347; }
.dot.blue { background: #5d5fd8; }

/* Day strip */
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.day {
  display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(12px);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.day:hover { transform: translateY(-2px); }
.day[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--c) 75%, transparent);
  background: color-mix(in srgb, var(--c) 12%, var(--card));
  box-shadow: 0 14px 30px -16px var(--c);
}
.day.past { opacity: 0.45; }
.dname { font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.dorb {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 1rem; font-variant-numeric: tabular-nums; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  background: linear-gradient(180deg, var(--top) 0%, var(--mid) 55%, var(--hor) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 6px 16px -8px var(--hor);
}
.dlabel { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }

/* Factors */
.factor { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.factor:first-of-type { border-top: 0; padding-top: 2px; }
.ficon {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); border: 1px solid color-mix(in srgb, var(--c) 22%, transparent);
}
.ficon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.factor-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.factor-head strong { font-weight: 700; font-size: 0.98rem; }
.fword { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c); }
.fdetail { margin-top: 3px; color: var(--faint); font-size: 0.8rem; font-weight: 500; }
.meter { height: 5px; margin: 10px 0 8px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 35%, transparent), var(--c)); }
.fnote { color: var(--muted); font-size: 0.88rem; line-height: 1.4; }

.how { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.how summary { cursor: pointer; color: var(--text); font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.how summary::-webkit-details-marker { display: none; }
.how summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--faint); transition: transform 0.2s; }
.how[open] summary::after { transform: rotate(45deg); }
.how ul { padding-left: 18px; margin: 12px 0 0; }
.how li + li { margin-top: 6px; }

/* States */
.empty { text-align: center; padding: 40px 22px; }
.empty h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 420px; margin: 0 auto; line-height: 1.5; }
.error { border-color: rgba(255, 79, 123, 0.45); }

.skeleton {
  border-radius: var(--radius); margin-bottom: 14px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.04) 20%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.04) 80%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite linear;
}
.hero.skeleton { border-radius: 30px; box-shadow: none; }
.skeleton.strip { height: 104px; }
.skeleton.block { height: 180px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Entrance */
.animate .rise { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

footer { color: var(--faint); font-size: 0.76rem; text-align: center; line-height: 1.6; margin-top: 22px; }

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  .brand { font-size: 1.35rem; }
  .mode button { padding: 7px 12px; }
  .btn-ghost { width: 48px; padding: 0; }
  .btn-ghost span { display: none; }
  .hero { border-radius: 26px; }
  .hero-top, .hero-bottom { padding: 18px 18px; }
  .card { padding: 18px; }
  .days {
    grid-template-columns: repeat(7, 68px); overflow-x: auto; scrollbar-width: none;
    margin-inline: -16px; padding: 2px 16px 10px; scroll-snap-type: x proximity;
  }
  .days::-webkit-scrollbar { display: none; }
  .day { scroll-snap-align: start; }
  .tl-stats { gap: 8px; }
  .stat strong { font-size: 0.88rem; }
  .stat.main strong { font-size: 1.7rem; }
}

/* Sky animation paused (device asks for reduced motion, or the viewer pressed pause). */
.hero.still .sky-anim * { animation-play-state: paused !important; }

@media (max-width: 400px) {
  .top { gap: 8px; }
  .brand { gap: 7px; font-size: 1.2rem; }
  .brand img { width: 24px; height: 24px; }
  .mode button { padding: 7px 10px; font-size: 0.82rem; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton, .animate .rise { animation: none !important; }
}

/* Realistic sky scene (WebGL sky + water, SVG land, canvas rain) */
.sky-scene, .sky-scene canvas, .sky-scene svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Live golden/blue hour timeline on the picture */
.hero { height: clamp(440px, 66vw, 500px); }
.live-tl { margin-top: 38px; }
.ltl-track {
  position: relative; height: 8px; margin: 0 9px; border-radius: 4px; cursor: pointer; touch-action: none;
  background: rgba(255, 255, 255, 0.16); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.ltl-track::before { content: ""; position: absolute; inset: -16px -9px; } /* bigger touch target */
.ltl-track:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.7); outline-offset: 6px; }
.ltl-track .seg { position: absolute; top: 0; bottom: 0; border-radius: 4px; opacity: 0.95; }
.ltl-sun {
  position: absolute; top: 50%; width: 3px; height: 16px; margin: -8px 0 0 -1.5px; border-radius: 2px;
  background: #fff3c4; box-shadow: 0 0 10px 2px rgba(255, 190, 90, 0.8);
}
.ltl-head {
  position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22), 0 2px 10px rgba(0, 0, 0, 0.45); pointer-events: none;
}
.ltl-head em {
  position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-style: normal; font-weight: 800; font-size: 0.82rem; font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
  padding: 3px 8px; border-radius: 8px; background: rgba(10, 6, 20, 0.62); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.ltl-track.dragging .ltl-head { transform: scale(1.15); }
.ltl-labels {
  display: flex; justify-content: space-between; align-items: baseline; margin-top: 9px;
  font-size: 0.74rem; font-weight: 700; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.72);
}
.ltl-phase { text-transform: uppercase; letter-spacing: 0.14em; color: #ffd38a; }
[data-phase="Blue hour"] ~ * .ltl-phase, .live-tl:has([data-phase="Blue hour"]) .ltl-phase { color: #a9b3ff; }
.terrain-note { margin-top: 14px; color: var(--faint); font-size: 0.8rem; line-height: 1.45; }
@media (max-width: 600px) {
  .hero { height: 470px; }
  .score-num { font-size: 5.6rem; }
}
