/* rohin.me - the look, page by page. Loaded last. First the few rules of the soft default ("classic"), then the
   hard looks (every colour version but "classic"): the long part.

   tokens.css holds the colours and the roles of the type; system.css ("THE LOOK") restyles the frame and the shared
   pieces. This file does the same for what belongs to one page, so the page files (scenes.css, scene-<id>.css) stay
   as their authors left them and "classic" still shows them unchanged.

   The rules of the look, for a page built later:
     no pill, no glass, no shadow, no rounded box, no icon in a circle
     a block is set off by a rule over it (1px var(--rule)) and by space, never by a border around it
     a control is a plain rectangle or a word with a rule under it; what is on is underlined or filled with var(--on)
     names (a bird, a film, a hike) in var(--font-title); numbers in var(--font-num); labels over them in small
       capitals: font-family var(--font-label), font-size var(--label-size), uppercase, --ls: var(--label-track)
     letter-spacing is 0 everywhere; only small capitals are spaced, by setting --ls on the element
     nothing is drawn round a picture or a map: no border, no corner, no shadow */

/* Letter-spacing: nothing is squeezed, in any colour version. An element is spaced only when it or a parent sets --ls
   (the small capitals of the hard looks, their dark page title); in the soft look nothing sets it, so every letter
   stands at its own width. A negative value in a page's own CSS does nothing. The miniature of the Chazki app keeps
   its own type: it is a picture of another product. */
:root *:not(.cz-screen, .cz-screen *) { letter-spacing: var(--ls); }

/* =====================================================================================================
   THE SOFT LOOK (data-palette="classic", the default; "Soft" in the menu). The page files were written against it,
   so there is little here: only what made the first version of it look careless.
     numbers in a row share one soft panel, with a hairline between them, instead of standing in a box each
     an icon stands free in its colour where the circle round it said nothing (buttons keep their round shape)
     figures are tabular wherever numbers are read
   ===================================================================================================== */
:root[data-palette="classic"] {
  /* ---- numbers in a row: one panel */
  .stats { gap: 0; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--glass); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur)); overflow: hidden; }
  .stats > .stat { border: 0; border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); }
  .stat-num, .num, time, .chip b { font-variant-numeric: tabular-nums lining-nums; }
  .stat-label { color: var(--ink-2); }

  /* ---- now: the four rows of what is heard */
  .hear-ico { width: 1.75rem; height: 1.75rem; border: 0; background: none; }
  .hearing a { grid-template-columns: 1.75rem minmax(0, 1fr) auto; gap: .7rem; }
  .hear-main b { font-size: 1.0625rem; }
  .hear-sub { font-size: .8125rem; }
  .nc-ico { border: 0; }

  /* ---- sky: the day's records, four in one panel on a phone */
  .sky-records > .stat { border-radius: 0; }
}

