/* TunnelHQ public status page, version 4 (3 Nov 2026, after the design review): incident.io's layout (measured 3 Nov 2026) in
   TunnelHQ's colours, taken from the dashboard's own tokens (frontend/src/index.css). Light by default; .dark on <html> per page.
   One scale everywhere: amber is degraded, orange a partial outage, red a full outage, blue maintenance, grey too few checks. */
:root {
  --page: hsl(220 20% 97%); --bg: #fff; --border: hsl(220 14% 87%); --border-strong: hsl(220 14% 78%); --divider: hsl(220 16% 95%);
  --text: hsl(224 20% 12%); --title: hsl(224 20% 12%); --name: hsl(224 20% 12%);
  --text2: hsl(220 11% 38%); --muted: hsl(220 10% 45%); --body: hsl(220 11% 38%); --flink: hsl(220 11% 38%); --chev: hsl(220 10% 68%);
  --primary: hsl(175 77% 26%); --primary-fg: #fff; --primary-h: hsl(175 77% 21%);
  /* status hues: the dashboard's bright ones for bars and icons; amber darkened to hsl(38 95% 38%) so a mark on white reads at 3:1 */
  --ok: hsl(161 94% 27%); --degraded: hsl(38 95% 38%); --partial: hsl(24 92% 54%); --full: hsl(0 84% 60%); --maint: hsl(217 91% 60%); --nodata: hsl(220 14% 94%);
  --ok-h: hsl(161 94% 21%); --degraded-h: hsl(38 95% 31%); --partial-h: hsl(24 92% 46%); --full-h: hsl(0 74% 50%); --maint-h: hsl(217 80% 50%);
  --ok-strip: hsl(161 60% 95%);
  --ok-t: var(--ok); --degraded-t: hsl(32 92% 34%); --partial-t: hsl(24 92% 38%); --full-t: hsl(0 74% 44%); --maint-t: hsl(217 80% 45%); --degraded-strip: hsl(42 95% 93%); --partial-strip: hsl(24 92% 95%); --full-strip: hsl(0 84% 96%); --maint-strip: hsl(217 91% 96%);
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.04);
  --btn-bg: var(--primary); --btn-fg: var(--primary-fg); --btn-bd: var(--primary); --btn-bg-h: var(--primary-h);
  --ovl: rgba(16,24,40,.08); --tab-on: var(--primary); --inp-bd: hsl(220 14% 82%); --ph: hsl(220 10% 62%); --dsub-bg: hsl(220 16% 94%);
  --seg-on: #fff; --seg-shadow: 0 1px 2px rgba(16,24,40,.10);
  color-scheme: light;
}
html.dark {
  --page: hsl(228 14% 7%); --bg: hsl(228 14% 9%); --border: hsl(225 15% 15%); --border-strong: hsl(216 15% 21%); --divider: hsl(225 15% 12%);
  --text: hsl(220 20% 97%); --title: hsl(220 20% 97%); --name: hsl(220 16% 88%);
  --text2: hsl(220 10% 58%); --muted: hsl(220 10% 56%); --body: hsl(220 10% 60%); --flink: hsl(220 10% 70%); --chev: hsl(220 10% 40%);
  --primary: hsl(172 66% 50%); --primary-fg: hsl(228 14% 7%); --primary-h: hsl(172 66% 44%);
  --ok: hsl(160 72% 44%); --degraded: hsl(42 95% 55%); --partial: hsl(24 92% 56%); --full: hsl(0 84% 60%); --maint: hsl(217 91% 62%); --nodata: hsl(225 15% 13%);
  --ok-h: hsl(160 72% 52%); --degraded-h: hsl(42 95% 62%); --partial-h: hsl(24 92% 63%); --full-h: hsl(0 84% 67%); --maint-h: hsl(217 91% 70%);
  --ok-strip: hsl(160 45% 12%);
  --ok-t: var(--ok); --degraded-t: var(--degraded); --partial-t: var(--partial); --full-t: var(--full); --maint-t: var(--maint); --degraded-strip: hsl(42 55% 12%); --partial-strip: hsl(24 50% 13%); --full-strip: hsl(0 45% 14%); --maint-strip: hsl(217 45% 15%);
  --shadow: none;
  --ovl: rgba(5,6,9,.72); --inp-bd: hsl(216 15% 21%); --ph: hsl(220 10% 42%); --dsub-bg: hsl(225 15% 14%);
  --seg-on: hsl(225 15% 17%); --seg-shadow: none;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--page); color: var(--text); }
