/* involve.ipw.dk — IPW-farver (superhelte-navnene fra brandguiden) */
:root {
  --navy: #0e2666; --deep: #06102e; --superman: #3063f4; --hulk: #38e59d; --rv: #b297ff; --silver: #e1e3eb; --storm: #ffffff;
  --bg: #eef0f6; --panel: #ffffff; --line: #d9dce8; --fg: #0b1433; --muted: #5b6482;
  --accent: #3063f4; --accent-soft: #e4ebff; --ok: #1a9e66; --ok-soft: #dcf7ea;
  --warn: #b5620b; --warn-soft: #fdebd6; --raven: #7a5cf0; --raven-soft: #eee8ff; --danger: #c2293d; --danger-soft: #fde4e7;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f1f; --panel: #121a31; --line: #253050; --fg: #e8ebf5; --muted: #9aa3c0;
    --accent: #6b8fff; --accent-soft: #1b2850; --ok: #38e59d; --ok-soft: #12352a;
    --warn: #f2a65a; --warn-soft: #3a2812; --raven: #b297ff; --raven-soft: #2a2148; --danger: #ff6b7f; --danger-soft: #3a1820;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body { font-family: var(--font); font-size: 15px; line-height: 1.45; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
svg.i { width: 1.15em; height: 1.15em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 500; z-index: 100; max-width: calc(100vw - 32px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.toast.err { background: var(--danger); color: #fff; }
.offline { position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: #d9822b; color: #1b1205; text-align: center; font-size: 13px; font-weight: 700; padding: calc(6px + env(safe-area-inset-top, 0px)) 12px 6px; }

/* ================================================================ telefon */
body.phone { background: var(--deep); color: var(--storm); min-height: 100dvh; }
.ph { min-height: 100dvh; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; }
.ph-head { display: flex; align-items: center; gap: 10px; padding: calc(12px + env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) 12px max(18px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid rgba(255,255,255,.08); }
.ph-head .logo { height: 15px; width: auto; fill: #fff; flex: none; }
.ph-head .brand { font-weight: 700; }
.ph-head .who { margin-left: auto; text-align: right; font-size: 12px; line-height: 1.25; min-width: 0; }
.ph-head .who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40vw; }
.ph-head .who small { display: block; opacity: .55; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40vw; }
.ph-room { display: inline-flex; align-items: center; gap: 4px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; border-radius: 99px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.ph-now { padding: 10px 18px; font-size: 12px; background: rgba(48,99,244,.16); }
.ph-now b { display: block; font-size: 15px; }
.ph-main { flex: 1; padding: 22px 18px 28px; display: flex; flex-direction: column; gap: 14px; }
.ph-kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--hulk); font-weight: 700; }
.ph-title { font-size: 24px; font-weight: 700; line-height: 1.2; margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
.ph-text { margin: 0; opacity: .78; line-height: 1.5; }
.ph-opt { position: relative; overflow: hidden; text-align: left; font-weight: 700; font-size: 17px; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 17px 16px; display: flex; gap: 10px; align-items: center; min-height: 56px; }
.ph-opt .fill { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(48,99,244,.32); transition: width .5s ease; }
.ph-opt span { position: relative; }
.ph-opt .n { margin-left: auto; font-weight: 500; opacity: .75; font-variant-numeric: tabular-nums; font-size: 14px; }
.ph-opt.mine { border-color: var(--hulk); background: rgba(56,229,157,.14); }
.ph-quiz { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-quiz button { border: 0; border-radius: 14px; padding: 16px 12px; font-weight: 700; color: #fff; min-height: 92px; text-align: left; display: flex; flex-direction: column; gap: 6px; font-size: 15px; overflow-wrap: anywhere; }
.ph-quiz button b { font-size: 20px; }
.ph-quiz button:disabled { opacity: .35; cursor: default; }
.ph-quiz button.mine { opacity: 1; box-shadow: 0 0 0 3px #fff; }
.qa { background: #3063f4; } .qb { background: #7a5cf0; } .qc { background: #0f9d6b; } .qd { background: #c4701f; } .qe { background: #b53a6b; } .qf { background: #31708f; }
.ph-field { display: flex; flex-direction: column; gap: 6px; }
.ph-field label { font-size: 13px; opacity: .75; }
.ph-field input, .ph-field textarea { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 13px 14px; color: #fff; font-size: 17px; width: 100%; }
.ph-field textarea { min-height: 110px; resize: vertical; }
.ph-cta { border: 0; border-radius: 14px; padding: 17px; font-weight: 700; font-size: 17px; background: var(--hulk); color: var(--deep); }
.ph-cta:disabled { opacity: .5; }
.ph-note { font-size: 13px; opacity: .65; line-height: 1.5; margin: 0; }
.ph-error { color: #ff9aa8; font-size: 14px; margin: 0; }
.ph-check { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.ph-check input { width: 20px; height: 20px; accent-color: var(--hulk); }
.ph-card { background: rgba(255,255,255,.06); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; overflow-wrap: anywhere; }
.ph-card .meta { display: flex; gap: 8px; align-items: center; font-size: 12px; opacity: .85; flex-wrap: wrap; }
.ph-chip { display: inline-flex; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.12); }
.ph-chip.markeret { background: rgba(178,151,255,.25); color: #d9cbff; }
.ph-chip.besvaret { background: rgba(56,229,157,.2); color: var(--hulk); }
.ph-like { margin-left: auto; display: inline-flex; gap: 5px; align-items: center; border: 1px solid rgba(255,255,255,.25); background: none; color: #fff; border-radius: 99px; padding: 5px 12px; font-size: 13px; }
.ph-like.on { border-color: var(--hulk); color: var(--hulk); }
.ph-bar { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); border-top: 1px solid rgba(255,255,255,.08); background: rgba(6,16,46,.97); }
.ph-bar button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; border-radius: 14px; padding: 11px 6px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(255,255,255,.08); }
.ph-bar button svg { width: 24px; height: 24px; }
.ph-bar button.clap { background: var(--hulk); color: var(--deep); flex: 1.4; }
.ph-bar button.on { background: rgba(48,99,244,.45); }
.ph-bar button:active, .ph-big-clap:active { transform: scale(.96); }
.ph-meter { height: 6px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.ph-meter i { display: block; height: 100%; width: 0; background: var(--hulk); transition: width .2s linear; }
.ph-sheet { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; }
.ph-sheet .in { width: 100%; max-width: 560px; max-height: 92dvh; background: #0b1a4a; border-radius: 22px 22px 0 0; display: flex; flex-direction: column; box-shadow: 0 -20px 40px rgba(0,0,0,.5); }
.ph-sheet header { display: flex; align-items: center; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ph-sheet header b { font-size: 17px; }
.ph-sheet header button { margin-left: auto; background: none; border: 0; color: #fff; display: flex; padding: 6px; }
.ph-sheet header button svg { width: 22px; height: 22px; }
.ph-sheet .body { overflow-y: auto; padding: 16px 18px calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; }
.ph-sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; font-weight: 700; margin-top: 8px; }
.ph-track { text-align: left; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.ph-track .rn { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--hulk); font-weight: 700; }
.ph-track b { font-size: 17px; line-height: 1.25; }
.ph-track span { font-size: 13px; opacity: .7; }
.ph-track.mine { border-color: var(--hulk); background: rgba(56,229,157,.12); }
.ph-big-clap { border: 0; border-radius: 50%; width: min(220px, 60vw); aspect-ratio: 1; align-self: center; background: radial-gradient(circle at 35% 30%, #6ff2b9, var(--hulk) 55%, #1fae74); color: var(--deep); font-weight: 700; font-size: 19px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 0 0 10px rgba(56,229,157,.12); }
.ph-big-clap svg { width: 60px; height: 60px; }

/* ================================================================ storskærm */
body.screen { background: #050914; color: var(--storm); height: 100vh; overflow: hidden; display: grid; place-items: center; }
.screen-frame { container-type: inline-size; position: relative; width: min(100vw, 177.78vh); aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(120% 90% at 85% 110%, #1b3a9a 0%, var(--navy) 45%, var(--deep) 100%); }
.sc-head { position: absolute; inset: 0 0 auto; display: flex; align-items: center; gap: 2cqw; padding: 2.2cqw 3cqw; font-size: 1.35cqw; }
.sc-head svg { height: 2.1cqw; width: auto; fill: #fff; flex: none; }
.sc-head .now { opacity: .7; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-head .url { font-family: var(--mono); color: var(--hulk); }
.sc-body { position: absolute; inset: 7cqw 4cqw 6cqw; display: flex; flex-direction: column; justify-content: center; gap: 2cqw; }
.sc-foot { position: absolute; inset: auto 3cqw 2cqw; display: flex; align-items: center; gap: 1.4cqw; font-size: 1.2cqw; opacity: .85; }
.sc-foot .meter { flex: 0 0 22cqw; height: .8cqw; border-radius: 99px; background: rgba(255,255,255,.15); overflow: hidden; }
.sc-foot .meter i { display: block; height: 100%; width: 0; background: var(--hulk); transition: width .2s linear; }
.sc-foot .count { margin-left: auto; font-variant-numeric: tabular-nums; }
.sc-kicker { font-size: 1.3cqw; letter-spacing: .3em; text-transform: uppercase; color: var(--hulk); font-weight: 700; }
.sc-title { font-weight: 700; font-size: 3.6cqw; line-height: 1.12; letter-spacing: -.015em; margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
.sc-bars { display: flex; flex-direction: column; gap: 1.1cqw; }
.sc-bar { position: relative; height: 4.4cqw; border-radius: .9cqw; background: rgba(255,255,255,.08); overflow: hidden; display: flex; align-items: center; padding: 0 1.6cqw; font-size: 1.9cqw; font-weight: 700; }
.sc-bar .fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--superman), #5b84ff); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.sc-bar.lead .fill { background: linear-gradient(90deg, #22b97a, var(--hulk)); }
.sc-bar span { position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-bar .pct { margin-left: auto; padding-left: 2cqw; font-variant-numeric: tabular-nums; flex: none; }
.sc-meta { font-size: 1.5cqw; opacity: .7; font-variant-numeric: tabular-nums; }
.sc-idle { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4cqw; align-items: center; }
.sc-qr { background: #fff; padding: 1.4cqw; border-radius: 1.2cqw; width: 22cqw; }
.sc-qr svg { display: block; width: 100%; height: auto; }
.sc-big { font-weight: 700; font-size: 9cqw; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sc-quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqw; }
.sc-qo { border-radius: 1cqw; padding: 1.6cqw 2cqw; font-size: 2cqw; font-weight: 700; display: flex; gap: 1.4cqw; align-items: center; background: rgba(255,255,255,.08); transition: opacity .3s, background .3s; }
.sc-qo b { display: inline-grid; place-items: center; width: 3.2cqw; height: 3.2cqw; border-radius: .7cqw; background: rgba(255,255,255,.14); font-size: 1.6cqw; flex: none; }
.sc-qo.right { background: rgba(56,229,157,.25); box-shadow: inset 0 0 0 .25cqw var(--hulk); }
.sc-qo.wrong { opacity: .35; }
.sc-qo .n { margin-left: auto; font-variant-numeric: tabular-nums; opacity: .8; }
.sc-timer { display: flex; align-items: center; gap: 1.5cqw; font-size: 1.6cqw; }
.sc-timer .track { flex: 1; height: .8cqw; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.sc-timer .track i { display: block; height: 100%; background: var(--rv); transition: width .2s linear; }
.sc-row { display: grid; grid-template-columns: 3cqw minmax(0, 1fr) auto; gap: 1.4cqw; align-items: center; font-size: 2cqw; padding: 1cqw 1.6cqw; border-radius: .8cqw; background: rgba(255,255,255,.06); }
.sc-row .pl { color: var(--hulk); display: flex; }
.sc-row .pl svg { width: 2.4cqw; height: 2.4cqw; }
.sc-row small { opacity: .6; font-size: 1.4cqw; margin-left: .8cqw; }
.sc-row .pts { font-variant-numeric: tabular-nums; font-weight: 700; }
.sc-winner { text-align: center; display: flex; flex-direction: column; gap: 1.2cqw; align-items: center; }
.sc-winner .name { font-size: 6.4cqw; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; overflow-wrap: anywhere; }
.sc-winner .firma { font-size: 2.2cqw; opacity: .75; }
.sc-quote { font-size: 4cqw; font-weight: 700; line-height: 1.18; letter-spacing: -.015em; margin: 0; text-wrap: balance; overflow-wrap: anywhere; }
.sc-quote::before { content: "\201C"; color: var(--hulk); margin-right: .2em; }
.sc-by { font-size: 1.8cqw; opacity: .8; display: flex; gap: 2cqw; align-items: center; }
.sc-by .lk { display: inline-flex; gap: .6cqw; align-items: center; color: var(--hulk); }
.sc-by .lk svg { width: 2cqw; height: 2cqw; }
.sc-gauge { position: relative; height: 7cqw; border-radius: 1.4cqw; background: rgba(255,255,255,.08); overflow: hidden; }
.sc-gauge i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--superman), var(--hulk)); transition: width .2s linear; }
.sc-gauge .target { position: absolute; top: 0; bottom: 0; width: .3cqw; background: #fff; left: 70%; box-shadow: 0 0 1cqw #fff; }
.sc-tracks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6cqw; }
.sc-track { background: rgba(255,255,255,.07); border-radius: 1.2cqw; padding: 1.8cqw; display: flex; flex-direction: column; gap: .8cqw; min-width: 0; }
.sc-track .rn { font-size: 1.3cqw; letter-spacing: .2em; text-transform: uppercase; color: var(--hulk); font-weight: 700; }
.sc-track b { font-size: 2.2cqw; line-height: 1.15; overflow-wrap: anywhere; }
.sc-track span { font-size: 1.4cqw; opacity: .75; }
.sc-track .cnt { margin-top: auto; font-variant-numeric: tabular-nums; opacity: 1; color: var(--rv); }
.sc-error { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2cqw; padding: 4cqw; text-align: center; }
.likes, .confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.likes span { position: absolute; bottom: 4cqw; width: 3.2cqw; height: 3.2cqw; color: var(--hulk); animation: rise 2.6s ease-out forwards; }
.likes span svg { width: 100%; height: 100%; }
@keyframes rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-34cqw) scale(1.1); opacity: 0; } }
.confetti i { position: absolute; top: -2cqw; width: 1cqw; height: 1.6cqw; animation: fall 2.4s ease-in forwards; }
@keyframes fall { to { transform: translateY(60cqw) rotate(540deg); opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .likes span, .confetti i { animation-duration: .01s; } .sc-bar .fill, .sc-gauge i { transition: none; } }

/* ================================================================ konsol (admin, moderator, taler, login) */
body.console { background: var(--bg); color: var(--fg); font-size: 14px; padding: 16px max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)); }
.wrap { max-width: 1320px; margin: 0 auto; display: grid; gap: 14px; }
.top { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.top .logo { height: 20px; width: auto; fill: var(--fg); }
.top h1 { font-size: 19px; margin: 0; }
.top h1 span { color: var(--accent); }
.top nav { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.top nav a[aria-current] { color: var(--fg); }
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 6px 11px; font-weight: 500; white-space: nowrap; text-decoration: none; color: inherit; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.btn.sm { padding: 3px 8px; font-size: 12.5px; border-radius: 6px; }
.btn.danger { color: var(--danger); }
.btn.danger.solid { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; align-items: start; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card h2 { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.card h2 .hint { margin-left: auto; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel); }
.seg button { border: 0; background: none; padding: 6px 12px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.on { background: var(--accent); color: #fff; }
.seg small { font-variant-numeric: tabular-nums; opacity: .75; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.switch input { appearance: none; width: 34px; height: 20px; border-radius: 99px; background: var(--line); position: relative; margin: 0; cursor: pointer; transition: background .2s; flex: none; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch input:checked { background: var(--ok); }
.switch input:checked::after { transform: translateX(14px); }
.bo { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.bo.running { border-color: var(--raven); background: var(--raven-soft); }
.bo .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.chip { font-size: 12px; border-radius: 99px; padding: 2px 9px; background: var(--panel); border: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chip.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; font-weight: 700; }
.chip.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; font-weight: 700; }
.now-scene { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; background: var(--accent-soft); flex-wrap: wrap; }
.now-scene b { overflow-wrap: anywhere; }
.now-scene .src { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.now-scene .stat { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12.5px; }
.sgroup { display: flex; flex-direction: column; gap: 6px; }
.sgroup > span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.list { display: flex; flex-direction: column; gap: 6px; }
.item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: 8px; border: 1px solid transparent; }
.item:hover { background: var(--bg); }
.item.active { border-color: var(--accent); background: var(--accent-soft); }
.item .t { font-family: var(--mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.item .n { min-width: 0; }
.item .n b { display: block; font-weight: 500; overflow-wrap: anywhere; }
.item .n small { color: var(--muted); }
.item .acts { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.rtag { font-size: 11px; font-weight: 700; color: var(--raven); margin-right: 6px; }
.slot { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; padding: 6px 8px 0; }
form.f { display: grid; gap: 8px; padding: 12px; border-radius: 10px; background: var(--bg); }
form.f label { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
form.f input, form.f textarea, form.f select, .inp { border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 7px 10px; color: var(--fg); width: 100%; }
form.f textarea { min-height: 84px; resize: vertical; }
form.f .row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; font-size: 13px; }
.kv code { font-family: var(--mono); font-size: 12px; background: var(--bg); padding: 3px 7px; border-radius: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv > span { color: var(--muted); }
.stat-big { font-size: 30px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.confirm { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 10px 12px; border-radius: 8px; background: var(--danger-soft); color: var(--danger); font-size: 13px; }
.confirm input { width: 90px; }
.bars { display: grid; gap: 4px; }
.bars div { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 8px; font-size: 12.5px; align-items: center; }
.bars i { display: block; height: 6px; border-radius: 99px; background: var(--accent); }
.bars .lab { display: grid; gap: 2px; min-width: 0; }
.bars .lab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bars .num { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.qrbox { background: #fff; padding: 8px; border-radius: 8px; width: 120px; }
.qrbox svg { display: block; width: 100%; height: auto; }
.mod-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mod-head select { border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 7px 10px; max-width: 100%; }
.mod-head .counts { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.col { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.col > h3 { margin: 2px 4px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.q { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 8px; border-left: 3px solid var(--line); }
.q.ny { border-left-color: var(--warn); }
.q.markeret { border-left-color: var(--raven); }
.q.besvaret { border-left-color: var(--ok); opacity: .85; }
.q.skjult { border-left-color: var(--danger); opacity: .7; }
.q.onscreen { box-shadow: 0 0 0 2px var(--accent); }
.q p { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.q textarea { width: 100%; min-height: 70px; border: 1px solid var(--accent); border-radius: 6px; padding: 6px; background: var(--panel); color: var(--fg); resize: vertical; }
.q .by { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.q .by .lk { margin-left: auto; display: inline-flex; gap: 4px; align-items: center; font-variant-numeric: tabular-nums; color: var(--fg); }
.q .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.q .ord { font-family: var(--mono); font-size: 12px; color: var(--raven); font-weight: 500; }
.empty { color: var(--muted); font-size: 13px; padding: 10px 4px; }
.speaker { background: var(--deep); color: #fff; border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.speaker .kick { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--hulk); font-weight: 700; }
.speaker .sq { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.speaker .sq:last-child { border-bottom: 0; }
.speaker .no { font-size: 30px; font-weight: 700; color: var(--rv); line-height: 1; }
.speaker .sq p { margin: 0; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.3; font-weight: 500; overflow-wrap: anywhere; white-space: pre-wrap; }
.speaker .sq small { display: block; opacity: .6; margin-top: 6px; font-size: 14px; }
.speaker .lk { display: inline-flex; gap: 5px; align-items: center; color: var(--hulk); font-variant-numeric: tabular-nums; font-size: 18px; }
.login { max-width: 380px; margin: 12vh auto 0; }
