/* ═══════════════════════════════════════════════════════════════════
   ORBITAL RADAR · SATELLITE TRANSIT FINDER
   Page styles for /satellite-transit-predictions and its city pages.
   Site fonts on everything: JetBrains Mono (body, buttons, inputs, data),
   Orbitron (titles, labels, badges, figures, countdowns).
   ═══════════════════════════════════════════════════════════════════ */
.tf-wrap { max-width: 1240px; padding: 0 24px 40px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.92); }
.tf-wrap a { color: #37d3ec; }
.tf-wrap a:hover { color: #8beafa; }
.tf-wrap button, .tf-wrap input, .tf-wrap select, .tf-wrap textarea, .tf-fm button { font-family: 'JetBrains Mono', 'Fira Mono', 'Consolas', monospace; }
.tf-d { font-family: 'Orbitron', 'JetBrains Mono', monospace; }
.tf-sec { padding: 36px 0; scroll-margin-top: 72px; }
.tf-hide { display: none !important; }
.tf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tf-eyebrow { font-family: 'Orbitron', monospace; font-size: 12px; font-weight: 700; letter-spacing: 2.5px; color: #ffd23f; }
.tf-mlabel { font-family: 'Orbitron', monospace; font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #ffd23f; }
.tf-mlabel.cy { color: #60eafe; }
.tf-k { font-family: 'Orbitron', monospace; font-size: 10px; letter-spacing: 1px; color: rgba(255,255,255,0.55); }
.tf-h1 { font-family: 'Orbitron', monospace; margin: 0; font-weight: 800; font-size: 46px; line-height: 1.08; letter-spacing: 0.5px; color: #ffe060; }
.tf-h2 { font-family: 'Orbitron', monospace; margin: 0; font-weight: 700; font-size: 24px; line-height: 1.25; color: #ffe060; }
.tf-h3 { font-family: 'Orbitron', monospace; margin: 0; font-weight: 700; font-size: 16px; color: #ffe060; }
.tf-lead { margin: 6px 0 0; color: rgba(255,255,255,0.65); font-size: 14px; max-width: 860px; }
.tf-note { font-size: 12px; color: rgba(255,255,255,0.55); }
.tf-panel { background: rgba(13,18,38,0.9); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 18px; }
.tf-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tf-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }

/* ── buttons & inputs ─────────────────────────────────────────────── */
.tf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18); background: transparent; color: #fff; font-size: 13px; cursor: pointer; text-decoration: none; line-height: 1.2; }
.tf-btn:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.tf-btn:disabled { opacity: 0.45; cursor: default; }
.tf-btn.gold { background: #ffd23f; color: #0a0d1c; border: none; font-weight: 700; font-size: 14px; padding: 0 20px; }
.tf-btn.gold:hover { background: #ffe060; color: #0a0d1c; }
.tf-btn.goldsoft { background: rgba(255,224,96,0.14); border: none; color: #ffe060; }
.tf-btn.goldsoft:hover { background: rgba(255,224,96,0.22); color: #ffe060; }
.tf-btn.cyan { border-color: rgba(96,234,254,0.5); color: #60eafe; }
.tf-btn.cyan:hover { border-color: #60eafe; color: #8beafa; }
.tf-btn.cyanfill { background: #60eafe; color: #071022; border: none; font-weight: 700; font-size: 14px; padding: 0 20px; }
.tf-btn.cyanfill:hover { background: #8beafa; color: #071022; }
.tf-btn.sm { min-height: 36px; padding: 0 12px; font-size: 12px; border-radius: 8px; }
.tf-btn[aria-pressed="true"], .tf-btn.on { background: rgba(255,224,96,0.14); border-color: rgba(255,224,96,0.6); color: #ffe060; }
.tf-in { height: 46px; box-sizing: border-box; background: #0d1226; border: 1px solid rgba(255,224,96,0.25); border-radius: 10px; color: #fff; padding: 0 14px; font-size: 14px; width: 100%; }
.tf-in:focus, .tf-sel:focus { outline: 2px solid rgba(255,224,96,0.55); outline-offset: 1px; }
.tf-in.sm { height: 44px; background: #070a18; border-color: rgba(255,224,96,0.2); font-size: 14px; padding: 0 12px; }
.tf-sel { height: 44px; background: #070a18; color: #fff; border: 1px solid rgba(255,224,96,0.2); border-radius: 10px; padding: 0 10px; font-size: 13px; }
.tf-lab { font-size: 13px; color: rgba(255,255,255,0.7); }
.tf-chk { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18); cursor: pointer; font-size: 13px; }
.tf-chk input { width: 16px; height: 16px; accent-color: #ffd23f; }
.tf-wrap input[type=range] { accent-color: #ffd23f; width: 100%; }

/* ── place search (shared site search) ────────────────────────────── */
.tf-place { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 100%; }
.tf-ac { position: absolute; top: 100%; left: 0; right: 0; z-index: 40; margin: 4px 0 0; padding: 4px; list-style: none; background: #0d1226; border: 1px solid rgba(255,224,96,0.25); border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
.tf-ac li { padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 13px; color: rgba(255,255,255,0.88); }
.tf-ac li[aria-selected="true"], .tf-ac li:hover { background: rgba(255,224,96,0.1); color: #fff; }
.tf-ac li.none { cursor: default; color: rgba(255,255,255,0.55); font-size: 12px; }
.tf-hint { font-size: 12px; color: rgba(255,255,255,0.55); }
.tf-hint.err { color: #f0993e; }

/* ── hero ─────────────────────────────────────────────────────────── */
.tf-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: 40px 0 20px; }
.tf-hero-l { flex: 1 1 470px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tf-hero-r { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.tf-hero-p { margin: 0; color: rgba(255,255,255,0.82); font-size: 16px; max-width: 560px; }
.tf-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.tf-safety { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid rgba(255,102,80,0.45); border-radius: 999px; color: #ffb4a0; font-size: 13px; align-self: flex-start; background: transparent; cursor: pointer; text-align: left; }
.tf-safety-more { font-size: 13px; color: #ffb4a0; border-left: 2px solid rgba(255,102,80,0.45); padding: 4px 0 4px 12px; margin-top: -8px; }
.tf-feat { background: rgba(13,18,38,0.92); border: 1px solid rgba(255,224,96,0.3); border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.tf-cd { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.tf-cd-u { display: flex; flex-direction: column; align-items: center; width: 74px; }
.tf-cd-n { font-family: 'Orbitron', monospace; font-size: 40px; font-weight: 700; line-height: 1; color: #ffe060; font-variant-numeric: tabular-nums; }
.tf-cd-l { font-family: 'Orbitron', monospace; font-size: 10px; color: rgba(255,255,255,0.55); letter-spacing: 1.5px; margin-top: 6px; }
.tf-cd-s { font-family: 'Orbitron', monospace; font-size: 32px; color: rgba(255,224,96,0.35); line-height: 1.2; }
.tf-feat-date { font-size: 15px; font-weight: 600; }
.tf-feat-detail { font-size: 13px; color: rgba(255,255,255,0.8); }
.tf-feat-travel { font-size: 13px; color: rgba(255,255,255,0.65); }
.tf-conf { font-family: 'Orbitron', monospace; font-size: 11px; font-weight: 600; letter-spacing: 1px; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.tf-conf.confirmed { color: #6ee7b7; } .tf-conf.likely { color: #60eafe; } .tf-conf.provisional { color: rgba(255,255,255,0.7); } .tf-conf.passed { color: rgba(255,255,255,0.55); }
.tf-theatre { width: 100%; height: auto; display: block; }
.tf-theatre-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,0.6); }
@keyframes tfCross { 0% { transform: translateX(-178px); } 55% { transform: translateX(178px); } 100% { transform: translateX(178px); } }
@keyframes tfChord { 0% { transform: translateX(var(--tf-c0, -150px)); } 60% { transform: translateX(var(--tf-c1, 150px)); } 100% { transform: translateX(var(--tf-c1, 150px)); } }
@keyframes tfSweep { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes tfPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.tf-cross { animation: tfCross 10.4s linear infinite; }
.tf-chord { animation: tfChord 4s linear infinite; }
.tf-sweep { animation: tfSweep 7s linear infinite; }
.tf-pulse { animation: tfPulse 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .tf-cross, .tf-chord, .tf-sweep, .tf-pulse { animation: none !important; }
}
.tf-still .tf-cross, .tf-still .tf-chord, .tf-still .tf-sweep, .tf-still .tf-pulse { animation: none !important; }

/* ── results ──────────────────────────────────────────────────────── */
.tf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.tf-res { background: rgba(13,18,38,0.9); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.tf-res.feat { border-color: rgba(255,224,96,0.5); }
.tf-res.sel { box-shadow: 0 0 0 2px rgba(96,234,254,0.55); }
.tf-res.hid { opacity: 0.62; }
.tf-body { font-family: 'Orbitron', monospace; font-size: 10px; font-weight: 700; letter-spacing: 2px; padding: 4px 10px; border-radius: 999px; }
.tf-body.sun { color: #ffe060; background: rgba(255,224,96,0.12); }
.tf-body.moon { color: #60eafe; background: rgba(96,234,254,0.12); }
.tf-res-t { font-family: 'Orbitron', monospace; font-size: 14px; font-weight: 700; color: #ffe060; }
.tf-res-when { font-size: 16px; font-weight: 700; }
.tf-res-utc { font-size: 12px; color: rgba(255,255,255,0.6); }
.tf-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: 12px; }
.tf-kv .k { color: rgba(255,255,255,0.55); }
.tf-kv .v { font-size: 14px; }
.tf-qbar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.tf-qbar > div { height: 6px; }
.tf-hidwhy { font-size: 12px; color: #f0993e; }
.tf-empty { padding: 18px; border-radius: 16px; background: rgba(13,18,38,0.9); border: 1px dashed rgba(255,255,255,0.18); font-size: 14px; color: rgba(255,255,255,0.75); }

/* ── map ──────────────────────────────────────────────────────────── */
.tf-cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.tf-col-main { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.tf-col-side { flex: 1 1 330px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.tf-map { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); background: #071022; height: 520px; }
.tf-map .tf-map-gl, .tf-pmap .tf-map-gl { position: absolute; inset: 0; }
.tf-map-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: rgba(255,255,255,0.65); font-size: 13px; }
.tf-legend { position: absolute; left: 12px; bottom: 30px; display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; color: rgba(255,255,255,0.8); background: rgba(7,10,24,0.85); padding: 8px 10px; border-radius: 10px; pointer-events: none; max-width: calc(100% - 24px); }
.tf-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tf-sw { display: inline-block; }
.tf-map .maplibregl-ctrl-attrib, .tf-map .maplibregl-ctrl-attrib a, .tf-pmap .maplibregl-ctrl-attrib, .tf-pmap .maplibregl-ctrl-attrib a { font-family: 'JetBrains Mono', monospace; font-size: 10px; }
.tf-map .maplibregl-ctrl-attrib, .tf-pmap .maplibregl-ctrl-attrib { background: rgba(7,10,24,0.75); color: rgba(255,255,255,0.7); }
.tf-map .maplibregl-ctrl-attrib a, .tf-pmap .maplibregl-ctrl-attrib a { color: rgba(255,255,255,0.8); }
.tf-map .maplibregl-ctrl-group { background: #0d1226; border: 1px solid rgba(255,255,255,0.15); }
.tf-map .maplibregl-ctrl-group button + button { border-top-color: rgba(255,255,255,0.15); }
.tf-map .maplibregl-ctrl-icon { filter: invert(1) brightness(1.4); }
.tf-mk-you { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #071022; box-shadow: 0 0 0 2px currentColor; background: currentColor; cursor: grab; }
.tf-mk-pin { width: 22px; height: 30px; pointer-events: none; }
.tf-mk-tick { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #ffe060; background: rgba(7,10,24,0.82); padding: 1px 5px; border-radius: 4px; pointer-events: none; white-space: nowrap; }
.tf-mk-wx { width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; background: rgba(7,10,24,0.85); font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.tf-mk-num { width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 2px solid currentColor; background: #071022; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 0 0 3px rgba(7,16,34,0.7); }
.tf-mk-num.sel { color: #0a0d1c !important; }
.tf-status { font-size: 15px; font-weight: 700; }
.tf-status.in { color: #6ee7b7; } .tf-status.out { color: #f0993e; }
.tf-inset { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; border-radius: 12px; background: #071022; }
.tf-best { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.tf-best > div { flex: 1 1 220px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(110,231,183,0.35); }
.tf-best > div + div { border-color: rgba(255,224,96,0.35); }
.tf-disc { width: 100%; max-width: 340px; height: auto; display: block; margin: 0 auto; }
.tf-pick { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── paths ────────────────────────────────────────────────────────── */
.tf-pmap { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); background: #071022; }
.tf-pmap.gl { height: 470px; }
.tf-pmap svg { width: 100%; height: auto; display: block; }
.tf-plist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tf-plist button { width: 100%; display: flex; gap: 10px; align-items: flex-start; text-align: left; padding: 10px 12px; border-radius: 12px; background: rgba(13,18,38,0.9); border: 1px solid rgba(255,255,255,0.08); color: #fff; font-size: 12px; cursor: pointer; line-height: 1.5; }
.tf-plist button[aria-pressed="true"] { background: rgba(255,224,96,0.09); border-color: rgba(255,224,96,0.6); }
.tf-plist .n { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; border: 2px solid currentColor; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.tf-plist .w { color: #fff; } .tf-plist .x { color: rgba(255,255,255,0.65); } .tf-plist .y { color: rgba(255,255,255,0.5); }
.tf-globe { width: 100%; max-width: 280px; height: auto; display: block; margin: 8px auto 0; }

/* ── tools ────────────────────────────────────────────────────────── */
.tf-tools { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.tf-calc { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.tf-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tf-g2 > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tf-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-size: 13px; }
.tf-out > div { padding: 10px 12px; border-radius: 12px; background: #070a18; }
.tf-fcard { flex: 1 1 320px; min-width: 0; background: #12060a; border: 1px solid rgba(255,77,77,0.35); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; color: #ffb3b3; }
.tf-fcard .big { font-family: 'Orbitron', monospace; font-size: 30px; font-weight: 700; color: #ff5c5c; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tf-btn.red { min-height: 46px; border-radius: 10px; background: #3a0d12; border: 1px solid #ff5c5c; color: #ffd6d6; font-size: 14px; font-weight: 700; }

/* ── alerts ───────────────────────────────────────────────────────── */
.tf-alerts { background: rgba(13,18,38,0.9); border: 1px solid rgba(96,234,254,0.3); border-radius: 18px; padding: 24px; display: flex; flex-wrap: wrap; gap: 28px; }
.tf-alerts-l { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.tf-alerts-f { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.tf-steps { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.tf-steps li { display: flex; gap: 10px; }
.tf-steps .when { width: 72px; flex: 0 0 72px; color: rgba(255,255,255,0.6); }
.tf-fs { border: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.tf-fs legend { font-family: 'Orbitron', monospace; font-size: 10px; letter-spacing: 1.5px; color: rgba(255,255,255,0.6); margin-bottom: 8px; padding: 0; }
.tf-mine { display: flex; flex-direction: column; gap: 8px; }
.tf-mine-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: #070a18; border: 1px solid rgba(255,255,255,0.08); font-size: 13px; }
.tf-mine-row .meta { font-size: 12px; color: rgba(255,255,255,0.6); }
.tf-msg { font-size: 13px; }
.tf-msg.ok { color: #6ee7b7; } .tf-msg.err { color: #f0993e; }

/* ── learn, guides, faq ──────────────────────────────────────────── */
.tf-learn { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 20px; }
.tf-learn > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.tf-learn svg { flex: 1 1 420px; min-width: 0; width: 100%; height: auto; display: block; }
.tf-guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.tf-guide h3 { font-family: 'Orbitron', monospace; font-size: 16px; color: #ffe060; margin: 0 0 10px; }
.tf-guide h4 { font-family: 'Orbitron', monospace; font-size: 12px; letter-spacing: 1px; color: #ffd23f; margin: 14px 0 6px; text-transform: uppercase; }
.tf-guide p, .tf-guide li { font-size: 13px; color: rgba(255,255,255,0.78); }
.tf-guide ul, .tf-guide ol { padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.tf-guide table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 6px; }
.tf-guide th, .tf-guide td { text-align: left; padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.tf-guide th { font-family: 'Orbitron', monospace; font-size: 10px; letter-spacing: 1px; color: rgba(255,255,255,0.55); font-weight: 600; }
.tf-faq details { border-top: 1px solid rgba(255,255,255,0.1); padding: 14px 0; }
.tf-faq details:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.1); }
.tf-faq summary { cursor: pointer; font-size: 15px; }
.tf-faq details p { margin: 10px 0 0; color: rgba(255,255,255,0.65); font-size: 14px; }
.tf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tf-chips a { display: inline-flex; flex-direction: column; min-height: 44px; justify-content: center; padding: 6px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.16); text-decoration: none; color: #fff; font-size: 13px; }
.tf-chips a:hover { border-color: rgba(255,224,96,0.5); color: #fff; }
.tf-chips a span + span { font-size: 11px; color: rgba(255,255,255,0.6); }
.tf-links { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.tf-links span { color: rgba(255,255,255,0.3); }
.tf-asof { font-size: 12px; color: rgba(255,255,255,0.5); }
.tf-stats { display: flex; flex-wrap: wrap; gap: 10px; }
.tf-stats > div { flex: 1 1 150px; padding: 10px 12px; border-radius: 12px; background: rgba(13,18,38,0.9); border: 1px solid rgba(255,255,255,0.08); }
.tf-stats .v { font-family: 'Orbitron', monospace; font-size: 20px; font-weight: 700; color: #ffe060; }

/* ── others (every object) ────────────────────────────────────────── */
.tf-kit { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(96,234,254,0.35); background: rgba(13,18,38,0.9); font-size: 12px; }
.tf-next { background: rgba(13,18,38,0.9); border: 1px solid rgba(255,224,96,0.25); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; margin: 14px 0 16px; }
.tf-next-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.tf-next-g > div { padding: 10px 12px; border-radius: 12px; background: #070a18; border: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tf-next-g .cd { font-family: 'Orbitron', monospace; font-size: 17px; font-weight: 700; color: #ffe060; }
.tf-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tf-tab { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18); background: transparent; color: rgba(255,255,255,0.8); font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.tf-tab[aria-selected="true"] { background: rgba(255,224,96,0.14); border-color: rgba(255,224,96,0.6); color: #ffe060; }
.tf-tab .c { font-family: 'Orbitron', monospace; font-size: 10px; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,0.08); }
.tf-orow { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(13,18,38,0.9); border: 1px solid rgba(255,255,255,0.08); }
.tf-orow .c1 { flex: 0 0 190px; display: flex; flex-direction: column; }
.tf-orow .c2 { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; }
.tf-orow .cx { flex: 0 0 82px; display: flex; flex-direction: column; }
.tf-orow .cq { flex: 0 0 110px; display: flex; flex-direction: column; gap: 4px; }
.tf-orow .s { font-size: 11px; color: rgba(255,255,255,0.6); }
.tf-crow { padding: 14px 16px; border-radius: 14px; background: rgba(13,18,38,0.9); border: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; gap: 10px; }
.tf-strip24 { position: relative; height: 42px; border-radius: 8px; background: #05070f; border: 1px solid rgba(255,255,255,0.06); overflow: hidden; }
.tf-strip24 i { position: absolute; display: block; }
.tf-strip24 i.bd { top: 0; bottom: 0; background: rgba(255,224,96,0.07); border-left: 1px solid rgba(255,224,96,0.18); border-right: 1px solid rgba(255,224,96,0.18); }
.tf-strip24 i.tk { bottom: 5px; width: 2px; border-radius: 1px; }
.tf-strip24 i.now { top: 0; bottom: 0; left: 0; width: 2px; background: #60eafe; }
.tf-strip24 i.na { top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,0.07) 0 4px, transparent 4px 8px); border-left: 1px dashed rgba(255,255,255,0.25); }
.tf-strip-lab { display: flex; justify-content: space-between; font-size: 10px; color: rgba(255,255,255,0.5); margin-top: -4px; }
.tf-crow-h { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; font-size: 13px; }
.tf-crow-h .nm { font-family: 'Orbitron', monospace; font-size: 15px; font-weight: 700; color: #ffe060; min-width: 120px; }
.tf-crow-h .s2 { color: rgba(255,255,255,0.75); }
.tf-crow-f { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tf-ce-list { display: flex; flex-direction: column; gap: 6px; }
.tf-ce { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; padding: 8px 10px; border-radius: 10px; background: #070a18; }
.tf-ce .t { flex: 0 0 190px; }
.tf-ce .n { flex: 1 1 150px; color: #fff; min-width: 0; overflow-wrap: anywhere; }
.tf-orow .k { font-family: 'Orbitron', monospace; font-size: 9px; letter-spacing: 1px; color: rgba(255,255,255,0.5); }
.tf-orow .nm, .tf-next-g .nm { font-size: 14px; color: #fff; overflow-wrap: anywhere; }
.tf-orow .c1 b { font-size: 13px; }
#tf-others .tf-qbar { display: block; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
#tf-others .tf-qbar i { display: block; height: 5px; }
.tf-oth-list { display: flex; flex-direction: column; gap: 8px; }
#tf-others .tf-empty { padding: 14px; border-radius: 12px; border: none; background: rgba(13,18,38,0.9); font-size: 13px; color: rgba(255,255,255,0.7); }
#tf-others .tf-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tf-pager { display: flex; align-items: center; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.tf-oth-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tf-oth-q { flex: 1 1 300px; min-width: 0; height: 44px; box-sizing: border-box; background: #0d1226; border: 1px solid rgba(255,224,96,0.25); border-radius: 10px; color: #fff; padding: 0 14px; font-family: inherit; font-size: 14px; }
.tf-oth-q:focus { outline: 2px solid rgba(96,234,254,0.6); outline-offset: 1px; }
.tf-oth-one { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.tf-oth-one:empty { display: none; }
.tf-ot-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.tf-ot-one-h { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-size: 13px; }

/* ── field mode (red light) ───────────────────────────────────────── */
.tf-fm { position: fixed; inset: 0; z-index: 2000; background: #0b0204; color: #ffb3b3; overflow-y: auto; font-family: 'JetBrains Mono', monospace; font-size: 14px; line-height: 1.5; }
.tf-fm-in { max-width: 520px; margin: 0 auto; padding: 0 18px 120px; }
.tf-fm header { height: 60px; display: flex; align-items: center; justify-content: space-between; }
.tf-fm header img { border-radius: 5px; filter: grayscale(1) sepia(1) saturate(6) hue-rotate(-40deg) brightness(0.75); }
.tf-fm .t { font-family: 'Orbitron', monospace; font-weight: 700; letter-spacing: 2px; color: #ff4d4d; font-size: 14px; }
.tf-fm .ttl { font-family: 'Orbitron', monospace; font-size: 17px; font-weight: 700; color: #ffd0d0; }
.tf-fm .sub { font-size: 13px; color: #c98a8a; }
.tf-fm .cd { font-family: 'Orbitron', monospace; margin: 22px 0 8px; font-size: 52px; font-weight: 700; color: #ff4d4d; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tf-fm .box { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #170507; border: 1px solid rgba(255,77,77,0.35); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tf-fm .lab { font-family: 'Orbitron', monospace; font-size: 10px; color: #c98a8a; letter-spacing: 1.5px; }
.tf-fm .val { font-family: 'Orbitron', monospace; font-size: 18px; font-weight: 700; color: #ffd0d0; }
.tf-fm .aim { margin-top: 14px; display: flex; gap: 14px; align-items: center; }
.tf-fm .aim svg { width: 150px; height: 150px; flex: 0 0 150px; }
.tf-fm .tog { min-height: 48px; border-radius: 12px; background: transparent; border: 1px solid rgba(255,77,77,0.5); color: #ffd0d0; font-size: 14px; text-align: left; padding: 0 14px; cursor: pointer; width: 100%; }
.tf-fm .tog[aria-pressed="true"] { background: #2a0a0e; }
.tf-fm .exit { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 44px; border-radius: 10px; border: 1px solid rgba(255,77,77,0.5); background: transparent; color: #ffb3b3; font-size: 13px; cursor: pointer; }
.tf-fm .warn { margin-top: 18px; padding: 12px 14px; border-radius: 12px; border: 1px solid #ff4d4d; color: #ffd0d0; font-size: 13px; }
.tf-fm .snap { margin-top: 14px; width: 100%; border-radius: 12px; border: 1px solid rgba(255,77,77,0.35); filter: grayscale(1) sepia(1) saturate(4) hue-rotate(-40deg) brightness(0.8); }
.tf-fm .now { color: #ffd0d0; }
body.tf-fm-open { overflow: hidden; }

/* ── mobile bar ───────────────────────────────────────────────────── */
.tf-mbar { display: none; }
@media (max-width: 760px) {
  .tf-wrap { padding: 0 16px 90px; }
  .tf-hero { padding-top: 24px; gap: 24px; }
  .tf-h1 { font-size: 30px; }
  .tf-h2 { font-size: 20px; }
  .tf-cd-u { width: 58px; }
  .tf-cd-n { font-size: 30px; }
  .tf-cd-s { font-size: 24px; }
  .tf-map { height: 420px; }
  .tf-pmap.gl { height: 380px; }
  .tf-g2, .tf-out, .tf-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tf-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(7,10,24,0.95); border-top: 1px solid rgba(255,224,96,0.2); }
  .tf-mbar .tf-btn { flex: 1 1 0; }
  .tf-fm .cd { font-size: 40px; }
}
@media (max-width: 420px) {
  .tf-cd { gap: 4px; }
  .tf-cd-u { width: 50px; }
  .tf-cd-n { font-size: 26px; }
  .tf-orow .c1, .tf-orow .cx, .tf-orow .cq { flex-basis: 45%; }
}
@media print {
  .tf-mbar, .tf-fm, .tf-theatre, .tf-map, .tf-pmap { display: none !important; }
}