/* room for a scrollbar on every page, long or short: without it a long page sat 7px left of a short one */
html { scrollbar-gutter: stable; }
body { font: 400 16px/24px Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; color: inherit; }
var { font-style: normal; }
.container { max-width: 868px; margin: 0 auto; padding: 16px 8px; }
.col { padding: 0 16px; display: flex; flex-direction: column; gap: 24px; }
#live { display: contents; }
/* a private page's password form (renderAccess): one narrow column, the field and Open, the error line always holding its room */
.acc { width: 100%; max-width: 360px; margin: 14vh auto 0; display: flex; flex-direction: column; }
.acc-m { margin-bottom: 20px; }
.acc-n { display: block; font: 600 18px/24px Inter, Arial, sans-serif; color: var(--title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-t { margin: 0; font: 650 22px/28px Inter, Arial, sans-serif; color: var(--title); }
.acc-d { margin: 4px 0 20px; font-size: 14px; line-height: 20px; color: var(--muted); }
.acc form { display: flex; flex-direction: column; }
.acc label { margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--title); }
.acc input { height: 40px; padding: 0 12px; border: 1px solid var(--inp-bd); border-radius: 8px; background: var(--bg); color: var(--text); font: 400 15px Inter, Arial, sans-serif; }
.acc input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.acc-e { min-height: 20px; margin: 6px 0 8px; font-size: 13px; line-height: 20px; color: var(--full-t); }
.acc-b { height: 40px; justify-content: center; font-weight: 500; }   /* what keeps itself current: its blocks stay the column's own, gaps and all */
.nw { white-space: nowrap; }

/* header */
.hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: max(36px, var(--lg-h, 32px)); margin-top: 16px; }
/* The name gives way to the buttons, one line cut with …: on a phone it wrapped and touched Get in touch */
.logo { min-width: 0; margin: 0; font: 500 24px/32px Inter, Arial, sans-serif; }
.wm { display: block; font: 600 20px/24px Inter, Arial, sans-serif; letter-spacing: -.4px; color: var(--title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Bordered in light and dark: filled, it was the loudest thing on the page (owner's pick, 4 Nov 2026, after Better Stack's) */
.sub-btn { height: 34px; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--border-strong); background: none; color: var(--title);
  font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: -.07px; white-space: nowrap; cursor: pointer; }
.sub-btn:hover { background: var(--divider); }
/* Get in touch and Subscribe 8px apart, as in the tabs header; Go to … keeps its 20px */
.hd-r { display: flex; flex: none; align-items: center; gap: 4px; }
.hd-r > .site { margin-inline-end: 16px; }
.site { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; color: var(--text2); white-space: nowrap; text-decoration: none; cursor: pointer; }
.site:hover { color: var(--title); }

/* the page's headline: the state in a few words, centred (owner's pick, 4 Nov 2026, after Better Stack's); one line */
.hl { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 0 8px; }
.hl .ic { width: 32px; height: 32px; margin: 0 0 12px; }
.hl-t { max-width: 100%; margin: 0; font-size: 30px; line-height: 36px; font-weight: 650; color: var(--title);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl-m { max-width: 100%; margin: 6px 0 0; font-size: 14px; line-height: 20px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.dark .hl-m { color: var(--text2); }
.hl-d { max-width: 560px; margin: 12px 0 0; font-size: 15px; line-height: 22px; color: var(--text2); }
/* "Get in touch" beside Subscribe, the same bordered button */
.ct-btn { display: inline-flex; align-items: center; margin-inline-end: 4px; text-decoration: none; }
/* a brand colour (Appearance, as Hyperping's "Buttons and links"): buttons filled with it, links in its readable shades */
html[data-brand] .sub-btn { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
html[data-brand] .sub-btn:hover { background: var(--btn-bg-h); }
html[data-brand] .lnk { color: var(--lnk-l); }
html.dark[data-brand] .lnk { color: var(--lnk-d); }

/* incidents and maintenance: white cards under the headline, the state only in the icon and the status words (the
   tinted strip and coloured border read as an alarm box) */
.banner { border: 1px solid var(--border); border-radius: 8px; background: var(--bg); box-shadow: var(--shadow); }
.b-ok .bstat { color: var(--ok-t); } .b-degraded .bstat { color: var(--degraded-t); } .b-partial .bstat { color: var(--partial-t); }
.b-full .bstat { color: var(--full-t); } .b-maint .bstat { color: var(--maint-t); }
.bt { margin: 0; font: inherit; color: inherit; }
.bin { border-radius: 7px; background: var(--bg); overflow: hidden; }
.bhead { padding: 14px 16px; }
.btitle { display: flex; align-items: flex-start; padding: 2px 0; font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -.2px; color: var(--title); }
.btitle .ic { margin-top: 4px; }
.back { display: inline-flex; color: var(--title); opacity: .45; margin-top: 4px; margin-inline-end: 8px; }
.back .ch16 { width: 16px; height: 16px; }
.bbody { padding: 16px; font-size: 14px; line-height: 20px; color: var(--title); }
.bstat { padding: 12px 16px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bmsg { margin-top: 12px; padding: 4px 16px 0; font-size: 14px; line-height: 21px; color: var(--title); white-space: pre-line; }
.bmeta { padding: 12px 16px; font-size: 14px; line-height: 20px; color: var(--text2); }
.lnk { color: var(--primary); font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap; }
/* an address inside an update: underlined so it reads as a link in running text, and broken anywhere so a long one never widens the page */
.ubody .lnk, .bmsg .lnk { font-weight: inherit; white-space: normal; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 2px; }

/* cards */
.card { padding: 1px; border-radius: 8px; background: var(--border); box-shadow: var(--shadow); }
.cin { border-radius: 7px; background: var(--bg); }
.chead { display: flex; align-items: center; gap: 16px; min-height: 53px; padding: 14px 16px; border-bottom: 1px solid var(--divider); }
.chead h2 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -.2px; color: var(--title); white-space: nowrap; }
.range { display: flex; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; color: var(--muted); white-space: nowrap; }
.rarr { display: inline-flex; color: var(--muted); } .rarr.dis { color: var(--border); }
.ch16 { width: 16px; height: 16px; }
.grow { flex: 1; }
.overall { font-size: 14px; line-height: 20px; color: var(--muted); white-space: nowrap; }
.overall var { color: var(--title); font-weight: 500; }
.up var, .overall var { font-variant-numeric: tabular-nums; }
.view { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--divider); }
.view button { border: 0; background: none; padding: 3px 10px; border-radius: 6px; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--text2); white-space: nowrap; cursor: pointer; }
.view button.on { background: var(--seg-on); color: var(--title); box-shadow: var(--seg-shadow); }

/* rows */
.rows > .row + .row { border-top: 1px solid var(--divider); }
.row { position: relative; padding: 12px 16px; }
.rhead { display: flex; align-items: center; height: 28px; min-width: 0; }
.ic { width: 16px; height: 16px; flex: none; margin-inline-end: 8px; }
.rhead h3 { min-width: 0; margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--name); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub { margin-inline-start: 8px; font-size: 14px; line-height: 20px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cnt { display: inline-flex; align-items: center; margin-inline-start: 8px; padding: 0; border: 0; background: none; font-size: 14px; line-height: 20px; color: var(--text2); white-space: nowrap; cursor: pointer; }
.cnt:hover { color: var(--title); }
.chw { display: inline-flex; align-items: center; justify-content: center; width: 12px; height: 24px; margin-inline-start: 4px; margin-top: 2px; color: var(--chev); }
.chs { width: 10px; height: 6px; transform: rotate(-90deg); transition: transform .2s ease-out; } .chs.open { transform: none; }
.up { margin-inline-start: 16px; font-size: 14px; line-height: 20px; color: var(--muted); white-space: nowrap; }
.up.ok { color: var(--ok-t); } .up.degraded { color: var(--degraded-t); } .up.partial { color: var(--partial-t); }
.up.full { color: var(--full-t); } .up.maint { color: var(--maint-t); }
.up var { color: inherit; font-weight: 500; }
.phchev { display: none; }
.barwrap { position: relative; margin: 4px 0; }
.bars { display: block; width: 100%; height: 32px; }
.b30, .a30 { display: none; }   /* the last 30 days and their label, for a phone (render.js bars, axis) */
rect.b.ok { fill: var(--ok); } rect.b.degraded { fill: var(--degraded); } rect.b.partial { fill: var(--partial); }
rect.b.full { fill: var(--full); } rect.b.maint { fill: var(--maint); } rect.b.nodata { fill: var(--nodata); }
/* the bar the card is about */
rect.b.ok.hov { fill: var(--ok-h); } rect.b.degraded.hov { fill: var(--degraded-h); } rect.b.partial.hov { fill: var(--partial-h); }
rect.b.full.hov { fill: var(--full-h); } rect.b.maint.hov { fill: var(--maint-h); } rect.b.nodata.hov { fill: var(--border-strong); }
.axis { display: flex; justify-content: space-between; font-size: 12px; line-height: 16px; color: var(--muted); }
.rows + .axis { padding: 0 16px 12px; }
.row.open .kids { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.kid .barwrap { margin: 4px 0; }

/* bar tooltip, and the same box under a dot */
.tip { position: fixed; top: 0; left: 0; z-index: 90; width: 256px; padding-top: 4px; pointer-events: none; }
.tbox { display: block; padding: 4px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); box-shadow: var(--shadow); }
.tdate { display: block; padding: 4px; font-size: 14px; line-height: 20px; color: var(--muted); white-space: nowrap; }
html.dark .tdate { color: var(--text2); }
.tline { display: flex; align-items: flex-start; min-height: 32px; padding: 4px 8px; border-radius: 4px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--name); }
.tline .ic { margin-top: 2px; }
.tfoot { display: block; margin-top: 4px; padding: 6px 8px 4px; border-top: 1px solid var(--divider); font-size: 12px; line-height: 16px; color: var(--text2); white-space: nowrap; }
.tip[hidden], .tfoot[hidden] { display: none; }
.tic { display: contents; }
/* an incident's name is cut, never wrapped, in the 256px card */
.tline .tword { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* footer */
.ft { margin-top: 24px; padding-bottom: 24px; text-align: center; }
.pw { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; color: var(--muted); }
html.dark .pw { color: var(--text2); }
.pw-logo { height: 15px; width: auto; color: var(--text2); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.flinks { margin: 16px 0 0; font-size: 12px; line-height: 16px; color: var(--flink); }

/* subscribe dialog (ours: Telegram beside email, Slack and RSS; the page's services by name; maintenance as its own choice) */
.ovl { position: fixed; inset: 0; z-index: 100; overflow: auto; background: var(--ovl); }
.dlg { width: 624px; max-width: calc(100vw - 32px); margin: 90px auto; border-radius: 8px; background: var(--bg); filter: drop-shadow(0 10px 8px rgba(0,0,0,.04)) drop-shadow(0 4px 3px rgba(0,0,0,.1)); }
html.dark .dlg { border: 1px solid var(--border); filter: none; }
.dhead { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--border); }
.dhead h2 { margin: 0; font-size: 18px; line-height: 28px; font-weight: 500; color: var(--title); }
.dx { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 9999px; background: none; color: var(--body); cursor: pointer; }
.dbody { padding: 16px; }
.tabs { display: flex; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 8px 12px 6px; border: 0; border-bottom: 2px solid transparent; background: none; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); white-space: nowrap; cursor: pointer; }
html.dark .tab { color: var(--text2); }
.tab.on { color: var(--title); border-bottom-color: var(--tab-on); }
.lbl { display: block; margin-bottom: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--title); }
.inp { display: block; width: 100%; height: 38px; padding: 8px 12px; border: 1px solid var(--inp-bd); border-radius: 8px; background: var(--bg); font-size: 14px; line-height: 20px; }
.inp::placeholder { color: var(--ph); }
.fs { margin: 16px 0 0; padding: 0; border: 0; }
.fs legend { margin-bottom: 8px; padding: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--title); }
.rbox { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding: 12px 16px; border: 1px solid var(--inp-bd); border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--title); cursor: pointer; }
html.dark .rbox { border-color: var(--border); }
.rbox.sel { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.radio { width: 16px; height: 16px; flex: none; border-radius: 9999px; box-shadow: inset 0 0 0 1.5px var(--inp-bd); }
.radio.on { box-shadow: inset 0 0 0 5px var(--primary); }
.rbox .rtext { flex: 1; min-width: 0; }
.rcount { font-size: 13px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.rbox.two { align-items: flex-start; } .rbox.two .radio { margin-top: 2px; }
.rsub { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; font-weight: 400; color: var(--muted); }
.chkrow { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--title); cursor: pointer; }
.chk { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; flex: none; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--inp-bd); color: transparent; }
.chk.on { background: var(--primary); box-shadow: none; color: var(--primary-fg); }
.dfoot { display: flex; justify-content: flex-end; padding: 16px; border-top: 1px solid var(--border); }
.dfoot.v4 { justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.dconf { font-size: 13px; line-height: 18px; color: var(--muted); }
.dsub { height: 36px; padding: 8px 12px; border: 0; border-radius: 6px; background: var(--dsub-bg); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--title); cursor: pointer; white-space: nowrap; }
.dsub.primary { background: var(--primary); color: var(--primary-fg); }
.dsub.primary:hover { background: var(--primary-h); }

