/* Fonts are served from this site (fonts/, SIL OFL 1.1), so pages make no requests to Google.
   Variable fonts: one file per script covers every weight. Space Grotesk has no Cyrillic; Ukrainian text uses the system font. */
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:100 800;font-display:swap;src:url(/fonts/jetbrains-mono-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:100 800;font-display:swap;src:url(/fonts/jetbrains-mono-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:100 800;font-display:swap;src:url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:100 800;font-display:swap;src:url(/fonts/jetbrains-mono-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/space-grotesk-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/space-grotesk-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root{
  --void:#070e18;
  --void-2:#0a1523;
  --panel:rgba(12,24,38,.82);
  --panel-solid:#0c1826;
  --line:#1b3348;
  --ink:#eaf1f8;
  --muted:#89a0b8;
  --amber:#ffb23e;
  --amber-soft:#ffcd7a;
  --teal:#3fd0c9;
  --red:#ff5860;
  --green:#57d98a;
  --ua:#ffd500;
}
*{box-sizing:border-box;margin:0;padding:0}
[hidden]{display:none!important}
html,body{background:var(--void);color:var(--ink);
  font-family:'Space Grotesk',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
html.app,html.app body{height:100%;overflow:hidden}      /* the globe page is one fixed screen; text pages scroll */
#scene{position:fixed;inset:0;touch-action:none;cursor:grab}
#scene:active{cursor:grabbing}
.mono{font-family:'JetBrains Mono',ui-monospace,monospace;font-variant-numeric:tabular-nums}

/* ---- overlay chrome ---- */
.hud{position:fixed;pointer-events:none;inset:0;z-index:5}
.hud > *{pointer-events:auto}

header{position:fixed;top:0;left:0;right:0;padding:16px 20px;
  display:flex;align-items:center;gap:14px;
  background:linear-gradient(180deg,rgba(7,14,24,.85),rgba(7,14,24,0));z-index:6}
.glyph{width:34px;height:34px;flex:none;position:relative}
.glyph svg{width:100%;height:100%;display:block}
.title h1{font-size:16px;font-weight:700;letter-spacing:.02em;line-height:1}
.title p{font-size:11.5px;color:var(--muted);margin-top:3px;letter-spacing:.01em}
.src{margin-left:auto;display:flex;align-items:center;gap:10px}
.badge{font-family:'JetBrains Mono',monospace;font-size:10.5px;padding:5px 9px;border-radius:6px;
  border:1px solid var(--line);color:var(--muted);white-space:nowrap;background:rgba(10,21,35,.6)}
.badge.live{color:var(--green);border-color:rgba(87,217,138,.4)}
.badge.demo{color:var(--amber);border-color:rgba(255,178,62,.4)}
.badge .dot{display:inline-block;width:6px;height:6px;border-radius:50%;
  background:currentColor;margin-right:6px;vertical-align:middle}
.badge.live .dot{animation:blink 1.6s infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.25}}
.lang{display:flex;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:rgba(10,21,35,.6)}
.lang a{font-family:'JetBrains Mono',monospace;font-size:10.5px;letter-spacing:.04em;padding:5px 9px;
  color:var(--muted);text-decoration:none}
.lang a + a{border-left:1px solid var(--line)}
.lang a:hover{color:var(--ink)}
.lang a.on{background:var(--amber);color:var(--void);font-weight:700}
.lang a:focus-visible{outline:2px solid var(--amber);outline-offset:-2px}
.about-link{display:inline-flex;align-items:center;justify-content:center;flex:none;width:25px;height:25px;border-radius:50%;
  border:1px solid var(--line);background:rgba(10,21,35,.6);color:var(--muted);text-decoration:none;
  font-family:'JetBrains Mono',monospace;font-size:12px;font-weight:700}
.about-link:hover{color:var(--ink);border-color:var(--muted)}
button.about-link{padding:0;cursor:pointer}
.about-link svg{width:14px;height:14px}
.about-link:focus-visible{outline:2px solid var(--amber);outline-offset:2px}

/* ---- left telemetry panel ---- */
.panel{position:fixed;top:74px;left:20px;width:308px;
  background:var(--panel);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border:1px solid var(--line);border-radius:14px;z-index:6;
  box-shadow:0 18px 50px rgba(0,0,0,.5)}
.panel .sec{padding:14px 16px;border-bottom:1px solid var(--line)}
.panel .sec:last-child{border-bottom:none}
.lbl{display:block;font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.14em;
  color:var(--muted);text-transform:uppercase;margin-bottom:10px}
.stat-row{display:flex;gap:10px}
.stat{flex:1;background:rgba(7,14,24,.5);border:1px solid var(--line);border-radius:9px;padding:9px 11px}
.stat .n{font-family:'JetBrains Mono',monospace;font-size:22px;font-weight:700;line-height:1}
.stat .k{font-size:10.5px;color:var(--muted);margin-top:5px}
.stat.alert .n{color:var(--red)}
.stat.ok .n{color:var(--teal)}

.clock{font-family:'JetBrains Mono',monospace;font-size:13px;color:var(--amber-soft);
  display:flex;justify-content:space-between;align-items:baseline}
.clock + .clock{margin-top:6px}
.clock .secondary{color:var(--muted)}
.clock small{color:var(--muted);font-size:10px;letter-spacing:.1em}

/* controls */
.controls{display:flex;flex-direction:column;gap:12px}
.btn-row{display:flex;gap:8px}
button.ctl{flex:1;font-family:'Space Grotesk',sans-serif;font-size:12.5px;font-weight:500;
  color:var(--ink);background:rgba(7,14,24,.55);border:1px solid var(--line);
  border-radius:8px;padding:9px 6px;cursor:pointer;transition:border-color .15s,background .15s}
button.ctl:hover{border-color:var(--amber);background:rgba(255,178,62,.08)}
button.ctl:focus-visible{outline:2px solid var(--amber);outline-offset:2px}
button.ctl.on{border-color:var(--amber);color:var(--amber);background:rgba(255,178,62,.1)}
.speeds{display:flex;gap:6px}
.speeds button{flex:1;font-family:'JetBrains Mono',monospace;font-size:11px;padding:7px 0;
  color:var(--muted);background:transparent;border:1px solid var(--line);border-radius:7px;cursor:pointer}
.speeds button.on{color:var(--void);background:var(--amber);border-color:var(--amber);font-weight:700}
.toggles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tg{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);cursor:pointer;
  padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:rgba(7,14,24,.4)}
.tg .sw{width:30px;height:17px;border-radius:9px;background:#22384c;position:relative;flex:none;transition:background .15s}
.tg .sw::after{content:"";position:absolute;top:2px;left:2px;width:13px;height:13px;border-radius:50%;
  background:#6f8aa3;transition:transform .15s}
.tg.on{color:var(--ink)}
.tg.on .sw{background:rgba(63,208,201,.55)}
.tg.on .sw::after{transform:translateX(13px);background:var(--teal)}

/* city picker (combobox) */
.city{position:relative}
.city input{width:100%;font-family:'Space Grotesk',sans-serif;font-size:13px;color:var(--ink);
  background:rgba(7,14,24,.6);border:1px solid var(--line);border-radius:8px;padding:9px 30px 9px 10px}
.city input::placeholder{color:var(--muted)}
.city input:focus{outline:none;border-color:var(--amber)}
.city::after{content:"⌕";position:absolute;right:11px;top:19px;transform:translateY(-50%);   /* centred on the input, not on the open list */
  color:var(--muted);pointer-events:none;font-size:15px}
.city-list{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:10;list-style:none;
  max-height:min(280px,45vh);overflow-y:auto;padding:4px 0;
  background:var(--panel-solid);border:1px solid var(--line);border-radius:8px;box-shadow:0 14px 34px rgba(0,0,0,.55)}
.city-list li{padding:7px 10px;display:flex;flex-direction:column;gap:1px}
.city-list li[role=option]{cursor:pointer}
.city-list li[role=option]:hover,.city-list li[aria-selected=true]{background:rgba(255,178,62,.12)}
.city-list .nm{font-size:13px;color:var(--ink)}
.city-list .sub{font-size:10.5px;color:var(--muted)}
.city-list .grp{font-family:'JetBrains Mono',monospace;font-size:9.5px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--muted);padding:8px 10px 3px}
.city-list .status{font-size:11.5px;color:var(--muted);line-height:1.45}

/* next pass */
.nextpass{margin-top:10px;background:rgba(7,14,24,.5);border:1px solid var(--line);border-radius:9px;padding:10px 12px}
.nextpass .t{font-family:'JetBrains Mono',monospace;font-size:19px;font-weight:700;color:var(--amber-soft)}
.nextpass .d{font-size:11px;color:var(--muted);margin-top:3px}
.nextpass.live{border-color:rgba(255,88,96,.45)}
.nextpass.live .t{color:var(--red)}

/* ---- right panel: pass schedule and live feed ---- */
.side{position:fixed;top:74px;right:20px;width:332px;z-index:6;display:flex;flex-direction:column;
  max-height:calc(100vh - 74px - 46px);
  background:var(--panel);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.5)}
.tabs{display:flex;flex:none;border-bottom:1px solid var(--line)}
.tabs [role=tab]{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:7px;padding:11px 8px 9px;
  font-family:'Space Grotesk',system-ui,sans-serif;font-size:12.5px;font-weight:600;color:var(--muted);
  background:transparent;border:0;border-bottom:2px solid transparent;cursor:pointer}
.tabs [role=tab] + [role=tab]{border-left:1px solid var(--line)}
.tabs [role=tab] > span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tabs [role=tab]:hover{color:var(--ink)}
.tabs [role=tab][aria-selected=true]{color:var(--ink);border-bottom-color:var(--amber)}
.tabs [role=tab]:focus-visible{outline:2px solid var(--amber);outline-offset:-2px}
.tabs .r{width:7px;height:7px;border-radius:50%;background:#46607a;flex:none}
.tabs .unseen .r{background:var(--red);box-shadow:0 0 9px var(--red)}
.pane{display:flex;flex-direction:column;flex:1;min-height:0}

.sched-bar{display:flex;align-items:center;gap:10px;padding:10px 14px 8px}
.sched-city{flex:1;min-width:0;font-size:12px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* segmented buttons: period, view, gap, receiver */
.seg{display:flex;align-items:center;gap:4px;flex:none}
.seg button{font-family:'JetBrains Mono',monospace;font-size:10.5px;padding:4px 7px;color:var(--muted);white-space:nowrap;
  background:transparent;border:1px solid var(--line);border-radius:6px;cursor:pointer}
.seg button:hover{color:var(--ink)}
.seg button.on{color:var(--void);background:var(--amber);border-color:var(--amber);font-weight:700}
.seg button:focus-visible{outline:2px solid var(--amber);outline-offset:2px}
.seg-lbl{font-family:'JetBrains Mono',monospace;font-size:10px;color:var(--muted);white-space:nowrap}
.sched-opts{flex-wrap:wrap;justify-content:space-between;padding-top:0}
.seg.rx{margin-top:8px}
.seg.rx button{flex:1;padding:6px 4px;font-family:'Space Grotesk',system-ui,sans-serif;font-size:11.5px;font-weight:500}
.sched-legend{display:flex;gap:14px;padding:0 14px 9px;border-bottom:1px solid var(--line);font-size:10.5px;color:var(--muted)}
.sched-legend .k{display:flex;align-items:center;gap:5px}
.sched-legend b{font-family:'JetBrains Mono',monospace;font-weight:500;color:var(--ink)}
.sched-legend i,.pass .dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex:none}
.sched-legend .past i,.pass.past .dot{background:var(--red)}
.sched-legend .now i,.pass.now .dot{background:var(--green);box-shadow:0 0 8px var(--green)}
.sched-legend .next i,.pass.next .dot{background:var(--ua)}
.sched{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.day summary{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:8px 14px;background:var(--panel-solid);border-bottom:1px solid rgba(27,51,72,.6);
  font-size:12px;font-weight:600;cursor:pointer;list-style:none}
.day summary::-webkit-details-marker{display:none}
.day summary .dl::before{content:"▸";display:inline-block;width:12px;color:var(--muted);transition:transform .15s}
.day[open] summary .dl::before{transform:rotate(90deg)}
.day summary:focus-visible{outline:2px solid var(--amber);outline-offset:-2px}
.day.today summary{color:var(--amber-soft)}
.day .dc{font-size:10.5px;font-weight:400;color:var(--muted)}
.day ol{list-style:none}
.pass{display:grid;grid-template-columns:8px 1fr auto;column-gap:10px;row-gap:2px;align-items:center;
  padding:6px 14px 6px 16px;border-bottom:1px solid rgba(27,51,72,.35)}
.pass .tm{font-size:12.5px;color:var(--ink);white-space:nowrap}
.pass .tm small{font-size:10px;color:var(--muted)}
.pass .du{font-size:11px;color:var(--amber-soft);text-align:right;white-space:nowrap}
.pass .sub{grid-column:2 / 4;font-size:10.5px;color:var(--muted)}
.pass.past .tm,.pass.past .du{color:var(--muted)}
.pass.now{background:rgba(87,217,138,.09)}
.pass.now .tm{color:var(--green)}
.sched .empty,#feed .empty{padding:22px 15px;font-size:12px;color:var(--muted);text-align:center;line-height:1.6;white-space:pre-line}
.sched-note{flex:none;padding:8px 14px 10px;border-top:1px solid var(--line);font-size:10px;line-height:1.5;color:var(--muted)}
#feed{flex:1;min-height:0;overflow-y:auto}
.ev{padding:11px 15px;border-bottom:1px solid rgba(27,51,72,.55);display:flex;gap:10px;
  animation:slidein .35s ease}
@keyframes slidein{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
.ev .ic{font-size:15px;line-height:1.2}
.ev .m .n{font-size:13px;font-weight:600;color:var(--amber-soft)}
.ev .m .meta{font-family:'JetBrains Mono',monospace;font-size:10.5px;color:var(--muted);margin-top:3px;line-height:1.5}
.ev.leave .n{color:var(--muted)}
.ev.new .n{color:var(--green)}
.no-anim .ev{animation:none}

footer{position:fixed;bottom:0;left:0;right:0;padding:9px 20px;z-index:6;
  font-family:'JetBrains Mono',monospace;font-size:10px;color:var(--muted);
  display:flex;gap:16px;align-items:center;
  background:linear-gradient(0deg,rgba(7,14,24,.8),rgba(7,14,24,0));pointer-events:none;flex-wrap:wrap}
footer .lg{display:flex;align-items:center;gap:6px}
footer .ft-link{color:var(--muted);pointer-events:auto}
footer .ft-link:hover{color:var(--ink)}
footer .sw{width:10px;height:10px;border-radius:2px}
footer .sw.sat{background:var(--amber)}
footer .sw.alert{background:var(--red)}
footer .sw.zone{background:var(--ua)}
footer #footZone{color:var(--amber);margin-left:auto}

.city-lbl{position:fixed;transform:translate(-50%,-190%);font-family:'JetBrains Mono',monospace;
  font-size:11px;color:var(--teal);pointer-events:none;z-index:4;white-space:nowrap;
  text-shadow:0 0 8px rgba(7,14,24,.9);letter-spacing:.05em}
.city-lbl::after{content:"";position:absolute;left:50%;top:100%;width:1px;height:14px;
  background:var(--teal);transform:translateX(-.5px)}

/* ---- dialogs ---- */
.dlg{margin:auto;width:min(440px,calc(100vw - 32px));padding:22px;color:var(--ink);background:var(--panel-solid);
  border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.6)}
.dlg::backdrop{background:rgba(3,8,14,.68);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.dlg-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.dlg h2{font-size:17px;font-weight:700}
.dlg-x{padding:0 4px;font-size:24px;line-height:1;color:var(--muted);background:none;border:0;cursor:pointer}
.dlg-x:hover{color:var(--ink)}
.dlg button.ctl{flex:none;padding:9px 20px}
button.ctl.primary{color:var(--void);background:var(--amber);border-color:var(--amber);font-weight:700}
button.ctl.primary:hover{background:var(--amber-soft)}
button.ctl:disabled{opacity:.6;cursor:default}
.glory{width:min(420px,calc(100vw - 32px));padding:30px 26px 24px;text-align:center}
.glory-text{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px;margin-bottom:24px;
  font-size:27px;font-weight:700;line-height:1.25}
.flag-ua{display:inline-block;flex:none;width:54px;height:36px;border-radius:4px;
  background:linear-gradient(#0057b7 0 50%,#ffd700 50% 100%);box-shadow:0 0 0 1px rgba(255,255,255,.16)}
.fb-hint{margin-bottom:12px;font-size:12.5px;line-height:1.55;color:var(--muted)}
.fb textarea{display:block;width:100%;min-height:128px;max-height:50vh;resize:vertical;padding:10px 12px;
  font-family:'Space Grotesk',system-ui,sans-serif;font-size:14px;line-height:1.5;color:var(--ink);
  background:rgba(7,14,24,.6);border:1px solid var(--line);border-radius:8px}
.fb textarea:focus{outline:none;border-color:var(--amber)}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.fb-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;min-height:18px;margin-top:8px;font-size:12px}
.fb-status{color:var(--muted);line-height:1.45}
.fb-status.err{color:var(--red)}
.fb-status.ok{color:var(--green)}
.fb-count{flex:none;font-size:11px;color:var(--muted)}
.fb-count.over{color:var(--red)}
.fb-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}

/* without JavaScript the globe cannot start: say so above the loader */
.noscript{position:fixed;inset:0;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:14px;padding:24px;background:var(--void);text-align:center;font-size:15px;line-height:1.6;color:var(--muted)}
.noscript a{color:var(--teal)}

/* loader */
#loader{position:fixed;inset:0;background:var(--void);z-index:20;display:flex;
  flex-direction:column;align-items:center;justify-content:center;gap:18px;transition:opacity .5s}
#loader.gone{opacity:0;pointer-events:none}
.spin{width:46px;height:46px;border:2px solid var(--line);border-top-color:var(--amber);
  border-radius:50%;animation:sp 1s linear infinite}
@keyframes sp{to{transform:rotate(360deg)}}
#loader p{font-family:'JetBrains Mono',monospace;font-size:12px;color:var(--muted);letter-spacing:.06em}

/* mobile */
/* ---- phones (html.m, set by app.js for narrow or short screens): the globe on top, one bottom sheet ----
   app.js moves the panel sections and the schedule/feed panes into the sheet and back. */
.sheet{display:none}
html.m .panel,html.m .side,html.m footer{display:none}
html.m header{padding:12px 14px;gap:10px}
html.m .title{min-width:0}
html.m .title h1{font-size:15px;white-space:nowrap}
html.m .src{gap:8px}
html.m .title p,html.m .h1-3d{display:none}      /* room for the status badge, About link and language switch */
html.m .sched-note{display:none}
html.m .sched-legend{gap:10px}
html.m .city-list{position:static;margin-top:4px;max-height:34vh}
html.m .sheet{display:flex;flex-direction:column;position:fixed;left:0;right:0;bottom:0;z-index:7;height:var(--sheet-h,140px);
  background:var(--panel-solid);border:1px solid var(--line);border-bottom:0;border-radius:16px 16px 0 0;
  box-shadow:0 -14px 40px rgba(0,0,0,.5);padding-bottom:env(safe-area-inset-bottom);transition:height .22s ease}
html.m .sheet.dragging{transition:none}
.sheet-grip{flex:none;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.sheet-handle{display:flex;width:100%;height:20px;align-items:center;justify-content:center;background:none;border:0;cursor:inherit}
.sheet-handle span{width:42px;height:4px;border-radius:2px;background:#3b5872}
.sheet-handle:focus-visible{outline:2px solid var(--amber);outline-offset:-2px}
.sheet-peek{display:flex;align-items:baseline;gap:10px;min-width:0;min-height:36px;padding:0 16px 10px}
.pk-city{flex:none;max-width:34%;padding:0;font:600 13px 'Space Grotesk',system-ui,sans-serif;color:var(--teal);
  background:none;border:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.pk-time{flex:none;font-size:18px;font-weight:700;color:var(--amber-soft)}
.sheet-peek.live .pk-time{color:var(--red)}
.pk-desc{flex:1;min-width:0;font-size:11px;color:var(--muted);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sheet-tabs{flex:none;display:flex;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.sheet-tabs [role=tab]{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 4px 8px;
  font:600 12px 'Space Grotesk',system-ui,sans-serif;color:var(--muted);background:none;border:0;border-bottom:2px solid transparent;cursor:pointer;white-space:nowrap}
.sheet-tabs [role=tab][aria-selected=true]{color:var(--ink);border-bottom-color:var(--amber)}
.sheet-tabs [role=tab]:focus-visible{outline:2px solid var(--amber);outline-offset:-2px}
.sheet-tabs .r{width:7px;height:7px;border-radius:50%;background:#46607a;flex:none}
.sheet-tabs .unseen .r{background:var(--red);box-shadow:0 0 9px var(--red)}
.sheet-body{flex:1;min-height:0;display:flex;flex-direction:column}
.sheet-pane{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.sheet-pane.lists{display:flex;flex-direction:column;overflow:hidden}   /* schedule and feed scroll their own list */
.sheet .sec{padding:12px 16px;border-bottom:1px solid var(--line)}
.sheet .sec:last-child{border-bottom:none}
@media (prefers-reduced-motion:reduce){ html.m .sheet{transition:none} }
@media (prefers-reduced-motion:reduce){
  .badge.live .dot{animation:none}
  .ev{animation:none}
}

/* ---- text pages (About) ---- */
.doc-head{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:12px;padding:12px 20px;
  background:rgba(7,14,24,.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;
  font-size:15px;font-weight:700;letter-spacing:.02em}
.brand .glyph{width:30px;height:30px}
.doc-head .src{margin-left:auto}
.doc-main{max-width:760px;margin:0 auto;padding:40px 20px 56px}
.doc-main h1{font-size:clamp(26px,5vw,38px);line-height:1.18;letter-spacing:-.01em}
.doc-main .lead{margin-top:14px;font-size:17px;line-height:1.65;color:var(--ink)}
.doc-main h1.next{margin-top:44px}
.doc-main h2{margin:44px 0 12px;font-size:21px;line-height:1.3;color:var(--amber-soft)}
.doc-main h3{margin:24px 0 6px;font-size:16px;line-height:1.4;color:var(--ink)}
.doc-main p,.doc-main li{font-size:15.5px;line-height:1.7;color:#c6d3e1}
.doc-main p + p,.doc-main ul + p{margin-top:12px}
.doc-main ul{margin:10px 0 0 20px}
.doc-main li + li{margin-top:6px}
.doc-main a{color:var(--teal);text-underline-offset:2px}
.doc-main strong{color:var(--ink);font-weight:600}
.doc-main .note{margin-top:10px;font-size:13.5px;color:var(--muted)}
.doc-main .goal{margin-top:36px;padding:4px 20px 18px;background:var(--void-2);border:1px solid var(--line);border-left:3px solid var(--ua);border-radius:10px}
.doc-main .goal h2{margin-top:14px}
.doc-main .cta{display:inline-block;margin-top:22px;padding:11px 18px;border-radius:10px;
  background:var(--amber);color:var(--void);font-weight:700;text-decoration:none}
.doc-main .cta:hover{background:var(--amber-soft)}
.doc-main .cta:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.table-wrap{margin-top:14px;overflow-x:auto;border:1px solid var(--line);border-radius:10px}
.table-wrap table{width:100%;border-collapse:collapse;font-size:14px;min-width:520px}
.table-wrap th,.table-wrap td{padding:10px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);color:#c6d3e1}
.table-wrap th{font-family:'JetBrains Mono',monospace;font-size:11px;font-weight:500;letter-spacing:.04em;
  text-transform:uppercase;color:var(--muted);background:var(--void-2)}
.table-wrap tr:last-child td{border-bottom:0}
/* header/footer elements are fixed overlays on the globe page; on text pages they sit in the flow */
.doc-foot{position:static;display:block;pointer-events:auto;background:none;
  border-top:1px solid var(--line);padding:22px 20px 32px;text-align:center;
  font-family:'JetBrains Mono',monospace;font-size:11.5px;line-height:1.8;color:var(--muted)}
.doc-foot a{color:var(--muted)}
.doc-foot a:hover{color:var(--ink)}
@media (max-width:820px){
  .doc-head{padding:10px 14px}
  .doc-main{padding:28px 16px 44px}
}

