/* PodcastCut – dunkles Design; Farben kommen aus Variablen (Themes: css/themes.css, Standard = Mint) */
:root {
  --h: 218; /* Grundton der Flächen (Farbwinkel) */
  --bg: hsl(var(--h) 51% 8%); --bg2: hsl(var(--h) 49% 10%); --panel: hsl(var(--h) 48% 12%); --panel2: hsl(var(--h) 46% 16%); --panel3: hsl(var(--h) 44% 20%); --panel-end: hsl(var(--h) 48% 11%);
  --line: hsl(var(--h) 42% 21%); --line2: hsl(var(--h) 39% 28%); --line3: hsl(var(--h) 38% 38%);
  --input: hsl(var(--h) 52% 9%); --wavebg: hsl(var(--h) 55% 8%); --glow: hsl(var(--h) 62% 18%); --hero1: hsl(calc(var(--h) - 9) 65% 17%); --hero2: hsl(var(--h) 56% 9%);
  --text: #e9eff9; --muted: #93a4c2; --faint: #62779b;
  --accent: #2ee6a6; --accent2: #3fa3ff; --accent-ink: #04281d; --wave: #4aa8ff;
  --accent-strong: color-mix(in srgb, var(--accent) 92%, #000);
  --accent-soft: color-mix(in srgb, var(--accent) 17%, var(--panel)); --accent-soft2: color-mix(in srgb, var(--accent2) 14%, var(--panel)); --accent-line: color-mix(in srgb, var(--accent) 36%, var(--panel));
  --blue-soft: color-mix(in srgb, var(--accent2) 22%, var(--panel)); --blue-line: color-mix(in srgb, var(--accent2) 45%, var(--panel)); --blue-text: color-mix(in srgb, var(--accent2) 60%, #fff);
  --blue: #4aa8ff; --blue2: #2c6fd1; --orange: #ffb04d; --red: #ff5d73; --violet: #a78bfa; --green: #34d399;
  --radius: 14px; --radius-s: 9px;
  --shadow: 0 8px 28px rgba(0, 0, 0, .35);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: radial-gradient(1200px 600px at 70% -10%, var(--glow) 0%, transparent 60%), var(--bg); color: var(--text); font: 14px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--accent) 33%, transparent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: 12px; } .mono { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.shell { display: grid; grid-template-columns: 214px minmax(0, 1fr); grid-template-rows: 64px minmax(0, 1fr); height: 100vh; }
.topbar { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding: 0 20px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(10px); position: relative; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; width: 194px; flex: none; }
.brand svg { width: 34px; height: 34px; }
.brand b { font-size: 19px; letter-spacing: -.02em; display: block; line-height: 1.1; }
.brand small { color: var(--muted); font-size: 10.5px; display: block; }
.titlebox { display: flex; flex-direction: column; min-width: 0; padding-left: 20px; border-left: 1px solid var(--line); }
.titlebox .t { display: flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; }
.titlebox input { background: transparent; border: 1px solid transparent; border-radius: 6px; padding: 1px 6px; margin-left: -6px; font-weight: 600; font-size: 14.5px; width: min(360px, 40vw); text-overflow: ellipsis; }
.titlebox input:hover { border-color: var(--line2); } .titlebox input:focus { border-color: var(--accent); background: var(--panel); outline: none; }
.titlebox .s { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.dot.busy { background: var(--orange); animation: pulse 1.2s infinite; } .dot.err { background: var(--red); }
@keyframes pulse { 50% { opacity: .35; } }
.spacer { flex: 1; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--accent-ink); font-weight: 700; border: 0; cursor: pointer; }
.sidebar { border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; overflow: auto; background: color-mix(in srgb, var(--bg) 53%, transparent); }
.nav { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 11px; color: #c4d0e6; cursor: pointer; border: 0; background: transparent; text-align: left; width: 100%; font-size: 14px; }
.nav:hover { background: var(--panel); text-decoration: none; color: #fff; }
.nav.active { background: linear-gradient(90deg, var(--accent-soft), var(--accent-soft2)); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-line); }
.sidefoot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.kicard { border: 1px solid var(--line2); border-radius: 12px; padding: 12px; background: var(--panel); font-size: 11.5px; color: var(--muted); }
.kicard b { color: var(--blue-text); display: flex; gap: 6px; align-items: center; margin-bottom: 3px; font-size: 12px; }
.main { overflow: auto; padding: 16px 20px 40px; scroll-behavior: smooth; }
.page { max-width: 1560px; margin: 0 auto; }
.page-title { display: flex; align-items: center; gap: 14px; margin: 6px 0 18px; flex-wrap: wrap; }
.page-title h1 { font-size: 24px; } .page-title .sub { color: var(--muted); }

/* ---------- Karten & Controls ---------- */
.card { background: linear-gradient(180deg, var(--panel), var(--panel-end)); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; min-width: 0; position: relative; }
.card > h2, .card-h { font-size: 15.5px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.card-h .grow { flex: 1; }
.badge { font-size: 10.5px; padding: 1px 7px; border-radius: 99px; background: var(--blue-soft); color: var(--blue-text); border: 1px solid var(--blue-line); font-weight: 600; }
.badge.green { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); } .badge.orange { background: #3a2a10; color: var(--orange); border-color: #6b4a14; } .badge.red { background: #3a1620; color: var(--red); border-color: #6b2434; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); border-radius: 10px; padding: 9px 14px; cursor: pointer; font-weight: 550; transition: .15s; white-space: nowrap; }
.btn:hover { background: var(--panel3); border-color: var(--line3); text-decoration: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 86%, #fff), color-mix(in srgb, var(--accent) 92%, #000)); color: var(--accent-ink); border-color: transparent; font-weight: 650; }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { color: var(--red); } .btn.danger:hover { background: #3a1620; border-color: #6b2434; }
.btn.ghost { background: transparent; } .btn.sm { padding: 6px 10px; font-size: 12.5px; border-radius: 8px; } .btn.block { width: 100%; }
.btn.icon { padding: 7px; border-radius: 9px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; } .field > label, .lbl { font-size: 12px; color: var(--muted); font-weight: 550; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], textarea, select { background: var(--input); border: 1px solid var(--line2); border-radius: 9px; padding: 9px 11px; width: 100%; min-width: 0; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2393a4c2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; padding-right: 30px; cursor: pointer; }
textarea { resize: vertical; min-height: 70px; }
.row { display: flex; gap: 10px; align-items: center; } .row.wrap { flex-wrap: wrap; } .col { display: flex; flex-direction: column; gap: 10px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line2); background: var(--panel2); font-size: 12px; cursor: pointer; color: var(--text); }
.chip:hover { border-color: var(--line3); } .chip.on { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.chip button { background: none; border: 0; color: inherit; padding: 0; cursor: pointer; display: grid; }

/* Schalter */
.sw { position: relative; width: 44px; height: 24px; flex: none; }
.sw input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; z-index: 1; }
.sw span { position: absolute; inset: 0; border-radius: 99px; background: var(--line3); transition: .2s; }
.sw span::after { content: ""; position: absolute; width: 18px; height: 18px; top: 3px; left: 3px; border-radius: 50%; background: #cdd8ee; transition: .2s; }
.sw input:checked + span { background: var(--accent-strong); } .sw input:checked + span::after { transform: translateX(20px); background: #fff; }
.sw input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Slider */
input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; width: 100%; height: 22px; padding: 0; border: 0; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 5px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p, 50%), var(--line3) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; margin-top: -5.5px; border: 2px solid var(--accent); box-shadow: 0 1px 4px #0006; }
input[type=range]::-moz-range-track { height: 5px; border-radius: 4px; background: var(--line3); } input[type=range]::-moz-range-progress { height: 5px; border-radius: 4px; background: var(--accent); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.progress { height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; } .progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-strong), #4aa8ff); border-radius: 99px; transition: width .3s; }
.progress.indet > i { width: 35% !important; animation: slide 1.2s infinite ease-in-out; } @keyframes slide { 0% { margin-left: -35%; } 100% { margin-left: 100%; } }
.tip { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--faint); color: var(--faint); font-size: 10px; cursor: help; flex: none; }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; }
.kbd { border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 5px; padding: 0 6px; font-size: 11px; background: var(--panel2); }

/* ---------- Dashboard ---------- */
.dash { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, .95fr); align-items: stretch; }
.dash .span-all { grid-column: 1 / -1; }
.drop { border: 2px dashed var(--line2); border-radius: 12px; height: 100%; min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; gap: 8px; transition: .15s; background: color-mix(in srgb, var(--input) 67%, transparent); }
.drop.over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 20%, transparent); transform: scale(1.01); }
.drop svg.big { width: 64px; height: 64px; stroke: var(--accent); stroke-width: 1.4; }
.drop h2 { font-size: 20px; margin: 4px 0; } .drop .fmt { font-size: 12px; color: var(--muted); max-width: 300px; }
.uploading { width: 100%; max-width: 330px; } .uploading .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
.cardwrap { position: relative; } .settings-card { display: flex; flex-direction: column; max-height: 450px; padding-bottom: 8px; } .settings-card .scroll { overflow: auto; margin: 0 -8px; padding: 0 8px; flex: 1; }
.srow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .srow:last-child { border-bottom: 0; }
.srow .ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--panel3); border: 1px solid var(--line2); color: #c4d0e6; flex: none; }
.srow .txt { flex: 1; min-width: 0; cursor: pointer; } .srow .txt b { display: block; font-weight: 600; font-size: 13.5px; } .srow .txt small { color: var(--muted); font-size: 11.5px; display: block; }
.srow .more { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 6px; transform: rotate(0); transition: .2s; } .srow .more.open { transform: rotate(180deg); }
.sdetail { padding: 4px 4px 14px 48px; border-bottom: 1px solid var(--line); display: none; } .sdetail.open { display: block; }
.sdetail .field { margin-bottom: 10px; } .sdetail .lbl { display: flex; justify-content: space-between; }
.sdetail .lbl output { color: var(--accent); font-variant-numeric: tabular-nums; }
.chat-card { display: flex; flex-direction: column; max-height: 450px; min-height: 330px; }
.chat-log { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 8px; margin: 4px 0 10px; padding-right: 4px; }
.msg { padding: 8px 11px; border-radius: 11px; max-width: 92%; white-space: pre-wrap; word-break: break-word; font-size: 13px; }
.msg.u { align-self: flex-end; background: var(--blue-soft); border: 1px solid var(--blue-line); } .msg.a { align-self: flex-start; background: var(--panel2); border: 1px solid var(--line2); }
.msg.a .tags { margin-top: 6px; display: flex; gap: 5px; flex-wrap: wrap; } .msg .typing { display: inline-flex; gap: 4px; } .msg .typing i { width: 6px; height: 6px; background: var(--muted); border-radius: 50%; animation: pulse 1s infinite; } .msg .typing i:nth-child(2) { animation-delay: .2s; } .msg .typing i:nth-child(3) { animation-delay: .4s; }
.askbox { position: relative; } .askbox textarea { min-height: 78px; padding-right: 48px; background: var(--input); border-color: var(--line2); } .askbox .send { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 8px; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; } .askbox .send:disabled { opacity: .5; }
.examples { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; max-height: 128px; overflow: auto; } .examples button { text-align: left; background: var(--panel2); border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; cursor: pointer; font-size: 12.5px; color: #c9d5ea; } .examples button:hover { border-color: var(--line3); color: #fff; }

/* Statusleiste */
.statusbar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 14px 18px; }
.statusbar .file { display: flex; align-items: center; gap: 12px; min-width: 180px; } .statusbar .file .pl { width: 40px; height: 40px; border-radius: 50%; background: var(--panel3); border: 1px solid var(--line2); display: grid; place-items: center; color: var(--text); }
.steps { display: flex; align-items: center; gap: 18px; flex: 1; justify-content: center; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 10px; color: var(--muted); } .step .c { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line2); } .step.done { color: var(--text); } .step.done .c { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-ink); } .step.active .c { border-color: var(--orange); color: var(--orange); animation: pulse 1.2s infinite; } .step.err .c { border-color: var(--red); color: var(--red); }
.step b { font-size: 12.5px; display: block; font-weight: 550; } .step small { font-size: 11.5px; color: var(--muted); }
.pill { border-radius: 99px; padding: 8px 16px; font-weight: 600; font-size: 13px; display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); } .pill.busy { background: #3a2a10; border-color: #6b4a14; color: var(--orange); } .pill.err { background: #3a1620; border-color: #6b2434; color: #ff8a9b; }

/* Arbeitsbereich */
.work { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; }
.work .left { display: flex; flex-direction: column; gap: 16px; min-width: 0; } .work .right { display: flex; flex-direction: column; gap: 16px; }
.two { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; }
.editor { padding: 14px 16px 16px; }
.etool { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.playbtn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #e9eff9; color: var(--bg); display: grid; place-items: center; cursor: pointer; flex: none; } .playbtn:hover { background: #fff; } .playbtn svg { fill: currentColor; stroke: none; width: 17px; height: 17px; }
.time { font-variant-numeric: tabular-nums; font-size: 16px; font-weight: 600; } .time small { color: var(--muted); font-weight: 450; font-size: 14px; }
.legend { display: flex; gap: 14px; margin-left: auto; font-size: 12px; color: var(--muted); flex-wrap: wrap; } .legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.wavewrap { position: relative; border-radius: 10px; background: var(--wavebg); border: 1px solid var(--line); overflow: hidden; touch-action: pan-y; user-select: none; }
.wavewrap canvas { display: block; width: 100%; cursor: crosshair; }
.selbar { position: absolute; z-index: 5; transform: translate(-50%, 0); background: var(--panel2); border: 1px solid var(--line2); border-radius: 10px; padding: 5px; display: flex; gap: 4px; box-shadow: var(--shadow); }
.strip { display: flex; gap: 3px; margin-top: 8px; height: 46px; } .strip .seg { border-radius: 7px; padding: 5px 8px; font-size: 11.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; border: 1px solid transparent; min-width: 4px; display: flex; flex-direction: column; justify-content: center; line-height: 1.25; } .strip .seg small { opacity: .75; font-size: 10.5px; }
.strip .keep { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 50%, #0a0f18), color-mix(in srgb, var(--accent) 42%, #0a0f18)); border-color: color-mix(in srgb, var(--accent) 66%, #0a0f18); } .strip .cut { background: linear-gradient(180deg, #c04058, #a53349); border-color: #e0627a; } .strip .intro { background: linear-gradient(180deg, #2a6fc9, #2259a5); border-color: #4a8de0; }
.hint { color: var(--faint); font-size: 12px; margin-top: 8px; }
.transcript { display: flex; flex-direction: column; max-height: 470px; } .tbar { display: flex; gap: 8px; margin-bottom: 8px; } .tbar .search { position: relative; flex: 1; } .tbar .search svg { position: absolute; left: 10px; top: 10px; color: var(--muted); width: 16px; height: 16px; } .tbar .search input { padding-left: 32px; }
.tlist { overflow: auto; flex: 1; border-top: 1px solid var(--line); margin-top: 2px; } .tfoot { color: var(--muted); font-size: 12px; padding-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.trow { display: grid; grid-template-columns: 50px 82px minmax(0, 1fr); gap: 8px; padding: 7px 6px; border-bottom: 1px solid var(--line); align-items: start; border-radius: 6px; } .trow.cutrow { background: #34121c88; box-shadow: inset 2px 0 var(--red); }
.trow .tm { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12.5px; padding-top: 2px; cursor: pointer; } .trow .tm:hover { color: var(--accent); }
.sp { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 5px; font-weight: 600; background: var(--blue-soft); color: var(--blue-text); border: 1px solid var(--blue-line); } .sp.s2 { background: #3a1a35; color: #ff9ad5; border-color: #6b2f61; } .sp.s3 { background: #2a2f10; color: #d2e26a; border-color: #4f5a1c; } .sp.s4 { background: #123a3a; color: #6ae0e0; border-color: #1c6a6a; }
.trow .tx { line-height: 1.55; } .w { cursor: pointer; border-radius: 4px; padding: 0 1px; } .w:hover { background: #2a3d60; } .w.now { background: var(--accent); color: var(--accent-ink); } .w.cut { background: #ff5d7333; text-decoration: line-through; text-decoration-color: #ff5d73aa; } .w.cut.f { background: #ffb04d33; text-decoration-color: #ffb04d; } .w.hit { outline: 1px solid var(--orange); background: #ffb04d22; }
.tag { font-size: 11px; background: #3a1620; color: #ff8a9b; border: 1px solid #6b2434; border-radius: 6px; padding: 0 6px; margin-left: 6px; white-space: nowrap; cursor: pointer; } .tag:hover { background: #4a1c28; }
.sug { display: flex; flex-direction: column; max-height: 470px; } .sug .list { overflow: auto; flex: 1; margin: 0 -4px; padding: 0 4px; }
.sgroup { border-bottom: 1px solid var(--line); padding: 9px 0; } .sgh { display: flex; align-items: center; gap: 10px; cursor: pointer; } .sgh .bar { width: 5px; align-self: stretch; border-radius: 4px; min-height: 32px; } .sgh .t { flex: 1; min-width: 0; } .sgh .t b { display: block; font-weight: 600; font-size: 13px; } .sgh .t small { color: var(--muted); font-size: 11.5px; }
.sitems { margin: 8px 0 2px 15px; display: flex; flex-direction: column; gap: 2px; max-height: 190px; overflow: auto; } .sitem { display: flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 4px 6px; border-radius: 7px; cursor: pointer; } .sitem:hover { background: var(--panel2); } .sitem .tt { color: var(--muted); font-variant-numeric: tabular-nums; min-width: 44px; } .sitem .lb { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sitem.off .lb { text-decoration: line-through; color: var(--faint); }
.cb { width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; flex: none; }
.checks { display: flex; flex-direction: column; gap: 9px; } .chk { display: flex; align-items: center; gap: 10px; cursor: pointer; border: 0; background: none; text-align: left; padding: 2px 0; } .chk .ok { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-strong); color: var(--accent-ink); flex: none; } .chk.off .ok { background: #243553; color: #5e7298; } .chk .ok svg { width: 13px; height: 13px; stroke-width: 3; } .chk small { color: var(--muted); margin-left: auto; font-size: 11.5px; }
.checkrow { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; } .checkrow:last-child { border-bottom: 0; } .checkrow .st { width: 18px; flex: none; } .checkrow.good .st { color: var(--green); } .checkrow.warn .st { color: var(--orange); } .checkrow.bad .st { color: var(--red); } .checkrow small { color: var(--muted); display: block; }
.exportlist { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; } .exitem { display: flex; gap: 8px; align-items: center; font-size: 12px; padding: 6px 8px; border-radius: 8px; background: var(--panel2); border: 1px solid var(--line); } .exitem .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.askbar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--input); position: sticky; bottom: 8px; z-index: 6; box-shadow: var(--shadow); } .askbar input { background: transparent; border: 0; box-shadow: none !important; padding: 10px 4px; } .askbar svg.sp-i { color: var(--accent); }
.empty-work { text-align: center; padding: 50px 20px; border: 1px dashed var(--line2); border-radius: var(--radius); color: var(--muted); } .empty-work h2 { color: var(--text); margin-bottom: 6px; }

/* Listen / Seiten */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.pcard { cursor: pointer; transition: .15s; display: flex; flex-direction: column; gap: 10px; } .pcard:hover { border-color: var(--line3); transform: translateY(-2px); } .pcard.cur { border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-line); }
.pcard canvas { width: 100%; height: 54px; border-radius: 8px; background: var(--wavebg); } .pcard h3 { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pcard .meta { display: flex; gap: 12px; color: var(--muted); font-size: 12px; flex-wrap: wrap; }
.pcard .acts { display: flex; gap: 6px; margin-top: auto; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow: auto; } .tab { padding: 10px 16px; border: 0; background: none; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; font-weight: 550; white-space: nowrap; } .tab.on { color: var(--accent); border-color: var(--accent); }
.two-col { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); align-items: start; }
.tpl { display: flex; flex-direction: column; gap: 8px; } .tpl p { margin: 0; color: var(--muted); font-size: 12.5px; } .tpl .acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.table { width: 100%; border-collapse: collapse; } .card .table { display: block; overflow-x: auto; } .table th, .table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); font-size: 13px; } .table th { color: var(--muted); font-weight: 550; font-size: 12px; }
pre.code { max-width: 100%; background: var(--input); border: 1px solid var(--line); border-radius: 10px; padding: 12px; overflow: auto; font: 12.5px/1.5 ui-monospace, "Cascadia Code", Consolas, monospace; color: #c6d3ea; margin: 8px 0; white-space: pre-wrap; word-break: break-all; }
.code-inline { background: var(--panel2); padding: 1px 6px; border-radius: 5px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }

/* Anmeldung */
.authwrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.authgrid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; width: min(980px, 100%); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.authhero { padding: 44px; background: radial-gradient(500px 300px at 20% 0%, color-mix(in srgb, var(--accent2) 22%, transparent), transparent 70%), linear-gradient(160deg, var(--hero1), var(--hero2)); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.authhero h1 { font-size: 30px; line-height: 1.15; } .authhero ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; color: #c4d4ee; } .authhero li { display: flex; gap: 10px; align-items: flex-start; } .authhero li svg { color: var(--accent); margin-top: 2px; }
.authform { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 4px; } .authform h2 { font-size: 22px; margin-bottom: 14px; } .errbox { background: #3a1620; border: 1px solid #6b2434; color: #ffb0bc; padding: 9px 12px; border-radius: 9px; margin-bottom: 12px; font-size: 13px; }
.wavehero { height: 70px; width: 100%; opacity: .9; }

/* Toast & Modal & Menü */
#toasts { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 100; max-width: min(420px, calc(100vw - 36px)); }
.toast { background: var(--panel2); border: 1px solid var(--line2); border-left: 4px solid var(--blue); padding: 11px 14px; border-radius: 10px; box-shadow: var(--shadow); animation: tin .25s; } .toast.ok { border-left-color: var(--accent); } .toast.err { border-left-color: var(--red); } .toast.warn { border-left-color: var(--orange); } @keyframes tin { from { transform: translateY(12px); opacity: 0; } }
.overlay { position: fixed; inset: 0; background: #040810cc; backdrop-filter: blur(4px); z-index: 60; display: grid; place-items: center; padding: 16px; overflow: auto; animation: fade .15s; } @keyframes fade { from { opacity: 0; } }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); } .modal.wide { width: min(820px, 100%); } .modal h2 { font-size: 18px; margin-bottom: 14px; } .modal .acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.menu { position: absolute; right: 0; top: 46px; min-width: 210px; background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; padding: 6px; box-shadow: var(--shadow); z-index: 50; } .menu button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 9px 11px; border: 0; background: none; border-radius: 8px; cursor: pointer; text-align: left; } .menu button:hover { background: var(--panel2); } .menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 0; } .menu .who { padding: 8px 11px; color: var(--muted); font-size: 12px; }
.chaprow { display: grid; grid-template-columns: 90px 1fr 34px; gap: 8px; margin-bottom: 6px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1280px) { .dash { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dash .assistant { grid-column: 1 / -1; } .work { grid-template-columns: minmax(0, 1fr); } .work .right { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: 58px minmax(0, 1fr) 60px; }
  .sidebar { grid-row: 3; flex-direction: row; padding: 6px 8px; border-right: 0; border-top: 1px solid var(--line); background: var(--bg); justify-content: space-around; } .sidefoot { display: none; } .nav { flex-direction: column; gap: 2px; padding: 5px 4px; font-size: 11px; justify-content: center; width: auto; flex: 1; text-align: center; }
  .brand { width: auto; } .brand small { display: none; } .titlebox { padding-left: 10px; } .titlebox input { width: 34vw; } .topbar { padding: 0 12px; gap: 10px; } .top-actions .btn span { display: none; }
  .main { padding: 12px 12px 30px; overflow-x: hidden; } .dash { grid-template-columns: minmax(0, 1fr); } .two { grid-template-columns: 1fr; } .grid2, .grid3 { grid-template-columns: 1fr; } .authgrid { grid-template-columns: 1fr; } .authhero { padding: 26px; } .authform { padding: 26px; } .statusbar { gap: 12px; } .steps { justify-content: flex-start; gap: 12px; } .legend { margin-left: 0; } .askbar { bottom: 4px; }
  .trow { grid-template-columns: 44px minmax(0, 1fr); } .trow .spk { grid-column: 2; order: 3; } .drop { min-height: 250px; }
}
@media (max-width: 900px) { .dash .up { order: 1; } .dash .statusbar { order: 2; } .dash .work { order: 3; } .dash .settings-card { order: 4; } .dash .assistant { order: 5; } .dash .askbar { order: 6; } }
@media (max-width: 640px) {
  .brand div { display: none; } .brand { width: auto; } .titlebox { flex: 1; min-width: 0; padding-left: 10px; } .titlebox input { width: 100%; } .top-actions { gap: 8px; } .topbar .spacer { display: none; }
  .top-actions .btn { padding: 8px; } .statusbar .file { min-width: 0; } .editor { padding: 12px; } .etool { gap: 8px; } .legend { gap: 10px; }
  .card { padding: 14px; } .page-title h1 { font-size: 21px; } .dash .span-all { grid-column: auto; } .authhero h1 { font-size: 24px; }
  .selbar { flex-wrap: wrap; justify-content: center; width: max-content; max-width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Start-Animation ---------- */
#splash { position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(900px 520px at 50% 42%, var(--glow), var(--bg) 72%); cursor: pointer; transition: opacity .55s ease, transform .55s ease; }
#splash.on { display: flex; }
#splash.out { opacity: 0; transform: scale(1.04); pointer-events: none; }
#splash .sp-glow { position: absolute; width: 520px; height: 520px; max-width: 90vw; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 62%); filter: blur(30px); animation: sp-breathe 2.6s ease-in-out infinite; }
#splash .sp-wave { position: relative; display: flex; align-items: center; justify-content: center; gap: 5px; height: 130px; }
#splash .sp-wave i { display: block; width: 6px; height: var(--h); border-radius: 4px; background: linear-gradient(180deg, var(--accent), var(--accent2)); transform: scaleY(0); animation: sp-grow .55s cubic-bezier(.2, 1.4, .4, 1) var(--d) forwards; transform-origin: center; }
#splash .sp-wave i.cut { animation: sp-grow .55s cubic-bezier(.2, 1.4, .4, 1) var(--d) forwards, sp-cutcolor .3s ease 1.15s forwards, sp-cutaway .5s cubic-bezier(.6, 0, .4, 1) 1.45s forwards; }
#splash .sp-title { position: relative; font-size: clamp(34px, 7vw, 54px); letter-spacing: -.03em; opacity: 0; transform: translateY(14px); animation: sp-rise .7s ease 1.55s forwards; }
#splash .sp-title span { font-weight: 300; } #splash .sp-title b { font-weight: 750; color: var(--accent); }
#splash .sp-sub { position: relative; color: var(--muted); font-size: 14px; letter-spacing: .08em; opacity: 0; animation: sp-rise .7s ease 1.85s forwards; }
@keyframes sp-grow { to { transform: scaleY(1); } }
@keyframes sp-cutcolor { to { background: linear-gradient(180deg, var(--red), color-mix(in srgb, var(--red) 60%, #000)); } }
@keyframes sp-cutaway { to { width: 0; margin: 0 -2.5px; opacity: 0; transform: scaleY(.1); } }
@keyframes sp-rise { to { opacity: 1; transform: none; } }
@keyframes sp-breathe { 50% { transform: scale(1.12); opacity: .75; } }

/* ---------- Designs & Shop ---------- */
.themes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.theme { position: relative; border: 2px solid var(--line2); border-radius: 14px; padding: 0; background: var(--panel2); cursor: pointer; overflow: hidden; text-align: left; transition: .15s; color: var(--text); }
.theme:hover { transform: translateY(-2px); border-color: var(--line3); }
.theme.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.theme .pv { height: 72px; position: relative; display: flex; align-items: flex-end; gap: 3px; padding: 10px; }
.theme .pv i { flex: 1; border-radius: 3px; min-width: 3px; }
.theme .nm { padding: 8px 10px; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.theme .lock { position: absolute; top: 8px; right: 8px; background: #000a; border-radius: 99px; padding: 3px 8px; font-size: 11px; display: inline-flex; gap: 4px; align-items: center; backdrop-filter: blur(4px); }
.shop { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.shop .item { display: flex; flex-direction: column; gap: 8px; } .shop .item p { margin: 0; color: var(--muted); font-size: 12.5px; flex: 1; }
.shop .price { font-weight: 700; font-size: 18px; } .shop .price small { font-weight: 400; color: var(--muted); font-size: 11px; }
.demo-banner { border: 1px dashed var(--orange); color: var(--orange); background: #ffb04d14; border-radius: 10px; padding: 8px 12px; font-size: 12.5px; margin-bottom: 14px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .opt:last-child { border-bottom: 0; } .opt .txt { flex: 1; } .opt .txt b { display: block; font-weight: 600; } .opt .txt small { color: var(--muted); }
.sug .row .btn { min-width: 0; white-space: normal; line-height: 1.25; }
.hitbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; margin-bottom: 8px; border-radius: 10px; background: #ffd5401a; border: 1px solid #ffd54055; }
.hitbar b { color: #ffd540; }
.w.hit { outline: 1px solid #ffd540; background: #ffd54026; }

/* ---------- Ansichten (Assistent · Komplett · Timeline · Fokus) ---------- */
.viewbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: -2px 0 10px; }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; background: var(--panel); }
.seg-b { border: 0; background: transparent; color: var(--muted); padding: 6px 14px; cursor: pointer; font-weight: 550; font-size: 13px; }
.seg-b + .seg-b { border-left: 1px solid var(--line2); }
.seg-b:hover { color: var(--text); background: var(--panel2); }
.seg-b[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
.pane-off { display: none !important; }
.winmenu { right: 0; top: 40px; min-width: 240px; }
.winrow { display: flex; align-items: center; gap: 10px; padding: 7px 11px; border-radius: 8px; cursor: pointer; } .winrow:hover { background: var(--panel2); }
.stage { min-width: 0; }
/* Timeline: volle Breite, darunter Transkript | Vorschläge | Inspektor */
.tl { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 390px; grid-template-areas: "status status status" "editor editor editor" "tr sug insp" "ask ask ask"; align-items: start; }
.tl > .statusbar { grid-area: status; } .tl > .editor { grid-area: editor; } .tl > .askbar { grid-area: ask; }
.tl > .card:nth-child(3) { grid-area: tr; } .tl > .card:nth-child(4) { grid-area: sug; }
.tl .transcript, .tl .sug { height: 600px; max-height: none; }
.tl .inspector { grid-area: insp; display: flex; flex-direction: column; gap: 16px; height: 600px; overflow: auto; padding-right: 4px; }
.tl .inspector .settings-card, .tl .inspector .chat-card { max-height: none; flex: none; }
.tl .inspector .settings-card .scroll { max-height: 420px; }
/* Fokus */
.fk { display: grid; gap: 16px; } .fk .two { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } .fk .transcript, .fk .sug { max-height: 520px; }
/* Assistent: Schritt für Schritt */
.wiz { max-width: 1200px; margin: 0 auto; }
.stepper { list-style: none; display: flex; justify-content: center; gap: 6px; padding: 0; margin: 4px 0 26px; flex-wrap: wrap; }
.wstep button { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line2); background: var(--panel); color: var(--muted); padding: 9px 18px 9px 10px; border-radius: 99px; font-weight: 600; cursor: pointer; }
.wstep button:disabled { opacity: .45; cursor: not-allowed; }
.wstep .dotn { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--panel3); font-size: 13px; }
.wstep.now button { color: var(--text); border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); } .wstep.now .dotn { background: var(--accent); color: var(--accent-ink); }
.wstep.done button { color: var(--accent); } .wstep.done .dotn { background: var(--accent-soft); color: var(--accent); }
.wiz-step { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
.wiz-step.enter { animation: wizin .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes wizin { from { opacity: 0; transform: translateY(26px) scale(.985); } }
.wh { font-size: 34px; text-align: center; letter-spacing: -.02em; } .wsub { text-align: center; color: var(--muted); max-width: 720px; margin: -6px auto 4px; font-size: 15px; }
.wcol { width: min(780px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.wcol .drop { min-height: 300px; }
.wadv summary { cursor: pointer; display: inline-flex; gap: 8px; align-items: center; color: var(--muted); padding: 6px 2px; margin-bottom: 10px; list-style: none; } .wadv summary:hover { color: var(--text); } .wadv[open] summary { color: var(--accent); }
.wgrid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.wgrid > .editor { grid-column: 1 / -1; } .wgrid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wside { display: flex; flex-direction: column; gap: 16px; }
.wnav { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; } .wnav .big { padding: 14px 26px; font-size: 16px; margin-left: auto; }
.wdone { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.wcheck { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 2px solid var(--accent); animation: pop .6s cubic-bezier(.2, 1.6, .4, 1); } .wcheck svg { width: 36px; height: 36px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
@media (max-width: 1280px) { .tl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "status status" "editor editor" "tr sug" "insp insp" "ask ask"; } .tl .inspector { height: auto; overflow: visible; } .wgrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .seg-b[data-v="timeline"], .seg-b[data-v="fokus"], #winbtn { display: none; } .viewbar { justify-content: center; }
  .wh { font-size: 26px; } .wgrid.two { grid-template-columns: 1fr; } .stepper { gap: 4px; } .wstep button { padding: 7px 10px 7px 7px; font-size: 12px; } .wstep .dotn { width: 22px; height: 22px; }
}
/* ---------- Aufnahme-Studio ---------- */
.navlock { margin-left: auto; opacity: .6; display: inline-grid; } .nav { position: relative; }
.rec-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.rec-wavewrap { border-radius: 12px; background: var(--wavebg); border: 1px solid var(--line); overflow: hidden; } .rec-wave { width: 100%; height: 190px; display: block; }
.rec-bar { flex: 1; height: 10px; border-radius: 99px; background: var(--panel3); overflow: hidden; } .rec-bar i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .06s linear; }
.rec-hint { min-height: 22px; font-size: 13.5px; color: var(--muted); margin: 6px 0 10px; } .rec-hint.good { color: var(--accent); } .rec-hint.warn { color: var(--orange); } .rec-hint.bad { color: var(--red); font-weight: 600; }
.rec-ctrl { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 6px; }
.rec-time { font-size: 54px; font-weight: 700; letter-spacing: -.02em; } .rec-time.live { color: var(--red); }
.rec-btn { width: 84px; height: 84px; border-radius: 50%; border: 4px solid color-mix(in srgb, var(--red) 60%, #fff); background: transparent; display: grid; place-items: center; cursor: pointer; padding: 0; transition: .2s; }
.rec-btn span { width: 56px; height: 56px; border-radius: 50%; background: var(--red); transition: .2s; } .rec-btn:hover span { transform: scale(1.06); }
.rec-btn.on span { width: 30px; height: 30px; border-radius: 8px; } .rec-btn.on { animation: recpulse 1.4s infinite; } .rec-btn:disabled { opacity: .4; cursor: not-allowed; }
@keyframes recpulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--red) 25%, transparent); } }
.rec-teaser { text-align: center; } .rec-hero { width: 110px; height: 110px; margin: 6px auto 14px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); color: var(--accent); border: 1px solid var(--accent-line); }
@media (max-width: 900px) { .rec-grid { grid-template-columns: 1fr; } .rec-time { font-size: 42px; } }
/* ---------- Äh-Jäger (Warte-Spiel) ---------- */
.g-head { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; font-size: 14px; } .g-head b { color: var(--accent); font-size: 17px; }
.g-arena { position: relative; height: 320px; overflow: hidden; border-radius: 14px; border: 1px solid var(--line2); background: radial-gradient(400px 220px at 50% 100%, color-mix(in srgb, var(--accent) 14%, transparent), transparent), var(--wavebg); touch-action: manipulation; user-select: none; }
.g-arena.shake { animation: gshake .3s; } @keyframes gshake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.g-word { position: absolute; left: 0; top: 0; border: 0; border-radius: 99px; padding: 7px 16px; font-weight: 650; font-size: 16px; cursor: pointer; will-change: transform; transition: opacity .3s, filter .3s; }
.g-word.f { background: #3a2a10; color: var(--orange); box-shadow: inset 0 0 0 2px #6b4a14; } .g-word.r { background: var(--blue-soft); color: var(--blue-text); box-shadow: inset 0 0 0 2px var(--blue-line); }
.g-word.cut { opacity: 0; filter: blur(3px); text-decoration: line-through; background: #3a1620; color: var(--red); } .g-word.bad { opacity: 0; background: #3a1620; color: var(--red); }
.g-over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(3px); text-align: center; z-index: 3; }
.g-title { font-size: 28px; font-weight: 750; margin-bottom: 4px; }
/* Aufnahme: Pegelanzeige mit Zonen */
.rec-barwrap { flex: 1; position: relative; padding-bottom: 16px; }
.rec-bar { position: relative; height: 12px; border-radius: 99px; background: var(--panel3); overflow: hidden; }
.rec-bar .z { position: absolute; top: 0; bottom: 0; } .rec-bar .z.ok { left: 60%; width: 27%; background: color-mix(in srgb, var(--accent) 22%, transparent); } .rec-bar .z.hot { left: 95%; right: 0; background: #ff5d7344; }
.rec-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; transition: width .05s linear; }
.rec-ticks { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; font-size: 10px; color: var(--faint); } .rec-ticks span { position: absolute; transform: translateX(-50%); }
.mc-msg { font-size: 16px; font-weight: 600; line-height: 1.4; }
/* ===== Tutorials & geführte Touren ===== */
.tut-hero { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 16%, var(--panel)), var(--panel-end) 70%); border-color: var(--accent-line); }
.tut-hero-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.tut-prog { margin: 4px 0 14px; } .tut-prog-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 7px; font-size: 14px; }
.tut-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.tut-search { flex: 0 1 280px; min-width: 180px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--input); color: var(--text); font: inherit; }
.tut-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } .tut-sep { width: 1px; height: 18px; background: var(--line2); margin: 0 4px; }
.tut-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.tut-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--panel-end)); transition: border-color .15s, transform .15s; }
.tut-card:hover { border-color: var(--accent-line); transform: translateY(-2px); } .tut-card.done { border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.tut-card h3 { font-size: 16px; margin: 2px 0 0; } .tut-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; flex: 1; }
.tut-card-top { display: flex; align-items: center; gap: 10px; }
.tut-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.tut-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--faint); } .tut-meta span { display: inline-flex; gap: 4px; align-items: center; }
.tut-meta .lvl { padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line2); font-weight: 600; } .tut-meta .lvl.a { color: var(--green); border-color: color-mix(in srgb, var(--green) 40%, var(--line)); } .tut-meta .lvl.f { color: var(--orange); border-color: color-mix(in srgb, var(--orange) 40%, var(--line)); }
.tut-check { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #04281d; }
.tut-badges { display: flex; gap: 6px; flex-wrap: wrap; } .tut-badges span { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); background: var(--panel2); border-radius: 99px; padding: 3px 9px; }
.tut-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.tut-faq details { border-top: 1px solid var(--line); padding: 10px 2px; } .tut-faq details:first-child { border-top: 0; }
.tut-faq summary { cursor: pointer; font-weight: 600; } .tut-faq p { margin: 8px 0 2px; color: var(--muted); line-height: 1.5; }
.tut-guide .tut-lead { margin: 0 0 12px; color: var(--muted); }
.tut-guide ol { list-style: none; counter-reset: s; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.tut-guide li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; }
.tut-guide li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; border: 1px solid var(--accent-line); }
.tut-guide li span { color: var(--muted); line-height: 1.45; font-size: 14px; }
.tut-tips { background: var(--panel2); border-radius: 10px; padding: 10px 14px; margin-top: 10px; } .tut-tips b { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; color: var(--accent); } .tut-tips ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.tut-videobox { margin: 0 0 14px; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line); } .tut-video { display: block; width: 100%; max-height: 52vh; }
.tut-novideo { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 36px 12px; color: var(--muted); }
.wtour { margin: -6px auto 10px; display: flex; }
.tour-root { position: fixed; inset: 0; z-index: 9000; pointer-events: none; }
.tour-hole { position: fixed; transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease; pointer-events: none; }
.tour-bubble { position: fixed; pointer-events: auto; background: var(--panel2); color: var(--text); border: 1px solid var(--accent-line); border-radius: 14px; padding: 14px 16px; box-shadow: 0 18px 50px rgba(0,0,0,.55); transition: left .25s ease, top .25s ease; animation: tourin .25s ease; }
@keyframes tourin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tour-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .tour-head b { flex: 1; font-size: 15.5px; }
.tour-x { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 8px; display: grid; } .tour-x:hover { background: var(--panel3); color: var(--text); }
.tour-text { font-size: 14px; line-height: 1.5; color: var(--text); } .tour-text b { color: var(--accent); }
.tour-hint { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--accent); font-weight: 600; }
.tour-wait { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.tour-dots { display: flex; gap: 5px; margin: 10px 0 8px; flex-wrap: wrap; } .tour-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line2); } .tour-dots i.past { background: var(--accent-line); } .tour-dots i.on { background: var(--accent); transform: scale(1.3); }
.tour-nav { display: flex; align-items: center; gap: 8px; }
@media (max-width: 520px) { .sidebar { padding: 6px 2px; } .nav { font-size: 10px; padding: 5px 0; min-width: 0; } .nav .i { width: 19px; height: 19px; } }

/* Skript / Teleprompter im Aufnahme-Studio */
.scr-card { padding: 0; } .scr-card > summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; cursor: pointer; padding: 14px 16px; list-style: none; } .scr-card > summary::-webkit-details-marker { display: none; }
.scr-card > summary::after { content: '▾'; margin-left: auto; color: var(--muted); } .scr-card[open] > summary::after { content: '▴'; }
.scr-body { padding: 0 16px 16px; display: grid; gap: 10px; } .scr-tools { gap: 10px; align-items: center; }
.scr-area { width: 100%; box-sizing: border-box; padding: 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--input); color: var(--text); font: inherit; line-height: 1.5; resize: vertical; min-height: 180px; }
.scr-read { height: 46vh; min-height: 240px; overflow-y: auto; padding: 24px 22px 40vh; border-radius: 12px; background: var(--wavebg); border: 1px solid var(--line); line-height: 1.55; font-weight: 550; white-space: pre-wrap; scroll-behavior: auto; }
.scr-ctl { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); } .scr-ctl input[type=range] { width: 120px; }
/* Willkommens-Dialog */
.welcome { text-align: center; max-width: 440px; margin: 0 auto; padding: 6px 0 4px; } .welcome h2 { font-size: 22px; margin: 8px 0 6px; justify-content: center; } .welcome p { color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.welcome-ic { width: 66px; height: 66px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 30%, transparent); }
/* Vorlesen / Musik in Touren */
.tour-tools { display: flex; gap: 6px; flex-wrap: wrap; margin: 2px 0 10px; }
.tour-tool { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; border: 1px solid var(--line2); background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.tour-tool:hover { color: var(--text); border-color: var(--line3); } .tour-tool.on { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.tut-audio, .welcome-opts { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; } .tut-audio { margin: 0 2px 12px; }
.welcome-opts { justify-content: center; margin: 0 0 16px; } .welcome-opts label, .welcome-opts-l { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text); cursor: pointer; } .welcome-opts input, .welcome-opts-l input { accent-color: var(--accent); width: 16px; height: 16px; }

/* Animationen für Fenster, Seiten und Karten */
.modal { animation: modalin .38s cubic-bezier(.2, .9, .3, 1.15); transform-origin: 50% 40%; }
@keyframes modalin { from { opacity: 0; transform: translateY(26px) scale(.93); } }
.overlay { animation: fade .22s ease; }
.main > .page { animation: pagein .42s cubic-bezier(.2, .8, .25, 1); }
@keyframes pagein { from { opacity: 0; transform: translateY(16px); } }
.tut-card { animation: cardin .5s cubic-bezier(.2, .8, .25, 1) both; }
@keyframes cardin { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.tour-bubble { animation: tourpop .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes tourpop { from { opacity: 0; transform: translateY(10px) scale(.94); } }
.tour-hole { animation: holeglow 2.2s ease-in-out infinite; }
@keyframes holeglow { 50% { filter: brightness(1.25); } }
.dash > .card, .dash > .win { animation: winin .5s cubic-bezier(.2, .8, .25, 1) both; }
.dash > :nth-child(2) { animation-delay: .06s; } .dash > :nth-child(3) { animation-delay: .12s; } .dash > :nth-child(4) { animation-delay: .18s; } .dash > :nth-child(5) { animation-delay: .24s; } .dash > :nth-child(6) { animation-delay: .3s; }
@keyframes winin { from { opacity: 0; transform: translateY(22px) scale(.975); } }
.btn { transition: transform .12s, background .15s, border-color .15s, filter .15s; } .btn:active:not(:disabled) { transform: scale(.96); }
.nav { transition: background .18s, color .18s, transform .18s; } .nav:hover { transform: translateX(3px); }
@media (max-width: 900px) { .nav:hover { transform: none; } }
/* Assistent (Jarvis) */
.jarvis { border-color: var(--accent-line); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 9%, var(--panel)), var(--panel-end) 70%); }
.jv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.jv-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); animation: jvpulse 2.6s ease-in-out infinite; }
@keyframes jvpulse { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 14%, transparent); } }
.jv-intro { font-size: 16px; font-weight: 600; margin: 4px 0 10px; } .jv-outro { margin: 12px 0; color: var(--muted); line-height: 1.5; }
.jv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.jv-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 8px 10px; border-radius: 10px; background: var(--panel2); animation: cardin .45s both; }
.jv-list li div { display: grid; gap: 1px; } .jv-list li b { font-size: 14px; } .jv-list li span:not(.jv-ic) { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.jv-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.jv-gloss { margin-top: 12px; font-size: 13.5px; color: var(--muted); } .jv-gloss summary { cursor: pointer; color: var(--text); font-weight: 600; } .jv-gloss div { padding: 6px 0; line-height: 1.45; } .jv-gloss b { color: var(--text); }
/* Pegelanzeige + senkrechte Wellenform-Vergrößerung */
.lm { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; } .lm-bar { position: relative; width: 120px; height: 10px; border-radius: 99px; overflow: hidden; background: linear-gradient(90deg, #34d399 0 70%, #ffb04d 70% 90%, #ff5d73 90%); }
.lm-bar i { position: absolute; right: 0; top: 0; bottom: 0; width: 100%; background: var(--panel3); transition: none; } .lm-bar b { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; opacity: .85; margin-left: -1px; }
.lm-val { min-width: 34px; font-size: 12px; color: var(--muted); } .lm-val.hot { color: var(--red); }
.vsep { width: 1px; height: 18px; background: var(--line2); margin: 0 4px; }
@media (max-width: 700px) { .lm-bar { width: 70px; } }
/* Stehender Pegelmesser */
.ewrap { display: flex; gap: 8px; align-items: stretch; } .ewrap > .wavewrap { flex: 1; min-width: 0; }
.vu-box { width: 66px; flex: none; border-radius: 10px; background: var(--wavebg); border: 1px solid var(--line); min-height: 150px; } .vu { width: 100%; height: 100%; display: block; }
.rec-vurow { display: flex; } .rec-wavecol { flex: 1; min-width: 0; } .rec-vurow .vu-box { border: 0; border-left: 1px solid var(--line); border-radius: 0; min-height: 190px; }
@media (max-width: 700px) { .vu-box { width: 56px; } }
/* Ansicht „Fokus“: Vollbild-Look ohne Menü */
.shell.focus-mode { grid-template-columns: 1fr; } .shell.focus-mode .sidebar { display: none; }
.shell.focus-mode .fk .transcript, .shell.focus-mode .fk .sug { max-height: 64vh; }
/* Äh-Jäger 2: Canvas-Spiel */
.g-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; cursor: none; }
.g-arena { height: 380px; } .g-hearts { display: inline-flex; gap: 3px; } .g-hearts i { font-style: normal; color: #3a4a68; transition: color .2s, transform .2s; } .g-hearts i.on { color: #ff5d73; }
.g-over { z-index: 3; }
/* Profilbilder, Feedback, Erweitert-Tab */
.avatar { overflow: hidden; padding: 0; display: grid; place-items: center; } .avatar .av-img, .avatar .av-svg { width: 100%; height: 100%; display: block; object-fit: cover; } .avatar.has-av { background: transparent; }
.av-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; } .av-opt { width: 64px; height: 64px; padding: 0; border-radius: 50%; border: 3px solid transparent; background: none; cursor: pointer; overflow: hidden; transition: transform .15s, border-color .15s; } .av-opt:hover { transform: scale(1.08); } .av-opt.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); } .av-opt .av-svg { display: block; width: 100%; height: 100%; }
.fb-area { width: 100%; box-sizing: border-box; padding: 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--input); color: var(--text); font: inherit; line-height: 1.5; resize: vertical; }
.fb-donate { background: linear-gradient(135deg, color-mix(in srgb, var(--orange) 14%, var(--panel)), var(--panel-end) 70%); border-color: color-mix(in srgb, var(--orange) 40%, var(--line)); }
.tab.adv { margin-left: auto; opacity: .75; }
/* Handy / iPhone (Vollbild-App): sichere Bereiche, echte Bildschirmhöhe, Eingabefelder ohne Zoom */
.shell { height: 100vh; height: 100dvh; grid-template-rows: calc(64px + env(safe-area-inset-top, 0px)) minmax(0, 1fr); }
.topbar { padding-top: env(safe-area-inset-top, 0px); padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.authwrap { min-height: 100vh; min-height: 100dvh; padding-top: max(24px, env(safe-area-inset-top, 0px)); padding-bottom: max(24px, env(safe-area-inset-bottom, 0px)); }
.overlay { padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
#toasts { bottom: max(18px, env(safe-area-inset-bottom, 0px)); right: max(18px, env(safe-area-inset-right, 0px)); }
@media (max-width: 900px) {
  .shell { grid-template-rows: calc(58px + env(safe-area-inset-top, 0px)) minmax(0, 1fr) calc(62px + env(safe-area-inset-bottom, 0px)); }
  .sidebar { padding: 6px max(8px, env(safe-area-inset-left, 0px)) env(safe-area-inset-bottom, 0px) max(8px, env(safe-area-inset-right, 0px)); }
  .topbar { padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); }
  .main { padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; }
  #toasts { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  input, select, textarea { font-size: 16px; } /* verhindert das automatische Hineinzoomen auf dem iPhone */
  .btn, .seg-b, .chip, .nav, .tab { min-height: 40px; }
  .tour-bubble { max-height: 60dvh; overflow: auto; }
  .viewbar { flex-wrap: wrap; justify-content: flex-end; }
  .wiz-body .wgrid { gap: 12px; } .wnav { flex-wrap: wrap; position: sticky; bottom: 0; padding: 10px 0 8px; background: linear-gradient(180deg, transparent, var(--bg) 40%); z-index: 5; }
  .ewrap .vu-box { width: 50px; min-height: 120px; }
}
.btn.listening { background: color-mix(in srgb, var(--red) 25%, var(--panel2)); border-color: var(--red); color: var(--red); animation: pulse 1s infinite; }

/* Personal-Design: Easter Eggs und Logo */
.egg-rain { position: fixed; inset: 0; pointer-events: none; z-index: 9400; overflow: hidden; } .egg-rain span { position: absolute; top: 0; will-change: transform; }
.egg-walker { position: fixed; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); left: 0; font-size: 46px; z-index: 9300; cursor: pointer; animation: walkbob .45s ease-in-out infinite alternate; }
@keyframes walkbob { to { margin-bottom: 10px; } }
@media (max-width: 900px) { .egg-walker { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); } }
.pc-brand-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--accent); }
.winpresets { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px 11px 8px; } .winpresets .chip { font-size: 12px; }