/* incident page: affected services and updates. The updates list (a dot column) is the page's one timeline, reused by Past incidents. */
.aff .tl { position: relative; height: 36px; border-bottom: 1px solid var(--divider); }
.aff .tlab { position: absolute; top: 10px; font-size: 12px; line-height: 16px; color: var(--muted); white-space: nowrap; }
.aff .tlab.r { right: 16px; }
.aff .tick { position: absolute; top: 28px; width: 1px; height: 8px; background: var(--divider); }
.arow { padding: 12px 16px 16px; }
.arow .cnt { margin-inline-start: 8px; }
.dur { position: relative; height: 16px; margin-top: 4px; }
.seg { position: absolute; top: 0; bottom: 0; border-radius: 1px; }
.seg.ok { background: var(--ok); } .seg.partial { background: var(--partial); } .seg.degraded { background: var(--degraded); } .seg.full { background: var(--full); }
.ups { padding: 16px 16px 16px 8px; }
.up-i { display: flex; gap: 8px; }
.dotcol { position: relative; flex: none; width: 16px; }
.dot { position: absolute; left: 5px; top: 7px; width: 6px; height: 6px; border-radius: 9999px; }
.vline { position: absolute; left: 7.5px; top: 20px; bottom: -7px; width: 1px; }
.utext { min-width: 0; padding-bottom: 24px; }
.up-i:last-child .utext { padding-bottom: 0; }
.ulab { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--title); }
.ubody { margin: 12px 0; font-size: 14px; line-height: 21px; color: var(--title); white-space: pre-line; }
.uts { font-size: 14px; line-height: 20px; color: var(--body); }
html.dark .uts { color: rgb(149,149,157); }

