@font-face { font-family: "Exo 2"; src: url("exo2.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #07070c; --base: #0d0d16; --surface: #14141f; --overlay: #1d1d2b; --line: #2a2a3c;
  --fg: #ecebf5; --muted: #8b8aa3; --cyan: #25f4ee; --pink: #fe2c55; --yellow: #ffd60a; --green: #7cff6b;
  --cut: 14px 3px 14px 3px; --cut-s: 8px 2px 8px 2px;
  --font: "Exo 2", system-ui, sans-serif; --mono: ui-monospace, "Cascadia Mono", "FantasqueSansM Nerd Font", monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 15px; }
a { color: var(--cyan); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--pink); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

/* ---------- logo */
.logo { font-weight: 900; font-style: italic; letter-spacing: .02em; position: relative; display: inline-block; line-height: 1; }
.logo::before, .logo::after { content: attr(data-t); position: absolute; inset: 0; mix-blend-mode: screen; }
.logo::before { color: var(--cyan); transform: translate(-2px, -1px); }
.logo::after { color: var(--pink); transform: translate(2px, 1px); }
.logo span { position: relative; z-index: 1; color: #fff; }

/* ---------- buttons, fields */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--cut-s); transition: .12s; white-space: nowrap; text-decoration: none; color: var(--fg); }
.btn:hover { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan) inset, 0 0 14px #25f4ee33; }
.btn.primary { background: linear-gradient(100deg, var(--pink), #c8247a 55%, #6d34ff); border-color: transparent; color: #fff; font-weight: 700; }
.btn.primary:hover { box-shadow: 0 0 18px #fe2c5566; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { border-color: var(--line); box-shadow: none; background: var(--surface); }
.btn.danger:hover { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink) inset; }
.btn.small { padding: 4px 9px; font-size: 13px; }
.btn svg, .icon svg { width: 18px; height: 18px; }
.field { width: 100%; padding: 9px 12px; background: var(--base); border: 1px solid var(--line); border-radius: var(--cut-s); outline: none; }
.field:focus { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan); }
textarea.field { resize: vertical; min-height: 90px; line-height: 1.45; }
label.lab { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 14px 0 5px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600;
  background: var(--overlay); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.chip.k-video { color: var(--pink); } .chip.k-post { color: var(--cyan); } .chip.k-article { color: var(--yellow); }
.chip.k-image { color: var(--green); } .chip.k-note { color: #b388ff; } .chip.k-link { color: #ff9f43; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.spin { width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--cyan); border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- top bar */
.top { height: 54px; display: flex; align-items: center; gap: 18px; padding: 0 18px; background: var(--base); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top .logo { font-size: 26px; }
.top .brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--fg); }
.top .brand small { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.top nav { display: flex; gap: 4px; }
.top nav a { padding: 7px 12px; border-radius: var(--cut-s); text-decoration: none; color: var(--muted); font-weight: 600; }
.top nav a.on, .top nav a:hover { color: var(--fg); background: var(--surface); }
.top .sp { flex: 1; }
.who { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.live-dot.off { background: var(--pink); box-shadow: 0 0 8px var(--pink); }

main { padding: 0; }
.page { max-width: 1280px; margin: 0 auto; padding: 26px 22px 120px; }
h1.pg { font-size: 30px; margin: 0 0 4px; font-weight: 800; }
.sub { color: var(--muted); margin: 0 0 22px; }

/* ---------- login */
.login { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(1200px 600px at 20% 10%, #fe2c5522, transparent), radial-gradient(900px 500px at 90% 90%, #25f4ee22, transparent), var(--bg); }
.login form { width: 340px; padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--cut); }
.login .logo { font-size: 64px; }
.login .tag { color: var(--muted); letter-spacing: .2em; text-transform: uppercase; font-size: 12px; margin: 8px 0 22px; }
.err { color: var(--pink); min-height: 20px; margin-top: 10px; font-size: 14px; }

/* ---------- shows */
.shows-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.show-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--cut); overflow: hidden; cursor: pointer; transition: .15s; text-decoration: none; color: var(--fg); display: block; }
.show-card:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: 0 8px 28px #0008, 0 0 0 1px var(--cyan); }
.show-card .mosaic { height: 120px; display: grid; grid-template-columns: repeat(4, 1fr); background: linear-gradient(120deg, #fe2c5533, #25f4ee22); }
.show-card .mosaic img { width: 100%; height: 120px; object-fit: cover; }
.show-card .mosaic.empty { display: grid; place-items: center; grid-template-columns: 1fr; }
.show-card .mosaic.empty .logo { font-size: 44px; opacity: .5; }
.show-card .body { padding: 14px 16px 16px; }
.ep { font-family: var(--mono); color: var(--pink); font-size: 12.5px; letter-spacing: .08em; }
.show-card h3 { margin: 4px 0 8px; font-size: 19px; }
.meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.bar { height: 4px; background: var(--overlay); border-radius: 4px; overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--pink)); }
.new-card { border-style: dashed; display: grid; place-items: center; min-height: 220px; color: var(--muted); }
.new-card:hover { color: var(--fg); }
.section-h { margin: 34px 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.st-planning { color: var(--cyan); } .st-done { color: var(--muted); } .st-live { color: var(--pink); }

/* ---------- docket */
.docket { display: grid; grid-template-columns: minmax(420px, 1fr) minmax(420px, 1.25fr); height: calc(100vh - 54px - 74px); }
.list-col { overflow-y: auto; border-right: 1px solid var(--line); padding: 18px 18px 40px; }
.viewer { overflow-y: auto; padding: 20px 24px 40px; background: var(--base); }
.show-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.show-head .num { font-family: var(--mono); font-size: 12px; color: var(--pink); letter-spacing: .1em; }
.show-head input.title { font-size: 24px; font-weight: 800; background: transparent; border: 1px solid transparent; border-radius: var(--cut-s); padding: 2px 6px; margin-left: -7px; width: 100%; outline: none; }
.show-head input.title:hover { border-color: var(--line); } .show-head input.title:focus { border-color: var(--cyan); }
.show-head .grow { flex: 1; min-width: 0; }
.show-head .row { display: flex; gap: 8px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.show-head input[type=date] { background: var(--surface); border: 1px solid var(--line); border-radius: var(--cut-s); padding: 3px 8px; color-scheme: dark; font-size: 13px; }
.addbar { display: flex; gap: 6px; margin: 10px 0 8px; position: sticky; top: -18px; z-index: 5; background: var(--bg); padding: 8px 0; }
.addbar .field { flex: 1; }
.drop-hint { color: var(--muted); font-size: 12.5px; margin: 0 0 12px; }
.progress-line { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.progress-line .bar { flex: 1; margin: 0; }

ol.items { list-style: none; margin: 0; padding: 0; }
.it { display: grid; grid-template-columns: 18px 88px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px 8px 4px;
  border: 1px solid transparent; border-radius: var(--cut-s); cursor: pointer; position: relative; margin-bottom: 3px; background: var(--base); }
.it:hover { border-color: var(--line); }
.it.sel { border-color: var(--cyan); background: #25f4ee0d; }
.it.air { box-shadow: inset 3px 0 0 var(--pink); background: #fe2c5512; }
.it.air .t::before { content: "ON AIR"; font-size: 10px; font-weight: 800; color: #fff; background: var(--pink); padding: 1px 6px; border-radius: 3px; margin-right: 7px; letter-spacing: .08em; vertical-align: 2px; }
.it.covered { opacity: .5; } .it.covered .t { text-decoration: line-through; text-decoration-color: var(--muted); }
.it .grip { color: var(--line); cursor: grab; font-size: 16px; text-align: center; user-select: none; }
.it:hover .grip { color: var(--muted); }
.it .th { width: 88px; height: 50px; border-radius: 6px; background: var(--overlay) center/cover; display: grid; place-items: center; color: var(--muted); font-size: 12px; position: relative; overflow: hidden; }
.it .th .dur { position: absolute; right: 3px; bottom: 3px; font-size: 10.5px; background: #000c; padding: 0 4px; border-radius: 3px; font-family: var(--mono); color: #fff; }
.it .t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
.it .m { display: flex; gap: 7px; align-items: center; margin-top: 4px; color: var(--muted); font-size: 12.5px; flex-wrap: wrap; }
.it .m .fail { color: var(--pink); }
.it .acts { display: flex; gap: 4px; align-items: center; opacity: .55; }
.it:hover .acts, .it.sel .acts { opacity: 1; }
.check { width: 24px; height: 24px; border: 1.5px solid var(--line); border-radius: 6px; display: grid; place-items: center; background: transparent; padding: 0; }
.check.on { background: var(--green); border-color: var(--green); color: #000; }
.check svg { width: 15px; height: 15px; }
.airbtn { padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--pink); }
.airbtn:hover { background: var(--pink); color: #fff; border-color: var(--pink); }
.it.seg { grid-template-columns: 18px 1fr auto; background: transparent; margin-top: 16px; padding: 6px 10px 6px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
.it.seg .t { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--yellow); font-weight: 800; }
.it.seg.sel { border-color: transparent; border-bottom-color: var(--yellow); background: transparent; }
.it.drag-over-top { box-shadow: 0 -2px 0 var(--cyan); } .it.drag-over-bot { box-shadow: 0 2px 0 var(--cyan); }
.it.dragging { opacity: .3; }
.empty-list { padding: 40px 10px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--cut); }
body.dropping .list-col { outline: 2px dashed var(--cyan); outline-offset: -8px; }

/* viewer */
.vtools { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.vtools .sp { flex: 1; }
.vstage { background: #000; border-radius: var(--cut); overflow: hidden; border: 1px solid var(--line); }
.vstage .main-video, .vstage .main-img { width: 100%; max-height: 62vh; display: block; object-fit: contain; background: #000; }
.vstage .shot-wrap { max-height: 62vh; overflow-y: auto; }
.vstage .shot { width: 100%; display: block; }
.vstage.light { background: var(--surface); }
.vmeta { margin-top: 14px; }
.vmeta input.vtitle { font-size: 20px; font-weight: 700; width: 100%; background: transparent; border: 1px solid transparent; padding: 3px 6px; margin-left: -7px; border-radius: var(--cut-s); outline: none; }
.vmeta input.vtitle:hover { border-color: var(--line); } .vmeta input.vtitle:focus { border-color: var(--cyan); }
.vmeta .src { color: var(--muted); font-size: 13px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.vmeta .src a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 520px; }
.notes-box { background: #ffd60a0d; border-color: #ffd60a44; }
.err-box { color: var(--pink); background: #fe2c5514; border: 1px solid #fe2c5544; padding: 8px 12px; border-radius: var(--cut-s); margin-top: 10px; font-size: 13.5px; }
.work-box { color: var(--cyan); padding: 8px 0; display: flex; gap: 8px; align-items: center; font-size: 13.5px; }
.viewer .blank { height: 100%; display: grid; place-items: center; text-align: center; color: var(--muted); }
.viewer .blank .logo { font-size: 80px; opacity: .25; }
.kbd { font-family: var(--mono); font-size: 11.5px; padding: 1px 5px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); }

/* shared content (viewer + on air) */
.reader { padding: 26px 30px; background: var(--surface); color: var(--fg); line-height: 1.65; font-size: 16.5px; }
.reader .lead { width: 100%; max-height: 360px; object-fit: cover; border-radius: var(--cut-s); margin-bottom: 16px; }
.reader h1 { font-size: 28px; line-height: 1.2; margin: 6px 0 10px; }
.reader .reader-site { color: var(--cyan); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.reader .dek { color: var(--muted); font-size: 18px; }
.reader img { max-width: 100%; height: auto; border-radius: 6px; }
.reader blockquote { border-left: 3px solid var(--pink); margin: 0; padding-left: 16px; color: #d8d6ea; }
.post-card { padding: 22px 24px; background: var(--surface); }
.post-head { display: flex; gap: 12px; align-items: center; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--overlay); }
.avatar.ph { display: grid; place-items: center; font-weight: 800; color: var(--cyan); }
.post-author { font-weight: 800; }
.post-handle { color: var(--muted); font-size: 14px; font-weight: 400; }
.post-net { margin-left: auto; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.post-title { font-size: 21px; font-weight: 700; margin-top: 14px; }
.post-text { margin-top: 12px; font-size: 17px; line-height: 1.5; white-space: normal; word-wrap: break-word; }
.post-link { display: block; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-media { display: grid; gap: 4px; margin-top: 14px; border-radius: var(--cut-s); overflow: hidden; }
.post-media.n2, .post-media.n3, .post-media.n4 { grid-template-columns: 1fr 1fr; }
.post-media .pm { width: 100%; max-height: 560px; object-fit: contain; background: #000; display: block; }
.post-media.n2 .pm, .post-media.n3 .pm, .post-media.n4 .pm { height: 260px; object-fit: cover; }
.post-quote { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--cut-s); padding: 12px 14px; }
.post-stats { display: flex; gap: 18px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.post-stats b { color: var(--fg); }
.link-card { padding: 22px 24px; background: var(--surface); }
.link-card .link-img { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--cut-s); margin-bottom: 12px; }
.link-site { color: var(--cyan); font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; }
.link-title { font-size: 22px; font-weight: 800; margin: 4px 0 8px; }
.link-desc { color: var(--muted); line-height: 1.5; }
.link-url { display: block; margin-top: 12px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-working { display: flex; align-items: center; gap: 8px; color: var(--cyan); margin-top: 12px; }
.segment-card, .note-card { padding: 50px 40px; background: linear-gradient(120deg, #fe2c5522, #25f4ee14); min-height: 220px; display: flex; flex-direction: column; justify-content: center; }
.seg-kicker { color: var(--cyan); letter-spacing: .3em; text-transform: uppercase; font-size: 13px; font-weight: 700; }
.seg-title { font-size: 44px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.05; margin-top: 8px; }
.note-title { font-size: 26px; font-weight: 800; }
.note-body { font-size: 19px; line-height: 1.5; margin-top: 12px; }

/* ---------- on-air control bar */
.airbar { position: fixed; left: 0; right: 0; bottom: 0; height: 74px; background: linear-gradient(0deg, #0b0b13, #11111b); border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px; padding: 0 16px; z-index: 30; }
.airbar .onair-tag { font-weight: 900; font-size: 11px; letter-spacing: .14em; padding: 4px 8px; border-radius: 4px; background: var(--overlay); color: var(--muted); }
.airbar.live .onair-tag { background: var(--pink); color: #fff; box-shadow: 0 0 16px #fe2c5588; }
.airbar.hidden-air .onair-tag { background: var(--overlay); color: var(--yellow); }
.airbar .now { display: flex; gap: 10px; align-items: center; min-width: 0; flex: 1; }
.airbar .now img { width: 72px; height: 40px; object-fit: cover; border-radius: 5px; background: var(--overlay); }
.airbar .now .tt { min-width: 0; }
.airbar .now .t1 { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.airbar .now .t2 { color: var(--muted); font-size: 12.5px; display: flex; gap: 8px; align-items: center; }
.airbar .prog { width: 160px; height: 4px; background: var(--overlay); border-radius: 3px; overflow: hidden; }
.airbar .prog i { display: block; height: 100%; background: var(--pink); }
.airbar .ctl { display: flex; gap: 4px; }
.airbar .ctl button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--cut-s); background: var(--surface); border: 1px solid var(--line); padding: 0; }
.airbar .ctl button:hover { border-color: var(--cyan); }
.airbar .ctl button.on { color: var(--pink); border-color: var(--pink); }
.airbar .ctl button.big { width: 48px; background: var(--pink); border-color: var(--pink); color: #fff; }
.airbar .ctl .gap { width: 10px; }
.airbar svg { width: 19px; height: 19px; }

/* ---------- settings */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--cut); padding: 20px 22px; margin-bottom: 18px; }
.card h2 { margin: 0 0 6px; font-size: 19px; }
table.cmds { width: 100%; border-collapse: collapse; margin-top: 12px; }
table.cmds td { padding: 7px 8px; border-top: 1px solid var(--line); vertical-align: middle; }
table.cmds td.u { font-family: var(--mono); font-size: 12px; color: var(--muted); word-break: break-all; }
ol.steps li { margin: 6px 0; line-height: 1.5; }

/* ---------- toast + menu */
.toast { position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); background: var(--overlay); border: 1px solid var(--line); padding: 10px 16px; border-radius: var(--cut-s); z-index: 60; box-shadow: 0 10px 30px #000a; }
.menu { position: fixed; z-index: 70; background: var(--overlay); border: 1px solid var(--line); border-radius: var(--cut-s); padding: 5px; min-width: 210px; box-shadow: 0 14px 40px #000c; }
.menu button { display: block; width: 100%; text-align: left; padding: 7px 10px; background: none; border: 0; border-radius: 5px; }
.menu button:hover { background: var(--surface); }
.menu .hd { padding: 6px 10px 3px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.modal-bg { position: fixed; inset: 0; background: #000a; display: grid; place-items: center; z-index: 80; }
.modal { width: min(440px, 92vw); background: var(--surface); border: 1px solid var(--line); border-radius: var(--cut); padding: 22px; }
.modal h3 { margin: 0 0 10px; }
.modal .row { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }

@media (max-width: 980px) {
  .docket { grid-template-columns: 1fr; height: auto; }
  .list-col { border-right: 0; } .viewer { min-height: 60vh; }
  .airbar .prog, .airbar .ctl .opt { display: none; }
}

/* ================================================================ v2 additions */
.chip.hot { background: var(--pink); color: #fff; }
.btn.on { border-color: var(--pink); color: var(--pink); box-shadow: 0 0 0 1px var(--pink) inset; }
.btn.on-star, .on-star svg { color: var(--yellow); border-color: var(--yellow); }
.btn.live-btn { color: var(--pink); border-color: #fe2c5566; font-weight: 700; }
.btn.live-btn:hover { background: var(--pink); color: #fff; }
.btn.live-btn svg { width: 16px; height: 16px; }
.row-inline { display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.row-inline .field { flex: 1; min-width: 0; }
.tick { display: flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 14px; }
.tick.small { font-size: 12.5px; color: var(--muted); margin: 0; }
.sp { flex: 1; }
.mono { font-family: var(--mono); }
.star-mark { color: var(--yellow); margin-right: 5px; }
.hint { font-size: 12px; }
.modal.wide { width: min(760px, 94vw); max-height: 90vh; overflow-y: auto; }
button.link { background: none; border: 0; color: var(--cyan); padding: 0; font-size: inherit; text-decoration: underline; }

/* top bar: search + on-air chip */
.search { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--cut-s); padding: 0 10px; height: 34px; width: 260px; }
.search:focus-within { border-color: var(--cyan); }
.search svg { width: 16px; height: 16px; color: var(--muted); }
.search input { background: none; border: 0; outline: none; flex: 1; min-width: 0; }
.onair-chip { display: none; align-items: center; gap: 8px; max-width: 300px; text-decoration: none; color: var(--fg); font-size: 13px; padding: 4px 10px 4px 4px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
.onair-chip.on, .onair-chip.hid { display: flex; }
.onair-chip b { background: var(--pink); color: #fff; font-size: 10px; letter-spacing: .1em; padding: 2px 7px; border-radius: 99px; }
.onair-chip.hid b { background: var(--overlay); color: var(--yellow); }
.onair-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* show cards */
.show-card .card-acts { display: flex; gap: 6px; margin-top: 12px; }
.show-card { cursor: pointer; }

/* prep extras */
.docket.prep { height: calc(100vh - 54px); }
.show-head .row .sp { flex: 1; }
.votes { display: inline-flex; gap: 2px; }
.vote { background: none; border: 1px solid transparent; border-radius: 6px; padding: 1px 5px; font-size: 12.5px; color: var(--muted); filter: grayscale(1); opacity: .7; }
.vote:hover { border-color: var(--line); opacity: 1; filter: none; }
.vote.on { filter: none; opacity: 1; border-color: var(--line); background: var(--overlay); color: var(--fg); }
.seg-target { background: none; border: 1px dashed var(--line); color: var(--muted); border-radius: 6px; font-size: 12px; padding: 2px 8px; }
.seg-target:hover { color: var(--fg); border-color: var(--yellow); }
.run-notes { margin: 4px 0 12px; }
.run-notes summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--yellow); padding: 4px 0; }
.run-notes textarea { margin-top: 6px; min-height: 80px; background: #ffd60a0a; border-color: #ffd60a33; }
.clipbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; margin-top: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--cut-s); }
.clipbar .lbl { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--pink); }
.clipbar .lbl svg { width: 16px; height: 16px; }
.clipbar .field.t { width: 80px; padding: 5px 8px; font-family: var(--mono); font-size: 13px; }
.comments { display: flex; flex-direction: column; gap: 8px; }
.cmt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--cut-s); padding: 8px 10px; font-size: 14px; position: relative; }
.cmt b { margin: 0 6px 0 4px; } .cmt .muted { font-size: 12px; }
.cmt > div { margin-top: 3px; line-height: 1.4; white-space: pre-wrap; }
.cmt .x { position: absolute; right: 6px; top: 4px; background: none; border: 0; color: var(--muted); font-size: 16px; }
.cform { display: flex; gap: 6px; margin-top: 8px; }
.guest-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.guest-row textarea { grid-column: 1 / -1; min-height: 50px; }
.guest-row [name=links] { grid-column: 1 / -1; }
.shorts { max-height: 260px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--cut-s); }
.short { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.short .mono { color: var(--cyan); width: 64px; } .short .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.short svg { width: 15px; height: 15px; }
textarea.mono { font-family: var(--mono); font-size: 13.5px; }
.sub-row { display: flex; gap: 8px; align-items: center; padding: 12px 14px; margin-bottom: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--cut-s); }
.sub-row .t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sub-row .m { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.sub-row .note { margin-top: 5px; font-size: 13.5px; color: #d8d6ea; }
.res { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; padding: 8px; margin-bottom: 6px; border-radius: var(--cut-s); text-decoration: none; color: var(--fg); background: var(--surface); border: 1px solid var(--line); }
.res:hover { border-color: var(--cyan); }
.res .th { width: 88px; height: 50px; border-radius: 6px; background: var(--overlay) center/cover; }
.res .t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.res .m { display: flex; gap: 8px; color: var(--muted); font-size: 12.5px; margin-top: 4px; align-items: center; }
.tpl-row { margin-top: 6px; }

/* ================================================================ Live view */
body.live-mode { overflow: hidden; }
.live { height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.live-top { display: flex; align-items: center; gap: 16px; padding: 8px 16px; background: var(--base); border-bottom: 1px solid var(--line); min-height: 64px; }
.lt-show .num { font-family: var(--mono); color: var(--pink); font-size: 11.5px; letter-spacing: .1em; }
.lt-show .ttl { font-weight: 800; font-size: 17px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-clock { display: flex; flex-direction: column; align-items: flex-start; min-width: 150px; }
.lt-clock .big { font-family: var(--mono); font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: .02em; }
.lt-clock .big.running { color: var(--green); } .lt-clock .big.stopped { color: var(--muted); }
.lt-clock .sm, .lt-seg .sm { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.lt-seg { min-width: 170px; padding-left: 14px; border-left: 1px solid var(--line); }
.lt-seg:empty { display: none; }
.lt-seg .mid { font-family: var(--mono); font-size: 20px; font-weight: 700; } .lt-seg .mid span { color: var(--muted); font-size: 14px; }
.lt-seg .bar { margin-top: 4px; } .lt-seg.near .mid { color: var(--yellow); } .lt-seg.over .mid { color: var(--pink); }
.lt-seg.near .bar i { background: var(--yellow); } .lt-seg.over .bar i { background: var(--pink); }
.lt-seg.over { animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .65; } }
.lt-drive { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.lt-drive svg { width: 15px; height: 15px; }
.onair-tag { font-weight: 900; font-size: 12px; letter-spacing: .14em; padding: 6px 10px; border-radius: 5px; background: var(--overlay); color: var(--muted); }
.onair-tag.is-live { background: var(--pink); color: #fff; box-shadow: 0 0 18px #fe2c5588; }
.onair-tag.hid { color: var(--yellow); }
.live-grid { display: grid; grid-template-columns: 330px minmax(0, 1fr) 360px; min-height: 0; }
.rundown { overflow-y: auto; border-right: 1px solid var(--line); padding: 10px 10px 30px; }
.rd-head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 4px 10px; }
ol.rd { list-style: none; margin: 0; padding: 0; }
.lr { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 8px; align-items: center; padding: 6px; border-radius: var(--cut-s); border: 1px solid transparent; cursor: pointer; margin-bottom: 2px; background: var(--base); }
.lr:hover { border-color: var(--line); }
.lr.sel { border-color: var(--cyan); background: #25f4ee0d; }
.lr.air { box-shadow: inset 3px 0 0 var(--pink); background: #fe2c5516; }
.lr.covered { opacity: .45; } .lr.covered .t { text-decoration: line-through; }
.lr .th { width: 56px; height: 32px; border-radius: 5px; background: var(--overlay) center/cover; display: grid; place-items: center; color: var(--muted); font-size: 12px; position: relative; overflow: hidden; }
.lr .th .dur { position: absolute; right: 2px; bottom: 2px; font-size: 9.5px; background: #000c; padding: 0 3px; border-radius: 3px; font-family: var(--mono); color: #fff; }
.lr .tx { min-width: 0; } .lr .t { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lr .m { display: flex; gap: 6px; align-items: center; margin-top: 2px; font-size: 11.5px; color: var(--muted); }
.lr .m .chip { font-size: 10px; padding: 0 6px; }
.lr .check { width: 22px; height: 22px; }
.lr.seg { grid-template-columns: 1fr auto auto; background: transparent; margin-top: 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
.lr.seg .t { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--yellow); font-weight: 800; }
.seg-time { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.seg-time.running { color: var(--green); } .seg-time.over { color: var(--pink); }
.center { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; padding: 12px 16px 20px; gap: 14px; }
.panel-h { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .1em; margin-bottom: 6px; }
.panel-h b { color: var(--pink); } .panel-h .muted { letter-spacing: 0; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-h .prog { width: 140px; height: 4px; background: var(--overlay); border-radius: 3px; overflow: hidden; }
.panel-h .prog i { display: block; height: 100%; width: 0; background: var(--pink); }
.mirror { position: relative; width: 100%; max-width: 860px; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 2px var(--pink), 0 10px 40px #000a; }
.mirror iframe { width: 1920px; height: 1080px; border: 0; transform-origin: 0 0; pointer-events: none; position: absolute; left: 0; top: 0; }
.mirror-click { position: absolute; inset: 0; cursor: crosshair; }
.screen-tools { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.screen-tools .grp { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.screen-tools svg { width: 16px; height: 16px; }
.peek-wrap .panel-h b { color: var(--cyan); }
#peekacts { display: flex; gap: 6px; align-items: center; }
#peekacts .btn.primary { padding: 6px 14px; }
.peek .vstage .main-video, .peek .vstage .main-img { max-height: 46vh; }
.peek .vstage .shot-wrap { max-height: 46vh; }
.peek .blank { padding: 30px; text-align: center; }
.hl-btn { color: var(--yellow); border-color: var(--yellow); }
.side { border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: var(--base); }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; background: none; border: 0; padding: 12px 6px; color: var(--muted); font-weight: 700; border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--fg); border-bottom-color: var(--pink); }
.tabbody { overflow-y: auto; padding: 12px 14px 30px; flex: 1; }
.nt-title { font-weight: 800; font-size: 16px; line-height: 1.3; }
.notes-box.big { min-height: 30vh; font-size: 16px; line-height: 1.5; }
.guest-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--cut-s); padding: 8px 10px; margin-top: 6px; font-size: 14px; }
.ov-sec { padding: 10px 0 16px; border-bottom: 1px solid var(--line); }
.ov-h { font-weight: 800; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.ov-people { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.pl-l { width: 22px; font-weight: 900; color: var(--cyan); }
.field.pl-r { flex: 0 0 64px !important; width: 64px; }
#pl-opts .row-inline { margin-top: 6px; }
.live-ctl { display: flex; align-items: center; gap: 18px; padding: 10px 16px; background: linear-gradient(0deg, #0b0b13, #11111b); border-top: 1px solid var(--line); }
.live-ctl .ctl { display: flex; gap: 4px; }
.live-ctl .ctl button { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--cut-s); background: var(--surface); border: 1px solid var(--line); padding: 0; font-size: 18px; }
.live-ctl .ctl button:hover { border-color: var(--cyan); }
.live-ctl .ctl button.on { color: var(--pink); border-color: var(--pink); }
.live-ctl .ctl button.big { width: 56px; background: var(--pink); border-color: var(--pink); color: #fff; }
.live-ctl .ctl .gap { width: 12px; }
.live-ctl svg { width: 20px; height: 20px; }
.live-ctl .keys { font-size: 12px; }
@media (max-width: 1300px) { .live-grid { grid-template-columns: 280px minmax(0, 1fr) 300px; } .live-ctl .keys { display: none; } }
@media (max-width: 1000px) { .live-grid { grid-template-columns: 1fr; overflow-y: auto; } .rundown { max-height: 40vh; } }

/* ================================================================ KTV theme layer (matches E:\podcast\obs on K1)
   The palette colours (--c-*) are the same 10 palettes as the OBS kit; ui.js sets them from Setup → Look.
   App pages use the kit panel's look (dark, IBM Plex Mono, Tiny5 headings, yellow accents); the show screen uses the full CG look. */
@font-face { font-family: "Tiny5"; src: url("tiny5.woff2") format("woff2"); font-display: block; }
@font-face { font-family: "Jersey 10"; src: url("jersey10.woff2") format("woff2"); font-display: block; }
@font-face { font-family: "VT323"; src: url("vt323.woff2") format("woff2"); font-display: block; }
@font-face { font-family: "IBM Plex Mono"; src: url("plexmono.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("plexmono600.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
:root {
  --c-bg: #0d1a9c; --c-box: #1b30d6; --c-box2: #e8e800; --c-text: #ffffff; --c-text2: #ffff40; --c-edge: #000000; --c-accent: #e01010;
  --ink: #02030c;
  --bg: color-mix(in srgb, var(--c-bg) 24%, var(--ink));
  --base: color-mix(in srgb, var(--c-bg) 34%, var(--ink));
  --surface: color-mix(in srgb, var(--c-bg) 46%, var(--ink));
  --overlay: color-mix(in srgb, var(--c-box) 52%, var(--ink));
  --line: color-mix(in srgb, var(--c-box) 48%, var(--ink));
  --fg: color-mix(in srgb, var(--c-text) 90%, var(--c-box));
  --muted: color-mix(in srgb, var(--c-text) 56%, var(--c-bg));
  --c-hi: var(--c-text2); --cyan: var(--c-hi); --pink: var(--c-accent); --yellow: var(--c-box2); --green: #6dff5a;
  --cut: 0; --cut-s: 0;
  --font: "IBM Plex Mono", Consolas, monospace; --mono: "IBM Plex Mono", Consolas, monospace;
  --cg: "Tiny5", "Courier New", monospace; --cg-logo: "Jersey 10", "Courier New", monospace;
  --hard: 6px 6px 0 var(--c-edge);
}
html, body { font-size: 14px; }
::selection { background: var(--c-box2); color: var(--c-edge); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 0; }

/* the CG logo: NFYP in Jersey 10 with the stacked box/edge shadow, like nf-logo in the kit */
.logo { font-family: var(--cg-logo); font-style: normal; font-weight: 400; letter-spacing: .04em; }
.logo::before, .logo::after { display: none; }
.logo span { color: var(--c-hi); text-shadow: .04em .04em 0 var(--c-box), .08em .08em 0 var(--c-box), .12em .12em 0 var(--c-edge); }
.top { background: var(--c-box); border-bottom: 0; box-shadow: 0 4px 0 var(--c-edge); }
.top .logo { font-size: 34px; }
.top .brand small { color: var(--c-edge); background: var(--c-box2); padding: 1px 8px; font-family: var(--cg); letter-spacing: .12em; }
.top nav a { font-family: var(--cg); font-size: 17px; font-weight: 400; color: color-mix(in srgb, var(--c-text) 75%, var(--c-box)); text-transform: uppercase; letter-spacing: .04em; }
.top nav a.on, .top nav a:hover { background: var(--c-edge); color: var(--c-hi); }
.top .who { color: var(--c-text); }
.search { background: color-mix(in srgb, var(--c-box) 40%, var(--ink)); border-color: var(--c-edge); }

/* headings in the CG font */
h1, h2, h3, .pg, .seg-title, .lt-show .ttl, .rd-head b, .ov-h, .nt-title, .lr.seg .t, .seg-row .seg-t, .panel-h b, .tabs button {
  font-family: var(--cg); font-weight: 400 !important; letter-spacing: .03em; }
h1.pg { color: var(--c-hi); font-size: 34px; text-transform: uppercase; }
.card h2, .modal h2 { color: var(--c-hi); text-transform: uppercase; }

/* boxes: square, hard drop shadow, no glow */
.btn { border-radius: 0; border: 1px solid var(--c-box); background: color-mix(in srgb, var(--c-box) 22%, var(--ink)); color: var(--c-hi); }
.btn:hover { border-color: var(--c-hi); box-shadow: none; background: color-mix(in srgb, var(--c-box) 45%, var(--ink)); }
.btn.primary { background: var(--c-box2); color: var(--c-edge); border-color: var(--c-box2); box-shadow: 3px 3px 0 var(--c-edge); font-weight: 600; }
.btn.primary:hover { box-shadow: 3px 3px 0 var(--c-edge); filter: brightness(1.08); }
.btn.ghost { color: var(--fg); }
.btn.live-btn { color: var(--c-text); background: var(--c-accent); border-color: var(--c-accent); font-family: var(--cg); font-size: 15px; font-weight: 400; text-transform: uppercase; }
.btn.live-btn:hover { background: var(--c-accent); filter: brightness(1.15); }
.field { border-radius: 0; background: color-mix(in srgb, var(--c-bg) 14%, var(--ink)); }
.field:focus { border-color: var(--c-hi); box-shadow: none; outline: 1px solid var(--c-hi); }
.chip { border-radius: 0; font-family: var(--cg); font-weight: 400; font-size: 12px; background: var(--c-box); color: var(--c-text); }
.chip.k-video { background: var(--c-accent); color: var(--c-text); } .chip.k-post { background: var(--c-box2); color: var(--c-edge); }
.chip.k-article { background: var(--c-text); color: var(--c-edge); } .chip.k-image, .chip.k-note, .chip.k-link { color: var(--c-text); }
.card, .show-card, .modal, .viewer .vstage, .post-card, .reader, .link-card, .cmt, .sub-row, .res, .clipbar, .guest-card {
  border-radius: 0 !important; }
.card, .show-card, .modal { border: 2px solid var(--c-box); box-shadow: var(--hard); }
.show-card:hover { border-color: var(--c-hi); }
.show-card .mosaic { background: var(--c-box); }
.bar i, .panel-h .prog i, .lt-seg .bar i { background: var(--c-box2); }
.segment-card, .note-card { background: var(--c-bg); }
.seg-kicker { color: var(--c-hi) !important; font-family: var(--cg); }
.seg-title { color: var(--c-text); text-shadow: 4px 4px 0 var(--c-edge); text-transform: uppercase; font-style: normal !important; }
.login { background: var(--c-bg); }
.login .card { background: var(--base); }
.run-notes summary, .lr.seg .t, .star-mark { color: var(--c-hi); }
.onair-chip, .onair-chip b { border-radius: 0; }
.onair-chip b, .onair-tag.is-live { background: var(--c-accent); box-shadow: none; }
.live-top, .live-ctl, .side, .tabs { background: var(--base); }
.live-ctl { background: var(--c-box); box-shadow: 0 -4px 0 var(--c-edge); }
.live-ctl .ctl button { border-radius: 0; background: color-mix(in srgb, var(--c-box) 40%, var(--ink)); border-color: var(--c-edge); color: var(--c-text); }
.live-ctl .ctl button.big { background: var(--c-box2); border-color: var(--c-box2); color: var(--c-edge); }
.live-ctl .keys { color: var(--c-text); }
.tabs button.on { border-bottom-color: var(--c-box2); color: var(--c-hi); }
.mirror { border-radius: 0; box-shadow: 0 0 0 4px var(--c-box), var(--hard); }
.lr, .vote, .seg-target, .lr .th { border-radius: 0; }
.lr.air { box-shadow: inset 4px 0 0 var(--c-accent); background: color-mix(in srgb, var(--c-accent) 14%, var(--base)); }
.lr.sel { border-color: var(--c-hi); background: color-mix(in srgb, var(--c-text2) 7%, var(--base)); }
.reader { font-family: var(--font); }
.post-card .post-author { font-family: var(--font); }
a { color: var(--c-hi); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 8px; }
.sw { border: 2px solid var(--line); padding: 6px; background: var(--base); color: var(--fg); text-align: left; }
.sw.on { border-color: var(--c-hi); }
.sw .c { display: flex; height: 22px; margin-bottom: 5px; } .sw .c i { flex: 1; }
.sw b { font-weight: 400; font-size: 12px; }
.live-ctl .ctl button.wide { width: auto; padding: 0 18px; font-family: var(--cg); font-size: 20px; text-transform: uppercase; white-space: nowrap; background: var(--c-box2); color: var(--c-edge); border-color: var(--c-box2); }
.live-ctl .ctl button.wide.on { background: var(--c-accent); color: var(--c-text); border-color: var(--c-accent); }

/* Host view: video transport */
.transport { margin-top: 10px; padding: 10px 12px; background: var(--base); border: 2px solid var(--c-box); box-shadow: var(--hard); max-width: 1200px; }
.tl-row { display: flex; align-items: center; gap: 10px; }
.tl-row + .tl-row { margin-top: 8px; }
.tl-btns { flex-wrap: wrap; gap: 6px; }
.tl-gap { width: 14px; }
.transport input[type=range] { accent-color: var(--c-box2); }
#tl { flex: 1; height: 22px; cursor: pointer; }
#tl-vol { width: 120px; }
#tl-cur { min-width: 64px; color: var(--c-hi); font-size: 15px; }
.tl-play { min-width: 92px; justify-content: center; background: var(--c-box2) !important; color: var(--c-edge) !important; }
.sp-b.on, #tl-mute.on { background: var(--c-box2); color: var(--c-edge); }

/* own screenshot + pre-show check + Reddit embed */
.shot-drop { margin-top: 12px; padding: 34px 16px; text-align: center; border: 2px dashed var(--c-box); color: var(--muted); }
.shot-drop.over { border-color: var(--c-hi); color: var(--c-hi); }
.post-embed { margin-top: 14px; background: #fff; }
.post-embed iframe { width: 100%; height: 640px; border: 0; display: block; }
.ck-sum { margin: 0 0 10px; color: var(--muted); } .ck-sum b { color: var(--fg); }
.ck-h { margin: 16px 0 6px; font-family: var(--cg); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; }
.ck-h.ck-bad { color: var(--c-accent); } .ck-h.ck-warn { color: var(--c-hi); } .ck-h.ck-info { color: var(--muted); }
.ck-row { display: flex; gap: 10px; align-items: center; padding: 8px 10px; margin-bottom: 6px; background: var(--base); border-left: 4px solid var(--line); }
.ck-row.ck-bad { border-left-color: var(--c-accent); } .ck-row.ck-warn { border-left-color: var(--c-hi); }
.ck-main { flex: 1; min-width: 0; } .ck-t { font-weight: 600; color: var(--fg); text-decoration: none; } .ck-t:hover { color: var(--c-hi); }
.ck-x { color: var(--muted); font-size: 13px; margin-top: 2px; }
.ck-ok { padding: 24px; text-align: center; color: var(--green); font-family: var(--cg); font-size: 20px; }

/* phone cam row in Host view */
.live-ctl .ctl.camrow { margin-top: 8px; align-items: center; }
.live-ctl .ctl.camrow .camlbl { font-family: var(--cg); text-transform: uppercase; color: var(--c-accent); margin-right: 10px; animation: camblink 1.2s steps(2) infinite; }
@keyframes camblink { 50% { opacity: .55; } }

/* call-in line (Host view) */
.callbox { margin-bottom: 10px; background: var(--surface); }
.callbox .panel-h { display: flex; align-items: center; gap: 8px; }
.callbox .btn.on { background: var(--c-box2); color: var(--c-edge); }
.cl-ring { color: var(--c-accent); font-family: var(--cg); text-transform: uppercase; animation: camblink 1s steps(2) infinite; }
.cl-row { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-left: 4px solid var(--line); margin: 4px 0; background: var(--base); }
.cl-row.live { border-left-color: var(--c-accent); } .cl-row.hold { border-left-color: var(--c-hi); opacity: .85; }
.cl-row.waiting { border-left-color: var(--c-box2); }
.cl-main { flex: 1; min-width: 0; } .cl-main b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-main .muted { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-empty { padding: 8px 10px; font-size: 13px; }

.cl-warn { color: var(--yellow); font-family: var(--cg); text-transform: uppercase; font-weight: 700; font-size: .85em; margin-right: .6em; }

/* Host view: vidvoid.com chat + polls */
.vc-poll { border: 1px solid var(--line); padding: 8px; margin-bottom: 10px; display: grid; gap: 6px; }
.vc-pq { font-weight: 700; }
.vc-bar { position: relative; display: flex; justify-content: space-between; padding: 4px 8px; border: 1px solid var(--line); overflow: hidden; }
.vc-bar i { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--pink) 25%, transparent); }
.vc-bar span, .vc-bar b { position: relative; }
.vc-pform { display: grid; gap: 6px; }
.vc-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.vc-last { font-size: 13px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vc-log { max-height: 46vh; overflow-y: auto; display: grid; gap: 2px; margin-top: 6px; }
.vc-msg { text-align: left; background: none; border: 1px solid transparent; color: var(--fg); padding: 4px 6px; font: inherit; font-size: 14px; cursor: pointer; overflow-wrap: anywhere; }
.vc-msg:hover { border-color: var(--line); }
.vc-msg.on { border-color: var(--pink); background: color-mix(in srgb, var(--pink) 12%, transparent); }
.vc-msg b { color: var(--cyan); }
.vc-msg b.host { color: var(--pink); }
.vc-msg b.mod { color: var(--yellow); }

/* running time + storage */
#runtime.over { border-color: var(--pink); color: var(--pink); }
.rt-table { width: 100%; border-collapse: collapse; margin: 12px 0 6px; font-size: 13px; }
.rt-table th, .rt-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.rt-table th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; opacity: .7; cursor: default; }
.rt-table tfoot td { border-bottom: 0; font-weight: 600; }
.rt-table tr.over td { color: var(--pink); }
.rt-table th.sortable { cursor: pointer; } .rt-table th.sortable:hover { opacity: 1; }
.warn-t { font-size: 11.5px; color: var(--pink); }
.disk-bar { height: 14px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; display: flex; margin: 8px 0; }
.disk-bar i { display: block; height: 100%; }
.disk-bar .m { background: var(--cyan); } .disk-bar .o { background: rgba(255,255,255,.25); }
.disk-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.disk-legend .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.cleared-box { margin: 10px 0; padding: 10px 12px; border: 1px dashed rgba(255,255,255,.25); border-radius: 8px; font-size: 13px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