:root:not([data-palette="classic"]) {
  /* ------------------------------------------------------------ shared by several pages */
  /* names: the serif in light, the sans in dark */
  .radio-title, .hear-main b, .bird-name b, .hr-name, .hike-name, .city-text h3, .peak-name, .ribbon-detail b,
  .dg-title, .dg-page h4, .ow-d-name, .ow-row-name, .ow-item-name, .ow-crumb[aria-current], .sc-card-name h3, .sc-tile-t, .sf-title, .sf-rt, .cz-sent { font-family: var(--font-title); font-weight: var(--name-weight); text-transform: none; --ls: 0em; }
  /* numbers: the monospace for a figure that stands alone (a count, a clock time, a measure on a map). A phrase that
     has words in it stays in the sans, whose figures are tabular too: a monospaced phrase is loosely spaced. */
  .radio-times, .radio-next time, .bird-count, .bird-latest time, .spotted time, .seg-n, .hr-num b, .hike-ft, .hike-scale, .peak-ft, .note-at,
  .machine-where b, .kind b, .ring-tag, .plane-tag, .ow-row-n, .ow-tile b, .ow-cities b, .sc-count b, .sc-n, .sc-tile-y, .sf-ry,
  .dg-night b, .dg-ix-n { font-family: var(--font-num); font-weight: var(--num-weight); word-spacing: var(--num-space); --ls: 0em; }
  .hear-sub, .birds-sum, .sky-readout, .hr-nums, .hk-pager, .hikes-count, .city-count, .city-kinds, .radio-count, .sheet-count, .hike-read,
  .scrub-ends, .ribbon-hours, .axis-lane, .dg-meta, .sf-count { font-variant-numeric: tabular-nums lining-nums; }
  /* labels in small capitals */
  .hear-label, .radio-show, .chip-label, .ex-label, .hk-none, .machine-sample, .hike-wait, .axis-name, .data-block p.axis-name,
  .ow-group, .ow-out-head, .ow-sec h4, .ow-legend, .ow-tile span, .sc-src, .sc-label, .sc-tag, .sc-flag, .ow-tag, .ow-note, .dg-night span {
    font-family: var(--font-label); font-size: var(--label-size); font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); }
  /* round buttons become square ones with a hairline */
  .sky-play, .bird-call, .hk-step, .hike-zoom button, .ow-zoom button, .ow-item-rec, .sc-zoom, .dg-step { border-radius: 0; }
  .sky-play:active, .bird-call:active, .hk-step:active, .hike-zoom button:active, .sky-live:active, .pick:active, .chip-btn:active, .kind:active, .play:active { transform: none; }

  /* ------------------------------------------------------------ 1. now */
  .scene-opening .scene-head { border-bottom-color: transparent; }
  .plane-tag { padding: .1rem .4rem; border-radius: 0; border: 0; border-left: 2px solid var(--c-sky); background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .opening-clock { font-family: var(--font-label); font-size: var(--label-size); font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); padding-bottom: .5rem; }
  .opening-text { gap: var(--s-4); }
  .hearing { border-bottom: 1px solid var(--line); }
  .hearing li { border-top: 1px solid var(--line); }
  .hearing li:first-child, .hearing li:nth-child(2) { border-top: 1px solid var(--rule); }
  .hearing a { grid-template-columns: 1.5rem minmax(0, 1fr) auto; gap: .6rem; border-radius: 0; }
  .hear-play { border-radius: 0; }
  .hearing a:hover { background: none; }
  .hearing a:hover .hear-main b { color: var(--accent); }
  .hear-ico { width: 1.5rem; height: 1.5rem; border: 0; border-radius: 0; background: none; }
  .hear-main { gap: .6rem; }
  .hear-main b { font-size: calc(1.0625rem * var(--name-scale)); }
  .hear-label { color: var(--ink-2); min-width: 4.2rem; }
  .scene-opening .stat { padding: .45rem 0 0; }
  .scene-opening .stat-label { color: var(--ink-2); font-size: var(--label-size); }
  /* the panel (css/scene-opening.css): on a wide screen a plain block of the page's colour with a rule over it; square buttons */
  .np-fold, .np-more, .np-pill { border-radius: 0; }
  .np-fold:hover { background: none; border-color: transparent; color: var(--accent); }
  .np-more { border-color: var(--line-strong); background: none; font-family: var(--font-label); font-size: .75rem; font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); }
  .np-pill { border-color: var(--line-strong); background: var(--bg); font-family: var(--font-label); font-size: .75rem; font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); }
  @media (min-width: 900px) and (min-aspect-ratio: 9 / 10) {
    .now-panel { gap: var(--s-2); border: 0; border-top: 1px solid var(--rule); background: var(--bg); }
    .now-panel[data-folded] { border-top: 0; background: none; }
    .now-panel .hear-label { min-width: 0; }
    .now-panel .scrub-buttons { gap: 0; }
  }
  @media (max-width: 720px) {
    .hearing li:nth-child(2) { border-top: 1px solid var(--line); }
    .opening-text { gap: var(--s-3); }
    .stats-4 { gap: var(--s-2) var(--s-5); }
    .scene-opening .stat { padding: .35rem 0 0; }
    .scene-opening .stat-num { font-size: 1.5rem; }
  }

  /* the card of one aircraft or vessel on the real map (js/now-map.js) */
  .now-card { padding: var(--s-3) var(--s-4); border-radius: 0; border: 1px solid var(--rule); background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .nc-head h3 { font-family: var(--font-title); font-size: calc(1.125rem * var(--name-scale)); font-weight: var(--name-weight); text-transform: none; --ls: 0em; }
  .nc-ico { width: 1.5rem; height: 1.5rem; border: 0; border-radius: 0; }
  .nc-close { border-radius: 0; }
  .nc-close:hover { background: none; color: var(--accent); }
  .nc-k { font-family: var(--font-label); font-size: var(--label-size); font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); color: var(--ink-2); }
  .opening-text > .now-card { padding: var(--s-2) 0 0; border: 0; border-top: 1px solid var(--rule); background: none; }
  .rmap-credit { border-radius: 0; }

  /* ------------------------------------------------------------ 2. radio */
  .radio { gap: var(--s-7); }
  @media (min-width: 901px) { .radio { margin: var(--s-6) 0 auto; } }
  .radio-player { padding: var(--s-5) 0 0; align-content: start; }
  .radio-glow { display: none; }
  .radio-art { border-radius: 0; border: 1px solid var(--line-strong); box-shadow: none; background: var(--bg-sunk); }
  .radio-show { color: var(--accent); }
  .radio-title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.375rem); line-height: 1.12; }
  .radio-track { height: 2px; border-radius: 0; background: var(--line); }
  .radio-track i { background: var(--accent); }
  .play { padding: 0 1.4rem 0 0; gap: 1rem; border-radius: 0; background: var(--on); color: var(--on-ink); }
  .play:hover { box-shadow: none; opacity: .88; }
  .play-ico { width: 3rem; height: 3rem; border-radius: 0; background: none; color: inherit; border-right: 1px solid color-mix(in srgb, var(--on-ink) 35%, transparent); }
  .play-label { font-family: var(--font-label); font-size: .8125rem; font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); }
  .eq i { border-radius: 0; }
  .radio-day { padding: var(--s-5) 0 0; border: 0; border-radius: 0; background: none; align-content: start; }
  .slot::before { inset: 0 1px 0 0; border-radius: 0; background: color-mix(in srgb, var(--ink) 16%, transparent); }
  .slot:hover::before, .slot[data-picked]::before, .slot:focus-visible::before { transform: none; background: color-mix(in srgb, var(--ink) 45%, transparent); }
  .slot[data-now]::before { background: var(--accent); }
  .ribbon-now::before { border-radius: 0; top: -4px; left: -3px; width: 7px; height: 4px; }
  .ribbon-detail b { font-size: calc(1rem * var(--name-scale)); }
  .radio-next li { padding: .4rem 0; border-top: 1px solid var(--line); color: var(--ink); }
  .radio-next { gap: 0 var(--s-5); }
  @media (max-width: 720px) {
    .radio { gap: var(--s-3); }
    .radio-player { padding: var(--s-3) 0 0; }
    .radio-title { font-size: 1.375rem; }
    .play-ico { width: 2.75rem; height: 2.75rem; }
    .radio-day { padding: var(--s-3) 0 0; border-top: 1px solid var(--rule); }
  }

  /* ------------------------------------------------------------ 3. sky */
  .sky-map { border: 0; border-radius: 0; box-shadow: none; }
  .sky-legend { left: 0; top: 0; padding: .3rem .6rem; border: 0; border-radius: 0; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: none; -webkit-backdrop-filter: none; font-family: var(--font-label); font-size: var(--label-size); font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); }
  .sky-ramp i { border-radius: 0; height: 4px; }
  .sky-readout { left: 0; bottom: 0; padding: .3rem .6rem; border: 0; border-radius: 0; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: none; -webkit-backdrop-filter: none; font-size: .8125rem; }
  .sky-map[data-replay] .sky-readout { background: var(--on); color: var(--on-ink); }
  .sky-tip { padding: .3rem .55rem; border-radius: 0; border: 1px solid var(--rule); background: var(--bg-raise); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .sky-scrub { padding: 0; border-radius: 0; }
  .sky-live { padding: 0 .8rem; border-radius: 0; border: 1px solid var(--line-strong); font-family: var(--font-label); font-size: .75rem; font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); }
  .sky-live[aria-pressed="true"] { border-color: var(--ink); }
  .sky-play { border: 1px solid var(--line-strong); margin-left: -1px; }
  .scrub-buttons { gap: 0; }
  .scrub-range::-webkit-slider-thumb { border-radius: 0; background: linear-gradient(to right, transparent 10px, var(--accent) 10px, var(--accent) 12px, transparent 12px), linear-gradient(to bottom, var(--accent) 0 6px, transparent 6px) 6px 0 / 10px 100% no-repeat; }
  .scrub-range::-moz-range-thumb { border-radius: 0; background: linear-gradient(to right, transparent 10px, var(--accent) 10px, var(--accent) 12px, transparent 12px), linear-gradient(to bottom, var(--accent) 0 6px, transparent 6px) 6px 0 / 10px 100% no-repeat; }
  .sky-records { gap: var(--s-3) var(--s-5); }
  .sky-records .stat { padding: .45rem 0 0; }
  .sky-chips { gap: .1rem var(--s-4); }
  .sky-chips .chip { border-radius: 0; }
  .spotted li { color: var(--ink); }
  @media (max-width: 720px) {
    .sky-scrub { padding: 0; }
    .sky-records { gap: .3rem .6rem; }
    .sky-records .stat { padding: .3rem 0 0; border-radius: 0; }
    .sky-records .stat-num { font-size: .9375rem; }
    .sky-records .stat-label { font-size: var(--label-size); --ls: .04em; }
    .sky-chips { gap: 0 .8rem; }
  }
  @media (max-width: 380px) {
    .sky-records .stat-num { font-size: .875rem; }
    .sky-chips .chip { min-height: 1.75rem; padding: 0 0 0 .5rem; }
  }

  /* ------------------------------------------------------------ 4. birds */
  .birds-main { padding: var(--s-2) 0 0; }
  .birds-top { gap: var(--s-2) var(--s-5); }
  .bird-axis .axis-day { height: 2px; border-radius: 0; background: var(--accent); }
  .axis-now { width: 1px; height: 10px; margin-left: 0; bottom: 0; border-radius: 0; box-shadow: none; }
  .bird-row { padding: .5rem 0; }
  .bird-photo { border-radius: 0; border: 0; background: var(--bg-sunk); }
  .bird-name b { font-size: calc(1.0625rem * var(--name-scale)); }
  .bird-name span { font-family: var(--font-sci); font-style: italic; font-size: .875rem; color: var(--ink-2); }
  .bird-lane { border-radius: 0; background: none; border-bottom: 1px solid var(--line); }
  .bird-lane .axis-day { background: color-mix(in srgb, var(--accent) 7%, transparent); border-inline: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
  .beat { box-shadow: 0 0 0 1.5px var(--bg); }
  .daybar { border-radius: 0; }
  @media (hover: hover) { .beat::after, .daybar::after { border-radius: 0; border-color: var(--rule); } }
  .bird-count { color: var(--ink); font-size: .9375rem; }
  .bird-call { border: 1px solid var(--line-strong); }
  .bird-call[aria-pressed="true"] { background: var(--on); color: var(--on-ink); border-color: var(--on); }
  .bird-latest li { color: var(--ink); }
  @media (max-width: 720px) { .birds-main { padding: var(--s-1) 0 0; } }

  /* ------------------------------------------------------------ 5. hikes */
  .hk-data-btn .ico, .hike-back .ico, .hk-data-close .ico, .save-btns .btn .ico { color: currentColor; }
  .hike-search { padding: 0 .1rem; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hike-search:focus-within { border-bottom-color: var(--accent); }
  .pick { padding: 0 .9rem; border-radius: 0; border: 1px solid var(--line-strong); background: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-family: var(--font-label); font-size: .75rem; font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); }
  .pick:hover { border-color: var(--ink); }
  .pick .ico { color: currentColor; }
  .pick-n { border-radius: 0; background: var(--on); color: var(--on-ink); font-family: var(--font-num); --ls: 0em; }
  .hk-chip { border-radius: 0; border: 1px solid var(--line-strong); background: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--ink); }
  .hk-chip:hover { border-color: var(--ink); }
  .hk-chip .ico { color: currentColor; }
  .hk-chip[aria-pressed="true"] { border-color: var(--on); background: var(--on); color: var(--on-ink); }
  .hk-pop, .hk-list-sheet { border-radius: 0; border: 1px solid var(--rule); box-shadow: none; }
  .hk-bar .btn .ico, .hike-go .ico, .hike-act .ico { color: currentColor; }
  .hk-list-close { border-radius: 0; }
  .hk-rec { border-radius: 0; border: 0; border-top: 1px solid var(--rule); background: none; padding: .6rem 0; }
  .hk-rec:hover { background: none; }
  .hk-rec:hover .hk-rec-name { color: var(--accent); }
  .hk-rec-k { font-family: var(--font-label); font-size: var(--label-size); text-transform: var(--label-case); --ls: var(--label-track); }
  .hk-rec-name { font-family: var(--font-title); }
  .hk-rec-v { font-family: var(--font-num); font-weight: var(--num-weight); }
  .hike-act, .hike-flybar { border-radius: 0; border: 1px solid var(--line-strong); background: none; }
  .hike-act[aria-pressed="true"] { background: var(--on); border-color: var(--on); color: var(--on-ink); }
  .hike-act.hike-fly { border-radius: 0; background: var(--on); color: var(--on-ink); }
  .hike-act.hike-fly[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--on-ink); }
  .hike-play { border-radius: 0; }
  .hk-rows { border-top: 1px solid var(--rule); }
  .hike-row { padding: 0; }
  .hike-row:hover, .hike-row:focus-visible, .hike-row[aria-current] { background: none; }
  .hike-row:hover .hr-name, .hike-row[aria-current] .hr-name { color: var(--accent); }
  .hike-row[aria-current] { box-shadow: none; }
  .hr-name { font-size: calc(1rem * var(--name-scale)); }
  .hr-num b { color: var(--ink); }
  .hike-ll b { font-family: var(--font-num); font-weight: var(--num-weight); }
  .hk-map { grid-template-columns: minmax(0, 1fr); }
  .hikes-areas { padding: 0; }
  .hikes-map-frame { border: 0; border-radius: 0; box-shadow: none; }
  .hikes-map-cv:focus-visible, .hike-canvas:focus-visible { border-radius: 0; }
  .hikes-map-tip, .hike-tag, .scatter-tag, .hike-scale { border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hikes-map-tip { border-color: var(--rule); background: var(--bg-raise); }
  .hike-tag { border: 0; border-left: 1px solid var(--ink-3); background: color-mix(in srgb, var(--bg) 80%, transparent); }
  .hike-tag.is-spot { border-left: 0; }
  .hike-tags[data-photo] .hike-tag { background: color-mix(in srgb, var(--on-photo-shade) 72%, transparent); border-left-color: color-mix(in srgb, var(--paper) 45%, transparent); }      /* over the aerial picture: light words on a dark slip, in both modes */
  .hike-tags[data-photo] .hike-tag.is-spot { background: var(--on-photo); }
  .hike-scale { border: 0; background: color-mix(in srgb, var(--bg) 86%, transparent); }
  .hike-zoom { padding: 0; border-radius: 0; border: 1px solid var(--line-strong); background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hike-zoom button + button { border-top: 1px solid var(--line-strong); }
  .hike-zoom button:hover { background: none; color: var(--accent); }
  .hikes-sheet { border-radius: 0; border: 1px solid var(--rule); box-shadow: none; }
  .sheet-head h4 { font-family: var(--font-title); font-size: calc(1.375rem * var(--name-scale)); font-weight: var(--name-weight); }
  .chip-btn, .kind { border-radius: 0; border: 1px solid var(--line-strong); background: none; color: var(--ink); }
  .chip-btn:hover, .kind:hover { border-color: var(--ink); }
  .chip-btn[aria-pressed="true"], .kind[aria-pressed="true"] { border-color: var(--on); background: var(--on); color: var(--on-ink); }
  .kind[aria-pressed="true"] b { color: inherit; }
  .chip-row { gap: .4rem; }
  .hike-stagebox { border: 0; border-radius: 0; background: var(--bg-sunk); box-shadow: none; }
  .hike-canvas.hike-flat { border-radius: 0; }
  .hike-mark { border-radius: 0; rotate: 45deg; width: 10px; height: 10px; margin: -5px 0 0 -5px; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
  .hike-style { background: var(--bg); border: 1px solid var(--line-strong); }
  .hike-style button { margin-bottom: 0; }
  .hike-tabs { gap: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
  .hike-tabs button { border-radius: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: var(--font-label); font-size: .75rem; font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); }
  .hike-tabs button[aria-selected="true"] { background: none; border-bottom-color: var(--on); }
  .hike-panel { border: 0; border-radius: 0; background: none; }
  .hike-pane { padding: var(--s-3) 0; }
  .hike-pane h4 { font-family: var(--font-label); font-size: var(--label-size); font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); color: var(--ink-2); }
  .hike-stats { gap: var(--s-3) var(--s-5); }
  .hike-stats .stat { padding: .4rem 0 0; }
  .hike-stats .stat-label { font-size: var(--label-size); color: var(--ink-2); }
  .about-body { font-size: .9375rem; color: var(--ink); }
  .ex-value { font-weight: 600; }
  .ex-quote { font-family: var(--font-sci); font-style: italic; font-size: .9375rem; }
  .hike-topdot { border-radius: 0; }
  .note, .peak { border-radius: 0; padding-inline: 0; }
  .note:hover, .peak:hover { background: none; }
  .note:hover b, .peak:hover .peak-name { color: var(--accent); }
  .save-code { border-radius: 0; }
  .hk-data { padding: var(--s-3) 0 0; border: 0; border-radius: 0; background: var(--bg); box-shadow: none; }
  .hk-data-head h3 { font-family: var(--font-title); font-size: calc(1.375rem * var(--name-scale)); font-weight: var(--name-weight); text-transform: none; --ls: 0em; }
  .scatter-ring, .scatter-here { border-radius: 0; }
  @media (max-width: 720px) {
    .hike-panel { border-radius: 0; }
    .hikes-sheet { border: 0; border-top: var(--rule-w) solid var(--rule); border-radius: 0; box-shadow: none; }
    .hike-tabs button { font-size: .6875rem; padding: 0 .1rem; --ls: .04em; }
    .hikes-areas button { font-size: .6875rem; padding: 0 .3rem; --ls: .04em; }
    .hike-row { padding: 0; }
  }

  /* ------------------------------------------------------------ search fields, pickers, stages: the same on every page that has them */
  .ow-search, .sc-search, .sf-search { padding: 0 .1rem; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; box-shadow: none; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ow-search:focus-within, .sc-search:focus-within, .sf-search:focus-within { border-bottom-color: var(--accent); box-shadow: none; }
  .sc-pick, .dg-date, .sc-chip { border-radius: 0; border: 1px solid var(--line-strong); background: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-family: var(--font-label); font-size: .75rem; font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); color: var(--ink); }
  .sc-pick:hover, .dg-date:hover, .sc-chip:hover { border-color: var(--ink); }
  .sc-pick:active, .sc-chip:active, .dg-date:active, .dg-step:active, .sc-zoom:active { transform: none; }
  .sc-pick .ico { color: currentColor; }
  .sc-chip[aria-pressed="true"] { border-color: var(--on); background: var(--on); color: var(--on-ink); }
  .sc-n { border-radius: 0; background: var(--on); color: var(--on-ink); }
  .ow-kind, .ow-state, .sf-more, .sc-select { border-radius: 0; border: 0; border-bottom: 1px solid var(--line-strong); background-color: transparent; }
  .ow-stage, .sc-stage, .sf-stage, .sf-canvas { border: 0; border-radius: 0; box-shadow: none; }
  .ow-gl:focus-visible, .sc-wall:focus-visible, .sc-strip:focus-visible, .dg-read:focus-visible, .dg-ix:focus-visible, .dg-nl-row:focus-visible, button.dg-night:focus-visible { border-radius: 0; }
  .ow-zoom { padding: 0; border-radius: 0; border: 1px solid var(--line-strong); background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ow-zoom button + button { border-top: 1px solid var(--line-strong); }
  .ow-zoom button:hover { background: none; color: var(--accent); }
  .ow-note, .sc-tag, .sc-hover, .sf-tip { border-radius: 0; border: 0; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .sc-tag::before, .sc-flag::before { border-radius: 0; }
  .sc-flag, .ow-tag { border-radius: 0; }

  /* ------------------------------------------------------------ 6. who owns */
  /* the map of Who Owns (round 2): nothing round the map, its tools as plain rectangles, the key and the card set off by a rule */
  .ow-mapbox { border: 0; border-radius: 0; box-shadow: none; }
  .ow-map-tools { padding: 0; border-radius: 0; border: 1px solid var(--line-strong); background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ow-map-usa { border-radius: 0; font-family: var(--font-label); font-size: .6875rem; font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); }
  .ow-map-usa[aria-pressed="true"] { background: var(--on); color: var(--on-ink); }
  .ow-map-note, .ow-map-key, .ow-kinds-legend { border: 0; border-radius: 0; background: color-mix(in srgb, var(--bg) 88%, transparent) !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ow-map-key b { font-family: var(--font-num); font-weight: var(--num-weight); }
  .ow-map-card { border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: var(--bg); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ow-map-text h4 { font-family: var(--font-title); font-size: calc(1rem * var(--name-scale)); font-weight: var(--name-weight); }
  .ow-map-x { border-radius: 0; }
  .ow-map-x:hover { background: none; color: var(--accent); }
  .ow-tabs { gap: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
  .ow-tabs button { padding: 0 .2rem; border-radius: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: var(--font-label); font-size: .6875rem; font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); }
  .ow-tabs button[aria-selected="true"] { background: none; border-bottom-color: var(--on); }
  .ow-by button { padding: 0 .25rem; font-size: .6875rem; --ls: .02em; }
  .ow-group { padding-inline: 0; color: var(--ink-2); }
  .ow-row { padding: 0; }
  .ow-row:hover, .ow-row:focus-visible, .ow-row[aria-current] { background: none; }
  .ow-row:hover .ow-row-name, .ow-row[aria-current] .ow-row-name { color: var(--accent); }
  .ow-row[aria-current], .ow-out-row[aria-current] { box-shadow: none; }
  .ow-row-name { font-size: calc(1rem * var(--name-scale)); }
  .ow-stage { background: var(--bg-sunk); }
  .ow-out-head { padding-inline: 0; }
  .ow-out-row[aria-current] { color: var(--accent); }
  .ow-detail { padding: var(--s-3) 0 0; border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: none; }
  .ow-d-name { font-size: calc(1.5rem * var(--name-scale)); line-height: 1.15; }
  .ow-tile { padding: .4rem 0 0; border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: none; }
  .ow-tile b { font-size: 1.25rem; }
  .ow-sec h4 { color: var(--ink-2); }
  .ow-item-main { border-radius: 0; padding-inline: 0; }
  .ow-item-name { font-size: calc(1rem * var(--name-scale)); }
  @media (max-width: 720px) { .ow-row { padding: 0; } }

  /* ------------------------------------------------------------ 7. scarecrow */
  .sc-count b { font-size: 1.5rem; }
  .sc-stage { background: var(--bg-sunk); }
  .sc-strip-cv { border-radius: 0; box-shadow: none; }
  .sc-strip-view { border-radius: 0; border-width: 1px 2px; box-shadow: none; }
  .sc-spine { border-radius: 0; }
  .sc-list { padding: 0; }
  .sc-tile { border-radius: 0; padding: 0; border-bottom: 1px solid var(--line); }
  .sc-tile:hover { background: none; }
  .sc-tile:hover .sc-tile-t { color: var(--accent); }
  .sc-tile-t { font-size: calc(1rem * var(--name-scale)); }
  .sc-card { padding: var(--s-3) 0 0; border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .sc-card-name h3 { font-size: calc(1.5rem * var(--name-scale)); line-height: 1.15; }

  /* ------------------------------------------------------------ 8. dvd / vhs */
  .sf-dot { border-radius: 0; }
  .sf-jump { border-radius: 0; border: 0; border-bottom: 1px solid var(--line-strong); background-color: transparent; }
  .sf-eps-h { font-family: var(--font-label); font-size: var(--label-size); font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); color: var(--ink-2); }
  .sf-epn, .sf-epy { font-family: var(--font-num); }
  .sf-list { gap: 0 var(--s-5); }
  .sf-row { padding: .2rem 0 .2rem .7rem; border-radius: 0; border-left: 4px solid var(--ty); border-bottom: 1px solid var(--line); background: none; }
  .sf-row:hover { background: none; }
  .sf-row:hover .sf-rt, .sf-row[aria-current] .sf-rt { color: var(--accent); }
  .sf-row[aria-current] { background: none; box-shadow: none; }
  .sf-rt { font-size: calc(1rem * var(--name-scale)); }
  .sf-card { padding: var(--s-3) 0 0; border-top: 1px solid var(--rule); border-radius: 0; background: var(--bg); }
  .sf-title { font-size: calc(1.375rem * var(--name-scale)); line-height: 1.15; }
  .sf-tags .chip { padding: 0 0 0 .6rem; }
  .sf-pos::-webkit-slider-runnable-track { height: 2px; border-radius: 0; }
  .sf-pos::-moz-range-track { height: 2px; border-radius: 0; }
  .sf-pos::-webkit-slider-thumb { width: 28px; height: 12px; margin-top: -5px; border-radius: 0; }
  .sf-pos::-moz-range-thumb { width: 28px; height: 12px; border-radius: 0; }
  .sf-ask-form input, .cz-field input { border-radius: 0; border: 0; border-bottom: 1px solid var(--line-strong); background: none; padding: 0 .1rem; }

  /* ------------------------------------------------------------ 9. night digest */
  .dg-step { border: 1px solid var(--line-strong); background: none; }
  .dg-step:hover { border-color: var(--ink); }
  .dg-night { border-radius: 0; border: 0; border-bottom: 2px solid transparent; }
  button.dg-night { border: 0; border-bottom: 2px solid transparent; background: none; }
  button.dg-night[aria-pressed="true"] { background: none; color: var(--ink); border-color: var(--on); }
  button.dg-night[aria-pressed="true"] span { color: var(--accent); }
  .dg-night b { font-size: 1.0625rem; }
  .dg-ix { border-radius: 0; padding-inline: 0; border-top: 1px solid var(--line); }
  .dg-ix[aria-current="true"], .dg-nl-row[aria-current="true"] { background: none; color: var(--accent); }
  .dg-ix[aria-current="true"] .dg-ix-n { color: var(--accent); font-weight: 400; }
  .dg-ix-list { gap: 0; }
  .dg-read { border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: none; }
  .dg-doc { font-size: 1.0625rem; }
  .dg-page p { font-family: var(--font-title); font-size: calc(1.0625rem * var(--name-scale)); line-height: 1.6; }
  .dg-nl-row { border-radius: 0; padding-inline: 0; border-top: 1px solid var(--line); }
  .dg-title { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1.08; }
  .dg-page h4 { font-size: calc(1.1875rem * var(--name-scale)); line-height: 1.25; }
  .dg-qr-code, .cz-qr-code { border-radius: 0; }

  /* ------------------------------------------------------------ 10. chazki (the miniature of the app keeps its own look; the phone round it is the picture) */
  .cz-phone { box-shadow: none; }
  .cz-film { border-radius: 0; border: 1px solid var(--rule); box-shadow: none; }
  .cz-video { border-radius: 0; }
  .cz-sent { font-size: calc(1.5rem * var(--name-scale)); }
  @media (max-width: 720px) {
    .cz-phone { border-radius: 0; }
    .cz-ways { gap: .375rem; }
    .cz-way { flex: 1 1 auto; min-width: 0; padding: 0 .5rem; font-size: .6875rem; --ls: .04em; gap: .3rem; }
    .sheet.cz-invite { border-radius: 0; border-bottom: var(--rule-w) solid var(--rule); }
  }

  /* ------------------------------------------------------------ 11. machine room */
  .node-tag { font-family: var(--font-label); text-transform: var(--label-case); --ls: var(--label-track); }
  .machine-numbers { gap: var(--s-4) var(--s-5); }
  .machine-numbers .stat { padding: .45rem 0 0; }
  .machine-numbers .stat-label { color: var(--ink-2); font-size: var(--label-size); }
  .machine-kinds { gap: .4rem; }
  .kind { font-size: .8125rem; }
  .machine-pick { padding: 0 2rem 0 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background-color: transparent; background-position: calc(100% - .45rem) 55%, calc(100% - .15rem) 55%; }
  @media (max-width: 720px) {
    .machine-numbers { gap: var(--s-2) var(--s-5); }
    .machine-numbers .stat { padding: .35rem 0 0; }
    .machine-numbers .stat-label { font-size: var(--label-size); }
  }

  /* ------------------------------------------------------------ 12. cities */
  .cities { gap: var(--s-6); }
  .city-text { padding: var(--s-3) 0 0; border-top: 1px solid var(--line); }
  .city-text h3 { font-size: calc(1.75rem * var(--name-scale)); text-transform: none; }
  .city-go { padding: 0 .9rem; border-radius: 0; border: 1px solid var(--line-strong); font-family: var(--font-label); font-size: .75rem; font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); }
  .city:hover .city-go { border-color: var(--ink); }
  .city-go .ico { color: currentColor; }
  @media (max-width: 900px) { .city + .city { border-top: 1px solid var(--rule); } }
  @media (max-width: 720px) { .cities { gap: var(--s-3); } .city-text { padding: var(--s-2) 0 0; } .city-text h3 { font-size: calc(1.375rem * var(--name-scale)); } }

  /* ------------------------------------------------------------ 4. birds: the sky, the chosen bird (js/birds-sky.js) */
  .bd-listen[aria-pressed="true"] { background: var(--on); color: var(--on-ink); border-color: var(--on); }
  .bd-card { padding: var(--s-3) 0 0; border-top: 1px solid var(--rule); }
  .bird-row { padding-inline: 0; } .bird-axis { padding-inline: 0; }
  .bd-card .bird-name b { font-size: calc(1.375rem * var(--name-scale)); }
  .bd-facts dt, .sig-facts dt, .cty-fact dt { font-family: var(--font-label); font-size: var(--label-size); font-weight: var(--label-weight); text-transform: var(--label-case); --ls: var(--label-track); color: var(--ink-2); }
  .bd-facts dd, .bd-sky-l, .axis-lane { font-family: var(--font-num); font-weight: var(--num-weight); word-spacing: var(--num-space); }

  /* ------------------------------------------------------------ 4. signals */
  .sig-key, .sig-hours i { border-radius: 0; }
  .sig-range::-webkit-slider-thumb { border-radius: 0; }
  .sig-range::-moz-range-thumb { border-radius: 0; }
  .sig-band:hover, .sig-band[aria-pressed="true"] { background: none; }
  .sig-band:hover .sig-name, .sig-band[aria-pressed="true"] .sig-name { color: var(--accent); }
  .sig-band[aria-pressed="true"] { border-top-color: var(--on); }
  .sig-freq, .sig-tick, .sig-tick-h, .sig-when, .sig-items time, .sig-facts dd { font-family: var(--font-num); font-weight: var(--num-weight); word-spacing: var(--num-space); }
  .sig-side-title, .sig-sheet-title, .mr-head h3, .cty-card-top h3 { font-family: var(--font-title); font-size: calc(1.125rem * var(--name-scale)); font-weight: var(--name-weight); text-transform: none; --ls: 0em; }
  .sig-facts div { border-top-color: var(--rule); }

  /* ------------------------------------------------------------ 12. machine room: the room and its list (js/machine-room.js) */
  .machine-stage { border-radius: 0; }
  .machine-stage:focus-visible { box-shadow: none; outline: 2px solid var(--accent); outline-offset: -2px; }
  .machine-sample { padding: 0 .5rem; margin: 0; border: 0; background: color-mix(in srgb, var(--bg) 86%, transparent); }
  .mr-list { row-gap: 0; border-top: 1px solid var(--rule); }
  .mr-row { padding: 0 .1rem; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); }
  .mr-row:hover, .mr-row[aria-pressed="true"] { background: none; }
  .mr-row:hover .mr-name, .mr-row[aria-pressed="true"] .mr-name { color: var(--accent); }
  .mr-row[aria-pressed="true"] { border-bottom-color: var(--on); }
  .mr-row b, .mr-acts time, .tray-tag .n { font-family: var(--font-num); font-weight: var(--num-weight); word-spacing: var(--num-space); }
  .mr-dot, .machine-ticks i { border-radius: 0; }
  .machine-scrub { -webkit-appearance: none; appearance: none; }
  .machine-scrub::-webkit-slider-runnable-track { height: 2px; border-radius: 0; background: var(--line-strong); }
  .machine-scrub::-moz-range-track { height: 2px; border-radius: 0; background: var(--line-strong); }
  .machine-scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 12px; margin-top: -5px; border: 0; border-radius: 0; background: var(--accent); }
  .machine-scrub::-moz-range-thumb { width: 28px; height: 12px; border: 0; border-radius: 0; background: var(--accent); }

  /* ------------------------------------------------------------ 13. cities: the map, the panel, the card (js/scenes/cities.js) */
  .cty-map { border: 0; border-radius: 0; }
  .cty-search { padding: 0 .1rem; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: none; }
  .cty-search:focus-within { border-bottom-color: var(--accent); }
  .cty-hood { padding: 0 .1rem; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background-color: transparent; }
  .cty-dot { border-radius: 0; }
  .cty-kind b { font-family: var(--font-num); font-weight: var(--num-weight); color: inherit; opacity: .7; }
  .cty-list { border-top-color: var(--rule); }
  .cty-row { padding-inline: 0; }
  .cty-row:hover, .cty-row:focus-visible { background: none; }
  .cty-row:hover .cty-row-n { color: var(--accent); }
  .cty-row-n { font-family: var(--font-title); font-size: calc(1rem * var(--name-scale)); font-weight: var(--name-weight); }
  .cty-card { padding: var(--s-3) 0 0; border: 0; border-top: 1px solid var(--rule); border-radius: 0; background: var(--bg); }
  .cty-card-top h3 { font-size: calc(1.25rem * var(--name-scale)); }
  .cty-fact { grid-template-columns: 8.4rem minmax(0, 1fr); }      /* the label in spaced capitals is wider than the word was ("Neighbourhood") */
  .cty-close { border-radius: 0; }
  .cty-close:hover { background: none; color: var(--accent); }
  .cty-walk[aria-pressed="true"] { border-color: var(--on); background: var(--on); color: var(--on-ink); }
}
