/* Closelyy – Design-System (Endversion). Eine Datei, eine Quelle.
   Prinzip: warmes Licht hinten, ruhiges Milchglas für Inhalte, Liquid Glass nur für schwebende Bedienung. */
:root {
  --bg: #f4efe6; --bg-2: #ebe3d3;
  --ink: #1a231e; --ink-2: #3e4c43; --ink-3: #5a685e;
  --line: rgba(26, 35, 30, .08); --line-2: rgba(26, 35, 30, .15);
  --glass-a: .55;
  --glass: rgba(255, 254, 250, var(--glass-a)); --glass-strong: rgba(255, 254, 250, .84); --glass-solid: #fffdf8;
  --rim: rgba(255, 255, 255, .92); --rim-low: rgba(255, 255, 255, .36);
  --shadow: 0 1px 1px rgba(30, 40, 32, .04), 0 10px 30px -14px rgba(30, 45, 35, .26);
  --shadow-float: 0 2px 4px rgba(30, 40, 32, .06), 0 20px 46px -16px rgba(25, 40, 30, .36);
  --blur: 26px;
  --acc: #1f4d3a; --acc-text: #1f4d3a; --on-acc: #fff; --acc-hex: #1f4d3a;
  --acc-soft: color-mix(in srgb, var(--acc) 10%, transparent); --acc-soft-2: color-mix(in srgb, var(--acc) 18%, transparent);
  --sage: #8fae98; --amber: #f0c27d; --blush: #f2b8a8;
  --cat1: var(--acc-hex); --cat2: var(--sage);
  --ok: #2b6a48; --warn: #8a5a12; --err: #b23a2c;
  --ok-bg: rgba(43, 106, 72, .12); --warn-bg: rgba(168, 112, 26, .14); --err-bg: rgba(178, 58, 44, .12);
  --r-m: 14px; --r-l: 22px; --r-xl: 28px;
  --pad: 18px; --top: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --safe-l: env(safe-area-inset-left, 0px); --safe-r: env(safe-area-inset-right, 0px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.4, .5, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0e1310; --bg-2: #090d0b;
  --ink: #eef2ec; --ink-2: #c4cec5; --ink-3: #9eaca2;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16);
  --glass: rgba(40, 52, 44, var(--glass-a)); --glass-strong: rgba(32, 43, 36, .88); --glass-solid: #17201a;
  --rim: rgba(255, 255, 255, .2); --rim-low: rgba(255, 255, 255, .06);
  --shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 14px 34px -16px rgba(0, 0, 0, .7);
  --shadow-float: 0 2px 6px rgba(0, 0, 0, .35), 0 22px 50px -16px rgba(0, 0, 0, .8);
  --ok: #7fd1a0; --warn: #e8bf70; --err: #f39a8c;
  --ok-bg: rgba(127, 209, 160, .14); --warn-bg: rgba(232, 191, 112, .14); --err-bg: rgba(243, 154, 140, .14);
  color-scheme: dark;
}
.compact { --pad: 14px; }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; height: 100%; }
body { margin: 0; min-height: 100%; font: 15px/1.47 var(--font); letter-spacing: -.006em; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.15; text-wrap: balance; }
h1 { font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: 18px; font-weight: 680; letter-spacing: -.02em; }
h3 { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }
a { color: var(--acc-text); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { -webkit-user-select: none; user-select: none; }
:focus-visible { outline: 2px solid var(--acc-text); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-3); } .small { font-size: 13px; } .tiny { font-size: 12px; }
.ic { flex: none; display: block; }
.row { display: flex; align-items: center; gap: 10px; } .row.wrap { flex-wrap: wrap; } .row.end { justify-content: flex-end; } .row.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; } .stack-s { display: flex; flex-direction: column; gap: 6px; } .stack-l { display: flex; flex-direction: column; gap: 20px; }
.hide { display: none !important; }
.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Wortmarke ---------- */
.wordmark { font-family: var(--font-display); font-size: 19px; letter-spacing: -.04em; color: var(--ink); white-space: nowrap; line-height: 1; }
.wordmark b { font-weight: 850; letter-spacing: -.045em; }
.wordmark span { font-weight: 430; }
.wordmark.xl { font-size: 40px; }