/* past incidents: title, the date in grey beside it, then the same updates list as the incident page */
.prev { padding-top: 8px; }
.prev h1, .prev h2 { margin: 0 0 4px; font-size: 18px; line-height: 28px; font-weight: 600; color: var(--title); }
.pi { padding: 20px 0; border-bottom: 1px solid var(--border); }
.pi-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.pi-t { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--title); min-width: 0; }
.pi-d { flex: none; font-size: 14px; line-height: 20px; color: var(--muted); white-space: nowrap; }
.pi .ups { padding: 0; }
.pi .vline { background: var(--border); }
.pi .utext { padding-bottom: 16px; }
.pi .up-i:last-child .utext { padding-bottom: 0; }
.more5 { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 20px 0 8px; font-size: 14px; font-weight: 500; color: var(--title); cursor: pointer; }

/* ---------------- version 4 options (3 Nov 2026): every variant is in the page; a class on <html> picks one ---------------- */
.o { display: none; }
html.hd-a .o-hd-a, html.hd-b .o-hd-b, html.parts-a .o-parts-a, html.parts-b .o-parts-b, html.cal-e .o-cal-e, html.past-1 .o-past-1 { display: contents; }

/* header option b: a website header with tabs (Better Stack) */
.tn { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; height: 61px; margin-top: -8px; }
.tn::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-bottom: 1px solid var(--border); }
.tn-l { display: flex; align-items: center; min-width: 0; }
.tn-c { display: flex; justify-content: center; gap: 8px; }
.tab5 { display: inline-flex; align-items: center; height: 30px; padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 14px; font-weight: 500; color: var(--text2); white-space: nowrap; cursor: pointer; }
.tab5.on { background: var(--divider); color: var(--title); }
.tn-r { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 0; background: none; color: var(--title); cursor: pointer; }

