/* Ventoview Connect – Übersicht, Editor, Lobby (mit site.css) und Stream-Fenster (eigenständig, ab „Stream-Fenster“) */

.wrap.wide { max-width: 1320px; }
.nav-link.active { color: var(--text); }
.cx-hero { padding: 26px 0 10px; }
.cx-hero h1 { margin: 0; font-size: clamp(32px, 5vw, 48px); letter-spacing: -.02em; background: linear-gradient(90deg, var(--accent-2), #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cx-hero p { max-width: 680px; margin: 8px 0 0; color: var(--muted); font-size: 17px; }
main#app { padding: 18px 0 60px; }
.cx-muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; justify-content: center; }
.cx-error { color: #f87171; font-weight: 600; }
.cx-kicker { display: inline-block; color: var(--accent-2); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.btn.small { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; }
.btn.tiny { height: 28px; min-width: 28px; justify-content: center; padding: 0 8px; border-radius: 8px; font-size: 14px; }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: rgba(255, 255, 255, .05); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.good { border-color: transparent; background: #16a34a; color: #fff; }
.btn.bad { border-color: transparent; background: #dc2626; color: #fff; }
.btn.twitch { border-color: transparent; background: #9146ff; color: #fff; }
.btn.google { border-color: transparent; background: #fff; color: #1f1f1f; }
.danger-text { color: #f87171 !important; }

.cx-card { padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.cx-card + .cx-card { margin-top: 16px; }
.cx-card h2, .cx-card h3 { margin: 0 0 12px; }
.cx-card h3 { font-size: 16px; }
.cx-center { display: grid; justify-items: center; gap: 12px; max-width: 560px; margin: 20px auto; text-align: center; }
.cx-center h1, .cx-center h2 { margin: 0; }
.cx-login { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cx-notice .cx-login { justify-content: flex-start; }
.cx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cx-notice { display: grid; gap: 10px; padding: 16px 18px; border-radius: 16px; background: rgba(139, 92, 246, .1); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .3); }
.cx-notice p { margin: 0; }
.cx-empty { margin: 4px 0 10px; color: var(--muted); }

/* Reiter */
.cx-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, .04); width: fit-content; max-width: 100%; }
.cx-tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: 700 14px Inter, sans-serif; cursor: pointer; }
.cx-tab:hover { color: var(--text); }
.cx-tab.on { background: var(--accent); color: #fff; }
.cx-tab.add { color: var(--accent-2); }
.cx-badge { min-width: 20px; padding: 0 6px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.cx-panel { display: grid; gap: 14px; }
.cx-panel > h2 { margin: 12px 0 0; font-size: 20px; }
.cx-head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.cx-head-row h2 { margin: 0; font-size: 20px; }

/* Spielarten */
.cx-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cx-kind { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px; border-radius: 18px; background: radial-gradient(120% 120% at 0 0, rgba(139, 92, 246, .2), transparent 60%), rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .35); }
.cx-kind.soon { background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); opacity: .75; }
.cx-kind b { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.cx-kind p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.cx-kind-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(139, 92, 246, .18); color: var(--accent-2); flex: none; }
.cx-kind-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cx-soon { padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }

/* Listen */
.cx-list { display: grid; gap: 8px; }
.cx-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .035); }
.cx-row > .cx-actions { margin-left: auto; }
.cx-row-text { display: grid; min-width: 0; flex: 1 1 200px; }
.cx-row-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-row-text small { color: var(--muted); }
.cx-person { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; min-width: 0; flex: 1 1 200px; }
.cx-name { display: grid; min-width: 0; line-height: 1.3; }
.cx-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-name small { color: var(--muted); }
.cx-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--muted); font-size: 12px; font-weight: 700; margin: 0; width: fit-content; }
.cx-pill.good { background: rgba(34, 197, 94, .15); color: #4ade80; }
.cx-pill.bad { background: rgba(239, 68, 68, .15); color: #f87171; }
.cx-pill.live { background: rgba(239, 68, 68, .15); color: #fca5a5; }
.cx-avatar { position: relative; display: inline-grid; place-items: center; flex: none; overflow: hidden; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; box-shadow: 0 0 0 2px rgba(0, 0, 0, .25); }
.cx-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cx-avatar.letter { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #000)); }

/* Suche */
.cx-search { display: grid; gap: 10px; }
.cx-input { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); font: 15px Inter, sans-serif; box-sizing: border-box; }
textarea.cx-input { resize: vertical; line-height: 1.5; }
.cx-input:focus { outline: none; border-color: var(--accent); }

/* Formulare */
.cx-form { display: grid; gap: 14px; }
.cx-form h2 { margin: 0; }
.cx-field { display: grid; gap: 6px; }
.cx-field > span { color: var(--muted); font-size: 12.5px; font-weight: 700; }
.cx-field small { color: var(--muted); font-size: 12.5px; }
.cx-field.inline { grid-template-columns: auto minmax(160px, 260px); align-items: center; gap: 10px; }
.cx-color input { width: 64px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; }
.cx-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.cx-toggle { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.cx-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.cx-switch { position: relative; width: 38px; height: 22px; flex: none; margin-top: 1px; border-radius: 999px; background: #3a3a48; transition: background .15s; }
.cx-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cx-toggle input:checked + .cx-switch { background: var(--accent); }
.cx-toggle input:checked + .cx-switch::after { transform: translateX(16px); }
.cx-toggle input:focus-visible + .cx-switch { box-shadow: 0 0 0 3px rgba(139, 92, 246, .45); }
.cx-toggle > span:last-child { display: grid; font-weight: 600; }
.cx-toggle small { color: var(--muted); font-weight: 400; font-size: 12.5px; }

/* Profil */
.cx-profile { grid-template-columns: minmax(240px, 320px) 1fr; align-items: start; gap: 28px; }
.cx-profile-side { display: grid; gap: 12px; position: sticky; top: 90px; }
.cx-profile-card { position: relative; display: grid; justify-items: center; gap: 8px; padding: 0 20px 22px; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .04); text-align: center; }
.cx-profile-banner { justify-self: stretch; height: 84px; margin: 0 -20px -44px; background: linear-gradient(120deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #0b0b0f)); }
.cx-profile-card .cx-avatar { box-shadow: 0 0 0 4px #15151c; }
.cx-profile-card .cx-name { justify-items: center; }
.cx-profile-card .cx-name b { font-size: 19px; }
.cx-bio { margin: 4px 0 0; color: #cfcfd8; white-space: pre-wrap; overflow-wrap: anywhere; }
.cx-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.cx-link { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 13px; font-weight: 700; text-decoration: none; }
.cx-link.twitch { color: #c4a5ff; }
.cx-link.youtube { color: #ff8a8a; }
.cx-link.kick { color: #7cf27c; }
.cx-save { color: var(--muted); font-size: 13px; font-weight: 600; }
.cx-save.bad { color: #f87171; }

/* Dialog */
.cx-dialog { width: min(480px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 22px; background: #15151c; color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.cx-dialog::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); }
.cx-dialog > .cx-form { padding: 22px; }
.cx-dialog-actions { justify-content: flex-end; padding: 0 20px 20px; }
.cx-dialog .cx-form .cx-dialog-actions { padding: 0; }
.cx-toast { position: fixed; left: 50%; bottom: 26px; z-index: 3000; max-width: calc(100vw - 32px); padding: 11px 18px; border-radius: 12px; background: #1f1f29; color: var(--text); font-weight: 600; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.cx-toast.show { opacity: 1; transform: translate(-50%, 0); }
.cx-toast.bad { background: #3b1218; color: #fecaca; }
.cx-steps { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }

/* ---------- Editor ---------- */

.ed-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.ed-title { flex: 1 1 260px; min-width: 0; padding: 6px 10px; border: 1px solid transparent; border-radius: 10px; background: none; color: var(--text); font: 800 26px Inter, sans-serif; }
.ed-title:hover, .ed-title:focus { border-color: var(--line); outline: none; background: var(--panel); }
.ed-settings { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 18px; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .03); }
.ed-rounds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ed-round-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.ed-board { display: grid; grid-template-columns: repeat(var(--cols), minmax(150px, 1fr)) 110px; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.ed-col { display: grid; align-content: start; gap: 8px; min-width: 150px; }
.ed-cat { position: relative; }
.ed-cat-name { width: 100%; min-height: 64px; padding: 10px 26px 10px 10px; border: 1px solid transparent; border-radius: 12px; background: #2a1e5c; color: #fff; font: 800 14px/1.3 Inter, sans-serif; text-align: center; text-transform: uppercase; resize: none; box-sizing: border-box; }
.ed-cat-name:focus { outline: none; border-color: var(--accent-2); }
.ed-cat-name::placeholder { color: rgba(255, 255, 255, .45); }
.ed-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 6px; background: none; color: rgba(255, 255, 255, .55); font-size: 16px; cursor: pointer; }
.ed-x:hover { background: rgba(0, 0, 0, .3); color: #fff; }
.ed-cell { position: relative; display: grid; gap: 4px; min-height: 76px; padding: 10px; border: 1px solid transparent; border-radius: 12px; background: #1e1a3a; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.ed-cell:hover { border-color: var(--accent); }
.ed-cell b { color: #fbbf24; font-size: 18px; font-weight: 900; }
.ed-cell small { display: -webkit-box; overflow: hidden; color: #cfcfe0; font-size: 12.5px; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ed-cell.blank small { color: rgba(255, 255, 255, .35); font-style: italic; }
.ed-cell.bonus::after { content: '★'; position: absolute; top: 8px; right: 10px; color: #fbbf24; }
.ed-has-image { position: absolute; bottom: 8px; right: 10px; width: 10px; height: 10px; border-radius: 3px; background: #22d3ee; }
.ed-add-cell, .ed-add-col { min-height: 44px; border: 1px dashed #3a3a52; border-radius: 12px; background: none; color: var(--muted); font: 700 13px Inter, sans-serif; cursor: pointer; }
.ed-add-col { align-self: start; min-height: 64px; }
.ed-add-cell:hover, .ed-add-col:hover { border-color: var(--accent); color: var(--text); }
.ed-image { max-width: 100%; max-height: 200px; border-radius: 12px; object-fit: contain; background: #000; }
.ed-final { margin-top: 22px; display: grid; gap: 14px; }
.ed-final h2 { margin: 0; }

/* ---------- Lobby ---------- */

.lb { display: grid; gap: 18px; }
.lb-top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.lb-top h1 { margin: 2px 0 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.lb-top > .cx-actions { margin-left: auto; }
.lb-host { display: flex; align-items: center; gap: 10px; }
.lb-host > span > small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.lb-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.lb-main { display: grid; gap: 16px; min-width: 0; }
.lb-side { display: grid; gap: 16px; }
.lb-side .cx-card + .cx-card { margin-top: 0; }
.lb-join h1 { font-size: 30px; }
.lb-guest { display: grid; justify-items: center; gap: 12px; width: 100%; max-width: 360px; margin-top: 6px; }
.lb-guest .cx-field { width: 100%; text-align: left; }
.lb-guest p { margin: 6px 0 0; }
.lb-faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.lb-faces.big { gap: 16px; }
.lb-face { display: grid; justify-items: center; gap: 6px; max-width: 90px; }
.lb-face small { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.lb-stream { display: grid; gap: 10px; }
.lb-stream h3, .lb-stream p { margin: 0; }
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lb-bar > .cx-actions { margin-left: auto; }
.lb-rounds { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.lb-rounds .cx-tab { padding: 6px 12px; font-size: 13px; }
.lb-turn { color: var(--muted); }
.lb-turn b { color: var(--text); }
.lb-controls { display: grid; gap: 12px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .035); }
.lb-judge, .lb-wager { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lb-judge > span { font-size: 17px; margin-right: auto; }
.lb-wager .cx-input { width: 160px; }
section.lb-wager { display: grid; justify-items: start; }
.lb-final-answer { display: grid; flex: 1 1 200px; min-width: 0; }
.lb-final-answer small { color: var(--muted); }
.lb-scores .cc-scores { display: grid; gap: 8px; }
.lb-scores .cc-score { padding: 10px 12px; }
.lb-score-tools { display: flex; gap: 4px; margin-left: auto; }
.lb-buzzer-box { display: grid; justify-items: center; gap: 10px; padding: 20px 0; }
.lb-buzzer { width: 190px; height: 190px; border: 0; border-radius: 50%; color: #fff; font: 900 34px Inter, sans-serif; letter-spacing: .06em; cursor: pointer; transition: transform .08s, box-shadow .2s, background .2s; }
.lb-buzzer.open { background: radial-gradient(circle at 35% 30%, #f87171, #b91c1c); box-shadow: 0 10px 0 #7f1d1d, 0 18px 50px rgba(239, 68, 68, .5); }
.lb-buzzer.open:active { transform: translateY(8px); box-shadow: 0 2px 0 #7f1d1d, 0 10px 30px rgba(239, 68, 68, .4); }
.lb-buzzer.mine { background: radial-gradient(circle at 35% 30%, #4ade80, #15803d); box-shadow: 0 0 0 10px rgba(74, 222, 128, .2), 0 18px 50px rgba(34, 197, 94, .45); animation: buzz-pulse 1s ease-in-out infinite; }
.lb-buzzer.other, .lb-buzzer.locked { background: radial-gradient(circle at 35% 30%, #4b4b5a, #2a2a35); box-shadow: 0 10px 0 #18181f; cursor: default; }
.lb-buzzer:disabled { opacity: 1; }
.lb-buzzer-text { margin: 0; font-size: 18px; font-weight: 800; }
@keyframes buzz-pulse { 50% { box-shadow: 0 0 0 18px rgba(74, 222, 128, .12), 0 18px 50px rgba(34, 197, 94, .45); } }

/* ---------- Category Clash (Lobby und Stream-Fenster) ---------- */

.cc-board { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 8px; padding: 10px; border-radius: 18px; background: #0d0a24; }
.cc-cat { display: grid; place-items: center; min-height: 64px; padding: 8px; border-radius: 10px; background: linear-gradient(180deg, #3b2a8c, #2a1e66); color: #fff; font-weight: 900; font-size: 14px; line-height: 1.2; text-align: center; text-transform: uppercase; overflow-wrap: anywhere; }
.cc-cell { display: grid; place-items: center; min-height: 62px; padding: 0; border: 0; border-radius: 10px; background: linear-gradient(180deg, #2b2470, #1d1852); color: #fbbf24; font: 900 24px Inter, sans-serif; text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
button.cc-cell { cursor: pointer; transition: transform .1s, filter .15s; }
button.cc-cell:hover { filter: brightness(1.3); transform: scale(1.03); }
.cc-cell.used { background: rgba(255, 255, 255, .03); }
.cc-cell.empty { background: none; }
.cc-cell.bonus { box-shadow: inset 0 0 0 2px #fbbf24; }
.cc-question { position: relative; display: grid; gap: 14px; padding: 24px; border-radius: 22px; background: radial-gradient(120% 120% at 50% 0, #3b2a8c, #1a1446 70%); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .35); animation: cc-in .35s ease-out; }
.cc-question.bonus { background: radial-gradient(120% 120% at 50% 0, #8a5a00, #2a1a00 70%); box-shadow: inset 0 0 0 2px #fbbf24; }
.cc-question.final { background: radial-gradient(120% 120% at 50% 0, #0e5a6e, #06202a 70%); box-shadow: inset 0 0 0 1px rgba(103, 232, 249, .4); }
.cc-q-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cc-q-cat { color: #c4b5fd; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.cc-q-points { padding: 4px 12px; border-radius: 999px; background: rgba(0, 0, 0, .3); color: #fbbf24; font-weight: 900; }
.cc-q-text { color: #fff; font-size: 24px; font-weight: 800; line-height: 1.35; text-align: center; white-space: pre-wrap; overflow-wrap: anywhere; }
.cc-q-text.wager { display: grid; gap: 6px; color: #fbbf24; }
.cc-q-text.wager small { color: #fff; font-size: 16px; font-weight: 600; }
.cc-q-image { justify-self: center; max-width: 100%; max-height: 320px; border-radius: 14px; object-fit: contain; }
.cc-q-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; min-height: 0; }
.cc-q-foot:empty { display: none; }
.cc-q-buzzer { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 18px; animation: cc-pop .3s ease-out; }
.cc-q-open { padding: 6px 16px; border-radius: 999px; background: #dc2626; color: #fff; font-weight: 900; animation: cc-blink 1s ease-in-out infinite; }
.cc-q-result { justify-self: center; padding: 6px 16px; border-radius: 999px; font-weight: 900; font-size: 17px; }
.cc-q-result.good { background: rgba(34, 197, 94, .2); color: #4ade80; }
.cc-q-result.bad { background: rgba(239, 68, 68, .2); color: #f87171; }
.cc-q-answer { display: grid; justify-items: center; gap: 2px; padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, .3); animation: cc-in .3s ease-out; }
.cc-q-answer small { color: #86efac; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.cc-q-answer span { color: #fff; font-size: 22px; font-weight: 900; text-align: center; }
.cc-scores { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-score { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 14px 8px 8px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s, background .2s; }
.cc-score.turn { box-shadow: inset 0 0 0 2px var(--accent); }
.cc-score.buzzed { background: color-mix(in srgb, var(--accent) 35%, transparent); box-shadow: inset 0 0 0 2px var(--accent); }
.cc-score.away { opacity: .55; }
.cc-score-text { display: grid; min-width: 0; line-height: 1.2; }
.cc-score-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-points { color: #fbbf24; font-weight: 900; font-variant-numeric: tabular-nums; }
.cc-points.minus { color: #f87171; }
.cc-podium { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 16px; padding: 20px 0; }
.cc-place { display: grid; justify-items: center; gap: 8px; min-width: 120px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .05); }
.cc-place b { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-place.place-1 { order: 2; padding-bottom: 40px; background: linear-gradient(180deg, rgba(251, 191, 36, .25), rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 2px #fbbf24; }
.cc-place.place-2 { order: 1; padding-bottom: 26px; }
.cc-place.place-3 { order: 3; }
.cc-place:nth-child(n+4) { order: 4; opacity: .8; }
.cc-rank { color: var(--muted); font-weight: 900; font-size: 18px; }
.cc-place.place-1 .cc-rank { color: #fbbf24; font-size: 24px; }
@keyframes cc-in { from { opacity: 0; transform: scale(.96); } }
@keyframes cc-pop { from { transform: scale(.6); opacity: 0; } }
@keyframes cc-blink { 50% { opacity: .55; } }

@media (max-width: 960px) {
  .lb-grid, .cx-profile { grid-template-columns: 1fr; }
  .cx-profile-side { position: static; }
  .lb-top > .cx-actions { margin-left: 0; }
}
@media (max-width: 640px) {
  .cx-tab { padding: 8px 11px; }
  .cc-board { gap: 4px; padding: 6px; }
  .cc-cat { min-height: 48px; font-size: 10px; padding: 4px; }
  .cc-cell { min-height: 44px; font-size: 15px; }
  .cc-q-text { font-size: 19px; }
  .lb-buzzer { width: 160px; height: 160px; }
  .cx-row > .cx-actions { margin-left: 0; }
}

/* ---------- Stream-Fenster (1920 × 1080, auf das Fenster skaliert) ---------- */

.st-body { margin: 0; overflow: hidden; height: 100vh; background: #07061a; color: #fff; font-family: Inter, 'Segoe UI', system-ui, sans-serif; }
.st-body.clear { background: transparent; }
.st-stage { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: center; }
.st-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.st-title { display: flex; align-items: baseline; gap: 22px; min-width: 0; }
.st-title b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 46px; font-weight: 900; letter-spacing: -.01em; }
.st-title span { color: #c4b5fd; font-size: 28px; font-weight: 800; }
.st-turn { display: flex; align-items: center; gap: 14px; padding: 8px 22px 8px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 40%, rgba(0, 0, 0, .4)); font-size: 26px; animation: cc-pop .3s ease-out; }
.st-turn span span { color: rgba(255, 255, 255, .8); }
.st-main { display: grid; min-height: 0; }
.st-main .cc-board { grid-template-rows: auto repeat(var(--rows), minmax(0, 1fr)); height: 100%; box-sizing: border-box; gap: 14px; padding: 18px; border-radius: 28px; background: rgba(10, 8, 32, .85); }
.st-main .cc-cat { min-height: 110px; padding: 14px; border-radius: 16px; font-size: 26px; }
.st-main .cc-cell { min-height: 0; border-radius: 16px; font-size: 54px; }
.st-question-wrap { display: grid; align-items: center; min-height: 0; }
.st-main .cc-question { gap: 28px; padding: 48px 60px; border-radius: 34px; }
.st-main .cc-q-head { font-size: 30px; }
.st-main .cc-q-points { padding: 8px 22px; font-size: 32px; }
.st-main .cc-q-text { font-size: 58px; line-height: 1.25; }
.st-main .cc-q-text.wager small { font-size: 32px; }
.st-main .cc-q-image { max-height: 420px; border-radius: 22px; }
.st-main .cc-q-buzzer { gap: 16px; padding: 10px 30px 10px 10px; font-size: 36px; }
.st-main .cc-q-open { padding: 10px 30px; font-size: 34px; }
.st-main .cc-q-result { padding: 10px 30px; font-size: 36px; }
.st-main .cc-q-answer { padding: 22px; border-radius: 22px; }
.st-main .cc-q-answer small { font-size: 22px; }
.st-main .cc-q-answer span { font-size: 50px; }
.st-foot .cc-scores { flex-wrap: nowrap; justify-content: center; gap: 18px; }
.st-foot .cc-score { flex: 0 1 260px; gap: 14px; padding: 10px 22px 10px 10px; border-radius: 22px; background: rgba(10, 8, 32, .85); }
.st-foot .cc-score .cx-avatar { width: 64px !important; height: 64px !important; font-size: 28px !important; }
.st-foot .cc-score-text b { font-size: 26px; }
.st-foot .cc-points { font-size: 34px; }
.st-brand { position: absolute; right: 56px; bottom: 12px; display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .45); font-size: 16px; font-weight: 700; }
.st-brand img { width: 20px; height: 20px; }
.st-lobby { display: grid; justify-items: center; align-content: center; gap: 26px; text-align: center; }
.st-kicker { color: #c4b5fd; font-size: 28px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.st-lobby h1 { margin: 0; font-size: 96px; line-height: 1.05; letter-spacing: -.02em; }
.st-host { display: flex; align-items: center; gap: 16px; font-size: 30px; text-align: left; }
.st-host small { display: block; color: rgba(255, 255, 255, .6); font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.st-faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; margin-top: 20px; }
.st-face { display: grid; justify-items: center; gap: 12px; font-size: 26px; animation: cc-pop .4s ease-out; }
.st-face .cx-avatar { box-shadow: 0 0 0 5px var(--accent); }
.st-wait { margin: 10px 0 0; color: rgba(255, 255, 255, .7); font-size: 30px; font-weight: 700; }
.st-end { display: grid; justify-items: center; align-content: center; gap: 10px; }
.st-end h1 { margin: 0; font-size: 80px; }
.st-end .cc-podium { gap: 34px; }
.st-end .cc-place { min-width: 240px; padding: 26px; border-radius: 28px; gap: 14px; }
.st-end .cc-place b { max-width: 300px; font-size: 32px; }
.st-end .cc-points { font-size: 40px; }
.st-end .cc-rank { font-size: 30px; }
.st-end .cc-place.place-1 { padding-bottom: 80px; }
.st-end .cc-place.place-2 { padding-bottom: 50px; }
.st-final { display: grid; align-content: center; gap: 30px; }
.st-final .cc-question { padding: 40px 60px; }
.st-final-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.st-final-card { display: grid; justify-items: center; gap: 8px; width: 300px; padding: 22px; border-radius: 24px; background: rgba(10, 8, 32, .85); box-shadow: inset 0 0 0 3px transparent; font-size: 24px; text-align: center; }
.st-final-card p { margin: 0; color: #fff; font-size: 28px; font-weight: 900; overflow-wrap: anywhere; }
.st-final-card p.hidden { color: rgba(255, 255, 255, .3); font-size: 44px; }
.st-final-card small { color: #fbbf24; font-size: 22px; font-weight: 800; }
.st-final-card.shown { animation: cc-pop .3s ease-out; }
.st-final-card.good { box-shadow: inset 0 0 0 3px #22c55e; }
.st-final-card.bad { box-shadow: inset 0 0 0 3px #ef4444; }
.st-final-status { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.st-chip { display: flex; align-items: center; gap: 12px; padding: 8px 22px 8px 8px; border-radius: 999px; background: rgba(10, 8, 32, .85); font-size: 24px; opacity: .55; }
.st-chip.done { opacity: 1; box-shadow: inset 0 0 0 3px #22c55e; }
.st-message { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 20px; color: rgba(255, 255, 255, .8); font-size: 36px; font-weight: 700; text-align: center; }
.st-message img { width: 90px; height: 90px; }
.st-message p { margin: 0; }
.st-body.clear .cc-question { box-shadow: 0 20px 60px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(167, 139, 250, .35); }

/* ---------- Show-Bühne: Host links, Board rechts, Mitspieler unten (Farben aus dem Aussehen) ---------- */

.st-show { position: absolute; inset: 0; display: grid; grid-template-columns: 600px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 26px 34px; padding: 34px 44px 30px; box-sizing: border-box; background-color: var(--bg); color: #fff; font-family: Inter, 'Segoe UI', system-ui, sans-serif; overflow: hidden; }
.st-show.pattern { background-image: radial-gradient(rgba(255, 255, 255, .07) 2px, transparent 2.6px), radial-gradient(rgba(255, 255, 255, .035) 2px, transparent 2.6px); background-size: 40px 40px; background-position: 0 0, 20px 20px; }
.st-show.clear { background: transparent; }
.st-side { display: grid; align-content: center; gap: 26px; min-width: 0; }
.st-show .st-title { display: grid; gap: 6px; min-width: 0; }
.st-show .st-title b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 46px; font-weight: 900; letter-spacing: -.01em; line-height: 1.1; }
.st-show .st-title span { color: #c4b5fd; font-size: 26px; font-weight: 800; }
.st-show .st-title .st-turn { display: inline-block; width: fit-content; padding: 6px 16px; border-radius: 999px; background: var(--hl); color: #111; font-size: 24px; animation: cc-pop .3s ease-out; }
.st-show .st-title .st-turn b { font-size: 24px; color: #111; }
.st-show .st-main { display: grid; min-height: 0; min-width: 0; }
.st-players { grid-column: 1 / -1; display: flex; justify-content: center; gap: 24px; padding-bottom: 24px; min-width: 0; }
.st-tile { position: relative; flex: 0 1 420px; min-width: 0; aspect-ratio: 16 / 9; transition: transform .25s; }
.st-tile.host { flex: none; width: 100%; }
.st-tile-media { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border: var(--frame-w) solid var(--frame-color); border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 65%, #000), #0b0920); box-sizing: border-box; transition: box-shadow .25s; }
.st-tile-media video, .st-tile-media .st-tile-pic { width: 100%; height: 100%; object-fit: cover; }
.st-tile-face .cx-avatar { box-shadow: 0 0 0 6px rgba(255, 255, 255, .14); }
.st-plate { position: absolute; left: 50%; bottom: -22px; display: flex; align-items: baseline; gap: 10px; max-width: calc(100% - 20px); padding: 6px 18px; border-radius: 10px; background: var(--plate); color: var(--plate-text); font-size: 26px; font-weight: 800; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); box-sizing: border-box; transition: background .25s; }
.st-plate b { overflow: hidden; text-overflow: ellipsis; }
.st-plate small { font-size: 15px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.st-plate-points { font-variant-numeric: tabular-nums; opacity: .85; }
.st-plate-points::before { content: '('; }
.st-plate-points::after { content: ')'; }
.st-plate-points.minus { color: #dc2626; opacity: 1; }
.st-tile.turn .st-tile-media { box-shadow: 0 0 0 5px var(--hl); }
.st-tile.turn .st-plate { background: var(--hl); color: #111; }
.st-tile.buzzed { transform: scale(1.05); z-index: 2; }
.st-tile.buzzed .st-tile-media { box-shadow: 0 0 0 7px var(--hl), 0 0 60px var(--hl); animation: st-buzz 1s ease-in-out infinite; }
.st-tile.buzzed .st-plate { background: var(--hl); color: #111; }
.st-tile.good .st-tile-media { box-shadow: 0 0 0 7px #22c55e, 0 0 50px rgba(34, 197, 94, .7); }
.st-tile.bad .st-tile-media { box-shadow: 0 0 0 7px #ef4444, 0 0 50px rgba(239, 68, 68, .7); }
@keyframes st-buzz { 50% { box-shadow: 0 0 0 10px var(--hl), 0 0 90px var(--hl); } }
.st-show.n6 .st-plate, .st-show.n7 .st-plate, .st-show.n8 .st-plate { font-size: 20px; padding: 5px 12px; bottom: -18px; }
.st-show.n7 .st-players, .st-show.n8 .st-players { gap: 16px; }
.st-show .st-brand { position: absolute; right: 44px; top: 18px; bottom: auto; }

/* Board und Frage in den Farben des Aussehens */
.st-show .st-main .cc-board { height: 100%; box-sizing: border-box; grid-template-rows: auto repeat(var(--rows), minmax(0, 1fr)); gap: 12px; padding: 0; border-radius: 0; background: none; }
.st-show .st-main .cc-cat { min-height: 92px; padding: 10px; border-radius: calc(var(--radius) * .6); background: var(--cat); color: var(--cat-text); font-size: 21px; overflow-wrap: break-word; hyphens: auto; }
.st-show .st-main .cc-cell { min-height: 0; border-radius: calc(var(--radius) * .6); background: var(--board); color: var(--board-text); font-size: 50px; text-shadow: 0 2px 0 rgba(0, 0, 0, .3); }
.st-show .st-main .cc-cell.used { background: var(--used); }
.st-show .st-main .cc-cell.empty { background: none; }
.st-show .st-question-wrap { display: grid; align-items: center; min-height: 0; }
.st-show .st-main .cc-question:not(.bonus):not(.final) { background: radial-gradient(130% 130% at 50% 0, var(--cat), var(--board) 75%); }
.st-show .st-main .cc-question { gap: 22px; padding: 40px 50px; border-radius: calc(var(--radius) * 1.4); }
.st-show .st-main .cc-q-cat { color: var(--cat-text); opacity: .85; }
.st-show .st-main .cc-q-text { font-size: 48px; }
.st-show .st-main .cc-q-image { max-height: 360px; }
.st-show .st-main .cc-q-answer span { font-size: 42px; }
.st-show .st-main .cc-q-points { color: var(--board-text); }
.st-show .st-lobby { display: grid; justify-items: center; align-content: center; gap: 18px; text-align: center; }
.st-show .st-lobby h1 { margin: 0; font-size: 84px; line-height: 1.05; }
.st-show .st-end h1 { font-size: 64px; margin: 0 0 10px; }
.st-show .st-end .cc-place { min-width: 200px; }
.st-show .st-final { display: grid; align-content: center; gap: 22px; }
.st-show .st-final .cc-question { padding: 34px 44px; }
.st-show .st-final-card { width: 260px; padding: 16px; }
.st-show .st-final-card p { font-size: 24px; }

/* Verkleinerte Bühne als Vorschau (Editor, Lobby) */
.st-preview { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.st-preview-stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; pointer-events: none; }

/* Aussehen einstellen */
.cx-style { display: grid; gap: 14px; }
.cx-style-group { display: grid; gap: 8px; }
.cx-style-group > b { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cx-style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 14px; align-items: center; }
.cx-style-color { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.cx-style-color input { width: 34px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: none; cursor: pointer; }
.cx-style-range { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.cx-style-range input { width: 100%; accent-color: var(--accent); }
.ed-look { margin-top: 22px; display: grid; gap: 12px; }
.ed-look h2 { margin: 0; }
.ed-look-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.lb-look { display: grid; gap: 12px; }
.lb-look summary { cursor: pointer; font-weight: 800; font-size: 16px; }
.lb-look[open] summary { margin-bottom: 4px; }
.lb-look p { margin: 0; }
.lb-side .lb-look .cx-style-grid { grid-template-columns: 1fr 1fr; }

/* Eigene Kamera */
.lb-cam { display: grid; gap: 10px; }
.lb-cam h3, .lb-cam p { margin: 0; }
.lb-cam-video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #000; transform: scaleX(-1); }
.lb-cam-off { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.lb-cam-pic { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #000; }
.lb-media { display: grid; gap: 10px; }
.lb-media h3, .lb-media > p { margin: 0; }
.lb-media-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .035); }
.lb-media-text { display: grid; flex: 1 1 90px; min-width: 0; line-height: 1.25; }
.lb-media-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.lb-media-text small { color: var(--muted); font-size: 12px; }
.lb-media .btn.tiny { height: 26px; padding: 0 8px; font-size: 12px; }

/* Lobby-Chat */
.lb-chat { display: grid; gap: 10px; }
.lb-chat h3, .lb-chat > p { margin: 0; }
.lb-chat-list { display: grid; align-content: start; gap: 10px; height: 260px; overflow-y: auto; padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, .25); }
.lb-chat-msg { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: start; }
.lb-chat-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; }
.lb-chat-head .cx-pill { padding: 1px 7px; font-size: 10.5px; }
.lb-chat-head small { color: var(--muted); font-size: 11.5px; }
.lb-chat-msg p { margin: 2px 0 0; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.lb-chat-msg.mine .lb-chat-head b { color: var(--accent-2); }
.lb-chat-send { display: flex; gap: 8px; }
.lb-chat-send .cx-input { min-height: 38px; padding: 7px 12px; font-size: 14px; }
@media (max-width: 960px) { .ed-look-grid { grid-template-columns: 1fr; } }

/* ---------- Spielarten: Team Huddle, Last One Standing, Closest Guess, Picture Reveal ---------- */

.gm-editor { display: grid; gap: 16px; }
.gm-editor > h2 { margin: 10px 0 0; }
.gm-qlist { display: grid; gap: 10px; }
.gm-qitem { padding: 14px 18px; }
.gm-qitem summary { cursor: pointer; display: flex; gap: 8px; align-items: baseline; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gm-qitem summary span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.gm-qitem[open] summary { margin-bottom: 12px; }
.gm-content-edit { display: grid; gap: 8px; }
.gm-team-edit { display: grid; gap: 8px; margin-top: 10px; }
.gm-team-edit-row { display: flex; align-items: center; gap: 10px; }
.gm-team-edit-row input[type=color] { width: 40px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; }
.gm-options-edit { display: grid; gap: 8px; }
.gm-option-edit { display: flex; align-items: center; gap: 8px; }
.gm-option-edit input[type=radio] { width: 18px; height: 18px; accent-color: #22c55e; }
.gm-image-field { display: grid; gap: 8px; }
.cx-kind-actions { margin-top: 10px; }

.gm-content-text { margin: 0; color: #e9e6ff; font-size: 18px; line-height: 1.5; white-space: pre-wrap; text-align: center; }
.gm-content-image { justify-self: center; max-width: 100%; max-height: 320px; border-radius: 14px; object-fit: contain; }
.gm-video { justify-self: center; width: min(100%, 640px); aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; }
.gm-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gm-goto { width: auto; min-height: 36px; padding: 4px 10px; font-size: 14px; }
.gm-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.gm-option { padding: 12px 16px; border: 0; border-radius: 12px; background: rgba(0, 0, 0, .3); color: #fff; font: 700 17px Inter, sans-serif; text-align: center; }
.gm-option.correct { background: rgba(34, 197, 94, .3); box-shadow: inset 0 0 0 2px #22c55e; }
.gm-options.pick .gm-option { cursor: pointer; background: rgba(255, 255, 255, .06); }
.gm-options.pick .gm-option:hover { background: rgba(139, 92, 246, .25); }
.gm-options.pick .gm-option.picked { background: var(--accent); }
.gm-answer { display: grid; gap: 10px; }
.gm-answer .cx-actions { margin-top: 2px; }
.gm-answer-text { margin-left: auto; font-weight: 700; overflow-wrap: anywhere; }
.gm-out { opacity: .55; }
.gm-hearts { display: inline-flex; gap: 3px; align-items: center; }
.gm-hearts svg { width: 16px; height: 16px; }
.gm-hearts svg.on { fill: #f43f5e; }
.gm-hearts svg.off { fill: rgba(255, 255, 255, .18); }
.gm-guess { display: flex; align-items: center; gap: 10px; }
.gm-guess .cx-input { max-width: 240px; font-size: 20px; font-weight: 800; }
.gm-ranking { display: grid; gap: 8px; }
.gm-rank-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.gm-rank-row small { color: var(--muted); }
.gm-rank-row.place-1 { box-shadow: inset 0 0 0 2px #fbbf24; background: rgba(251, 191, 36, .12); }
.gm-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--team); flex: none; }
.gm-podium-members { color: var(--muted); font-size: 13px; text-align: center; }

/* Teams */
.gm-teams-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.gm-team-box { display: grid; gap: 8px; align-content: start; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: inset 4px 0 0 var(--team); }
.gm-team-box.mine { background: color-mix(in srgb, var(--team) 14%, transparent); }
.gm-team-box > b { color: color-mix(in srgb, var(--team) 70%, #fff); }
.gm-team-member { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.gm-team-member span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.gm-team-select { width: auto; min-height: 30px; padding: 2px 8px; font-size: 13px; }
.gm-team-free { display: grid; gap: 8px; margin-top: 12px; }
.gm-teams-host { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.gm-team-card { display: grid; gap: 10px; box-shadow: inset 4px 0 0 var(--team), inset 0 0 0 1px rgba(255, 255, 255, .05); }
.gm-team-head { display: flex; align-items: center; gap: 10px; }
.gm-team-head b { color: color-mix(in srgb, var(--team, #fff) 70%, #fff); font-size: 17px; }
.gm-team-head .cx-actions { margin-left: auto; }
.gm-draft { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.gm-draft-text { color: #cfcfe0; font-style: italic; overflow-wrap: anywhere; }
.gm-locked { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(34, 197, 94, .14); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .5); }
.gm-locked small { color: #86efac; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.gm-locked b { overflow-wrap: anywhere; }
.gm-locked.big { display: grid; justify-items: start; }
.gm-locked.big b { font-size: 22px; }
.gm-team-chat { display: grid; gap: 6px; }
.lb-chat-list.compact { height: 150px; }
.gm-team-status { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.gm-team-chip { display: grid; gap: 4px; justify-items: center; min-width: 180px; padding: 12px 18px; border-radius: 14px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--team) 60%, transparent); }
.gm-team-chip b { color: color-mix(in srgb, var(--team) 75%, #fff); }
.gm-team-chip span { color: rgba(255, 255, 255, .75); }
.gm-team-chip.locked { box-shadow: inset 0 0 0 3px var(--team); }
.gm-team-chip.good { box-shadow: inset 0 0 0 3px #22c55e; background: rgba(34, 197, 94, .2); }
.gm-team-chip.bad { box-shadow: inset 0 0 0 3px #ef4444; background: rgba(239, 68, 68, .2); }
.gm-progress { justify-self: center; padding: 8px 18px; border-radius: 999px; background: rgba(0, 0, 0, .35); color: rgba(255, 255, 255, .85); font-weight: 700; text-align: center; }
.gm-answers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gm-answer-chip { display: grid; gap: 2px; justify-items: center; min-width: 150px; padding: 10px 16px; border-radius: 12px; background: rgba(0, 0, 0, .35); }
.gm-answer-chip span { font-weight: 800; }
.gm-answer-chip.good { box-shadow: inset 0 0 0 2px #22c55e; }
.gm-answer-chip.bad { box-shadow: inset 0 0 0 2px #ef4444; opacity: .85; }

/* Picture Reveal */
.gm-picture { position: relative; justify-self: center; width: 100%; max-width: 720px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: #000; }
.gm-picture img { width: 100%; height: 100%; object-fit: contain; }
.gm-covers { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); }
.gm-covers span { background: linear-gradient(135deg, var(--cat, #3b2a8c), var(--board, #2b2470)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); transition: opacity .5s; }
.gm-covers span.open { opacity: 0; }
.gm-host-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gm-host-pics .gm-picture { max-width: none; }
.gm-reveal-stage { display: grid; align-content: center; gap: 16px; min-height: 0; }
.gm-reveal-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 30px; }
.gm-reveal-head span { color: var(--board-text, #fbbf24); font-weight: 900; }

/* Auf der Bühne größer */
.st-show .gm-stage { gap: 18px; }
.st-show .gm-content-text { font-size: 30px; }
.st-show .gm-content-image { max-height: 300px; }
.st-show .gm-video { width: 560px; }
.st-show .gm-option { font-size: 28px; padding: 14px 20px; }
.st-show .gm-team-chip { min-width: 240px; font-size: 26px; }
.st-show .gm-team-chip span { font-size: 24px; }
.st-show .gm-progress { font-size: 26px; padding: 10px 24px; }
.st-show .gm-answer-chip { font-size: 24px; min-width: 200px; }
.st-show .gm-rank-row { font-size: 26px; padding: 12px 20px; }
.st-show .gm-rank-row small { font-size: 18px; }
.st-show .gm-picture { max-width: none; height: 560px; width: auto; aspect-ratio: 4 / 3; }
.st-show .gm-hearts svg { width: 22px; height: 22px; }
.st-show .st-plate .gm-hearts { margin-left: 4px; }
.st-tile.out .st-tile-media { filter: grayscale(1) brightness(.55); }
.st-tile.out::after { content: "OUT"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 44px; font-weight: 900; letter-spacing: .12em; text-shadow: 0 4px 18px rgba(0, 0, 0, .8); }
.st-players.teams { gap: 30px; }
.st-team { display: grid; gap: 10px; flex: 0 1 auto; min-width: 0; padding: 10px 12px 0; border-radius: 22px; background: color-mix(in srgb, var(--team) 16%, transparent); box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--team) 70%, transparent); }
.st-team-label { display: flex; justify-content: space-between; gap: 16px; padding: 0 6px; font-size: 24px; }
.st-team-label b { color: color-mix(in srgb, var(--team) 60%, #fff); }
.st-team-label span { font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.st-team-tiles { display: flex; gap: 14px; padding-bottom: 24px; }
.st-team-tiles .st-tile { width: 300px; flex: none; }
.st-show.n5 .st-team-tiles .st-tile, .st-show.n6 .st-team-tiles .st-tile { width: 240px; }
.st-show.n7 .st-team-tiles .st-tile, .st-show.n8 .st-team-tiles .st-tile { width: 190px; }
