:root {
  --bg: #0b1016;
  --panel: #111922;
  --panel-2: #16202b;
  --line: #1f2b38;
  --text: #dbe6f0;
  --muted: #7f93a6;
  --faint: #56687a;
  --accent: #4cc9f0;
  --live: #ff6b6b;
  --amber: #f5b942;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
/* A scroll bar in Firefox, which does not always take its colours from `color-scheme` (headless, it draws a white
   one down the dark list): said outright, and to Firefox alone, so that every other browser's is what it was. */
@supports (-moz-appearance: none) {
  * { scrollbar-color: #2b3a4a transparent; }
}
html, body { height: 100%; }
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 var(--sans);
  overflow: hidden;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------------------------------------------------------------- header */
.top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand svg { color: var(--accent); }
/* Where the page is listening from, and the way to the other places (js/where.js). */
.where { display: flex; align-items: center; min-width: 0; }
.where-pick {
  max-width: 100%;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 14px;
  text-overflow: ellipsis;
  cursor: pointer;
}
.where-pick:hover { background: var(--panel-2); }
.top-status { display: flex; align-items: center; gap: 10px; font-size: 13px; white-space: nowrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.pill.on::before { background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.pill.off { color: var(--muted); }
.search { margin-left: auto; flex: 0 1 300px; min-width: 0; }
.search input, .jump input {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 11px;
}
.jump { display: flex; align-items: center; gap: 7px; font-size: 13px; white-space: nowrap; }
.jump input { width: auto; padding: 6px 8px; font-size: 13px; }
.ghost {
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
}
.ghost:hover { background: var(--panel-2); }
.top-link { color: var(--text); text-decoration: none; white-space: nowrap; }
.top-link.on { color: var(--accent); }      /* the page one is on */

/* ---------------------------------------------------------------- band */
.band { position: relative; flex: none; border-bottom: 1px solid var(--line); background: #0a1018; }
#spectrum { display: block; width: 100%; height: 84px; cursor: crosshair; }
.spec-tip {
  position: absolute;
  top: 22px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(8, 12, 18, 0.92);
  border: 1px solid var(--line);
  font: 12px var(--mono);
  pointer-events: none;
  white-space: nowrap;
}

/* ---------------------------------------------------------------- controls */
/* The slim bar under the band, the same on every lens: the way to a frequency's own page, and what of the feed is
   shown and played. A control that does nothing on the lens one is on is set aside, and says why when pointed at. */
.controls {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px 14px;
  flex-wrap: wrap;
  padding: 6px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  font-size: 13px;
}
.filters { margin-left: auto; display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; }
.squelch { display: grid; grid-template-columns: auto 140px 40px; align-items: center; gap: 9px; margin-right: 4px; color: var(--muted); }
.squelch input { width: 100%; accent-color: var(--accent); }
.squelch output { font: 12px var(--mono); color: var(--text); text-align: right; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: none;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}
.chip.on { border-color: var(--accent); color: var(--accent); background: rgba(76, 201, 240, 0.08); }
.chip.check input { accent-color: var(--accent); margin: 0; }
.controls .chip { padding: 3px 10px; white-space: nowrap; }
.controls .off { opacity: 0.38; }
.controls .off, .controls .off input { cursor: default; }

[data-kind="ctaf"] { --kind: #4ade80; }
[data-kind="tower"] { --kind: #f5b942; }
[data-kind="ground"], [data-kind="clearance"] { --kind: #2dd4bf; }
[data-kind="approach"] { --kind: #60a5fa; }
[data-kind="center"] { --kind: #c084fc; }
[data-kind="fss"] { --kind: #f472b6; }
[data-kind="guard"] { --kind: #ff6b6b; }
[data-kind="atis"], [data-kind="awos"] { --kind: #94a3b8; }
[data-kind="airtoair"], [data-kind="other"] { --kind: #fb923c; }
[data-kind="unknown"] { --kind: #64748b; }

/* ---------------------------------------------------------------- layout */
.layout { display: flex; flex: 1; min-height: 0; }

/* ---------------------------------------------------------------- the header of a list */
/* What the list is of, above it and the same on every lens: a title, what kind of thing, what is known of it, and
   at the right what there is to count. An aircraft's has what it holds on a line of its own. */
.head {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 2px 12px;
  flex-wrap: wrap;
  padding: 8px 18px 7px;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 25, 34, 0.5);
}
.h-title { margin: 0; font-size: 19px; font-weight: 650; line-height: 1.3; }
.h-title.mono { font-family: var(--mono); font-size: 18px; color: var(--kind, var(--text)); }
.h-name { font-size: 16px; font-weight: 600; }
.h-word { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.h-sub, .h-on { font-size: 13px; color: var(--muted); }
.h-on { white-space: nowrap; }
.h-freq { color: var(--text); text-decoration: none; }
.h-freq b { font: 600 13px var(--mono); color: var(--kind, var(--text)); }
.h-freq:hover, .h-freq:focus-visible { text-decoration: underline; }
.h-more { font-size: 13px; color: var(--accent); text-decoration: none; }
.h-more:hover, .h-more:focus-visible { text-decoration: underline; }
.h-side { margin-left: auto; font-size: 12px; color: var(--muted); text-align: right; }
.h-facts { flex-basis: 100%; margin: 5px 0 2px; }

/* ---------------------------------------------------------------- the two certainties, as every page draws them */
/* Inferred: how a fact was arrived at. A mark in the status's own colour, and for a turn that is attributed how
   many in 100 beside it. Never a bar and never a line under words. */
.st { font-size: 11px; padding: 0 6px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; font-weight: 500; }
.st.done { color: #4ade80; border-color: rgba(74, 222, 128, 0.45); }
.st.read_back, .st.heard { color: var(--accent); border-color: rgba(76, 201, 240, 0.45); }
.st.stated { color: var(--amber); border-color: rgba(245, 185, 66, 0.45); border-style: dashed; }
.st.not_established { color: var(--muted); border-color: var(--faint); border-style: dotted; }
.st.contradicted { color: var(--live); border-color: rgba(255, 107, 107, 0.5); }
.st.attributed { color: #c77dff; border-color: rgba(199, 125, 255, 0.45); }
.in100 { font-size: 11px; font-weight: 500; color: #c77dff; white-space: nowrap; }      /* beside the mark "attributed", in its colour: how many in 100. Not a bar */
/* Heard: how sure the transcript is of the words a fact rests on. A number and a bar, never a mark. */
.hp { display: inline-flex; align-items: center; gap: 5px; font: 11px var(--mono); color: var(--muted); white-space: nowrap; }
.hp i { display: inline-block; width: 26px; height: 6px; background: var(--line); position: relative; }
.hp i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%); background: color-mix(in srgb, var(--live) calc((1 - var(--p)) * 200%), #b9c6d2); }
.hp.low { color: var(--text); }
/* A fact: what it says, then the two above, each in its own form. */
.facts { display: flex; flex-wrap: wrap; gap: 5px 8px; }
.fact { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 2px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-size: 13px; }
.fact.stated, .fact.not_established { border-style: dashed; background: none; }
.fact.not_established .says { color: var(--muted); }
.fact.contradicted .says { text-decoration: line-through; text-decoration-color: var(--live); }
.fact .for { color: var(--muted); font-size: 12px; }
.fact a.to { color: var(--accent); text-decoration: none; font-weight: 600; }
.fact a.to:hover, .fact a.to:focus-visible { text-decoration: underline; }

/* ---------------------------------------------------------------- feed */
.feed-wrap { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.feed { flex: 1; overflow-y: auto; overscroll-behavior: contain; outline: none; }
.rows { list-style: none; margin: 0; padding: 0; --who: 236px; --meta: 276px; }
body[data-lens="frequency"] .rows { --meta: 142px; }      /* on a frequency's own page no chip need say what the frequency is called */
.feed-edge { padding: 14px 18px; text-align: center; font-size: 13px; }
.feed-edge:empty { display: none; }
.day {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 5px 18px;
  background: var(--bg);      /* whole: a line that goes by under it does not show through */
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* A transmission: when it began, its lines, then its frequency as a chip with how long it lasted and how strong it was. */
.row {
  --p: 0;
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) var(--meta) 46px;
  align-items: baseline;
  gap: 12px;
  padding: 6px 18px;
  border-bottom: 1px solid rgba(31, 43, 56, 0.55);
  cursor: pointer;
}
.row:hover { background: var(--panel); }
.row.hidden { display: none; }
.r-time { font: 12.5px var(--mono); color: var(--muted); }
.r-text { min-width: 0; }
.r-text.faint .t-words { color: var(--faint); font-style: italic; }
/* A line is one turn: who speaks, in a column of its own, then the words. The turns of one transmission stand
   together as one row. A ground station's line stands at the margin and an aircraft's is set in from it behind a
   rule: with the colour of the name, that tells the two apart down the column. */
.turn { display: grid; grid-template-columns: var(--who) minmax(0, 1fr); column-gap: 14px; align-items: baseline; }
.turn + .turn { margin-top: 3px; }
.turn[data-who="aircraft"] { grid-template-columns: calc(var(--who) - 12px) minmax(0, 1fr); padding-left: 10px; border-left: 2px solid var(--line); }
.turn.other { opacity: 0.5; }      /* on an aircraft's own page: a line of the same recording that is neither by it nor to it */
.t-who { min-width: 0; font-size: 13.5px; overflow-wrap: anywhere; }
.t-who a { text-decoration: none; }
.t-who a:hover, .t-who a:focus-visible { text-decoration: underline; }
/* An aircraft, by its call sign: bright, and the way to its page. A question mark where the transcriber was less
   than sure of the name. Not a dotted line: that is for the transmission's own words. */
.t-ac { color: #f3f8fc; font-weight: 600; }
.t-ac.unsure::after { content: "?"; color: var(--muted); font-weight: 400; }
/* A ground station, by what it is called: in the colour of its kind, and the way to its frequency's page. Where it
   is not known who speaks the frequency stands there instead, quietly: by its listed name, or by its number. */
.w-fac { color: var(--kind, var(--text)); font-weight: 600; }
.w-chan, .w-freq { color: var(--muted); }
.w-chan, .w-freq { color: color-mix(in srgb, var(--kind, var(--muted)) 55%, var(--muted)); }      /* (a browser that cannot mix colours keeps the line above) */
.w-freq { font: 600 13px var(--mono); }
/* Who a ground station's line is spoken to, after its name. A name is not broken where the column is narrow: it
   goes to the next line whole, with its arrow. */
.w-to, .w-about { display: inline-block; max-width: 100%; color: var(--faint); }
.w-to::before { content: "\25B8"; margin-right: 4px; font-size: 11px; }
.w-about::before { content: "\00B7"; margin-right: 4px; }
.w-to .t-ac, .w-about .t-ac { color: var(--text); font-weight: 500; }
/* An aircraft that is not named: in the place of its name, and in the words where its call sign was. */
.t-ac.withheld, .w-to .t-ac.withheld, .w-about .t-ac.withheld { color: var(--muted); font-weight: 400; }
/* The aircraft a turn is attributed to, where the turn's words name nobody: in the place a name of the transcriber's
   would have, and never beside one. It is inferred, not heard, and looks it: ruled round, in the colour the word
   "attributed" has wherever a status is drawn, with no question mark and no line under anything. */
.t-attributed { padding: 0 6px; font: 12px var(--mono); color: #c77dff; border: 1px solid rgba(199, 125, 255, 0.45); border-radius: 999px; white-space: nowrap; text-decoration: none; }
.t-who a.t-attributed:hover, .t-who a.t-attributed:focus-visible { border-color: #c77dff; text-decoration: none; }
/* [who is keying] A ground station said to be keying before the line has words: inferred, so outlined as an attributed aircraft is, in its own colour. */
.w-fac.w-early { padding: 0 6px; font-weight: 500; border: 1px solid color-mix(in srgb, var(--kind, var(--muted)) 50%, transparent); border-radius: 999px; white-space: nowrap; }
.t-words { min-width: 0; overflow-wrap: anywhere; }
/* What the words name that has a page of its own (a fix, a procedure, an airport, a frequency): the way there,
   told from the words around it by a tint and by nothing under it until it is pointed at. */
.lk { color: #9fd6ec; text-decoration: none; }
.lk:hover, .lk:focus-visible { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
/* Words the transcriber was less than sure of (a call sign, a number, a fix): a dotted line under them, and their
   figure beside them when they are pointed at or tapped. A dotted underline on a transmission's own words means this
   and nothing else: that the words may not be what was said. How a connection between things was come by is another
   matter, and whatever shows that one day is not to look like this. */
.r-text .heard.unsure {
  text-decoration: underline;               /* (each part by itself: a browser that knows only the first still marks the words) */
  text-decoration-style: dotted;
  text-decoration-color: var(--muted);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  cursor: help;
}
/* Words in square brackets: the transcriber's guess at a stretch it was not sure of, or its "[unintelligible]".
   Still words to be read, and plainly not the words around them. */
.r-text .guess { color: var(--muted); }
.heard-tip {
  position: absolute;
  z-index: 4;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(8, 12, 18, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
}
.also { font-size: 11.5px; color: var(--accent); border: 1px solid rgba(76, 201, 240, 0.4); background: rgba(76, 201, 240, 0.07); border-radius: 999px; padding: 0 7px; white-space: nowrap; font-style: normal; }
/* The frequency, as a chip: its number in the colour of its kind and, where no line of the row says it, what it is
   listed as. The way to the frequency's own page. */
.r-meta { display: grid; grid-template-columns: minmax(0, 1fr) 40px 17px; align-items: baseline; gap: 8px; font: 12px var(--mono); color: var(--muted); }
.r-chan { justify-self: start; max-width: 100%; min-width: 0; display: inline-flex; align-items: baseline; gap: 6px; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.r-chan:hover, .r-chan:focus-visible { border-color: var(--kind, var(--muted)); background: var(--panel-2); }
.r-freq { font: 600 12.5px var(--mono); color: var(--kind, var(--text)); }
.r-label { font: 12px var(--sans); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-chan.bare .r-label { display: none; }
.r-dur { text-align: right; white-space: nowrap; }
.r-sig { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.r-sig i { width: 3px; background: var(--line); border-radius: 1px; }
.r-sig i:nth-child(1) { height: 4px; }
.r-sig i:nth-child(2) { height: 6px; }
.r-sig i:nth-child(3) { height: 8px; }
.r-sig i:nth-child(4) { height: 11px; }
.r-sig[data-bars="1"] i:nth-child(-n+1),
.r-sig[data-bars="2"] i:nth-child(-n+2),
.r-sig[data-bars="3"] i:nth-child(-n+3),
.r-sig[data-bars="4"] i:nth-child(-n+4) { background: var(--muted); }
.r-act { display: flex; gap: 4px; justify-content: flex-end; opacity: 0; }
.row:hover .r-act, .row.playing .r-act, .row:focus-within .r-act { opacity: 1; }
.r-act a, .r-act button {
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0 4px;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
}
.r-act a:hover, .r-act button:hover { color: var(--accent); }

.row.live::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--live);
  animation: pulse 1s ease-in-out infinite;
}
.row.playing { background: linear-gradient(90deg, rgba(76, 201, 240, 0.13), rgba(76, 201, 240, 0.05)); }
.row.playing { box-shadow: inset 3px 0 0 var(--accent); }
.row.playing::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: calc(var(--p) * 100%);
  background: var(--accent);
  transition: width 0.08s linear;
}
.row.playing .t-words { color: #fff; }
.row.target { box-shadow: inset 0 0 0 1px var(--amber); }
@keyframes pulse { 50% { opacity: 0.35; } }

.floating {
  position: absolute;
  right: 22px;
  bottom: 16px;
  border: 1px solid var(--accent);
  background: #0f2733;
  color: var(--accent);
  border-radius: 999px;
  padding: 7px 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
.notice {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

/* Shown after the page has reloaded itself for a release, in a browser that wants a tap before it plays sound again. */
.resume {
  flex: none;
  border: 0;
  border-top: 1px solid var(--accent);
  background: #0f2733;
  color: var(--accent);
  padding: 10px 16px;
  font-weight: 600;
  text-align: center;
}

/* ---------------------------------------------------------------- transport */
.transport {
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px 4px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}
/* The last line of every page. Below the transport it is part of the same bar. */
.credit {
  flex: none;
  padding: 2px 16px calc(4px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--panel);
  font-size: 11.5px;
  line-height: 1.4;
  text-align: right;
}
.transport + .credit { border-top: 0; }
.credit a { color: var(--faint); text-decoration: none; }
.credit a:hover, .credit a:focus-visible { color: var(--accent); }
.tp-left, .tp-right { display: flex; align-items: center; gap: 8px; flex: none; }
.tp-now { flex: 1; min-width: 0; }
.now-line { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.now-sub { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.primary {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: #06222c;
}
.primary:hover { filter: brightness(1.1); }
.primary .i-pause { display: none; }
body.audio-on:not(.paused) .primary .i-play { display: none; }
body.audio-on:not(.paused) .primary .i-pause { display: block; }
body:not(.audio-on) .primary { animation: beckon 2s ease-in-out infinite; }
@keyframes beckon { 50% { box-shadow: 0 0 0 9px rgba(76, 201, 240, 0.16); } }
.icon { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border-color: transparent; color: var(--muted); }
.icon:hover { color: var(--text); }
.icon.on { color: var(--accent); border-color: var(--accent); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: none; padding: 6px 12px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: rgba(76, 201, 240, 0.12); color: var(--accent); }
.seg button:disabled { opacity: 0.5; cursor: default; }      /* a choice that is not the listener's on the lens one is on */
.select { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.select select { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 13px; }
.live-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--amber);
  color: var(--amber);
  background: rgba(245, 185, 66, 0.08);
  border-radius: 8px;
  padding: 6px 12px;
  font: 600 12.5px var(--mono);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.live-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.live-btn.is-live { border-color: var(--line); color: var(--live); background: none; }
.live-btn.is-live .dot { animation: pulse 1.2s ease-in-out infinite; box-shadow: 0 0 8px var(--live); }
body:not(.audio-on) .live-btn { border-color: var(--line); color: var(--muted); background: none; }
.volume { width: 96px; accent-color: var(--accent); }

/* The rows give up room as the feed itself narrows, whatever the window: first what a chip says its frequency is
   called and some of the column of who speaks, then the columns themselves, a line's speaker above its words. */
.feed-wrap { container-type: inline-size; }
@container (max-width: 1180px) {
  .rows { --who: 196px; --meta: 142px; }
  .r-label { display: none; }
}
@container (max-width: 760px) {
  .head { padding: 7px 12px 6px; }
  .h-side { margin-left: 0; text-align: left; }
  .row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "time . meta" "text text text";
    gap: 3px 10px;
    padding: 8px 12px;
  }
  .r-time { grid-area: time; }
  .r-meta { grid-area: meta; display: flex; }
  .r-text { grid-area: text; }
  .r-act { display: none; }
  .turn, .turn[data-who="aircraft"] { grid-template-columns: minmax(0, 1fr); }
  .turn + .turn { margin-top: 5px; }
  .day { padding: 5px 12px; }
  .row.live::before { left: 3px; width: 6px; height: 6px; margin-top: -3px; }      /* in the margin there is, clear of the words */
}

/* ---------------------------------------------------------------- narrow screens */
@media (max-width: 1100px) {
  .jump span { display: none; }
  .select span { display: none; }
}
@media (max-width: 820px) {
  .top { flex-wrap: wrap; gap: 8px 10px; padding: 8px 12px; }
  .where { order: 4; }      /* the place, where a site is one of several: on the second row, before the box that goes anywhere */
  .search { order: 5; flex: 1 1 55%; margin-left: 0; }
  .jump { order: 6; flex: 1 1 35%; }
  .jump input { width: 100%; }
  .top-status { margin-left: auto; }
  #listeners { display: none; }
  #spectrum { height: 64px; }
  .controls { padding: 6px 12px; gap: 6px 10px; }
  .filters { margin-left: 0; flex: 1 1 340px; gap: 6px 8px; }
  .squelch { flex: 1 1 150px; grid-template-columns: auto minmax(48px, 1fr) 36px; gap: 7px; margin-right: 0; }
  .controls .chip { padding: 3px 8px; }
  .transport { flex-wrap: wrap; gap: 8px 10px; padding: 8px 12px 2px; }
  .credit { padding-left: 12px; padding-right: 12px; }
  .tp-now { order: -1; flex: 1 1 100%; }
  .tp-right { flex: 1; justify-content: flex-end; flex-wrap: wrap; }
  .volume { display: none; }
  .select select { max-width: 120px; }
  #btnRepeat { display: none; }
}