/* ---------- Ambiente ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.ambient i { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .6; will-change: transform; animation: drift 46s ease-in-out infinite alternate; }
.ambient i:nth-child(1) { width: 46vmax; height: 46vmax; left: -12vmax; top: -16vmax; background: color-mix(in srgb, var(--cat1) 58%, transparent); }
.ambient i:nth-child(2) { width: 38vmax; height: 38vmax; right: -10vmax; top: -8vmax; background: color-mix(in srgb, var(--amber) 78%, transparent); animation-duration: 58s; animation-delay: -12s; }
.ambient i:nth-child(3) { width: 44vmax; height: 44vmax; right: -14vmax; bottom: -20vmax; background: color-mix(in srgb, var(--cat2) 68%, transparent); animation-duration: 64s; animation-delay: -30s; }
.ambient i:nth-child(4) { width: 30vmax; height: 30vmax; left: 8vmax; bottom: -12vmax; background: color-mix(in srgb, var(--blush) 72%, transparent); animation-duration: 52s; animation-delay: -20s; }
:root[data-theme="dark"] .ambient i { opacity: .32; }
.ambient::after { content: ""; position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(6vmax, 4vmax, 0) scale(1.08); } 100% { transform: translate3d(-4vmax, 7vmax, 0) scale(.96); } }

/* ---------- Glas ---------- */
.glass, .card {
  position: relative; background: var(--glass); border-radius: var(--r-l);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(175%); backdrop-filter: blur(var(--blur)) saturate(175%);
  box-shadow: inset 0 .5px 0 var(--rim), inset 0 -.5px 0 var(--rim-low), inset 0 0 0 .5px var(--rim-low), var(--shadow);
}
.card { padding: var(--pad); }
.card.tight { padding: 12px 14px; }
/* Liquid Glass – nur für schwebende Bedienung */
.lg {
  position: relative; isolation: isolate; border-radius: 999px;
  background: color-mix(in srgb, var(--glass-solid) 62%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(200%); backdrop-filter: blur(22px) saturate(200%);
  box-shadow: inset 0 1px 0 var(--rim), inset 0 -1px 1px var(--rim-low), inset 1px 0 0 var(--rim-low), inset -1px 0 0 var(--rim-low), var(--shadow-float);
}
.has-lens .lg { -webkit-backdrop-filter: url(#lg-lens) blur(20px) saturate(200%) brightness(1.04); backdrop-filter: url(#lg-lens) blur(20px) saturate(200%) brightness(1.04); }
.lg.clear { background: color-mix(in srgb, var(--glass-solid) 28%, transparent); }
.lg::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(160deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .06) 38%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, .18)); mix-blend-mode: soft-light; }
.lg::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .45), transparent 60%); }
.lg:hover::after { opacity: .7; }
:root[data-theme="dark"] .lg::before { opacity: .45; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass, .card, .lg { background: var(--glass-solid); } }
@media (prefers-reduced-transparency: reduce) { .glass, .card, .lg { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- Kopfleiste und Navigation ---------- */
.topnav { position: sticky; top: calc(10px + var(--safe-t)); z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  width: min(1180px, calc(100% - 2 * max(16px, var(--safe-l)))); height: 52px; margin: 10px auto 0; padding: 0 8px 0 20px; }
.topnav .left { display: flex; align-items: center; } .topnav .right { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.navseg { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 5%, transparent); }
.nav-item { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 14px; transition: background .25s var(--ease), color .2s, box-shadow .25s; }
.nav-item:hover { color: var(--ink); }
.nav-item.active { background: var(--glass-solid); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), inset 0 .5px 0 var(--rim); }
:root[data-theme="dark"] .nav-item.active { background: rgba(255, 255, 255, .14); }
.nav-item.active .ic { color: var(--acc-text); }
.status-dot { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 650; color: var(--ink-2); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.status-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); } .status-dot.on i { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
.tabbar { display: none; }
.view { max-width: 1020px; margin: 0 auto; padding: 30px max(24px, var(--safe-r)) 72px max(24px, var(--safe-l)); opacity: 0; transform: translateY(5px); transition: opacity .32s var(--ease), transform .32s var(--ease); }
.view.shown { opacity: 1; transform: none; }
.view.wide { max-width: 1180px; }

@media (max-width: 760px) {
  :root { --pad: 16px; }
  h1 { font-size: 25px; }
  .topnav { grid-template-columns: 1fr auto; height: 48px; margin-top: 8px; padding: 0 6px 0 16px; }
  .topnav .navseg, .topnav .status-dot { display: none; }
  .view { padding: 18px max(16px, var(--safe-r)) calc(104px + var(--safe-b)) max(16px, var(--safe-l)); }
  .tabbar { display: flex; position: fixed; z-index: 30; left: 50%; transform: translateX(-50%); bottom: calc(12px + var(--safe-b)); padding: 5px; gap: 4px; }
  .tabbar .nav-item { flex-direction: column; justify-content: center; gap: 1px; height: 52px; width: 104px; padding: 0; font-size: 11px; transition: height .3s var(--ease), width .3s var(--ease); }
  .tabbar.mini .nav-item { height: 42px; width: 64px; } .tabbar.mini .nav-item span { display: none; }
  body.flow .tabbar { display: none; }
  body.flow .view { padding-bottom: calc(96px + var(--safe-b)); }
}
body.in-call .topnav, body.in-call .tabbar { display: none; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.page-head p { color: var(--ink-3); margin-top: 5px; max-width: 56ch; }
.eyebrow { display: block; font-size: 12px; font-weight: 680; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.back { display: inline-flex; align-items: center; gap: 2px; margin: 0 0 12px -8px; height: 32px; padding: 0 10px 0 4px; color: var(--acc-text); font-weight: 580; font-size: 14px; border-radius: 999px; border: 0; background: none; cursor: pointer; }
.back:hover { background: var(--acc-soft); }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 2px 2px 10px; }
.section-title h2 { font-size: 16px; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 18px; border-radius: 999px; border: 0;
  background: var(--glass); color: var(--ink); font-weight: 600; font-size: 14.5px; cursor: pointer; text-decoration: none; white-space: nowrap;
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 .5px 0 var(--rim), inset 0 0 0 .5px var(--line-2), 0 1px 2px rgba(0, 0, 0, .05); transition: transform .2s var(--spring), background .2s, box-shadow .2s, opacity .2s; touch-action: manipulation; }
.btn:hover { background: var(--glass-strong); }
.btn:active { transform: scale(.96); }
.btn.primary { background: var(--acc); color: var(--on-acc); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 6px 18px -8px var(--acc); }
.btn.primary::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 55%); pointer-events: none; }
.btn.primary:hover { filter: brightness(1.08); background: var(--acc); }
.btn.danger { background: var(--err); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 18px -8px var(--err); }
:root[data-theme="dark"] .btn.danger { color: #2a0f0a; }
.btn.ghost { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn.ghost:hover { background: var(--acc-soft); }
.btn.sm { height: 32px; padding: 0 13px; font-size: 13.5px; }
.btn.lg { height: 50px; padding: 0 26px; font-size: 16px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.callbtn { width: 64px; height: 64px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #fff; background: #2f9e5a; flex: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -2px 6px rgba(0, 0, 0, .15), 0 12px 28px -10px #2f9e5a; transition: transform .25s var(--spring), filter .2s; }
.callbtn:hover { filter: brightness(1.08); } .callbtn:active { transform: scale(.92); }
.callbtn.big { width: 76px; height: 76px; }
.iconbtn { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; border: 0; background: var(--glass); cursor: pointer; color: var(--ink-2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 .5px 0 var(--rim), inset 0 0 0 .5px var(--line-2); transition: transform .2s var(--spring); }
.iconbtn:hover { background: var(--glass-strong); color: var(--ink); } .iconbtn:active { transform: scale(.92); }
.iconbtn.active { color: var(--acc-text); }
@media (pointer: coarse) { .btn { height: 44px; } .btn.sm { height: 36px; } .iconbtn { width: 40px; height: 40px; } }

/* ---------- Formulare ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.label, .field > label { font-size: 12.5px; font-weight: 650; color: var(--ink-3); letter-spacing: .02em; }
.input, select.input, textarea.input { width: 100%; height: 40px; padding: 0 13px; border-radius: 12px; border: 0; outline: none; font-size: 15px;
  background: color-mix(in srgb, var(--glass-solid) 62%, transparent); box-shadow: inset 0 0 0 .5px var(--line-2), inset 0 1px 2px rgba(0, 0, 0, .04); transition: box-shadow .2s; }
textarea.input { height: auto; min-height: 84px; padding: 10px 13px; resize: vertical; line-height: 1.45; }
.input:focus { box-shadow: inset 0 0 0 1.5px var(--acc-text), 0 0 0 4px var(--acc-soft); }
.input::placeholder { color: var(--ink-3); opacity: .8; }
@media (pointer: coarse) { .input, select.input { height: 44px; font-size: 16px; } textarea.input { font-size: 16px; } }
.hint { font-size: 12.5px; color: var(--ink-3); }
.err-text { color: var(--err); font-size: 13px; font-weight: 560; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 570; font-size: 13.5px; color: var(--ink-2);
  background: color-mix(in srgb, var(--glass-solid) 50%, transparent); box-shadow: inset 0 0 0 .5px var(--line-2); transition: all .2s var(--ease); white-space: nowrap; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--acc-text); }
.chip.on { background: var(--acc); color: var(--on-acc); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 12px -6px var(--acc); }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(145deg, var(--c1), var(--c2)); }
@media (pointer: coarse) { .chip { height: 36px; } }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; gap: 2px; max-width: 100%; background: color-mix(in srgb, var(--ink) 6%, transparent); box-shadow: inset 0 0 0 .5px var(--line); }
.seg button { height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--ink-2); transition: all .25s var(--ease); white-space: nowrap; }
.seg button.on { background: var(--glass-solid); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), inset 0 .5px 0 var(--rim); }
:root[data-theme="dark"] .seg button.on { background: rgba(255, 255, 255, .16); }
.seg.full { display: flex; } .seg.full button { flex: 1; padding: 0 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (pointer: coarse) { .seg button { height: 34px; } }
@media (max-width: 520px) { .seg.full button { font-size: 12.5px; padding: 0 3px; } }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--line-2); transition: background .25s var(--ease); }
.switch i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .3s var(--spring); }
.switch input:checked + i { background: var(--acc); } .switch input:checked + i::after { transform: translateX(18px); }
.switch input:focus-visible + i { outline: 2px solid var(--acc-text); outline-offset: 2px; }
input[type="range"] { width: 100%; accent-color: var(--acc); }
#code { text-transform: uppercase; letter-spacing: .14em; } #code::placeholder { text-transform: none; letter-spacing: 0; }

/* ---------- Auswahl-Kacheln ---------- */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 8px; }
.opt { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 56px; border-radius: 16px; border: 0; cursor: pointer; text-align: left; color: var(--ink);
  background: color-mix(in srgb, var(--glass-solid) 46%, transparent); box-shadow: inset 0 0 0 .5px var(--line-2); transition: transform .2s var(--spring), box-shadow .2s, background .2s; }
.opt:hover { background: color-mix(in srgb, var(--glass-solid) 74%, transparent); }
.opt:active { transform: scale(.98); }
.opt.on { background: var(--glass-strong); box-shadow: inset 0 0 0 2px var(--acc-text), 0 6px 18px -10px var(--acc); }
.opt .t { font-weight: 640; font-size: 14px; line-height: 1.25; } .opt .s { font-size: 12.5px; color: var(--ink-3); line-height: 1.3; }
.opt .ico, .ico-sq { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff;
  background: linear-gradient(145deg, var(--c1, var(--acc)), var(--c2, var(--sage))); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 10px -4px var(--c1, var(--acc)); }
.opt .chk { position: absolute; top: 7px; right: 7px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: var(--on-acc); transform: scale(0); transition: transform .3s var(--spring); }
.opt.on .chk { transform: scale(1); }
.opt-grid.big { grid-template-columns: repeat(3, 1fr); }
.opt-grid.big .opt { flex-direction: column; align-items: flex-start; padding: 14px; min-height: 104px; gap: 8px; }
@media (max-width: 640px) { .opt-grid { grid-template-columns: 1fr 1fr; } .opt-grid.big { grid-template-columns: 1fr; } .opt-grid.big .opt { flex-direction: row; min-height: 60px; align-items: center; } }
@media (max-width: 370px) { .opt-grid { grid-template-columns: 1fr; } }

/* ---------- Startseite ---------- */
.greet { margin-bottom: 18px; }
.greet .date { font-size: 13px; font-weight: 600; color: var(--ink-3); text-transform: capitalize; }
.home { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 860px) { .home { grid-template-columns: minmax(0, 1fr); } }
.nextcall { position: relative; overflow: hidden; padding: 20px; border-radius: var(--r-xl); display: flex; flex-direction: column; gap: 16px; }
.nextcall::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2; background: radial-gradient(120% 90% at 100% 0%, var(--c1), transparent 60%), radial-gradient(80% 70% at 0% 100%, var(--c2), transparent 60%); }
.nextcall .who { display: flex; align-items: center; gap: 14px; }
.nextcall .name { font: 700 22px/1.15 var(--font-display); letter-spacing: -.025em; }
.nextcall .goal { font-size: 14.5px; color: var(--ink-2); max-width: 46ch; }
.nextcall .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.catstrip { display: flex; gap: 6px; overflow-x: auto; padding: 2px; margin: 0 -2px; scrollbar-width: none; }
.catstrip::-webkit-scrollbar { display: none; }
.side-col { display: flex; flex-direction: column; gap: 14px; }
.live-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-l); color: var(--ink); transition: transform .3s var(--spring); }
.live-card:hover { transform: translateY(-2px); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { padding: 12px; border-radius: 16px; background: color-mix(in srgb, var(--glass-solid) 46%, transparent); box-shadow: inset 0 0 0 .5px var(--line-2); }
.stat .v { font: 700 22px/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 11.5px; font-weight: 650; color: var(--ink-3); margin-top: 6px; letter-spacing: .02em; }
.week { display: flex; gap: 5px; align-items: flex-end; height: 38px; margin-top: 10px; }
.week span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; color: var(--ink-3); font-weight: 600; }
.week i { width: 100%; max-width: 22px; border-radius: 6px; background: var(--line-2); min-height: 5px; }
.week i.on { background: var(--acc); }

/* Onboarding */
.welcome { max-width: 520px; margin: 4vh auto 0; padding: 28px; border-radius: var(--r-xl); display: flex; flex-direction: column; gap: 18px; }
.welcome p.lead { color: var(--ink-2); font-size: 15.5px; }

/* ---------- Kleinteile ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 680; letter-spacing: .01em; white-space: nowrap; }
.badge.real { background: var(--ok-bg); color: var(--ok); } .badge.local { background: var(--warn-bg); color: var(--warn); } .badge.ext { background: var(--acc-soft); color: var(--ink-2); }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.notice { display: flex; gap: 10px; padding: 11px 13px; border-radius: 14px; font-size: 13.5px; align-items: flex-start; background: var(--warn-bg); color: var(--ink); }
.notice .ic { color: var(--warn); margin-top: 1px; }
.notice.info { background: var(--acc-soft); } .notice.info .ic { color: var(--acc-text); }
.notice.err { background: var(--err-bg); } .notice.err .ic { color: var(--err); }
.notice.ok { background: var(--ok-bg); } .notice.ok .ic { color: var(--ok); }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; overflow: hidden; color: #fff; font: 700 17px var(--font-display);
  background: linear-gradient(145deg, var(--c1, var(--acc)), var(--c2, var(--sage))); background-size: cover; background-position: center; box-shadow: 0 0 0 2px var(--rim), 0 4px 12px -6px rgba(0, 0, 0, .3); }
.avatar.md { width: 60px; height: 60px; font-size: 21px; } .avatar.lg { width: 84px; height: 84px; font-size: 30px; } .avatar.xl { width: 108px; height: 108px; font-size: 38px; } .avatar.sm { width: 34px; height: 34px; font-size: 13px; }
.list { display: flex; flex-direction: column; }
.li { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: .5px solid var(--line-2); min-height: 52px; }
.li:last-child { border-bottom: 0; }
.li .t { font-weight: 600; font-size: 14.5px; } .li .s { font-size: 12.5px; color: var(--ink-3); }
.dot-ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; background: linear-gradient(145deg, var(--c1, var(--acc)), var(--c2, var(--sage))); }
.kv { display: grid; gap: 2px; }
.kv .k { font-size: 11.5px; font-weight: 680; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.kv ul { margin: 2px 0 0; padding-left: 18px; } .kv li { margin: 2px 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--acc-soft); font-size: 12.5px; font-weight: 580; color: var(--ink); white-space: nowrap; }
.empty { padding: 30px 20px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.role { display: flex; flex-direction: column; gap: 11px; }
.role .tag { align-self: flex-start; display: inline-flex; height: 22px; align-items: center; padding: 0 9px; border-radius: 999px; background: linear-gradient(145deg, var(--c1, var(--acc)), var(--c2, var(--sage))); color: #fff; font-size: 11.5px; font-weight: 700; }
.role h3 { font-size: 16px; }
.secret-card { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: repeating-linear-gradient(135deg, var(--acc-soft) 0 8px, transparent 8px 16px); box-shadow: inset 0 0 0 .5px var(--line-2); }

/* ---------- Auswahl mit Vorschau ---------- */
.setup { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.preview { position: sticky; top: 84px; padding: 18px; border-radius: var(--r-xl); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.preview::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; background: radial-gradient(100% 70% at 100% 0%, var(--c1), transparent 60%); }
.preview .name { font: 700 19px/1.2 var(--font-display); letter-spacing: -.02em; }
.savebar { display: none; }
@media (max-width: 960px) {
  .setup { grid-template-columns: minmax(0, 1fr); }
  .preview { display: none; }
  .savebar { display: flex; position: fixed; z-index: 30; left: max(12px, var(--safe-l)); right: max(12px, var(--safe-r)); bottom: calc(12px + var(--safe-b)); gap: 10px; align-items: center; padding: 6px 6px 6px 16px; }
  .savebar .btn { flex: none; }
}
@media (max-width: 420px) { .savebar .sum { display: none; } .savebar .btn { flex: 1; } }

/* ---------- Dossier (Briefing) ---------- */
.dossier { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
@media (max-width: 900px) { .dossier { grid-template-columns: minmax(0, 1fr); } }
.dossier-head { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--r-xl); overflow: hidden; }
.dossier-head::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2; background: radial-gradient(90% 120% at 0% 0%, var(--c1), transparent 60%); }
.mission { font: 650 20px/1.3 var(--font-display); letter-spacing: -.02em; }
.startcard { position: sticky; top: 84px; padding: 20px; border-radius: var(--r-xl); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }

/* ---------- Anrufbildschirm ---------- */
body.in-call { overflow: hidden; }
.call { position: fixed; inset: 0; z-index: 15; display: flex; flex-direction: column; padding: calc(14px + var(--safe-t)) max(16px, var(--safe-r)) calc(16px + var(--safe-b)) max(16px, var(--safe-l)); }
.call-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.call-bg::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(40% 40% at 50% 38%, color-mix(in srgb, var(--cat1) 45%, transparent), transparent 70%), radial-gradient(35% 35% at 70% 70%, color-mix(in srgb, var(--cat2) 40%, transparent), transparent 70%); filter: blur(30px); animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(1); opacity: .8; } to { transform: scale(1.12); opacity: 1; } }
.call-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 620; white-space: nowrap; }
.pill.acc { background: var(--acc); color: var(--on-acc); }
.call-main { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 10px 0 96px; transition: padding .4s var(--spring); }
.orb-wrap { position: relative; width: 176px; height: 176px; display: grid; place-items: center; }
.orb { position: relative; z-index: 1; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 42px var(--font-display);
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .55), transparent 42%), linear-gradient(150deg, var(--cat1), var(--cat2));
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .5), inset 0 -10px 24px rgba(0, 0, 0, .18), 0 24px 60px -20px var(--cat1); transform: scale(calc(1 + var(--lvl, 0) * .08)); transition: transform .08s linear; }
.orb-wrap .halo { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--cat1) 55%, transparent), transparent 66%); transform: scale(calc(1 + var(--lvl, 0) * .45)); opacity: calc(.25 + var(--lvl, 0) * .9); transition: transform .1s linear, opacity .1s linear; }
.orb-wrap .ring { position: absolute; inset: 18px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--cat1) 70%, transparent); opacity: 0; }
.orb-wrap.ringing .ring { animation: ripple 1.8s var(--ease) infinite; } .orb-wrap.ringing .ring:nth-child(3) { animation-delay: .6s; }
.orb-wrap.thinking .orb { animation: think 1.4s ease-in-out infinite; }
.timering { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.timering circle { fill: none; stroke-width: 3; }
.timering .bgc { stroke: color-mix(in srgb, var(--ink) 10%, transparent); }
.timering .fgc { stroke: var(--acc-text); stroke-linecap: round; transition: stroke-dashoffset 1s linear, stroke .3s; }
.timering.over .fgc { stroke: var(--err); }
@keyframes ripple { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes think { 50% { transform: scale(.96); filter: brightness(1.1); } }
.call-name { font: 700 23px var(--font-display); letter-spacing: -.025em; }
.call-sub { font-size: 13.5px; color: var(--ink-3); margin-top: -6px; }
.call-status { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 620; }
.call-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.call-status.ok i { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); } .call-status.warn i { background: var(--warn); } .call-status.err i { background: var(--err); }
.captions { width: min(560px, 100%); display: flex; flex-direction: column; gap: 6px; min-height: 64px; }
.cap { padding: 8px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; text-align: left; animation: pop .3s var(--ease); max-width: 100%; overflow-wrap: anywhere; }
.cap .who { display: block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1px; }
.cap.me { align-self: flex-end; background: color-mix(in srgb, var(--acc) 14%, color-mix(in srgb, var(--glass-solid) 72%, transparent)); box-shadow: inset 0 .5px 0 var(--rim); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.cap.them { align-self: flex-start; box-shadow: inset 0 .5px 0 var(--rim), var(--shadow); }
.cap.interim { opacity: .65; }
.mini-meter { display: flex; gap: 3px; align-items: center; height: 18px; }
.mini-meter i { width: 3px; height: 4px; border-radius: 2px; background: var(--acc-text); transition: height .08s linear; }
.dock { position: fixed; z-index: 40; left: 50%; bottom: calc(22px + var(--safe-b)); transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px; touch-action: none; }
.dock.placed { transform: none; }
.dock.dragging { cursor: grabbing; transition: none; box-shadow: inset 0 1px 0 var(--rim), 0 30px 60px -20px rgba(0, 0, 0, .5); }
.dock .grip { width: 20px; height: 44px; display: grid; place-items: center; cursor: grab; color: var(--ink-3); border-radius: 999px; touch-action: none; }
.dock .grip:hover { color: var(--ink); background: var(--acc-soft); }
.dbtn { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--ink);
  background: color-mix(in srgb, var(--glass-solid) 55%, transparent); box-shadow: inset 0 .5px 0 var(--rim), inset 0 0 0 .5px var(--line-2); transition: transform .25s var(--spring), background .2s; }
.dbtn:hover { background: var(--glass-strong); } .dbtn:active { transform: scale(.9); }
.dbtn.on { background: var(--acc); color: var(--on-acc); } .dbtn.off { background: var(--err-bg); color: var(--err); }
.dbtn.end { background: var(--err); color: #fff; width: 58px; border-radius: 999px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 16px -6px var(--err); }
.dbtn.ptt { width: auto; padding: 0 16px; border-radius: 999px; font-weight: 650; font-size: 13.5px; display: inline-flex; gap: 6px; align-items: center; }
.dbtn.ptt.held { background: var(--acc); color: var(--on-acc); transform: scale(1.04); }
.dbtn .lbl { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s; }
.dock:hover .dbtn .lbl { opacity: 1; }
@media (max-width: 420px) { .dbtn { width: 44px; height: 44px; } .dbtn.end { width: 52px; } .dock { gap: 4px; } .dock .grip { width: 16px; } }
.panel { position: fixed; z-index: 35; top: calc(12px + var(--safe-t)); right: max(12px, var(--safe-r)); bottom: calc(12px + var(--safe-b)); width: min(360px, calc(100vw - 24px)); display: flex; flex-direction: column; border-radius: 26px;
  background: var(--glass-strong); transform: translateX(110%); transition: transform .4s var(--spring); }
.panel.open { transform: none; }
.panel .ph { display: flex; align-items: center; gap: 6px; padding: 10px 10px 8px 14px; }
.panel .pb { flex: 1; overflow: auto; padding: 4px 16px 18px; }
@media (min-width: 900px) { .call.panel-open .call-main { padding-right: 372px; } }
@media (max-width: 640px) { .panel { top: auto; left: 8px; right: 8px; width: auto; height: 72dvh; bottom: calc(8px + var(--safe-b)); transform: translateY(110%); } .panel.open { transform: none; } }
@media (max-width: 520px) { .call-head .pill { height: 28px; padding: 0 10px; font-size: 12px; } .call-head .t-hide { display: none; } .orb-wrap { width: 156px; height: 156px; } .orb { width: 112px; height: 112px; font-size: 36px; } }
.vid-remote { width: min(640px, 100%); aspect-ratio: 16 / 10; max-height: 52dvh; border-radius: 24px; background: #0b0f0c; object-fit: cover; box-shadow: var(--shadow-float); }
.vid-self { position: fixed; z-index: 38; right: max(16px, var(--safe-r)); top: calc(70px + var(--safe-t)); width: 132px; aspect-ratio: 3 / 4; border-radius: 18px; object-fit: cover; background: #0b0f0c; transform: scaleX(-1); box-shadow: var(--shadow-float); touch-action: none; cursor: grab; }
.countdown { font: 700 96px var(--font-display); letter-spacing: -.05em; color: var(--acc-text); animation: pop .5s var(--spring); }
.meter { display: flex; gap: 3px; align-items: center; height: 26px; }
.meter i { width: 4px; height: 4px; border-radius: 2px; background: var(--acc-text); transition: height .08s linear; }
.radar { position: relative; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--cat1), var(--cat2)); box-shadow: 0 20px 50px -18px var(--cat1); }
.radar::before, .radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--cat1); animation: ripple 2.2s var(--ease) infinite; }
.radar::after { animation-delay: 1.1s; }

