:root {
  --bg: #0d0b14;
  --panel: #1a1626;
  --panel2: #241e35;
  --line: #3a3150;
  --text: #f3eefc;
  --muted: #a99fc0;
  --accent: #ff3d5a;
  --accent2: #ffc83d;
  --ok: #3ddc84;
  --bad: #ff4d4d;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: radial-gradient(circle at 50% -20%, #3a1440 0, var(--bg) 60%) fixed var(--bg);
  color: var(--text);
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; }
a { color: var(--accent2); }
.hidden { display: none !important; }
.gap { height: 12px; }
.nf { text-align: center; padding-top: 18vh; }
.nf .logo { font-size: 4rem; }
.wrap { max-width: 640px; margin: 0 auto; padding: 20px 16px 40px; }
.wide { max-width: 1200px; }
.logo { font-weight: 900; letter-spacing: .02em; font-size: 1.6rem; text-transform: uppercase; }
.logo b { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 12px 0; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row > .grow { flex: 1 1 160px; }
label { display: block; font-size: .85rem; color: var(--muted); margin: 8px 0 4px; }
input, textarea, select {
  width: 100%; background: var(--panel2); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px; font: inherit;
}
textarea { min-height: 140px; resize: vertical; font-family: ui-monospace, Consolas, monospace; font-size: .9rem; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button {
  background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: 12px 16px;
  font: inherit; font-weight: 700; cursor: pointer; touch-action: manipulation;
}
button:hover { filter: brightness(1.1); }
button:disabled { opacity: .45; cursor: default; filter: none; }
button.ghost { background: var(--panel2); border: 1px solid var(--line); color: var(--text); }
button.ok { background: var(--ok); color: #062b16; }
button.bad { background: var(--bad); }
button.gold { background: var(--accent2); color: #2b1f00; }
button.sm { padding: 6px 10px; font-size: .85rem; border-radius: 8px; }
.big { font-size: 1.15rem; padding: 16px; width: 100%; }
.err { color: var(--bad); min-height: 1.3em; margin-top: 6px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.badge.live { color: var(--ok); border-color: var(--ok); }
.code { font-family: ui-monospace, Consolas, monospace; font-weight: 800; letter-spacing: .15em; color: var(--accent2); }

/* hearts */
.lives { color: var(--accent); letter-spacing: 1px; white-space: nowrap; }
.lives .lost { color: #4a3a55; }

/* question */
.question { font-size: 1.35rem; font-weight: 800; }
.qnum { color: var(--accent2); font-weight: 800; text-transform: uppercase; font-size: .85rem; letter-spacing: .08em; }
.solution { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #12301f; color: var(--ok); font-weight: 700; }

.timer { display: inline-block; font-weight: 900; font-variant-numeric: tabular-nums; font-size: 1.6rem; color: var(--accent2); }
.timer.low { color: var(--accent); animation: pulse 1s infinite; }
.timer.zero { animation: none; opacity: .6; }
@keyframes pulse { 50% { transform: scale(1.12); } }
.qhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.scr .timer { font-size: 3.2rem; text-shadow: 0 2px 8px #000; }

/* animations (one-shot classes set by fx.js) */
.fx-layer { position: fixed; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
.fx-tomato { position: fixed; left: 0; top: 0; font-size: 34px; will-change: transform; filter: drop-shadow(0 4px 6px #0008); }
.fx-splat { position: fixed; width: 46px; height: 46px; border-radius: 50%; background: #e2262f; box-shadow: inset -6px -6px 0 #b0141c; }
.fx-splat i { position: absolute; margin: 11px 0 0 11px; border-radius: 50%; background: #e2262f; }
.fx-float { position: fixed; font-weight: 900; font-size: 1.8rem; text-shadow: 0 2px 6px #000; }
.fx-float.ok { color: var(--ok); }
.fx-float.bad { color: var(--accent); }
.fx-confetti { position: fixed; top: 0; width: 9px; height: 14px; border-radius: 2px; }
.fx-pop { animation: fx-pop .45s cubic-bezier(.3,1.6,.5,1); }
.fx-in { animation: fx-in .5s cubic-bezier(.2,1.3,.4,1); }
.fx-reveal { animation: fx-pop .5s cubic-bezier(.3,1.6,.5,1); }
.fx-hit { animation: fx-shake .5s, fx-flash-bad .9s; }
.fx-wrong { animation: fx-shake .45s; }
.fx-correct { animation: fx-flash-ok .9s, fx-bounce .5s; }
.fx-splatted { animation: fx-shake .35s; }
.fx-out { animation: fx-out 1.2s ease-in both; }
.fx-win { animation: fx-win 1s ease-in-out 3; }
@keyframes fx-pop { from { transform: scale(.6); opacity: 0; } }
@keyframes fx-in { from { transform: translateY(-24px) scale(.96); opacity: 0; } }
@keyframes fx-shake { 20%, 60% { transform: translateX(-8px) rotate(-1deg); } 40%, 80% { transform: translateX(8px) rotate(1deg); } }
@keyframes fx-bounce { 40% { transform: scale(1.06); } }
@keyframes fx-flash-bad { 0%, 40% { box-shadow: 0 0 0 3px var(--accent), 0 0 24px var(--accent); } }
@keyframes fx-flash-ok { 0%, 40% { box-shadow: 0 0 0 3px var(--ok), 0 0 24px var(--ok); } }
@keyframes fx-out { 30% { transform: rotate(-6deg) scale(1.05); } 100% { transform: translateY(-14px) rotate(4deg) scale(.96); filter: grayscale(1); opacity: .4; } }
@keyframes fx-win { 50% { transform: scale(1.08); box-shadow: 0 0 0 3px var(--accent2), 0 0 30px var(--accent2); } }
.tomato-btn { background: none; border: 0; padding: 2px 4px; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.tomato-btn:active { transform: scale(.85); }
.tomato-btn:disabled { filter: grayscale(1); opacity: .4; }
.tcount { font-size: .8rem; color: #ff7a7a; white-space: nowrap; }
.chat-list li { animation: fx-in .25s ease-out; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }

/* player page: chat left of the player list on wide screens, below it on phones */
.wrap:has(#game:not(.hidden)) { max-width: 1040px; }
.duo { display: grid; gap: 0 16px; align-items: start; }
.duo .players-card { order: -1; }
@media (min-width: 820px) {
  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .duo .players-card { order: 0; }
  .duo .chat-list { max-height: 420px; }
}

.chat-paused-note { display: none; margin: 0 0 8px; padding: 10px 12px; border-radius: 10px; background: var(--panel2); color: var(--accent2); font-weight: 700; }
.chat-card.paused .chat-paused-note { display: block; }
.chat-card.paused .chat-list { display: none; }

/* chat */
.chat-list { list-style: none; margin: 0 0 8px; padding: 0; max-height: 260px; overflow-y: auto; display: grid; gap: 6px; }
.chat-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; overflow-wrap: anywhere; }
.chat-list li b { color: var(--accent2); }
.chat-list li.mine b { color: var(--ok); }
.chat-list li.host b { color: var(--accent); }
.chat-host { width: 24px; text-align: center; flex: none; }
.chat-form { display: flex; gap: 8px; }
.chat-form input { flex: 1; }
.scr-chat { position: fixed; right: 24px; bottom: 24px; width: min(420px, 40vw); background: #1a1626d9; border-radius: var(--radius); padding: 10px 12px; }
.scr-chat:has(.chat-list:empty) { display: none; }
.scr-chat .chat-list { max-height: 40vh; margin: 0; overflow: hidden; font-size: 1.05rem; }

/* themes */
.themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px; margin: 8px 0; }
.themes label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 10px; background: var(--panel2); border-radius: 10px; color: var(--text); cursor: pointer; }
.themes input { width: auto; }
.cat { display: inline-block; padding: 2px 10px; border-radius: 99px; background: var(--accent2); color: #2b1f00; font-weight: 800; font-size: .8rem; text-transform: none; letter-spacing: 0; }

/* avatars */
.avatar { flex: none; border-radius: 22%; display: block; }
.avatar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; margin-bottom: 8px; }
.avatar-grid button { padding: 4px; background: var(--panel2); border: 2px solid transparent; border-radius: 14px; }
.avatar-grid button.sel { border-color: var(--accent2); box-shadow: 0 0 0 3px #ffc83d44; }
.avatar-grid .avatar { width: 100%; height: auto; }
.vote-grid button { display: flex; align-items: center; gap: 8px; }
.me-row { display: flex; align-items: center; gap: 12px; }

/* player list */
.players { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.players li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--panel2); border-radius: 10px; border: 1px solid transparent; }
.players li.me { border-color: var(--accent2); }
.players li.out { opacity: .4; text-decoration: line-through; }
.players li.target { border-color: var(--accent); box-shadow: 0 0 0 2px #ff3d5a44; }
.players .pname { flex: 1; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.players .ans { color: var(--muted); font-style: italic; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #555; flex: none; }
.dot.on { background: var(--ok); }
.mark-ok { color: var(--ok); font-weight: 800; }
.mark-bad { color: var(--bad); font-weight: 800; }

.vote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.vote-grid button.chosen { outline: 3px solid var(--accent2); }

.banner { text-align: center; font-size: 1.6rem; font-weight: 900; padding: 24px 12px; }
.banner.out { color: var(--bad); }
.banner.win { color: var(--accent2); }
.log { list-style: none; padding: 0; margin: 0; font-size: .85rem; color: var(--muted); }

/* host */
.host-grid { display: grid; grid-template-columns: 280px 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px) { .host-grid { grid-template-columns: 1fr; } }
.roomlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.roomlist button { width: 100%; text-align: left; background: var(--panel2); border: 1px solid var(--line); color: var(--text); }
.roomlist button.sel { border-color: var(--accent); }
.hp td, .hp th { padding: 6px 8px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.hp { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hp .acts { white-space: nowrap; }
.links input { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; padding: 8px; }

/* screen (stream / TV) */
body.screen { background: transparent; }
body.screen.solid { background: var(--bg); }
.scr { padding: 32px; display: grid; gap: 24px; }
.scr .question { font-size: 2.6rem; text-shadow: 0 2px 8px #000; }
.scr .card { background: #1a1626e6; }
.scr-players { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.scr-p { background: #1a1626e6; border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.scr-p .pname { font-size: 1.4rem; font-weight: 900; }
.scr-p .lives { font-size: 1.5rem; }
.scr-p.target { border-color: var(--accent); }
.scr-p.out { opacity: .35; }
.scr-p .ans { margin-top: 6px; font-size: 1.15rem; }
.scr-p.okm { border-color: var(--ok); }
.scr-p.badm { border-color: var(--bad); }
.scr .banner { font-size: 3rem; text-shadow: 0 2px 10px #000; }

/* multiple choice, estimates, hints, jokers */
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin-top: 12px; }
.opt { text-align: left; padding: 12px 14px; border-radius: 10px; background: var(--panel2); border: 2px solid var(--line); font-weight: 700; color: var(--text); }
button.opt:disabled { opacity: 1; }
.opt.chosen { border-color: var(--accent2); box-shadow: 0 0 0 3px #ffc83d44; }
.opt.right { border-color: var(--ok); background: #12301f; color: var(--ok); }
.opt.chosen:not(.right):disabled { border-color: var(--bad); }
.scr .opt { font-size: 1.5rem; background: #241e35e6; }
.hint { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: #2e2610; color: var(--accent2); font-weight: 700; }
.jokers { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.joker.used { text-decoration: line-through; }
.estimates { margin: 10px 0 0; padding-left: 1.4em; }
.estimates li.ok { color: var(--ok); }
.estimates li.bad { color: var(--bad); }
.scr .estimates { font-size: 1.3rem; }

/* duel */
.duel-banner { margin-top: 10px; padding: 10px 14px; border-radius: 10px; text-align: center; font-weight: 900; letter-spacing: .03em;
  background: linear-gradient(90deg, #5a0f1f, #3a1440, #5a0f1f); color: var(--accent2); border: 1px solid var(--accent); }
.scr .duel-banner { font-size: 2rem; text-shadow: 0 2px 8px #000; }
.badge.duel { color: var(--accent2); border-color: var(--accent); }

/* dümmste Antwort */
.funny-list { display: grid; gap: 8px; margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.funny-opt { text-align: left; display: block; width: 100%; padding: 12px 14px; border-radius: 10px; background: var(--panel2); border: 2px solid var(--line); color: var(--text); font-weight: 400; }
.funny-opt.chosen { border-color: var(--accent2); box-shadow: 0 0 0 3px #ffc83d44; }
.fanswer { font-size: 1.2rem; font-weight: 900; margin: 4px 0; }
.fanswer.big { font-size: 2rem; color: var(--accent2); }
.funny-win { margin-top: 10px; text-align: center; }
.scr .fanswer { font-size: 1.6rem; }
.scr .fanswer.big { font-size: 3.4rem; text-shadow: 0 2px 10px #000; }
.scr .funny-opt { background: #241e35e6; }

/* results */
.ranking { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.ranking li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--panel2); border-radius: 10px; }
.ranking li:first-child { border: 1px solid var(--accent2); }
.ranking .place { width: 2em; text-align: center; font-size: 1.3rem; font-weight: 900; }
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.award { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: var(--panel2); border-radius: 10px; }
.aicon { font-size: 1.8rem; }
.scr .ranking li { font-size: 1.3rem; background: #241e35e6; }
.scr .award { background: #241e35e6; font-size: 1.1rem; }

/* titles, points, throwables, reactions */
.ptitle { font-size: 1.05rem; }
.pts { min-width: 1.6em; text-align: right; color: var(--accent2); font-weight: 800; font-variant-numeric: tabular-nums; }
.itembar, .reactbar { display: flex; gap: 4px; flex-wrap: wrap; }
.item-btn, .react-btn { background: var(--panel2); border: 2px solid transparent; padding: 4px 8px; font-size: 1.2rem; line-height: 1.2; border-radius: 10px; }
.item-btn.sel { border-color: var(--accent2); }
.react-btn:active, .item-btn:active { transform: scale(.88); }
.fx-react { position: fixed; font-size: 2.2rem; filter: drop-shadow(0 3px 5px #0009); }
.fx-react.big { font-size: 3.4rem; }
.fx-tp { position: fixed; width: 16px; transform-origin: top center; background: repeating-linear-gradient(#fff 0 18px, #e6e1d8 18px 20px); border-radius: 0 0 6px 6px; box-shadow: 0 2px 4px #0006; }

/* answer check for the host */
.guess { display: inline-block; padding: 1px 7px; border-radius: 99px; font-size: .75rem; font-weight: 800; }
.guess.match { background: #12301f; color: var(--ok); }
.guess.close { background: #2e2610; color: var(--accent2); }

/* QR codes */
.head-grid { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-top: 8px; }
.qr-box { background: #fff; padding: 6px; border-radius: 10px; line-height: 0; }
.qr-box.big { grid-column: 1 / -1; justify-self: center; }
.qr { display: block; }
.scr-lobby { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.scr-lobby .qr { border-radius: 12px; }
.setlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.setlist li { display: flex; gap: 8px; align-items: center; padding: 6px 10px; background: var(--panel2); border-radius: 10px; }
.setlist .grow { flex: 1; }
@media (max-width: 560px) { .head-grid { grid-template-columns: 1fr; justify-items: center; } }

/* moderator voice: caption and "allow sound" button */
.mod-cap { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60; max-width: min(760px, calc(100vw - 32px)); display: flex; gap: 10px; align-items: flex-start;
  background: #120f1ce8; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px; box-shadow: 0 8px 30px #0008; animation: mod-in .25s ease-out; pointer-events: none; }
.mod-cap .mod-icon { flex: none; }
.screen .mod-cap { bottom: 32px; font-size: 1.5rem; max-width: min(1100px, 70vw); }
.mod-unlock { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 61; }
@keyframes mod-in { from { opacity: 0; transform: translate(-50%, 10px); } }

/* leaderboard, spectators, bets, corner buttons on the TV */
.hall-list { list-style: none; margin: 0; padding: 0; counter-reset: hall; }
.hall-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); counter-increment: hall; }
.hall-list li::before { content: counter(hall) "."; width: 1.6em; color: var(--muted); }
.hall-list li:first-child b { color: var(--accent2); }
.screen .hall { max-width: 720px; margin: 16px auto; }
.spec { display: inline-flex; align-items: center; gap: 2px; margin-right: 8px; }
.scr-bets { text-align: center; margin: 8px 0; }
.scr-ctl { position: fixed; top: 10px; right: 10px; display: flex; gap: 6px; opacity: .35; z-index: 62; }
.scr-ctl:hover { opacity: 1; }
.mute.off { opacity: .55; }
.vol-wrap { position: relative; display: inline-block; }
.vol-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 70; background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 220px; box-shadow: 0 8px 24px #0008; }
.vol-row { display: flex; align-items: center; gap: 10px; margin: 4px 0; font-size: .9rem; white-space: nowrap; }
.vol-row span { width: 7.5em; }
.vol-row input { flex: 1; width: auto; padding: 0; accent-color: var(--accent); }

/* objection to the auto moderator */
.objection { border-color: var(--accent2); }
.objection .fanswer { margin: 6px 0; }

/* host: compact game controls */
.next-q { background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.next-q select.tgt { width: auto; max-width: 260px; }
.next-text { margin-top: 6px; color: var(--muted); font-size: .92rem; }
.next-text .cat { margin-right: 4px; }
.row.tools { margin-top: 10px; }
details.own, details.settings { margin-top: 10px; }
details.own > summary, details.settings > summary { cursor: pointer; color: var(--muted); font-size: .9rem; }
details.own > .row, details.own > div { margin-top: 8px; }

/* ---- synchro mode (dub.js) ---- */
.dub .card { margin-bottom: 12px; }
.dub-stage { position: relative; border-radius: 10px; overflow: hidden; background: #000; margin: 8px 0; }
.dub-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.dub-sub { position: absolute; left: 4%; right: 4%; bottom: 14px; text-align: center; font-size: clamp(14px, 2.6vw, 30px); line-height: 1.3; text-shadow: 0 2px 4px #000, 0 0 2px #000; pointer-events: none; }
.dub-sub .mine { color: var(--accent2); font-weight: 700; }
.dub-track { position: relative; height: 10px; background: var(--panel2); margin-top: 6px; border-radius: 5px; overflow: hidden; }
.dub-seg { position: absolute; top: 0; bottom: 0; background: var(--accent2); opacity: .8; }
.dub-head { position: absolute; top: -2px; bottom: -2px; width: 3px; margin-left: -1px; background: var(--accent); }
.dub-now { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 99px; background: var(--accent); font-weight: 800; opacity: 0; transition: opacity .1s; }
.dub-now.on { opacity: 1; }
.dub-count { position: absolute; inset: 0; display: grid; place-items: center; font-size: 110px; font-weight: 900; color: var(--accent2); text-shadow: 0 4px 12px #000; pointer-events: none; }
.dub-count:empty { display: none; }
.dub-cast { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 12px; }
.dub-group { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.dub-group.mine { border-color: var(--accent2); }
.dub-genre { color: var(--accent2); font-weight: 700; margin: 4px 0; }
.dub-word { background: var(--panel2); border-radius: 10px; padding: 6px 10px; margin: 6px 0; }
.dub-head-line { margin-bottom: 4px; }
.dub-credit { text-align: center; }
.dub-setup summary { cursor: pointer; }
#scr .dub { max-width: 1100px; margin: 0 auto; }
#scr .dub .card { background: rgba(26, 22, 38, .92); }

/* ---- dub.ruxia.de (Ruxia Synchro): own colours, studio lobby, scene library ---- */
body.dubapp {
  --accent: #7c5cff;
  --accent2: #3de0ff;
  background: radial-gradient(circle at 50% -20%, #1d1550 0, #0b0a18 60%) fixed #0b0a18;
}
body.dubapp .logo b { color: var(--accent2); }
.dub-lobby { text-align: center; padding: 28px 18px; }
.dub-lobby-icon { font-size: 64px; line-height: 1; margin-bottom: 8px; }
.clip-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.clip-card { display: flex; flex-direction: column; align-items: stretch; gap: 3px; text-align: left; padding: 8px; background: var(--panel2); border: 2px solid transparent; border-radius: 12px; color: var(--text); white-space: normal; }
.clip-card.sel { border-color: var(--accent2); }
.clip-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #000; display: grid; place-items: center; font-size: 36px; pointer-events: none; }
.clip-detail { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.seg-list { display: grid; gap: 6px; max-height: 420px; overflow: auto; }
.seg-row { display: grid; grid-template-columns: 90px auto 1fr; gap: 6px; align-items: center; }
.start-card .big { min-width: 260px; }
.players li.off { opacity: .45; }
@media (max-width: 560px) { .seg-row { grid-template-columns: 1fr; } }
