/* NEBU Studio. Brand tokens mirror ../styles.css. Dark, dense, tactile. */
:root {
  --night: #0B001A;
  --night-2: #120226;
  --night-3: #1A0936;
  --panel: #150A26;
  --paper: #F7F5F2;
  --violet: #9D00FF;
  --cyan: #00E5FF;
  --lime: #B7FF2A;
  --yellow: #FFD100;
  --ink: #121212;
  --muted: #B9B0CC;
  --dim: #7E7492;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --top: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body.st {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(157, 0, 255, .22), transparent 60%),
    radial-gradient(900px 600px at 110% 110%, rgba(0, 229, 255, .08), transparent 60%),
    var(--night);
  color: var(--paper);
  font: 14px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
img, svg, canvas, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { stroke: currentColor; }
.mono { font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--lime); color: var(--night); }

/* ---------- Top bar ---------- */
.st-top {
  position: sticky; top: 0; z-index: 30;
  height: var(--top);
  display: flex; align-items: center; gap: 14px;
  padding: 0 clamp(14px, 2vw, 24px);
  background: rgba(11, 0, 26, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.st-logo img { width: 104px; height: auto; }
.st-tag { font-size: 10px; color: var(--lime); border: 1px solid rgba(183, 255, 42, .4); padding: 3px 8px; border-radius: 999px; }
.st-top-status { flex: 1; display: flex; justify-content: center; min-width: 0; }
.st-top-actions { display: flex; gap: 10px; align-items: center; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.pill[data-state="connecting"] i { background: var(--yellow); animation: blink 1s steps(2) infinite; }
.pill[data-state="on"] { color: var(--paper); border-color: rgba(183, 255, 42, .5); }
.pill[data-state="on"] i { background: var(--lime); box-shadow: 0 0 0 4px rgba(183, 255, 42, .18); }
.pill[data-state="error"] i { background: #FF5C8A; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--paper); --bd: var(--line-2); --sh: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 18px;
  border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 800; font-size: 13.5px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 0 var(--sh);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s, opacity .18s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 0 var(--sh); border-color: var(--paper); }
.btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--sh); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-yellow { --bg: var(--yellow); --fg: var(--ink); --bd: var(--ink); --sh: #000; }
.btn-yellow:hover:not(:disabled) { border-color: var(--ink); }
.btn-ghost { --bd: var(--line-2); }
.btn-line { --bd: var(--line-2); --bg: rgba(255, 255, 255, .03); }
.btn-block { width: 100%; }
.btn-mini { min-height: 36px; padding: 7px 13px; font-size: 12.5px; --bd: var(--line-2); }
.btn-quiet { --bd: transparent; color: var(--muted); }
.btn-rec { --bd: var(--line-2); gap: 10px; padding-inline: 16px 18px; }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: #FF3B6B; box-shadow: 0 0 0 3px rgba(255, 59, 107, .2); }
.rec-time { display: none; font-size: 12px; letter-spacing: .06em; }
.btn-rec[aria-pressed="true"] { --bg: #FF3B6B; --bd: var(--ink); --fg: var(--ink); --sh: #000; }
.btn-rec[aria-pressed="true"] .rec-dot { background: var(--ink); border-radius: 3px; box-shadow: none; }
.btn-rec[aria-pressed="true"] .rec-time { display: inline; }

/* ---------- Layout ---------- */
.st-main {
  display: grid;
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr) minmax(300px, 350px);
  gap: 16px;
  padding: 16px clamp(14px, 2vw, 24px) 24px;
  min-height: calc(100vh - var(--top));
  align-items: start;
}
.st-side { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1181px) {
  .st-side { position: sticky; top: calc(var(--top) + 16px); max-height: calc(100vh - var(--top) - 32px); overflow: auto; scrollbar-width: thin; border-radius: 20px; }
}
.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)), var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
}
.panel-h { font-size: 10.5px; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 500; }
.panel-h::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- Sources ---------- */
.st-sources { position: sticky; top: calc(var(--top) + 16px); max-height: calc(100vh - var(--top) - 32px); overflow: auto; scrollbar-width: thin; }
.src { padding: 12px 0 14px; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.src:first-of-type { border-top: 0; padding-top: 2px; }
.src-row { display: flex; align-items: center; gap: 10px; }
.src-ico { width: 20px; height: 20px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); }
.src-name { font-weight: 800; flex: 1; }
.src-state { font-size: 10px; color: var(--dim); }
.src-state.is-on { color: var(--lime); }
.src-note { font-size: 12px; color: var(--dim); line-height: 1.5; }
.src-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.src.is-live .src-ico { color: var(--lime); }