/* ---------- Auswertung ---------- */
.rate { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; padding: 8px 0; border-bottom: .5px solid var(--line-2); }
.rate:last-child { border-bottom: 0; }
@media (max-width: 560px) { .rate { grid-template-columns: 1fr; } }
.verdict { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.verdict.yes { background: var(--ok-bg); color: var(--ok); } .verdict.part { background: var(--warn-bg); color: var(--warn); } .verdict.no { background: var(--err-bg); color: var(--err); }
.quote { padding: 8px 12px; border-radius: 12px; background: var(--acc-soft); font-size: 13.5px; }
.quote::before { content: "„"; } .quote::after { content: "“"; }
.point { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-bottom: .5px solid var(--line-2); } .point:last-child { border-bottom: 0; }

/* ---------- Dialoge, Sheets, Toasts ---------- */
#overlay { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.modal-wrap, .sheet-wrap { position: fixed; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(8, 14, 10, .3); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s; pointer-events: auto; }
.modal-wrap.in, .sheet-wrap.in { opacity: 1; }
.modal { width: min(400px, 100%); padding: 20px; display: flex; flex-direction: column; gap: 8px; border-radius: 26px; background: var(--glass-strong); transform: scale(.94); transition: transform .35s var(--spring); }
.modal-wrap.in .modal { transform: none; }
.modal h3 { font-size: 17px; } .modal p { color: var(--ink-2); font-size: 14px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; flex-wrap: wrap; }
.sheet-wrap { place-items: end center; padding: 0; }
.sheet { width: min(560px, 100%); max-height: 84dvh; overflow: auto; border-radius: 26px 26px 0 0; padding: 6px 18px calc(20px + var(--safe-b)); background: var(--glass-strong); transform: translateY(40px); transition: transform .35s var(--spring); }
.sheet-wrap.in .sheet { transform: none; }
.sheet .grab { width: 36px; height: 5px; border-radius: 5px; background: var(--line-2); margin: 6px auto 12px; }
#toasts { position: fixed; z-index: 120; left: 0; right: 0; top: calc(70px + var(--safe-t)); display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; padding: 0 16px; }
.toast { display: flex; gap: 8px; align-items: center; height: 40px; padding: 0 16px; font-size: 14px; font-weight: 580; color: var(--ink); opacity: 0; transform: translateY(-10px) scale(.95); transition: all .35s var(--spring); max-width: 100%; }
.toast .ic { color: var(--ok); } .toast.err .ic { color: var(--err); }
.toast.in { opacity: 1; transform: none; }

/* ---------- Einstellungen, Profil ---------- */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.swatch { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 .5px rgba(0, 0, 0, .15), 0 4px 10px -4px rgba(0, 0, 0, .35); transition: transform .25s var(--spring); }
.swatch:hover { transform: scale(1.1); }
.swatch.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.setrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: .5px solid var(--line-2); }
.setrow:last-child { border-bottom: 0; }
.setrow .t { font-weight: 600; font-size: 14.5px; } .setrow .s { font-size: 12.5px; color: var(--ink-3); max-width: 50ch; }
.status-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.status-table td { padding: 9px 4px; border-bottom: .5px solid var(--line-2); vertical-align: top; }
.status-table tr:last-child td { border-bottom: 0; } .status-table td:last-child { text-align: right; }
.code { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 12.5px; padding: 2px 6px; border-radius: 6px; background: var(--acc-soft); overflow-wrap: anywhere; }
.profile-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.profile-actions { position: sticky; bottom: 16px; z-index: 10; display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 7px 7px 7px 16px; margin-top: 14px; }
@media (max-width: 760px) { .profile-actions { bottom: calc(80px + var(--safe-b)); } }
details > summary { list-style: none; } details > summary::-webkit-details-marker { display: none; }
details > summary .chev { transition: transform .3s var(--ease); } details[open] > summary .chev { transform: rotate(90deg); }

