/* Eine CSS-Datei für Handy, Leinwand und Admin. Design: Schwarz, Weiß, Blau #3361FF, nie grauer Text. */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --black: #000; --white: #fff; --blue: #3361FF;
  --f1: #141414; --f2: #161616; --f3: #2B2B2B;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--black); color: var(--white); font-family: 'Instrument Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; -webkit-tap-highlight-color: transparent; }
a { color: var(--white); }

/* ================= Handy ================= */
body.phone { min-height: 100dvh; overscroll-behavior: none; }
.p-root { min-height: 100dvh; display: flex; flex-direction: column; padding: max(18px, env(safe-area-inset-top)) 18px max(14px, env(safe-area-inset-bottom)); }
.p-view { flex: 1; display: flex; flex-direction: column; gap: 14px; animation: p-in .35s var(--ease); }
@keyframes p-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.p-kicker { font-size: 17px; font-weight: 600; }
.p-title { font-size: 30px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.p-big { font-size: 40px; line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; margin: 0; }
.p-text { font-size: 19px; line-height: 1.35; margin: 0; }
.p-center { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.p-num { color: var(--blue); font-size: 96px; font-variant-numeric: tabular-nums; }
.p-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); }
.p-grow { flex: 1; }
.p-opts { display: flex; flex-direction: column; gap: 10px; }
.p-row { display: flex; gap: 10px; }
.p-row > * { flex: 1; }
.p-btn { min-height: 58px; padding: 14px 18px; border-radius: 16px; background: var(--f3); font-size: 19px; font-weight: 500; text-align: left; transition: background .15s, color .15s, transform .1s; }
.p-btn:active { transform: scale(.98); }
.p-btn.sel { background: var(--white); color: var(--black); }
.p-btn.center { text-align: center; }
.p-primary { min-height: 60px; border-radius: 16px; background: var(--blue); font-size: 20px; font-weight: 600; text-align: center; }
.p-primary:disabled { background: var(--f3); }
.p-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.p-scale .p-btn { text-align: center; padding: 0; font-size: 22px; }
.p-scale-labels { display: flex; justify-content: space-between; font-size: 15px; }
.p-input { width: 100%; min-height: 62px; border: 0; border-radius: 16px; background: var(--f3); padding: 0 18px; font-size: 24px; outline: none; }
.p-input:focus { background: #333; }
.p-progress { display: flex; gap: 6px; }
.p-progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--f3); }
.p-progress span.on { background: var(--blue); }
.p-foot { font-size: 12px; line-height: 1.3; }

/* Bildschritt */
.p-imgwrap { position: relative; flex: 1; min-height: 200px; border-radius: 16px; overflow: hidden; background: var(--f1); }
.p-imgwrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.p-hint { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 10px 16px; border-radius: 16px; background: var(--blue); font-size: 16px; line-height: 1.2; font-weight: 500; }
.p-hint b { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.p-hint.none { background: var(--f3); }
.p-slider { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.p-slider input { flex: 1; }
.p-slider output { min-width: 58px; text-align: right; font-size: 22px; font-weight: 600; }
input[type=range] { -webkit-appearance: none; appearance: none; height: 36px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: var(--f3); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--white); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 4px; background: var(--f3); }
input[type=range]::-moz-range-thumb { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--white); }
.p-zoom { position: fixed; inset: 0; z-index: 10; background: var(--black); display: flex; align-items: center; justify-content: center; }
.p-zoom .p-imgwrap { position: absolute; inset: 0; border-radius: 0; }
.p-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--f1); font-size: 17px; }
.p-stat b { font-size: 26px; font-weight: 600; }

