:root {
    --bg: #0e0f13; --panel: #161821; --panel-2: #1d2030; --border: #272b3a;
    --text: #e8eaf0; --muted: #9098aa; --accent: #fe2c55; --accent-2: #25f4ee;
    --ok: #3ddc84; --warn: #f5b942; --radius: 10px;
    color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 22px; margin: 0; line-height: 1.25; }
h2 { font-size: 15px; margin: 0 0 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
section { margin-bottom: 28px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 24px 16px 60px; }

.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 10px 20px; background: rgba(14,15,19,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.topbar nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.topbar nav a, .linkbtn { color: var(--muted); padding: 6px 10px; border-radius: 8px; font: inherit; background: none; border: 0; cursor: pointer; }
.topbar nav a:hover, .linkbtn:hover { color: var(--text); background: var(--panel-2); text-decoration: none; }
.topbar nav a.active { color: var(--text); background: var(--panel-2); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); font-size: 16px; }
.brand.big { font-size: 22px; justify-content: center; margin-bottom: 20px; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(254,44,85,.25); }

.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.panel.flush { padding: 0; overflow: hidden; }
.panel.narrow { max-width: 460px; }
.panel p { margin: 0 0 8px; }
.grid-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.actions { display: flex; gap: 10px; align-items: center; }
.flash { background: rgba(37,244,238,.08); border: 1px solid rgba(37,244,238,.3); padding: 10px 14px; border-radius: var(--radius); margin-bottom: 20px; }
.error { color: #ff8095; font-size: 13px; }
.empty { color: var(--muted); text-align: center; padding: 28px !important; }

input, textarea, select { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; width: 100%; }
select { width: auto; }
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(37,244,238,.4); border-color: transparent; }
textarea { resize: vertical; }
label { display: grid; gap: 4px; color: var(--muted); font-size: 13px; }
label.check { display: inline-flex; align-items: center; gap: 6px; }
label.check input { width: auto; }
.stack { display: grid; gap: 12px; }
.inline { display: inline; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 600; color: var(--text);
    background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 14px; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: #3a3f55; text-decoration: none; }
.btn.small { padding: 4px 10px; font-size: 13px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { background: #3a1520; border-color: #6d2436; color: #ff9aac; }
.btn.danger-outline { background: none; border-color: #6d2436; color: #ff9aac; }
.btn.disabled { opacity: .4; pointer-events: none; }

.pill, .badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
    background: var(--panel-2); color: var(--muted); border: 1px solid var(--border); white-space: nowrap; }
.pill.ok { color: var(--ok); border-color: rgba(61,220,132,.35); }
.pill.bad { color: #ff8095; border-color: rgba(255,128,149,.4); }
.badge.recording, .badge.live { color: #fff; background: var(--accent); border-color: var(--accent); }
.badge.recording::before, .badge.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.badge.processing, .badge.warn { color: var(--warn); border-color: rgba(245,185,66,.4); }
.badge.completed { color: var(--ok); border-color: rgba(61,220,132,.35); }
.badge.failed { color: #ff8095; border-color: rgba(255,128,149,.4); }
@keyframes pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .badge::before { animation: none !important; } }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table th { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; background: var(--panel-2); }
.table tr:last-child td { border-bottom: 0; }
.table .clip { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rowlink { cursor: pointer; } .rowlink:hover td { background: rgba(255,255,255,.02); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.sub { color: var(--muted); font-size: 12px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.card { display: block; color: var(--text); background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.card:hover { border-color: var(--accent); text-decoration: none; }
.card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.card .title { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 10px; }
.card .nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.num b { display: block; font-size: 17px; } .num span { color: var(--muted); font-size: 11px; }
.cards .empty-card { color: var(--muted); padding: 20px; border: 1px dashed var(--border); border-radius: var(--radius); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-bottom: 16px; }
.stat { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; }
.stat b { display: block; font-size: 20px; } .stat span { color: var(--muted); font-size: 12px; }

.live-layout { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 16px; align-items: start; }
.video-col { display: grid; gap: 10px; position: sticky; top: 64px; }
.video-box { aspect-ratio: 9 / 16; max-height: calc(100vh - 220px); display: grid; place-items: center; background: #000; }
.video-box video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-box .placeholder { color: var(--muted); padding: 24px; text-align: center; }
.parts { display: flex; gap: 6px; flex-wrap: wrap; }
.parts:empty { display: none; }
.downloads { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.downloads b { width: 100%; }

.data-col { display: flex; flex-direction: column; height: calc(100vh - 170px); min-height: 480px; }
.tabs { display: flex; border-bottom: 1px solid var(--border); overflow-x: auto; background: var(--panel-2); }
.tabs button { font: inherit; font-weight: 600; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 16px; cursor: pointer; white-space: nowrap; }
.tabs button.active { color: var(--text); border-bottom-color: var(--accent); }
.count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--bg); font-size: 11px; color: var(--muted); }
.toolbar { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.toolbar input[type=search] { flex: 1; min-width: 160px; width: auto; }
.pane { flex: 1; overflow-y: auto; padding: 6px 0; }
.pane .empty { padding: 40px 20px; }
.more { display: block; margin: 12px auto; }

.line { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 5px 16px; }
.line:hover { background: rgba(255,255,255,.03); }
.ts { color: var(--accent-2); font-variant-numeric: tabular-nums; font-size: 12px; padding-top: 2px; cursor: pointer; background: none; border: 0; font-family: inherit; text-align: left; }
.ts:hover { text-decoration: underline; }
.who { font-weight: 600; } .who .nick { color: var(--muted); font-weight: 400; margin-left: 4px; }
.chat-line .text { overflow-wrap: anywhere; }

.group { border-bottom: 1px solid var(--border); }
.group summary { display: flex; align-items: center; gap: 10px; padding: 10px 16px; cursor: pointer; list-style: none; }
.group summary::-webkit-details-marker { display: none; }
.group summary:hover { background: rgba(255,255,255,.03); }
.avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff; flex: none; }
.group .meta { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group .line { padding-left: 54px; }
.hl { background: rgba(245,185,66,.3); color: inherit; border-radius: 2px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 16px; }

@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; }
    /* live page: player + timeline stay pinned while the transcript scrolls underneath */
    .live-layout { display: flex; flex-direction: column; gap: 10px; }
    .video-col { display: contents; }
    .player-sticky { order: 1; position: sticky; top: var(--topbar-h, 56px); z-index: 6; display: grid; gap: 6px; background: var(--bg); padding: 4px 0 6px; }
    .parts { order: 2; }
    .data-col { order: 3; height: 72vh; min-height: 380px; }
    .downloads { order: 4; }
    .video-box { aspect-ratio: auto; height: 34vh; max-height: none; width: 100%; }
    .video-box.audio-only { height: 84px; }
    .timeline-panel { padding: 8px 10px; }
}


/* watch-along: timeline, active line, search navigation */
.timeline-panel { padding: 10px 12px; }
.timeline { position: relative; height: 18px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); cursor: pointer; overflow: hidden; }
.tl-done { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(37,244,238,.14); pointer-events: none; }
.tl-head { position: absolute; top: 0; bottom: 0; width: 2px; left: 0; background: var(--accent-2); pointer-events: none; }
.tl-marks i { position: absolute; top: 2px; bottom: 2px; width: 3px; margin-left: -1px; border-radius: 2px; background: var(--warn); }
.tl-marks i.cur { background: var(--accent); top: 0; bottom: 0; width: 4px; }
.tl-info { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-variant-numeric: tabular-nums; flex-wrap: wrap; }
.tl-note { color: var(--warn); font-size: 12px; flex: 1; }
#go-live { margin-left: auto; }
.watch-btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.watch-btn:hover { filter: brightness(1.08); }
.search-nav { display: inline-flex; align-items: center; gap: 4px; }
.line.now { background: rgba(37,244,238,.10); box-shadow: inset 3px 0 0 var(--accent-2); }
.line.now .ts { font-weight: 700; }
.line.hit { background: rgba(245,185,66,.08); }
.line.hit.cur { background: rgba(245,185,66,.22); }
.line.future { opacity: .55; }

/* audio-only recordings: a compact player instead of a tall video frame */
.mode-pick { display: flex; gap: 16px; flex-wrap: wrap; }
.video-box.audio-only { aspect-ratio: auto; height: 96px; position: relative; }
.video-box.audio-only::before { content: "Audio only"; position: absolute; top: 10px; left: 12px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.video-box.audio-only video { height: 54px; align-self: end; }

/* the hidden attribute must win over component display rules (.btn, .search-nav, ...) */
[hidden] { display: none !important; }


/* ---------------------------------------------------------------- phones */
@media (max-width: 640px) {
    :root { --topbar-h: 49px; }
    .topbar { flex-wrap: nowrap; padding: 8px 10px; gap: 8px; min-height: 49px; }
    .topbar nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0; }
    .topbar nav::-webkit-scrollbar { display: none; }
    .topbar nav a, .linkbtn { padding: 6px 8px; white-space: nowrap; font-size: 13px; }
    .brand { font-size: 14px; white-space: nowrap; }
    .wrap { padding: 14px 12px 40px; }
    h1 { font-size: 18px; }
    section { margin-bottom: 20px; }
    .page-head { margin-bottom: 12px; gap: 10px; }
    .panel { padding: 12px; }
    input, textarea, select { font-size: 16px; }     /* stops iOS zooming into fields */
    .btn.small { min-height: 34px; }
    .flash { margin-bottom: 12px; }

    .stats { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
    .stat { padding: 7px 9px; }
    .stat b { font-size: 15px; line-height: 1.3; }
    .stat span { font-size: 11px; }
    .cards .nums { grid-template-columns: repeat(2, 1fr); }

    .tabs button { padding: 10px 11px; font-size: 13px; }
    .toolbar { padding: 8px; gap: 6px; }
    .line { grid-template-columns: 54px 1fr; gap: 8px; padding: 6px 12px; }
    .group .line { padding-left: 20px; }
    .group summary { padding: 10px 12px; }

    /* tables become cards */
    .table.cards-mobile thead { display: none; }
    .table.cards-mobile, .table.cards-mobile tbody { display: block; }
    .table.cards-mobile tr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
    .table.cards-mobile tr:last-child { border-bottom: 0; }
    .table.cards-mobile td { display: block; padding: 0; border: 0; order: 2; }
    .table.cards-mobile td.cell-main { order: 0; flex: 1 1 55%; min-width: 0; }
    .table.cards-mobile td.cell-badge { order: 0; }
    .table.cards-mobile td.cell-sub { order: 1; flex: 1 1 100%; max-width: none; white-space: normal; color: var(--muted); }
    .table.cards-mobile td.cell-actions { order: 3; flex: 1 1 100%; }
    .table.cards-mobile td.cell-num { display: none; }
    .table.cards-mobile td.empty { flex: 1 1 100%; }
    .table.cards-mobile td[data-label]::before { content: attr(data-label); display: block; font-size: 10px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
    .table.cards-mobile .row-actions { justify-content: flex-start; flex-wrap: wrap; }

    .dialog { width: calc(100vw - 24px); }
    .dialog-actions { flex-direction: column; }
    .dialog-actions .btn { width: 100%; }
}

/* stop-monitoring dialog */
.dialog { border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); color: var(--text); padding: 20px; max-width: 460px; }
.dialog::backdrop { background: rgba(0, 0, 0, .6); }
.dialog h3 { margin: 0 0 8px; font-size: 17px; }
.dialog p { margin: 0 0 16px; }
.dialog-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.row-actions { flex-wrap: wrap; }

@media (max-width: 640px) {
    .brand { flex: none; }
    .topbar nav { flex: 1 1 auto; min-width: 0; justify-content: flex-start; }
    .topbar nav form { flex: none; }
}

@media (max-width: 900px) {
    .live-layout { align-items: stretch; min-width: 0; }
    .live-layout > *, .player-sticky > *, .data-col, .data-col > * { min-width: 0; max-width: 100%; }
    .data-col { width: 100%; }
}

.pane { position: relative; }

/* TikTok login page */
.account-row { display: flex; gap: 12px; align-items: center; }
.account-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.qr-area { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 16px; }
.qr-box { width: 220px; height: 220px; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.qr-wait { color: #555; font-size: 13px; text-align: center; padding: 16px; }
.qr-wait.ok { color: #1a9e55; font-size: 64px; }
.qr-message { margin: 10px 0 6px; font-weight: 600; }
.qr-message.ok { color: var(--ok); } .qr-message.error { color: #ff8095; }
.qr-steps { padding-left: 18px; margin: 6px 0 12px; }

.qr-box { padding: 14px; }

/* suspicious-activity flags */
.flag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #1b1300; background: var(--warn); vertical-align: 1px; }
.suspect { display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); align-items: flex-start; }
.suspect .score { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #1b1300; }
.suspect .score.smid { background: var(--warn); }
.suspect .score.shi { background: #ff6b81; color: #fff; }
.suspect-body { min-width: 0; }
.reasons { display: flex; flex-wrap: wrap; gap: 4px; margin: 5px 0 3px; }
.reason { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); }

/* ---------------------------------------------------------------- footer, password screens */
.site-foot { text-align: center; padding: 0 16px 28px; font-size: 12px; }
.site-foot a { color: #5d6478; }
.lock-card { max-width: 400px; margin: 8vh auto 0; padding: 28px; text-align: center; }
.lock-card .stack { text-align: left; margin-top: 18px; }
.lock-card p { margin: 8px 0 0; }
.lock-icon { font-size: 44px; line-height: 1; margin-bottom: 10px; }
.pw { position: relative; display: block; }
.pw input { padding-right: 42px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; font-size: 16px; opacity: .7; }
.lockbar { font-size: 13px; }
.lockbar summary { cursor: pointer; color: var(--ok); list-style: none; }
.lockbar summary::-webkit-details-marker { display: none; }
.lockbar-body { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.lockbar-change { display: flex; gap: 6px; flex-wrap: wrap; }
.lockbar-change input { width: 150px; padding: 5px 8px; }
body.modal-open { overflow: hidden; }
.rec-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.ok-text { color: var(--ok); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #474d61; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 3px rgba(61,220,132,.2); animation: pulse 1.6s infinite; }

/* ---------------------------------------------------------------- watch live now */
.watch { padding: 0; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); color: var(--text);
    width: min(1280px, 96vw); height: min(860px, 92vh); max-width: none; max-height: none; overflow: hidden; }
.watch[open] { display: flex; flex-direction: column; }
.watch::backdrop { background: rgba(0,0,0,.75); backdrop-filter: blur(3px); }
.watch-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--panel); }
.watch-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.watch-title .clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.watch-head-right { display: flex; align-items: center; gap: 10px; flex: none; }
.live-tag { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .06em; }
.watch-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(300px, 1fr) minmax(340px, 460px); }
.watch-player { display: flex; flex-direction: column; min-height: 0; background: #000; }
.w-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; }
.w-stage video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.w-stage video.hidden-video { position: absolute; width: 1px; height: 1px; opacity: 0; }
.w-audio { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 24px; }
.w-avatar { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-size: 44px;
    background: radial-gradient(circle at 30% 30%, #ff5c7c, var(--accent) 45%, #7a1330); box-shadow: 0 0 0 6px rgba(254,44,85,.18), 0 0 40px rgba(254,44,85,.35); }
.w-eq { display: flex; gap: 5px; align-items: flex-end; height: 42px; }
.w-eq i { width: 7px; height: 8px; border-radius: 3px; background: linear-gradient(var(--accent-2), var(--accent)); }
.w-stage.playing .w-eq i { animation: eq 0.9s ease-in-out infinite alternate; }
.w-eq i:nth-child(2) { animation-delay: .15s !important; } .w-eq i:nth-child(3) { animation-delay: .3s !important; }
.w-eq i:nth-child(4) { animation-delay: .05s !important; } .w-eq i:nth-child(5) { animation-delay: .4s !important; }
.w-eq i:nth-child(6) { animation-delay: .22s !important; } .w-eq i:nth-child(7) { animation-delay: .35s !important; }
@keyframes eq { 0% { height: 8px; } 100% { height: 42px; } }
.w-tap { position: absolute; inset: auto auto 50% 50%; transform: translate(-50%, 50%); font: inherit; font-size: 18px; font-weight: 700; color: #fff;
    background: var(--accent); border: 0; border-radius: 999px; padding: 14px 26px; cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
.w-msg { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 10px 14px; border-radius: 10px; background: rgba(22,24,33,.92); border: 1px solid var(--border); text-align: center; }
.w-controls { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--panel); border-top: 1px solid var(--border); flex-wrap: wrap; }
.w-controls input[type=range] { width: 110px; padding: 0; accent-color: var(--accent); }
.w-mode { display: inline-flex; gap: 4px; }
.w-src { flex: 1; min-width: 120px; }
.watch-side { display: flex; flex-direction: column; min-height: 0; border-radius: 0; border-width: 0 0 0 1px; position: relative; }
.watch-side .tabs { flex-wrap: wrap; overflow: visible; }
.watch-side .tabs button { padding: 8px 10px; font-size: 13px; }
.w-pane { padding: 4px 0; }
.w-row { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 5px 14px; overflow-wrap: anywhere; }
.w-row:hover { background: rgba(255,255,255,.03); }
.w-time { color: var(--accent-2); font-variant-numeric: tabular-nums; font-size: 12px; padding-top: 2px; }
.w-more { padding: 6px 14px; }
.w-note { padding: 8px 12px; font-size: 12px; line-height: 1.45; color: #f6d690; background: rgba(245,185,66,.08); border-bottom: 1px solid rgba(245,185,66,.25); }
.w-newpill { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font: inherit; font-weight: 700; font-size: 13px; color: #fff;
    background: var(--accent); border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
#w-fun { padding: 12px; }
@media (max-width: 900px) {
    .watch { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; }
    .watch-body { grid-template-columns: 1fr; grid-template-rows: minmax(160px, 38%) 1fr; }
    .watch-side { border-width: 1px 0 0; }
    .w-src { display: none; }
    .w-controls input[type=range] { width: 80px; }
}

/* ---------------------------------------------------------------- 🔎 fun search */
.fun-page { max-width: 980px; margin: 0 auto; }
.fun-hero { text-align: center; padding: 10px 0 18px; }
.fun-emoji { font-size: 52px; display: inline-block; animation: wobble 2.6s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(10deg) scale(1.08); } }
.fun-title { font-size: 40px; font-weight: 900; letter-spacing: -.02em; margin: 4px 0 6px;
    background: linear-gradient(90deg, var(--accent-2), #a78bfa 45%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fun-sub { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 15px; }
.fun-accounts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.fun-chip { display: inline-flex; align-items: center; gap: 8px; font: inherit; color: var(--text); background: var(--panel); border: 2px solid var(--border);
    border-radius: 999px; padding: 5px 14px 5px 5px; cursor: pointer; text-align: left; transition: transform .15s, border-color .15s; }
.fun-chip:hover { transform: translateY(-2px); }
.fun-chip.on { border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(37,244,238,.12); }
.fun-chip .sub { display: block; line-height: 1.1; }
.fun-box { position: relative; }
.fun-form { display: grid; gap: 8px; justify-items: center; margin-bottom: 20px; }
.fun-input { display: flex; gap: 8px; width: 100%; max-width: 620px; padding: 6px; border-radius: 16px;
    background: linear-gradient(var(--panel), var(--panel)) padding-box, linear-gradient(90deg, var(--accent-2), #a78bfa, var(--accent)) border-box; border: 2px solid transparent; }
.fun-input input { border: 0; background: transparent; font-size: 18px; padding: 10px 12px; }
.fun-input input:focus { outline: none; }
.fun-go { background: linear-gradient(90deg, var(--accent), #ff7a59); border: 0; color: #fff; font-size: 16px; padding: 10px 18px; border-radius: 12px; }
.fun-go:hover { filter: brightness(1.1); transform: scale(1.03); }
.fun-hint, .fun-loading, .fun-empty { text-align: center; color: var(--muted); padding: 18px; font-size: 15px; }
.fun-loading span { display: inline-block; animation: wobble .8s ease-in-out infinite; }
.fun-score { position: relative; text-align: center; padding: 22px 16px 18px; border-radius: 20px; margin-bottom: 14px; overflow: hidden;
    background: radial-gradient(circle at 50% 0, rgba(167,139,250,.22), transparent 60%), var(--panel); border: 1px solid var(--border); }
.fun-score.yes { box-shadow: 0 10px 40px rgba(254,44,85,.12); }
.fun-big-emoji { font-size: 48px; line-height: 1; animation: pop .5s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.fun-count { font-size: 76px; font-weight: 900; line-height: 1.05; font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #fff, #c9b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fun-times { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--muted); font-weight: 700; }
.fun-line { margin-top: 10px; font-size: 16px; }
.fun-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 16px; }
.fun-stat { padding: 6px 12px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); font-size: 13px; }
.fun-bars-head { display: flex; justify-content: space-between; align-items: center; margin: 4px 2px 8px; color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.fun-bars { display: grid; gap: 8px; }
.fun-live { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.fun-live[open] { border-color: #3a3f55; }
.fun-live summary { display: grid; grid-template-columns: 34px minmax(140px, 1.2fr) 2fr auto; gap: 10px; align-items: center; padding: 10px 14px; cursor: pointer; list-style: none; }
.fun-live summary::-webkit-details-marker { display: none; }
.fun-live summary:hover { background: rgba(255,255,255,.03); }
.fun-medal { font-size: 22px; text-align: center; }
.fun-live-name { min-width: 0; display: grid; }
.fun-live-name .clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fun-bar { height: 14px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.fun-bar i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, var(--accent-2), #a78bfa, var(--accent)); animation: grow .8s ease-out both; }
@keyframes grow { from { width: 0; } }
.fun-n { font-weight: 900; font-size: 18px; font-variant-numeric: tabular-nums; min-width: 48px; text-align: right; }
.fun-mentions { border-top: 1px solid var(--border); padding: 6px 0 12px; display: grid; gap: 2px; }
.fun-mentions > .btn { justify-self: start; margin: 8px 14px 0; }
.fun-mention { display: grid; grid-template-columns: 76px 150px 1fr; gap: 10px; padding: 6px 14px; align-items: baseline; }
.fun-mention:hover { background: rgba(255,255,255,.03); }
.fun-text { overflow-wrap: anywhere; }
.fun-hl { background: linear-gradient(90deg, rgba(37,244,238,.35), rgba(254,44,85,.35)); color: #fff; border-radius: 4px; padding: 0 2px; font-weight: 700; }
.fun-x { font-size: 11px; font-weight: 800; color: var(--warn); }
.fun-foot { text-align: center; margin-top: 14px; }
.fun-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.fun-confetti span { position: absolute; bottom: -30px; animation: confetti 1.8s ease-out forwards; }
@keyframes confetti { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--dx), -320px) rotate(var(--rot)); opacity: 0; } }
.fun-box.compact .fun-input input { font-size: 15px; }
.fun-box.compact .fun-count { font-size: 54px; }
.fun-box.compact .fun-big-emoji { font-size: 36px; }
.fun-box.compact .fun-live summary { grid-template-columns: 28px 1fr auto; }
.fun-box.compact .fun-bar { grid-column: 2 / 4; grid-row: 2; }
.fun-box.compact .fun-mention { grid-template-columns: 70px 1fr; }
.fun-box.compact .fun-when { display: none; }
@media (max-width: 640px) {
    .fun-title { font-size: 30px; }
    .fun-count { font-size: 56px; }
    .fun-input { flex-direction: column; }
    .fun-live summary { grid-template-columns: 28px 1fr auto; }
    .fun-bar { grid-column: 2 / 4; grid-row: 2; }
    .fun-mention { grid-template-columns: 70px 1fr; }
    .fun-when { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .fun-emoji, .fun-loading span, .fun-big-emoji, .fun-bar i, .rec-dot, .dot.on, .w-stage.playing .w-eq i { animation: none !important; }
}

/* ---------------------------------------------------------------- visitor log */
.sd-row.open td { background: rgba(37,244,238,.05); }
.sd-detail td { background: var(--bg); padding: 14px 16px; }
.sd-grid { display: grid; grid-template-columns: minmax(260px, 1fr) 1.4fr; gap: 20px; }
.sd-grid h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 8px; }
.sd-grid h3:not(:first-child) { margin-top: 16px; }
.sd-dev { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--border); }
.sd-dev .dot { margin-top: 6px; flex: none; }
.sd-dev .ua { opacity: .7; word-break: break-all; margin-top: 2px; }
.sd-visits th, .sd-visits td { padding: 5px 8px; font-size: 12px; }
.sd-events { max-height: 460px; overflow-y: auto; border: 1px solid var(--border); border-radius: 8px; }
.sd-ev { display: grid; grid-template-columns: 140px 24px 1fr; gap: 6px; padding: 6px 10px; border-bottom: 1px solid var(--border); align-items: baseline; font-size: 13px; }
.sd-ev:last-child { border-bottom: 0; }
.sd-ev-t { font-variant-numeric: tabular-nums; }
.sd-events + .btn, .sd-events .btn { margin: 8px; }
@media (max-width: 900px) {
    .sd-grid { grid-template-columns: 1fr; }
    .sd-ev { grid-template-columns: 1fr; gap: 0; }
    .sd-ev-i { display: none; }
    .table.cards-mobile tr.sd-detail { padding: 0; }
    .table.cards-mobile tr.sd-detail td { flex: 1 1 100%; padding: 12px; }
}

/* ---------------------------------------------------------------- watch popup: who's on stage */
.w-onstage { background: var(--panel); border-top: 1px solid var(--border); padding: 8px 12px; display: grid; gap: 6px; }
.w-onstage-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.w-onstage-title { font-weight: 700; }
.w-speaking { flex: 1; min-width: 0; }
.guess-tag { font: inherit; font-size: 11px; font-weight: 700; color: var(--warn); background: rgba(245,185,66,.1); border: 1px solid rgba(245,185,66,.4);
    border-radius: 999px; padding: 1px 8px; cursor: pointer; }
.w-guess-text { font-size: 12px; line-height: 1.45; color: #f6d690; }
.w-seats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.w-seat { flex: 0 0 auto; display: flex; gap: 8px; align-items: center; padding: 6px 10px 6px 6px; border-radius: 12px; background: var(--panel-2);
    border: 1px solid var(--border); min-width: 150px; transition: border-color .2s, box-shadow .2s; }
.w-seat.talking { border-color: var(--ok); box-shadow: 0 0 0 2px rgba(61,220,132,.25); }
.w-seat.muted { opacity: .7; }
.w-seat-av { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.w-seat.talking .w-seat-av { box-shadow: 0 0 0 calc(2px + var(--lvl) * 6px) rgba(61,220,132,.45); animation: speak .6s ease-in-out infinite alternate; }
@keyframes speak { from { transform: scale(1); } to { transform: scale(1.07); } }
.w-seat-body { display: grid; gap: 1px; min-width: 0; }
.w-seat-name { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.w-seat-meta { font-size: 11px; color: var(--muted); white-space: nowrap; }
.host-tag { font-size: 9px; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--accent); border-radius: 4px; padding: 0 4px; vertical-align: 1px; }
.w-meter { display: block; height: 4px; border-radius: 99px; background: var(--bg); overflow: hidden; width: 100%; }
.w-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--ok), var(--accent-2)); transition: width .4s; }
.w-grid { position: absolute; pointer-events: none; }
.w-box { position: absolute; border: 2px solid transparent; border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.w-box.talking { border-color: var(--ok); box-shadow: 0 0 18px rgba(61,220,132,.55), inset 0 0 12px rgba(61,220,132,.25); }
.w-box-name { position: absolute; left: 4px; bottom: 4px; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff;
    max-width: calc(100% - 8px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-box.talking .w-box-name { background: var(--ok); color: #06210f; }
.w-unseated { font-size: 12px; }
@media (max-width: 900px) {
    .w-onstage { padding: 6px 10px; }
    .w-seat { min-width: 128px; padding: 4px 8px 4px 4px; }
    .w-seat-av { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .w-seat.talking .w-seat-av { animation: none; } }
.w-seat-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.w-seat-av.mini { width: 20px; height: 20px; font-size: 10px; display: inline-grid; vertical-align: middle; margin-right: 4px; }
.w-seat-user { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.w-seat-user a { color: var(--muted); }
.w-seat-user a:hover { color: var(--accent-2); }
.w-loose { display: inline-flex; align-items: center; margin-right: 10px; }

/* people in lists: profile picture + display name + @username */
.who { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; vertical-align: middle; }
.person { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.pav { width: 28px; height: 28px; border-radius: 50%; flex: none; display: inline-grid; place-items: center; overflow: hidden;
    font-size: 12px; font-weight: 800; color: #fff; }
.pav img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pnames { display: grid; min-width: 0; line-height: 1.2; text-align: left; }
.pdisp { font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.puser { font-size: 11px; font-weight: 400; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a:hover .pdisp { color: var(--accent-2); }
.cmt { display: grid; gap: 3px; min-width: 0; }
.cmt .text { padding-left: 36px; overflow-wrap: anywhere; }
.chat-line { align-items: start; }
.w-row .cmt .text { padding-left: 36px; }
.suspect-body .who { margin-bottom: 2px; }
.group summary .meta { display: flex; }
@media (min-width: 901px) { .w-seats { flex-wrap: wrap; overflow: visible; } .w-seat { flex: 1 1 150px; max-width: 240px; } }

/* who said it (guess) */
.speaker { display: inline-flex; align-items: center; gap: 5px; margin: 0 6px 2px 0; padding: 1px 8px 1px 2px; border-radius: 999px;
    background: var(--panel-2); border: 1px solid var(--border); font-size: 12px; vertical-align: 1px; max-width: 100%; }
.speaker .avatar, .speaker img { width: 18px; height: 18px; font-size: 10px; }
.speaker b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 14em; }
.speaker b small { color: var(--muted); font-weight: 400; }
.speaker i { font-style: normal; color: var(--warn); font-weight: 700; }
.speaker.unsure { opacity: .72; border-style: dashed; }
.speaker .sp-or { color: var(--muted); }
.seat-no { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10px; font-weight: 700;
    background: var(--border); color: var(--text); }

/* transcript tools on a finished recording */
.tx-tools { width: 100%; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--border); padding-top: 8px; margin-top: 2px; }
.tx-tools b { width: 100%; }
.tx-tools .sub { width: 100%; }
.tx-tools .btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------------------------------------------------------------- the player */
.player { padding: 12px 14px 10px; display: grid; gap: 8px; }
.np { display: flex; align-items: flex-start; gap: 8px; min-height: 38px; font-size: 13px; line-height: 1.45; }
.np-tag { flex: none; margin-top: 1px; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--accent-2); border: 1px solid rgba(37,244,238,.35); }
.np-text { color: var(--text); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.player .timeline { height: 10px; border-radius: 999px; overflow: visible; }
.player .timeline:hover { height: 14px; margin: -2px 0; }
.player .tl-done { border-radius: 999px; background: linear-gradient(90deg, rgba(37,244,238,.35), rgba(37,244,238,.6)); }
.player .tl-head { width: 14px; height: 14px; top: 50%; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff;
    box-shadow: 0 0 0 3px rgba(37,244,238,.45); }
.tl-hover { position: absolute; bottom: calc(100% + 8px); transform: translateX(-50%); z-index: 3; pointer-events: none; width: max-content;
    max-width: 260px; padding: 5px 9px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(0,0,0,.35); font-size: 12px; display: grid; gap: 2px; }
.tl-hover b { color: var(--accent-2); font-variant-numeric: tabular-nums; }
.tl-hover span { color: var(--muted); white-space: normal; }
.pc-times { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pc-times #tl-now { color: var(--text); }
.pc-times .tl-note { flex: 1; text-align: center; }
.pc-controls { display: flex; align-items: center; justify-content: center; gap: 10px; }
.pc-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--panel-2); color: var(--text);
    display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .15s, border-color .15s, transform .1s; }
.pc-btn:hover { border-color: var(--accent-2); }
.pc-btn:active, .pc-play:active { transform: scale(.94); }
.pc-btn svg { width: 20px; height: 20px; fill: currentColor; }
.pc-btn svg text { font-size: 6.5px; font-weight: 700; fill: currentColor; font-family: system-ui, sans-serif; }
.pc-btn.small { width: 32px; height: 32px; }
.pc-btn.small svg { width: 17px; height: 17px; }
.pc-play { width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center;
    cursor: pointer; box-shadow: 0 4px 16px rgba(254,44,85,.35); transition: transform .1s, filter .15s; }
.pc-play:hover { filter: brightness(1.08); }
.pc-play svg { width: 26px; height: 26px; fill: currentColor; }
.pc-play .i-pause, .pc-play.is-playing .i-play { display: none; }
.pc-play.is-playing .i-pause { display: block; }
.pc-extra { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pc-speed select { padding: 5px 8px; font-size: 13px; border-radius: 999px; }
.pc-vol { display: inline-flex; align-items: center; gap: 6px; }
.pc-vol input { width: 90px; accent-color: var(--accent-2); padding: 0; border: 0; background: none; }
.player .i-muted, .player.is-muted .i-vol { display: none; }
.player.is-muted .i-muted { display: block; }
.pc-extra #go-live { margin-left: auto; }
.player .parts { display: flex; gap: 0; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; width: max-content; max-width: 100%; }
.player .parts:empty { display: none; }
.part-btn { font: inherit; font-size: 12px; font-weight: 600; padding: 4px 12px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.part-btn + .part-btn { border-left: 1px solid var(--border); }
.part-btn.on { background: var(--accent); color: #fff; }
/* the media itself: video shows and is clickable; audio-only gets a card with level bars */
.video-box video { cursor: pointer; }
.audio-card { display: none; }
.video-box.audio-only { aspect-ratio: auto; height: auto; min-height: 84px; padding: 14px 16px; background: linear-gradient(135deg, #1b1d2a, #0f1016); }
.video-box.audio-only video { display: none; }
.video-box.audio-only .audio-card { display: flex; align-items: center; gap: 14px; width: 100%; }
.ac-text { display: grid; gap: 2px; min-width: 0; }
.ac-text b { font-size: 15px; }
.ac-text span { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-eq { flex: none; display: flex; align-items: flex-end; gap: 3px; width: 44px; height: 36px; }
.ac-eq i { flex: 1; height: 20%; border-radius: 2px; background: var(--accent-2); opacity: .55; }
.video-box.is-playing .ac-eq i { opacity: 1; animation: eq 0.9s ease-in-out infinite; }
.video-box.is-playing .ac-eq i:nth-child(2) { animation-delay: -.3s; } .video-box.is-playing .ac-eq i:nth-child(3) { animation-delay: -.6s; }
.video-box.is-playing .ac-eq i:nth-child(4) { animation-delay: -.15s; } .video-box.is-playing .ac-eq i:nth-child(5) { animation-delay: -.45s; }
@keyframes eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .video-box.is-playing .ac-eq i { animation: none; height: 70%; } }
@media (max-width: 640px) {
    .player { padding: 8px 10px; gap: 6px; }
    .np { min-height: 0; font-size: 12px; }
    .np-text { -webkit-line-clamp: 1; }
    .pc-btn { width: 36px; height: 36px; } .pc-play { width: 48px; height: 48px; }
    .pc-vol input { width: 70px; }
    .video-box.audio-only { min-height: 64px; padding: 10px 12px; }
}

/* the audio card names itself; the old corner label is not needed */
.video-box.audio-only::before { content: none; display: none; }

/* ---------------------------------------------------------------- wider, adjustable player column */
.live-layout { grid-template-columns: var(--player-w, 520px) 14px minmax(0, 1fr); gap: 0; }
.live-layout > .data-col { margin-left: 2px; }
.col-split { align-self: stretch; cursor: col-resize; display: flex; justify-content: center; touch-action: none; min-height: 200px; }
.col-split span { width: 4px; margin: 0 5px; border-radius: 4px; background: var(--border); transition: background .15s; }
.col-split:hover span, .col-split:focus-visible span, body.col-resizing .col-split span { background: var(--accent-2); }
.col-split:focus-visible { outline: none; }
body.col-resizing { cursor: col-resize; user-select: none; }
body.col-resizing * { cursor: col-resize !important; }
/* timeline: taller hit area, slides with the pointer */
.player .timeline { height: 12px; cursor: pointer; touch-action: none; }
.player .timeline::before { content: ""; position: absolute; inset: -10px 0; }   /* easier to grab */
.player .timeline:hover, .player .timeline.sliding { height: 16px; margin: -2px 0; }
.player .timeline.sliding .tl-head { transform: scale(1.25); }
.player .timeline:focus-visible { outline: 2px solid rgba(37,244,238,.5); outline-offset: 3px; }
@media (max-width: 900px) {
    .col-split { display: none; }
    .live-layout > .data-col { margin-left: 0; }
}

/* dashboard: server CPU / RAM */
.server-stats .stat { position: relative; padding-bottom: 14px; }
.meter { position: absolute; left: 14px; right: 14px; bottom: 7px; height: 3px; border-radius: 2px; background: var(--border); overflow: hidden; }
.meter > i { display: block; height: 100%; background: var(--accent-2); }
.meter.warn > i { background: #f5b942; } .meter.bad > i { background: var(--accent); }
