/* 📺 lelz Stream-Hub */
kbd { display: inline-block; padding: .1em .5em; border-radius: .4em; background: rgba(255,255,255,.14); box-shadow: inset 0 -.12em 0 rgba(0,0,0,.35); font: inherit; font-size: .9em; font-weight: 700; }
.btn.sm { padding: 8px 14px; font-size: 14px; }

/* ---------- Startseite ---------- */
body.st-home { background: radial-gradient(circle at 20% 0%, #3a1c5a, #0a0a0c 60%); color: #f5f5f7; min-height: 100vh; --text: #f5f5f7; --text-2: #a1a1a6; --card: #1c1c1e; --fill: #2c2c2e; }
.st-home main { max-width: 620px; margin: 0 auto; padding: 8vh 20px 40px; }
.sh-hero { text-align: center; } .sh-hero h1 { margin: 14px 0 6px; font-size: clamp(44px, 9vw, 72px); font-weight: 900; font-style: italic; letter-spacing: -.045em; line-height: 1; }
.sh-hero h1 span { background: linear-gradient(90deg, #9146ff, #ff375f, #ff9f0a); -webkit-background-clip: text; background-clip: text; color: transparent; } .sh-hero p { color: var(--text-2); font-size: 17px; }
.sh-live, .st-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; padding: 5px 10px; border-radius: 99px; background: rgba(255,59,48,.18); color: #ff6961; }
.sh-live i, .st-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: blink 1.4s ease-in-out infinite; }
.sh-app { margin-top: 26px; } .sh-card { display: grid; gap: 12px; } .sh-card h3 { margin: 10px 0 0; }
.sh-me { display: flex; align-items: center; gap: 10px; } .sh-me b { flex: 1; font-size: 18px; }
.sh-room { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 14px 16px; border-radius: 18px; background: var(--card); color: inherit; text-decoration: none; transition: transform .2s var(--spring); } .sh-room:hover { transform: scale(1.01); }
.sh-room span { grid-row: 1 / 3; font-size: 15px; font-weight: 700; align-self: center; } .sh-room small { color: var(--text-2); }
.st-home .login-card { background: var(--card); color: var(--text); }
.foot { text-align: center; color: #6e6e73; font-size: 12px; margin-top: 40px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Beitreten ---------- */
body.st-room { cursor: default; }
.st-center { position: relative; z-index: 1; min-height: 100vh; display: grid; place-items: center; padding: 3vh; box-sizing: border-box; }
.st-box { width: min(560px, 92vw); padding: 28px; border-radius: 30px; background: rgba(28,28,30,.85); backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgba(0,0,0,.5); display: grid; gap: 12px; text-align: center; animation: up .6s var(--ease) both; }
.st-box h1 { margin: 0; font-size: 34px; letter-spacing: -.03em; } .st-box h2 { margin: 6px 0; }
.sj-k { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #bf5af2; }
.sj-prev { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; } .sj-prev video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.sj-off { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; color: #a1a1a6; font-size: 16px; padding: 20px; }
.sj-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sj-level { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; } .sj-level i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #30d158, #ffd60a); transition: width .08s; }
.st-box .field { background: #2c2c2e; color: #fff; }

/* ---------- Raum ---------- */
.st-wrap { position: relative; z-index: 1; height: 100vh; box-sizing: border-box; padding: 2vh 2.4vw; display: grid; grid-template-rows: auto 1fr 25vh; gap: 2vh; }
body.obs .st-wrap { grid-template-rows: 1fr 25vh; padding: 2.4vh 2.4vw; } body.obs .tv-bg { opacity: 1; }
.st-top { display: flex; align-items: center; gap: 2vw; } .st-logo { font-size: 2.6vh; display: flex; align-items: center; gap: 1.2vh; } .st-logo b { font-weight: 900; font-style: italic; letter-spacing: -.03em; }
.st-status { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 2.2vh; color: var(--text-2); } .st-status b { color: #fff; }
.st-dot { width: 1.4vh; height: 1.4vh; border-radius: 50%; background: var(--c); margin-right: 1vh; box-shadow: 0 0 1.4vh var(--c); }
.st-tools { display: flex; gap: 8px; } .st-tools .btn { background: rgba(255,255,255,.08); color: #fff; }
.st-stage { position: relative; min-height: 0; display: grid; place-items: center; }

/* Brett */
.sb-board { width: 100%; height: 100%; display: grid; grid-template-rows: auto 1fr; gap: 1.4vh; min-height: 0; animation: up .5s var(--ease) both; }
.sb-head { display: flex; align-items: center; gap: 2vw; min-height: 5vh; } .sb-head .jt-chooser { flex: 1; position: relative; } .sb-head .jt-left { margin-left: auto; }
.st-room .jt-grid { grid-template-rows: 8vh repeat(5, 1fr); gap: 1vh; height: 100%; }
.st-room .jt-h span { font-size: 3vh; } .st-room .jt-h b { font-size: 1.8vh; }
.st-room .jt-t { border: 0; color: #fff; font: inherit; } .st-room .jt-t b { font-size: 4.6vh; }
.jt-grid.can .jt-t:not(.done) { cursor: pointer; } .jt-grid.can .jt-t:not(.done):hover { transform: scale(1.05); filter: brightness(1.15); z-index: 2; }
.jt-by i { display: block; width: 3vh; height: 3vh; border-radius: 50%; box-shadow: 0 0 0 .3vh rgba(255,255,255,.8); }

/* Fragekarte */
.sc-card { position: relative; width: min(100%, 130vh); max-height: 100%; box-sizing: border-box; padding: 3vh 4vh; border-radius: 3.6vh; background: linear-gradient(170deg, #26262b, #121214); box-shadow: 0 3vh 9vh rgba(0,0,0,.55), inset 0 0 0 .2vh rgba(255,255,255,.08); display: flex; flex-direction: column; align-items: center; gap: 1.6vh; text-align: center; overflow: hidden; animation: cardIn .5s var(--spring) both; }
.sc-card .jc-k { align-self: stretch; } .sc-card .jc-q { font-size: 5.2vh; margin: 1vh 0; } .sc-card .jc-q.long { font-size: 4.2vh; }
.sc-card .jc-flag .flag { height: 24vh; width: auto; } .sc-card .tbar { width: 60%; height: .8vh; margin: 0; background: rgba(255,255,255,.1); }
.sc-card .jc-opts { margin-top: 1vh; } .sc-card .jco { font-size: 2.6vh; padding: 1.5vh 2vh; border: 0; color: #fff; font-family: inherit; }
.jco.can { cursor: pointer; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 .2vh rgba(255,255,255,.18); } .jco.can:hover { background: rgba(255,255,255,.22); transform: translateY(-.3vh); }
.jco.picked { box-shadow: inset 0 0 0 .35vh #fff; } .jco.can:disabled { opacity: .6; }
.sc-who { margin-left: auto; display: flex; gap: .6vh; } .sc-who i { width: 2.4vh; height: 2.4vh; border-radius: 50%; box-shadow: 0 0 0 .25vh rgba(255,255,255,.7); }
.sc-card.is-right { box-shadow: 0 0 0 .4vh #30d158, 0 3vh 9vh rgba(48,209,88,.3); } .sc-card.is-reveal { box-shadow: 0 0 0 .4vh #ff453a, 0 3vh 9vh rgba(255,69,58,.25); }
.sc-p { margin: 0; font-size: 2.4vh; color: var(--text-2); } .sc-p b { color: #fff; } .sc-p.small { font-size: 1.9vh; }
.sc-wager { display: flex; flex-wrap: wrap; justify-content: center; gap: 1vh; } .sc-wager .btn { font-size: 2.2vh; padding: 1.4vh 2.4vh; }
.sc-card.fin h1 { margin: 0; font-size: 6vh; letter-spacing: -.03em; } .sc-card.end { min-height: 60vh; justify-content: center; }
.sc-rank { display: grid; gap: 1vh; width: min(100%, 70vh); }
.sc-rank > div { display: flex; align-items: center; gap: 1.6vh; padding: 1.2vh 2vh; border-radius: 99px; background: rgba(255,255,255,.07); box-shadow: inset .6vh 0 0 var(--c); font-size: 2.4vh; animation: up .5s var(--d) var(--ease) both; }
.sc-rank b { flex: 1; text-align: left; } .sc-rank small { color: var(--text-2); font-size: 1.8vh; } .sc-rank em { font-style: normal; font-weight: 900; color: #ffd60a; }
.sc-card .confetti { pointer-events: none; }
.dd-splash.sm { font-size: 5vh; }

/* Lobby */
.sl-lobby { width: 100%; height: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: center; animation: up .6s var(--ease) both; }
.sl-l h1 { margin: 1vh 0; font-size: 12vh; letter-spacing: -.05em; font-weight: 900; font-style: italic; line-height: .95; background: linear-gradient(90deg, #64d2ff, #0a84ff, #bf5af2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sl-l p { font-size: 2.4vh; color: var(--text-2); margin: 0 0 2vh; }
.sl-invite { padding: 2vh; border-radius: 2.4vh; background: rgba(255,255,255,.07); } .sl-invite small { display: block; color: var(--text-2); font-size: 1.8vh; margin-bottom: 1vh; }
.sl-invite div { display: flex; gap: 1vh; align-items: center; } .sl-invite code { flex: 1; font-size: 1.8vh; padding: 1.2vh 1.4vh; border-radius: 1.4vh; background: rgba(0,0,0,.35); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-r { display: grid; gap: 1.6vh; max-height: 100%; overflow: auto; }
.st-room .cat-pick, .st-room .jp-rules { background: rgba(255,255,255,.06); color: #f5f5f7; } .st-room .cp { background: rgba(255,255,255,.08); color: #fff; } .st-room .seg-row { color: #fff; }

/* Kameras */
.st-bottom { display: flex; gap: 1.6vw; min-height: 0; }
.st-cams { flex: 1; display: flex; justify-content: center; align-items: stretch; gap: 1.4vh; min-width: 0; }
.cam { position: relative; flex: 0 1 calc((100% - (var(--n) - 1) * 1.4vh) / var(--n)); max-width: 44vh; border-radius: 2.2vh; overflow: hidden; background: #1c1c1e; box-shadow: inset 0 0 0 .35vh var(--c), 0 1.4vh 4vh rgba(0,0,0,.45); transition: transform .35s var(--spring), box-shadow .35s, opacity .35s; animation: pop .5s var(--spring) both; }
.cam video { position: absolute; inset: .35vh; width: calc(100% - .7vh); height: calc(100% - .7vh); object-fit: cover; border-radius: 1.9vh; background: #000; }
.cam.me video { transform: scaleX(-1); }
.cam-av { position: absolute; inset: 0; display: none; place-items: center; background: radial-gradient(circle, color-mix(in srgb, var(--c) 35%, #1c1c1e), #141416); } .cam.off .cam-av { display: grid; } .cam.off video { opacity: 0; }
.cam-av .av { width: 11vh; height: 11vh; font-size: 5vh; }
.cam-lbl { position: absolute; left: 1vh; bottom: 1vh; right: 1vh; display: flex; align-items: center; gap: 1vh; } .cam-lbl b { padding: .6vh 1.2vh; border-radius: 99px; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); font-size: 1.9vh; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cam-lbl em:not(:empty) { margin-left: auto; padding: .6vh 1.2vh; border-radius: 99px; background: var(--c); color: #000; font-style: normal; font-weight: 900; font-size: 2vh; font-variant-numeric: tabular-nums; }
.cam-mic { position: absolute; top: 1vh; right: 1vh; display: none; padding: .4vh .8vh; border-radius: 99px; background: rgba(255,59,48,.85); font-size: 1.6vh; } .cam.muted .cam-mic { display: block; }
.cam-kick { position: absolute; top: 1vh; left: 1vh; width: 3.2vh; height: 3.2vh; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 1.6vh; cursor: pointer; opacity: 0; transition: opacity .2s; } .cam:hover .cam-kick { opacity: 1; }
.cam.away { opacity: .45; }
.cam.chooser { box-shadow: inset 0 0 0 .5vh var(--c), 0 0 4vh color-mix(in srgb, var(--c) 60%, transparent); }
.cam.ans { transform: translateY(-1.4vh) scale(1.04); box-shadow: inset 0 0 0 .6vh var(--c), 0 0 6vh var(--c); z-index: 2; }
.cam.out { opacity: .4; filter: grayscale(.7); }
.cam.won { box-shadow: inset 0 0 0 .6vh #30d158, 0 0 6vh #30d158; } .cam.lost { box-shadow: inset 0 0 0 .6vh #ff453a, 0 0 4vh rgba(255,69,58,.6); }
.cam.ping { animation: camPing .5s ease-out; } @keyframes camPing { 0% { transform: scale(1); } 40% { transform: scale(1.08); box-shadow: inset 0 0 0 .8vh #fff, 0 0 8vh #fff; } 100% { transform: scale(1); } }

/* Dock */
.st-dock { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4vh; width: 22vh; }
.sd-ctl { display: flex; gap: .8vh; } .sd-b { width: 6vh; height: 6vh; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 2.6vh; cursor: pointer; transition: background .2s; } .sd-b:hover { background: rgba(255,255,255,.22); } .sd-b.off { background: rgba(255,59,48,.75); }
.sd-buzz { width: 15vh; height: 15vh; border: 0; border-radius: 50%; color: #fff; cursor: pointer; display: grid; place-content: center; gap: .4vh; background: radial-gradient(circle at 35% 30%, #ff6961, #c41f1f 70%); box-shadow: 0 1.2vh 0 #7d1010, 0 2vh 4vh rgba(255,59,48,.5); transition: transform .1s, box-shadow .1s; }
.sd-buzz b { font-size: 3vh; font-weight: 900; } .sd-buzz small { font-size: 1.4vh; opacity: .8; }
.sd-buzz.go { animation: buzzPulse 1s ease-in-out infinite; } .sd-buzz:active, .sd-buzz.sent { transform: translateY(1vh); box-shadow: 0 .2vh 0 #7d1010, 0 1vh 2vh rgba(255,59,48,.4); }
.sd-buzz.wait { background: radial-gradient(circle at 35% 30%, #8e8e93, #48484a 70%); box-shadow: 0 1.2vh 0 #2c2c2e; } .sd-buzz.sent { background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 80%, #fff), var(--c) 70%); }
.sd-pass { font-size: 2vh; }
.st-room .sheet { background: #1c1c1e; color: #fff; }
.st-room .seg-row { display: flex; align-items: center; gap: 1vh; font-weight: 700; } .st-room .seg-b { padding: 1vh 1.8vh; border: 0; border-radius: 99px; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 1.8vh; cursor: pointer; } .st-room .seg-b.on { background: #fff; color: #000; }