/* Äh-Jäger im Vollbild: Spielfeld füllt alles, Punkte und Rekord liegen durchsichtig darüber */
.g-full { position: fixed; inset: 0; z-index: 9100; background: var(--bg); }
.g-arena-full { position: absolute; inset: 0; height: auto !important; border: 0; border-radius: 0; }
.g-full .g-head { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); left: max(12px, env(safe-area-inset-left, 0px)); right: 64px; z-index: 5; margin: 0; gap: 8px 16px; padding: 8px 12px; border-radius: 12px; background: rgba(8, 14, 28, .42); backdrop-filter: blur(6px); pointer-events: none; font-size: 13px; }
.g-full .g-head b { font-size: 16px; } .g-full .g-best { margin-left: auto; }
.g-full .g-help { position: absolute; left: 12px; right: 12px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 5; text-align: center; font-size: 11.5px; color: var(--faint); pointer-events: none; text-shadow: 0 1px 6px #000; }
.g-close { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); z-index: 6; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(8, 14, 28, .55); backdrop-filter: blur(6px); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.g-full .g-canvas { cursor: none; }
/* Video Plus */
.tl > .vp { grid-column: 1 / -1; grid-row: auto; }
.tl:has(> .vp) { grid-template-areas: "status status status" "vp vp vp" "editor editor editor" "tr sug insp" "ask ask ask"; }
.tl > .vp { grid-area: vp; }
.vc-stage { position: relative; max-width: 720px; margin: 0 auto; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line); } .vc-video { display: block; width: 100%; max-height: 40vh; background: #000; object-fit: contain; }
.vc-cut { position: absolute; top: 10px; left: 10px; display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 99px; background: rgba(255, 93, 115, .9); color: #fff; font-size: 12px; font-weight: 700; }
.vc-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px; color: var(--muted); } .vc-empty svg { width: 34px; height: 34px; color: var(--accent); } .vc-empty b { color: var(--text); font-size: 16px; }
.vc-list { margin: 0 0 10px; padding-left: 18px; color: var(--muted); line-height: 1.6; }
@media (max-width: 1280px) { .tl:has(> .vp) { grid-template-areas: "status status" "vp vp" "editor editor" "tr sug" "insp insp" "ask ask"; } }
/* PodcastCut – dunkles Design; Farben kommen aus Variablen (Themes: css/themes.css, Standard = Mint) */
:root {
  --h: 218; /* Grundton der Flächen (Farbwinkel) */
  --bg: hsl(var(--h) 51% 8%); --bg2: hsl(var(--h) 49% 10%); --panel: hsl(var(--h) 48% 12%); --panel2: hsl(var(--h) 46% 16%); --panel3: hsl(var(--h) 44% 20%); --panel-end: hsl(var(--h) 48% 11%);
  --line: hsl(var(--h) 42% 21%); --line2: hsl(var(--h) 39% 28%); --line3: hsl(var(--h) 38% 38%);
  --input: hsl(var(--h) 52% 9%); --wavebg: hsl(var(--h) 55% 8%); --glow: hsl(var(--h) 62% 18%); --hero1: hsl(calc(var(--h) - 9) 65% 17%); --hero2: hsl(var(--h) 56% 9%);
  --text: #e9eff9; --muted: #93a4c2; --faint: #62779b;
  --accent: #2ee6a6; --accent2: #3fa3ff; --accent-ink: #04281d; --wave: #4aa8ff;
  --accent-strong: color-mix(in srgb, var(--accent) 92%, #000);
  --accent-soft: color-mix(in srgb, var(--accent) 17%, var(--panel)); --accent-soft2: color-mix(in srgb, var(--accent2) 14%, var(--panel)); --accent-line: color-mix(in srgb, var(--accent) 36%, var(--panel));
  --blue-soft: color-mix(in srgb, var(--accent2) 22%, var(--panel)); --blue-line: color-mix(in srgb, var(--accent2) 45%, var(--panel)); --blue-text: color-mix(in srgb, var(--accent2) 60%, #fff);
  --blue: #4aa8ff; --blue2: #2c6fd1; --orange: #ffb04d; --red: #ff5d73; --violet: #a78bfa; --green: #34d399;
  --radius: 14px; --radius-s: 9px;
  --shadow: 0 8px 28px rgba(0, 0, 0, .35);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: radial-gradient(1200px 600px at 70% -10%, var(--glow) 0%, transparent 60%), var(--bg); color: var(--text); font: 14px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--accent) 33%, transparent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: 12px; } .mono { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.shell { display: grid; grid-template-columns: 214px minmax(0, 1fr); grid-template-rows: 64px minmax(0, 1fr); height: 100vh; }
.topbar { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding: 0 20px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(10px); position: relative; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; width: 194px; flex: none; }
.brand svg { width: 34px; height: 34px; }
.brand b { font-size: 19px; letter-spacing: -.02em; display: block; line-height: 1.1; }
.brand small { color: var(--muted); font-size: 10.5px; display: block; }
.titlebox { display: flex; flex-direction: column; min-width: 0; padding-left: 20px; border-left: 1px solid var(--line); }
.titlebox .t { display: flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; }
.titlebox input { background: transparent; border: 1px solid transparent; border-radius: 6px; padding: 1px 6px; margin-left: -6px; font-weight: 600; font-size: 14.5px; width: min(360px, 40vw); text-overflow: ellipsis; }
.titlebox input:hover { border-color: var(--line2); } .titlebox input:focus { border-color: var(--accent); background: var(--panel); outline: none; }
.titlebox .s { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.dot.busy { background: var(--orange); animation: pulse 1.2s infinite; } .dot.err { background: var(--red); }
@keyframes pulse { 50% { opacity: .35; } }
.spacer { flex: 1; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--accent-ink); font-weight: 700; border: 0; cursor: pointer; }
.sidebar { border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; overflow: auto; background: color-mix(in srgb, var(--bg) 53%, transparent); }
.nav { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 11px; color: #c4d0e6; cursor: pointer; border: 0; background: transparent; text-align: left; width: 100%; font-size: 14px; }
.nav:hover { background: var(--panel); text-decoration: none; color: #fff; }
.nav.active { background: linear-gradient(90deg, var(--accent-soft), var(--accent-soft2)); color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent-line); }
.sidefoot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.kicard { border: 1px solid var(--line2); border-radius: 12px; padding: 12px; background: var(--panel); font-size: 11.5px; color: var(--muted); }
.kicard b { color: var(--blue-text); display: flex; gap: 6px; align-items: center; margin-bottom: 3px; font-size: 12px; }
.main { overflow: auto; padding: 16px 20px 40px; scroll-behavior: smooth; }
.page { max-width: 1560px; margin: 0 auto; }
.page-title { display: flex; align-items: center; gap: 14px; margin: 6px 0 18px; flex-wrap: wrap; }
.page-title h1 { font-size: 24px; } .page-title .sub { color: var(--muted); }

/* ---------- Karten & Controls ---------- */
.card { background: linear-gradient(180deg, var(--panel), var(--panel-end)); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; min-width: 0; position: relative; }
.card > h2, .card-h { font-size: 15.5px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.card-h .grow { flex: 1; }
.badge { font-size: 10.5px; padding: 1px 7px; border-radius: 99px; background: var(--blue-soft); color: var(--blue-text); border: 1px solid var(--blue-line); font-weight: 600; }
.badge.green { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); } .badge.orange { background: #3a2a10; color: var(--orange); border-color: #6b4a14; } .badge.red { background: #3a1620; color: var(--red); border-color: #6b2434; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); border-radius: 10px; padding: 9px 14px; cursor: pointer; font-weight: 550; transition: .15s; white-space: nowrap; }
.btn:hover { background: var(--panel3); border-color: var(--line3); text-decoration: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 86%, #fff), color-mix(in srgb, var(--accent) 92%, #000)); color: var(--accent-ink); border-color: transparent; font-weight: 650; }
.btn.primary:hover { filter: brightness(1.07); }
.btn.danger { color: var(--red); } .btn.danger:hover { background: #3a1620; border-color: #6b2434; }
.btn.ghost { background: transparent; } .btn.sm { padding: 6px 10px; font-size: 12.5px; border-radius: 8px; } .btn.block { width: 100%; }
.btn.icon { padding: 7px; border-radius: 9px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; } .field > label, .lbl { font-size: 12px; color: var(--muted); font-weight: 550; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], textarea, select { background: var(--input); border: 1px solid var(--line2); border-radius: 9px; padding: 9px 11px; width: 100%; min-width: 0; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 13%, transparent); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2393a4c2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; padding-right: 30px; cursor: pointer; }
textarea { resize: vertical; min-height: 70px; }
.row { display: flex; gap: 10px; align-items: center; } .row.wrap { flex-wrap: wrap; } .col { display: flex; flex-direction: column; gap: 10px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line2); background: var(--panel2); font-size: 12px; cursor: pointer; color: var(--text); }
.chip:hover { border-color: var(--line3); } .chip.on { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.chip button { background: none; border: 0; color: inherit; padding: 0; cursor: pointer; display: grid; }

/* Schalter */
.sw { position: relative; width: 44px; height: 24px; flex: none; }
.sw input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; z-index: 1; }
.sw span { position: absolute; inset: 0; border-radius: 99px; background: var(--line3); transition: .2s; }
.sw span::after { content: ""; position: absolute; width: 18px; height: 18px; top: 3px; left: 3px; border-radius: 50%; background: #cdd8ee; transition: .2s; }
.sw input:checked + span { background: var(--accent-strong); } .sw input:checked + span::after { transform: translateX(20px); background: #fff; }
.sw input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Slider */
input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; width: 100%; height: 22px; padding: 0; border: 0; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 5px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--p, 50%), var(--line3) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; margin-top: -5.5px; border: 2px solid var(--accent); box-shadow: 0 1px 4px #0006; }
input[type=range]::-moz-range-track { height: 5px; border-radius: 4px; background: var(--line3); } input[type=range]::-moz-range-progress { height: 5px; border-radius: 4px; background: var(--accent); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.progress { height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; } .progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-strong), #4aa8ff); border-radius: 99px; transition: width .3s; }
.progress.indet > i { width: 35% !important; animation: slide 1.2s infinite ease-in-out; } @keyframes slide { 0% { margin-left: -35%; } 100% { margin-left: 100%; } }
.tip { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--faint); color: var(--faint); font-size: 10px; cursor: help; flex: none; }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; }
.kbd { border: 1px solid var(--line2); border-bottom-width: 2px; border-radius: 5px; padding: 0 6px; font-size: 11px; background: var(--panel2); }

/* ---------- Dashboard ---------- */
.dash { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, .95fr); align-items: stretch; }
.dash .span-all { grid-column: 1 / -1; }
.drop { border: 2px dashed var(--line2); border-radius: 12px; height: 100%; min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; gap: 8px; transition: .15s; background: color-mix(in srgb, var(--input) 67%, transparent); }
.drop.over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 20%, transparent); transform: scale(1.01); }
.drop svg.big { width: 64px; height: 64px; stroke: var(--accent); stroke-width: 1.4; }
.drop h2 { font-size: 20px; margin: 4px 0; } .drop .fmt { font-size: 12px; color: var(--muted); max-width: 300px; }
.uploading { width: 100%; max-width: 330px; } .uploading .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
.cardwrap { position: relative; } .settings-card { display: flex; flex-direction: column; max-height: 450px; padding-bottom: 8px; } .settings-card .scroll { overflow: auto; margin: 0 -8px; padding: 0 8px; flex: 1; }
.srow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .srow:last-child { border-bottom: 0; }
.srow .ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--panel3); border: 1px solid var(--line2); color: #c4d0e6; flex: none; }
.srow .txt { flex: 1; min-width: 0; cursor: pointer; } .srow .txt b { display: block; font-weight: 600; font-size: 13.5px; } .srow .txt small { color: var(--muted); font-size: 11.5px; display: block; }
.srow .more { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 6px; transform: rotate(0); transition: .2s; } .srow .more.open { transform: rotate(180deg); }
.sdetail { padding: 4px 4px 14px 48px; border-bottom: 1px solid var(--line); display: none; } .sdetail.open { display: block; }
.sdetail .field { margin-bottom: 10px; } .sdetail .lbl { display: flex; justify-content: space-between; }
.sdetail .lbl output { color: var(--accent); font-variant-numeric: tabular-nums; }
.chat-card { display: flex; flex-direction: column; max-height: 450px; min-height: 330px; }
.chat-log { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 8px; margin: 4px 0 10px; padding-right: 4px; }
.msg { padding: 8px 11px; border-radius: 11px; max-width: 92%; white-space: pre-wrap; word-break: break-word; font-size: 13px; }
.msg.u { align-self: flex-end; background: var(--blue-soft); border: 1px solid var(--blue-line); } .msg.a { align-self: flex-start; background: var(--panel2); border: 1px solid var(--line2); }
.msg.a .tags { margin-top: 6px; display: flex; gap: 5px; flex-wrap: wrap; } .msg .typing { display: inline-flex; gap: 4px; } .msg .typing i { width: 6px; height: 6px; background: var(--muted); border-radius: 50%; animation: pulse 1s infinite; } .msg .typing i:nth-child(2) { animation-delay: .2s; } .msg .typing i:nth-child(3) { animation-delay: .4s; }
.askbox { position: relative; } .askbox textarea { min-height: 78px; padding-right: 48px; background: var(--input); border-color: var(--line2); } .askbox .send { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 8px; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; } .askbox .send:disabled { opacity: .5; }
.examples { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; max-height: 128px; overflow: auto; } .examples button { text-align: left; background: var(--panel2); border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; cursor: pointer; font-size: 12.5px; color: #c9d5ea; } .examples button:hover { border-color: var(--line3); color: #fff; }

/* Statusleiste */
.statusbar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 14px 18px; }
.statusbar .file { display: flex; align-items: center; gap: 12px; min-width: 180px; } .statusbar .file .pl { width: 40px; height: 40px; border-radius: 50%; background: var(--panel3); border: 1px solid var(--line2); display: grid; place-items: center; color: var(--text); }
.steps { display: flex; align-items: center; gap: 18px; flex: 1; justify-content: center; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 10px; color: var(--muted); } .step .c { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line2); } .step.done { color: var(--text); } .step.done .c { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-ink); } .step.active .c { border-color: var(--orange); color: var(--orange); animation: pulse 1.2s infinite; } .step.err .c { border-color: var(--red); color: var(--red); }
.step b { font-size: 12.5px; display: block; font-weight: 550; } .step small { font-size: 11.5px; color: var(--muted); }
.pill { border-radius: 99px; padding: 8px 16px; font-weight: 600; font-size: 13px; display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--accent); } .pill.busy { background: #3a2a10; border-color: #6b4a14; color: var(--orange); } .pill.err { background: #3a1620; border-color: #6b2434; color: #ff8a9b; }

/* Arbeitsbereich */
.work { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; }
.work .left { display: flex; flex-direction: column; gap: 16px; min-width: 0; } .work .right { display: flex; flex-direction: column; gap: 16px; }
.two { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; }
.editor { padding: 14px 16px 16px; }
.etool { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.playbtn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #e9eff9; color: var(--bg); display: grid; place-items: center; cursor: pointer; flex: none; } .playbtn:hover { background: #fff; } .playbtn svg { fill: currentColor; stroke: none; width: 17px; height: 17px; }
.time { font-variant-numeric: tabular-nums; font-size: 16px; font-weight: 600; } .time small { color: var(--muted); font-weight: 450; font-size: 14px; }
.legend { display: flex; gap: 14px; margin-left: auto; font-size: 12px; color: var(--muted); flex-wrap: wrap; } .legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.wavewrap { position: relative; border-radius: 10px; background: var(--wavebg); border: 1px solid var(--line); overflow: hidden; touch-action: pan-y; user-select: none; }
.wavewrap canvas { display: block; width: 100%; cursor: crosshair; }
.selbar { position: absolute; z-index: 5; transform: translate(-50%, 0); background: var(--panel2); border: 1px solid var(--line2); border-radius: 10px; padding: 5px; display: flex; gap: 4px; box-shadow: var(--shadow); }
.strip { display: flex; gap: 3px; margin-top: 8px; height: 46px; } .strip .seg { border-radius: 7px; padding: 5px 8px; font-size: 11.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; border: 1px solid transparent; min-width: 4px; display: flex; flex-direction: column; justify-content: center; line-height: 1.25; } .strip .seg small { opacity: .75; font-size: 10.5px; }
.strip .keep { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 50%, #0a0f18), color-mix(in srgb, var(--accent) 42%, #0a0f18)); border-color: color-mix(in srgb, var(--accent) 66%, #0a0f18); } .strip .cut { background: linear-gradient(180deg, #c04058, #a53349); border-color: #e0627a; } .strip .intro { background: linear-gradient(180deg, #2a6fc9, #2259a5); border-color: #4a8de0; }
.hint { color: var(--faint); font-size: 12px; margin-top: 8px; }
.transcript { display: flex; flex-direction: column; max-height: 470px; } .tbar { display: flex; gap: 8px; margin-bottom: 8px; } .tbar .search { position: relative; flex: 1; } .tbar .search svg { position: absolute; left: 10px; top: 10px; color: var(--muted); width: 16px; height: 16px; } .tbar .search input { padding-left: 32px; }
.tlist { overflow: auto; flex: 1; border-top: 1px solid var(--line); margin-top: 2px; } .tfoot { color: var(--muted); font-size: 12px; padding-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.trow { display: grid; grid-template-columns: 50px 82px minmax(0, 1fr); gap: 8px; padding: 7px 6px; border-bottom: 1px solid var(--line); align-items: start; border-radius: 6px; } .trow.cutrow { background: #34121c88; box-shadow: inset 2px 0 var(--red); }
.trow .tm { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12.5px; padding-top: 2px; cursor: pointer; } .trow .tm:hover { color: var(--accent); }
.sp { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 5px; font-weight: 600; background: var(--blue-soft); color: var(--blue-text); border: 1px solid var(--blue-line); } .sp.s2 { background: #3a1a35; color: #ff9ad5; border-color: #6b2f61; } .sp.s3 { background: #2a2f10; color: #d2e26a; border-color: #4f5a1c; } .sp.s4 { background: #123a3a; color: #6ae0e0; border-color: #1c6a6a; }
.trow .tx { line-height: 1.55; } .w { cursor: pointer; border-radius: 4px; padding: 0 1px; } .w:hover { background: #2a3d60; } .w.now { background: var(--accent); color: var(--accent-ink); } .w.cut { background: #ff5d7333; text-decoration: line-through; text-decoration-color: #ff5d73aa; } .w.cut.f { background: #ffb04d33; text-decoration-color: #ffb04d; } .w.hit { outline: 1px solid var(--orange); background: #ffb04d22; }
.tag { font-size: 11px; background: #3a1620; color: #ff8a9b; border: 1px solid #6b2434; border-radius: 6px; padding: 0 6px; margin-left: 6px; white-space: nowrap; cursor: pointer; } .tag:hover { background: #4a1c28; }
.sug { display: flex; flex-direction: column; max-height: 470px; } .sug .list { overflow: auto; flex: 1; margin: 0 -4px; padding: 0 4px; }
.sgroup { border-bottom: 1px solid var(--line); padding: 9px 0; } .sgh { display: flex; align-items: center; gap: 10px; cursor: pointer; } .sgh .bar { width: 5px; align-self: stretch; border-radius: 4px; min-height: 32px; } .sgh .t { flex: 1; min-width: 0; } .sgh .t b { display: block; font-weight: 600; font-size: 13px; } .sgh .t small { color: var(--muted); font-size: 11.5px; }
.sitems { margin: 8px 0 2px 15px; display: flex; flex-direction: column; gap: 2px; max-height: 190px; overflow: auto; } .sitem { display: flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 4px 6px; border-radius: 7px; cursor: pointer; } .sitem:hover { background: var(--panel2); } .sitem .tt { color: var(--muted); font-variant-numeric: tabular-nums; min-width: 44px; } .sitem .lb { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sitem.off .lb { text-decoration: line-through; color: var(--faint); }
.cb { width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; flex: none; }
.checks { display: flex; flex-direction: column; gap: 9px; } .chk { display: flex; align-items: center; gap: 10px; cursor: pointer; border: 0; background: none; text-align: left; padding: 2px 0; } .chk .ok { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-strong); color: var(--accent-ink); flex: none; } .chk.off .ok { background: #243553; color: #5e7298; } .chk .ok svg { width: 13px; height: 13px; stroke-width: 3; } .chk small { color: var(--muted); margin-left: auto; font-size: 11.5px; }
.checkrow { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; } .checkrow:last-child { border-bottom: 0; } .checkrow .st { width: 18px; flex: none; } .checkrow.good .st { color: var(--green); } .checkrow.warn .st { color: var(--orange); } .checkrow.bad .st { color: var(--red); } .checkrow small { color: var(--muted); display: block; }
.exportlist { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; } .exitem { display: flex; gap: 8px; align-items: center; font-size: 12px; padding: 6px 8px; border-radius: 8px; background: var(--panel2); border: 1px solid var(--line); } .exitem .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.askbar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line2); background: var(--input); position: sticky; bottom: 8px; z-index: 6; box-shadow: var(--shadow); } .askbar input { background: transparent; border: 0; box-shadow: none !important; padding: 10px 4px; } .askbar svg.sp-i { color: var(--accent); }
.empty-work { text-align: center; padding: 50px 20px; border: 1px dashed var(--line2); border-radius: var(--radius); color: var(--muted); } .empty-work h2 { color: var(--text); margin-bottom: 6px; }

/* Listen / Seiten */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.pcard { cursor: pointer; transition: .15s; display: flex; flex-direction: column; gap: 10px; } .pcard:hover { border-color: var(--line3); transform: translateY(-2px); } .pcard.cur { border-color: var(--accent-line); box-shadow: 0 0 0 1px var(--accent-line); }
.pcard canvas { width: 100%; height: 54px; border-radius: 8px; background: var(--wavebg); } .pcard h3 { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pcard .meta { display: flex; gap: 12px; color: var(--muted); font-size: 12px; flex-wrap: wrap; }
.pcard .acts { display: flex; gap: 6px; margin-top: auto; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow: auto; } .tab { padding: 10px 16px; border: 0; background: none; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; font-weight: 550; white-space: nowrap; } .tab.on { color: var(--accent); border-color: var(--accent); }
.two-col { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); align-items: start; }
.tpl { display: flex; flex-direction: column; gap: 8px; } .tpl p { margin: 0; color: var(--muted); font-size: 12.5px; } .tpl .acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.table { width: 100%; border-collapse: collapse; } .card .table { display: block; overflow-x: auto; } .table th, .table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); font-size: 13px; } .table th { color: var(--muted); font-weight: 550; font-size: 12px; }
pre.code { max-width: 100%; background: var(--input); border: 1px solid var(--line); border-radius: 10px; padding: 12px; overflow: auto; font: 12.5px/1.5 ui-monospace, "Cascadia Code", Consolas, monospace; color: #c6d3ea; margin: 8px 0; white-space: pre-wrap; word-break: break-all; }
.code-inline { background: var(--panel2); padding: 1px 6px; border-radius: 5px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }

/* Anmeldung */
.authwrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.authgrid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; width: min(980px, 100%); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.authhero { padding: 44px; background: radial-gradient(500px 300px at 20% 0%, color-mix(in srgb, var(--accent2) 22%, transparent), transparent 70%), linear-gradient(160deg, var(--hero1), var(--hero2)); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.authhero h1 { font-size: 30px; line-height: 1.15; } .authhero ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; color: #c4d4ee; } .authhero li { display: flex; gap: 10px; align-items: flex-start; } .authhero li svg { color: var(--accent); margin-top: 2px; }
.authform { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 4px; } .authform h2 { font-size: 22px; margin-bottom: 14px; } .errbox { background: #3a1620; border: 1px solid #6b2434; color: #ffb0bc; padding: 9px 12px; border-radius: 9px; margin-bottom: 12px; font-size: 13px; }
.wavehero { height: 70px; width: 100%; opacity: .9; }

/* Toast & Modal & Menü */
#toasts { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 100; max-width: min(420px, calc(100vw - 36px)); }
.toast { background: var(--panel2); border: 1px solid var(--line2); border-left: 4px solid var(--blue); padding: 11px 14px; border-radius: 10px; box-shadow: var(--shadow); animation: tin .25s; } .toast.ok { border-left-color: var(--accent); } .toast.err { border-left-color: var(--red); } .toast.warn { border-left-color: var(--orange); } @keyframes tin { from { transform: translateY(12px); opacity: 0; } }
.overlay { position: fixed; inset: 0; background: #040810cc; backdrop-filter: blur(4px); z-index: 60; display: grid; place-items: center; padding: 16px; overflow: auto; animation: fade .15s; } @keyframes fade { from { opacity: 0; } }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel); border: 1px solid var(--line2); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); } .modal.wide { width: min(820px, 100%); } .modal h2 { font-size: 18px; margin-bottom: 14px; } .modal .acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.menu { position: absolute; right: 0; top: 46px; min-width: 210px; background: var(--panel); border: 1px solid var(--line2); border-radius: 12px; padding: 6px; box-shadow: var(--shadow); z-index: 50; } .menu button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 9px 11px; border: 0; background: none; border-radius: 8px; cursor: pointer; text-align: left; } .menu button:hover { background: var(--panel2); } .menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 0; } .menu .who { padding: 8px 11px; color: var(--muted); font-size: 12px; }
.chaprow { display: grid; grid-template-columns: 90px 1fr 34px; gap: 8px; margin-bottom: 6px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1280px) { .dash { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dash .assistant { grid-column: 1 / -1; } .work { grid-template-columns: minmax(0, 1fr); } .work .right { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: 58px minmax(0, 1fr) 60px; }
  .sidebar { grid-row: 3; flex-direction: row; padding: 6px 8px; border-right: 0; border-top: 1px solid var(--line); background: var(--bg); justify-content: space-around; } .sidefoot { display: none; } .nav { flex-direction: column; gap: 2px; padding: 5px 4px; font-size: 11px; justify-content: center; width: auto; flex: 1; text-align: center; }
  .brand { width: auto; } .brand small { display: none; } .titlebox { padding-left: 10px; } .titlebox input { width: 34vw; } .topbar { padding: 0 12px; gap: 10px; } .top-actions .btn span { display: none; }
  .main { padding: 12px 12px 30px; overflow-x: hidden; } .dash { grid-template-columns: minmax(0, 1fr); } .two { grid-template-columns: 1fr; } .grid2, .grid3 { grid-template-columns: 1fr; } .authgrid { grid-template-columns: 1fr; } .authhero { padding: 26px; } .authform { padding: 26px; } .statusbar { gap: 12px; } .steps { justify-content: flex-start; gap: 12px; } .legend { margin-left: 0; } .askbar { bottom: 4px; }
  .trow { grid-template-columns: 44px minmax(0, 1fr); } .trow .spk { grid-column: 2; order: 3; } .drop { min-height: 250px; }
}
@media (max-width: 900px) { .dash .up { order: 1; } .dash .statusbar { order: 2; } .dash .work { order: 3; } .dash .settings-card { order: 4; } .dash .assistant { order: 5; } .dash .askbar { order: 6; } }
@media (max-width: 640px) {
  .brand div { display: none; } .brand { width: auto; } .titlebox { flex: 1; min-width: 0; padding-left: 10px; } .titlebox input { width: 100%; } .top-actions { gap: 8px; } .topbar .spacer { display: none; }
  .top-actions .btn { padding: 8px; } .statusbar .file { min-width: 0; } .editor { padding: 12px; } .etool { gap: 8px; } .legend { gap: 10px; }
  .card { padding: 14px; } .page-title h1 { font-size: 21px; } .dash .span-all { grid-column: auto; } .authhero h1 { font-size: 24px; }
  .selbar { flex-wrap: wrap; justify-content: center; width: max-content; max-width: calc(100% - 16px); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Start-Animation ---------- */
#splash { position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(900px 520px at 50% 42%, var(--glow), var(--bg) 72%); cursor: pointer; transition: opacity .55s ease, transform .55s ease; }
#splash.on { display: flex; }
#splash.out { opacity: 0; transform: scale(1.04); pointer-events: none; }
#splash .sp-glow { position: absolute; width: 520px; height: 520px; max-width: 90vw; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 62%); filter: blur(30px); animation: sp-breathe 2.6s ease-in-out infinite; }
#splash .sp-wave { position: relative; display: flex; align-items: center; justify-content: center; gap: 5px; height: 130px; }
#splash .sp-wave i { display: block; width: 6px; height: var(--h); border-radius: 4px; background: linear-gradient(180deg, var(--accent), var(--accent2)); transform: scaleY(0); animation: sp-grow .55s cubic-bezier(.2, 1.4, .4, 1) var(--d) forwards; transform-origin: center; }
#splash .sp-wave i.cut { animation: sp-grow .55s cubic-bezier(.2, 1.4, .4, 1) var(--d) forwards, sp-cutcolor .3s ease 1.15s forwards, sp-cutaway .5s cubic-bezier(.6, 0, .4, 1) 1.45s forwards; }
#splash .sp-title { position: relative; font-size: clamp(34px, 7vw, 54px); letter-spacing: -.03em; opacity: 0; transform: translateY(14px); animation: sp-rise .7s ease 1.55s forwards; }
#splash .sp-title span { font-weight: 300; } #splash .sp-title b { font-weight: 750; color: var(--accent); }
#splash .sp-sub { position: relative; color: var(--muted); font-size: 14px; letter-spacing: .08em; opacity: 0; animation: sp-rise .7s ease 1.85s forwards; }
@keyframes sp-grow { to { transform: scaleY(1); } }
@keyframes sp-cutcolor { to { background: linear-gradient(180deg, var(--red), color-mix(in srgb, var(--red) 60%, #000)); } }
@keyframes sp-cutaway { to { width: 0; margin: 0 -2.5px; opacity: 0; transform: scaleY(.1); } }
@keyframes sp-rise { to { opacity: 1; transform: none; } }
@keyframes sp-breathe { 50% { transform: scale(1.12); opacity: .75; } }

/* ---------- Designs & Shop ---------- */
.themes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.theme { position: relative; border: 2px solid var(--line2); border-radius: 14px; padding: 0; background: var(--panel2); cursor: pointer; overflow: hidden; text-align: left; transition: .15s; color: var(--text); }
.theme:hover { transform: translateY(-2px); border-color: var(--line3); }
.theme.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.theme .pv { height: 72px; position: relative; display: flex; align-items: flex-end; gap: 3px; padding: 10px; }
.theme .pv i { flex: 1; border-radius: 3px; min-width: 3px; }
.theme .nm { padding: 8px 10px; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.theme .lock { position: absolute; top: 8px; right: 8px; background: #000a; border-radius: 99px; padding: 3px 8px; font-size: 11px; display: inline-flex; gap: 4px; align-items: center; backdrop-filter: blur(4px); }
.shop { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.shop .item { display: flex; flex-direction: column; gap: 8px; } .shop .item p { margin: 0; color: var(--muted); font-size: 12.5px; flex: 1; }
.shop .price { font-weight: 700; font-size: 18px; } .shop .price small { font-weight: 400; color: var(--muted); font-size: 11px; }
.demo-banner { border: 1px dashed var(--orange); color: var(--orange); background: #ffb04d14; border-radius: 10px; padding: 8px 12px; font-size: 12.5px; margin-bottom: 14px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); } .opt:last-child { border-bottom: 0; } .opt .txt { flex: 1; } .opt .txt b { display: block; font-weight: 600; } .opt .txt small { color: var(--muted); }
.sug .row .btn { min-width: 0; white-space: normal; line-height: 1.25; }
.hitbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; margin-bottom: 8px; border-radius: 10px; background: #ffd5401a; border: 1px solid #ffd54055; }
.hitbar b { color: #ffd540; }
.w.hit { outline: 1px solid #ffd540; background: #ffd54026; }

/* ---------- Ansichten (Assistent · Komplett · Timeline · Fokus) ---------- */
.viewbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: -2px 0 10px; }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 10px; overflow: hidden; background: var(--panel); }
.seg-b { border: 0; background: transparent; color: var(--muted); padding: 6px 14px; cursor: pointer; font-weight: 550; font-size: 13px; }
.seg-b + .seg-b { border-left: 1px solid var(--line2); }
.seg-b:hover { color: var(--text); background: var(--panel2); }
.seg-b[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
.pane-off { display: none !important; }
.winmenu { right: 0; top: 40px; min-width: 240px; }
.winrow { display: flex; align-items: center; gap: 10px; padding: 7px 11px; border-radius: 8px; cursor: pointer; } .winrow:hover { background: var(--panel2); }
.stage { min-width: 0; }
/* Timeline: volle Breite, darunter Transkript | Vorschläge | Inspektor */
.tl { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 390px; grid-template-areas: "status status status" "editor editor editor" "tr sug insp" "ask ask ask"; align-items: start; }
.tl > .statusbar { grid-area: status; } .tl > .editor { grid-area: editor; } .tl > .askbar { grid-area: ask; }
.tl > .card:nth-child(3) { grid-area: tr; } .tl > .card:nth-child(4) { grid-area: sug; }
.tl .transcript, .tl .sug { height: 600px; max-height: none; }
.tl .inspector { grid-area: insp; display: flex; flex-direction: column; gap: 16px; height: 600px; overflow: auto; padding-right: 4px; }
.tl .inspector .settings-card, .tl .inspector .chat-card { max-height: none; flex: none; }
.tl .inspector .settings-card .scroll { max-height: 420px; }
/* Fokus */
.fk { display: grid; gap: 16px; } .fk .two { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } .fk .transcript, .fk .sug { max-height: 520px; }
/* Assistent: Schritt für Schritt */
.wiz { max-width: 1200px; margin: 0 auto; }
.stepper { list-style: none; display: flex; justify-content: center; gap: 6px; padding: 0; margin: 4px 0 26px; flex-wrap: wrap; }
.wstep button { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line2); background: var(--panel); color: var(--muted); padding: 9px 18px 9px 10px; border-radius: 99px; font-weight: 600; cursor: pointer; }
.wstep button:disabled { opacity: .45; cursor: not-allowed; }
.wstep .dotn { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--panel3); font-size: 13px; }
.wstep.now button { color: var(--text); border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); } .wstep.now .dotn { background: var(--accent); color: var(--accent-ink); }
.wstep.done button { color: var(--accent); } .wstep.done .dotn { background: var(--accent-soft); color: var(--accent); }
.wiz-step { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
.wiz-step.enter { animation: wizin .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes wizin { from { opacity: 0; transform: translateY(26px) scale(.985); } }
.wh { font-size: 34px; text-align: center; letter-spacing: -.02em; } .wsub { text-align: center; color: var(--muted); max-width: 720px; margin: -6px auto 4px; font-size: 15px; }
.wcol { width: min(780px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.wcol .drop { min-height: 300px; }
.wadv summary { cursor: pointer; display: inline-flex; gap: 8px; align-items: center; color: var(--muted); padding: 6px 2px; margin-bottom: 10px; list-style: none; } .wadv summary:hover { color: var(--text); } .wadv[open] summary { color: var(--accent); }
.wgrid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.wgrid > .editor { grid-column: 1 / -1; } .wgrid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wside { display: flex; flex-direction: column; gap: 16px; }
.wnav { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; } .wnav .big { padding: 14px 26px; font-size: 16px; margin-left: auto; }
.wdone { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.wcheck { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 2px solid var(--accent); animation: pop .6s cubic-bezier(.2, 1.6, .4, 1); } .wcheck svg { width: 36px; height: 36px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
@media (max-width: 1280px) { .tl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "status status" "editor editor" "tr sug" "insp insp" "ask ask"; } .tl .inspector { height: auto; overflow: visible; } .wgrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .seg-b[data-v="timeline"], .seg-b[data-v="fokus"], #winbtn { display: none; } .viewbar { justify-content: center; }
  .wh { font-size: 26px; } .wgrid.two { grid-template-columns: 1fr; } .stepper { gap: 4px; } .wstep button { padding: 7px 10px 7px 7px; font-size: 12px; } .wstep .dotn { width: 22px; height: 22px; }
}
/* ---------- Aufnahme-Studio ---------- */
.navlock { margin-left: auto; opacity: .6; display: inline-grid; } .nav { position: relative; }
.rec-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.rec-wavewrap { border-radius: 12px; background: var(--wavebg); border: 1px solid var(--line); overflow: hidden; } .rec-wave { width: 100%; height: 190px; display: block; }
.rec-bar { flex: 1; height: 10px; border-radius: 99px; background: var(--panel3); overflow: hidden; } .rec-bar i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width .06s linear; }
.rec-hint { min-height: 22px; font-size: 13.5px; color: var(--muted); margin: 6px 0 10px; } .rec-hint.good { color: var(--accent); } .rec-hint.warn { color: var(--orange); } .rec-hint.bad { color: var(--red); font-weight: 600; }
.rec-ctrl { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 6px; }
.rec-time { font-size: 54px; font-weight: 700; letter-spacing: -.02em; } .rec-time.live { color: var(--red); }
.rec-btn { width: 84px; height: 84px; border-radius: 50%; border: 4px solid color-mix(in srgb, var(--red) 60%, #fff); background: transparent; display: grid; place-items: center; cursor: pointer; padding: 0; transition: .2s; }
.rec-btn span { width: 56px; height: 56px; border-radius: 50%; background: var(--red); transition: .2s; } .rec-btn:hover span { transform: scale(1.06); }
.rec-btn.on span { width: 30px; height: 30px; border-radius: 8px; } .rec-btn.on { animation: recpulse 1.4s infinite; } .rec-btn:disabled { opacity: .4; cursor: not-allowed; }
@keyframes recpulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--red) 25%, transparent); } }
.rec-teaser { text-align: center; } .rec-hero { width: 110px; height: 110px; margin: 6px auto 14px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); color: var(--accent); border: 1px solid var(--accent-line); }
@media (max-width: 900px) { .rec-grid { grid-template-columns: 1fr; } .rec-time { font-size: 42px; } }
/* ---------- Äh-Jäger (Warte-Spiel) ---------- */
.g-head { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; font-size: 14px; } .g-head b { color: var(--accent); font-size: 17px; }
.g-arena { position: relative; height: 320px; overflow: hidden; border-radius: 14px; border: 1px solid var(--line2); background: radial-gradient(400px 220px at 50% 100%, color-mix(in srgb, var(--accent) 14%, transparent), transparent), var(--wavebg); touch-action: manipulation; user-select: none; }
.g-arena.shake { animation: gshake .3s; } @keyframes gshake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.g-word { position: absolute; left: 0; top: 0; border: 0; border-radius: 99px; padding: 7px 16px; font-weight: 650; font-size: 16px; cursor: pointer; will-change: transform; transition: opacity .3s, filter .3s; }
.g-word.f { background: #3a2a10; color: var(--orange); box-shadow: inset 0 0 0 2px #6b4a14; } .g-word.r { background: var(--blue-soft); color: var(--blue-text); box-shadow: inset 0 0 0 2px var(--blue-line); }
.g-word.cut { opacity: 0; filter: blur(3px); text-decoration: line-through; background: #3a1620; color: var(--red); } .g-word.bad { opacity: 0; background: #3a1620; color: var(--red); }
.g-over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(3px); text-align: center; z-index: 3; }
.g-title { font-size: 28px; font-weight: 750; margin-bottom: 4px; }
/* Aufnahme: Pegelanzeige mit Zonen */
.rec-barwrap { flex: 1; position: relative; padding-bottom: 16px; }
.rec-bar { position: relative; height: 12px; border-radius: 99px; background: var(--panel3); overflow: hidden; }
.rec-bar .z { position: absolute; top: 0; bottom: 0; } .rec-bar .z.ok { left: 60%; width: 27%; background: color-mix(in srgb, var(--accent) 22%, transparent); } .rec-bar .z.hot { left: 95%; right: 0; background: #ff5d7344; }
.rec-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; transition: width .05s linear; }
.rec-ticks { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; font-size: 10px; color: var(--faint); } .rec-ticks span { position: absolute; transform: translateX(-50%); }
.mc-msg { font-size: 16px; font-weight: 600; line-height: 1.4; }
/* ===== Tutorials & geführte Touren ===== */
.tut-hero { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 16%, var(--panel)), var(--panel-end) 70%); border-color: var(--accent-line); }
.tut-hero-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.tut-prog { margin: 4px 0 14px; } .tut-prog-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 7px; font-size: 14px; }
.tut-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.tut-search { flex: 0 1 280px; min-width: 180px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--input); color: var(--text); font: inherit; }
.tut-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } .tut-sep { width: 1px; height: 18px; background: var(--line2); margin: 0 4px; }
.tut-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.tut-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--panel-end)); transition: border-color .15s, transform .15s; }
.tut-card:hover { border-color: var(--accent-line); transform: translateY(-2px); } .tut-card.done { border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.tut-card h3 { font-size: 16px; margin: 2px 0 0; } .tut-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; flex: 1; }
.tut-card-top { display: flex; align-items: center; gap: 10px; }
.tut-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.tut-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--faint); } .tut-meta span { display: inline-flex; gap: 4px; align-items: center; }
.tut-meta .lvl { padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line2); font-weight: 600; } .tut-meta .lvl.a { color: var(--green); border-color: color-mix(in srgb, var(--green) 40%, var(--line)); } .tut-meta .lvl.f { color: var(--orange); border-color: color-mix(in srgb, var(--orange) 40%, var(--line)); }
.tut-check { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #04281d; }
.tut-badges { display: flex; gap: 6px; flex-wrap: wrap; } .tut-badges span { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); background: var(--panel2); border-radius: 99px; padding: 3px 9px; }
.tut-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.tut-faq details { border-top: 1px solid var(--line); padding: 10px 2px; } .tut-faq details:first-child { border-top: 0; }
.tut-faq summary { cursor: pointer; font-weight: 600; } .tut-faq p { margin: 8px 0 2px; color: var(--muted); line-height: 1.5; }
.tut-guide .tut-lead { margin: 0 0 12px; color: var(--muted); }
.tut-guide ol { list-style: none; counter-reset: s; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.tut-guide li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; }
.tut-guide li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; border: 1px solid var(--accent-line); }
.tut-guide li span { color: var(--muted); line-height: 1.45; font-size: 14px; }
.tut-tips { background: var(--panel2); border-radius: 10px; padding: 10px 14px; margin-top: 10px; } .tut-tips b { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; color: var(--accent); } .tut-tips ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.tut-videobox { margin: 0 0 14px; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line); } .tut-video { display: block; width: 100%; max-height: 52vh; }
.tut-novideo { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 36px 12px; color: var(--muted); }
.wtour { margin: -6px auto 10px; display: flex; }
.tour-root { position: fixed; inset: 0; z-index: 9000; pointer-events: none; }
.tour-hole { position: fixed; transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease; pointer-events: none; }
.tour-bubble { position: fixed; pointer-events: auto; background: var(--panel2); color: var(--text); border: 1px solid var(--accent-line); border-radius: 14px; padding: 14px 16px; box-shadow: 0 18px 50px rgba(0,0,0,.55); transition: left .25s ease, top .25s ease; animation: tourin .25s ease; }
@keyframes tourin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tour-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .tour-head b { flex: 1; font-size: 15.5px; }
.tour-x { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 8px; display: grid; } .tour-x:hover { background: var(--panel3); color: var(--text); }
.tour-text { font-size: 14px; line-height: 1.5; color: var(--text); } .tour-text b { color: var(--accent); }
.tour-hint { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--accent); font-weight: 600; }
.tour-wait { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.tour-dots { display: flex; gap: 5px; margin: 10px 0 8px; flex-wrap: wrap; } .tour-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line2); } .tour-dots i.past { background: var(--accent-line); } .tour-dots i.on { background: var(--accent); transform: scale(1.3); }
.tour-nav { display: flex; align-items: center; gap: 8px; }
@media (max-width: 520px) { .sidebar { padding: 6px 2px; } .nav { font-size: 10px; padding: 5px 0; min-width: 0; } .nav .i { width: 19px; height: 19px; } }

/* Skript / Teleprompter im Aufnahme-Studio */
.scr-card { padding: 0; } .scr-card > summary { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; cursor: pointer; padding: 14px 16px; list-style: none; } .scr-card > summary::-webkit-details-marker { display: none; }
.scr-card > summary::after { content: '▾'; margin-left: auto; color: var(--muted); } .scr-card[open] > summary::after { content: '▴'; }
.scr-body { padding: 0 16px 16px; display: grid; gap: 10px; } .scr-tools { gap: 10px; align-items: center; }
.scr-area { width: 100%; box-sizing: border-box; padding: 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--input); color: var(--text); font: inherit; line-height: 1.5; resize: vertical; min-height: 180px; }
.scr-read { height: 46vh; min-height: 240px; overflow-y: auto; padding: 24px 22px 40vh; border-radius: 12px; background: var(--wavebg); border: 1px solid var(--line); line-height: 1.55; font-weight: 550; white-space: pre-wrap; scroll-behavior: auto; }
.scr-ctl { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); } .scr-ctl input[type=range] { width: 120px; }
/* Willkommens-Dialog */
.welcome { text-align: center; max-width: 440px; margin: 0 auto; padding: 6px 0 4px; } .welcome h2 { font-size: 22px; margin: 8px 0 6px; justify-content: center; } .welcome p { color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.welcome-ic { width: 66px; height: 66px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 30%, transparent); }
/* Vorlesen / Musik in Touren */
.tour-tools { display: flex; gap: 6px; flex-wrap: wrap; margin: 2px 0 10px; }
.tour-tool { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; border: 1px solid var(--line2); background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.tour-tool:hover { color: var(--text); border-color: var(--line3); } .tour-tool.on { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.tut-audio, .welcome-opts { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; } .tut-audio { margin: 0 2px 12px; }
.welcome-opts { justify-content: center; margin: 0 0 16px; } .welcome-opts label, .welcome-opts-l { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text); cursor: pointer; } .welcome-opts input, .welcome-opts-l input { accent-color: var(--accent); width: 16px; height: 16px; }

/* Animationen für Fenster, Seiten und Karten */
.modal { animation: modalin .38s cubic-bezier(.2, .9, .3, 1.15); transform-origin: 50% 40%; }
@keyframes modalin { from { opacity: 0; transform: translateY(26px) scale(.93); } }
.overlay { animation: fade .22s ease; }
.main > .page { animation: pagein .42s cubic-bezier(.2, .8, .25, 1); }
@keyframes pagein { from { opacity: 0; transform: translateY(16px); } }
.tut-card { animation: cardin .5s cubic-bezier(.2, .8, .25, 1) both; }
@keyframes cardin { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.tour-bubble { animation: tourpop .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes tourpop { from { opacity: 0; transform: translateY(10px) scale(.94); } }
.tour-hole { animation: holeglow 2.2s ease-in-out infinite; }
@keyframes holeglow { 50% { filter: brightness(1.25); } }
.dash > .card, .dash > .win { animation: winin .5s cubic-bezier(.2, .8, .25, 1) both; }
.dash > :nth-child(2) { animation-delay: .06s; } .dash > :nth-child(3) { animation-delay: .12s; } .dash > :nth-child(4) { animation-delay: .18s; } .dash > :nth-child(5) { animation-delay: .24s; } .dash > :nth-child(6) { animation-delay: .3s; }
@keyframes winin { from { opacity: 0; transform: translateY(22px) scale(.975); } }
.btn { transition: transform .12s, background .15s, border-color .15s, filter .15s; } .btn:active:not(:disabled) { transform: scale(.96); }
.nav { transition: background .18s, color .18s, transform .18s; } .nav:hover { transform: translateX(3px); }
@media (max-width: 900px) { .nav:hover { transform: none; } }
/* Assistent (Jarvis) */
.jarvis { border-color: var(--accent-line); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 9%, var(--panel)), var(--panel-end) 70%); }
.jv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.jv-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); animation: jvpulse 2.6s ease-in-out infinite; }
@keyframes jvpulse { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 14%, transparent); } }
.jv-intro { font-size: 16px; font-weight: 600; margin: 4px 0 10px; } .jv-outro { margin: 12px 0; color: var(--muted); line-height: 1.5; }
.jv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.jv-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 8px 10px; border-radius: 10px; background: var(--panel2); animation: cardin .45s both; }
.jv-list li div { display: grid; gap: 1px; } .jv-list li b { font-size: 14px; } .jv-list li span:not(.jv-ic) { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.jv-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.jv-gloss { margin-top: 12px; font-size: 13.5px; color: var(--muted); } .jv-gloss summary { cursor: pointer; color: var(--text); font-weight: 600; } .jv-gloss div { padding: 6px 0; line-height: 1.45; } .jv-gloss b { color: var(--text); }
/* Pegelanzeige + senkrechte Wellenform-Vergrößerung */
.lm { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; } .lm-bar { position: relative; width: 120px; height: 10px; border-radius: 99px; overflow: hidden; background: linear-gradient(90deg, #34d399 0 70%, #ffb04d 70% 90%, #ff5d73 90%); }
.lm-bar i { position: absolute; right: 0; top: 0; bottom: 0; width: 100%; background: var(--panel3); transition: none; } .lm-bar b { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; opacity: .85; margin-left: -1px; }
.lm-val { min-width: 34px; font-size: 12px; color: var(--muted); } .lm-val.hot { color: var(--red); }
.vsep { width: 1px; height: 18px; background: var(--line2); margin: 0 4px; }
@media (max-width: 700px) { .lm-bar { width: 70px; } }
/* Stehender Pegelmesser */
.ewrap { display: flex; gap: 8px; align-items: stretch; } .ewrap > .wavewrap { flex: 1; min-width: 0; }
.vu-box { width: 66px; flex: none; border-radius: 10px; background: var(--wavebg); border: 1px solid var(--line); min-height: 150px; } .vu { width: 100%; height: 100%; display: block; }
.rec-vurow { display: flex; } .rec-wavecol { flex: 1; min-width: 0; } .rec-vurow .vu-box { border: 0; border-left: 1px solid var(--line); border-radius: 0; min-height: 190px; }
@media (max-width: 700px) { .vu-box { width: 56px; } }
/* Ansicht „Fokus“: Vollbild-Look ohne Menü */
.shell.focus-mode { grid-template-columns: 1fr; } .shell.focus-mode .sidebar { display: none; }
.shell.focus-mode .fk .transcript, .shell.focus-mode .fk .sug { max-height: 64vh; }
/* Äh-Jäger 2: Canvas-Spiel */
.g-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; cursor: none; }
.g-arena { height: 380px; } .g-hearts { display: inline-flex; gap: 3px; } .g-hearts i { font-style: normal; color: #3a4a68; transition: color .2s, transform .2s; } .g-hearts i.on { color: #ff5d73; }
.g-over { z-index: 3; }
/* Profilbilder, Feedback, Erweitert-Tab */
.avatar { overflow: hidden; padding: 0; display: grid; place-items: center; } .avatar .av-img, .avatar .av-svg { width: 100%; height: 100%; display: block; object-fit: cover; } .avatar.has-av { background: transparent; }
.av-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; } .av-opt { width: 64px; height: 64px; padding: 0; border-radius: 50%; border: 3px solid transparent; background: none; cursor: pointer; overflow: hidden; transition: transform .15s, border-color .15s; } .av-opt:hover { transform: scale(1.08); } .av-opt.on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); } .av-opt .av-svg { display: block; width: 100%; height: 100%; }
.fb-area { width: 100%; box-sizing: border-box; padding: 12px; border-radius: 10px; border: 1px solid var(--line2); background: var(--input); color: var(--text); font: inherit; line-height: 1.5; resize: vertical; }
.fb-donate { background: linear-gradient(135deg, color-mix(in srgb, var(--orange) 14%, var(--panel)), var(--panel-end) 70%); border-color: color-mix(in srgb, var(--orange) 40%, var(--line)); }
.tab.adv { margin-left: auto; opacity: .75; }
/* Handy / iPhone (Vollbild-App): sichere Bereiche, echte Bildschirmhöhe, Eingabefelder ohne Zoom */
.shell { height: 100vh; height: 100dvh; grid-template-rows: calc(64px + env(safe-area-inset-top, 0px)) minmax(0, 1fr); }
.topbar { padding-top: env(safe-area-inset-top, 0px); padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.authwrap { min-height: 100vh; min-height: 100dvh; padding-top: max(24px, env(safe-area-inset-top, 0px)); padding-bottom: max(24px, env(safe-area-inset-bottom, 0px)); }
.overlay { padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
#toasts { bottom: max(18px, env(safe-area-inset-bottom, 0px)); right: max(18px, env(safe-area-inset-right, 0px)); }
@media (max-width: 900px) {
  .shell { grid-template-rows: calc(58px + env(safe-area-inset-top, 0px)) minmax(0, 1fr) calc(62px + env(safe-area-inset-bottom, 0px)); }
  .sidebar { padding: 6px max(8px, env(safe-area-inset-left, 0px)) env(safe-area-inset-bottom, 0px) max(8px, env(safe-area-inset-right, 0px)); }
  .topbar { padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); }
  .main { padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain; }
  #toasts { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  input, select, textarea { font-size: 16px; } /* verhindert das automatische Hineinzoomen auf dem iPhone */
  .btn, .seg-b, .chip, .nav, .tab { min-height: 40px; }
  .tour-bubble { max-height: 60dvh; overflow: auto; }
  .viewbar { flex-wrap: wrap; justify-content: flex-end; }
  .wiz-body .wgrid { gap: 12px; } .wnav { flex-wrap: wrap; position: sticky; bottom: 0; padding: 10px 0 8px; background: linear-gradient(180deg, transparent, var(--bg) 40%); z-index: 5; }
  .ewrap .vu-box { width: 50px; min-height: 120px; }
}
.btn.listening { background: color-mix(in srgb, var(--red) 25%, var(--panel2)); border-color: var(--red); color: var(--red); animation: pulse 1s infinite; }

/* Personal-Design: Easter Eggs und Logo */
.egg-rain { position: fixed; inset: 0; pointer-events: none; z-index: 9400; overflow: hidden; } .egg-rain span { position: absolute; top: 0; will-change: transform; }
.egg-walker { position: fixed; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); left: 0; font-size: 46px; z-index: 9300; cursor: pointer; animation: walkbob .45s ease-in-out infinite alternate; }
@keyframes walkbob { to { margin-bottom: 10px; } }
@media (max-width: 900px) { .egg-walker { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); } }
.pc-brand-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--accent); }
.winpresets { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px 11px 8px; } .winpresets .chip { font-size: 12px; }