/* ---------- Bewegung ---------- */
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
.no-motion *, .no-motion *::before, .no-motion *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; } .view { transform: none; } }
.persona .who, .preview .who { display: flex; align-items: center; gap: 12px; }
.catstrip { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 40px; }
.nextcall .foot > .row { margin-left: auto; }

/* ---------- Live-Bereich auf der Startseite ---------- */
.livehero { position: relative; overflow: hidden; padding: 22px; border-radius: var(--r-xl); display: flex; flex-direction: column; gap: 14px; }
.livehero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .26; background: radial-gradient(90% 120% at 100% 0%, var(--c1), transparent 60%), radial-gradient(70% 90% at 0% 100%, var(--c2), transparent 60%); }
.lh-title { font: 700 24px/1.15 var(--font-display); letter-spacing: -.03em; margin-top: 4px; max-width: 22ch; }
@media (max-width: 760px) { .lh-title { font-size: 21px; } .livehero .row.between > .row { width: 100%; } .livehero #findnow { flex: 1; } }

/* ---------- Anmeldung ---------- */
body.auth .topnav, body.auth .tabbar { display: none; }
.authwrap { min-height: calc(100dvh - 120px); display: grid; place-items: center; }
.authcard { width: min(420px, 100%); padding: 28px; border-radius: var(--r-xl); display: flex; flex-direction: column; gap: 16px; }
.authcard .lead { color: var(--ink-2); font-size: 15.5px; }

/* =====================================================================
   App-Schale: Bildschirme ohne Scrollen (Start, Suche, Räume)
   ===================================================================== */
html.screen-mode, body.screen-mode { overflow: hidden; height: 100dvh; overscroll-behavior: none; }
.view.screen { --navh: 72px; height: calc(100dvh - var(--navh) - var(--safe-t)); padding-top: 14px; padding-bottom: 18px; display: flex; flex-direction: column; overflow-y: auto; scrollbar-width: none; max-width: 600px; }
.view.screen::-webkit-scrollbar { display: none; }
.view.screen.center-screen { justify-content: center; }
.center { text-align: center; } .center-tags { justify-content: center; }
@media (max-width: 760px) {
  .topnav .right .iconbtn { display: none; }
  .view.screen { --navh: 56px; height: calc(100dvh - var(--navh) - var(--safe-t) - 80px - var(--safe-b)); padding-bottom: 10px; }
  body.flow .view.screen { height: calc(100dvh - var(--navh) - var(--safe-t)); padding-bottom: calc(12px + var(--safe-b)); }
  .tabbar .nav-item { width: 92px; }
}
@media (max-height: 640px) { .view.screen { padding-top: 6px; } }

/* Online-Anzeige */
.status-dot.on i { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
.livepill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 680; color: var(--ink-2); background: color-mix(in srgb, var(--glass-solid) 60%, transparent); box-shadow: inset 0 0 0 .5px var(--line-2); white-space: nowrap; }
.livepill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.livepill.on i { background: #34c759; box-shadow: 0 0 0 3px rgba(52, 199, 89, .2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(52, 199, 89, 0); } }

/* ---------- Startseite ---------- */
.home2 { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.h-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.h-top .date { font-size: 12.5px; font-weight: 600; color: var(--ink-3); text-transform: capitalize; }
.h-top h1 { font-size: clamp(22px, 3.6dvh, 30px); }
.hero { position: relative; overflow: hidden; flex: 1 1 auto; min-height: 0; padding: clamp(14px, 2.6dvh, 22px); border-radius: var(--r-xl); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(8px, 1.8dvh, 16px); text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3; background: radial-gradient(70% 60% at 50% 18%, var(--c1), transparent 70%), radial-gradient(60% 50% at 100% 100%, var(--c2), transparent 70%); }
.hero-orb { position: relative; width: clamp(84px, 17dvh, 150px); aspect-ratio: 1; display: grid; place-items: center; flex: none; }
.hero-orb .orb { width: 74%; height: 74%; font-size: 0; color: #fff; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .55), transparent 42%), linear-gradient(150deg, var(--c1), var(--c2)); box-shadow: inset 0 2px 1px rgba(255, 255, 255, .5), inset 0 -10px 24px rgba(0, 0, 0, .18), 0 24px 50px -18px var(--c1); }
.hero-orb .orb .ic { width: 40%; height: 40%; }
.hero-orb .halo { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c1) 45%, transparent), transparent 66%); animation: breathe 4s ease-in-out infinite alternate; }
.hero-orb .ring { position: absolute; inset: 12%; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--c1) 60%, transparent); animation: ripple 3s var(--ease) infinite; }
.hero-orb .ring:nth-child(3) { animation-delay: 1.5s; }
.hero-title { font: 760 clamp(24px, 4dvh, 34px)/1.05 var(--font-display); letter-spacing: -.035em; }
.hero-txt p { color: var(--ink-2); margin-top: 4px; max-width: 38ch; }
.pickers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; }
.pickpill { display: flex; align-items: center; gap: 7px; min-width: 0; height: 52px; padding: 0 10px 0 12px; border: 0; border-radius: 16px; cursor: pointer; text-align: left; color: var(--ink);
  background: color-mix(in srgb, var(--glass-solid) 62%, transparent); box-shadow: inset 0 .5px 0 var(--rim), inset 0 0 0 .5px var(--line-2); transition: transform .2s var(--spring), background .2s; }
.pickpill:hover { background: var(--glass-strong); } .pickpill:active { transform: scale(.97); }
.pickpill .k { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.pickpill .v { display: block; font-size: 14px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pickpill .cv, .chip .cv, .setpick .cv { transform: rotate(90deg); color: var(--ink-3); flex: none; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; background: linear-gradient(145deg, var(--c1), var(--c2)); box-shadow: 0 0 0 2px var(--rim); }
.btn.xl { height: 60px; font-size: 17.5px; font-weight: 700; padding: 0 28px; gap: 10px; }
@media (max-height: 700px) { .btn.xl { height: 52px; } .pickpill { height: 46px; } }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: none; }
.tile { display: flex; align-items: center; gap: 10px; padding: 12px; border: 0; border-radius: 20px; cursor: pointer; text-align: left; color: var(--ink); transition: transform .25s var(--spring); }
.tile:active { transform: scale(.98); }
.tile .t { display: block; font-weight: 680; font-size: 14.5px; } .tile .s { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.3; margin-top: 1px; }
.soon { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; margin-left: 4px; border-radius: 999px; font-size: 10.5px; font-weight: 750; letter-spacing: .03em; color: #fff; background: linear-gradient(135deg, #6b6f8a, #a07ad1); vertical-align: 1px; }
.soon.big { height: 24px; padding: 0 10px; font-size: 12px; margin: 0 0 6px; }
.resume { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 10px 10px 12px; border: 0; border-radius: 18px; cursor: pointer; text-align: left; color: var(--ink); flex: none; }
.ico-sq { color: #fff; }

/* ---------- Auswahl-Sheets ---------- */
@media (min-width: 761px) { .sheet-wrap { place-items: center; padding: 20px; } .sheet { border-radius: 26px; transform: scale(.96); } }
.picklist { display: flex; flex-direction: column; gap: 4px; }
.pickrow { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 12px; border: 0; border-radius: 16px; cursor: pointer; text-align: left; color: var(--ink); background: transparent; transition: background .2s; }
.pickrow:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.pickrow.on { background: var(--acc-soft-2); }
.pickrow .t { display: block; font-weight: 640; font-size: 15px; } .pickrow .s { display: block; font-size: 12.5px; color: var(--ink-3); }
.pickrow .chk { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--on-acc); background: var(--acc); transform: scale(0); transition: transform .3s var(--spring); flex: none; }
.pickrow.on .chk { transform: scale(1); }
.setlist { display: flex; flex-direction: column; margin: 12px 0 4px; border-radius: 18px; overflow: hidden; background: color-mix(in srgb, var(--glass-solid) 50%, transparent); box-shadow: inset 0 0 0 .5px var(--line-2); }
.setpick { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 6px 14px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink); font-weight: 560; font-size: 14.5px; border-bottom: .5px solid var(--line-2); }
.setpick:last-child { border-bottom: 0; }
.setpick:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.setpick .v { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-weight: 600; }
.codein { text-transform: uppercase; letter-spacing: .3em; font-size: 22px !important; height: 56px !important; text-align: center; font-weight: 700; }
.codein::placeholder { letter-spacing: 0; font-size: 15px; font-weight: 500; text-transform: none; }
.kiteaser { position: relative; overflow: hidden; padding: 16px; border-radius: 20px; background: color-mix(in srgb, var(--glass-solid) 50%, transparent); box-shadow: inset 0 0 0 .5px var(--line-2); }
.kiteaser::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2; background: radial-gradient(90% 90% at 100% 0%, var(--c1), transparent 60%); }
.kiteaser h3 { font-size: 17px; margin-bottom: 4px; }