/* services option b: folded grey rows (Better Stack's fold); open and closed headers look the same, and line up */
.rows5 { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.g5 { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 10px 12px 10px 16px; border: 0; border-radius: 8px; background: var(--divider); font: inherit; text-align: start; cursor: pointer; }
.g5.open { background: none; }
.g5 .ic { margin-inline-end: 0; } .g5 .up { margin-inline-start: 0; }
.g5n { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--title); white-space: nowrap; }
.g5k { font-size: 14px; line-height: 20px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.g5c { display: inline-flex; color: var(--chev); flex: none; }
.g5o { display: flex; flex-direction: column; }
.g5kids { display: flex; flex-direction: column; gap: 12px; padding: 4px 16px 8px; }
.g5kids .axis { margin-top: -4px; }

/* calendar option e: six months of dots (updown.io's grid) in the bars' colours; future days blank; the dot's tooltip says the duration */
.months5 .e-body { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 10px; padding: 16px; }
.e-mh { font-size: 13px; line-height: 20px; font-weight: 500; color: var(--title); white-space: nowrap; }
.e-mu { margin-bottom: 8px; font-size: 12px; line-height: 16px; color: var(--muted); white-space: nowrap; }
.e-mu var { font-variant-numeric: tabular-nums; }
.e-grid { display: grid; grid-template-columns: repeat(7, 8px); gap: 5px; }
.e-dot { position: relative; width: 8px; height: 8px; border-radius: 9999px; background: var(--ok); }
.e-dot.blank { background: transparent; }
.e-dot.degraded { background: var(--degraded); } .e-dot.partial { background: var(--partial); } .e-dot.full { background: var(--full); } .e-dot.maint { background: var(--maint); }
.e-dot.today { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--primary); }
.dtip { position: absolute; top: 12px; left: 50%; z-index: 90; width: 232px; transform: translateX(-50%); pointer-events: none; }
.lg5 { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 16px 14px; border-top: 1px solid var(--divider); font-size: 12px; line-height: 16px; color: var(--muted); }
.lg5 span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.e-k { display: inline-block; width: 8px; height: 8px; border-radius: 9999px; }
.e-k.ok { background: var(--ok); } .e-k.degraded { background: var(--degraded); } .e-k.partial { background: var(--partial); } .e-k.full { background: var(--full); } .e-k.maint { background: var(--maint); }

/* phone (390): one 358px column; range, counts and the view switch hidden; a row is icon, name, uptime, chevron, then
   the last 30 days of bars (owner's pick, 7 Nov 2026, as Better Stack: it had no bars here, so no history) */