/* Sepsis-Vignette */
.p-vig { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 16px; }
.p-vig div { display: flex; flex-direction: column; padding: 8px 12px; border-radius: 12px; background: var(--f1); }
.p-vig span { font-size: 13px; font-weight: 600; }
.p-vig b { font-size: 19px; font-weight: 500; }
.p-count { display: flex; align-items: center; gap: 12px; }
.p-count b { font-size: 34px; font-weight: 600; min-width: 46px; font-variant-numeric: tabular-nums; }
.p-bar { flex: 1; height: 10px; border-radius: 5px; background: var(--f3); overflow: hidden; }
.p-bar i { display: block; height: 100%; background: var(--blue); transform-origin: left; }
.p-ampel { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 16px; background: var(--f1); font-size: 16px; font-weight: 500; }
.p-ampel .lights { display: flex; gap: 6px; margin-left: auto; }
.p-ampel .lights i { width: 22px; height: 22px; border-radius: 50%; background: var(--f3); }
.p-ampel .lights i.on.gruen { background: #2FBF71; }
.p-ampel .lights i.on.gelb { background: #F5C518; }
.p-ampel .lights i.on.rot { background: #F0453A; }

/* Literatur */
.p-lit { display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; }
.p-lit a { display: block; padding: 14px 16px; border-radius: 14px; background: var(--f1); text-decoration: none; font-size: 15px; line-height: 1.3; }
.p-lit a b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 4px; }

/* ================= Leinwand ================= */
body.screen { overflow: hidden; height: 100vh; cursor: none; }
body.screen.cursor { cursor: default; }
.s-viewport { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--black); }
.s-stage { position: relative; width: 1280px; height: 720px; flex: none; overflow: hidden; background: var(--black); transform-origin: center center; }
.s-view { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); transform: translateY(14px); }
.s-view.in { opacity: 1; transform: none; }
.s-view.out { opacity: 0; transform: translateY(-10px); }
.s-progress { position: absolute; left: 88px; right: 88px; top: 36px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; font-size: 15px; z-index: 3; }
.s-progress div { display: flex; flex-direction: column; gap: 10px; }
.s-progress span.bar { height: 6px; border-radius: 3px; background: var(--f3); transition: background .6s; }
.s-progress .done span.bar { background: var(--white); }
.s-progress .cur span.bar { background: var(--blue); }
.s-progress .cur span.lab { font-weight: 600; }
.s-h2 { position: absolute; left: 88px; top: 136px; width: 1104px; margin: 0; font-weight: 500; font-size: 56px; line-height: 1.04; letter-spacing: -0.03em; }
.s-h2.small { font-size: 44px; }
/* Legende unter dem Diagramm, rechts (nie neben dem Titel) */
.s-legend { position: absolute; right: 88px; bottom: 80px; display: flex; gap: 28px; font-size: 20px; font-weight: 500; }
.s-legend span::before { content: ''; display: inline-block; width: 16px; height: 16px; border-radius: 4px; margin-right: 10px; vertical-align: -1px; background: currentColor; }
.s-foot { position: absolute; left: 88px; right: 88px; bottom: 36px; display: flex; justify-content: space-between; font-size: 15px; }
.s-demo { position: absolute; right: 24px; bottom: 12px; font-size: 13px; font-weight: 600; color: var(--blue); z-index: 5; }
.s-sound { position: absolute; left: 24px; bottom: 12px; font-size: 13px; z-index: 5; transition: opacity 1s; }
.s-figure { position: absolute; left: 72px; font-weight: 400; font-size: 300px; line-height: 1; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.s-side { position: absolute; left: 900px; width: 300px; margin: 0; font-weight: 500; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
.s-side p { margin: 0 0 18px; }
.s-blue { color: var(--blue); }
.s-dot { position: absolute; left: 88px; top: 220px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); }
.s-statement { position: absolute; left: 88px; top: 280px; width: 1000px; margin: 0; font-weight: 500; font-size: 68px; line-height: 1.08; letter-spacing: -0.035em; }
.s-canvas { position: absolute; inset: 0; width: 1280px; height: 720px; }

/* Balkendiagramm: Beschriftung links, Nulllinie, Balken proportional zum Wert, Achsenwerte unten */
.s-chart { position: absolute; left: 0; width: 1280px; display: flex; flex-direction: column; padding-bottom: 40px; }
.s-crow { display: grid; grid-template-columns: var(--x0) 1fr; align-items: center; }
.s-clab { padding: 0 24px 0 88px; font-weight: 500; font-size: 24px; line-height: 1.15; }
.s-cbars { display: flex; flex-direction: column; }
.s-zero { position: absolute; left: calc(var(--x0) - 2px); top: -8px; bottom: 32px; width: 2px; background: var(--white); }
.s-axis { position: absolute; left: 0; right: 0; bottom: 0; height: 24px; }
.s-axis span { position: absolute; transform: translateX(-50%); font-size: 16px; font-weight: 500; white-space: nowrap; }
.s-barline { display: flex; align-items: center; }
.s-bar { border-radius: 0 16px 16px 0; background: var(--f3); width: 0; transition: width 1.2s var(--ease); flex: none; }
.s-bar.blue { background: var(--blue); }
.s-bar.white { background: var(--white); }
.s-bar.grey { background: var(--f3); }
.s-barval { margin-left: 20px; font-weight: 500; font-size: 48px; letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.s-barval small { font-size: 18px; font-weight: 500; letter-spacing: 0; margin-left: 12px; }

/* Einlass */
.s-qrpanel { position: absolute; left: 800px; top: 120px; width: 480px; height: 600px; border-radius: 16px 0 0 0; background: var(--blue); }
.s-qr { position: absolute; left: 880px; top: 172px; width: 320px; height: 320px; border-radius: 20px; background: var(--white); display: flex; align-items: center; justify-content: center; }
.s-qr svg, .s-qr canvas { width: 272px; height: 272px; }
.s-url { position: absolute; left: 820px; top: 520px; width: 440px; text-align: center; font-weight: 600; font-size: 28px; letter-spacing: -0.01em; word-break: break-all; }
.s-count { position: absolute; left: 88px; bottom: 90px; display: flex; align-items: baseline; gap: 22px; }
.s-count b { font-size: 200px; font-weight: 400; line-height: .8; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.s-count span { font-size: 28px; font-weight: 500; }

/* Bild auf der Leinwand */
.s-img { position: absolute; left: 0; top: 0; width: 540px; height: 720px; background: var(--f1); overflow: hidden; }
.s-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-img img.ov { opacity: 0; transition: opacity 1.2s var(--ease); }
.s-img img.ov.on { opacity: 1; }
.s-right-title { position: absolute; left: 620px; top: 96px; margin: 0; font-weight: 500; font-size: 56px; letter-spacing: -0.03em; }
.s-pot-num { position: absolute; left: 620px; width: 580px; top: 170px; text-align: center; font-size: 150px; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }

/* Blasen */
.s-bubble { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; hyphens: auto; align-items: center; justify-content: center; text-align: center; border-radius: 50%; font-weight: 500; line-height: 1.1; padding: 14px; will-change: transform; transition: opacity .5s; }
.s-bubble b { font-weight: 600; font-size: 1.15em; }
.s-bubble.c0 { background: var(--blue); }
.s-bubble.c1 { background: var(--f3); }
.s-bubble.c2 { background: var(--white); color: var(--black); }

/* Sepsis auf der Leinwand */
.s-vig-age { position: absolute; left: 88px; top: 120px; width: 700px; margin: 0; font-size: 56px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.s-vig-sit { position: absolute; left: 88px; top: 196px; width: 700px; margin: 0; font-size: 30px; font-weight: 500; line-height: 1.2; }
.s-vig-grid { position: absolute; left: 88px; top: 296px; width: 720px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 14px; }
.s-vig-grid div { display: flex; flex-direction: column; gap: 2px; padding: 10px 18px; border-radius: 14px; background: var(--f1); font-size: 16px; font-weight: 600; }
.s-vig-grid b { font-size: 26px; font-weight: 500; line-height: 1.15; }
.s-timer { position: absolute; left: 880px; top: 120px; width: 400px; height: 600px; border-radius: 16px 0 0 0; background: var(--blue); }
.s-timer b { position: absolute; left: 0; right: 0; top: 120px; text-align: center; font-size: 260px; font-weight: 400; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.s-timer span { position: absolute; left: 0; right: 0; bottom: 64px; text-align: center; font-size: 26px; font-weight: 500; }
.s-timer i { position: absolute; left: 0; bottom: 0; height: 14px; background: var(--white); width: 100%; transform-origin: left; }

/* Abstract */
.s-abs { position: absolute; left: 88px; right: 88px; top: 110px; }
.s-abs h2 { margin: 10px 0 28px; font-size: 40px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; width: 1000px; }
.s-abs .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; }
.s-abs .grid div { padding: 20px 24px; border-radius: 16px; background: var(--f1); font-size: 19px; line-height: 1.35; }
.s-abs .grid b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.s-abs .grid div.res { background: var(--blue); }

/* Folie: Bild füllt die 16:9-Bühne; kurzes Überblenden ohne Bewegung */
.s-view.s-fade { transform: none; transition: opacity .35s ease; }
.s-slide { background: var(--black); }
.s-slide img { position: absolute; inset: 0; width: 1280px; height: 720px; object-fit: contain; }
.s-slide-qr { position: absolute; background: var(--white); display: flex; align-items: center; justify-content: center; }
.s-slide-qr svg { width: 100%; height: 100%; display: block; }

/* Szene */
.s-scene { position: absolute; inset: 0; width: 1280px; height: 720px; border: 0; background: var(--black); }
.s-lit { position: absolute; left: 88px; right: 88px; top: 230px; columns: 3; column-gap: 32px; font-size: 13px; line-height: 1.3; }
.s-lit div { break-inside: avoid; margin-bottom: 8px; }

/* ================= Steuerung ================= */
body.admin { font-size: 16px; }
.k-login { max-width: 380px; margin: 18vh auto; display: flex; flex-direction: column; gap: 14px; padding: 0 16px; }
.k-login h1 { font-size: 32px; font-weight: 500; margin: 0 0 6px; }
.k-err { min-height: 22px; font-weight: 600; color: var(--blue); }
.k { --top: 64px; --bar: 96px; --nav: 320px; min-height: 100vh; }
/* Kopfleiste */
.k-top { position: fixed; inset: 0 0 auto 0; height: var(--top); z-index: 40; display: flex; align-items: center; gap: 14px; padding: 0 14px; background: var(--black); border-bottom: 1px solid var(--f3); }
.k-icon { height: 44px; min-width: 44px; padding: 0 14px; border-radius: 12px; background: var(--f1); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; font-weight: 600; flex: none; }
.k-icon span { width: 18px; height: 2px; border-radius: 2px; background: var(--white); }
.k-icon:hover, .k-btn:hover { filter: brightness(1.25); }
.k.nav-open #navbtn, .k.menu-open #menubtn { background: var(--white); color: var(--black); }
.k.nav-open #navbtn span { background: var(--black); }
.k-mode { flex: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.k-mode.live { background: var(--white); color: var(--black); }
.k-mode.probe { background: var(--blue); color: var(--white); }
.k-prog { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.k-segs { flex: 1; display: flex; gap: 6px; }
.k-segs > div { flex: 1; height: 8px; border-radius: 4px; background: var(--f3); overflow: hidden; }
.k-segs > div i { display: block; height: 100%; width: 0; background: var(--white); transition: width .3s var(--ease); }
.k-segs > div.cur i { background: var(--blue); }
#progtxt { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.k-stats { display: flex; gap: 6px; flex: none; }
.k-stats > div, .k-stats > button { padding: 4px 12px; border-radius: 10px; background: var(--f1); text-align: left; min-width: 76px; }
.k-stats span { display: block; font-size: 11px; font-weight: 600; }
.k-stats b { display: block; font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.15; white-space: nowrap; }
.k-stats > button.on { background: var(--blue); }
.k-banner { position: fixed; top: var(--top); left: 0; right: 0; z-index: 35; padding: 8px 16px; background: var(--blue); font-weight: 600; font-size: 15px; }
/* Seitenleisten */
.k-nav, .k-drawer { position: fixed; top: var(--top); bottom: 0; z-index: 38; width: min(var(--nav), 88vw); background: var(--black); overflow: auto; transition: transform .22s var(--ease); }
.k-nav { left: 0; border-right: 1px solid var(--f3); transform: translateX(-100%); }
.k-drawer { right: 0; width: min(380px, 92vw); border-left: 1px solid var(--f3); transform: translateX(100%); padding: 8px 18px 40px; }
.k.nav-open .k-nav { transform: none; }
.k.menu-open .k-drawer { transform: none; }
.k-scrim { display: none; position: fixed; inset: var(--top) 0 0 0; z-index: 25; background: rgba(0, 0, 0, .55); }
.k.menu-open .k-scrim, .k.nav-open .k-scrim { display: block; }
.k-nav-h { padding: 16px 16px 4px; font-weight: 600; }
.k-list { padding: 0 8px 24px; display: flex; flex-direction: column; gap: 2px; }
.k-part { margin: 14px 8px 4px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.k-step { display: flex; gap: 10px; align-items: center; text-align: left; padding: 7px 8px; border-radius: 10px; background: none; font-size: 14px; line-height: 1.25; }
.k-step:hover { background: var(--f1); }
.k-step .t { flex: none; min-width: 46px; text-align: center; padding: 2px 0; border-radius: 6px; background: var(--f3); font-size: 12px; font-weight: 600; }
.k-step.anim .t { background: var(--white); color: var(--black); }
.k-step.live .t { background: var(--blue); }
.k-step .l { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.k-step.cur { background: var(--blue); }
.k-step.cur .t { background: var(--white); color: var(--black); }
.k-sec { padding: 16px 0; border-bottom: 1px solid var(--f3); display: flex; flex-direction: column; gap: 10px; }
.k-sec:last-child { border-bottom: 0; }
.k-row { display: flex; gap: 8px; flex-wrap: wrap; }
.k-btn { padding: 11px 16px; border-radius: 12px; background: var(--f3); font-weight: 600; }
.k-btn.blue { background: var(--blue); }
.k-btn.white, .k-btn.danger { background: var(--white); color: var(--black); }
.k-btn:disabled { opacity: .5; }
.k-switch { display: flex; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; }
.k-switch input { position: absolute; opacity: 0; }
.k-switch span { width: 44px; height: 26px; border-radius: 13px; background: var(--f3); position: relative; transition: background .2s; flex: none; }
.k-switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .2s var(--ease); }
.k-switch input:checked + span { background: var(--blue); }
.k-switch input:checked + span::after { transform: translateX(18px); }
.k-text { margin: 0; font-size: 15px; line-height: 1.4; }
/* Inhalt */
.k-main { padding: calc(var(--top) + 18px) 18px calc(var(--bar) + 18px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 34%); gap: 18px; align-items: start; transition: padding .22s var(--ease); }
.k-banner:not([hidden]) ~ .k-main { padding-top: calc(var(--top) + 58px); }
.k-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.k-cap b { font-size: 15px; font-weight: 600; }
.k-cap span { font-size: 14px; font-weight: 500; text-align: right; }
.k-now .k-cap b { font-size: 22px; font-weight: 600; }
.k-slide { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--f1); display: flex; align-items: center; justify-content: center; }
.k-slide img { width: 100%; height: 100%; display: block; }
.k-slide span { font-size: 32px; font-weight: 500; }
.k-side { display: flex; flex-direction: column; gap: 14px; }
.k-card { background: var(--f1); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.k-card .k-cap { margin: 0; }
.k-big { font-size: 56px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.k-track { height: 12px; border-radius: 6px; background: var(--f3); overflow: hidden; }
.k-track i { display: block; height: 100%; background: var(--blue); transition: width .4s var(--ease); }
.k-texts { display: flex; flex-wrap: wrap; gap: 6px; }
.k-texts button { padding: 6px 10px; border-radius: 8px; background: var(--f3); font-size: 14px; }
.k-texts button.off { background: none; text-decoration: line-through; }
.k-notes #notes { white-space: pre-wrap; font-size: 18px; line-height: 1.5; font-weight: 500; transition: opacity .15s; }
/* Steuerleiste unten */
.k-bar { position: fixed; inset: auto 0 0 0; height: var(--bar); z-index: 20; display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--black); border-top: 1px solid var(--f3); }
.k-bar button { height: 68px; border-radius: 16px; font-size: 22px; font-weight: 600; background: var(--f3); padding: 0 22px; }
#prev { width: 160px; }
.k-next { flex: 1; background: var(--blue) !important; }
.k-bar button:disabled { opacity: .35; }
.k-skip { font-size: 17px !important; }
.k-msg { position: absolute; right: 18px; bottom: 100px; margin: 0; font-weight: 600; color: var(--blue); }
@media (min-width: 1200px) {
  .k.nav-open .k-main, .k.nav-open .k-bar { padding-left: calc(var(--nav) + 18px); }
  .k.nav-open .k-scrim { display: none; }
}
@media (max-width: 900px) {
  .k-main { grid-template-columns: 1fr; }
  .k-stats > div:first-child, #progtxt { display: none; }
}
@media (max-width: 600px) {
  .k { --bar: 84px; }
  .k-top { gap: 8px; padding: 0 8px; }
  .k-prog, .k-stats > button { display: none; }
  .k-mode { font-size: 13px; padding: 6px 10px; }
  .k-bar button { height: 60px; font-size: 18px; padding: 0 14px; }
  #prev { width: 96px; }
  .k-main { padding-left: 10px; padding-right: 10px; }
}

/* ================= Leinwand: Folienbild + Live-Bereich ================= */
.s-layers, .s-scenes { position: absolute; inset: 0; }
.s-scenes { pointer-events: none; }
.s-layer { position: absolute; inset: 0; background: var(--black); opacity: 0; transition: opacity .15s linear; }
.s-layer.in { opacity: 1; }
.s-layer > img { position: absolute; inset: 0; width: 1280px; height: 720px; display: block; }
.s-scene { position: absolute; inset: 0; width: 1280px; height: 720px; border: 0; background: var(--black); opacity: 0; visibility: hidden; transition: opacity .15s linear; }
.s-scene.on { opacity: 1; visibility: visible; }
.s-region { position: absolute; overflow: hidden; }
.s-region.solid { background: var(--black); }
.s-abs { position: absolute; }
.s-abs small, .s-small { font-size: 18px; font-weight: 600; }
.s-small { display: block; font-size: 20px; margin-top: 8px; }
.s-count-n { display: block; font-size: 72px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-bottom: 6px; }
.s-vcol { position: absolute; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 10px; overflow: hidden; }
.s-vbar { width: 100%; height: 0; background: var(--blue); border-radius: 10px; transition: height .6s var(--ease); }
.s-vlab { position: absolute; left: 0; right: 0; top: 14px; text-align: center; font-size: 32px; font-weight: 600; }
.s-mammo { overflow: hidden; background: var(--black); }
.s-mammo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-track { background: var(--f3); border-radius: 8px; overflow: hidden; }
.s-track i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 8px; transition: width .5s var(--ease); }
.s-hbar { border-radius: 10px; transition: width .8s var(--ease); }
.s-hbar.white { background: var(--white); }
.s-hbar.blue { background: var(--blue); }
.s-ci { height: 3px; background: var(--white); border-radius: 2px; }
.s-dot2 { position: absolute; width: 12px; height: 12px; border-radius: 50%; }
.k-live { position: relative; display: block; }
.k-live iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; border: 0; transform-origin: 0 0; pointer-events: none; }
body.screen.preview { cursor: default; }
body.preview .s-sound { display: none; }