/* ---------- Räume ---------- */
.room { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.room-top { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 8px; flex: none; }
.rt-title { text-align: center; min-width: 0; } .rt-title .t { font-weight: 700; font-size: 15.5px; } .rt-title .s { font-size: 12px; color: var(--ink-3); }
.room-body { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(8px, 1.6dvh, 14px); overflow-y: auto; scrollbar-width: none; padding: 4px 2px; }
.room-body::-webkit-scrollbar { display: none; }
.room-body > * { flex: none; }
.room-body h1 { font-size: clamp(22px, 3.4dvh, 28px); }
.room-foot { display: flex; flex-direction: column; gap: 8px; flex: none; }
.room-foot .row > .btn { flex: 1; }
.radar.big { width: clamp(90px, 17dvh, 140px); height: auto; aspect-ratio: 1; }
.radar.still::before, .radar.still::after { animation: none; opacity: 0; }
.tipcard { width: 100%; padding: 12px 16px; border-radius: 18px; text-align: center; }
.tipcard p { font-weight: 600; }
#selap.over, #rt.over { color: var(--err); }
.roomcode { font: 800 clamp(34px, 6dvh, 46px)/1 var(--font-display); letter-spacing: .22em; padding: 12px 10px 12px 22px; border-radius: 20px; border: 0; cursor: pointer; color: var(--ink); background: color-mix(in srgb, var(--glass-solid) 60%, transparent); box-shadow: inset 0 0 0 .5px var(--line-2), var(--shadow); }
.cfgchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chip.ro { cursor: default; opacity: .85; } .chip.ro:hover { box-shadow: inset 0 0 0 .5px var(--line-2); }
.cft-wrap { position: relative; display: grid; place-items: center; }
.cft-ring { position: absolute; inset: -10px; width: calc(100% + 20px); height: calc(100% + 20px); transform: rotate(-90deg); }
.cft-ring circle { fill: none; stroke: var(--acc-text); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 352; animation: cftdown 20s linear forwards; }
@keyframes cftdown { to { stroke-dashoffset: 352; } }
.seats { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; }
.seat { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; flex: 1; max-width: 160px; }
.seat .nm { font-weight: 680; max-width: 100%; }
.vs { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); background: color-mix(in srgb, var(--glass-solid) 50%, transparent); box-shadow: inset 0 0 0 .5px var(--line-2); flex: none; }
.microw, .rolebtn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 8px 14px; border: 0; border-radius: 18px; color: var(--ink); text-align: left; cursor: pointer; }
.microw.off { box-shadow: inset 0 0 0 1.5px var(--acc-text), var(--shadow); }
.microw .iconbtn.off { color: var(--err); background: var(--err-bg); }
.microw .meter { justify-content: center; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.fbgrid { width: 100%; padding: 4px 14px; border-radius: 18px; }
.fbgrid .rate { grid-template-columns: 1fr auto; padding: 6px 0; font-weight: 600; font-size: 14px; }
.fbgrid .seg button { padding: 0 10px; height: 30px; font-size: 13px; }
.fbsum { width: 100%; padding: 14px; border-radius: 18px; display: flex; flex-direction: column; gap: 10px; }
.tag-pill.r-strong { background: var(--ok-bg); color: var(--ok); } .tag-pill.r-weak { background: var(--warn-bg); color: var(--warn); }
.ratebox { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 8px 8px 8px 16px; border-radius: 18px; background: color-mix(in srgb, var(--glass-solid) 50%, transparent); box-shadow: inset 0 0 0 .5px var(--line-2); }
.thumb { width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); background: var(--glass); box-shadow: inset 0 0 0 .5px var(--line-2); transition: transform .25s var(--spring), background .2s; }
.thumb:active { transform: scale(.9); }
.thumb.down .ic { transform: rotate(180deg); }
.thumb.on { background: var(--ok); color: #fff; } .thumb.down.on { background: var(--err); }
.duo, .grid2.tight { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.grid2.tight > .btn:only-child { grid-column: 1 / -1; }
.pill.acc { background: var(--acc); color: var(--on-acc); }
body.in-call.screen-mode .view.screen { height: 100dvh; }

/* ---------- Willkommen ---------- */
.welcome { width: 100%; margin: 0 auto; padding: clamp(18px, 3dvh, 28px); gap: clamp(10px, 2dvh, 18px); }
.opt-grid.compact { grid-template-columns: 1fr 1fr; gap: 6px; }
.opt-grid.compact .opt { min-height: 46px; padding: 6px 10px; }
.opt-grid.compact .opt .ico { width: 28px; height: 28px; border-radius: 9px; }
.opt-grid.compact .opt .t { font-size: 13px; }
@media (max-width: 370px) { .opt-grid.compact { grid-template-columns: 1fr 1fr; } }

/* ---------- Anmeldung, Rechtliches ---------- */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); cursor: pointer; line-height: 1.4; }
.consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--acc); }
.consent a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.tsbox { min-height: 65px; }
.legal { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.legal h3 { margin-top: 8px; } .legal ul, .legal ol { margin: 0; padding-left: 20px; } .legal li { margin: 6px 0; }
.legal .lead { color: var(--ink-2); font-size: 15.5px; }
.ph { background: var(--warn-bg); color: var(--warn); border-radius: 6px; padding: 0 5px; font-weight: 600; }
.admin .report { align-items: flex-start; }
/* Feinschliff mobil */
@media (max-width: 560px) {
  .pickers { grid-template-columns: 1fr 1fr; }
  .pickers .pickpill:first-child { grid-column: 1 / -1; }
}
@media (min-width: 761px) { .h-top .livepill { display: none; } }
.grid2.tight .btn, .duo .btn { padding: 0 10px; min-width: 0; }
.grid2.tight .btn.lg { font-size: 15px; }
.hero > * { flex: none; }
@media (max-height: 720px) { .hero-txt p { display: none; } .hero-orb { width: clamp(64px, 12dvh, 100px); } .h-top .date { display: none; } .tile .s { display: none; } .tile { padding: 10px 12px; } }

/* =====================================================================
   v3 · App-Schale wie iOS: Seitenleiste (Desktop), Tab-Leiste (Handy),
   große Titel, gerichtete Übergänge, FaceTime-Anruf, Match-Moment
   ===================================================================== */
:root { --spring-soft: cubic-bezier(.22, 1.2, .36, 1); --side: 0px; }
.topnav { display: none !important; }

/* Seitenleiste (Desktop) */
.sidebar { display: none; }
@media (min-width: 761px) {
  :root { --side: 248px; }
  .sidebar { display: flex; flex-direction: column; gap: 18px; position: fixed; z-index: 30; left: max(12px, var(--safe-l)); top: 12px; bottom: 12px; width: 220px; padding: 22px 12px 16px; border-radius: 30px; }
  .sidebar .wordmark { font-size: 24px; padding: 0 10px; }
  .sidenav { display: flex; flex-direction: column; gap: 2px; }
  .sidenav .nav-item { height: 42px; padding: 0 12px; gap: 11px; font-size: 15px; border-radius: 13px; }
  .sidenav .nav-item.active { background: var(--acc); color: var(--on-acc); box-shadow: 0 6px 16px -8px var(--acc); }
  .sidenav .nav-item.active .ic { color: var(--on-acc); }
  .side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 0 8px; }
  .side-foot .livepill { align-self: flex-start; }
  .side-foot a { color: var(--ink-3); }
  .view { margin-left: calc(var(--side) + max(0px, (100vw - var(--side) - 1020px) / 2)); margin-right: auto; padding-top: 30px; }
  .view.screen { --navh: 0px; height: 100dvh; padding-top: 22px; padding-bottom: 22px; margin-left: calc(var(--side) + max(0px, (100vw - var(--side) - 600px) / 2)); }
  body.auth .sidebar, body.in-call .sidebar { display: none; }
  body.auth .view { margin-left: auto; }
  .h-brand { display: none; }
}
@media (max-width: 760px) {
  .view { padding-top: calc(14px + var(--safe-t)); }
  .view.screen { --navh: 0px; padding-top: calc(10px + var(--safe-t)); }
  .tabbar .nav-item { width: 96px; }
}
body.auth .tabbar, body.in-call .tabbar { display: none; }

/* Große Titel */
.page-head h1, .ios h1 { font-size: 34px; font-weight: 800; letter-spacing: -.035em; }
@media (max-width: 760px) { .page-head h1, .ios h1 { font-size: 32px; } }
.h-brand { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; }
.h-brand .wordmark { font-size: 21px; }
.h-top h1 { font-size: clamp(26px, 4.2dvh, 34px); font-weight: 800; letter-spacing: -.035em; }

/* Übergänge */
.view { opacity: 1; transform: none; transition: none; }
.view.enter-push { animation: vPush .46s var(--spring-soft) both; }
.view.enter-pop, .view.enter-swipe { animation: vPop .4s var(--spring-soft) both; }
.view.enter-tab { animation: vTab .32s var(--ease) both; }
.view.enter-fade { animation: vFade .3s var(--ease) both; }
@keyframes vPush { from { opacity: 0; transform: translate3d(42px, 0, 0); } }
@keyframes vPop { from { opacity: 0; transform: translate3d(-34px, 0, 0); } }
@keyframes vTab { from { opacity: 0; transform: scale(.985); } }
@keyframes vFade { from { opacity: 0; transform: translateY(6px); } }
.room.fresh .room-body > *, .room.fresh .room-foot { animation: rise .45s var(--spring-soft) both; }
.room.fresh .room-foot { animation-delay: .18s; }
.room-body > *:nth-child(2) { animation-delay: .04s; } .room-body > *:nth-child(3) { animation-delay: .08s; } .room-body > *:nth-child(4) { animation-delay: .12s; } .room-body > *:nth-child(5) { animation-delay: .16s; } .room-body > *:nth-child(n+6) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.home2.fresh > * { animation: rise .5s var(--spring-soft) both; } .home2 > *:nth-child(2) { animation-delay: .05s; } .home2 > *:nth-child(3) { animation-delay: .1s; } .home2 > *:nth-child(4) { animation-delay: .15s; } .home2 > *:nth-child(5) { animation-delay: .2s; }

/* Antippen fühlt sich an */
.pickpill:active, .tile:active, .resume:active, .rolebtn:active, .microw:active, .pickrow:active, .setpick:active, .nav-item:active, .thumb:active, .chip:active, .roomcode:active { transform: scale(.965); transition: transform .12s; }
.pickrow, .setpick, .tile, .rolebtn, .resume { transition: transform .35s var(--spring), background .2s; }

/* Sheets: ziehbar */
.sheet-wrap { background: rgba(8, 14, 10, calc(.34 * var(--dim, 1))); }
.sheet { transition: transform .42s var(--spring-soft); touch-action: pan-y; }
.sheet.dragging { transition: none; }
.sheet .grab { cursor: grab; width: 40px; height: 5px; margin: 8px auto 10px; }
.sheet h2 { font-size: 20px; font-weight: 750; }

/* iOS-Listen (Einstellungen, Profil) */
.ios .stack-l { gap: 26px; }
.ios section.card { padding: 6px 16px; border-radius: 22px; }
.ios section.card > h2:first-child, .ios section.card > .row.between:first-child h2, .ios section.card > .row:first-child > h2 { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-top: 10px; }
.ios section.card.stack { gap: 10px; padding-bottom: 14px; }
.ios .setrow { min-height: 50px; padding: 9px 0; }
.ios .setrow .t { font-size: 15px; font-weight: 560; }
.ios .stats .stat { background: transparent; box-shadow: none; padding: 8px 0; }

