/* nycalert.ai/beta: the map console (owner 2026-11-03: Option J2, the radio on the map). Tokens and the radio head come from styles.css. */
body.beta { height: 100dvh; min-height: 0; overflow: hidden; background: var(--bg); display: grid; grid-template-rows: 60px minmax(0, 1fr); }
.bt-top { display: flex; align-items: center; gap: var(--space-5); padding-inline: var(--space-5); background: var(--black); border-block-end: 1px solid var(--line); }
.bt-brand { display: flex; align-items: center; gap: 10px; color: var(--bright); text-decoration: none; font: 900 1.1875rem var(--display); }
.bt-brand span { white-space: nowrap; } .bt-brand img { width: 32px; height: 32px; } .bt-brand b { color: var(--accent); font-style: italic; }
.bt-brand em { padding: 1px 6px; border: 1px solid var(--accent); border-radius: 4px; color: var(--accent-text); font: 700 0.625rem var(--mono); letter-spacing: .1em; font-style: normal; }
.bt-nav { display: flex; align-items: center; gap: var(--space-2); font-size: 0.875rem; } .bt-nav a { color: var(--muted); text-decoration: none; } .bt-nav a:hover { color: var(--bright); } .bt-nav > a:first-child { margin-inline-end: var(--space-3); }
.bt-nav .bt-navbtn { padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel2); color: var(--bright); font-weight: 600; white-space: nowrap; } .bt-nav .bt-navbtn:hover { border-color: var(--accent); } .bt-navbtn[hidden] { display: none; }
.bt-nav .bt-navbtn.is-discord { border-color: #5865f2; background: #5865f2; color: #fff; } .bt-nav .bt-navbtn.is-discord:hover { background: #4752c4; border-color: #4752c4; }
.bt-nav .bt-navbtn.is-donate { border-color: #ffd21f; background: #ffd21f; color: #111; font-weight: 700; } .bt-nav .bt-navbtn.is-donate:hover { background: #ffe25c; border-color: #ffe25c; color: #111; }
.bt-nav .bt-navbtn.is-staff { border-color: var(--accent); color: var(--accent-text); }
.bt-status { margin-inline-start: auto; display: flex; align-items: center; gap: var(--space-4); color: var(--muted); font: 500 0.8125rem var(--mono); }
.bt-live { display: inline-flex; align-items: center; gap: 7px; } .bt-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.bt-live[data-state="live"] { color: var(--live); } .bt-live[data-state="live"] i { background: var(--live); box-shadow: 0 0 8px var(--live); }
.bt-live[data-state="error"] { color: var(--gold-text); } .bt-live[data-state="error"] i { background: var(--gold-text); }

.bt-main { display: grid; grid-template-columns: 400px minmax(0, 1fr); min-height: 0; }

/* the call board */
.bt-board { display: flex; flex-direction: column; min-height: 0; border-inline-end: 1px solid var(--line); }
.bt-auth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); padding: var(--space-3) var(--space-3) 0; }
.bt-auth a { padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel2); color: var(--bright); font-size: 0.875rem; font-weight: 600; text-align: center; text-decoration: none; }
.bt-auth a:hover { border-color: var(--accent); } .bt-auth .bt-auth-register { border-color: var(--accent); background: var(--accent); }
.bt-auth.is-in { grid-template-columns: minmax(0, 1fr); } .bt-auth.is-in a { background: none; color: var(--muted); font-weight: 500; text-align: start; }
.bt-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--space-2); padding: var(--space-2) var(--space-3) 0; }
.bt-menus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); padding: var(--space-2) var(--space-3) var(--space-3); border-block-end: 1px solid var(--line); }
.bt-search { min-width: 0; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel); font-size: 0.8125rem; }
.bt-menu { position: relative; min-width: 0; }
.bt-menu summary { display: grid; gap: 1px; padding: 5px 24px 5px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel2); cursor: pointer; list-style: none; position: relative; }
.bt-menu summary::-webkit-details-marker { display: none; }
.bt-menu summary::after { content: "▾"; position: absolute; inset-inline-end: 9px; inset-block-start: 50%; translate: 0 -50%; color: var(--faint); font-size: 0.75rem; }
.bt-menu[open] summary { border-color: var(--accent); }
.bt-menu-name { color: var(--faint); font: 500 0.625rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.bt-menu-value { color: var(--bright); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-menu-small summary { display: flex; align-items: center; gap: 6px; height: 100%; padding-block: 4px; } .bt-menu-small .bt-menu-value { font-size: 0.75rem; }
.bt-menu-panel { position: absolute; z-index: 1200; inset-block-start: calc(100% + 4px); inset-inline-start: 0; min-width: 100%; width: max-content; max-width: 280px; padding: 6px; display: grid; gap: 2px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel3); box-shadow: 0 8px 24px rgb(0 0 0 / .6); }
.bt-menu-small .bt-menu-panel { inset-inline-start: auto; inset-inline-end: 0; }
.bt-menu-panel label { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: 0.875rem; cursor: pointer; white-space: nowrap; }
.bt-menu-panel label:hover { background: var(--ink-600); } .bt-menu-panel input { accent-color: var(--accent); margin: 0; }
.bt-menu-panel label.is-locked { color: var(--faint); cursor: not-allowed; } .bt-menu-panel small { margin-inline-start: auto; padding-inline-start: 12px; color: var(--faint); font-size: 0.6875rem; }

.bt-rows { flex: 1; min-height: 0; overflow-y: auto; }
.bt-row { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto; gap: 3px 12px; width: 100%; padding: 11px 14px 11px 0; border: 0; border-block-end: 1px solid var(--line); background: var(--bg); color: inherit; text-align: start; cursor: pointer; }
.bt-row { position: relative; } .bt-row:hover { background: var(--panel); } .bt-row.is-selected { background: var(--panel3); }
.bt-row.is-updated { animation: bt-updated 2.4s ease-out; }
/* on the air: a call the pipeline has linked to this incident (the live stream's incident_id or link event) */
.bt-row.is-air { animation: bt-air 1s ease-in-out infinite; } .bt-row.is-air .bar { background: var(--accent); }
@keyframes bt-air { 50% { background: var(--red-deep); box-shadow: inset 0 0 0 1px var(--accent); } }
/* a new call: blue, so it reads apart from on the air (red) and an update (gold); slower than three flashes a second */
.bt-row.is-newcall { animation: bt-newcall .9s ease-in-out infinite; box-shadow: inset 0 0 0 2px #fff; } .bt-row.is-newcall .bar { background: #fff; }
.bt-newtag { display: inline-flex; margin-block-end: 3px; padding: 1px 6px; border-radius: 4px; background: #fff; color: #0b2f73; font: 700 0.625rem var(--mono); letter-spacing: .06em; white-space: nowrap; }
@keyframes bt-newcall { 50% { background: #174ea6; } }
@keyframes bt-updated { from { background: #4a3a10; box-shadow: inset 0 0 0 1px var(--gold-text); } }
@media (prefers-reduced-motion: reduce) { .bt-row.is-updated { animation-duration: .01s; } .bt-row.is-air { animation: none; background: var(--red-deep); } .bt-row.is-newcall { animation: none; background: #174ea6; } }
.bt-five { padding: 0 4px; border-radius: 3px; background: var(--panel3); color: var(--muted); font-weight: 700; white-space: nowrap; }
.bt-five[data-level="5"] { background: var(--red-deep); color: #ff8a90; } .bt-five[data-level="4"] { background: #3a2308; color: #ffb066; } .bt-five[data-level="3"] { background: #33290a; color: var(--gold-text); }
.bt-five[data-calm] { background: #0f3a24; color: var(--live); } .bt-calm { margin-inline-start: 4px; padding: 0 5px; border-radius: 3px; background: #0f3a24; color: var(--live); font-weight: 700; }
.bt-row[data-calm][data-calm] .bar { background: var(--live); }
.leaflet-tooltip.bt-pinlabel.is-calm { border-color: #2c6b45; color: var(--live); }
.bt-five[data-way="up"] { outline: 1px solid var(--accent); } .bt-five[data-way="down"] { outline: 1px solid var(--live); color: var(--live); }
.bt-row .bar { grid-row: span 2; border-radius: 0 3px 3px 0; background: var(--blue); }
.bt-row[data-level="5"] .bar { background: var(--accent); } .bt-row[data-cat="newsworthy"] .bar { background: var(--goldenrod); }
.bt-row h3 { margin: 0; font: 700 0.9375rem/1.3 var(--sans); letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bt-row .meta { grid-column: 2 / -1; color: var(--muted); font: 500 0.75rem var(--mono); }
.bt-row .side { text-align: end; color: var(--faint); font: 500 0.75rem var(--mono); white-space: nowrap; } .bt-row .side b { display: block; color: var(--live); font-weight: 500; }
.bt-air { display: inline-flex; align-items: center; gap: 5px; margin-block-end: 3px; padding: 1px 6px; border-radius: 4px; background: var(--accent); color: #fff; font: 700 0.625rem var(--mono); letter-spacing: .06em; }
.bt-empty { padding: var(--space-5) var(--space-4); color: var(--muted); font-size: 0.875rem; }

/* the map */
.bt-stage { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.bt-mapwrap { position: relative; flex: 1; min-height: 120px; } #bt-map { position: absolute; inset: 0; background: #111; }
.bt-update { padding: 7px 12px; border-color: #174ea6; color: var(--bright); font: 600 0.8125rem var(--sans); cursor: pointer; } .bt-update:hover { background: #174ea6; }
.bt-arrival { position: absolute; z-index: 1000; inset-block-start: var(--space-4); inset-inline-start: 50%; transform: translateX(-50%); width: min(320px, calc(100% - 32px)); display: grid; gap: 3px; padding: 10px 14px; border-inline-start: 4px solid #174ea6; }
.bt-arrival[hidden] { display: none; } .bt-arrival strong { font: 800 0.9375rem/1.3 var(--display); }
.bt-arrival-kind { color: #8fb4ff; font: 700 0.625rem var(--mono); letter-spacing: .08em; text-transform: uppercase; } .bt-arrival-meta { color: var(--muted); font-size: 0.75rem; }
.bt-arrival-actions { display: flex; gap: var(--space-2); margin-block-start: 5px; } .bt-arrival .is-primary { border-color: #174ea6; background: #174ea6; color: #fff; }
@media (prefers-reduced-motion: no-preference) { .bt-arrival { animation: bt-arrival-in .25s ease-out; } @keyframes bt-arrival-in { from { opacity: 0; } } }
.bt-saying { position: absolute; z-index: 800; pointer-events: none; width: max-content; max-width: 300px; padding: 8px 12px; border: 1px solid var(--accent); border-inline-start-width: 4px; border-radius: 6px; background: rgb(0 0 0 / .92); color: var(--bright); font: 500 0.8125rem/1.35 var(--sans); white-space: normal; box-shadow: 0 4px 14px rgb(0 0 0 / .5); }
.bt-saying b { display: block; margin-block-end: 2px; color: var(--accent-text); font: 700 0.625rem var(--mono); letter-spacing: .08em; }
.leaflet-tooltip.bt-pinlabel { padding: 1px 6px; border: 1px solid var(--line-strong); border-radius: 4px; background: rgb(0 0 0 / .86); color: var(--bright); font: 600 0.6875rem/1.45 var(--mono); box-shadow: none; white-space: nowrap; cursor: pointer; }
.leaflet-tooltip.bt-pinlabel::before { display: none; }
.leaflet-tooltip.bt-pinlabel.is-five { z-index: 2; border-color: var(--accent); background: var(--red-deep); } .leaflet-tooltip.bt-pinlabel.is-selected { z-index: 3; border-color: var(--bright); }
.bt-float { position: absolute; z-index: 1000; background: rgb(10 10 10 / .93); border: 1px solid var(--line-strong); border-radius: 12px; }
.bt-mapleft { position: absolute; z-index: 1000; inset-block-start: var(--space-4); inset-inline-start: var(--space-4); width: min(470px, calc(100% - 368px)); display: grid; gap: var(--space-2); }
.bt-mapleft .radio { margin: 0; min-width: 0; }
.bt-onair { position: static; cursor: pointer; display: flex; align-items: center; gap: var(--space-3); padding: 9px 16px; border-color: var(--accent); font-size: 0.875rem; }
.bt-onair b { color: var(--accent-text); font: 700 0.75rem var(--mono); letter-spacing: .08em; white-space: nowrap; }
/* the red bar of widget/live: white tag, uppercase line, wiping across the bottom of the map */
.bt-alert { z-index: 1100; inset-inline: 0; inset-block-end: 0; display: flex; align-items: center; gap: var(--space-4); min-height: 58px; padding: 8px 12px 8px 20px; border: 0; border-radius: 0; background: var(--accent); color: #fff; box-shadow: 0 -4px 24px rgb(227 27 35 / .5); animation: bt-alert-in .55s cubic-bezier(.2,.8,.2,1), bt-alarm .9s steps(1, end) 8 .55s; }
.bt-alert b { flex: none; padding: 4px 12px; border-radius: 6px; background: #fff; color: var(--accent); font: 900 1.0625rem var(--display); letter-spacing: .04em; text-transform: uppercase; }
.bt-alert span { flex: 1; min-width: 0; font: 800 1.1875rem/1.15 var(--display); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-alert .bt-link { flex: none; border-color: rgb(255 255 255 / .7); background: none; color: #fff; }
.bt-alert-x { flex: none; width: 28px; height: 28px; border: 0; border-radius: 6px; background: none; color: inherit; font-size: 1.125rem; cursor: pointer; } .bt-alert-x:hover { background: rgb(255 255 255 / .18); }
.bt-upvote .bt-alert-x { color: var(--muted); }
@keyframes bt-alert-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes bt-alarm { 50% { background: #a30f15; } }
@media (prefers-reduced-motion: reduce) { .bt-alert { animation: none; } }
.bt-corner { position: absolute; z-index: 1000; inset-block-end: var(--space-4); inset-inline-start: var(--space-4); display: flex; align-items: flex-end; gap: var(--space-2); }
/* site-r192: who is watching (the app above the website) beside a QR code to the app */
.bt-counts { display: grid; gap: 6px; justify-items: start; } .bt-counts:not(:has(> :not([hidden]))) { display: none; }
.bt-online.is-app i { background: var(--gold-text); box-shadow: 0 0 6px var(--gold-text); }
.bt-getapp { display: grid; justify-items: center; gap: 4px; padding: 6px 6px 5px; border-radius: 10px; color: var(--bright); font-size: 0.6875rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; }
.bt-getapp img { display: block; width: 64px; height: 64px; border-radius: 4px; image-rendering: pixelated; } .bt-getapp:hover { border-color: var(--accent); } .bt-getapp:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bt-corner .bt-float { position: static; } .bt-corner [hidden] { display: none; }
.bt-fit { padding: 6px 12px; border-radius: 8px; color: var(--bright); font-size: 0.8125rem; font-weight: 600; cursor: pointer; } .bt-fit:hover { border-color: var(--accent); }
.bt-online { display: flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 8px; font-size: 0.8125rem; color: var(--muted); }
.bt-online i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 6px var(--live); } .bt-online b { color: var(--bright); font: 800 0.9375rem var(--display); }
.bt-upvote { inset-block-end: 122px; inset-inline-start: var(--space-4); width: 340px; padding: 12px 14px; display: grid; gap: 4px; border-color: var(--goldenrod); }
.bt-upvote b { color: var(--gold-text); font-size: 0.8125rem; } .bt-upvote span { font-weight: 700; font-size: 0.9375rem; line-height: 1.3; } .bt-upvote small { color: var(--muted); font-size: 0.75rem; } .bt-upvote div { display: flex; justify-content: space-between; align-items: center; margin-block-start: 4px; }
.bt-map-sharp { filter: invert(1) grayscale(1) brightness(1.9) contrast(.82); }
.bt-right { position: absolute; z-index: 1000; inset-block-start: var(--space-4); inset-inline-end: var(--space-4); width: 320px; display: grid; gap: var(--space-2); transition: width .2s ease; }
.bt-right[hidden] { display: none; } .bt-right .bt-float { position: static; } .bt-right:has(.bt-cam.is-big) { width: min(640px, calc(100% - 520px)); }
.bt-cam { overflow: hidden; }
.bt-unitcard { display: grid; gap: var(--space-2); padding: 10px 14px; } .bt-unit.is-new { border-color: var(--gold-text); color: var(--gold-text); animation: bt-unit-new 2.5s ease-out; }
@keyframes bt-unit-new { from { background: #4a3a10; } }
.bt-cams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.bt-camtile { position: relative; display: block; margin: 0; padding: 0; min-width: 0; border: 0; background: none; color: inherit; cursor: zoom-in; } .bt-camtile:first-child { grid-column: 1 / -1; }
.bt-cam.is-big .bt-camtile:first-child { cursor: zoom-out; } .bt-cam.is-big .bt-camtile:first-child img { height: min(340px, 42dvh); } .bt-cam.is-big .bt-camtile img { height: 120px; }
.bt-camtile img { width: 100%; height: 92px; object-fit: cover; } .bt-camtile:first-child img { height: 164px; }
.bt-camtile span { position: absolute; inset-block-end: 4px; inset-inline-end: 4px; padding: 1px 6px; border-radius: 4px; background: rgb(0 0 0 / .78); font: 500 0.6875rem var(--mono); }
.bt-cam-info { display: grid; gap: var(--space-2); padding: 10px 14px; } .bt-label { color: var(--faint); font: 500 0.6875rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.bt-units { display: flex; flex-wrap: wrap; gap: 6px; } .bt-unit { padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--panel3); font: 500 0.75rem var(--mono); }
.bt-votes { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.bt-vote-status { flex-basis: 100%; display: flex; align-items: center; gap: 7px; font-size: 0.8125rem; font-weight: 600; } .bt-vote-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.bt-votes[data-live="on"] .bt-vote-status i { background: var(--live); box-shadow: 0 0 6px var(--live); }
.bt-vote { padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel2); font-size: 0.875rem; cursor: pointer; white-space: nowrap; }
.bt-vote.is-on { border-color: var(--accent); background: var(--red-deep); } .bt-vote[disabled]:not(.is-on) { opacity: .55; cursor: default; }

/* the selected call */
.bt-story { flex: none; padding: 12px 20px; display: grid; gap: 10px; background: var(--panel); border-block-start: 2px solid var(--accent); }
.bt-story-head { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.bt-story-head h2 { margin: 0; min-width: 0; font: 800 1.25rem/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-share { flex: none; display: flex; gap: 6px; }
.bt-share a, .bt-share button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--panel2); color: var(--muted); font: 700 0.875rem var(--sans); text-decoration: none; cursor: pointer; }
.bt-share a:hover, .bt-share button:hover { border-color: var(--accent); color: #fff; } .bt-share a:focus-visible, .bt-share button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.bt-story-head .right { margin-inline-start: auto; display: flex; align-items: center; gap: var(--space-2); flex: none; }
.bt-tag { flex: none; padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--muted); font: 700 0.6875rem var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.bt-tag.hot { border-color: var(--accent); background: var(--accent); color: #fff; } .bt-tag.done { border-color: #2c6b45; color: var(--live); } .bt-tag.box { border-color: #7a1b20; background: var(--red-deep); color: #ff8a90; text-transform: none; }
.bt-link { padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--panel2); color: var(--muted); font-size: 0.8125rem; text-decoration: none; cursor: pointer; } .bt-link:hover { color: var(--bright); }
.bt-story.is-collapsed .bt-track { display: none; }
.bt-lanes { display: flex; gap: var(--space-3); padding-block-end: 6px; overflow-x: auto; position: relative; scrollbar-width: thin; scrollbar-color: var(--accent) var(--ink-600); }
.bt-clipline { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.bt-download { padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); font: 600 0.75rem var(--mono); text-decoration: none; } .bt-download:hover { border-color: var(--accent); }
.bt-track { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; } .bt-track.is-long { grid-template-columns: 48px minmax(0, 1fr) 48px; gap: var(--space-2); }
.bt-arrow { display: none; width: 48px; height: 64px; padding: 0; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; } .bt-track.is-long .bt-arrow { display: block; }
.bt-arrow:hover { filter: brightness(1.2); } .bt-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; } .bt-track.is-long .bt-arrow.is-off { visibility: hidden; }
.bt-lane { position: relative; flex: 1 0 280px; padding-block-start: 22px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.bt-lane::before { content: ""; position: absolute; inset-block-start: 6px; inset-inline: 0 -12px; height: 3px; background: var(--line-strong); }
.bt-lane:last-child::before { inset-inline-end: 0; }
.bt-lane::after { content: ""; position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 15px; height: 15px; border: 2px solid #000; border-radius: 50%; background: var(--faint); }
.bt-lane.major::after { background: var(--accent); } .bt-lane.good::after { background: var(--live); }
.bt-lane time { color: var(--muted); font: 500 0.75rem var(--mono); } .bt-lane p { margin: 0; font-size: 0.875rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .bt-lane.major p { font-weight: 700; }
.bt-clip { justify-self: start; display: inline-flex; align-items: center; gap: 7px; margin-block-start: 2px; padding: 3px 12px 3px 4px; border: 0; border-radius: 999px; background: var(--panel3); color: var(--muted); font: 500 0.75rem var(--mono); cursor: pointer; }
.bt-wave { display: inline-flex; align-items: center; gap: 2px; height: 18px; } .bt-wave { position: relative; } .bt-wave b { width: 2px; border-radius: 1px; background: var(--faint); }
.bt-wave u { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; overflow: hidden; text-decoration: none; }
.bt-wave u span { display: inline-flex; align-items: center; gap: 2px; height: 18px; width: max-content; } .bt-wave u b { flex: none; background: var(--red-text); }
.bt-clip:not(.is-playing) .bt-wave u { display: none; }
.bt-lane p { font-weight: 400; color: var(--text); } .bt-lane.major p:not(.sub) { font-weight: 700; color: var(--bright); }
.bt-fold { position: relative; flex: none; align-self: start; width: 112px; min-height: 64px; padding: 24px 8px 4px; border: 0; background: none; color: var(--accent-text); font: 700 0.8125rem/1.25 var(--sans); text-align: start; cursor: pointer; }
.bt-fold::before { content: ""; position: absolute; inset-block-start: 6px; inset-inline: 0 -12px; border-block-start: 3px dashed var(--line-strong); }
.bt-fold:hover { text-decoration: underline; } .bt-fold:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.bt-lane.quiet p { color: var(--muted); } .bt-lane p.sub { color: var(--muted); font-weight: 400; font-size: 0.8125rem; }
.bt-clip i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #000; font-size: 0.5625rem; font-style: normal; } .bt-clip.is-playing i { background: var(--accent); color: #fff; }

/* a laptop: the story gives up height first; narrow screens stack and scroll */
@media (max-height: 820px) { .bt-lane p { -webkit-line-clamp: 2; } .bt-camtile:first-child img { height: 112px; } .bt-camtile img { height: 66px; } }
@media (max-width: 1100px) {
  body.beta { height: auto; overflow: auto; display: block; }
  .bt-main { display: flex; flex-direction: column; } .bt-board { border: 0; } .bt-rows { max-height: 46dvh; }
  .bt-mapwrap { height: 46dvh; flex: none; } .bt-right { position: static; width: auto; padding: var(--space-2); } .bt-mapleft { position: static; width: auto; padding: var(--space-2); }
  .bt-nav, #bt-clock { display: none; } .bt-story-head { flex-wrap: wrap; } .bt-story-head h2 { white-space: normal; flex-basis: 100%; order: 2; }
}

/* a phone: one screen at a time, chosen on the bottom bar; the top bar holds the logo, Live and the menu */
.bt-tabs, .bt-menubtn, .bt-backjobs, .bt-radiohelp, .bt-navauth { display: none; }
.bt-legal { flex: none; padding: 8px 12px; border-block-start: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; line-height: 1.4; } .bt-legal p { margin: 0; } .bt-legal p + p { margin-block-start: 2px; }
.bt-legal b { color: var(--accent-text); font-weight: 600; } .bt-legal a { color: var(--muted); } .bt-legal a:hover { color: var(--bright); } .bt-served { margin-inline-start: 8px; opacity: .6; }
@media (max-width: 760px) {
  body.beta { height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
  .bt-top { flex: none; height: 52px; }
  .bt-top { position: relative; z-index: 1400; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--space-2); padding-inline: var(--space-3); }
  .bt-brand { justify-self: start; } .bt-brand img { width: 26px; height: 26px; } .bt-brand em { display: none; }
  .bt-status { grid-column: 2; justify-self: center; margin: 0; } #bt-clock { display: none; }
  .bt-menubtn { grid-column: 3; justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; margin-inline-end: -6px; padding: 0; border: 0; background: none; cursor: pointer; }
  .bt-menubtn span, .bt-menubtn span::before, .bt-menubtn span::after { display: block; width: 22px; height: 2px; border-radius: 1px; background: var(--bright); }
  .bt-menubtn span { position: relative; } .bt-menubtn span::before, .bt-menubtn span::after { content: ""; position: absolute; inset-inline-start: 0; } .bt-menubtn span::before { inset-block-start: -7px; } .bt-menubtn span::after { inset-block-start: 7px; }
  .bt-nav { display: none; position: absolute; inset-block-start: 100%; inset-inline-end: var(--space-2); min-width: 220px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel); box-shadow: 0 12px 30px rgb(0 0 0 / .6); }
  body.is-menu .bt-nav { display: grid; gap: 4px; }
  .bt-nav a, .bt-nav .bt-navbtn { display: flex; align-items: center; min-height: 44px; margin: 0; padding: 0 12px; border: 0; border-radius: 6px; background: none; color: var(--bright); font-size: 1rem; font-weight: 600; }
  .bt-nav > a:first-child { margin: 0; } .bt-nav a:active { background: var(--ink-600); } .bt-nav .bt-navbtn.is-discord { background: #5865f2; color: #fff; } .bt-nav .bt-navbtn.is-staff { color: var(--accent-text); } .bt-navbtn[hidden] { display: none; }

  .bt-main { display: block; position: relative; flex: 1; min-height: 0; overflow: hidden; }
  .bt-board, .bt-stage { position: absolute; inset: 0; display: none; border: 0; }
  body[data-tab="calls"] .bt-board { display: flex; flex-direction: column; }
  body[data-tab="map"] .bt-stage, body[data-tab="call"] .bt-stage, body[data-tab="radio"] .bt-stage { display: flex; flex-direction: column; }
  .bt-rows { max-height: none; flex: 1; } .bt-row { padding-block: 13px; } .bt-row h3 { font-size: 1rem; }
  .bt-tools, .bt-menus { padding-inline: var(--space-3); } .bt-search, .bt-menu summary { min-height: 44px; font-size: 1rem; } .bt-menu-small summary { min-height: 44px; }
  .bt-auth { display: none; } /* the menu holds them */
  .bt-nav .bt-navauth { order: -1; } .bt-nav .bt-navauth.is-register { background: var(--accent); color: #fff; } .bt-nav .bt-navauth[hidden] { display: none; }

  .bt-mapwrap { display: none; height: auto; flex: 1; min-height: 0; }
  body[data-tab="map"] .bt-mapwrap { display: block; } body[data-tab="radio"] .bt-mapwrap { display: block; background: var(--bg); }
  body[data-tab="radio"] #bt-map, body[data-tab="radio"] .bt-corner { display: none; }
  .bt-mapleft { display: none; position: static; width: auto; padding: var(--space-3); } body[data-tab="radio"] .bt-mapleft { display: grid; }
  .bt-mapleft .radio { width: 100%; max-width: 480px; margin-inline: auto; }
  .bt-corner { inset-inline-start: var(--space-2); inset-block-end: var(--space-2); } .bt-getapp { display: none; } /* a phone: nothing to scan; the app banner offers it */

  .bt-story, .bt-right { display: none; } body[data-tab="call"] .bt-stage { overflow-y: auto; } body[data-tab="call"] .bt-story { display: grid; padding: var(--space-3); flex: none; } body[data-tab="call"] .bt-right { display: grid; }
  .bt-right { position: static; width: auto; padding: 0 var(--space-3) var(--space-3); } .bt-right:has(.bt-cam.is-big) { width: auto; } .bt-right[hidden] { display: none; }
  .bt-story-head { flex-wrap: wrap; } .bt-story-head h2 { flex-basis: 100%; order: 2; white-space: normal; font-size: 1.125rem; } [data-story-toggle] { display: none; }
  .bt-track, .bt-track.is-long { display: block; } .bt-track .bt-arrow, .bt-track.is-long .bt-arrow { display: none; }
  .bt-lanes { display: flex; flex-direction: column-reverse; gap: var(--space-3); overflow: visible; padding: 0; }
  .bt-lane { padding-block-start: 0; padding-inline-start: 22px; } .bt-lane::before { inset-block: 6px -12px; inset-inline: 6px auto; width: 3px; height: auto; } .bt-lane:first-child::before { display: none; } .bt-lane:last-child::before { inset-inline-end: auto; } .bt-lane::after { inset-block-start: 2px; }
  .bt-lane { flex: none; }
  .bt-share a, .bt-share button { width: 40px; height: 40px; }
  .bt-fold { width: 100%; min-height: 44px; padding: 8px 8px 8px 22px; } .bt-fold::before { inset-block: 0 -12px; inset-inline: 6px auto; border-block-start: 0; border-inline-start: 3px dashed var(--line-strong); }
  .bt-lane p { -webkit-line-clamp: unset; display: block; } .bt-clip, .bt-download { min-height: 36px; }

  .bt-tabs { flex: none; display: grid; grid-template-columns: 1fr 1fr 1.5fr 1fr; padding-block-end: env(safe-area-inset-bottom); border-block-start: 1px solid var(--line-strong); background: var(--black); }
  .bt-tabs button { min-height: 56px; border: 0; background: none; color: var(--muted); font: 600 0.875rem var(--sans); cursor: pointer; } .bt-tabs button[aria-current="page"] { color: var(--bright); box-shadow: inset 0 2px 0 var(--accent); }

  .bt-tabs button { padding-inline: 4px; }
  .bt-backjobs { position: fixed; z-index: 1300; inset-inline-start: 50%; transform: translateX(-50%); inset-block-end: calc(68px + env(safe-area-inset-bottom)); min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: 700 0.9375rem var(--sans); box-shadow: 0 6px 18px rgb(0 0 0 / .55); cursor: pointer; }
  body[data-tab="call"] .bt-backjobs { display: block; } body[data-tab="call"] .bt-stage { padding-block-end: 76px; }
  body[data-tab="radio"] .bt-mapwrap { overflow-y: auto; }
  .bt-radiohelp { display: block; max-width: 480px; width: 100%; margin-inline: auto; color: var(--text); font-size: 0.9375rem; line-height: 1.45; }
  .bt-radiohelp h2 { margin: 6px 0 6px; font: 800 1.125rem var(--display); } .bt-radiohelp p { margin: 0 0 10px; color: var(--muted); }
  .bt-radiohelp dl { display: grid; gap: 8px; margin: 0 0 12px; } .bt-radiohelp dl div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
  .bt-radiohelp dt { color: var(--bright); font-weight: 700; } .bt-radiohelp dd { margin: 0; color: var(--muted); }

  /* what must be seen on any screen */
  .bt-arrival, .bt-upvote { position: fixed; z-index: 1500; inset-block-start: 58px; inset-inline: var(--space-2); width: auto; transform: none; }
  .bt-onair { flex: none; position: static; display: grid; gap: 1px; padding: 6px var(--space-3); border-inline: 0; border-block-start: 0; border-radius: 0; font-size: 0.8125rem; } .bt-onair[hidden] { display: none; }
  .bt-onair span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .bt-alert { position: fixed; z-index: 1500; inset-inline: var(--space-2); inset-block-end: calc(64px + env(safe-area-inset-bottom)); }
}

/* site-r177: the map's box / address search (map-search.js) */
/* site-r178: docked under the radio (desktop); floating over the map on a phone */
.bt-find { inset-block-start: var(--space-4); inset-inline-start: 50%; transform: translateX(-50%); width: min(380px, calc(100% - 32px)); z-index: 1050; padding: 6px; display: grid; gap: 6px; max-height: calc(100% - 32px); overflow-y: auto; }
.bt-find.is-docked { position: static; transform: none; width: auto; max-height: min(60dvh, 560px); }
.bt-find-form { display: flex; align-items: center; gap: 4px; }
.bt-find-input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); color: var(--bright); font-size: 0.9375rem; }
.bt-find-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.bt-find-go, .bt-find-x { flex: none; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel2); color: var(--bright); font-size: 1rem; cursor: pointer; }
.bt-find-go:hover, .bt-find-x:hover { border-color: var(--accent); } .bt-find-x[hidden], .bt-find-list[hidden], .bt-find-card[hidden] { display: none; }
.bt-find-list { display: grid; gap: 2px; }
.bt-find-opt { padding: 8px 10px; border: 0; border-radius: 6px; background: none; color: var(--text); font-size: 0.875rem; text-align: start; cursor: pointer; }
.bt-find-opt:hover, .bt-find-opt:focus-visible { background: var(--panel3); outline: none; }
.bt-find-card { display: grid; gap: 6px; padding: 6px 8px 8px; border-block-start: 1px solid var(--line); }
.bt-find-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bt-find-box { color: var(--gold-text); font: 600 0.875rem var(--mono); letter-spacing: .08em; }
.bt-find-boro { padding: 1px 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.bt-find-title { font: 800 1.0625rem/1.25 var(--display); color: var(--bright); }
.bt-find-meta, .bt-find-note, .bt-find-msg { margin: 0; color: var(--muted); font-size: 0.75rem; }
.bt-find-msg { font-size: 0.8125rem; padding: 4px 2px; }
.bt-find-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 10px; margin: 2px 0 0; font-size: 0.8125rem; }
.bt-find-dl dt { color: var(--faint); font: 500 0.6875rem/1.7 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.bt-find-dl dd { margin: 0; color: var(--text); } .bt-find-dl small { color: var(--faint); white-space: nowrap; }
.bt-find-link { padding: 0; border: 0; background: none; color: var(--gold-text); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.bt-find-calls { display: grid; gap: 4px; }
.bt-find-call { padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--panel2); color: var(--bright); font-size: 0.8125rem; text-align: start; cursor: pointer; }
.bt-find-call:hover { border-color: var(--accent); }
.bt-find-out { justify-self: start; color: var(--accent-text); font-size: 0.8125rem; font-weight: 600; }
.bt-find-pin i { display: block; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(227 27 35 / .35); }
.bt-find-pin.is-address i { background: #2563eb; box-shadow: 0 0 0 4px rgb(37 99 235 / .35); }
.leaflet-tooltip.bt-find-label { border-color: var(--goldenrod); color: var(--gold-text); }
@media (max-width: 900px) { .bt-mapwrap:has(> .bt-find) .bt-arrival { inset-block-start: 58px; } }
.bt-find-more { display: none; justify-self: start; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--panel2); color: var(--bright); font-size: 0.75rem; font-weight: 600; cursor: pointer; }
@media (max-width: 900px) {
  .bt-find { inset-block-start: var(--space-2); inset-inline-start: 8px; transform: none; width: calc(100% - 16px); max-height: 42dvh; padding: 4px; gap: 4px; }
  body:not([data-tab="map"]) .bt-find { display: none; }
  .bt-find-input { padding: 6px 8px; font-size: 1rem; } .bt-find-go, .bt-find-x { width: 32px; height: 32px; }
  .bt-find-card { gap: 4px; padding: 4px 6px 6px; } .bt-find-title { font-size: 0.9375rem; }
  .bt-find-dl { gap: 2px 8px; font-size: 0.75rem; } .bt-find-dl dt { line-height: 1.6; }
  .bt-find-card:not(.is-open) .is-extra, .bt-find-card:not(.is-open) .bt-find-addr { display: none; }
  .bt-find-more { display: block; }
}

/* site-r188/r189 (owner 2026-11-10: the footer "is messy"; the FDNY calls section removed): the note, then one row of links */
.bt-legal .bt-links a { text-decoration: none; }
.bt-legal .bt-links a:hover, .bt-legal .bt-links a:focus-visible { text-decoration: underline; }
.bt-legal .bt-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-block-start: 6px; }
.bt-legal .bt-links .bt-served { margin-inline-start: auto; }