@media (max-width: 640px) {
  .tn .ct-btn { display: none; }   /* in the tabs header the phone menu has it */
  .hl { padding: 8px 0 0; } .hl .ic { width: 28px; height: 28px; margin-bottom: 10px; } .hl-t { font-size: 22px; line-height: 28px; }
  .container { padding: 8px 0; }
  .hd { margin-top: 17px; }
  .range, .overall, .site, .sub, .cnt, .view, .dtip, .aff .tl, .aff .dur { display: none; }
  .b90, .a90 { display: none; } .b30 { display: block; } .a30 { display: inline; }
  .barwrap { margin: 8px 0 0; } .axis { margin-top: 6px; }
  .row { padding: 14px 16px 12px; }
  /* a name is never cut: it wraps, breaking only between words or after a "/" (render.js nameText) */
  .rhead { height: auto; min-height: 28px; align-items: flex-start; }
  .rhead > svg { margin-top: 2px; }
  .rhead h3 { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: break-word; padding: 4px 0; }
  .rhead .up { padding-top: 4px; white-space: nowrap; } .rhead .phchev { margin-top: 4px; }
  .g5n { min-width: 0; white-space: normal; overflow-wrap: break-word; }
  .phchev { display: inline-flex; flex: none; margin-inline-start: 10px; color: var(--chev); }
  .phchev.none { visibility: hidden; }
  .row.open .kids { padding-top: 12px; gap: 12px; }
  .dlg { width: 100%; max-width: 100%; margin: 84px 0 0; border-radius: 8px 8px 0 0; }
  .dfoot.v4 { flex-direction: column; align-items: stretch; }
  .dfoot.v4 .dsub { width: 100%; }
  .tn { grid-template-columns: minmax(0, 1fr) auto; height: 52px; margin-inline-end: -10px; }   /* the burger's tap area reaches into the gutter so its icon ends at the content edge */
  .tn::before { right: 10px; }
  .tn-c { display: none; }
  .burger { display: inline-flex; }
  .months5 .e-body { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g5 .g5k { display: none; }
  .pi-h { flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* ---- served by TunnelHQ (server/services/status-pages/render.js): what the server page adds to the mockup ---- */
/* the dashboard used .dark on <html> per frame; the page sets it from the visitor's setting before the first paint */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.row.grp > summary { display: block; }
.row.grp[open] > summary .gbar { display: none; }
.row.grp[open] .chs { transform: none; }
.row.grp .kids { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.g5o[open] > summary .g5c svg { transform: rotate(90deg); }
.lgl { display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; }
.lgl > .wm, .lgl > .acc-n { min-width: 0; }   /* the name beside a mark gives way first, cut with … */
/* the page's logo height (--lg-h on <html>, 24 to 48px); a logo wider than its room is shrunk whole, never squashed */
.lg { display: block; height: var(--lg-h, 32px); width: auto; max-width: min(calc(var(--lg-h, 32px) * 7), 60vw); object-fit: contain; }
.lg-d { display: none; }
html.dark .lg-l:not(:only-child) { display: none; }
html.dark .lg-d { display: block; }
.subw { position: relative; }
.subw > summary.sub-btn { display: inline-flex; align-items: center; }
/* the visitor's language (when the page offers more than one): the Subscribe button's look, its name in its own words */
.langw { margin-inline-end: 4px; }
.subm a.on { background: var(--divider); }
/* right to left (Persian, Arabic): the bars and their axis still run left to right in time, as the day card expects */
[dir="rtl"] .barwrap, [dir="rtl"] .axis, [dir="rtl"] .aff .tl, [dir="rtl"] .aff .dur { direction: ltr; }
/* ...but each label reads in its own language: "۳۰ روز پیش" laid out left to right read as "ago days 30" (7 Nov 2026) */
[dir="rtl"] .axis > span { direction: rtl; }
[dir="rtl"] .back .ch16, [dir="rtl"] .rarr .ch16, [dir="rtl"] .more5 .ch16, [dir="rtl"] .phchev .ch16 { transform: scaleX(-1); }
.subm { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 50; min-width: 160px; padding: 4px; border: 1px solid var(--border);
  border-radius: 8px; background: var(--bg); box-shadow: 0 8px 24px rgba(16,24,40,.12); }
.subm a { display: block; padding: 8px 10px; border-radius: 6px; font-size: 14px; line-height: 20px; color: var(--title); text-decoration: none; white-space: nowrap; }
.subm a:hover { background: var(--divider); }
a.pi-t { color: var(--title); text-decoration: none; }
a.pi-t:hover { text-decoration: underline; }
a.more5, a.back, a.pw { text-decoration: none; }
.pi-none { margin: 0; font-size: 14px; line-height: 20px; color: var(--text2); }
a.tab5, a.site, a.lnk { text-decoration: none; }
.g5o[open] > summary.g5 { background: none; }
.arow .cnt { cursor: auto; }
.arow .cnt:hover { color: var(--text2); }
.view a { padding: 3px 10px; border-radius: 6px; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--text2); white-space: nowrap; text-decoration: none; }
.view a.on { background: var(--seg-on); color: var(--title); box-shadow: var(--seg-shadow); }
.view a:not(.on):hover, a.rarr:hover { color: var(--title); }
a.rarr { text-decoration: none; }
.arow .rhead { height: auto; min-height: 28px; }   /* a long list of places hit wraps under its own line height */
.arow .cnt { min-width: 0; white-space: normal; }
@media (max-width: 640px) { .aff .arow .cnt { display: inline-flex; } }   /* the places hit stay named on a phone */

/* the phone menu (the approved design's burger) and the website link beside Subscribe in the tabs header (4 Nov 2026) */
.burgw { position: relative; display: none; }
.burgw > summary::-webkit-details-marker { display: none; }
.burgw .subm a.on { background: var(--divider); }
a.lgl { color: inherit; text-decoration: none; }
@media (max-width: 640px) { .burgw { display: block; } }
/* A finger's 44px on a touch screen, drawn exactly as before: the header buttons are 34px and the menu 40px, Better
   Stack's phone buttons 44 (measured 19 Nov 2026). An invisible layer, as the dashboard's hit-44. */
@media (pointer: coarse) {
  .sub-btn, .burger { position: relative; }
  .sub-btn::after, .burger::after { content: ""; position: absolute; inset: 50% auto auto 50%; inline-size: max(44px, 100%); block-size: max(44px, 100%); translate: -50% -50%; }
}

/* The Servers tab (render-servers.js, docs/SERVER_STATUS_PAGE_V5_2026-12-04.html, the list only). The header and tabs stay
   in the page's 868px column; the tab's own blocks take a wider one (1148px) so a full row fits. Corners 4px. */
.srvp { display: contents; }
/* the whole column, header included, widens on this tab so a full row fits and the header lines up with it */
.container:has(.srvp) { max-width: 1164px; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.sh { padding: 24px 0 8px; }
.sh .ic { display: block; width: 32px; height: 32px; margin: 0 0 16px; }
.sh-t { margin: 0; font-size: 30px; line-height: 36px; font-weight: 600; color: var(--title); text-wrap: balance; }
.sh .hl-m { white-space: normal; }
.sh-l { max-width: 560px; margin: 12px 0 0; font-size: 16px; line-height: 24px; color: var(--text2); }
.probs { list-style: none; max-width: 520px; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--border); }
.probs li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 40px; padding: 0 4px;
  border-bottom: 1px solid var(--border); font-size: 14px; line-height: 20px; }
.probs b { font-weight: 500; color: var(--title); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.probs span { font-size: 13px; color: var(--text2); text-align: end; }
.probs .more-p { display: block; padding: 10px 4px; font-size: 13px; color: var(--muted); }
.gd { width: 8px; height: 8px; border-radius: 9999px; background: var(--ok); }
.gd.dn { background: var(--full); } .gd.mt { background: var(--maint); } .gd.pt { background: var(--partial); } .gd.dg { background: var(--degraded); }
.stats { display: flex; flex-wrap: wrap; margin: 24px 0 0; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 0 20px; border-inline-start: 1px solid var(--border); }
.stat:first-child { padding-inline-start: 0; border-inline-start: 0; }
.stat dt { margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--muted); }
.stat dd { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--title); font-variant-numeric: tabular-nums; }
.sec-h { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 12px; }
.sec-h h2 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--title); }
.sec-h .m { font-size: 13px; color: var(--muted); white-space: nowrap; }
.groups { border: 1px solid var(--border); border-radius: 4px; background: var(--bg); }
.sg + .sg { border-top: 1px solid var(--border); }
.sg > summary { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; list-style: none; cursor: pointer; }
.sg > summary::-webkit-details-marker { display: none; }
.sg > summary:hover { background: var(--divider); }
.sg > summary:focus-visible { outline: 2px solid var(--title); outline-offset: -2px; }
.chev { width: 16px; height: 16px; flex: none; color: var(--muted); rotate: -90deg; transition: rotate .15s; }
.sg[open] > summary .chev { rotate: 0deg; }
.gname { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; font-size: 14px; font-weight: 500; color: var(--title); }
.flag { display: block; width: 20px; height: 20px; flex: none; }
.vnote { margin: 0 16px 12px 44px; padding: 8px 12px; border-radius: 4px; background: var(--divider); font-size: 13px; line-height: 18px; color: var(--text2); }
/* a country's own page: linked under its group on the Servers tab; on that page, where it sits */
.glink { margin: 0; padding: 12px 16px 12px 44px; border-top: 1px solid var(--divider); font-size: 13px; line-height: 18px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 13px; line-height: 18px; color: var(--muted); }
.crumb li + li::before { content: "/"; margin-inline-end: 8px; color: var(--muted); }
.tw { overflow-x: auto; }
.srvl > .tw { border: 1px solid var(--border); border-radius: 4px; background: var(--bg); }
table.srv { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.srv caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.srv thead th { height: 40px; padding: 0 16px; text-align: start; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted);
  border-bottom: 1px solid var(--border); white-space: nowrap; }
