:root {
  --navy: #0f2621;
  --navy-2: #173a31;
  --navy-3: #0a1b17;
  --dover: #f2eee2;
  --dover-dim: #a9bdb4;
  --chrome: #c9d8d0;
  --ember: #238a57;
  --ember-hi: #2fa36b;
  --sherwood: #3d6b5b;
  --corsair: #2f6f8f;
  --display: Rockwell, "Rockwell Nova", "Roboto Slab", "Zilla Slab", Georgia, serif;
  --body: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, sans-serif;
  --row: 60px;
  --navh: 58px;                         /* the tab bar at the bottom */
  --mint: #9fe0bd;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--navy);
  color: var(--dover);
  font: 16px/1.4 var(--body);
  overflow: hidden;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--chrome); outline-offset: 2px; }

h1, h2 { font-family: var(--display); margin: 0; }

/* ---------- shared bits ---------- */
.mark { height: 92px; width: auto; max-width: 100%; display: block; }
.mark.sm { height: 34px; }
.car { width: 320px; height: 104px; display: block; flex: none; }
.car.big { width: 240px; height: 78px; opacity: .9; }

.btn {
  border: 0; border-radius: 999px; padding: 8px 18px; min-height: 40px;
  background: var(--navy-2); color: var(--dover);
}
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--ember); color: var(--dover); font-weight: 700; }
.btn.primary:hover { background: var(--ember-hi); }
.btn.ghost { background: transparent; border: 1.5px solid #3f6b5d; }
.btn.ghost:hover { border-color: var(--chrome); }

/* ---------- loading scene: Edsels in the background ---------- */
.loading, .login {
  position: fixed; inset: 0; z-index: 50; overflow: hidden;
  display: grid; place-items: center;
  transition: opacity .5s ease;
}
.loading.done { opacity: 0; pointer-events: none; }
.login { background: var(--navy); z-index: 40; }

.sky {
  position: absolute; inset: 0;
  background: linear-gradient(#0a1b17 0%, #173a31 62%, #335f50 100%);
}
.road {
  position: absolute; left: 0; right: 0; bottom: 0; height: 24%;
  background: #07130f;
  border-top: 4px solid #24443a;
}
.road::after {
  content: ""; position: absolute; left: 0; right: 0; top: 46%; height: 6px;
  background: repeating-linear-gradient(90deg, var(--dover-dim) 0 46px, transparent 46px 96px);
  opacity: .5; animation: dashes 1.4s linear infinite;
}
.lane { position: absolute; left: 0; display: flex; gap: 42vw; width: max-content; will-change: transform; }
.lane .car { width: var(--w); height: calc(var(--w) * .325); }
.lane-far  { --w: 150px; bottom: 18.5%; opacity: .45; animation: drive 50s linear infinite; animation-delay: -14s; }
.lane-mid  { --w: 230px; bottom: 10%; opacity: .7;  animation: drive 33s linear infinite; animation-delay: -12s; }
.lane-near { --w: 380px; bottom: 1%;  opacity: 1;   animation: drive 13s linear infinite; animation-delay: -4s; }
/* (2.39, 11-26) Brian's '59 leads the front lane and a '58 and a '60 follow it. Each car is its own lane on one 30 s loop (13 s to cross,
   the same speed as before, then a wait), 7 s apart, so the followers never catch up and never come round in front of it. */
.lane-near.convoy { animation: convoy 30s linear infinite; }
.lane-near.c1 { animation-delay: -4s; }  .lane-near.c2 { animation-delay: -27s; }  .lane-near.c3 { animation-delay: -20s; }
@keyframes convoy { 0% { transform: translateX(-120%); } 43.333% { transform: translateX(110vw); } 100% { transform: translateX(110vw); } }

@keyframes drive { from { transform: translateX(-120%); } to { transform: translateX(110vw); } }
/* the wheels turn as the cars drive by (a full turn in about the time the car moves one wheel's way round) */
.wheel { transform-box: fill-box; transform-origin: center; animation: wheel-turn var(--spin, 0s) linear infinite; }
.lane-far { --spin: 1.8s; } .lane-mid { --spin: 1.5s; } .lane-near { --spin: 2s; }
@keyframes wheel-turn { to { transform: rotate(360deg); } }
@keyframes dashes { to { background-position-x: -96px; } }

.loading-card {
  position: relative; z-index: 2; width: min(360px, 88vw);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 26px 22px; text-align: center;
  background: rgba(8, 24, 20, .72);
  border: 1.5px solid #305848; border-radius: 22px;
}
.loading-card h1 { font-size: 34px; letter-spacing: .5px; }
.loading-card p { margin: 0; color: var(--dover-dim); min-height: 1.4em; }
.loading-card p.phrase { color: var(--dover); font-size: 18px; font-style: italic; line-height: 1.35; min-height: 1.35em; }
.loading-card p.status { font-size: 13px; opacity: .8; min-height: 1.3em; }
.loading-card p.status.problem { font-size: 15px; opacity: 1; color: var(--dover); }
.loading-card label { color: var(--dover-dim); }
.loading-card input {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #3f6b5d;
  background: var(--navy-3);
}
.loading-card .btn { width: 100%; }
.err { color: #ff9c92 !important; }

/* Text boxes that had no colours of their own: light words on the dark green box, like every other admin screen (build 15). */
#dedTo, #dedMsg, #annText, #annStart, #annEnd, #annEvery, #dedMode, #invBase, #invNote, #invLink, #invDays, #invUses, #carPath, #carName, #carLines, #carEvery, #carTalkMin, #carTalkMax {
  color: #2b1e0a !important; background: #fbf5e2 !important; border: 2px solid #9aa7a2; border-radius: 10px; padding: 8px 10px; min-height: 38px;
  font: inherit; color-scheme: light; max-width: 100%;
}
#dedTo, #dedMsg, #annText, #invBase, #invNote, #invLink, #carPath, #carName, #carLines { width: 100%; }
#annText { min-height: 84px; resize: vertical; }
#dedTo::placeholder, #dedMsg::placeholder, #annText::placeholder, #invBase::placeholder, #invNote::placeholder, #carPath::placeholder, #carName::placeholder, #carLines::placeholder { color: #8a7650; opacity: 1; }
#annEvery option, #carEvery option, #dedMode option, #invDays option, #invUses option { color: #2b1e0a; background: #fbf5e2; }

/* ---------- app layout ---------- */
.app { position: fixed; inset: 0; display: flex; flex-direction: column; padding-top: var(--safe-t); }

.top { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 6px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 22px var(--display); }
.top-right { display: flex; align-items: center; gap: 10px; }
.count { color: var(--dover-dim); font-size: 14px; }

.search { padding: 4px 14px 8px; }
.search input {
  width: 100%; padding: 11px 16px; border-radius: 999px;
  border: 1.5px solid #2e5a4d; background: var(--navy-3);
}
.search input::placeholder { color: #86a397; }

.tabs { display: flex; gap: 2px; padding: 0 6px; border-bottom: 1.5px solid #24493f; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: 1 0 auto; background: none; border: 0; padding: 10px 12px 9px; font-size: 15px; white-space: nowrap;
  color: var(--dover-dim); font-weight: 700; border-bottom: 4px solid transparent;
}
.tabs button.on { color: var(--dover); border-bottom-color: var(--ember); }

.bar { display: flex; align-items: center; gap: 8px; padding: 8px 14px 0; min-height: 8px; }
.crumb { font: 700 17px var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spacer { flex: 1; }

.list { position: relative; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(96px + var(--navh) + var(--safe-b)); }
.win { position: absolute; left: 0; right: 0; top: 0; }

.row {
  height: var(--row); display: flex; align-items: center; gap: 12px;
  padding: 0 14px; border-bottom: 1px solid #1f4038; cursor: pointer;
}
.row:hover { background: rgba(255, 255, 255, .04); }
.row.now { background: rgba(35, 138, 87, .22); }
.row .lead { width: 34px; text-align: right; color: var(--dover-dim); font-size: 14px; flex: none; }
.row .thumb { width: 44px; height: 44px; flex: none; border-radius: 8px; overflow: hidden; }
.row .txt { flex: 1; min-width: 0; }
.row .txt b, .row .txt small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .txt small { color: var(--dover-dim); font-size: 13px; }
.row .dur { color: var(--dover-dim); font-size: 13px; flex: none; }

/* art tile: Edsel silhouette shows until (and unless) real cover art loads */
.art, .thumb, .np-art {
  position: relative; background: var(--navy-3);
  background-image: url("/logo.png"); background-size: 62%; background-position: center; background-repeat: no-repeat;
}
.art img, .thumb img, .np-art img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--navy-3);
}
.art img[hidden], .thumb img[hidden], .np-art img[hidden] { display: none; }

.empty { position: absolute; left: 0; right: 0; top: 12%; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--dover-dim); text-align: center; padding: 0 24px; }

/* ---------- mini player ---------- */
.player {
  position: fixed; left: 0; right: 0; bottom: calc(var(--navh) + var(--safe-b)); z-index: 20;
  background: var(--navy-3); border-top: 2px solid #2e5a4d;
}
.seek input, .times input, .vol input { width: 100%; accent-color: var(--ember); }
.seek { padding: 0 6px; margin-top: -10px; height: 20px; }
.seek input { height: 20px; }
.np-row { display: flex; align-items: center; gap: 8px; padding: 2px 10px 10px; }
.np-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; background: none; border: 0; text-align: left; padding: 0; }
.np-info .art { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; flex: none; }
.np-text { min-width: 0; }
.np-text b, .np-text small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-text small { color: var(--dover-dim); font-size: 13px; }

.ctl { display: flex; align-items: center; gap: 4px; }
.ic { width: 46px; height: 46px; border-radius: 50%; border: 0; background: none; font-size: 22px; color: var(--dover); }
.ic:hover { background: rgba(255, 255, 255, .08); }
.ic.main { background: var(--ember); width: 54px; height: 54px; }
.ic.main:hover { background: var(--ember-hi); }
.ic[aria-pressed="true"] { color: #7fe0ad; background: rgba(35, 138, 87, .28); }
.player.buffering .art { animation: bob .7s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-3px); } }

/* ---------- full now-playing ---------- */
.np {
  position: fixed; inset: 0; z-index: 30; background: var(--navy);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: calc(14px + var(--safe-t)) 22px calc(18px + var(--safe-b));
  overflow-y: auto;
}
.np > .btn { align-self: flex-start; }
.np-art { width: min(74vw, 46vh, 360px); aspect-ratio: 1; border-radius: 16px; overflow: hidden; margin-top: 6px; border: 2px solid #2e5a4d; }
.np h2 { font-size: 26px; text-align: center; margin-top: 8px; }
.np p { margin: 0; color: var(--dover-dim); text-align: center; }
.times { display: flex; align-items: center; gap: 10px; width: min(100%, 460px); margin-top: 8px; color: var(--dover-dim); font-size: 13px; }
.ctl.big { gap: 8px; margin-top: 4px; }
.ctl.big .ic.main { width: 68px; height: 68px; font-size: 28px; }
.vol { display: flex; align-items: center; gap: 12px; width: min(100%, 460px); color: var(--dover-dim); font-size: 14px; margin-top: 4px; }

.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(110px + var(--navh) + var(--safe-b)); z-index: 60;
  background: var(--dover); color: var(--navy-3); padding: 10px 16px; border-radius: 12px; font-weight: 700; max-width: 88vw;
}

