/* Radio station for listeners: the board, the show, the catalog: .oa*, .rd*, .radiox classes. */
/* The same graphite, signal green and music violet as the wave screen and
   the station card; the board is the frequency banner's flip cells and LED
   board, a little bigger. */

/* ---------- the board ---------- */
.oaboard { --bng: 159, 232, 112; position: relative; height: 72px; margin: 14px 0 12px; border-radius: 16px; overflow: hidden;
  border: 1.5px solid rgba(var(--bng), .5);
  background:
    radial-gradient(circle, rgba(255, 255, 255, .035) 0 30%, transparent 38%) 0 0 / 4px 4px,
    radial-gradient(120% 90% at 50% 0%, rgba(var(--bng), .09), transparent 70%),
    linear-gradient(#0c140d, #050906);
  box-shadow: 0 0 22px -8px rgba(var(--bng), .45), inset 0 0 26px -14px rgba(var(--bng), .5);
  transition: border-color .4s, box-shadow .4s; }
.oaboard[role=button] { cursor: pointer; }
/* An important line turns the board amber, an alarm red. */
.oaboard:has(> .vfticker[data-level=warn]:not([hidden])) { --bng: 255, 196, 77; }
.oaboard:has(> .vfticker[data-level=alarm]:not([hidden])) { --bng: 255, 90, 79; }
.oabhead { position: absolute; left: 12px; right: 12px; top: 6px; height: 14px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: .14em; color: rgba(var(--bng), .55); }
.oabname { display: inline-flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.oabdot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #26332a; }
.oaboard.air .oabdot { background: rgb(var(--bng)); box-shadow: 0 0 6px rgb(var(--bng)); animation: blink 1.4s infinite; }
.oabclock { flex: none; font-variant-numeric: tabular-nums; }
.oabclock i { font-style: normal; animation: oacolon 1s steps(1) infinite; }
@keyframes oacolon { 50% { opacity: .2; } }
/* The flip cells: the banner's, bigger. */
.oaboard > .vfticker.inline { position: absolute; left: 8px; right: 8px; top: 24px; bottom: 8px; height: auto; border-radius: 9px; background: rgba(3, 7, 4, .72); }
.oaboard .vfboard { gap: 2px; padding: 0 6px; }
.oaboard .vfboard .fl { width: 14px; height: 24px; border-radius: 3px; font-size: 16px;
  background: linear-gradient(#132015 50%, #0b150c 50%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.oaboard .vftxt, .oaboard .vfpline { font-size: 16px; }
.oaboard .vfcur { height: 16px; }
/* The studio's one line. */
.oaboard.compact { height: 40px; margin: 0; border-radius: 12px; }
.oaboard.compact > .vfticker.inline { left: 4px; right: 4px; top: 4px; bottom: 4px; border-radius: 8px; }
.oaboard.compact .vfboard .fl { width: 12px; height: 20px; font-size: 14px; }
/* The LED board over it: the wave's VIP now and then, the LED style, VIP
   announcements. The rest steps aside, as in the frequency banner. */
.oaboard > :not(.vipx) { transition: opacity .5s ease, transform .5s ease; }
.oaboard.vipon { border-color: var(--vipc, #ffcf5a); box-shadow: 0 0 28px -6px var(--vipc, #ffcf5a), inset 0 0 0 1px rgba(255, 255, 255, .04); }
.oaboard.vipon > :not(.vipx) { opacity: 0; transform: translateY(-10px) scale(.98); }
.oaled .viptag { display: none; }

/* ---------- the station's hero on the wave screen ---------- */
/* The name and the frequency are in the header; the hero has the logo, the
   tagline and the meta line (genre · access · calls · listeners). */
.oaname { display: flex; align-items: center; gap: 12px; }
.oaname > .grow { flex: 1; min-width: 0; }
.oalogo { flex: none; display: grid; }
.oalogo .rdlogo { border-radius: 12px; }
.oatag { color: var(--text); font-size: 14.5px; line-height: 1.35; margin: 0 0 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oahero .wdesc { margin-top: 8px; }
/* The presenters' way to the studio, in the header next to «⋯». */
.oastudio { height: 34px; padding: 0 12px 0 10px; margin-right: 2px; border-radius: 17px; flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--violet);
  background: linear-gradient(rgba(185, 162, 255, .12), rgba(185, 162, 255, .04)); border: 1px solid rgba(185, 162, 255, .38); box-shadow: 0 0 16px -8px rgba(185, 162, 255, .6); }
.oastudio:active { transform: var(--press); }

/* ---------- the show ---------- */
.oashow { margin: 0 0 12px; padding: 12px 14px; border-radius: 18px; background: var(--sheen), var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.oashow.now { border-color: rgba(159, 232, 112, .22); background: linear-gradient(180deg, #131b15, #101411); }
.oashow.live { border-color: rgba(159, 232, 112, .45); box-shadow: 0 0 34px -16px var(--accent-glow); }
.oashtop { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .1em; color: var(--text-3); }
.oashstate { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--text-3); }
.oashow:not(.now) .oashstate { color: var(--amber); }
.oashow.live .oashstate { color: var(--accent); }
.oashnow { display: flex; align-items: center; gap: 12px; padding: 10px 0 8px; }
.oashic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); color: var(--text-3); }
.oashow.now .oashic { background: var(--accent-dim); color: var(--accent); }
.oashtitle { font-weight: 650; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oashsub { font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oashtimes { flex: none; font-size: 12px; color: var(--text-2); }
/* How far the show is: pixel segments. */
.oashprog { height: 4px; overflow: hidden; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 3px, transparent 3px 4px); }
.oashprog i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--accent) 0 3px, transparent 3px 4px);
  filter: drop-shadow(0 0 4px var(--accent-glow)); transition: width .9s linear; }
.oashfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.oashnext { flex: 1; min-width: 0; font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* «Remind me» of the next show, and per airing in the programme. */
.oashremind:empty { display: none; }
.oashremind { flex: none; }
.oaslotremind { flex: none; }
.oaslotbell { flex: none; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--text-3); }
.oaprog { flex: none; }

/* ---------- the programme ---------- */
.oasched { display: flex; flex-direction: column; }
.oaday { font-size: 11px; letter-spacing: .1em; color: var(--text-3); padding: 16px 2px 6px; }
.oaday:first-child { padding-top: 2px; }
.oaslot { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; border: 1px solid transparent; }
.oaslot + .oaslot { margin-top: 2px; }
.oaslot > .grow, .rdsched > .grow { flex: 1; min-width: 0; }
.oaslottime { width: 94px; flex: none; font-size: 12.5px; color: var(--text-2); }
.oaslottitle { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oaslotsub { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oaslottag { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .08em; }
.oaslot.now { background: var(--accent-dim); border-color: rgba(159, 232, 112, .3); }
.oaslot.now .oaslottime, .oaslot.now .oaslottag { color: var(--accent); }
.oaslot.now.live { border-color: rgba(159, 232, 112, .55); box-shadow: 0 0 22px -10px var(--accent-glow); }
.oaslot.next { border-color: rgba(255, 207, 110, .3); background: rgba(255, 207, 110, .05); }
.oaslot.next .oaslottag { color: var(--amber); }
.oaschedtz { margin-top: 4px; }

/* ---------- logos ---------- */
/* A pixel logo sits on a tiny unlit LED board. */
.rdlogo { flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 10px;
  background: radial-gradient(circle, rgba(255, 255, 255, .07) 0 30%, transparent 38%) 0 0 / 4px 4px, #060908;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.rdlogo img { width: 100%; height: 100%; display: block; image-rendering: pixelated; image-rendering: crisp-edges; filter: drop-shadow(0 0 3px rgba(255, 255, 255, .2)); }
.rdlogo.none { color: var(--violet); background: rgba(185, 162, 255, .08); box-shadow: inset 0 0 0 1px rgba(185, 162, 255, .2); }

/* ---------- the strip in the waves list ---------- */
.rdsec { margin-top: 4px; }
.rdsec .wsechead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.rdsec .wsechead .wlink { margin-right: 2px; }
.rdstrip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity; scroll-padding: 0 16px; }
.rdstrip::-webkit-scrollbar { display: none; }
.rdtile { flex: none; width: 132px; min-height: 136px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  padding: 12px; border-radius: 16px; text-align: left; background: var(--surface); border: 1px solid var(--line); }
.rdtiletop { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; width: 100%; }
.rdtile > b { font-size: 14px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rdtile > small { margin-top: auto; font-size: 11px; letter-spacing: .04em; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.rdtile { background: var(--sheen), var(--surface); }
.rdtile.music { border-color: rgba(185, 162, 255, .3); background: linear-gradient(180deg, #16131c, #111014); }
.rdtile.live { border-color: rgba(159, 232, 112, .35); background: linear-gradient(180deg, #131b15, #101411); box-shadow: 0 0 22px -12px var(--accent-glow); }
.rdtile.make { align-items: center; justify-content: center; text-align: center; border-style: dashed; border-color: rgba(159, 232, 112, .35); background: rgba(159, 232, 112, .03); }
.rdtile.make > b { color: var(--accent); }
.rdtile.make > small { margin-top: 0; white-space: normal; }
.rdtile:active { transform: scale(.97); }
.rdplus { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--accent); border: 1px solid rgba(159, 232, 112, .35); background: rgba(159, 232, 112, .06); }
.rdtile.ghost { background: linear-gradient(90deg, var(--surface) 0, var(--surface-2) 50%, var(--surface) 100%) 0 0 / 200% 100%; animation: rdshimmer 1.4s linear infinite; }
@keyframes rdshimmer { to { background-position: -200% 0; } }
.rdears { display: inline-flex; align-items: center; gap: 4px; font: 12px var(--mono); color: var(--accent); white-space: nowrap; }
.rdbadge { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; letter-spacing: .08em; white-space: nowrap; }
.rdbadge.live { color: var(--accent); }
.rdbadge.music { color: var(--violet); }
.rdbadge .livedot { width: 6px; height: 6px; }
.tag.rdtag { background: rgba(185, 162, 255, .12); color: var(--violet); font-size: 10px; letter-spacing: .1em; }
.wmeta .tag.rdtag + * { margin-left: 6px; }

/* ---------- the catalog ---------- */
/* The catalog: the app's graphite, as the waves list it comes from. */
.radiox { background: #0b0e0c; }
.rdpills { margin-bottom: 2px; }
.rdlives { display: flex; flex-direction: column; gap: 10px; }
.rdlive { display: flex; gap: 12px; padding: 12px; border-radius: 18px; text-align: left; cursor: pointer;
  background: linear-gradient(180deg, #16131c, #111014); border: 1px solid rgba(185, 162, 255, .3); box-shadow: 0 0 30px -18px rgba(185, 162, 255, .6); }
.rdlive.live { background: linear-gradient(180deg, #131b15, #101411); border-color: rgba(159, 232, 112, .4); box-shadow: 0 0 30px -16px var(--accent-glow); }
.rdlivelogo .rdlogo { border-radius: 14px; }
.rdlive > .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rdlivehead { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rdlivehead b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rdfreq { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rdliveline { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 13px; color: var(--text-2); }
.rdliveline span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rdliveline.show .icon { color: var(--accent); flex: none; }
.rdliveline.music { color: var(--violet); }
.rdlivefoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.btn.rdlisten { height: 34px; border-radius: 17px; padding: 0 14px 0 10px; }
.rdrow { min-height: 72px; }
.rdrow .wtile.rdtilelogo { padding: 0; overflow: hidden; border-color: transparent; background: none; }
.rdrow .meta { justify-content: center; }
.rdrow > .icon { color: var(--text-3); flex: none; }
.rdempty { padding: 24px 12px; }
.rdscheds { display: flex; flex-direction: column; }
.rdsched { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.rdsched:last-child { border-bottom: 0; }
.rdschedtime { width: 94px; flex: none; font-size: 12.5px; color: var(--text-2); }
.rdschedtitle { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rdschedsub { font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rdschedtag { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .08em; color: var(--accent); }
.rdsched.now { padding: 10px; border-radius: 12px; border-bottom-color: transparent; background: var(--accent-dim); }
.rdsched.now .rdschedtime { color: var(--accent); }
/* Past midnight: a divider, as the days in the chat. */
.rdschedday { display: flex; align-items: center; gap: 10px; padding: 10px 0 4px; font-size: 11px; letter-spacing: .1em; color: var(--text-3); }
.rdschedday::before, .rdschedday::after { content: ""; flex: 1; border-top: 1px dashed var(--line); }
.btn.rdmake { margin: 22px 0 8px; border-style: dashed; color: var(--accent); border-color: rgba(159, 232, 112, .35); background: rgba(159, 232, 112, .04); }
.sheet .btn.rdmake .icon, .radiox .btn.rdmake .icon { color: inherit; }

/* ---------- the wizard and the profile ---------- */
.rdwiz { gap: 14px; }
.rdlogoed { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); }
.rdlogorow { display: flex; align-items: center; gap: 14px; }
.rdlogoprev { width: 76px; height: 76px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 16px;
  background: radial-gradient(circle, rgba(255, 255, 255, .075) 0 30%, transparent 37%) 0 0 / 4.75px 4.75px, radial-gradient(130% 160% at 50% 50%, #0b100c, #030504 70%);
  border: 1.5px solid rgba(159, 232, 112, .5); box-shadow: 0 0 20px -6px var(--accent-glow); }
.rdlogoprev img { width: 64px; height: 64px; image-rendering: pixelated; image-rendering: crisp-edges; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .28)); }
.rdlogoempty { color: var(--text-3); }
.rdlogoside { gap: 8px; }
.rdlogoside .bnlabel { margin-bottom: 0; }
.rdlogoside .btn.small { padding: 0 10px; }
.rdpixset { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.rdpix { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: rgba(159, 232, 112, .035); border: 1px solid rgba(159, 232, 112, .1); transition: transform .1s; }
.rdpix img { width: 24px; height: 24px; image-rendering: pixelated; image-rendering: crisp-edges; }
.rdpix.on { border-color: var(--accent); background: var(--accent-dim); box-shadow: 0 0 12px -4px var(--accent-glow); }
.rdpix:active { transform: scale(.92); }
.rdlogoside .btn.on { border-color: var(--accent); color: var(--accent); }
.rdpad { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rdflabel { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.rdcount { font-size: 11px; color: var(--text-3); }
.rdgenres { display: flex; flex-wrap: wrap; gap: 6px; }
.seg.rdseg { margin-bottom: 0; }
.rdnote { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; color: var(--text-2);
  background: rgba(255, 207, 110, .05); border: 1px solid rgba(255, 207, 110, .22); }
.rdnote .icon { color: var(--amber); margin-top: 1px; flex: none; }
.rdfixed { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.rdfixedname { font-size: 17px; font-weight: 650; }
.rdfixed .hint { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.rdlisted .section-title:empty { display: none; }
.btn.rdgo { margin-top: 2px; }

/* ---------- the «Wave music» sheet: a playlist that did not come, and «Try again» ---------- */
.empty.sterr { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 12px; }

@media (prefers-reduced-motion: reduce) {
  .oaboard > :not(.vipx), .oashprog i { transition: none; }
  .oabclock i, .oaboard.air .oabdot, .rdtile.ghost { animation: none; }
}
/* Energy saving (app.css) stills the same, but for the loading tiles: they
   show the list is on its way. The transitions stay. */
:where(:root.eco) .oabclock i, :where(:root.eco) .oaboard.air .oabdot { animation: none; }

/* A listener's request and the log of the air (requests.js). */
.rqin { width: 100%; resize: vertical; min-height: 84px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; font-size: 15px; box-sizing: border-box; }
.rqfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rqcount { font-size: 11px; color: var(--text-3); flex: none; }
.rqrow .title { white-space: normal; overflow-wrap: anywhere; }
.rqrow[data-state=queued] .sub, .rqrow[data-state=done] .sub { color: var(--accent); }
.aolrow { gap: 12px; }
.aoltime, .aoldur { flex: none; font-size: 12px; color: var(--text-3); }
.aolrow.now .aoldur { color: var(--accent); letter-spacing: .06em; }
.aolrow.now .title { color: var(--accent); }
.strqbtns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