/* Äh-Jäger im Vollbild: Spielfeld füllt alles, Punkte und Rekord liegen durchsichtig darüber */
.g-full { position: fixed; inset: 0; z-index: 9100; background: var(--bg); }
.g-arena-full { position: absolute; inset: 0; height: auto !important; border: 0; border-radius: 0; }
.g-full .g-head { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); left: max(12px, env(safe-area-inset-left, 0px)); right: 64px; z-index: 5; margin: 0; gap: 8px 16px; padding: 8px 12px; border-radius: 12px; background: rgba(8, 14, 28, .42); backdrop-filter: blur(6px); pointer-events: none; font-size: 13px; }
.g-full .g-head b { font-size: 16px; } .g-full .g-best { margin-left: auto; }
.g-full .g-help { position: absolute; left: 12px; right: 12px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 5; text-align: center; font-size: 11.5px; color: var(--faint); pointer-events: none; text-shadow: 0 1px 6px #000; }
.g-close { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); z-index: 6; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(8, 14, 28, .55); backdrop-filter: blur(6px); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.g-full .g-canvas { cursor: none; }
/* Video Plus */
.tl > .vp { grid-column: 1 / -1; grid-row: auto; }
.tl:has(> .vp) { grid-template-areas: "status status status" "vp vp vp" "editor editor editor" "tr sug insp" "ask ask ask"; }
.tl > .vp { grid-area: vp; }
.vc-stage { position: relative; max-width: 720px; margin: 0 auto; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line); } .vc-video { display: block; width: 100%; max-height: 40vh; background: #000; object-fit: contain; }
.vc-cut { position: absolute; top: 10px; left: 10px; display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: 99px; background: rgba(255, 93, 115, .9); color: #fff; font-size: 12px; font-weight: 700; }
.vc-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px; color: var(--muted); } .vc-empty svg { width: 34px; height: 34px; color: var(--accent); } .vc-empty b { color: var(--text); font-size: 16px; }
.vc-list { margin: 0 0 10px; padding-left: 18px; color: var(--muted); line-height: 1.6; }
@media (max-width: 1280px) { .tl:has(> .vp) { grid-template-areas: "status status" "vp vp" "editor editor" "tr sug" "insp insp" "ask ask"; } }
/* Bergwerk: Schieberegler = Schiene, Griff = Förderwagen */
:root[data-wall="mine"] input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 0; background: linear-gradient(#a39b90, #4a453f 55%, #2a2622) 0 1px / 100% 4px no-repeat, repeating-linear-gradient(90deg, #3d2713 0 6px, transparent 6px 17px) 0 6px / 100% 3px no-repeat; }
:root[data-wall="mine"] input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 28px; margin-top: -16px; border: 0; border-radius: 0; background: var(--cart) center / contain no-repeat; box-shadow: none; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .65)); }
:root[data-wall="mine"] input[type=range]::-moz-range-track { height: 4px; background: linear-gradient(#a39b90, #4a453f); }
:root[data-wall="mine"] input[type=range]::-moz-range-thumb { width: 44px; height: 28px; border: 0; border-radius: 0; background: var(--cart) center / contain no-repeat; }
:root[data-wall="mine"] .topbar { border-bottom: 3px solid #3a2614; }

/* Bergwerk: Karten durchsichtiger, damit der Schacht dahinter zu sehen ist */
:root[data-wall="mine"] .card { background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 56%, transparent), color-mix(in srgb, var(--panel-end) 48%, transparent)); backdrop-filter: blur(3px) saturate(1.05); }
:root[data-wall="mine"] .sidebar { background: color-mix(in srgb, var(--bg) 30%, transparent); backdrop-filter: blur(3px); }
:root[data-wall="mine"] .topbar { background: color-mix(in srgb, var(--bg) 55%, transparent); }

:root[data-wall="mine"] .card { background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 44%, transparent), color-mix(in srgb, var(--panel-end) 38%, transparent)); backdrop-filter: blur(2px) saturate(1.05); }
:root[data-wall="mine"] .wavewrap, :root[data-wall="mine"] .drop { background: color-mix(in srgb, var(--wavebg) 48%, transparent); }
