/* explore.css: the spot explorer's look, the workbench's (explore.html) and the site's spot pages' (explore_template.html). */
.crumbs { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--accent); text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs i { color: var(--faint); font-style: normal; }
.lvl h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 28px); }
.read { display: flex; gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 13px 16px; margin: 8px 0 18px; text-decoration: none; color: inherit; max-width: 760px; }
a.read:hover { border-color: var(--accent); }
.read .play { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; font-size: 14px; }
.read.todo { border-style: dashed; border-left-style: solid; border-left-color: var(--line-strong); }
.read.todo .play { background: var(--sunk); color: var(--faint); }
.read b { display: block; font-size: 15.5px; } .read span { font-size: 13px; color: var(--muted); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 10px; }
.tile { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; text-decoration: none; color: inherit; }
a.tile:hover { border-color: var(--accent); }
.tile.soon { border-style: dashed; opacity: .6; }
.tile .nm { font: 800 16px/1.25 var(--sans); display: flex; gap: 8px; align-items: baseline; }
.tile .nm .st { margin-left: auto; font: 700 10.5px/1 var(--sans); letter-spacing: .04em; padding: 3px 7px; border-radius: 999px; background: var(--sunk); color: var(--muted); }
.tile .nm .st.live { background: var(--good-soft); color: var(--good); }
.tile .ab { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.tile .now { font-size: 12.5px; margin-top: 8px; display: grid; gap: 2px; color: var(--ink); }
.tile .now span { color: var(--muted); }
.hint { font-size: 12.5px; color: var(--faint); margin: 10px 0 0; }
.tile.part .nm .st { background: var(--gold-soft); color: var(--ink); }
.shared { font-size: 11.5px; color: var(--gold); font-weight: 650; margin-top: 3px; }
/* A story, playing on arrival (the app's own page, ?embed=1&autoplay=1): phone-shaped, the cards under it. */
.storyf { width: 100%; max-width: 420px; aspect-ratio: 9 / 16; max-height: 80vh; margin: 8px 0 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0b1118; }
.storyf iframe { width: 100%; height: 100%; border: 0; display: block; }
/* "Aimed at us" from the Effects lab, at the foot of a level */
.aimed { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.aimf { aspect-ratio: 9 / 16; max-width: 420px; max-height: 80vh; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #070d14; }
.aimf iframe { width: 100%; height: 100%; border: 0; display: block; }
/* The explorer: the spots down the left, as on the tuner */
.spotlay { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 16px; align-items: start; }
.rail { display: grid; gap: 7px; position: sticky; top: 62px; max-height: calc(100vh - 76px); overflow-y: auto; padding-right: 2px; }
.rail .hd { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 2px 0 1px; }
.sc { display: block; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--line-strong); border-radius: var(--radius); padding: 9px 11px; text-decoration: none; color: inherit; }
.sc:hover { border-color: var(--line-strong); }
.sc.on { border-color: var(--gold); border-left-color: var(--gold); box-shadow: 0 0 0 1px var(--gold-soft); }
.sc .nm { font: 800 15px/1.25 var(--sans); display: flex; gap: 6px; align-items: baseline; }
.sc .nm .bt { margin-left: auto; font: 700 10.5px/1 var(--sans); letter-spacing: .04em; padding: 3px 6px; border-radius: 999px; background: var(--sunk); color: var(--muted); }
.sc .nm .bt.reef, .sc .nm .bt.point { background: var(--accent-soft); color: var(--accent); }
.sc .meta { font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.sc .now { font-size: 12.5px; margin-top: 5px; line-height: 1.45; } .sc .now span { color: var(--muted); } .sc .now b { font-weight: 600; }
.about { font-size: 14px; color: var(--muted); max-width: 76ch; margin-bottom: 4px; }
.clockbar { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; position: sticky; top: 49px; z-index: 10; padding: 10px 0;
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.clockbar .when { font: 800 19px/1.15 var(--sans); min-width: 200px; } .clockbar .when span { display: block; font: 600 12px var(--sans); color: var(--muted); }
.scrub { flex: 1 1 380px; min-width: 0; display: flex; gap: 6px; align-items: center; }
.btn.step { padding: 8px 12px; font-size: 17px; line-height: 1; }
.track { position: relative; flex: 1; min-width: 0; height: 40px; border-radius: 9px; background: color-mix(in srgb, var(--gold) 16%, var(--panel)); border: 1px solid var(--line-strong); cursor: pointer; touch-action: none; overflow: hidden; user-select: none; }
.track:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.track .night { position: absolute; top: 0; bottom: 0; background: var(--sunk); }
.track .tick { position: absolute; bottom: 0; width: 1px; height: 6px; background: var(--line-strong); }
.track .day { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--line-strong); }
.track .day button { position: absolute; left: 3px; top: 3px; font: 700 11px var(--sans); color: var(--muted); background: none; border: 0; padding: 1px 4px; border-radius: 5px; cursor: pointer; white-space: nowrap; }
.track .day button:hover { background: var(--accent-soft); color: var(--ink); }
.track .nowm { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--accent); opacity: .8; pointer-events: none; }
.track .knob { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--gold); pointer-events: none; }
.track .knob::after { content: ''; position: absolute; left: 50%; top: 58%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 28%, transparent), 0 1px 3px rgba(0,0,0,.4); }
.scrubhint { flex-basis: 100%; font-size: 11.5px; color: var(--faint); margin-top: -4px; }
.ex { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 14px; align-items: start; }
.stage { border-radius: var(--radius); border: 1px solid var(--line); }
.stage .sizer { width: 100%; aspect-ratio: 1 / 1; max-height: 70vh; }
.stage .tiles { filter: brightness(.66) saturate(.9); }
.stage canvas.swl { z-index: 1; mix-blend-mode: screen; } .stage canvas.wind { z-index: 2; } .stage canvas#cv { z-index: 3; }
.layers { display: flex; gap: 8px 14px; margin: 0 0 8px; font-size: 13px; align-items: center; flex-wrap: wrap; }
.layers label.tog.off { opacity: .45; }
.ov { position: absolute; z-index: 3; color: #f2efe4; text-shadow: 0 1px 3px rgba(0,0,0,.9); pointer-events: none; }
.ov.act { left: 14px; top: 12px; font: 800 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.ov.act span { display: block; font: 600 12.5px var(--sans); letter-spacing: 0; text-transform: none; opacity: .85; margin-top: 2px; }
.facts { display: grid; gap: 9px; }
.fact { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.fact .k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.fact .v { font: 750 17px/1.3 var(--sans); margin-top: 2px; }
.fact .d { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.fact .v small { font: 650 12.5px var(--sans); color: var(--muted); }    /* the hour its number is for: "now", the page's title says today */
.fact .sw { font: 650 14.5px/1.45 var(--sans); margin: 2px 0; padding-left: 18px; text-indent: -18px; }
.fact .sw i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; text-indent: 0; }
.fact .sw small { font: 500 12px var(--sans); color: var(--faint); }
.fact.ck .seg { margin-top: 7px; } .fact.ck .seg button { min-height: 34px; }     /* the one-tap check-in (CRITIQUE S4) */
.fact.ck .ckmsg:empty { display: none; }
.w-calm { color: var(--muted); } .w-offshore { color: var(--good); } .w-onshore { color: var(--bad); } .w-cross-shore { color: var(--warn); }
/* The wind's tone for the surf (trial spot-page): green go, yellow fair, red poor, from its speed and direction (config/explorer.json). */
.t-go { color: var(--t-go, #6cc38c); } .t-fair { color: var(--t-fair, #f0c94a); } .t-poor { color: var(--t-poor, #ec7d74); }
.facts:empty { display: none; }
.tracks { margin-top: 14px; padding: 12px 14px 6px; }
svg.tr { width: 100%; height: auto; display: block; touch-action: none; cursor: ew-resize; user-select: none; }
/* The charts are drawn in the panel's own pixels (trial spot-page), so these are the sizes on screen. */
svg.tr text { fill: var(--faint); font: 11px var(--sans); }
svg.tr text.lab { fill: var(--ink); font: 750 13px var(--sans); letter-spacing: .02em; }
svg.tr tspan.sub { fill: var(--muted); font: 500 11.5px var(--sans); letter-spacing: 0; }
svg.tr text.day { fill: var(--ink); font: 700 11.5px var(--sans); }
svg.tr text.tv { fill: rgb(170, 195, 255); font: 700 11px var(--sans); }
svg.tr .grid { stroke: var(--line); }
.keyline { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); margin: 6px 0 4px; }
.keyline i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }
.small-print { font-size: 12px; color: var(--faint); margin-top: 12px; }
.untuned { display: inline-block; margin-top: 8px; padding: 2px 7px; border-radius: 4px; font: 700 10px/1.3 sans-serif; letter-spacing: .03em;
  background: rgba(255,176,46,.16); color: #ffb02e; border: 1px solid rgba(255,176,46,.45); }      /* the untuned tag (Kurtis, 2026-10-08) */
.sc .untuned { margin-top: 6px; }
#check { position: fixed; left: 12px; bottom: 12px; z-index: 50; max-width: min(760px, calc(100vw - 24px)); background: rgba(8,14,22,.94); color: #e8e6df; font: 11.5px/1.5 var(--mono); padding: 10px 12px; border-radius: 8px; white-space: pre-wrap; }
@media (max-width: 1000px) { .ex { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .spotlay { grid-template-columns: minmax(0, 1fr); } .clockbar { top: 0; }
  .rail { position: static; max-height: none; display: flex; overflow-x: auto; padding-bottom: 4px; }
  .rail .sc { flex: 0 0 190px; } .rail .hd { display: none; }
}
/* ── ?app=1: the explorer as the app shows it, phone first ─────────────────────────────────────────────
   Portrait: the map full-bleed under the place bar (appkit.js bar(): ‹ the region, the spot's name, its neighbours behind
   ▾, the named swells, share, ⋯), and a sheet with three detents, the clock always on its top edge. Wider (landscape, a tablet,
   a desktop): the spots pin open on the left and the sheet becomes the right rail, each collapsible to a thin edge. The mode
   is set from the shell's own width (data-mode), not the window's. */
@view-transition { navigation: auto; }               /* from the region's page, which opts in too (appkit.js myRead) */
html.app, html.app body { height: 100%; overflow: hidden; overscroll-behavior: none; background: #070d14; }
html.app body > header.top, html.app main > :not(#view) { display: none; }
html.app main { max-width: none; margin: 0; padding: 0; }
.shell { position: fixed; inset: 0; height: 100vh; height: 100dvh; overflow: hidden; background: #070d14; color: var(--ink);
  --abar: calc(52px + env(safe-area-inset-top)); --peek: 230px; --lw: clamp(184px, 24%, 290px); --rw: clamp(276px, 34%, 420px); }
.shell .stage { position: absolute; inset: 0 0 calc(var(--peek) - 18px); border: 0; border-radius: 0; }
.shell .ov.act { top: calc(var(--abar) + 2px); } .shell[data-mode=sheet] .stage .credit { bottom: 24px; }
.abar { position: absolute; left: 0; right: 0; top: 0; z-index: 6; height: var(--abar); display: flex; align-items: center; gap: 4px; color: #f2efe4;
  padding: env(safe-area-inset-top) max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left)); background: linear-gradient(rgba(5,10,16,.8), rgba(5,10,16,0)); }
.ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; padding: 0; background: rgba(8,14,22,.55); color: #f2efe4;
  font: 700 22px/1 var(--sans); text-decoration: none; cursor: pointer; backdrop-filter: blur(6px); }
#spotname { view-transition-name: spot-name; }      /* the spot's name morphs from the region's grid, and spot to spot */
/* The spots: the cards north to south, each with its numbers at the clock's hour (railNow): the left rail when wider, and on a
   phone over the map from ▾ (appkit.js pop()) */
.drawer { margin: 0; border: 0; background: var(--bg); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
  padding: calc(10px + env(safe-area-inset-top)) 10px calc(14px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); }
.shell[data-mode=sheet] .drawer { display: none; }
.drawer .dh { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; min-height: 44px; }
.drawer .dh div { margin-right: auto; } .drawer .dh b { display: block; font: 800 16px/1.2 var(--sans); } .drawer .dh span { font-size: 12px; color: var(--faint); }
html.app :is(.drawer, .ak-pop) .rail { position: static; display: grid; gap: 7px; max-height: none; overflow: visible; padding: 0; container-type: inline-size; }
html.app :is(.drawer, .ak-pop) .rail .sc { flex: none; min-height: 44px; cursor: pointer; }
html.app .ak-pop .rail .sc { color: var(--ink); }
.collapse, .edgebtn { display: none; }
/* The sheet: grip, clock and peek on top (its header, always showing), then the facts and tracks (half), the notes and small print (full) */
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; height: calc(100% - var(--abar)); display: flex; flex-direction: column; background: var(--bg);
  border-radius: 16px 16px 0 0; box-shadow: 0 -6px 26px rgba(0,0,0,.4); transition: transform .3s cubic-bezier(.2,.8,.2,1); will-change: transform;
  transform: translateY(calc(100% - var(--peek))); }
.sheet[data-detent=half] { transform: translateY(calc(100% - 56vh)); transform: translateY(calc(100% - 56dvh)); }
.sheet[data-detent=full] { transform: translateY(0); }
.sheet.drag { transition: none; }
.shd { flex: none; padding: 0 12px 10px; }
.grip { display: grid; place-items: center; width: 100%; height: 24px; border: 0; padding: 0; background: none; cursor: grab; touch-action: none; }
.grip i { width: 40px; height: 5px; border-radius: 3px; background: var(--line-strong); }
.shell .clockbar { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; padding: 0 0 8px; margin: 0; border: 0; background: none; backdrop-filter: none; }
.shell .clockbar .when { min-width: 0; font-size: 17px; align-self: center; touch-action: none; }
.shell .clockbar .scrub { grid-column: 1 / -1; flex: none; }
.shell .btn, .shell .btn.step { min-width: 44px; min-height: 44px; padding: 0 12px; justify-content: center; }
.shell .track { height: 44px; }
.peek { container-type: inline-size; touch-action: none; }
.pk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
/* Four tiles: the swell, the wind, the tide and the hour's weather (the surf is on the map; trial spot-page; weather 2026-10-31), two by two when narrow. */
@container (min-width: 440px) { .pk { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nowb:empty { display: none; } .nowb { padding: 10px 12px 0; } .nowb .ak-now { margin-bottom: 6px; }
.ov.act:empty { display: none; }
.pk > div { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 6px 9px 7px; }
.pk .k { font: 700 10px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.pk .v { font: 800 15.5px/1.25 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk .d { font-size: 11.5px; line-height: 1.3; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pk .v i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.sbody { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 12px calc(18px + env(safe-area-inset-bottom)); container-type: inline-size; }
.sheet[data-detent=peek] .sbody { overflow: hidden; }
@container (min-width: 520px) { .sbody .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sbody .tracks, .sbody .fullpart { content-visibility: auto; contain-intrinsic-size: auto 360px; }
.sbody .tracks { margin-top: 10px; padding: 8px 8px 4px; }
.sbody .fullpart h3 { margin: 18px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.sbody .fullpart p.guide { margin: 0 0 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink); }      /* a spot's guide (explore.js guide) */
/* ⋯: the scale and the layers, light-dismissed */
.lpop { position: fixed; inset: auto; top: calc(var(--abar) + 4px); right: max(8px, env(safe-area-inset-right)); margin: 0; width: min(330px, calc(100vw - 16px));
  padding: 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--panel); color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.lpop .seg { margin-bottom: 10px; } .lpop .seg button { min-height: 40px; } .lpop label.tog { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.lpop label.tog.off { opacity: .45; }
.lpop .pickl { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font: 700 14px/1.3 var(--sans); color: var(--accent); text-decoration: none; }     /* the pick, off the bar (2026-11-01) */
/* The spots on a phone: the sheet lists the region's spots after the charts, since the drawer is hidden in sheet mode (2026-11-01) */
.sheet-spots { margin: 14px 0 6px; } .sheet-spots h4 { font: 700 11px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 0 0 8px; }
.sheet-spots .rail { display: grid; gap: 7px; } .shell[data-mode=rails] .sheet-spots { display: none; }
@supports not selector(:popover-open) { .lpop:not(.open) { display: none; } }
/* Wider: the drawer pinned on the left and the sheet as the right rail, each collapsible to an edge */
/* Rails (a tablet and up): the clock, the tiles and the charts at the LEFT, the spots' cards at the RIGHT (Kurtis, 2026-10-09: "put the
   spot cards on the right and the tide and other stuff on the left"), the map between. --lw is still the drawer's width, --rw the sheet's. */
.shell[data-mode=rails] { display: grid; grid-template-columns: var(--rw) minmax(0, 1fr) var(--lw); grid-template-rows: auto minmax(0, 1fr); transition: grid-template-columns .25s ease; }
.shell[data-mode=rails][data-left=edge] { --lw: 20px; } .shell[data-mode=rails][data-right=edge] { --rw: 20px; }
.shell[data-mode=rails] > * { grid-row: 2; }
.shell[data-mode=rails] .stage { position: relative; inset: auto; grid-column: 2; height: 100%; }
/* The place bar is a row of its own across all three columns, so the mark is at the page's top left, the way home (Kurtis, 2026-10-09:
   "always top left so people know they can get back there"; 2026-10-08: on the middle column it sat "in the middle of the page"). */
.shell[data-mode=rails] .abar { position: relative; grid-row: 1; grid-column: 1 / -1; background: #070d14; border-bottom: 1px solid var(--line); }
.shell[data-mode=rails] .ov.act { top: 8px; }
.shell[data-mode=rails] .drawer { position: relative; grid-column: 3; height: 100%; min-width: 0; border-left: 1px solid var(--line); }
.shell[data-mode=rails] .sheet { position: relative; grid-column: 1; height: 100%; min-width: 0; transform: none; border-radius: 0; box-shadow: none; border-right: 1px solid var(--line); }
.shell[data-mode=rails] .sheet .grip { display: none; } .shell[data-mode=rails] .shd { padding-top: 10px; }      /* the bar above carries the safe area now */
.shell[data-mode=rails] .collapse { display: grid; background: var(--sunk); color: var(--ink); font-size: 18px; }
.shell[data-mode=rails] .clockbar { grid-template-columns: minmax(0, 1fr) auto auto auto; }
.shell[data-mode=rails][data-left=edge] .drawer > *, .shell[data-mode=rails][data-right=edge] .sheet > * { display: none; }
.shell[data-mode=rails][data-left=edge] .drawer > .edgebtn, .shell[data-mode=rails][data-right=edge] .sheet > .edgebtn { display: block; }
.edgebtn { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: var(--sunk); color: var(--muted); cursor: pointer; font: 800 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; writing-mode: vertical-rl; }
.shell[data-mode=rails][data-left=edge] .drawer, .shell[data-mode=rails][data-right=edge] .sheet { padding: 0; overflow: hidden; }
@starting-style { .shell[data-mode=rails] .sheet, .shell[data-mode=rails] .drawer { opacity: 0; } }
.shell[data-mode=rails] .sheet, .shell[data-mode=rails] .drawer { transition: opacity .3s; }
@media (prefers-reduced-motion: reduce) {
  html.app *, html.app *::backdrop { transition: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
html.app #check { top: calc(56px + env(safe-area-inset-top)); bottom: auto; max-height: 70dvh; overflow: auto; z-index: 60; }
/* ── The site's spot pages (explore_template.html) ─────────────────────────────────────────────────────
   The spot's words (explorer.py, from its own numbers) are the page until the explorer draws over them, and what shows
   without the script. The 320×50 anchor (appkit.js) sits under the shell, never over the map. */
html.app .words { max-width: 62ch; margin: 0 auto; padding: calc(28px + env(safe-area-inset-top)) 16px 90px; color: #f2efe4; }
html.app .words h1 { font-size: 24px; } html.app .words a { color: #9fe3f5; } html.app .words .others { font-size: 14px; opacity: .85; }
body.ads { --ad: 58px; }
body.ads .shell { height: calc(100vh - var(--ad)); height: calc(100dvh - var(--ad)); }
.down { position: fixed; z-index: 60; left: 16px; right: 16px; top: calc(16px + env(safe-area-inset-top)); margin: 0; padding: 12px 14px;
  border-radius: 10px; background: #3a2a14; color: #f2efe4; border: 1px solid #a8641a; }

/* ?tv=1: a spot on a shop's screen (explore.js tvCycle; player.js frames it; trial shop-screen): the map alone, full-bleed, and
   the TV's words over it, sized as the TV's own (player.css, in vmin) and clear of its QR on the right. */
html.tv .abar, html.tv .drawer, html.tv .sheet, html.tv .lpop, html.tv .edgebtn, html.tv .shell .ov.act, html.tv .ak-foot-ad { display: none !important; }
html.tv .shell, html.tv .shell[data-mode] { display: block; }
html.tv .shell .stage, html.tv .shell[data-mode] .stage { position: absolute; inset: 0; width: auto; height: auto; }
.tvov { display: none; }
html.tv .tvov { display: block; position: fixed; inset: 0; z-index: 20; pointer-events: none; color: #f2efe4; text-shadow: 0 1px 3px rgba(0,0,0,.9);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; }
.tvov .tvact { position: absolute; left: 3vmin; top: 3vmin; font-size: 2.2vmin; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tvov .tvact span { display: block; font-size: 2.4vmin; font-weight: 600; letter-spacing: 0; text-transform: none; opacity: .88; margin-top: .4vmin; }
.tvov .tvthird { position: absolute; left: 0; right: 0; bottom: 0; padding: 8vmin 40vmin 3.7vmin 3vmin; background: linear-gradient(transparent, rgba(5,10,16,.9) 38%); }
.tvov .tvsurf { font-size: 4.6vmin; font-weight: 750; line-height: 1.15; }
.tvov .tvsurf small { font-size: 2vmin; font-weight: 650; opacity: .75; margin-left: 1.3vmin; letter-spacing: .02em; }
.tvov .tvbits { display: flex; flex-wrap: wrap; gap: .8vmin 2.8vmin; margin-top: 1vmin; font-size: 2.5vmin; font-weight: 650; }
.tvov .tvbits b { font-weight: 800; }
.tvov svg { display: block; width: 100%; height: auto; aspect-ratio: 1448 / 128; margin-top: 3.5vmin; overflow: visible; }

/* The map's own scrubber (explore.js mapScrub; Kurtis, 2026-10-08): desktop only, the Swell tracker's along the map's foot, over the credit. */
.mscrub { display: none; }
.shell[data-mode=rails] .mscrub { display: block; position: absolute; left: 0; right: 0; bottom: 26px; height: 56px; z-index: 6; cursor: grab; touch-action: none; }
.mscrub.dragging { cursor: grabbing; } .mscrub:focus-visible { outline: none; }
.mscrub .trk { position: absolute; left: 44px; right: 44px; top: 25px; height: 6px; border-radius: 3px; background: rgba(255,214,120,.32); box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.mscrub .trk::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--f, 0) * 100%); border-radius: 3px; background: rgba(255,214,120,.8); }
.mscrub .trk i.now { position: absolute; top: -6px; left: calc(var(--now, 0) * 100%); width: 2px; height: 18px; margin-left: -1px; background: #4cc3cf; }
.mscrub .kn { position: absolute; top: 11px; left: calc(44px + var(--f, 0) * (100% - 88px)); width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: #ffd678;
  display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.55); }
.mscrub .kn b { width: 0; height: 0; margin-left: 4px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #0b1219; }
.mscrub.playing .kn b { width: 13px; height: 14px; margin: 0; border: 0; border-left: 4px solid #0b1219; border-right: 4px solid #0b1219; box-sizing: border-box; }
html.tv .mscrub { display: none !important; }

/* A pick's landing (explore.js sentFor, 2026-10-17): what was sent for, and Make your pick */
.fact.sent .big { font-size: 24px; font-weight: 900; letter-spacing: -.01em; margin: 2px 0 4px; }
.fact.sent .pickbtn { display: block; margin-top: 10px; text-align: center; font-weight: 800; font-size: 15px; background: #ffd678; color: #1a1300; border-radius: 12px; padding: 12px; text-decoration: none; }
.ak-b.pickb { font-size: 20px; text-decoration: none; }
