/* LARABE front page: a modern broadcast control room going on air in Lebanese.
   Matte black, warm white type, and one signal colour: on-air red, reserved for
   lit LED segments, the tally lamp and the word being spoken.                */

:root {
  --ground: #0b0b0c;
  --panel: #121214;
  --panel-2: #17171a;
  --rule: #26262b;
  --rule-strong: #3a3a40;
  --ghost: #1f1f23;
  --text: #f2efe9;
  --text-2: #a8a49c;
  --text-3: #8f8b84;
  --pending: #858179;
  --led: #ff3b30;
  --led-text: #ff5a4f;
  --led-dim: #4a1512;
  --glow: 0 0 6px rgba(255, 59, 48, .55);

  --f-lat: 'Schibsted Grotesk', system-ui, sans-serif;
  --f-ar: 'Alexandria', 'Geeza Pro', 'Noto Sans Arabic', sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

/* ── base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 16px/1.6 var(--f-lat);
  overflow-x: hidden; -webkit-font-smoothing: antialiased; scrollbar-color: var(--rule-strong) var(--ground); }
:lang(ar) { font-family: var(--f-ar); }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--led); color: #fff; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--rule-strong); border: 3px solid var(--ground); border-radius: 8px; }
.defs { position: absolute; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--text); color: var(--ground);
  padding: 10px 14px; font-weight: 600; text-decoration: none; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ── seven-segment cells (drawn by air.js) ───────────────────── */
.seg { display: inline-flex; align-items: flex-end; gap: .08em; line-height: 1; vertical-align: middle; }
.seg svg { height: 1em; width: auto; display: block; overflow: visible; }
.seg .s { fill: var(--ghost); transition: fill .08s linear; }
.seg .s.on { fill: var(--led); filter: drop-shadow(0 0 3px rgba(255, 59, 48, .6)); }
.seg .colon { fill: var(--led); filter: drop-shadow(0 0 3px rgba(255, 59, 48, .6)); }
.seg-xl { font-size: clamp(46px, 5.4vw, 78px); }
.seg-sm { font-size: 17px; gap: 2px; }
.seg-md { font-size: 26px; gap: 3px; }

/* ── hardware keys ────────────────────────────────────────────── */
.hw { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 18px;
  border: 1px solid var(--rule-strong); border-radius: 8px; background: linear-gradient(#1c1c20, #141417);
  color: var(--text); font: 600 15px/1 var(--f-lat); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 2px 6px -2px rgba(0,0,0,.7);
  transition: border-color .18s var(--ease-out), background .18s var(--ease-out), color .18s; }
.hw:hover { border-color: #55555c; background: linear-gradient(#222227, #18181b); }
.hw:active { background: #111113; box-shadow: inset 0 2px 4px rgba(0,0,0,.6); }
.hw:disabled { opacity: .55; cursor: progress; }
.hw svg { width: 18px; height: 18px; flex: none; }
.hw-lit { border-color: var(--led); color: var(--text); background: linear-gradient(#2a1110, #1b0c0b);
  box-shadow: inset 0 1px 0 rgba(255,140,130,.12), 0 0 0 1px rgba(255,59,48,.18), 0 4px 18px -8px rgba(255,59,48,.55); }
.hw-lit:hover { border-color: #ff6a60; background: linear-gradient(#361412, #220e0c); }
.hw-lg { min-height: 54px; padding: 0 24px; font-size: 16px; }
.hw-icon { width: 52px; padding: 0; }
.hw-play { width: 72px; min-height: 56px; padding: 0; border-color: var(--led); background: linear-gradient(#2a1110, #1b0c0b); }
.hw-play svg { width: 24px; height: 24px; color: var(--led); }
.hw-play[aria-pressed="true"] { background: var(--led); }
.hw-play[aria-pressed="true"] svg { color: #fff; }
.hw-src { min-height: 56px; flex-direction: column; align-items: flex-start; gap: 4px; padding: 0 16px; font-size: 15px; }
.src-n { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--text-3); }
.hw-src[aria-checked="true"] { border-color: var(--led); }
.hw-src[aria-checked="true"] .src-n { color: var(--led-text); }
.textlink { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; color: var(--text-2); }
.textlink:hover { color: var(--text); }

/* ── header bar ───────────────────────────────────────────────── */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 22px; padding: 12px var(--gutter);
  background: rgba(11, 11, 12, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand-mark { width: 30px; height: 26px; color: var(--text); }
.brand-lat { font: 800 19px/1 var(--f-lat); letter-spacing: .16em; }
.brand-ar { font: 500 18px/1 var(--f-ar); color: var(--text-2); }
.tally { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border: 1px solid var(--rule-strong);
  border-radius: 5px; font: 700 11px/1 var(--f-lat); letter-spacing: .2em; text-transform: uppercase; color: var(--pending);
  transition: color .2s, border-color .2s, background .2s; }
.tally i { width: 7px; height: 7px; border-radius: 50%; background: var(--led-dim); transition: background .2s, box-shadow .2s; }
.tally.live { color: #fff; border-color: var(--led); background: rgba(255, 59, 48, .14); }
.tally.live i { background: var(--led); box-shadow: var(--glow); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a:not(.hw) { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; font-weight: 500;
  font-size: 15px; text-decoration: none; color: var(--text-2); border-radius: 6px; white-space: nowrap; }
.nav > a:not(.hw):hover { color: var(--text); }
.nav > a [lang="ar"] { font-size: 15px; color: inherit; }
.nav .hw { margin-left: 8px; }

/* ── on air ───────────────────────────────────────────────────── */
.air { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 28px clamp(28px, 4vw, 72px);
  padding: clamp(40px, 6vh, 76px) var(--gutter) 0; min-height: calc(100svh - 69px); grid-template-rows: minmax(0, 1fr) auto;
  background: radial-gradient(120% 80% at 82% 18%, #16161a 0%, var(--ground) 58%); border-bottom: 1px solid var(--rule); }
.air-copy { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-bottom: 12px; }
.title { display: grid; gap: clamp(16px, 2vw, 30px); }
.title-ar { font: 700 clamp(40px, 5.4vw, 88px)/1.25 var(--f-ar); letter-spacing: 0; text-wrap: balance; }
.title-en { font: 700 clamp(34px, 4.4vw, 72px)/1.04 var(--f-lat); letter-spacing: -.028em; color: var(--text); text-wrap: balance; max-width: 15em; }
.lede { display: grid; gap: 8px; font-size: clamp(16px, 1.25vw, 18px); color: var(--text-2); }
.lede p:not([lang]) { max-width: 52ch; }
.lede [lang="ar"] { font-size: clamp(17px, 1.4vw, 20px); color: var(--text); line-height: 1.7; }
.air-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

.console { display: grid; justify-items: center; align-content: center; gap: 22px; }
.clock { position: relative; width: min(100%, 470px); aspect-ratio: 1; }
.clock-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.clock-ring .d { fill: var(--ghost); transition: fill .1s linear; }
.clock-ring .d.on { fill: var(--led); filter: drop-shadow(0 0 2.5px rgba(255, 59, 48, .8)); }
.clock-ring .h { fill: #8a8780; }
.clock-ring .bezel { fill: none; stroke: var(--rule); stroke-width: 1; }
.clock-face { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; }
.readout { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.readout b { font-weight: 600; color: var(--text); min-width: 9ch; }
.ro-k { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); width: 44px; }
.transport { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.sources { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* prompter band */
.prompter { grid-column: 1 / -1; margin: 6px calc(var(--gutter) * -1) 0; padding: 22px var(--gutter) 26px;
  border-top: 1px solid var(--rule); background: #0e0e10; display: grid; gap: 8px; min-height: 150px; }
.pr-k { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; font-size: 11px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-3); }
.pr-k span { letter-spacing: .02em; text-transform: none; font-weight: 500; font-size: 13px; }
.pr-ar { font: 500 clamp(26px, 2.8vw, 40px)/1.5 var(--f-ar); display: flex; flex-wrap: wrap; gap: 0 .3em; }
.pr-en { font-size: clamp(15px, 1.2vw, 17px); display: flex; flex-wrap: wrap; gap: 0 .3em; max-width: 72ch; }
.pr-ar .w { color: var(--pending); transition: color .16s var(--ease-out); }
.pr-en .w { color: var(--text-3); transition: color .16s var(--ease-out); }
.pr-ar .w.said, .pr-en .w.said { color: var(--text); }
.pr-ar .w.now, .pr-en .w.now { color: var(--led-text); }

/* ── sections ─────────────────────────────────────────────────── */
.sec { padding: clamp(64px, 9vw, 128px) var(--gutter); border-bottom: 1px solid var(--rule); display: grid; gap: clamp(30px, 4vw, 52px); }
.sec-head { display: grid; gap: 14px 64px; align-items: end; }
@media (min-width: 960px) { .sec-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.sec-head h2 { display: grid; gap: 6px; font: 700 clamp(30px, 3.6vw, 54px)/1.08 var(--f-lat); letter-spacing: -.025em; text-wrap: balance; }
.sec-head h2 [lang="ar"] { font: 700 clamp(26px, 3vw, 44px)/1.4 var(--f-ar); letter-spacing: 0; color: var(--text); justify-self: start; }
.sec-head p { color: var(--text-2); max-width: 56ch; }
.sec-head p[lang="ar"] { font-size: 17px; line-height: 1.75; color: var(--text); }

/* voices: channel strips */
.desk { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: 12px;
  background: var(--panel); overflow: hidden; }
.strip { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 18px 14px 16px; border-right: 1px solid var(--rule);
  min-height: 380px; position: relative; }
.strip:last-child { border-right: 0; }
.strip.live { background: linear-gradient(180deg, #1d0f0e 0%, var(--panel) 70%); }
.strip-name { display: grid; gap: 2px; }
.strip-name b { font: 700 19px/1.15 var(--f-lat); letter-spacing: -.01em; }
.strip-name [lang="ar"] { font: 600 18px/1.3 var(--f-ar); color: var(--text); }
.strip-c { font-size: 13px; color: var(--text-3); line-height: 1.4; }
.meter { display: flex; flex-direction: column-reverse; gap: 3px; justify-self: center; width: 22px; align-self: end; padding: 4px 0; }
.meter i { display: block; height: 7px; border-radius: 1.5px; background: var(--ghost); transition: background .06s linear; }
.meter i.on { background: var(--text-2); }
.meter i.on.hot { background: var(--led); box-shadow: 0 0 4px rgba(255,59,48,.6); }
.strip .hw { min-height: 44px; width: 100%; padding: 0 10px; font-size: 14px; }
.strip .hw[aria-pressed="true"] { border-color: var(--led); }
.strip-none { font-size: 12.5px; color: var(--text-3); text-align: center; min-height: 44px; display: grid; place-items: center;
  border: 1px dashed var(--rule-strong); border-radius: 8px; }

/* styles: the running order */
.rundown { border-top: 1px solid var(--rule-strong); }
.rd-row { display: grid; grid-template-columns: 70px minmax(0, 1.3fr) minmax(0, 1fr) 210px; gap: 18px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--rule); }
.rd-head { padding: 12px 0; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.rd-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.rd-name b { font: 600 clamp(19px, 1.7vw, 24px)/1.25 var(--f-lat); letter-spacing: -.01em; }
.rd-name [lang="ar"] { font: 600 18px/1.4 var(--f-ar); color: var(--text); }
.rd-use { color: var(--text-2); font-size: 15px; }
.rd-reg { justify-self: start; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid var(--rule-strong); border-radius: 5px; color: var(--text-2); }
.rd-reg.msa { border-color: var(--led); color: var(--text); }
.rd-row:not(.rd-head):hover { background: linear-gradient(90deg, transparent, #141416 12%, #141416 88%, transparent); }

/* signal chain */
.chain { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.node { position: relative; display: grid; gap: 12px; align-content: start; padding: 22px 20px 24px; background: var(--panel);
  border-right: 1px solid var(--rule); }
.node:last-child { border-right: 0; }
.node:not(:last-child)::after { content: ""; position: absolute; right: -6px; top: 30px; width: 10px; height: 10px; z-index: 1;
  border-top: 1px solid var(--rule-strong); border-right: 1px solid var(--rule-strong); background: var(--panel); transform: rotate(45deg); }
.node-k { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.node-out .node-k { color: var(--led-text); }
.node-ar { font: 500 clamp(19px, 1.6vw, 23px)/1.7 var(--f-ar); }
.node-ar mark { background: none; color: var(--text); border-bottom: 1px solid var(--rule-strong); }
.node:first-child .node-ar mark { color: var(--text-2); }
.node-out .node-ar mark { color: var(--led-text); border-bottom-color: var(--led); }
.node-d { font-size: 14.5px; color: var(--text-2); }
.node-d [lang="ar"] { color: var(--text); white-space: nowrap; }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.spec > div { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--rule-strong); }
.spec dt { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.spec dd { font-size: 16px; }

/* booking */
.book { border-bottom: 0; }
@media (min-width: 1000px) { .book { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
  .book .sec-head { grid-template-columns: minmax(0, 1fr); align-items: start; } }
.form { display: grid; gap: 22px; padding: clamp(20px, 3vw, 34px); background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; }
.form-grid { display: grid; gap: 16px 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field > span { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.field > span i { color: var(--led-text); font-style: normal; }
.field > span b, .spec dt [lang="ar"] { font: 600 13px/1 var(--f-ar); letter-spacing: 0; text-transform: none; color: var(--text); margin-inline-start: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--rule-strong);
  border-radius: 8px; background: #0d0d0f; font-size: 16px; caret-color: var(--led); -webkit-appearance: none; appearance: none;
  transition: border-color .15s, box-shadow .15s; }
.field select { cursor: pointer; padding-right: 36px;
  background: #0d0d0f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a8a49c' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat; }
.field textarea { resize: vertical; min-height: 104px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #55555c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--led); box-shadow: 0 0 0 3px rgba(255,59,48,.18); }
.form .hw { justify-self: start; }
.notice { padding: 12px 14px; border-radius: 8px; font-weight: 500; border: 1px solid; }
.notice-ok { border-color: #3a5a3f; background: #0f1a11; color: #cfe8d2; }
.notice-err { border-color: var(--led); background: #1d0d0c; color: #ffd6d2; }
.spinner { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* footer + toast */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 26px var(--gutter) 34px;
  border-top: 1px solid var(--rule); font-size: 14px; color: var(--text-2); }
.foot a { margin-left: auto; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; color: var(--text); }
.brand-foot .brand-lat { font-size: 15px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; z-index: 60;
  background: var(--panel-2); border: 1px solid var(--rule-strong); color: var(--text); padding: 12px 18px; border-radius: 8px;
  font-weight: 500; box-shadow: 0 12px 30px -10px rgba(0,0,0,.8); transition: transform .3s var(--ease-out), visibility 0s .3s;
  max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .3s var(--ease-out); }
.toast.err { border-color: var(--led); }

/* ── responsive ───────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .desk { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .strip:nth-child(4) { border-right: 0; }
  .strip:nth-child(-n+4) { border-bottom: 1px solid var(--rule); }
  .chain { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .node { border-bottom: 1px solid var(--rule); }
  .node:nth-child(2n) { border-right: 0; }
  .node-out { grid-column: 1 / -1; border-bottom: 0; }
  .node:not(:last-child)::after { display: none; }
}
@media (max-width: 960px) {
  .air { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .clock { width: min(100%, 400px); }
  .nav > a:not(.hw):not(.nav-signin) { display: none; }
  .rd-row { grid-template-columns: 54px minmax(0, 1fr) auto; }
  .rd-use { grid-column: 2 / 3; grid-row: 2; font-size: 14px; }
  .rd-regcell { grid-row: 1 / 3; grid-column: 3; align-self: center; flex-direction: column; align-items: flex-end; }
  .rd-head span:nth-child(3) { display: none; }
}
@media (max-width: 640px) {
  .bar { gap: 10px; padding: 10px var(--gutter); }
  .brand-ar, .tally { display: none; }
  .brand-lat { font-size: 16px; letter-spacing: .12em; }
  .nav .hw { padding: 0 12px; font-size: 14px; margin-left: 2px; }
  .nav > a.nav-signin { padding: 0 8px; font-size: 14px; }
  .desk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { min-height: 300px; border-bottom: 1px solid var(--rule); }
  .strip:nth-child(2n) { border-right: 0; }
  .strip:nth-child(4) { border-right: 0; }
  .strip:nth-child(4n+3) { border-right: 1px solid var(--rule); }
  .strip:nth-last-child(-n+2) { border-bottom: 0; }
  .chain { grid-template-columns: minmax(0, 1fr); }
  .node { border-right: 0; }
  .spec { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hw-src { flex: 1 1 calc(33% - 8px); padding: 0 10px; }
  .sources { width: 100%; }
  .foot a { margin-left: 0; }
}
@media (max-width: 380px) { .nav-signin { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ══ Review round 1 ══════════════════════════════════════════════════════ */
/* Primary actions are warm white. Red means one thing only: on air. */
.hw-primary { background: var(--text); color: var(--ground); border-color: var(--text);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), 0 6px 18px -10px rgba(242,239,233,.45); }
.hw-primary:hover { background: #fff; border-color: #fff; }
.hw-primary [lang="ar"] { font-family: var(--f-ar); font-weight: 600; }

/* Lit keys bloom across the whole frame, like a backlit hardware key. */
.hw-play[aria-pressed="true"], .hw-src[aria-checked="true"], .strip .hw[aria-pressed="true"] {
  border-color: var(--led); background: radial-gradient(120% 140% at 50% 50%, #3a1210 0%, #1d0b0a 70%);
  box-shadow: inset 0 0 16px rgba(255, 59, 48, .38), 0 0 0 1px rgba(255, 59, 48, .25), 0 0 14px -4px rgba(255, 59, 48, .55); }
.hw-play[aria-pressed="true"] { background: radial-gradient(120% 140% at 50% 50%, #ff4a3d 0%, #d92a20 80%); }

/* Recessed display windows: darker inset, hairline bezel, ghost-cell field. */
.win { display: grid; justify-items: center; gap: 10px; padding: 18px 22px 16px; border-radius: 10px; background: #060607;
  border: 1px solid #2c2c31; box-shadow: inset 0 2px 10px rgba(0,0,0,.9), inset 0 0 0 1px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.04); }
.win-sm { display: inline-flex; justify-self: start; padding: 7px 9px 6px; border-radius: 6px; background: #060607;
  border: 1px solid #2c2c31; box-shadow: inset 0 2px 6px rgba(0,0,0,.9); }

/* The running order cues the style on the deck; ON AIR while it plays. */
.rd-regcell { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cue { display: none; font: 700 10.5px/1 var(--f-lat); letter-spacing: .18em; padding: 6px 8px; border: 1px solid var(--rule-strong);
  border-radius: 4px; color: var(--text-2); text-transform: uppercase; }
.rd-row.cued .cue { display: inline-block; }
.rd-row.cued .cue::before { content: "Cued"; }
.rd-row.cued.live { background: linear-gradient(90deg, rgba(255,59,48,.10), transparent 70%); }
.rd-row.cued.live .cue { border-color: var(--led); color: #fff; background: rgba(255,59,48,.18); }
.rd-row.cued.live .cue::before { content: "On air"; }
.spec dd [lang="ar"] { display: block; margin-top: 4px; color: var(--text); font-size: 16px; line-height: 1.6; }
.node-live { display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 50%; background: var(--led-dim); vertical-align: 1px; }
.chain.live .node-live { background: var(--led); box-shadow: var(--glow); }
.chain.live .node-out { background: linear-gradient(180deg, #1d0f0e, var(--panel) 80%); }

@media (max-width: 960px) {
  .air { grid-template-rows: none; }
}
@media (max-width: 640px) {
  .tally { display: inline-flex; padding: 5px 8px; font-size: 10px; letter-spacing: .14em; }
  .air { gap: 22px; padding-top: 28px; }
  .air-copy { display: contents; }
  .title { order: 1; }
  .console { order: 2; gap: 16px; }
  .lede { order: 3; }
  .air-actions { order: 4; }
  .prompter { order: 5; }
  .clock { width: min(100%, 290px); }
  .seg-xl { font-size: 40px; }
  .win { padding: 12px 14px 10px; gap: 6px; }
  .readout { font-size: 13px; }
  .title-ar { font-size: 38px; }
  .title-en { font-size: 30px; }
  .hw-src { min-height: 50px; }
}
/* Portrait screens: no full-height hero, so the prompter follows the console instead of leaving a void. */
@media (max-aspect-ratio: 1/1) { .air { min-height: 0; } }
@media (max-width: 640px) {
  .tally { white-space: nowrap; }
  .brand-lat { letter-spacing: .08em; }
  .nav .hw { padding: 0 12px; font-size: 13.5px; min-height: 44px; }
}
@media (max-width: 480px) { .nav > a.nav-signin { display: none; } }