/* Kopf im Raum etwas ruhiger */
.room-top .iconbtn { width: 40px; height: 40px; }
.rt-title .t { font-size: 16px; font-weight: 750; }

/* ---------- Match-Moment ---------- */
.match-duo { display: none; }
.match-pop { animation: matchPop .7s var(--spring) both; }
.match-pop .avatar { box-shadow: 0 0 0 3px var(--rim), 0 20px 50px -14px var(--cat1); }
@keyframes matchPop { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
.confetti { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 3px; background: var(--cat1); opacity: 0; animation: burst 1s var(--ease) .15s both; }
.confetti:nth-child(odd) { background: var(--cat2); width: 6px; height: 10px; }
.confetti:nth-child(3n) { background: var(--acc); }
.confetti:nth-of-type(1) { --a: 0deg; } .confetti:nth-of-type(2) { --a: 30deg; } .confetti:nth-of-type(3) { --a: 60deg; } .confetti:nth-of-type(4) { --a: 90deg; } .confetti:nth-of-type(5) { --a: 120deg; } .confetti:nth-of-type(6) { --a: 150deg; }
.confetti:nth-of-type(7) { --a: 180deg; } .confetti:nth-of-type(8) { --a: 210deg; } .confetti:nth-of-type(9) { --a: 240deg; } .confetti:nth-of-type(10) { --a: 270deg; } .confetti:nth-of-type(11) { --a: 300deg; } .confetti:nth-of-type(12) { --a: 330deg; }
@keyframes burst { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(.6); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-110px) scale(1) rotate(160deg); } }
.room.confirm h1 { font-size: clamp(28px, 4.6dvh, 36px); font-weight: 800; }

/* ---------- Countdown ---------- */
.cd-wrap { position: relative; width: clamp(140px, 24dvh, 190px); aspect-ratio: 1; display: grid; place-items: center; }
.cd-ring { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--cat1) 35%, transparent), transparent 68%); animation: breathe 1s ease-in-out infinite alternate; }
.countdown { position: relative; font-size: clamp(90px, 15dvh, 130px); font-weight: 800; }
.countdown.tick { animation: cdTick .9s var(--spring) both; }
@keyframes cdTick { 0% { transform: scale(1.6); opacity: 0; filter: blur(6px); } 35% { transform: scale(.95); opacity: 1; filter: none; } 100% { transform: scale(1); } }

/* ---------- Anruf wie FaceTime: immer dunkel ---------- */
body.in-call { --bg: #0a0f0c; --bg-2: #050806; --ink: #f3f6f3; --ink-2: rgba(243, 246, 243, .8); --ink-3: rgba(243, 246, 243, .58);
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16); --glass: rgba(40, 46, 43, .55); --glass-strong: rgba(32, 38, 35, .9); --glass-solid: #1b211e;
  --rim: rgba(255, 255, 255, .22); --rim-low: rgba(255, 255, 255, .06); --acc-soft: rgba(255, 255, 255, .1); color-scheme: dark; background: var(--bg); }