.srv.grouped thead th { color: var(--title); border-top: 1px solid var(--divider); }
.srv.grouped .c-name { padding-inline-start: 44px; }
.srv .c-name { width: auto; min-width: 160px; } .srv th.c-status { width: 240px; } .srv th.c-loc { width: 200px; }
.srv th.c-ip { width: 160px; } .srv th.c-proto { width: 260px; } .srv th.c-up { width: 96px; }
/* five or more columns: the others give way so the name keeps room (hostnames are long) */
.srv.many th.c-status { width: 200px; } .srv.many th.c-loc { width: 150px; } .srv.many th.c-ip { width: 150px; } .srv.many th.c-proto { width: 210px; }
.srv .nd { color: var(--muted); }
.srv td, .srv tbody th { height: 52px; padding: 0 16px; border-bottom: 1px solid var(--divider); font-size: 14px; line-height: 20px; font-weight: 400;
  color: var(--text); text-align: start; vertical-align: middle; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srv tbody tr:last-child > * { border-bottom: 0; }
.srv tbody tr:hover > * { background: var(--divider); }
.srv .r { text-align: end; }
.srv .name { color: var(--title); }
.stv, .loc, .tags { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.tags { gap: 4px; }
.stv .ic { margin: 0; }
.loc .city { color: var(--text2); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 6px; border: 1px solid var(--border); border-radius: 4px; font-size: 12px; color: var(--text2); }
.ring { width: 16px; height: 16px; flex: none; }
.ring .rt { fill: none; stroke: var(--nodata); stroke-width: 2.5; }
.ring .ra { fill: none; stroke: var(--text2); stroke-width: 2.5; stroke-linecap: round; }
.ring.hi .ra { stroke: var(--degraded); }
.stv .num { min-width: 34px; }
.sfts { display: inline-flex; gap: 4px; margin-inline-start: 8px; vertical-align: middle; }
.sft { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; background: var(--divider); color: var(--text2); font-size: 12px; }
.sft.v { background: none; border: 1px solid var(--border); }
.state-t { font-size: 14px; } .state-t.full { color: var(--full-t); } .state-t.maint { color: var(--maint-t); }
.state-t.partial { color: var(--partial-t); } .state-t.degraded { color: var(--degraded-t); } .state-t.nodata { color: var(--muted); }
.sg > summary .state-t { font-size: 13px; }
.states { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; font-size: 13px; line-height: 18px; color: var(--muted); }
.states div { display: flex; align-items: center; gap: 8px; } .states dt { color: var(--title); font-weight: 500; } .states dd { margin: 0; }
.states .ic { margin: 0; }
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; margin-top: 24px; padding-top: 32px; border-top: 1px solid var(--border); }
.how h2 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--title); }
.how-l p { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--text2); }
.how-r { margin: 0; }
.how-r div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--divider); font-size: 14px; line-height: 20px; }
.how-r div:first-child { padding-top: 4px; border-top: 0; }
.how-r dt { color: var(--muted); } .how-r dd { margin: 0; color: var(--text); }
.note-p { grid-column: 2; margin: 0; font-size: 14px; line-height: 20px; color: var(--text2); }
@media (prefers-reduced-motion: reduce) { .chev { transition: none; } }
/* phone: two lines per server, name and status on the first, place, address, protocols and uptime on the second */
@media (max-width: 640px) {
  .sh-t { font-size: 24px; line-height: 32px; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); }
  .stat, .stat:first-child { padding: 12px 0; border: 0; border-bottom: 1px solid var(--border); }
  .stat:nth-child(even) { padding-inline-start: 16px; border-inline-start: 1px solid var(--border); }
  .srv, .srv thead, .srv tbody, .srv tr, .srv th, .srv td { display: block; }
  .srv thead { display: none; }
  .srv tr.s { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 4px; padding: 10px 16px; border-bottom: 1px solid var(--divider); }
  .srv tr.s:last-child { border-bottom: 0; }
  .srv tr.s::after { content: ""; order: 2; flex-basis: 100%; height: 0; }
  .srv tr.s > * { height: auto; padding: 0; border: 0; overflow: visible; }
  .srv.grouped .c-name { padding-inline-start: 0; }
  .srv tr.s > .c-name { order: 0; flex: 1 0 auto; max-width: 100%; }
  .srv tr.s > .c-status { order: 1; flex: 0 1 auto; white-space: normal; }
  .srv tr.s > .c-status .stv { flex-wrap: wrap; row-gap: 4px; }
  .srv tr.s > .c-loc, .srv tr.s > .c-ip, .srv tr.s > .c-proto, .srv tr.s > .c-up { order: 3; font-size: 13px; color: var(--text2); }
  .srv tr.s > .c-loc:empty, .srv tr.s > .c-ip:empty { display: none; }
  .tags { flex-wrap: wrap; }
  .vnote { margin-inline-start: 16px; } .glink { padding-inline-start: 16px; }
  .how { grid-template-columns: 1fr; gap: 12px; } .note-p { grid-column: 1; } .states { flex-direction: column; }
  .how-r div { grid-template-columns: 1fr; gap: 2px; }
}