@media (min-width: 900px) {
  .app { max-width: 980px; margin: 0 auto; border-inline: 1.5px solid #1f4038; }
  .player, .nav { max-width: 980px; margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .wheel { animation: none; }
  .lane, .road::after, .player.buffering .art { animation: none; }
  .lane-near { transform: translateX(8vw); }
  .lane-near.c2, .lane-near.c3 { display: none; }
  .lane-mid  { transform: translateX(46vw); }
  .lane-far  { transform: translateX(70vw); }
  .loading { transition: none; }
}

/* ---------- queue controls, sheets, people ---------- */
.row .more {
  width: 40px; height: 40px; flex: none; margin-right: -8px; border: 0; border-radius: 50%;
  background: none; color: var(--dover-dim); font-size: 22px; line-height: 1;
}
.row .more:hover { background: rgba(255, 255, 255, .08); color: var(--dover); }
.qlabel {
  height: var(--row); display: flex; align-items: flex-end; padding: 0 14px 8px;
  font: 700 14px var(--display); color: var(--dover-dim); letter-spacing: .3px;
}

.sheet {
  position: fixed; inset: 0; z-index: 45; background: rgba(0, 0, 0, .55);
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet-card {
  width: min(100%, 520px); background: var(--navy-2); border-radius: 18px 18px 0 0;
  padding: 18px 16px calc(18px + var(--safe-b)); display: flex; flex-direction: column; gap: 10px;
  border-top: 2px solid #2e5a4d;
}
.sheet-card b { font: 700 18px var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-bottom: 4px; }
.sheet-card .btn { text-align: left; padding-left: 18px; }

.stack { display: flex; flex-direction: column; gap: 10px; width: min(100%, 420px); }
.field {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid #3f6b5d; background: var(--navy-3);
}
.check { display: flex; align-items: center; gap: 10px; color: var(--dover-dim); }
.np h2.sub { font-size: 20px; margin-top: 10px; }
.userlist { width: min(100%, 520px); }
.urow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #1f4038; }
.urow .who { flex: 1 1 200px; min-width: 0; }
.urow .meta { display: block; margin-top: 2px; color: var(--dover-dim); font-size: 13px; }
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #5d7a6d; }
.dot.on { background: #4fd18b; box-shadow: 0 0 0 3px rgba(79, 209, 139, .25); }
#adminSummary { color: var(--dover); font-weight: 700; }
.urow .badge { color: var(--dover-dim); font-weight: 400; font-size: 13px; margin-left: 6px; }
.urow .btn { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.wnrow .wnbtns { display: flex; flex-wrap: wrap; gap: 6px; }       /* (2.29) Songs that may be wrong */

/* playlists, pickers and the text entry sheet */
.choices { display: flex; flex-direction: column; gap: 8px; max-height: 40vh; overflow-y: auto; }
.sheet-text { margin: 0; color: var(--dover-dim); }
.sheet-card .field { margin-top: 2px; }
.sheet-card .err { margin: 0; }

/* radio station mode */
.onair {
  display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; padding: 5px 11px;
  background: rgba(35, 138, 87, .28); color: #c9f2dc; font: 700 12px var(--body); letter-spacing: .6px; max-width: 46vw;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.onair::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff5a4d;
  animation: onair-pulse 1.6s ease-in-out infinite;
}
@keyframes onair-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .onair::before { animation: none; } }
.ic:disabled { opacity: .35; cursor: default; }

/* live view, stats and listening parties */
.row.static { cursor: default; }
.row.dim { opacity: .7; }
.row .joinbtn { flex: none; min-height: 36px; padding: 6px 16px; }
.onair.guests { background: rgba(47, 143, 110, .35); color: #d6efe2; }
.onair.guests::before { background: #8fd6b2; }
.partybar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px;
  background: rgba(47, 143, 110, .35); border-bottom: 1.5px solid #2f6a55; font-weight: 700;
}
.partybar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.partybar .btn { min-height: 34px; padding: 4px 14px; flex: none; }
.offbar #offBarText { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }      /* (2.4) a saved show playing */
#offBody .seg button small { display: block; font-size: 11px; opacity: .75; }
#offBody .offcard { margin: 12px 0; padding: 12px 14px; text-align: left; }
#offBody .offcard p, #offBody .offcard .tiny { margin: 6px 0; text-align: left; }
.devbar { flex-wrap: wrap; }                                           /* (build 78) what plays on your other device: the words on a line of their own */
.devbar #devText { flex: 1 0 100%; white-space: normal; font-size: 14px; }

/* likes, chat, reactions and the weekly recap */
.ic.like { font-size: 22px; width: 42px; }
.ic.like[aria-pressed="true"], #like2[aria-pressed="true"] { color: #ff8b80; }
.row .heart { color: #ff8b80; flex: none; font-size: 15px; margin-right: -4px; }
.row .btn.sm, .sgNext, .sgQueue, .sgNo, .llPlay, .llUse, .llNo { flex: none; min-height: 34px; padding: 4px 11px; }
.chatcard { max-height: 82vh; }
.chathead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chathead .btn { min-height: 34px; padding: 4px 14px; }
.chatlist { flex: 1; min-height: 120px; max-height: 42vh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 4px 0; }
.chatlist .msg { background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 7px 12px; align-self: flex-start; max-width: 90%; overflow-wrap: anywhere; }
.chatlist .msg.mine { align-self: flex-end; background: rgba(35, 138, 87, .35); }
.chatlist .msg.react { background: none; padding: 2px 6px; color: var(--dover-dim); font-size: 15px; }
.chatlist .hint { margin: auto; }
.hint { color: var(--dover-dim); text-align: center; }
.emojirow { display: flex; gap: 6px; justify-content: space-between; }
.emojirow button { flex: 1; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 24px; min-height: 44px; }
.chatsend { display: flex; gap: 8px; }
.chatsend .btn { flex: none; }
.floaters { position: fixed; left: 0; right: 0; bottom: calc(110px + var(--safe-b)); height: 220px; pointer-events: none; z-index: 25; overflow: hidden; }
.floater { position: absolute; bottom: 0; font-size: 34px; display: flex; flex-direction: column; align-items: center; animation: floatup 3.1s ease-out forwards; }
.floater small { font-size: 11px; color: var(--dover); background: rgba(8, 24, 20, .7); border-radius: 8px; padding: 1px 6px; }
@keyframes floatup { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-190px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .floater { animation: none; opacity: .9; } }
.recap { width: min(100%, 460px); display: flex; flex-direction: column; gap: 10px; }
.recap .big { font: 700 56px var(--display); text-align: center; line-height: 1.05; margin-top: 6px; }
.recap .sub { text-align: center; color: var(--dover-dim); margin-bottom: 8px; }
.recap .fact { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #1f4038; }
.recap .fact span { color: var(--dover-dim); flex: none; }
.recap .fact b { text-align: right; }

/* clock wheel editor (admins) */
.clockscreen { align-items: stretch; }
.clockscreen > h2, .clockscreen > .hint, .clockscreen > .btn { align-self: center; width: min(100%, 620px); }
.clockscreen > .btn.ghost { align-self: flex-start; width: auto; }
.clockbody { width: min(100%, 620px); align-self: center; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.clockbody h3 { font: 700 18px var(--display); margin: 14px 0 0; }
.clockbody .hint { text-align: left; }
.clockbody .card { background: rgba(255, 255, 255, .05); border: 1px solid #24493f; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.crow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.crow .grow { flex: 1 1 140px; min-width: 0; }
.clockbody input, .clockbody select { padding: 8px 10px; border-radius: 10px; border: 1.5px solid #3f6b5d; background: var(--navy-3); color: var(--dover); min-height: 38px; }
.clockbody input.num { width: 64px; text-align: center; }
.clockbody .label { color: var(--dover-dim); font-size: 14px; }
.days, .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px solid #3f6b5d; border-radius: 999px; background: none; color: var(--dover); min-height: 36px; min-width: 36px; padding: 4px 12px; }
.chip[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); font-weight: 700; }
.chip.danger { color: #ff9c92; border-color: #7a3a36; }
.chip:disabled { opacity: .35; }

/* sign-in page: asking for an account */
.loading-card .stack { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.loading-card .hint { margin: 0; color: var(--dover-dim); text-align: left; font-size: 14px; }
.okmsg { margin: 0; color: #9fe3b4; font-weight: 700; }

/* the sign-in / request form can scroll, so every button can be reached (a phone keyboard takes half the screen) */
.login { display: flex; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px 0 60px; }
.login .loading-card { margin: auto; flex: none; }
.login.requesting .mark { display: none; }
.banner { width: 100%; margin: 0; padding: 10px 12px; border-radius: 12px; text-align: left; font-weight: 700; line-height: 1.35; }
.banner.ok { background: rgba(60, 160, 100, .22); color: #9fe3b4; border: 1px solid #3f9f66; }
.banner.bad { background: rgba(220, 80, 70, .20); color: #ffb3aa; border: 1px solid #c4574d; }

#gtagAlbums { display: block; margin: 6px 0 10px; box-sizing: border-box; }          /* (build 74: was squashed to a sliver) */
.clockbody textarea, #gtagAlbums { padding: 8px 10px; border-radius: 10px; border: 1.5px solid #3f6b5d; background: var(--navy-3); color: var(--dover); min-height: 74px; width: 100%; font: inherit; resize: vertical; }
.clockbody .tiny { color: var(--dover-dim); font-size: 13px; }
.clockbody .ok { color: #9fe3b4; }
.clockbody .warn { color: #ffd37a; }
.joinedchip { border: 1.5px solid #3f9f66; color: #9fe3b4; border-radius: 999px; padding: 6px 12px; font-weight: 700; white-space: nowrap; }

.extras { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0 2px; }
.extras .chip.on { background: #1d5446; border-color: #8ccfae; }
.newtag { background: #2f9e66; color: #fff; font-size: 11px; font-weight: 800; border-radius: 6px; padding: 1px 6px; margin-right: 6px; flex: none; }
.tip { display: flex; align-items: center; gap: 10px; margin: 8px 12px 0; padding: 10px 12px; border: 1px solid #3f6b5d; border-radius: 12px; background: #1a3f35; font-size: 14px; line-height: 1.35; }
.tip button { flex: none; }
.qrbox { background: #fff; border-radius: 12px; padding: 6px; width: 240px; max-width: 100%; margin: 4px auto; }
.qrbox svg { display: block; width: 100%; height: auto; }
#invLink { width: 100%; }

.tabs button[hidden] { display: none; }

.ic.dislike { font-size: 19px; width: 38px; }
@media (max-width: 400px) { .ctl { gap: 0; } .ic { width: 42px; } .ic.main { width: 50px; } .ic.dislike { width: 36px; } .ic.like { width: 38px; } }

.sysmark { flex: none; min-width: 62px; text-align: center; font-size: 12px; font-weight: 800; border-radius: 8px; padding: 4px 6px; }
.sysmark.ok { background: rgba(60, 160, 100, .25); color: #9fe3b4; }
.sysmark.warn { background: rgba(230, 170, 40, .25); color: #ffd37a; }
.sysmark.bad { background: rgba(220, 80, 70, .28); color: #ffb3aa; }
.sysmark.off { background: rgba(160, 170, 185, .18); color: var(--dover-dim); }
#sysBody .who small { white-space: normal; }
.notes { margin: 10px 0; padding: 10px 12px; border: 1px solid #31574a; border-radius: 12px; background: rgba(255, 255, 255, .04); text-align: left; }
.notes p { margin: 6px 0 0; white-space: pre-wrap; line-height: 1.4; font-size: 14px; max-height: 9.5em; overflow-y: auto; }
#epScreen .notes p { max-height: none; }

.banner-bar { display: flex; align-items: center; gap: 8px; margin: 8px 12px 0; padding: 10px 12px; border: 1px solid #c9a24a; border-radius: 12px; background: rgba(201, 162, 74, .16); color: #ffe7a8; font-weight: 700; line-height: 1.35; }
.banner-bar span { flex: 1; text-align: left; }
.banner-bar button { flex: none; min-width: 36px; padding: 2px 8px; font-size: 20px; }
#appUpdate { flex-wrap: wrap; }
#appUpdate span { flex: 1 1 200px; }
#appUpdate button { font-size: 16px; padding: 8px 16px; min-height: 40px; }
.chatlist .msg { cursor: pointer; }
.chatlist .msg.react { cursor: default; }

/* the menu: long lists scroll inside the sheet, and Sign out / Close stay at the bottom where they can always be reached */
#menu .sheet-card { max-height: 88vh; max-height: 88dvh; padding-bottom: 0; gap: 8px; }
#menu .menubody { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; min-height: 0; flex: 1 1 auto; }
#menu .menubody .btn { flex: none; }
#menu .menufoot { display: flex; gap: 8px; padding: 10px 0 calc(14px + var(--safe-b)); background: var(--navy-2); border-top: 1px solid #2e5a4d; flex: none; }
#menu .menufoot .btn { flex: 1; text-align: center; padding-left: 12px; }
#menu .admintoggle { border-color: #8ccfae; color: #d3efe1; font-weight: 700; }
#menu .menugroup { display: flex; flex-direction: column; gap: 8px; margin-left: 6px; padding-left: 10px; border-left: 3px solid #3f6b5d; }
#menu .menugroup[hidden] { display: none; }

.warnbar { border-color: #c4574d; background: #4a2420; }
.warnbar code { background: rgba(255, 255, 255, .12); padding: 0 4px; border-radius: 4px; }

#inText { white-space: pre-wrap; }
.inchoices { display: grid; gap: 8px; margin: 4px 0 12px; }
.inchoices { max-height: 52vh; max-height: 52dvh; overflow-y: auto; overscroll-behavior: contain; }
.inchoices.many { grid-template-columns: 1fr 1fr; gap: 6px; }
.inchoices.many label { padding: 8px 10px; font-size: 14px; }
.inchoices label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line, #2a4a40); border-radius: 12px; cursor: pointer; }
.inchoices label:has(input:checked) { border-color: var(--ember, #2fa36b); }

/* ---------- DJs and shifts ---------- */
.djdot { width: 16px; height: 16px; border-radius: 50%; flex: none; border: 1.5px solid rgba(255, 255, 255, .55); }
.week { display: flex; flex-direction: column; gap: 5px; }
.wrow { display: flex; align-items: center; gap: 8px; }
.wday { width: 34px; flex: none; color: var(--dover-dim); font-size: 13px; }
.wbar { flex: 1; min-width: 0; display: flex; height: 26px; border-radius: 7px; overflow: hidden; border: 1px solid #24493f; background: var(--navy-3); }
.wseg { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: clip; font-size: 12px; line-height: 24px; padding: 0 4px; color: #0a1b17; font-weight: 700; box-shadow: inset -1px 0 0 rgba(8, 24, 20, .55); }
.wseg.usual { background: #3f6b5d; color: var(--dover); font-weight: 400; }
.wseg.nobody { background: transparent; color: var(--dover-dim); font-weight: 400; }
.wseg.clash { background-image: repeating-linear-gradient(135deg, rgba(8, 24, 20, .45) 0 4px, transparent 4px 8px); }
.wticks { position: relative; height: 16px; margin-left: 42px; color: var(--dover-dim); font-size: 11px; }
.wticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.wticks span:first-child { transform: none; }
.wticks span:last-child { transform: translateX(-100%); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--dover-dim); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .djdot { width: 12px; height: 12px; }
.legend .sw { width: 12px; height: 12px; border-radius: 3px; flex: none; border: 1px solid #24493f; }
.clockbody .card.djnow { border-color: var(--ember-hi); }
.clockbody .notes { margin: 0; padding-left: 18px; color: #ffd37a; font-size: 14px; }
.clockbody label.check { display: flex; align-items: center; gap: 8px; }
.clockbody label.check input { min-height: 0; width: 20px; height: 20px; flex: none; }

/* build 6: second backup copy, log files, spots */
#backupCopy { margin-top: 14px; }
#sysLogs { margin-top: 10px; }
#sysLogs h3 { font: 700 18px var(--display); margin: 14px 0 0; }
.clockbody input[type="file"] { padding: 6px; max-width: 100%; }
.clockscreen > .clockbody + .clockbody { margin-top: 10px; }
/* Car Show screen: rotation and who was played */
#carScreen .card input[type="number"], #carScreen .userlist select { padding: 6px 8px; border-radius: 10px; border: 1.5px solid #3f6b5d; background: var(--navy-3); color: var(--dover); min-height: 36px; }
#carScreen .card input[type="number"] { width: 64px; text-align: center; }
#carScreen .card .hint, #carArtists .hint { text-align: left; }

/* build 9: grouped admin menu */
#menu .mhead { text-align: left; font-weight: 700; border-color: #31574a; }
#menu .mhead[aria-expanded="true"] { border-color: #8ccfae; color: #d3efe1; }
#menu .mitems { display: flex; flex-direction: column; gap: 8px; margin: 0 0 4px 10px; }
#menu .mitems[hidden] { display: none; }
/* build 9: the Control room tab */
.controlpane { flex: 1 1 0; min-height: 0; overflow-y: auto; padding: 4px 12px calc(120px + var(--navh)); display: flex; flex-direction: column; gap: 12px; }
.controlpane[hidden] { display: none; }
.ctlcard { background: rgba(255, 255, 255, .05); border: 1px solid #24493f; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ctlcard h3 { margin: 0; font: 700 18px var(--display); }
.ctlcard .tiny { color: var(--dover-dim); font-size: 13px; }
.ctlhead { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ctlhead small { color: var(--dover-dim); }
.meter { position: relative; height: 16px; border-radius: 8px; background: #0b1d18; overflow: hidden; border: 1px solid #24493f; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 8px;
           background: linear-gradient(90deg, #2fae66 0%, #2fae66 70%, #e6c34a 85%, #e5534b 100%); background-size: var(--full, 300px) 100%; }
.meter b { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; left: 0; opacity: .85; }
.meters .meter { height: 12px; }   /* (build 53) two of them: left and right */
.meters { display: grid; grid-template-columns: auto 1fr; gap: 6px 8px; align-items: center; font-size: 12px; color: var(--dover-dim); }
.ctlnow { display: flex; flex-direction: column; gap: 4px; }
.ctlnow .prog { height: 4px; background: #1f4038; border-radius: 2px; overflow: hidden; }
.ctlnow .prog i { display: block; height: 100%; background: var(--ember); width: 0; }
.ctlrow { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid #1f4038; }
.ctlrow .t { flex: none; width: 64px; color: var(--dover-dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.ctlrow .w { flex: 1 1 auto; min-width: 0; }
.ctlrow .w b, .ctlrow .w small, .ctlnow .w b, .ctlnow .w small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctlrow .w small, .ctlnow .w small { color: var(--dover-dim); font-size: 13px; }
.ctlrow .chip { min-height: 30px; padding: 2px 10px; font-size: 13px; }
.ctlrow.dj .w b { color: #9fe0bd; font-weight: 600; }
.ctlbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.ctlchart svg { width: 100%; height: 150px; display: block; }
.legend { display: flex; gap: 12px; font-size: 13px; color: var(--dover-dim); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: middle; }
/* build 9: facts */
.factrow { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; border-top: 1px solid #1f4038; }
.factrow .w { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 1.35; }
.factrow .w small { display: block; color: var(--dover-dim); font-size: 12px; }
.factrow.blocked .w { text-decoration: line-through; opacity: .55; }
.srcrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0; border-top: 1px solid #1f4038; }
.srcrow b { flex: 1 1 120px; }
/* build 10: Holiday Radio */
.holalb { padding: 8px 12px; }
.holalb > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; }
.holalb > summary::-webkit-details-marker { display: none; }
.holalb > summary .w { flex: 1 1 auto; min-width: 0; }
.holalb > summary .w b, .holalb > summary .w small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.holalb > summary .w small { color: var(--dover-dim); font-size: 13px; }
.holalb > summary::after { content: "\25BE"; color: var(--dover-dim); }
.holalb[open] > summary::after { content: "\25B4"; }
.holalb .factrow .chip, .holfound .chip { min-height: 30px; padding: 2px 10px; font-size: 13px; flex: 0 0 auto; }
#holFind { width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: 10px; border: 1.5px solid #3f6b5d; background: var(--navy-3); color: var(--dover); min-height: 38px; font: inherit; }

/* ---------- build 11: the green look, the tab bar at the bottom, Me, Station ---------- */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; display: flex; justify-content: space-around;
  background: var(--navy-3); border-top: 1px solid #24493f; padding: 4px 4px var(--safe-b); height: calc(var(--navh) + var(--safe-b));
}
.nav button {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: none; border: 0; color: var(--dover-dim); font-size: 11.5px; font-weight: 700; padding: 2px 0; min-width: 0;
}
.nav button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav button.on { color: var(--ember-hi); }
.nav button.on svg { stroke-width: 2.4; }
.libchips { gap: 8px; padding: 2px 14px 10px; border-bottom: 0; flex-wrap: nowrap; }
.libchips button { flex: 0 0 auto; border: 1.5px solid #24493f; border-radius: 999px; padding: 6px 13px; font-size: 14px; }
.libchips button.on { background: var(--ember); border-color: var(--ember); color: #fff; }
.libchips[hidden] { display: none; }
.qlabel { color: var(--mint); font: 700 14px var(--body); letter-spacing: .3px; }
.qlabel.shelfl { font-size: 13px; letter-spacing: 1.3px; text-transform: uppercase; }
.top { background: linear-gradient(var(--navy-3), var(--navy)); }
.search input { border-radius: 999px; }

/* live stations on the Radio tab: cards with a LIVE badge */
.row.livest { margin: 3px 12px; height: calc(var(--row) - 6px); border: 1px solid #24493f; border-radius: 14px; background: var(--navy-2); padding: 0 10px; }
.row.livest.now { border-color: var(--ember-hi); background: var(--navy-2); box-shadow: inset 0 0 0 1px var(--ember-hi); }
.stinit { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; font: 700 15px var(--display); color: #fff; }
.livetag { display: inline-flex; align-items: center; gap: 5px; font: 800 10px var(--body); letter-spacing: 1px; color: #08130f; background: var(--ember-hi);
  border-radius: 999px; padding: 1px 7px; margin-right: 6px; vertical-align: 2px; }
.livetag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #08130f; }
.playdot { width: 36px; height: 36px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; flex: none; color: #fff; font-size: 13px; }

/* Me, and the lists on the Station tab */
.mepane { flex: 1 1 0; min-height: 0; overflow-y: auto; padding: 4px 16px calc(120px + var(--navh)); }
.mepane[hidden] { display: none; }
.mehead { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 12px; }
.mehead h2 { font-size: 24px; }
.mehead small { color: var(--dover-dim); }
.shelf { color: var(--mint); font: 700 13px var(--body); letter-spacing: 1.3px; text-transform: uppercase; margin: 18px 0 8px; }
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat3:empty { display: none; }
.stat3 div { background: var(--navy-2); border: 1px solid #24493f; border-radius: 12px; padding: 10px 6px; text-align: center; }
.stat3 b { display: block; font: 700 22px var(--display); color: var(--ember-hi); }
.stat3 small { color: var(--dover-dim); font-size: 12px; }
.melist { display: flex; flex-direction: column; }
.merow {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid #1f4038;
  padding: 12px 2px; color: var(--dover); min-height: 54px;
}
.merow .t { flex: 1; min-width: 0; }
.merow b { display: block; font-size: 15.5px; }
.merow small { display: block; color: var(--dover-dim); font-size: 13px; }
.merow .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-2); display: grid; place-items: center; color: var(--mint); flex: none; font-size: 18px; }
.merow .chev { color: var(--dover-dim); font-size: 13px; }
.merow.danger b { color: #ff9c92; }
.switch { width: 46px; height: 26px; border-radius: 999px; background: #24493f; position: relative; flex: none; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--dover-dim); transition: left .15s; }
.switch.y { background: var(--ember); }
.switch.y::after { left: 23px; background: #fff; }
.hubst { display: flex; align-items: center; gap: 12px; background: var(--navy-2); border: 1px solid #24493f; border-radius: 16px; padding: 12px; margin-bottom: 10px; width: 100%; text-align: left; color: var(--dover); }
.hubst .stinit { width: 52px; height: 52px; font-size: 18px; border-radius: 12px; }
.hubst .t { flex: 1; min-width: 0; }
.hubst b { display: block; font-size: 16px; }
.hubst small { display: block; color: var(--dover-dim); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hubst .switch { cursor: pointer; }
.hubst .always { color: var(--mint); font-size: 12px; font-weight: 700; flex: none; }
.pagehead { display: flex; align-items: center; gap: 10px; margin: 6px 0 10px; }
.pagehead h2 { flex: 1; font-size: 22px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pagehead .btn { min-width: 44px; }
.seg { display: flex; gap: 4px; background: var(--navy-3); border-radius: 12px; padding: 4px; margin-bottom: 12px; }
.seg button { flex: 1 1 0; background: none; border: 0; border-radius: 9px; padding: 8px 0; font-size: 13px; color: var(--dover-dim); font-weight: 700; min-width: 0; }
.seg button.on { background: var(--ember); color: #fff; }
.secard { background: var(--navy-2); border: 1px solid #24493f; border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.secard p { margin: 0 0 10px; color: var(--dover-dim); line-height: 1.45; }
.secard .btn { margin: 4px 8px 0 0; }
#ctlPage[hidden], #ctlHub[hidden] { display: none; }

/* build 12: a station's settings shown on its own page (the same parts as the old screens, moved in) */
.ctlhost { display: flex; flex-direction: column; gap: 10px; }
.ctlhost:empty { display: none; }
.ctlhost .card, .ctlhost .clockbody .card { background: var(--navy-2); border: 1px solid #24493f; border-radius: 16px; padding: 14px; }
.ctlhost .clockbody { display: flex; flex-direction: column; gap: 10px; }
.ctlhost input:not([type=checkbox]):not([type=radio]):not([type=file]), .ctlhost select, .ctlhost textarea { padding: 8px 10px; border-radius: 10px; border: 1.5px solid #3f6b5d; background: var(--navy-3); color: var(--dover); min-height: 38px; font: inherit; }
.ctlhost textarea { width: 100%; box-sizing: border-box; min-height: 110px; }
.ctlhost #carName, .ctlhost #carPath { width: 100%; box-sizing: border-box; }
.ctlhost > .btn.primary { align-self: flex-start; }
.secard .crow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.secard input[type=number] { width: 64px; padding: 6px 8px; border-radius: 10px; border: 1.5px solid #3f6b5d; background: var(--navy-3); color: var(--dover); text-align: center; font: inherit; }
.secard label.opt { display: flex; align-items: center; gap: 8px; margin: 8px 0; flex-wrap: wrap; }
.secard h3 { margin: 0 0 6px; }
.secard .btn:not(.primary), .ctlhost .btn:not(.primary), .card .btn:not(.primary) { background: transparent; border: 1.5px solid #3f6b5d; }
.switch { display: inline-block; vertical-align: middle; }
#ctlSwitch { display: flex; align-items: center; flex: none; }
.secard label.opt { display: block; line-height: 2.6; margin: 4px 0; }
.secard label.opt input[type=number] { margin: 0 4px; }
.secard label.opt input[type=radio] { margin-right: 8px; accent-color: var(--ember); transform: scale(1.2); }
#ctlHost input:not([type=checkbox]):not([type=radio]):not([type=file]), #ctlHost select, #ctlHost textarea { background: var(--navy-3); color: var(--dover); border: 1.5px solid #3f6b5d; }

/* build 13: the program log and the week ahead */
.logrow { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid #1f4038; font-size: 14px; }
.logrow .t { width: 62px; flex: none; color: var(--mint); font-variant-numeric: tabular-nums; }
.logrow .w { flex: 1; min-width: 0; }
.logrow .w b, .logrow .w small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logrow .w small { color: var(--dover-dim); font-size: 12.5px; }
.logrow.dj .w b { color: var(--mint); font-weight: 600; }
.logrow .d { color: var(--dover-dim); font-size: 12.5px; flex: none; }
.lognav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.lognav b { flex: 1; min-width: 120px; }
.lognav a.btn { text-decoration: none; display: inline-flex; align-items: center; }
#ctlWeek details { border-top: 1px solid #1f4038; padding: 6px 0; }
#ctlWeek summary { cursor: pointer; font-weight: 700; padding: 4px 0; }
.wkrow { display: flex; gap: 10px; font-size: 13.5px; padding: 3px 0; }
.wkrow .t { width: 52px; flex: none; color: var(--mint); }
.wkrow .w { flex: 1; min-width: 0; color: var(--dover); }
.wkrow .w small { color: var(--dover-dim); }

/* ---- build 15: a station's page looks the same in every section, whichever screen its settings come from */
#controlPane h3, #controlPane .clockbody h3, #controlPane .ctlcard h3 { font: 700 17px var(--body); margin: 0 0 6px; }
#controlPane .ctlhost > h3, #controlPane .ctlhost .clockbody > h3 { margin: 8px 2px 0; color: var(--mint); font-size: 15px; letter-spacing: .3px; }
#controlPane .hint, #controlPane .ctlhost .hint { text-align: left; }
#controlPane .ctlhost > .label { margin: 6px 2px 0; color: var(--mint); font: 700 15px var(--body); letter-spacing: .3px; }
#controlPane .ctlhost .card > .label:first-child { color: var(--dover); font: 700 17px var(--body); }
#controlPane input:not([type=checkbox]):not([type=radio]):not([type=file]), #controlPane select, #controlPane textarea {
  background: var(--navy-3); color: var(--dover); border: 1.5px solid #3f6b5d; border-radius: 10px; min-height: 38px; font: inherit; color-scheme: dark; }
.secard input[type=time] { padding: 6px 8px; }
.secard p.tiny, .secard .tiny { margin: 8px 0; }
.secard.sintro p:last-child { margin-bottom: 0; }
.secard label.opt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; line-height: 1.4; margin: 10px 0; }
.secard label.check { margin: 6px 0 4px; color: var(--dover); }
.wxdays { gap: 6px !important; }
.wxdays .chip { min-width: 50px; }
.wxdays .chip.on { background: var(--ember); border-color: var(--ember); font-weight: 700; }
.btn.primary.dirty { box-shadow: 0 0 0 3px rgba(242, 184, 75, .55); }
.mever { text-align: center; color: var(--dover-dim); margin: 14px 0 4px; }

/* ---- build 24: the Lyrics view (the line being sung in the middle, the rest dimmed) */
.lyrscreen { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; background: linear-gradient(#123a2c, #0a1b16 70%); color: var(--dover); }
.lyrhead { display: flex; align-items: center; gap: 12px; padding: 14px 16px 8px; }
.lyrhead .t { flex: 1; min-width: 0; }
.lyrhead b { display: block; font: 700 18px var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lyrhead small { color: var(--dover-dim); }
.lyrbody { flex: 1; overflow-y: auto; padding: 30vh 22px 40vh; scroll-behavior: smooth; }
.lyrbody p { margin: 0 0 18px; font: 700 24px/1.3 var(--body); color: rgba(242, 238, 226, .38); transition: color .25s ease; cursor: default; }
.lyrbody.timed p { cursor: pointer; }
.lyrbody p.on { color: var(--dover); }
.lyrbody p.past { color: rgba(242, 238, 226, .55); }
.lyrbody.plain p { color: rgba(242, 238, 226, .85); font-size: 21px; }
.lyrbody .lyrnote { color: var(--dover-dim); font: 400 17px var(--body); text-align: center; }
.lyrfoot { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 22px; gap: 10px; }
#lyrBtn { margin-top: 2px; }

/* the ON AIR sign (build 26): a chrome housing with grille lines, a red lit panel or a dark unlit one */
.sign {
  --grille: repeating-linear-gradient(to bottom, #8a8a84 0 1.5px, transparent 1.5px 4px);
  position: relative; flex: none; display: inline-flex; align-items: center; padding: 3px 13px; border-radius: 999px;
  background: linear-gradient(#f2f2ee, #c8c8c0 55%, #e6e6df); border: 1.5px solid #6d6d67;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}
.sign::before, .sign::after { content: ""; position: absolute; top: 50%; width: 7px; height: 11px; transform: translateY(-50%); background: var(--grille); }
.sign::before { left: 4px; }
.sign::after { right: 4px; }
.sign i {
  font: 800 10px/1 var(--body); font-style: normal; letter-spacing: 1.6px; padding: 4px 6px 3px 7px; border-radius: 3px;
  background: #3b3e44; color: #6c707b; border: 1.5px solid #50545c; white-space: nowrap;
}
.sign.lit { box-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 0 9px 2px rgba(255, 45, 30, .55); animation: sign-glow 2.4s ease-in-out infinite; }
.sign.lit i {
  background: radial-gradient(ellipse at 50% 50%, #f0412f 0%, #c21d14 55%, #9c140e 100%); color: #fff4ea;
  text-shadow: 0 0 3px rgba(255, 255, 255, .9), 0 0 7px rgba(255, 110, 80, .9);
}
@keyframes sign-glow { 50% { box-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 0 4px 1px rgba(255, 45, 30, .3); } }
@media (prefers-reduced-motion: reduce) { .sign.lit { animation: none; } }
#onair { background: none; padding: 0 2px; gap: 8px; color: var(--dover, #e9e4d8); overflow: visible; }
#onair::before { content: none; }
#onair .onname { font-weight: 700; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* genre corrections (build 28) */
#gfixBtn { margin-top: 2px; }
.gfix { margin: 10px 0 4px; }
.gxrow { flex-wrap: wrap; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.gxrow select { max-width: 48vw; }
.gxrow small { color: var(--dover-dim); }

/* Car Show: add songs by name (build 29) */
.carfind { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.carfind .label { margin-bottom: 4px; }
.carfind small { color: var(--dover-dim); }
.carfind label.check { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; }
#carSongsCard textarea { padding: 8px 10px; border-radius: 10px; border: 1.5px solid #3f6b5d; background: var(--navy-3); color: var(--dover); min-height: 110px; width: 100%; box-sizing: border-box; font: inherit; resize: vertical; }

/* the Edsel DJ (build 31) */
.djsteer { gap: 8px; flex-wrap: wrap; justify-content: center; }
.djsteer .btn[hidden] { display: none; }

/* ---- build 32: live station extras, "Something's wrong?", reports, sign-ins, the recap's lists ---- */
.livex { gap: 8px; flex-wrap: wrap; justify-content: center; }
.reportbtn { font-size: 13px; opacity: .75; margin-top: 4px; }
.hrow .hheart { min-width: 44px; font-size: 20px; color: var(--mint); }
.report { border: 1px solid var(--line, #2a4a40); border-radius: 12px; padding: 10px 12px; margin: 8px 0; overflow-wrap: anywhere; }
.report.new { border-color: var(--ember-hi); background: rgba(47, 163, 107, .08); }
.report > b { display: block; }
.report p { margin: 6px 0; }
.report details { margin-top: 6px; font-size: 14px; }
.report ol, .report ul { margin: 6px 0 0; padding-left: 20px; }
.report small { color: var(--dover-dim); }
.bad { color: #f0a08a; }
.rh { margin: 16px 0 6px; font-size: 15px; }
.rlist { margin: 0; padding-left: 22px; }
.rlist li { margin: 3px 0; }
.rlist small { color: var(--dover-dim); }

/* ---- build 36: at the show; songs to fix ---- */
.showqr { background: #fff; border-radius: 12px; padding: 10px; width: max-content; max-width: 100%; margin: 10px auto; }
.showqr svg { display: block; width: min(64vw, 260px); height: auto; }
.crow.wrap { flex-wrap: wrap; gap: 8px; }
#schedText { width: 100%; margin: 8px 0; }
.tfpath { font-size: 12px; overflow-wrap: anywhere; flex: 1; color: var(--dover-dim); }
#showScreen input, #showScreen select, #newScreen select, #dedAdminScreen select { padding: 8px 10px; border-radius: 10px; border: 1.5px solid #3f6b5d; background: var(--navy-3); color: var(--dover); min-height: 38px; font: inherit; color-scheme: dark; }
#showScreen a.btn, #tagfixScreen a.btn { text-decoration: none; display: inline-flex; align-items: center; }
/* ---- build 37 ---- */
#carRest { padding: 6px 8px; border-radius: 10px; border: 1.5px solid #3f6b5d; background: var(--navy-3); color: var(--dover); min-height: 36px; font: inherit; margin: 0 4px; }
/* (build 53) the live mic */
.micrec { display: block; width: 100%; padding: 22px; font-size: 1.15em; margin: 10px 0; }
.micrec.on { background: #b3261e; border-color: #b3261e; color: #fff; animation: micpulse 1.2s ease-in-out infinite; }
@keyframes micpulse { 50% { opacity: .75; } }
#micSend .btn { display: block; width: 100%; margin: 8px 0; }
#micPlay { width: 100%; margin: 8px 0; }

/* ---------- (build 64) folded sections on the station pages: a title, a one-line summary, open to change ---------- */
details.fold { display: block; }
details.fold > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: nowrap; align-items: baseline; gap: 10px; padding: 2px 0; }
details.fold:not([open]) { display: block !important; }
details.fold > summary > b { flex: none; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary > b { font: 700 17px var(--display); color: var(--dover); }
details.fold > summary .fsum { flex: 1 1 auto; min-width: 0; color: var(--dover-dim); font-size: 14px; }
details.fold > summary::after { content: "\25BE"; color: var(--dover-dim); margin-left: auto; flex: none; }
details.fold[open] > summary::after { content: "\25B4"; }
details.fold[open] > summary { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #24493f; }
.ctlhost details.fold[open], #carScreen details.fold[open] { display: flex; flex-direction: column; gap: 10px; }
details.fold .frow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0; }
details.fold .frow > span:first-child { flex: 1 1 auto; min-width: 0; }
details.fold .frow .fpair { display: flex; align-items: center; gap: 6px; flex: none; white-space: nowrap; }
details.fold .frow input[type=number] { width: 64px; text-align: center; flex: none; }
details.fold .frow select { flex: none; }
details.fold .tiny, .subcard .tiny, #carArtists .tiny { color: var(--dover-dim); font-size: 13px; text-align: left; margin: 0; }
details.fold .label { color: var(--dover-dim); font-size: 14px; margin-top: 4px; }
details.fold input[type=search] { width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: 10px; border: 1.5px solid #3f6b5d; background: var(--navy-3); color: var(--dover); min-height: 38px; font: inherit; }
.subcard { border: 1px dashed #3f6b5d; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.subcard[hidden], #carAddedBox[hidden] { display: none; }
#carAddedBox { display: flex; flex-direction: column; gap: 8px; }
.urow .who b { overflow-wrap: anywhere; }
.urow .meta.path { font-size: 12px; opacity: .8; overflow-wrap: anywhere; }
#carRescan { align-self: flex-start; }
.btn.onchange[hidden] { display: none; }
#carSave.dirty { position: sticky; bottom: calc(12px + var(--safe-b)); z-index: 6; align-self: stretch; box-shadow: 0 6px 24px rgba(0, 0, 0, .55); }
#ctlBans > details > summary { cursor: pointer; list-style: none; display: flex; align-items: center; }
#ctlBans > details > summary::-webkit-details-marker { display: none; }
#ctlBans > details > summary h3 { margin: 0; flex: 1; }
#ctlBans > details > summary::after { content: "\25BE"; color: var(--dover-dim); }
#ctlBans > details[open] > summary::after { content: "\25B4"; }
#ctlBans > details[open] > summary { margin-bottom: 8px; }
#carFound label.check { display: block; padding: 4px 0; text-align: left; }
#carFound label.check small { display: block; margin-left: 28px; color: var(--dover-dim); }
#carFound .carfind .label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* (build 82) the sign-in page: listen to Car Show Radio with no account */
#listenLink { text-decoration: none; text-align: center; display: flex; align-items: center; justify-content: center; }
#listenLink[hidden] { display: none; }

/* (build 86) Car Show Radio > Songs: folders and songs added by name, each folded with its count */
details.subfold { margin: 10px 0; border-top: 1px solid var(--line, #2a4a3f); padding-top: 8px; }
details.subfold > summary { cursor: pointer; font-weight: 600; padding: 4px 0; }
details.subfold[hidden] { display: none; }

/* (build 92) The Radio tab's '59 dash radio: a cream dial with a red needle, chrome push-buttons for the live stations,
   what is playing, and chrome knobs to tune up and down. It scrolls away with the station list under it. */
.dashradio { padding: 10px 14px 14px; color: var(--dover); }
.dashradio[hidden] { display: none; }
.dr-chrome { padding: 12px; border-radius: 20px; background: linear-gradient(180deg,#eef2f0 0%,#9aa7a2 45%,#e5ebe8 55%,#7d8a85 100%); box-shadow: 0 10px 24px rgba(0,0,0,.55); }
.dr-inner { background: #151a18; border-radius: 11px; padding: 9px; }
.dr-dial { position: relative; height: 122px; border-radius: 8px; background: linear-gradient(180deg,#f6ecd0,#e6d6ad); overflow: hidden; box-shadow: inset 0 0 14px rgba(120,80,20,.45); --p: 0; }
.dr-nums { position: absolute; left: 14px; right: 14px; top: 8px; display: flex; justify-content: space-between; font: 600 14px/1 "Oswald","Arial Narrow","sans-serif-condensed",sans-serif; color: #3a2a10; }
.dr-ticks { position: absolute; left: 14px; right: 14px; top: 30px; height: 12px; background: repeating-linear-gradient(90deg,#3a2a10 0 2px,transparent 2px 14px); opacity: .85; }
.dr-names { position: absolute; left: 14px; right: 14px; top: 50px; height: 14px; }
.dr-names span { position: absolute; transform: translateX(-50%); white-space: nowrap; font: 500 11px/1 "Oswald","Arial Narrow","sans-serif-condensed",sans-serif; letter-spacing: .5px; color: #6b4e1d; }
.dr-names span.on { color: #b3261e; font-weight: 700; }
.dr-names.tight span { font-size: 9px; letter-spacing: 0; }
.dr-names span.end { transform: translateX(calc(-100% - 8px)); text-align: right; line-height: 1.25; }      /* (2.37) a name near the right end (Car Show 195.9) sits just left of its needle */
.dr-needle { position: absolute; top: 5px; bottom: 5px; width: 4px; margin-left: -2px; left: calc(14px + (100% - 28px) * var(--p)); background: #c9201a; border-radius: 2px; box-shadow: 0 0 8px rgba(201,32,26,.7); transition: left .8s cubic-bezier(.3,1.3,.5,1); }
.dr-script { position: absolute; left: 8px; right: 8px; bottom: 8px; text-align: center; font: 26px/1.1 "Dancing Script","Brush Script MT","Segoe Script",cursive; color: #7a5a24; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-btns { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 6px; margin-top: 9px; }
.dr-btns button { min-height: 46px; padding: 0 2px; border-radius: 6px; border: 0; background: linear-gradient(180deg,#f4f7f6,#a7b3ae); color: #1d2421; font: 600 11px/1.1 "Oswald","Arial Narrow","sans-serif-condensed",sans-serif; letter-spacing: .3px; box-shadow: 0 4px 0 #5d6763; cursor: pointer; transition: transform .08s, box-shadow .08s; }
.dr-btns button[aria-pressed="true"] { background: linear-gradient(180deg,#a7b3ae,#e6ece9); color: #b3261e; font-weight: 700; box-shadow: inset 0 3px 6px rgba(0,0,0,.45); transform: translateY(3px); }
.dr-btns button:active { transform: translateY(3px); box-shadow: inset 0 3px 6px rgba(0,0,0,.45); }
.dr-now { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--navy-2); border: 1px solid #2c5a4c; }
.dr-label { font-size: 11px; letter-spacing: 3px; color: var(--mint); }
.dr-title { font: 700 22px/1.2 var(--display); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-sub { font-size: 14px; color: var(--chrome); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-bar { height: 6px; border-radius: 3px; background: var(--navy-3); margin-top: 12px; overflow: hidden; }
.dr-bar i { display: block; height: 100%; width: 0; background: #c9201a; }
.dr-times { display: flex; justify-content: space-between; font-size: 12px; color: var(--dover-dim); margin-top: 4px; min-height: 15px; line-height: 17px; height: 17px; }      /* (build 99) one height with or without the times, so nothing below moves */
.dr-knobs { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px 4px; }
.dr-knobwrap { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 2px; color: var(--dover-dim); }
.dr-knob { width: 64px; height: 64px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: radial-gradient(circle at 35% 30%,#ffffff,#a7b3ae 45%,#4b5551 100%); box-shadow: 0 6px 14px rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; }
.dr-knob i { display: block; width: 4px; height: 24px; background: #1d2421; border-radius: 2px; transform: rotate(var(--turn, 0deg)) translateY(-12px); transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.dr-play { width: 80px; height: 80px; border-radius: 50%; border: 4px solid #e5ebe8; background: #c9201a; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(0,0,0,.5); cursor: pointer; padding: 0; }
.dr-play svg { width: 30px; height: 30px; fill: #fff; }
.dr-play:active, .dr-knob:active { transform: scale(.96); }

/* (build 94) the Radio tab's stations to match the dash radio: cream dial strips in chrome frames, chrome push-button tabs,
   chrome nameplates for the headings, Who's listening with a listener meter. The ON AIR signs are unchanged. */
.row.amrow { margin: 3px 12px; height: calc(var(--row) - 6px); padding: 0 10px 0 5px; gap: 10px; border-radius: 10px; border: 2px solid transparent;
  background: linear-gradient(180deg,#f6ecd0,#e6d6ad) padding-box, linear-gradient(180deg,#f4f7f6,#8f9c97 50%,#dfe6e3) border-box;
  box-shadow: 0 3px 8px rgba(0,0,0,.35); color: #2b1e0a; }
.row.amrow:hover { background: linear-gradient(180deg,#fbf3dc,#ecdcb6) padding-box, linear-gradient(180deg,#f4f7f6,#8f9c97 50%,#dfe6e3) border-box; }
.row.amrow.now { background: linear-gradient(180deg,#fff6d8,#efdcae) padding-box, linear-gradient(180deg,#ffffff,#a7b3ae 50%,#e6ece9) border-box; box-shadow: 0 3px 8px rgba(0,0,0,.35), 0 0 0 1px #c9201a; }
.row.amrow .txt b { font: 600 15px/1.25 "Oswald","Arial Narrow","sans-serif-condensed",sans-serif; font-size: 17px; letter-spacing: .6px; color: #2b1e0a; font-variant-caps: all-small-caps; }
.row.amrow .txt small { color: #6b4e1d; font-size: 12px; }
.row.amrow .newtag { flex: none; }
.amtab { flex: none; width: 54px; height: 38px; border-radius: 6px; display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(180deg,#f4f7f6,#a7b3ae); box-shadow: 0 3px 0 #5d6763; color: #1d2421; overflow: hidden;
  font: 700 11px/1.05 "Oswald","Arial Narrow","sans-serif-condensed",sans-serif; letter-spacing: .3px; padding: 0 2px; }
.amtab.in { background: linear-gradient(180deg,#a7b3ae,#e6ece9); box-shadow: inset 0 3px 6px rgba(0,0,0,.45); color: #b3261e; transform: translateY(2px); }
.row.amrow.ammeter, .row.amrow.ammeter:hover { background: linear-gradient(#121815,#121815) padding-box, linear-gradient(180deg,#f4f7f6,#8f9c97 50%,#dfe6e3) border-box; color: var(--dover); padding-left: 10px; }
.row.amrow.ammeter .txt b { color: var(--dover); letter-spacing: 1px; }
.row.amrow.ammeter .txt small { color: var(--dover-dim); }
.amgauge { width: 52px; height: 34px; flex: none; }
.amlamp { flex: none; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 40% 35%,#6b7a74,#2c3833 60%,#141a17); }
.amlamp.on { background: radial-gradient(circle at 40% 35%,#c6f2d9,#2fd17a 55%,#0f6b3a); box-shadow: 0 0 10px rgba(47,209,122,.8); }
.qlabel.amplate { align-items: flex-end; padding: 0 14px 6px; }
.qlabel.amplate span { display: inline-flex; align-items: center; gap: 10px; padding: 4px 16px; border-radius: 4px;
  background: linear-gradient(180deg,#ffffff,#a7b3ae 55%,#e6ece9); color: #1d2421; box-shadow: 0 2px 4px rgba(0,0,0,.5);
  font: 700 14px/1.2 "Oswald","Arial Narrow","sans-serif-condensed",sans-serif; letter-spacing: 3px; font-variant-caps: all-small-caps; }
.qlabel.amplate span::before, .qlabel.amplate span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #5d6763; }

/* ==== (build 96) the whole app in the radio look: chrome push-buttons, cream dials, the big red button ==== */
:root { --chrome-face: linear-gradient(180deg,#f4f7f6,#a7b3ae); --chrome-in: linear-gradient(180deg,#a7b3ae,#e6ece9);
        --chrome-ring: linear-gradient(180deg,#f4f7f6,#8f9c97 50%,#dfe6e3); --chrome-bar: linear-gradient(180deg,#eef2f0 0%,#9aa7a2 45%,#e5ebe8 55%,#7d8a85 100%);
        --cream: linear-gradient(180deg,#f6ecd0,#e6d6ad); --cond: "Oswald","Arial Narrow","sans-serif-condensed",sans-serif; --red: #c9201a; }

/* the tab bar: a chrome strip of push-buttons, the one you are on pushed in */
.nav { background: #151a18; border-top: 3px solid #c9d0cd; gap: 5px; padding: 7px 6px calc(7px + var(--safe-b)); }
.nav button { background: var(--chrome-face); color: #1d2421; border-radius: 6px; box-shadow: 0 3px 0 #5d6763; font: 600 12px/1 var(--cond); letter-spacing: 0; gap: 3px; padding: 4px 0; overflow: hidden; font-variant-caps: all-small-caps; }
.nav button svg { width: 18px; height: 18px; stroke-width: 2; }
.nav button.on { background: var(--chrome-in); color: #b3261e; font-weight: 700; box-shadow: inset 0 3px 6px rgba(0,0,0,.45); transform: translateY(2px); }
.nav button.on svg { stroke-width: 2.4; }

/* the player bar: chrome, the song on a little cream dial strip, chrome knobs and the red button */
.player { background: var(--chrome-bar); border-top: 0; border-radius: 12px 12px 0 0; margin: 0 8px; box-shadow: 0 -4px 14px rgba(0,0,0,.45); }
.seek input, .times input { accent-color: var(--red); }
.np-info { background: var(--cream); border-radius: 7px; padding: 4px 8px 4px 4px; box-shadow: inset 0 0 8px rgba(120,80,20,.35); }
.np-info .art { width: 40px; height: 40px; border-radius: 5px; }
.np-text b { color: #2b1e0a; font-family: var(--cond); font-weight: 600; font-size: 15px; }
.np-text small { color: #6b4e1d; }
.player .ic { color: #1d2421; }
.player .ic:not(.main):not(.like) { width: 40px; height: 40px; background: radial-gradient(circle at 35% 30%,#ffffff,#a7b3ae 45%,#4b5551); box-shadow: 0 3px 6px rgba(0,0,0,.45); font-size: 15px; margin: 0 2px; }
.player .ic.like { color: #6b4e1d; }
.player .ic.like[aria-pressed="true"] { color: var(--red); background: none; }
.ic.main { background: var(--red); border: 3px solid #f4f7f6; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.45); }
.ic.main:hover { background: #dd2b22; }

/* the now-playing screen: the cover in a chrome bezel, the song on a cream dial with the needle, chrome knobs, push-buttons */
.np-art { border: 9px solid transparent; box-sizing: border-box; border-radius: 16px; background: radial-gradient(circle,#1b1b1b 0 16%,#2a2a2a 17% 18%,#111 19% 44%,#222 45% 46%,#0d0d0d 47%) padding-box, var(--chrome-bar) border-box; box-shadow: 0 10px 24px rgba(0,0,0,.55); }
.np-art img { border-radius: 8px; }
.npdial { position: relative; width: min(100%, 460px); box-sizing: border-box; margin-top: 10px; padding: 46px 14px 14px; border-radius: 10px; border: 9px solid transparent;
  background: var(--cream) padding-box, var(--chrome-ring) border-box; box-shadow: 0 8px 18px rgba(0,0,0,.45); text-align: center; overflow: hidden; --p: 0; }
.npdial .dr-nums { position: absolute; left: 14px; right: 14px; top: 8px; display: flex; justify-content: space-between; font: 600 13px/1 var(--cond); color: #3a2a10; }
.npdial .dr-ticks { position: absolute; left: 14px; right: 14px; top: 26px; height: 11px; background: repeating-linear-gradient(90deg,#3a2a10 0 2px,transparent 2px 14px); opacity: .85; }
.npdial .dr-needle { position: absolute; top: 4px; bottom: 4px; width: 4px; margin-left: -2px; left: calc(14px + (100% - 28px) * var(--p)); background: var(--red); border-radius: 2px; box-shadow: 0 0 8px rgba(201,32,26,.7); transition: left 1s linear; }
.np .npdial h2 { position: relative; color: #2b1e0a; font: 700 24px/1.15 var(--cond); margin: 0; }
.np .npdial p { position: relative; color: #6b4e1d; font-size: 15px; letter-spacing: .5px; }
.np .ctl.big .ic:not(.main) { width: 54px; height: 54px; color: #1d2421; font-size: 18px; background: radial-gradient(circle at 35% 30%,#ffffff,#a7b3ae 45%,#4b5551); box-shadow: 0 5px 12px rgba(0,0,0,.5); }
.np .ctl.big .ic[aria-pressed="true"]:not(.main) { color: #b3261e; box-shadow: inset 0 3px 6px rgba(0,0,0,.5); }
.np .ctl.big .ic.main { width: 76px; height: 76px; border-width: 4px; }
.np .btn, .np .chip { background: var(--chrome-face); color: #1d2421; border: 0; border-radius: 6px; box-shadow: 0 3px 0 #5d6763; font-family: var(--cond); font-weight: 600; letter-spacing: .3px; }
.np .btn:hover, .np .chip:hover { background: linear-gradient(180deg,#ffffff,#b7c2bd); }
.np .btn[aria-pressed="true"], .np .chip[aria-pressed="true"], .np .chip.on, #like2[aria-pressed="true"] { background: var(--chrome-in); color: #b3261e; box-shadow: inset 0 3px 6px rgba(0,0,0,.45); }

/* the Library, Up next and Podcasts: push-button chips, a cream search strip, nameplates, dark rows with thin chrome lines */
.search input { border: 3px solid transparent; background: var(--cream) padding-box, var(--chrome-ring) border-box; color: #2b1e0a; }
.search input::placeholder { color: #6b4e1d; }
.libchips button { border: 0; border-radius: 6px; background: var(--chrome-face); color: #1d2421; box-shadow: 0 3px 0 #5d6763; font: 600 15px/1 var(--cond); letter-spacing: .5px; padding: 9px 13px; font-variant-caps: all-small-caps; }
.libchips button.on { background: var(--chrome-in); color: #b3261e; font-weight: 700; box-shadow: inset 0 3px 6px rgba(0,0,0,.45); transform: translateY(2px); }
.bar .btn { border-radius: 6px; font-family: var(--cond); letter-spacing: .4px; font-size: 15px; font-variant-caps: all-small-caps; }
.bar .btn.primary { background: var(--red); color: #fff; border: 3px solid #e5ebe8; }
.bar .btn.ghost { background: var(--chrome-face); color: #1d2421; border: 0; box-shadow: 0 3px 0 #5d6763; }
.row:not(.amrow) { border-bottom: 1px solid transparent; border-image: linear-gradient(90deg,transparent,#6f7d78 15%,#c9d0cd 50%,#6f7d78 85%,transparent) 1; }
.row.now:not(.amrow) { background: linear-gradient(90deg,rgba(201,32,26,.2),transparent 70%); }
.row.now:not(.amrow)::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; margin-right: -2px; background: radial-gradient(circle at 40% 35%,#ffb3a8,#e9433a 55%,#7a0a10); box-shadow: 0 0 8px rgba(233,67,58,.9); }
.qlabel.amplate { color: inherit; font: inherit; }

/* Me: your name in script, settings on cream panels in chrome frames, chrome toggles that go red when on */
#mePane .mehead h2 { font: 600 34px/1.1 "Dancing Script","Brush Script MT","Segoe Script",cursive; color: #e8d9b0; }
#mePane .shelf { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px; border-radius: 4px; background: linear-gradient(180deg,#ffffff,#a7b3ae 55%,#e6ece9);
  color: #1d2421; box-shadow: 0 2px 4px rgba(0,0,0,.5); font: 700 12px/1.2 var(--cond); letter-spacing: 3px; }
#mePane .melist:not(:empty) { border: 2px solid transparent; border-radius: 12px; padding: 0 12px; background: var(--cream) padding-box, var(--chrome-ring) border-box; box-shadow: 0 4px 10px rgba(0,0,0,.35); margin-bottom: 6px; }
#mePane .merow { color: #2b1e0a; border-bottom: 1px solid rgba(107,78,29,.25); }
#mePane .merow:last-child { border-bottom: 0; }
#mePane .merow b { font-family: var(--cond); font-weight: 600; font-size: 16px; }
#mePane .merow small, #mePane .merow .chev { color: #6b4e1d; }
#mePane .merow.danger b { color: #b3261e; }
#mePane .merow .ico { background: var(--chrome-face); color: #1d2421; box-shadow: 0 2px 0 #5d6763; }
#mePane .switch { width: 52px; height: 28px; background: linear-gradient(180deg,#5d6763,#9aa7a2); box-shadow: inset 0 2px 4px rgba(0,0,0,.5); }
#mePane .switch::after { top: 2px; left: 2px; width: 24px; height: 24px; background: radial-gradient(circle at 35% 30%,#ffffff,#a7b3ae 55%,#4b5551); box-shadow: 0 2px 3px rgba(0,0,0,.5); }
#mePane .switch.y { background: linear-gradient(180deg,#8f150f,var(--red)); }
#mePane .switch.y::after { left: 26px; }

/* the sign-in page: the logo stays; the boxes on a cream dial in a chrome radio; a red Sign in; chrome push-buttons */
#login .loading-card h1 { font: 600 40px/1.1 "Dancing Script","Brush Script MT","Segoe Script",cursive; color: #e8d9b0; letter-spacing: 0; }
#login .stack { box-sizing: border-box; padding: 12px 14px 14px; border-radius: 12px; border: 10px solid transparent; background: var(--cream) padding-box, var(--chrome-bar) border-box;
  box-shadow: 0 10px 24px rgba(0,0,0,.55), inset 0 0 12px rgba(120,80,20,.35); text-align: left; }
#login .stack label { color: #6b4e1d; font: 600 14px/1.2 var(--cond); letter-spacing: 2px; font-variant-caps: all-small-caps; }
#login .stack input { background: #fbf5e2; color: #2b1e0a; border: 2px solid #9aa7a2; border-radius: 6px; }
#login .stack .hint { color: #6b4e1d; }
#login .stack .btn.primary { background: var(--red); color: #fff; border: 3px solid #e5ebe8; border-radius: 8px; font: 700 18px/1 var(--cond); letter-spacing: 2px; min-height: 50px; font-variant-caps: all-small-caps; }
#login .stack .btn.ghost, #login > .loading-card > .btn.ghost, #listenLink { background: var(--chrome-face); color: #1d2421; border: 0; border-radius: 8px; box-shadow: 0 4px 0 #5d6763;
  font: 600 16px/1.1 var(--cond); letter-spacing: 1px; min-height: 48px; font-variant-caps: all-small-caps; }
.signdial { position: relative; height: 62px; margin: -2px 0 2px; }
.signdial .dr-nums { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; font: 600 13px/1 var(--cond); color: #3a2a10; }
.signdial .dr-ticks { position: absolute; left: 0; right: 0; top: 17px; height: 10px; background: repeating-linear-gradient(90deg,#3a2a10 0 2px,transparent 2px 14px); opacity: .85; }
.signscript { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font: 600 26px/1 "Dancing Script","Brush Script MT","Segoe Script",cursive; color: #7a5a24; }
.vol input { accent-color: var(--red); }
#mePane .stat3 div { border: 2px solid transparent; border-radius: 10px; background: var(--cream) padding-box, var(--chrome-ring) border-box; box-shadow: 0 3px 8px rgba(0,0,0,.35); }
#mePane .stat3 b { color: var(--red); font-family: var(--cond); }
#mePane .stat3 small { color: #6b4e1d; }
.np .np-art, .np .npdial { flex: none; }

/* ==== (build 97) the Station tab and the admin screens in the radio look ==== */
/* the toggles everywhere: chrome, red when on (as the Me tab since build 96) */
.switch { width: 52px; height: 28px; background: linear-gradient(180deg,#5d6763,#9aa7a2); box-shadow: inset 0 2px 4px rgba(0,0,0,.5); }
.switch::after { top: 2px; left: 2px; width: 24px; height: 24px; background: radial-gradient(circle at 35% 30%,#ffffff,#a7b3ae 55%,#4b5551); box-shadow: 0 2px 3px rgba(0,0,0,.5); }
.switch.y { background: linear-gradient(180deg,#8f150f,var(--red)); }
.switch.y::after { left: 26px; background: radial-gradient(circle at 35% 30%,#ffffff,#a7b3ae 55%,#4b5551); }

/* headings on chrome nameplates */
#controlPane .shelf { display: inline-flex; align-items: center; padding: 4px 14px; border-radius: 4px; background: linear-gradient(180deg,#ffffff,#a7b3ae 55%,#e6ece9);
  color: #1d2421; box-shadow: 0 2px 4px rgba(0,0,0,.5); font: 700 14px/1.2 var(--cond); letter-spacing: 3px; font-variant-caps: all-small-caps; }

/* each live station: a cream dial strip in a chrome frame, its name on a chrome push-button, a chrome toggle */
.hubst { border: 3px solid transparent; border-radius: 12px; padding: 9px 12px; background: var(--cream) padding-box, var(--chrome-bar) border-box;
  box-shadow: 0 4px 10px rgba(0,0,0,.4), inset 0 0 10px rgba(120,80,20,.3); color: #2b1e0a; }
.hubst .stinit { width: 64px; height: 44px; border-radius: 6px; background: var(--chrome-face) !important; color: #1d2421; box-shadow: 0 3px 0 #5d6763;
  font: 700 12px/1.05 var(--cond); letter-spacing: .4px; text-align: center; padding: 0 3px; box-sizing: border-box; }
.hubst.on .stinit { background: var(--chrome-in) !important; color: #b3261e; box-shadow: inset 0 3px 6px rgba(0,0,0,.45); transform: translateY(2px); }
.hubst b { font: 600 17px/1.25 var(--cond); letter-spacing: .5px; color: #2b1e0a; }
.hubst small { color: #6b4e1d; }
.hubst .always { color: #fff; background: var(--red); border-radius: 4px; padding: 3px 7px; font: 700 12px/1.2 var(--cond); letter-spacing: 1px; box-shadow: 0 0 8px rgba(201,32,26,.55); }

/* Run the station, and a group's list: cream panels in chrome frames */
#hubGroups:not(:empty), #groupScreen .melist:not(:empty) { border: 2px solid transparent; border-radius: 12px; padding: 0 12px; background: var(--cream) padding-box, var(--chrome-ring) border-box; box-shadow: 0 4px 10px rgba(0,0,0,.35); }
#hubGroups .merow, #groupScreen .merow { color: #2b1e0a; border-bottom: 1px solid rgba(107,78,29,.25); }
#hubGroups .merow:last-child, #groupScreen .merow:last-child { border-bottom: 0; }
#hubGroups .merow b, #groupScreen .merow b { font: 600 16px/1.3 var(--cond); }
#hubGroups .merow small, #hubGroups .merow .chev, #groupScreen .merow small, #groupScreen .merow .chev { color: #6b4e1d; }
#hubGroups .merow .ico, #groupScreen .merow .ico { background: var(--chrome-face); color: #1d2421; box-shadow: 0 2px 0 #5d6763; }

/* a station's page: a chrome knob back, the name on a cream dial with the red needle, the sections as push-buttons */
.pagehead #ctlBack { width: 44px; height: 44px; min-width: 44px; padding: 0; border: 0; border-radius: 50%; color: #1d2421; font-size: 18px;
  background: radial-gradient(circle at 35% 30%,#ffffff,#a7b3ae 45%,#4b5551); box-shadow: 0 3px 6px rgba(0,0,0,.45); }
.pagehead #ctlTitle { position: relative; padding: 18px 12px 5px; border: 3px solid transparent; border-radius: 8px; background: var(--cream) padding-box, var(--chrome-ring) border-box;
  color: #2b1e0a; font: 700 20px/1.15 var(--cond); letter-spacing: .5px; box-shadow: inset 0 0 10px rgba(120,80,20,.35); }
.pagehead #ctlTitle::before { content: ""; position: absolute; left: 10px; right: 10px; top: 4px; height: 9px; background: repeating-linear-gradient(90deg,#3a2a10 0 2px,transparent 2px 12px); opacity: .8; }
.pagehead #ctlTitle::after { content: ""; position: absolute; top: 2px; bottom: 2px; right: 22%; width: 3px; background: var(--red); border-radius: 2px; box-shadow: 0 0 6px rgba(201,32,26,.7); }
.seg { background: #151a18; border-radius: 10px; padding: 6px; gap: 5px; box-shadow: inset 0 2px 6px rgba(0,0,0,.6); }
.seg button { background: var(--chrome-face); color: #1d2421; border-radius: 6px; box-shadow: 0 3px 0 #5d6763; font: 600 14px/1 var(--cond); letter-spacing: .3px; padding: 10px 0; font-variant-caps: all-small-caps; }
.seg button.on { background: var(--chrome-in); color: #b3261e; font-weight: 700; box-shadow: inset 0 3px 6px rgba(0,0,0,.45); transform: translateY(2px); }

/* the cards on the station pages and the admin screens: dark panels in a thin chrome frame */
.secard, .ctlcard, .ctlhost .card, .ctlhost .clockbody .card, .clockscreen .clockbody .card, #ctlStations > div {
  border: 2px solid transparent; background: linear-gradient(#14251f,#14251f) padding-box, var(--chrome-ring) border-box; box-shadow: 0 4px 10px rgba(0,0,0,.35); }
.secard h3, .ctlcard h3, .ctlhost .card h3, .clockscreen h3, details.fold > summary > b { font-family: var(--cond); font-weight: 600; letter-spacing: .4px; color: #e8d9b0; }
.ctlhost input:not([type=checkbox]):not([type=radio]):not([type=file]), .ctlhost select, .ctlhost textarea,
.clockscreen input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), .clockscreen select, .clockscreen textarea,
.secard input[type=number], .secard input[type=time] { background: #fbf5e2; color: #2b1e0a; border: 2px solid #9aa7a2; }
.ctlhost ::placeholder, .clockscreen ::placeholder { color: #8a7650; }
.secard input[type=radio], .secard input[type=checkbox], .clockscreen input[type=checkbox], .clockscreen input[type=radio], .ctlhost input[type=checkbox] { accent-color: var(--red); }

/* the admin screens: the title in script; Close and the other buttons chrome push-buttons; Save the big red button */
.clockscreen > h2 { font: 600 34px/1.1 "Dancing Script","Brush Script MT","Segoe Script",cursive; color: #e8d9b0; }
.np .btn.primary, #controlPane .btn.primary, .np .card .btn.primary { background: var(--red); color: #fff; border: 3px solid #e5ebe8; box-shadow: 0 3px 8px rgba(0,0,0,.4); font-weight: 700; }
.np .btn.primary:hover, #controlPane .btn.primary:hover { background: #dd2b22; }
.np .btn.primary.dirty, #controlPane .btn.primary.dirty { box-shadow: 0 0 0 3px rgba(242,184,75,.7); }
.np .card .btn:not(.primary), .np .secard .btn:not(.primary), #controlPane .btn:not(.primary):not(#ctlBack) { background: var(--chrome-face); color: #1d2421; border: 0; border-radius: 6px; box-shadow: 0 3px 0 #5d6763; font-family: var(--cond); font-weight: 600; }
.np .card .btn[aria-pressed="true"]:not(.primary), #controlPane .btn[aria-pressed="true"]:not(.primary) { background: var(--chrome-in); color: #b3261e; box-shadow: inset 0 3px 6px rgba(0,0,0,.45); }
/* (build 97) on a wide screen the player bar stays centred under the app (build 96's side margins had pushed it off to the left) */
@media (min-width: 900px) { .player { margin: 0 auto; max-width: 964px; } }

/* (2.8) Help and the welcome tour */
.helpbtn { min-width: 34px; padding: 4px 10px; font-weight: 700; border-radius: 50%; }
#helpFind { width: 100%; box-sizing: border-box; margin: 6px 0 4px; padding: 10px 14px; border-radius: 22px; font-size: 16px; }
#helpScreen .helpq { margin: 8px 0; padding: 10px 14px; text-align: left; background: rgba(255, 255, 255, .05); border: 1px solid #24493f; border-radius: 14px; }
#helpScreen .helpq summary { cursor: pointer; }
#helpScreen .helpq p { margin: 8px 0; line-height: 1.45; }
#helpScreen .helpgo { margin-top: 2px; }
#helpTour { margin: 18px 0 30px; }
.tour { position: fixed; inset: 0; z-index: 9000; background: rgba(0, 0, 0, .45); }
.tourring { position: fixed; border: 3px solid #f2c14e; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .35); pointer-events: none; transition: all .25s ease; }
.tourcard { background: var(--navy-2, #123029); border: 1px solid #3a6b5d; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.5); position: fixed; left: 16px; right: 16px; max-width: 420px; margin: 0 auto; padding: 16px 18px; text-align: left; z-index: 9001; }
.tourcard.mid { top: 30%; }
.tourcard small { opacity: .7; }
.tourcard h3 { margin: 4px 0 6px; }
.tourcard p { margin: 0 0 12px; line-height: 1.45; }
.tourbtns { display: flex; justify-content: space-between; gap: 10px; }

/* (2.10) The night glow: after dark the radio dials (the Radio tab's, Now Playing's) light up from behind like a real radio's
   while the music plays, fading up like warming tubes. Off, they are dark glass. Each person picks the color and brightness. */
:root { --gl1: #ffd27a; --gl2: #f2a33c; --gl3: #b5641a; --gl4: #5a2f0c; --glh: 255, 160, 50; --glb: 1; }
.dr-dial::before, .npdial::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 75% 120% at 50% 55%, var(--gl1) 0%, var(--gl2) 45%, var(--gl3) 80%, var(--gl4) 100%);
  filter: brightness(var(--glb)); transition: opacity 2.6s ease-in; }
body.glow .dr-dial, body.glow .npdial { transition: box-shadow 2.6s ease-in; }
body.glow .dr-dial { background: linear-gradient(180deg, #2b2116, #1c150d); box-shadow: inset 0 0 22px rgba(0, 0, 0, .8); }
body.glow .npdial { background: linear-gradient(180deg, #2b2116, #1c150d) padding-box, var(--chrome-ring) border-box; }
body.glow .dashradio .dr-chrome { background: linear-gradient(180deg, #8a948f 0%, #4a5450 45%, #7e8883 55%, #3a423f 100%); }
body.glow .dr-inner { background: #0a0d0c; }
body.glow .dr-dial .dr-nums, body.glow .npdial .dr-nums, body.glow .dr-names span, body.glow .dr-script, body.glow .np .npdial h2, body.glow .np .npdial p { color: #7d6a4c; transition: color 2.6s ease-in; }
body.glow .dr-dial .dr-ticks, body.glow .npdial .dr-ticks { background: repeating-linear-gradient(90deg, #7d6a4c 0 2px, transparent 2px 14px); }
body.glow .dr-btns button { background: linear-gradient(180deg, #9aa4a0, #5d6763); color: #e9ddc0; }
body.glow .dr-btns button[aria-pressed="true"] { background: linear-gradient(180deg, #4d5653, #7d8783); color: #c7b28a; }
body.glow .dr-knob { background: radial-gradient(circle at 35% 30%, #c9d0cd, #6d7773 45%, #2b312f 100%); }
body.glow.glowlit .dr-dial::before, body.glow.glowlit .npdial::before { opacity: 1; }
body.glow.glowlit .dr-dial { box-shadow: inset 0 0 22px rgba(60, 25, 0, .75), 0 0 18px 4px rgba(var(--glh), calc(.45 * var(--glb))), 0 0 46px 10px rgba(var(--glh), calc(.22 * var(--glb))); }
body.glow.glowlit .npdial { box-shadow: 0 8px 18px rgba(0, 0, 0, .45), 0 0 22px 6px rgba(var(--glh), calc(.4 * var(--glb))); }
body.glow.glowlit .dr-dial .dr-nums, body.glow.glowlit .npdial .dr-nums, body.glow.glowlit .dr-names span, body.glow.glowlit .np .npdial h2 { color: #2a1500; text-shadow: 0 0 2px rgba(255, 255, 255, .35); }
body.glow.glowlit .dr-dial .dr-ticks, body.glow.glowlit .npdial .dr-ticks { background: repeating-linear-gradient(90deg, #2a1500 0 2px, transparent 2px 14px); }
body.glow.glowlit .dr-names span.on { color: #7a0d06; }
body.glow.glowlit .dr-script, body.glow.glowlit .np .npdial p { color: #4a2400; text-shadow: 0 0 6px rgba(255, 255, 255, .45); }
body.glow.glowlit .dr-needle, body.glow.glowlit .npdial .dr-needle { background: #ff3b2a; box-shadow: 0 0 6px 2px rgba(255, 60, 40, .9), 0 0 16px 4px rgba(255, 60, 30, .5); }
body.glow.glowlit .dr-btns button[aria-pressed="true"] { color: rgb(var(--glh)); text-shadow: 0 0 6px rgba(var(--glh), .9); }
/* the Night glow screen: a little dial that is always lit, to see the color and brightness */
.glowprev { align-self: center; width: min(100%, 420px); padding: 10px; border-radius: 14px; background: #0a0d0c; margin: 6px 0 4px; }
.glowprev .dr-dial::before { opacity: 1; transition: none; }
.glowprev #glowDial { transition: none; background: #1c150d; box-shadow: inset 0 0 18px rgba(0, 0, 0, .55), 0 0 18px 4px rgba(var(--glh), calc(.5 * var(--glb))), 0 0 40px 8px rgba(var(--glh), calc(.22 * var(--glb))); --p: .62; }
.glowprev .dr-nums, .glowprev .dr-script { color: #2a1500 !important; }
.glowprev .dr-ticks { background: repeating-linear-gradient(90deg, #2a1500 0 2px, transparent 2px 14px) !important; }
.glowprev .dr-needle { background: #ff3b2a; box-shadow: 0 0 6px 2px rgba(255, 60, 40, .9); }
.glowset { align-self: center; width: min(100%, 620px); }
.glowset .tiny { text-align: left; }
.glowset h3 { margin: 16px 0 6px; font-size: 14px; letter-spacing: 1px; }
#welcomeSpot { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid #3f6b5d; background: var(--navy-3); color: var(--dover); min-height: 44px; font: inherit; color-scheme: dark; }   /* (2.23) */
#welcomeTry { margin-top: 14px; }
.glowchips { display: flex; flex-wrap: wrap; gap: 8px; }
.glowchips button { padding: 9px 14px; border-radius: 20px; border: 1px solid #2c5a4c; background: var(--navy-2); color: var(--dover); font: inherit; cursor: pointer; }
.glowchips button[aria-checked="true"] { border-color: var(--mint); box-shadow: 0 0 0 2px var(--mint) inset; font-weight: 700; }
.glowcolors button i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 7px; vertical-align: -2px; }
#glowBright { width: 100%; accent-color: rgb(var(--glh)); }
#glowReset { margin-top: 18px; }
/* (2.10) People > Phone alerts (ntfy) */
.ntfysteps { padding-left: 20px; line-height: 1.6; }
#ntfyBox { text-align: left; }
.ntfysteps code { user-select: all; display: inline-block; margin: 2px 0; background: rgba(255, 255, 255, .08); padding: 1px 5px; border-radius: 4px; }
.ntfybtns { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
/* (2.14) iPhones: the setup file for a home screen icon that opens Safari */
.iosfix { background: #5a2a14; border-color: #c8743a; }
#iosSetup .iosget { align-self: center; display: inline-block; margin: 10px 0 6px; padding: 14px 22px; font-size: 17px; font-weight: 700; text-decoration: none; }
#iosSetup .iossteps { align-self: center; width: min(100%, 560px); text-align: left; line-height: 1.6; padding-left: 22px; }
#iosSetup .iossteps li { margin: 6px 0; }
#iosSetup details { align-self: center; width: min(100%, 560px); text-align: left; }
/* (2.17) Holiday Radio: time of day */
.holblock .holbname { flex: 1; min-width: 0; font: inherit; font-weight: 700; padding: 6px 8px; border-radius: 8px; border: 1px solid #2c5a4c; background: var(--navy-2); color: var(--dover); }
.holblock input[type=time] { font: inherit; padding: 4px 6px; border-radius: 6px; border: 1px solid #2c5a4c; background: var(--navy-2); color: var(--dover); }
.holblock .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.holblock .holgen .chip small { opacity: .7; }
.holnow { color: var(--mint); font-weight: 700; }
.holnever summary { cursor: pointer; margin-top: 4px; }

/* (2.30) Weekly email: the report as it will arrive */
.weeklytext { white-space: pre-wrap; font-size: 13px; line-height: 1.45; background: rgba(0,0,0,.22); color: var(--dover); border-radius: 10px; padding: 12px; overflow-x: auto; font-family: var(--body); }

/* (2.38) Spots: who plays what */
.spotgrid-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 6px 0 4px; }
.spotgrid { border-collapse: collapse; min-width: 100%; font-size: 14px; }
.spotgrid th, .spotgrid td { padding: 4px 6px; text-align: center; border-bottom: 1px solid rgba(127,127,127,.25); white-space: nowrap; }
.spotgrid thead th { font-size: 12px; font-weight: 600; }
.spotgrid tbody th, .spotgrid tfoot th { text-align: left; font-weight: 500; position: sticky; left: 0; background: var(--navy); max-width: 11em; overflow: hidden; text-overflow: ellipsis; }
.spotgrid tr.off th, .spotgrid tr.off td { opacity: .5; }
.spotgrid .sgbox { width: 30px; height: 30px; border-radius: 6px; border: 2px solid currentColor; background: transparent; color: inherit; font-size: 16px; line-height: 1; cursor: pointer; opacity: .55; }
.spotgrid .sgbox.on { opacity: 1; background: var(--ember); border-color: var(--ember); color: #fff; }
.spotgrid .warnc { color: #f2a33c; }
.spotgrid tfoot td { white-space: normal; min-width: 58px; line-height: 1.2; }
.spotgrid td, .spotgrid thead th { padding: 4px 3px; }