body.in-call .ambient { background: #070a08; } body.in-call .ambient i { opacity: .28; }
.call-bg::before { inset: -30%; background: radial-gradient(38% 32% at 50% 40%, color-mix(in srgb, var(--cat1) 70%, transparent), transparent 70%), radial-gradient(40% 40% at 80% 85%, color-mix(in srgb, var(--cat2) 45%, transparent), transparent 70%), radial-gradient(40% 40% at 10% 10%, color-mix(in srgb, var(--cat2) 30%, transparent), transparent 70%); filter: blur(40px); opacity: .85; }
.call-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent 30%, transparent 60%, rgba(0, 0, 0, .45)); }
.call-head .pill { background: rgba(255, 255, 255, .1); color: var(--ink); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.call-head .pill.acc { background: var(--acc); color: var(--on-acc); }
.call-main { gap: 8px; padding-bottom: 130px; }
.call-name { font-size: clamp(30px, 5dvh, 40px); font-weight: 750; letter-spacing: -.035em; margin-top: 10px; }
.call-sub { font-size: 15px; color: var(--ink-2); margin-top: 0; }
.call-status { height: 26px; background: rgba(255, 255, 255, .08); font-size: 12.5px; }
.call .orb { box-shadow: inset 0 2px 1px rgba(255, 255, 255, .5), inset 0 -10px 24px rgba(0, 0, 0, .2), 0 30px 80px -20px var(--cat1); }
.dock { bottom: calc(26px + var(--safe-b)); padding: 10px 12px 26px; gap: 10px; border-radius: 34px; background: rgba(28, 33, 30, .62); }
.dock .dbtn { width: 54px; height: 54px; background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 .5px 0 rgba(255, 255, 255, .25); }
.dock .dbtn:hover { background: rgba(255, 255, 255, .2); }
.dock .dbtn.off { background: #fff; color: #0b0f0c; }
.dock .dbtn.on { background: #fff; color: #0b0f0c; }
.dock .dbtn.end { width: 54px; border-radius: 50%; background: #ff3b30; box-shadow: 0 8px 22px -8px #ff3b30; }
.dock .dbtn .lbl { opacity: 1; bottom: -19px; color: rgba(255, 255, 255, .7); font-size: 10.5px; }
.dock .grip { color: rgba(255, 255, 255, .5); height: 54px; }
@media (max-width: 420px) { .dock { gap: 6px; padding: 8px 8px 24px; } .dock .dbtn, .dock .dbtn.end { width: 44px; height: 44px; } .dock .dbtn .lbl { font-size: 9.5px; } }
.panel { background: rgba(24, 29, 26, .92); }

/* Dichter */
.card { padding: 16px; }
.tile .t { font-size: 15px; }
.hero-txt p { margin-top: 2px; }
@media (min-width: 761px) { .h-brand { display: none; } }
#toasts { top: calc(12px + var(--safe-t)); }
/* Start: Ecken-Knöpfe, Anleitung, Erweitern */
.hero-corner { position: absolute; top: 12px; display: inline-flex; align-items: center; gap: 5px; height: 32px; min-width: 32px; padding: 0 10px; border: 0; border-radius: 999px; cursor: pointer; color: var(--ink-2); font-weight: 700; font-size: 12.5px; background: color-mix(in srgb, var(--glass-solid) 60%, transparent); box-shadow: inset 0 0 0 .5px var(--line-2); }
.hero-corner.left { left: 12px; padding: 0; width: 32px; justify-content: center; } .hero-corner.right { right: 12px; }
.hero-corner:active { transform: scale(.94); }
.howto { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.howto li { display: flex; gap: 12px; align-items: flex-start; } .howto strong { font-size: 15px; }
.widen { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 18px; cursor: pointer; text-align: left; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--acc-text), var(--shadow); animation: rise .45s var(--spring-soft) both; }
.widen > .ic:first-child { color: var(--acc-text); }

/* Zeiger-Licht: nur als feine Kante, kein Fleck auf der Fläche */
.lg::after { inset: 0; padding: 1px; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.lg:hover::after { opacity: .55; }
:root[data-theme="dark"] .lg:hover::after { opacity: .3; }
@media (hover: none) { .lg::after { display: none; } }
/* Klare Hover-Zustände statt Leuchten */
.sidenav .nav-item:not(.active):hover { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
.pickpill:hover, .tile:hover, .resume:hover, .rolebtn:hover, .setpick:hover { background: color-mix(in srgb, var(--glass-solid) 82%, transparent); }
:root[data-theme="dark"] .pickpill:hover, :root[data-theme="dark"] .tile:hover, :root[data-theme="dark"] .resume:hover, :root[data-theme="dark"] .rolebtn:hover { background: rgba(255, 255, 255, .09); }
:root[data-theme="dark"] .btn:hover:not(.primary):not(.danger) { background: rgba(255, 255, 255, .1); }
.btn.primary:hover { filter: brightness(1.12); }
:root[data-theme="dark"] .sidenav .nav-item.active { box-shadow: 0 6px 18px -8px var(--acc), inset 0 .5px 0 rgba(255, 255, 255, .25); }
:root[data-theme="dark"] .sidenav .nav-item.active { background: var(--acc); color: var(--on-acc); }

/* =====================================================================
   v4 · Illustrationen, Avatare, Vorschau, Feinschliff
   ===================================================================== */
.art { display: block; width: 100%; height: 100%; overflow: visible; }
.hero-art { width: clamp(150px, 30dvh, 270px); aspect-ratio: 200 / 132; flex: none; animation: floaty 6s ease-in-out infinite; filter: saturate(1.05); }
@keyframes floaty { 50% { transform: translateY(-6px); } }
@media (max-height: 720px) { .hero-art { width: clamp(120px, 22dvh, 180px); } }
.searchart { position: relative; width: clamp(170px, 30dvh, 260px); aspect-ratio: 200 / 132; display: grid; place-items: center; }
.searchart span { position: absolute; left: 50%; top: 46%; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--c1) 60%, transparent); transform: translate(-50%, -50%) scale(.6); opacity: 0; animation: sonar 3s var(--ease) infinite; }
.searchart span:nth-child(2) { animation-delay: 1s; } .searchart span:nth-child(3) { animation-delay: 2s; }
@keyframes sonar { 0% { transform: translate(-50%, -50%) scale(.6); opacity: .8; } 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
.searchart .art { position: relative; animation: floaty 4s ease-in-out infinite; }
.artwrap { width: clamp(150px, 26dvh, 230px); aspect-ratio: 200 / 132; } .artwrap.dim { filter: grayscale(.6); opacity: .75; }
.kiart { width: 150px; aspect-ratio: 200 / 132; margin: -6px 0 4px -10px; }
.avatar { background-size: cover; background-position: center; }
.match-pop .avatar { box-shadow: 0 0 0 3px var(--rim), 0 20px 50px -14px var(--c1); }

/* Banner-Meldungen: deckend, damit nichts durchscheint */
.toast { background: var(--glass-solid); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35), inset 0 0 0 .5px var(--line-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
.toast::before, .toast::after { display: none; }

/* Mittlere Breiten: schmale Symbolleiste statt breiter Seitenleiste */
@media (min-width: 761px) and (max-width: 1100px) {
  :root { --side: 92px; }
  .sidebar { width: 68px; padding: 18px 8px; align-items: center; }
  .sidebar .wordmark { font-size: 0; padding: 0; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--acc); }
  .sidebar .wordmark b::after { content: "c"; font-size: 24px; color: var(--on-acc); font-weight: 850; }
  .sidebar .wordmark b, .sidebar .wordmark span { font-size: 0; }
  .sidenav .nav-item { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .sidenav .nav-item span { display: none; }
  .side-foot p { display: none; } .side-foot .livepill span { display: none; } .side-foot .livepill { padding: 0 9px; }
}

/* Vorschau ohne Server: ehrlicher Hinweis statt Fehleroptik */
.is-preview .microw.off { box-shadow: inset 0 0 0 .5px var(--line-2), var(--shadow); }
.call-head { flex-wrap: nowrap; min-width: 0; } .call-head .pill { flex: none; }
@media (max-width: 1100px) { .call-head .t-hide { display: none; } }
@media (max-width: 480px) { .call-head .badge { display: none; } }

/* =====================================================================
   v5 · Feiner, kleiner, wertiger. Gleiche Sprache, weniger Lautstärke.
   ===================================================================== */
:root { --gold: #b8955a; --gold-2: #e3c98f; --hair: rgba(26, 35, 30, .09); }
:root[data-theme="dark"] { --bg: #0a0d0b; --bg-2: #060807; --gold: #d4b77e; --gold-2: #f0dcaa; --hair: rgba(255, 255, 255, .08); }
body { font-size: 14px; line-height: 1.45; letter-spacing: -.008em; }
h1 { font-size: 26px; } h2 { font-size: 16.5px; } h3 { font-size: 14.5px; }
.small { font-size: 12.5px; } .tiny { font-size: 11.5px; }
.eyebrow, .pickpill .k, .setlist .k, .ios section.card > h2:first-child { letter-spacing: .09em; font-weight: 650; }
.page-head h1, .ios h1 { font-size: 28px; font-weight: 750; letter-spacing: -.03em; }
.h-top h1 { font-size: clamp(21px, 3.3dvh, 27px); font-weight: 750; }
.h-top .date { font-size: 11.5px; letter-spacing: .02em; }

/* Bedienelemente kleiner */
.btn { height: 36px; padding: 0 16px; font-size: 13.5px; font-weight: 600; }
.btn.sm { height: 30px; padding: 0 12px; font-size: 12.5px; }
.btn.lg { height: 44px; padding: 0 22px; font-size: 14.5px; }
.btn.xl { height: 50px; font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; gap: 8px; }
@media (pointer: coarse) { .btn { height: 40px; } .btn.sm { height: 34px; } .btn.lg { height: 46px; } .btn.xl { height: 52px; } }
.btn.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 86%, #fff), var(--acc) 55%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 .5px rgba(0, 0, 0, .18), 0 8px 22px -12px var(--acc); }
.btn.primary::before { display: none; }
.iconbtn { width: 32px; height: 32px; } @media (pointer: coarse) { .iconbtn { width: 38px; height: 38px; } }
.input, select.input { height: 40px; font-size: 14px; border-radius: 11px; }
.chip { height: 28px; padding: 0 11px; font-size: 12.5px; } @media (pointer: coarse) { .chip { height: 32px; } }
.seg button { height: 28px; font-size: 12.5px; } @media (pointer: coarse) { .seg button { height: 32px; } }
.badge { height: 20px; font-size: 10.5px; }

/* Glas: feinere Kanten, weichere Schatten */
.glass, .card { box-shadow: inset 0 .5px 0 var(--rim), inset 0 0 0 .5px var(--hair), 0 1px 2px rgba(0, 0, 0, .03), 0 16px 40px -24px rgba(20, 30, 24, .35); }
:root[data-theme="dark"] .glass, :root[data-theme="dark"] .card { box-shadow: inset 0 .5px 0 rgba(255, 255, 255, .1), inset 0 0 0 .5px var(--hair), 0 18px 44px -24px rgba(0, 0, 0, .8); }
.card { padding: 14px; } .card.tight { padding: 10px 12px; }

/* Navigation */
@media (min-width: 1101px) {
  :root { --side: 228px; }
  .sidebar { width: 200px; padding: 20px 10px 14px; border-radius: 26px; }
  .sidebar .wordmark { font-size: 21px; }
  .sidenav .nav-item { height: 38px; font-size: 13.5px; border-radius: 11px; gap: 10px; }
}
.tabbar .nav-item { height: 46px; width: 84px; font-size: 10.5px; }
@media (max-width: 760px) { .tabbar .nav-item { width: 86px; } }

/* Start: schmalere, ruhigere Bühne */
.view.screen { max-width: 520px; }
@media (min-width: 761px) { .view.screen { margin-left: calc(var(--side) + max(0px, (100vw - var(--side) - 520px) / 2)); } }
.home2 { gap: 10px; justify-content: center; }
.hero { flex: 1 1 auto; max-height: 600px; padding: clamp(14px, 2.4dvh, 20px); gap: clamp(8px, 1.5dvh, 13px); border-radius: 26px; }
.hero::before { opacity: .22; }
.hero-art { width: clamp(118px, 22dvh, 196px); }
.hero-title { font-size: clamp(20px, 3.2dvh, 26px); font-weight: 750; letter-spacing: -.03em; }
.hero-txt p { font-size: 12.5px; color: var(--ink-3); }
.hero-corner { top: 10px; height: 28px; min-width: 28px; font-size: 11.5px; } .hero-corner.left { left: 10px; width: 28px; } .hero-corner.right { right: 10px; }
.pickpill { height: 46px; border-radius: 14px; padding: 0 9px 0 11px; gap: 6px; }
.pickpill .k { font-size: 9.5px; } .pickpill .v { font-size: 13px; }
.tile { padding: 10px 11px; border-radius: 18px; gap: 9px; } .tile .t { font-size: 13.5px; } .tile .s { font-size: 11.5px; }
.ico-sq { width: 30px; height: 30px; border-radius: 10px; }
.soon { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #2a2110; height: 16px; font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase; }
.livepill { height: 26px; font-size: 11.5px; padding: 0 10px; }
.resume { padding: 8px 10px; border-radius: 16px; }

/* Sheets und Listen */
.sheet { width: min(500px, 100%); padding: 4px 16px calc(16px + var(--safe-b)); border-radius: 24px 24px 0 0; }
@media (min-width: 761px) { .sheet { border-radius: 24px; } }
.sheet h2 { font-size: 17px; font-weight: 700; }
.pickrow { min-height: 46px; padding: 6px 10px; border-radius: 13px; gap: 11px; }
.pickrow .t { font-size: 14px; font-weight: 600; } .pickrow .s { font-size: 11.5px; }
.pickrow .chk { width: 20px; height: 20px; }
.setpick { min-height: 44px; font-size: 13.5px; padding: 4px 12px; }
.setlist { border-radius: 16px; }
.modal { width: min(360px, 100%); padding: 18px; border-radius: 22px; } .modal h3 { font-size: 16px; } .modal p { font-size: 13.5px; }
.toast { height: 36px; font-size: 13px; padding: 0 14px; }

/* Räume */
.room { gap: 8px; }
.room-top { grid-template-columns: 36px 1fr 36px; }
.room-top .iconbtn { width: 36px; height: 36px; }
.rt-title .t { font-size: 14.5px; font-weight: 700; } .rt-title .s { font-size: 11px; }
.room-body { gap: clamp(7px, 1.3dvh, 12px); }
.room-body h1 { font-size: clamp(19px, 2.9dvh, 24px); font-weight: 750; }
.room.confirm h1 { font-size: clamp(22px, 3.6dvh, 28px); }
.avatar.lg { width: 64px; height: 64px; font-size: 23px; } .avatar.xl { width: 88px; height: 88px; font-size: 32px; }
.seat .nm { font-size: 13.5px; } .seats { gap: 10px; }
.vs { width: 30px; height: 30px; }
.microw, .rolebtn, .widen { min-height: 50px; padding: 7px 12px; border-radius: 15px; font-size: 13.5px; }
.roomcode { font-size: clamp(26px, 4.6dvh, 36px); padding: 9px 8px 9px 18px; border-radius: 16px; }
.searchart { width: clamp(150px, 26dvh, 220px); } .artwrap { width: clamp(130px, 22dvh, 190px); }
.radar.big { width: clamp(80px, 14dvh, 116px); }
.tipcard { padding: 10px 14px; border-radius: 15px; } .tipcard p { font-size: 13.5px; }
.fbgrid { border-radius: 15px; padding: 2px 12px; } .fbgrid .rate { font-size: 13px; padding: 5px 0; } .fbgrid .seg button { height: 26px; font-size: 12px; padding: 0 9px; }
.fbsum, .ratebox { border-radius: 15px; } .thumb { width: 40px; height: 40px; }
.cd-wrap { width: clamp(120px, 20dvh, 160px); } .countdown { font-size: clamp(72px, 12dvh, 104px); }
.cfgchips .chip { height: 28px; font-size: 12px; }

/* Anruf */
.call-name { font-size: clamp(24px, 3.8dvh, 32px); font-weight: 700; }
.call-sub { font-size: 13.5px; }
.orb-wrap { width: 150px; height: 150px; } .orb { width: 108px; height: 108px; font-size: 36px; }
.dock { padding: 8px 10px 22px; gap: 8px; border-radius: 30px; }
.dock .dbtn, .dock .dbtn.end { width: 48px; height: 48px; }
.call-head .pill { height: 26px; font-size: 12px; padding: 0 10px; }

/* Profil, Einstellungen */
.ios section.card { padding: 4px 14px; border-radius: 18px; }
.ios .setrow { min-height: 44px; padding: 7px 0; } .ios .setrow .t { font-size: 14px; } .ios .setrow .s { font-size: 12px; }
.stat .v { font-size: 19px; } .stat .l { font-size: 10.5px; }
.avatar { width: 44px; height: 44px; font-size: 16px; }

/* Anmeldung */
.authcard { width: min(380px, 100%); padding: 24px; gap: 13px; border-radius: 24px; }
.wordmark.xl { font-size: 32px; }
.authcard .lead { font-size: 14px; color: var(--ink-3); }
.authcard h2 { font-size: 18px; }
.linkbtn { border: 0; background: none; color: var(--acc-text); font-weight: 600; font-size: 12.5px; cursor: pointer; padding: 4px; align-self: center; }
.linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Goldene Details, sparsam */
.cft-ring circle { stroke: var(--gold); }
.timering .fgc { stroke: var(--gold); }
.pickrow.on .chk, .opt .chk { background: var(--acc); }
.welcome { padding: clamp(16px, 2.6dvh, 24px); gap: clamp(9px, 1.6dvh, 14px); border-radius: 26px; }
.welcome p.lead { font-size: 14px; color: var(--ink-3); }
.view.ios { max-width: 720px; }
@media (min-width: 761px) { .view.ios { margin-left: calc(var(--side) + max(0px, (100vw - var(--side) - 720px) / 2)); } }
:root[data-theme="dark"] .btn.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 92%, #fff), var(--acc) 60%); }


/* =====================================================================
   Closelyy V2 · Monochrome shell, native-feeling interaction
   ===================================================================== */
body.auth { background:#fff; color:#080808; }
body.auth::before, body.auth .ambient { display:none !important; }
body.auth .view { max-width:none; margin:0; padding:0; }
.auth-v2 { min-height:100dvh; background:#fff; color:#080808; display:flex; flex-direction:column; }
.auth-stage { width:min(1080px, calc(100% - 40px)); margin:auto; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(340px,.72fr); gap:clamp(48px,8vw,112px); align-items:center; padding:54px 0 30px; }
.auth-logo { display:inline-flex; align-items:center; gap:10px; font:800 29px/1 var(--font-display); letter-spacing:-.055em; color:#050505; }
.auth-logo span { width:7px; height:7px; border-radius:50%; background:#050505; }
.auth-intro h1, .verify-card h1 { color:#050505; font:760 clamp(44px,6vw,76px)/.98 var(--font-display); letter-spacing:-.062em; max-width:9ch; margin:14px 0 18px; }
.auth-intro p { max-width:48ch; color:#5d5d62; font-size:17px; line-height:1.55; }
.auth-kicker { margin-top:56px; font-size:12px; font-weight:760; letter-spacing:.13em; text-transform:uppercase; color:#77777c; }
.auth-proof { display:flex; flex-wrap:wrap; gap:9px; margin-top:28px; }
.auth-proof span { border:1px solid #e8e8ea; border-radius:999px; padding:8px 11px; font-size:12px; color:#55555a; background:#fafafa; }
.auth-panel, .verify-card { background:#fff; border:1px solid #e8e8ea; border-radius:30px; padding:22px; box-shadow:0 28px 70px -38px rgba(0,0,0,.28), 0 3px 10px rgba(0,0,0,.025); }
.auth-switch { background:#f2f2f4; border-radius:14px; padding:3px; display:grid; grid-template-columns:1fr 1fr; gap:3px; margin-bottom:18px; }
.auth-switch button { border:0; background:transparent; min-height:42px; border-radius:11px; font:650 13.5px/1 var(--font); color:#7b7b80; cursor:pointer; transition:transform .18s var(--spring),background .2s,color .2s,box-shadow .2s; }
.auth-switch button.on { background:#fff; color:#080808; box-shadow:0 1px 4px rgba(0,0,0,.08); }
.auth-switch button:active { transform:scale(.97); }
.auth-form { display:flex; flex-direction:column; gap:12px; }
.auth-field { display:flex; flex-direction:column; gap:7px; }
.auth-field > span { font-size:12px; font-weight:680; color:#3a3a3e; padding-left:2px; }
.auth-field input { width:100%; height:54px; border:1px solid #e2e2e5; border-radius:15px; background:#fafafa; color:#070707; padding:0 15px; font:500 16px/1 var(--font); outline:none; transition:border-color .18s,background .18s,box-shadow .18s,transform .18s; }
.auth-field input:focus { background:#fff; border-color:#9a9a9f; box-shadow:0 0 0 4px rgba(0,0,0,.055); }
.auth-field input::placeholder { color:#a3a3a8; }
.auth-consent { display:flex; align-items:flex-start; gap:10px; color:#66666b; font-size:12px; line-height:1.45; padding:3px 1px; }
.auth-consent input { margin-top:2px; accent-color:#000; }
.auth-consent a,.auth-footer a { color:#111; text-decoration:none; border-bottom:1px solid #d7d7da; }
.auth-primary { width:100%; min-height:56px; border:0; border-radius:17px; background:#050505; color:white; display:flex; align-items:center; justify-content:space-between; padding:0 13px 0 18px; font:680 15px/1 var(--font); cursor:pointer; text-decoration:none; transition:transform .2s var(--spring),box-shadow .2s,opacity .2s; box-shadow:0 10px 25px -15px rgba(0,0,0,.8); }
.auth-primary:hover { box-shadow:0 16px 34px -18px rgba(0,0,0,.72); }
.auth-primary:active { transform:scale(.975) translateY(1px); }
.auth-primary:disabled { opacity:.48; cursor:wait; }
.auth-arrow { width:32px; height:32px; border-radius:50%; background:#fff; color:#050505; display:grid; place-items:center; font-size:17px; }
.auth-link { border:0; background:none; color:#56565b; font:600 12.5px var(--font); cursor:pointer; padding:10px; margin:2px auto -5px; display:block; }
.auth-fine { text-align:center; color:#96969b; font-size:11.5px; margin:0; }
.auth-error { min-height:17px; color:#d83028; font-size:12px; margin:0; }
.auth-note { background:#f7f7f8; color:#55555a; border-radius:13px; padding:10px 12px; font-size:12px; margin-bottom:12px; }
.auth-footer { display:flex; gap:18px; justify-content:center; font-size:11.5px; color:#8b8b90; padding:0 16px 22px; }
.auth-v2.verify { align-items:center; justify-content:center; padding:24px; }
.verify-card { width:min(510px,100%); text-align:center; padding:30px; }
.verify-card .auth-logo { justify-content:center; }
.verify-card .auth-kicker { margin-top:26px; }
.verify-card h1 { max-width:none; font-size:clamp(30px,6vw,48px); margin:10px auto 14px; }
.verify-card > p { color:#66666b; line-height:1.55; max-width:43ch; margin:0 auto 20px; }
.verify-icon { width:74px; height:74px; margin:30px auto 0; border-radius:24px; background:#f3f3f4; display:grid; place-items:center; font-size:30px; transform:rotate(-3deg); }
.verify-code { text-align:left; border:1px solid #e5e5e7; background:#fafafa; border-radius:16px; padding:12px 12px 12px 14px; display:grid; grid-template-columns:1fr auto; gap:3px 10px; margin:0 0 12px; }
.verify-code span { grid-column:1/-1; color:#96969b; font-size:10px; text-transform:uppercase; letter-spacing:.1em; font-weight:700; }
.verify-code strong { align-self:center; font-size:13px; letter-spacing:.02em; overflow-wrap:anywhere; }
.verify-code button { border:0; background:#ececef; border-radius:10px; padding:8px 10px; font-size:11px; font-weight:650; cursor:pointer; }
.verify-wait { display:flex; align-items:center; justify-content:center; gap:9px; color:#77777c; font-size:12px; margin:16px 0 6px; }
.verify-wait i { width:8px; height:8px; border-radius:50%; background:#18a957; box-shadow:0 0 0 0 rgba(24,169,87,.35); animation:verifyPulse 1.5s infinite; }
@keyframes verifyPulse { 60% { box-shadow:0 0 0 8px rgba(24,169,87,0); } }
@media(max-width:760px){ .auth-stage{width:min(100% - 28px,520px);grid-template-columns:1fr;gap:28px;padding:28px 0}.auth-intro .auth-kicker{margin-top:42px}.auth-intro h1{font-size:clamp(40px,12vw,58px);max-width:10ch}.auth-intro p{font-size:15px}.auth-proof{display:none}.auth-panel{border-radius:26px;padding:18px}.auth-footer{padding-bottom:calc(18px + var(--safe-b))} }

/* Monochrome start shell */
.home-v2 { color:#0a0a0b; max-width:560px; margin:0 auto; width:100%; justify-content:flex-start; gap:14px; padding-top:2px; }
.home-v2 .wordmark { color:#050505; font-size:22px; }
.home-head { display:flex; align-items:center; justify-content:space-between; min-height:36px; }
.home-greeting { padding:12px 2px 4px; }
.home-date { display:block; color:#8b8b90; font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; margin-bottom:5px; }
.home-greeting h1 { color:#050505; font-size:clamp(32px,7vw,46px); line-height:1; letter-spacing:-.055em; font-weight:760; }
.home-greeting p { color:#7b7b80; margin-top:8px; font-size:14px; }
.train-card { background:#fff; border:1px solid #e8e8ea; border-radius:28px; padding:18px; box-shadow:0 24px 60px -40px rgba(0,0,0,.35); }
.train-label { display:flex; justify-content:space-between; align-items:center; color:#9a9a9f; font-size:10px; font-weight:760; letter-spacing:.12em; }
.train-label button { width:34px;height:34px;border:0;border-radius:50%;background:#f3f3f4;color:#333;display:grid;place-items:center;cursor:pointer; }
.train-copy { padding:10px 2px 16px; }
.train-copy h2 { color:#080808; font-size:24px; letter-spacing:-.04em; font-weight:730; }
.train-copy p { color:#77777c; font-size:12.5px; margin-top:4px; }
.train-choices { border-top:1px solid #ededee; border-bottom:1px solid #ededee; }
.train-choices > button { width:100%; min-height:58px; border:0; border-bottom:1px solid #ededee; background:transparent; display:flex; align-items:center; gap:11px; text-align:left; color:#111; padding:7px 2px; cursor:pointer; transition:transform .16s var(--spring),background .16s; }
.train-choices > button:last-child { border-bottom:0; }
.train-choices > button:active { transform:scale(.985); background:#fafafa; }
.train-choices small { display:block; color:#9a9a9f; font-size:10px; margin-bottom:2px; }
.train-choices strong { display:block; font-size:13.5px; font-weight:650; }
.home-icon { width:34px;height:34px;border-radius:11px;background:#f4f4f5;color:#111;display:grid;place-items:center;flex:none; }
.home-primary { width:100%; height:58px; margin-top:16px; border:0; border-radius:18px; background:#050505; color:#fff; display:flex; align-items:center; justify-content:space-between; padding:0 12px 0 19px; font:680 15px var(--font); cursor:pointer; box-shadow:0 12px 28px -18px #000; transition:transform .2s var(--spring),box-shadow .2s; }
.home-primary:active { transform:scale(.98) translateY(1px); }
.home-primary:disabled { opacity:.42; }
.go-dot { width:36px;height:36px;border-radius:50%;background:#fff;color:#050505;display:grid;place-items:center; }
.home-status { text-align:center; color:#9a9a9f; font-size:10.5px; margin:9px 0 -2px; min-height:15px; }
.home-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.home-actions > button, .home-resume { border:1px solid #e8e8ea; background:#fff; color:#111; border-radius:20px; min-height:74px; display:flex; align-items:center; gap:10px; padding:11px; text-align:left; cursor:pointer; transition:transform .2s var(--spring),box-shadow .2s,background .2s; box-shadow:0 10px 30px -26px rgba(0,0,0,.5); }
.home-actions > button:active,.home-resume:active { transform:scale(.975); background:#fafafa; }
.home-actions strong,.home-resume strong { font-size:12.5px; display:block; }
.home-actions small,.home-resume small { display:block; color:#99999e; font-size:10.5px; margin-top:2px; }
.home-actions > button > span:last-child { margin-left:auto; color:#777; }
.home-beta { font-size:9px !important; font-weight:760; letter-spacing:.09em; background:#111; color:#fff !important; border-radius:999px; padding:4px 6px; }
.home-resume { min-height:62px; width:100%; }
.home-resume > span:last-child { color:#666; font-size:11px; }
.home-lang { align-self:center; border:0; background:transparent; color:#8a8a8f; display:flex; align-items:center; gap:6px; padding:7px 10px; font:600 11px var(--font); cursor:pointer; }
@media(max-width:420px){ .home-actions{grid-template-columns:1fr}.home-actions>button{min-height:62px}.train-card{border-radius:25px;padding:16px}.home-greeting h1{font-size:36px} }

/* tactile feedback */
@media (pointer:coarse){ button,a,.pickrow,.setpick{ -webkit-tap-highlight-color:transparent; touch-action:manipulation; } }