/* The globe beside the Servers tab's headline (render-globe.js; the V5 mockup's). It sits outside #live, which the
   minute's refresh swaps: #live's own blocks join this grid (display: contents), the headline on the left, the globe on
   the right, the list and the rest under both. The box is square from the first paint: the still SVG, then the canvas. */
.svb.g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); column-gap: 56px; }
.svb.g > #live { display: contents; }
.svb.g > #live > * { grid-column: 1 / -1; }
.svb.g > #live > .sh { grid-column: 1; grid-row: 1; align-self: center; }
.globe { grid-column: 2; grid-row: 1; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 0 8px; }
.g-box { position: relative; width: 100%; aspect-ratio: 1; }
.g-stage { position: absolute; inset: 0; }
.g-stage svg, .g-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.g-stage canvas { touch-action: pan-y; cursor: grab; }
.g-stage canvas.drag { cursor: grabbing; } .g-stage canvas.hot { cursor: pointer; }
.g-svg .g-disc { fill: var(--bg); stroke: var(--border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.g-svg .g-grid { fill: none; stroke: var(--muted); stroke-width: .75; opacity: .1; vector-effect: non-scaling-stroke; }
.g-svg .g-land { fill: none; stroke: var(--muted); stroke-width: 2.1; stroke-linecap: round; }
.g-svg .g-p { fill: var(--ok); stroke: var(--bg); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.g-svg .g-r { fill: none; stroke: var(--ok); stroke-width: 1; opacity: .45; vector-effect: non-scaling-stroke; }
.g-svg .g-ring { fill: none; stroke: var(--full); stroke-width: 1.25; opacity: .5; vector-effect: non-scaling-stroke; }
.g-svg .dn { fill: var(--full); } .g-svg .g-r.dn { fill: none; stroke: var(--full); }
.g-svg .pt { fill: var(--partial); } .g-svg .g-r.pt { fill: none; stroke: var(--partial); }
.g-svg .dg { fill: var(--degraded); } .g-svg .g-r.dg { fill: none; stroke: var(--degraded); }
.g-svg .mt { fill: var(--maint); } .g-svg .g-r.mt { fill: none; stroke: var(--maint); }
.g-svg .nd { fill: var(--muted); } .g-svg .g-r.nd { fill: none; stroke: var(--muted); }
/* the label over a place: one line, kept inside the globe's box */
.g-tip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 4px; background: var(--title);
  color: var(--bg); font-size: 12px; line-height: 16px; white-space: nowrap; translate: -50% calc(-100% - 10px); pointer-events: none; opacity: 0;
  transition: opacity .12s; }
.g-tip.on { opacity: 1; } .g-tip b { font-weight: 500; } .g-tip img { width: 14px; height: 14px; } .g-tip .gd { width: 6px; height: 6px; }
.gd.nd { background: var(--muted); }
/* stop the turning (WCAG 2.2.2): shown only while it turns */
.g-pause { position: absolute; inset-inline-end: 0; bottom: 0; display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 1px solid var(--border); border-radius: 4px; background: var(--bg); color: var(--text2); cursor: pointer; }
.g-pause[hidden] { display: none; }
.g-pause:hover { background: var(--divider); } .g-pause:focus-visible { outline: 2px solid var(--title); outline-offset: 2px; }
.g-pause svg { width: 16px; height: 16px; } .g-pause .pl, .g-pause[aria-pressed="true"] .pa { display: none; }
.g-pause[aria-pressed="true"] .pl { display: block; }
.g-leg { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; font-size: 12px; line-height: 16px; color: var(--muted); }
.g-leg > span { display: inline-flex; align-items: center; gap: 6px; }
.gd.nt { width: 10px; height: 10px; background: linear-gradient(90deg, color-mix(in srgb, var(--muted) 45%, transparent) 50%, color-mix(in srgb, var(--muted) 15%, transparent) 50%); }
.g-night { position: relative; cursor: help; border-radius: 4px; } .g-night:focus-visible { outline: 2px solid var(--title); outline-offset: 2px; }
.g-hint { position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 0; z-index: 5; width: max-content; max-width: 220px; padding: 8px 10px;
  border-radius: 4px; background: var(--title); color: var(--bg); font-size: 12px; line-height: 16px; text-align: center; opacity: 0; pointer-events: none;
  transition: opacity .15s; }
.g-hint::after { content: ""; position: absolute; inset: 100% 0 -8px; }   /* a bridge, so the pointer can move onto the hint */
.g-night:is(:hover, :focus-visible):not(.quiet) .g-hint { opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .g-tip, .g-hint { transition: none; } }
@media (pointer: coarse) { .g-pause { width: 44px; height: 44px; } }
/* phone: the globe under the headline, the facts and the problems, at most 320px */
@media (max-width: 640px) {
  .svb.g { grid-template-columns: minmax(0, 1fr); }
  .globe { grid-column: 1; grid-row: 2; justify-self: center; width: 100%; max-width: 320px; padding-top: 16px; }
  .g-hint { left: auto; right: 0; translate: none; }
}