.field { display: grid; gap: 6px; }
.field-label { font-size: 10px; color: var(--dim); }
select, input[type="text"], input[type="number"], input[type="datetime-local"] {
  width: 100%; min-height: 40px; padding: 8px 12px;
  background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2); border-radius: 12px;
  color: var(--paper); color-scheme: dark;
}
select:disabled { opacity: .5; }
input::placeholder { color: var(--dim); }
.check { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); cursor: pointer; min-height: 32px; }
.check input { accent-color: var(--lime); width: 16px; height: 16px; }
.file-btn { position: relative; cursor: pointer; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-btn:focus-within { outline: 3px solid var(--cyan); outline-offset: 3px; }

.switch { width: 46px; height: 26px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .4); position: relative; padding: 0; flex: none; transition: background .2s, border-color .2s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--muted); transition: transform .25s var(--ease), background .2s; }
.switch[aria-checked="true"] { background: var(--lime); border-color: var(--ink); }
.switch[aria-checked="true"] i { transform: translateX(20px); background: var(--ink); }
.switch:disabled { opacity: .4; }

/* ---------- Stage ---------- */
.st-center { display: grid; gap: 16px; min-width: 0; align-content: start; }
.st-stage { display: grid; gap: 14px; min-width: 0; }
.stage-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; font-size: 10px; color: var(--dim); padding: 2px 4px; }
.stage-meta b { font-weight: 500; margin-right: 6px; }
.stage-meta em { font-style: normal; color: var(--paper); letter-spacing: .08em; }
.st-center .takes { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.program-wrap { position: relative; }
.program-wrap::before {
  content: ""; position: absolute; inset: -2px; border-radius: 22px;
  background: conic-gradient(from var(--spin, 0deg), var(--violet), var(--cyan), var(--lime), var(--violet));
  filter: blur(22px); opacity: .28; z-index: 0;
  animation: spin 14s linear infinite;
}
.program {
  position: relative; z-index: 1;
  aspect-ratio: 16 / 9; width: 100%;
  border-radius: 18px; overflow: hidden;
  background: #05000D; border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
}
.program canvas { width: 100%; height: 100%; }
.program-tag, .program-res {
  position: absolute; top: 12px; font-size: 10px; padding: 5px 9px; border-radius: 999px;
  background: rgba(11, 0, 26, .7); border: 1px solid var(--line-2); backdrop-filter: blur(6px);
}
.program-tag { left: 12px; display: inline-flex; gap: 7px; align-items: center; }
.program-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.program-res { right: 12px; color: var(--muted); }
.program.is-recording { border-color: #FF3B6B; box-shadow: 0 0 0 3px rgba(255, 59, 107, .35), 0 30px 80px -30px #000; }
.program.is-recording .program-tag { background: #FF3B6B; color: var(--ink); border-color: var(--ink); font-weight: 700; }
.program.is-recording .program-tag i { background: var(--ink); animation: blink 1s steps(2) infinite; }

.layouts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.layout {
  position: relative; display: grid; justify-items: center; gap: 8px;
  padding: 12px 8px 10px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--panel);
  font-weight: 800; font-size: 12.5px;
  transition: transform .2s var(--ease), border-color .2s, background .2s, box-shadow .2s;
}
.layout:hover { transform: translateY(-2px); border-color: var(--line-2); }
.layout[aria-checked="true"] { background: var(--yellow); color: var(--ink); border-color: var(--ink); box-shadow: 0 4px 0 #000; }
.layout kbd { position: absolute; top: 7px; right: 9px; font: 500 9.5px var(--mono); opacity: .55; }
.layout:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.lay-ico { width: 46px; height: 28px; border-radius: 5px; border: 2px solid currentColor; position: relative; opacity: .9; }
.lay-cam::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: currentColor; transform: translate(-50%, -60%); box-shadow: 0 9px 0 -2px currentColor; }
.lay-screen::after { content: ""; position: absolute; inset: 4px 5px; border-radius: 2px; background: currentColor; opacity: .55; }
.lay-pip::before { content: ""; position: absolute; inset: 3px 4px; border-radius: 2px; background: currentColor; opacity: .35; }
.lay-pip::after { content: ""; position: absolute; right: 3px; bottom: 3px; width: 14px; height: 9px; border-radius: 2px; background: currentColor; }
.lay-split::before, .lay-split::after { content: ""; position: absolute; top: 6px; bottom: 6px; width: 16px; border-radius: 2px; background: currentColor; opacity: .6; }
.lay-split::before { left: 4px; } .lay-split::after { right: 4px; }
.lay-room { background: linear-gradient(currentColor, currentColor) 4px 4px / 16px 8px no-repeat, linear-gradient(currentColor, currentColor) right 4px top 4px / 16px 8px no-repeat, linear-gradient(currentColor, currentColor) 4px bottom 4px / 16px 8px no-repeat, linear-gradient(currentColor, currentColor) right 4px bottom 4px / 16px 8px no-repeat; }
.stage-note { min-height: 20px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- Mixer ---------- */
.strips { display: grid; gap: 10px; }
.strip {
  display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 6px 10px; align-items: center;
  padding: 10px 12px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line);
}
.strip.is-idle { opacity: .55; }
.strip-name { font-weight: 800; font-size: 12.5px; grid-row: 1 / 3; line-height: 1.2; }
.strip-name small { display: block; font: 500 9.5px var(--mono); letter-spacing: .1em; color: var(--dim); text-transform: uppercase; margin-top: 3px; }
.strip.is-master { border-color: rgba(255, 209, 0, .35); }
.meter { position: relative; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.meter-fill { position: absolute; inset: 0; transform-origin: left center; transform: scaleX(var(--lvl, 0)); background: linear-gradient(90deg, var(--lime) 0 62%, var(--yellow) 62% 86%, #FF3B6B 86%); background-size: calc(100% / max(var(--lvl, .001), .001)) 100%; }
.meter-peak { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--paper); left: calc(var(--pk, 0) * 100%); opacity: .85; }
.meter-ticks { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(11, 0, 26, .7) calc(10% - 1px) 10%); pointer-events: none; }
.strip-btns { display: flex; gap: 6px; grid-row: 1 / 3; grid-column: 3; }
.tog { min-width: 44px; min-height: 36px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; font: 700 10.5px var(--mono); letter-spacing: .08em; color: var(--muted); }
.tog[aria-pressed="true"].tog-mute { background: #FF3B6B; color: var(--ink); border-color: var(--ink); }
.tog[aria-pressed="true"].tog-hear { background: var(--cyan); color: var(--ink); border-color: var(--ink); }
.fader-row { display: flex; align-items: center; gap: 8px; }
.fader { flex: 1; min-width: 0; accent-color: var(--yellow); height: 22px; }
.fader-val { font: 500 10.5px var(--mono); color: var(--muted); width: 38px; text-align: right; }

/* ---------- Room ---------- */
.room-lead { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.room-off, .room-on { display: grid; gap: 12px; }
.invite { display: grid; gap: 8px; padding: 12px; border-radius: 14px; border: 1px dashed rgba(0, 229, 255, .35); background: rgba(0, 229, 255, .04); }
.invite-url { font: 500 12px var(--mono); color: var(--cyan); word-break: break-all; }
.invite-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cal summary { cursor: pointer; font-size: 12.5px; color: var(--muted); font-weight: 700; min-height: 32px; display: flex; align-items: center; }
.cal-body { display: grid; grid-template-columns: 1fr 90px; gap: 8px; align-items: end; padding-top: 6px; }
.cal-body .btn { grid-column: 1 / -1; }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.person { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #05000D; border: 1px solid var(--line-2); }
.person video { width: 100%; height: 100%; object-fit: cover; }
.person-tag { position: absolute; left: 6px; bottom: 6px; right: 6px; display: flex; justify-content: space-between; gap: 6px; font: 600 10px var(--mono); letter-spacing: .06em; }
.person-tag span { background: rgba(11, 0, 26, .75); padding: 3px 6px; border-radius: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person[data-state="connected"] .person-state { color: var(--lime); }
.person-empty { position: absolute; inset: 0; display: grid; place-items: center; font: 600 10px var(--mono); color: var(--dim); letter-spacing: .1em; }
.person.is-you { border-color: rgba(255, 209, 0, .5); }

/* ---------- Takes ---------- */
.takes-empty { color: var(--dim); font-size: 12.5px; }
.takes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.take { display: grid; gap: 8px; padding: 10px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); animation: rise .5s var(--ease) both; }
.take video { width: 100%; border-radius: 10px; background: #000; aspect-ratio: 16 / 9; }
.take-meta { display: flex; justify-content: space-between; gap: 8px; font: 500 10.5px var(--mono); color: var(--muted); letter-spacing: .06em; }
.take-actions { display: flex; gap: 8px; }

/* ---------- Mobile tabs ---------- */
.st-tabs { display: none; }

/* ---------- Gate ---------- */
.gate {
  position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px;
  background: radial-gradient(900px 600px at 30% 20%, rgba(157, 0, 255, .35), transparent 60%), radial-gradient(700px 500px at 80% 90%, rgba(0, 229, 255, .12), transparent 60%), rgba(11, 0, 26, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: opacity .5s var(--ease), visibility .5s;
}
.gate.is-gone { opacity: 0; visibility: hidden; }
.gate-card { width: min(560px, 100%); display: grid; gap: 18px; animation: rise .8s var(--ease) both; }
.gate .eyebrow { font-size: 11px; color: var(--lime); display: flex; align-items: center; gap: 10px; }
.gate .eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.gate h1 { font: 800 clamp(56px, 11vw, 104px)/.92 var(--display); letter-spacing: -.055em; position: relative; }
.gate h1 span { color: var(--yellow); }
.gate-star { position: absolute; width: clamp(34px, 5vw, 52px); height: auto; aspect-ratio: 1; color: var(--lime); left: clamp(250px, 44vw, 330px); bottom: 4px; animation: float 5s ease-in-out infinite; }
.gate-lead { color: var(--muted); font-size: 16px; max-width: 46ch; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gate-actions .btn { min-height: 52px; padding-inline: 22px; font-size: 14.5px; }
.gate-error { color: #FF8FB0; font-size: 13.5px; min-height: 1em; }
.gate-error:empty { display: none; }
.gate-fine { font-size: 10px; color: var(--dim); }

/* ---------- Clean feed ---------- */
body.is-feed { background: #000; overflow: hidden; }
body.is-feed .st-top, body.is-feed .st-main, body.is-feed .st-tabs, body.is-feed .gate, body.is-feed .skip-link { display: none !important; }
.feed { position: fixed; inset: 0; background: #000; }
.feed-grid { position: absolute; inset: 0; display: grid; gap: 0; grid-template-columns: repeat(var(--cols, 1), 1fr); }
.feed-grid video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.feed-wait { position: absolute; inset: auto 0 24px; text-align: center; color: var(--dim); font-size: 12px; }
.feed-unmute { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--paper); color: var(--ink); font-weight: 800; padding: 11px 18px; border-radius: 999px; border: 2px solid var(--ink); box-shadow: 0 5px 0 #000; transition: opacity .25s, transform .35s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@keyframes blink { 50% { opacity: .25; } }
@keyframes spin { to { --spin: 360deg; } }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(18deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .st-main { grid-template-columns: minmax(240px, 270px) minmax(0, 1fr); }
  .st-side { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 820px) {
  :root { --top: 56px; }
  .st-tag, .program-res, .layout kbd { display: none; }
  .btn-rec .rec-label { display: none; }
  #top-invite span { display: none; }
  .st-main { display: flex; flex-direction: column; gap: 12px; padding: 10px 10px calc(84px + env(safe-area-inset-bottom)); }
  .st-stage { order: -1; position: sticky; top: calc(var(--top) + 6px); z-index: 5; gap: 10px; background: linear-gradient(var(--night) 85%, transparent); padding-bottom: 6px; }
  .program { border-radius: 14px; }
  .layouts { grid-template-columns: repeat(5, minmax(64px, 1fr)); overflow-x: auto; gap: 8px; scrollbar-width: none; }
  .layout { padding: 9px 4px 8px; font-size: 11px; gap: 6px; }
  .lay-ico { width: 36px; height: 22px; }
  .stage-note, .stage-meta { display: none; }
  .st-center { display: contents; }
  .st-sources { position: static; max-height: none; overflow: visible; }
  .st-side { display: contents; }
  .panel { width: 100%; }
  .panel[data-panel]:not(.is-active) { display: none; }
  .st-tabs {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(11, 0, 26, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .st-tabs button { display: grid; justify-items: center; gap: 3px; min-height: 52px; border: 0; border-radius: 14px; background: transparent; color: var(--dim); font-weight: 800; font-size: 11px; }
  .st-tabs svg { width: 20px; height: 20px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .st-tabs button[aria-pressed="true"] { color: var(--ink); background: var(--yellow); }
  .gate-star { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .program-wrap::before { opacity: .18; }
}
