:root {
  color-scheme: dark;
  --bg: #0e1411;
  --panel: #151e19;
  --border: #2d3d33;
  --text: #eff6f0;
  --muted: #a1b2a6;
  --green: #b5f56b;
  font: 16px/1.5 system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
button, input { border-radius: 9px; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.shell { width: min(880px, calc(100% - 36px)); margin-inline: auto; }
.top { display: flex; justify-content: space-between; align-items: center; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 750; line-height: 1.15; }
.brand small { display: block; color: var(--muted); font-size: .62rem; margin-top: 4px; letter-spacing: .13em; }
.crest { display: grid; place-items: center; background: var(--green); color: #142011; width: 44px; height: 44px; border-radius: 12px; font-size: .83rem; font-weight: 900; }
.intro { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #36513c; border-radius: 18px; padding: 30px clamp(22px, 5vw, 46px); background: linear-gradient(100deg, #20392a, #14281e); }
.intro p:last-child { margin: 0; color: #c2d4c5; }
h1 { margin: 0; font-size: clamp(2.75rem, 8vw, 5rem); letter-spacing: -.075em; line-height: 1.1; padding-bottom: 8px; }
h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.035em; overflow-wrap: anywhere; }
.eyebrow { font-size: .67rem; font-weight: 800; letter-spacing: .15em; color: var(--green); margin: 0 0 7px; }
.dot { display: inline-block; width: 7px; height: 7px; background: var(--green); border-radius: 50%; margin-right: 6px; }
.pitch { position: absolute; z-index: -1; right: -36px; top: -30px; width: 330px; height: 220px; border: 1px solid #b5f56334; border-radius: 5px; transform: rotate(-16deg); opacity: .8; }
.pitch::before, .pitch::after, .pitch span { content: ""; position: absolute; border: 1px solid #b5f56334; }
.pitch::before { height: 100%; left: 50%; border-right: 0; }
.pitch::after { width: 70px; height: 70px; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.pitch span { top: 25%; right: 0; height: 50%; width: 20%; border-right: 0; }
.tabs { display: flex; gap: 6px; margin: 20px 0 14px; }
.tabs button, .quiet { border: 1px solid transparent; color: var(--muted); background: transparent; padding: 8px 14px; font-weight: 700; }
.tabs button[aria-pressed="true"] { border-color: var(--border); background: var(--panel); color: var(--text); }
.card { padding: clamp(16px, 4vw, 25px); border: 1px solid var(--border); background: var(--panel); border-radius: 15px; }
.card p:not(.eyebrow) { color: var(--muted); }
.card-head, .form-row, .actions { display: flex; align-items: center; gap: 12px; }
.card-head { justify-content: space-between; margin-bottom: 16px; }
.badge { color: var(--muted); border: 1px solid var(--border); border-radius: 99px; padding: 3px 10px; font-size: .74rem; font-weight: 750; white-space: nowrap; }
.badge.live { color: #ffc3bb; border-color: #773e38; background: #442721; }
.stage { aspect-ratio: 16 / 9; max-height: 460px; display: grid; place-items: center; border-radius: 11px; overflow: hidden; background: #0c110e; }
.empty { text-align: center; padding: 12px; }
.empty p { font-size: .85rem; margin: 5px 0 0; }
.play-icon { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 50%; background: #223828; color: var(--green); font-size: 1.3rem; }
video { display: block; width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.library { margin-top: 14px; }
ul { padding: 0; margin: 12px 0 0; list-style: none; }
li button { display: flex; width: 100%; justify-content: space-between; gap: 12px; text-align: left; border: 1px solid var(--border); background: #19271f; color: var(--text); padding: 10px 12px; margin-top: 8px; overflow-wrap: anywhere; }
li time { color: var(--muted); font-size: .83rem; white-space: nowrap; }
label { display: block; margin: 14px 0 6px; font-weight: 700; font-size: .85rem; }
input { color: var(--text); background: var(--bg); border: 1px solid var(--border); padding: 10px 12px; width: 100%; min-width: 0; }
.actions { margin-top: 12px; flex-wrap: wrap; }
.primary, .secondary, .danger { padding: 9px 13px; font-weight: 750; border: 1px solid transparent; }
.primary { background: var(--green); color: #142011; }
.secondary { background: #263a2c; color: var(--text); border-color: var(--border); }
.danger { background: #6f3430; color: #fff3ef; }
.notice { font-size: .85rem; margin: 10px 0 0; }
.notice:empty { display: none; }
footer { color: var(--muted); padding: 20px 0; font-size: .65rem; font-weight: 700; letter-spacing: .12em; }
footer span { padding: 0 4px; }
@media (max-width: 500px) {
  .pitch { right: -140px; opacity: .6; }
  li button { flex-direction: column; gap: 2px; }
}
