/* ==========================================================================
   Homebar — styles.css
   Layout concept: a party flyer, not a dashboard. Giant condensed headlines,
   warm quiet surfaces, lists on hairlines, one signal colour (Spritz) that
   always means "somebody is missing here / tap here". Planning happens in
   daylight (Warm White); party day switches the product to Night.
   ========================================================================== */

:root {
  /* Palette */
  --paper: #F6F3EE;      /* Warm White */
  --paper-2: #EDE8E0;    /* Soft Gray */
  --paper-3: #E2DCD2;
  --ink: #16130F;        /* Deep Black */
  --ink-2: #5A534B;
  --ink-3: #8F877C;
  --spritz: #FF5A1F;     /* the Homebar colour */
  --spritz-ink: #C4410F;
  --spritz-soft: #FFE4D6;
  --night: #100E0C;
  --night-2: #1C1915;
  --night-3: #2A2621;
  --ready: #2E9A5A;
  --pending: #E9A21B;

  /* Type */
  --f-display: "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-ui: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape & motion */
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-xl: 36px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Semantic tokens (day) */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --surface: var(--paper-2);
  --surface-2: var(--paper-3);
  --hair: rgba(22, 19, 15, .12);
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --accent-text: var(--spritz-ink);
  --open-bg: var(--spritz-soft);
  color-scheme: light;
}

/* Night: party day & party mode (a product state, not a system theme) */
.night {
  --bg: var(--night);
  --fg: #F6F3EE;
  --fg-2: #BDB5AA;
  --fg-3: #7D766C;
  --surface: var(--night-2);
  --surface-2: var(--night-3);
  --hair: rgba(246, 243, 238, .12);
  --btn-bg: #F6F3EE;
  --btn-fg: var(--night);
  --accent-text: #FF8A5C;
  --open-bg: rgba(255, 90, 31, .16);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { background: var(--paper); }
html.is-night, html.is-night body { background: var(--night); }
body {
  margin: 0;
  color: var(--ink);
  font: 400 16px/1.5 var(--f-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
a { color: inherit; }
p, h1, h2, h3, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2.5px solid var(--spritz); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Statische Startseite aus index.html: für Suchmaschinen und Browser ohne JavaScript.
   app.js ersetzt sie beim Start. Sichtbar wird sie erst, wenn die App nach 2,5 s
   noch nicht da ist, damit sie beim normalen Laden nicht kurz aufblitzt. */
.prerender { visibility: hidden; animation: prerender-show 0s 2.5s forwards; max-width: 760px; margin: 0 auto; padding: 20px 16px 64px; }
@keyframes prerender-show { to { visibility: visible; } }
.prerender__top { padding: 4px 0 40px; }
.prerender__brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 800 22px/1 var(--f-display); letter-spacing: -.05em; }
.prerender__brand::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--spritz); }
.prerender__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--spritz-ink); }
.prerender h1 { margin: 10px 0 16px; font: 800 clamp(40px, 10vw, 72px)/.96 var(--f-display); letter-spacing: -.05em; text-wrap: balance; }
.prerender h2 { margin: 48px 0 12px; font: 800 clamp(26px, 6vw, 36px)/1 var(--f-display); letter-spacing: -.04em; text-wrap: balance; }
.prerender h3 { margin: 16px 0 4px; font-size: 18px; }
.prerender p { margin-bottom: 12px; color: var(--ink-2); }
.prerender__lead { font-size: 20px; color: var(--ink) !important; }
.prerender__note { padding: 12px 16px; border-radius: 14px; background: var(--spritz-soft); color: var(--ink) !important; }
.prerender ol { list-style: decimal; padding-left: 22px; }
.prerender ul { list-style: disc; padding-left: 22px; color: var(--ink-2); }
.prerender__foot { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--paper-3); font-size: 14px; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.mega, .display-xl, .display-l, .display-m, .display-s {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.mega { font-size: clamp(38px, 10.8cqi, 112px); line-height: .94; letter-spacing: -.05em; }
.display-xl { font-size: clamp(36px, 8.4cqi, 64px); line-height: .98; }
.display-l { font-size: clamp(29px, 6.8cqi, 46px); line-height: 1; }
.display-m { font-size: clamp(23px, 5.6cqi, 32px); line-height: 1.04; letter-spacing: -.035em; }
.display-s { font-size: clamp(18px, 4.6cqi, 22px); line-height: 1.05; letter-spacing: -.025em; }
.label {
  font: 650 11.5px/1.2 var(--f-ui);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.muted { color: var(--fg-2); }
.tnum { font-variant-numeric: tabular-nums; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--fg-2); }
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--spritz); margin-right: 8px; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(255, 90, 31, .5);
  animation: livePulse 2.2s ease-out infinite;
}

/* --------------------------------------------------------------------------
   Brand
   -------------------------------------------------------------------------- */
.mark { flex: none; color: currentColor; display: block; }
.mark__bulb { fill: var(--spritz); }
.wordmark { display: inline-flex; align-items: center; gap: .32em; color: inherit; text-decoration: none; }
.wordmark__text {
  font-family: var(--f-display); font-weight: 800;
  font-size: 1.16em; letter-spacing: -.05em; line-height: 1;
}

/* --------------------------------------------------------------------------
   Buttons & controls
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font: 700 13.5px/1 var(--f-ui); letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform .16s var(--ease-out), background-color .2s, box-shadow .2s, color .2s, opacity .2s;
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .35; }
.btn__arr { display: inline-flex; transition: transform .25s var(--ease-out); }
.btn:hover:not(:disabled) .btn__arr { transform: translateX(4px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--accent { background: var(--spritz); color: var(--ink); }
.btn--accent:hover:not(:disabled) { box-shadow: 0 10px 30px rgba(255, 90, 31, .35); }
.btn--line { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--soft { background: var(--surface); color: var(--fg); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 12px; gap: 8px; }
.btn--block { width: 100%; }
.btn__label { overflow: hidden; text-overflow: ellipsis; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: transparent; color: var(--fg);
  transition: background-color .2s;
}
.icon-btn:hover { background: var(--surface); }
.icon-btn__badge { position: absolute; top: 10px; right: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--spritz); box-shadow: 0 0 0 2px var(--bg); }

.link-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
  border: 0; background: none; font-weight: 650; font-size: 14px; color: var(--fg);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--hair);
}
.link-btn:hover { text-decoration-color: currentColor; }
.backlink {
  display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 4px -4px; padding: 8px 4px;
  border: 0; background: none; font-weight: 600; font-size: 14px; color: var(--fg-2);
}

.btn-claim {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  height: 36px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--spritz); color: var(--ink);
  font: 700 12px/1 var(--f-ui); letter-spacing: .08em; text-transform: uppercase;
  transition: transform .16s var(--ease-out), box-shadow .2s;
}
.btn-claim:hover { box-shadow: 0 6px 18px rgba(255, 90, 31, .35); }
.btn-claim:active { transform: scale(.94); }
.btn-claim--lg { height: 44px; padding: 0 18px; }
.btn-claim--static { pointer-events: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 15px; border: 0; border-radius: 999px;
  background: var(--surface); color: var(--fg);
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: background-color .2s, color .2s, transform .16s var(--ease-out);
}
.chip:active { transform: scale(.96); }
.chip.is-on { background: var(--fg); color: var(--bg); }
.chip__n { font-size: 12px; opacity: .6; }
.chip--lg { height: 48px; padding: 0 20px; font-size: 16px; }
.chip--input { padding: 0 12px; }
.chip--input input { border: 0; background: transparent; font-weight: 600; width: 96px; color: inherit; }
.chip--input.is-on input { color: var(--bg); color-scheme: dark; }

.input, .big-input, textarea {
  width: 100%; border: 0; border-radius: 16px; background: var(--surface); color: var(--fg);
  padding: 0 16px; height: 52px; font-size: 16px; outline: none;
  box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s;
}
.input:focus, .big-input:focus, textarea:focus { box-shadow: inset 0 0 0 2px var(--fg); }
.input--lg { height: 58px; font-size: 18px; font-weight: 600; }
.big-input { height: 68px; font-size: 24px; font-weight: 650; border-radius: 20px; padding: 0 20px; }
.is-error, .is-error:focus { box-shadow: inset 0 0 0 2px var(--spritz); }
.field-error { margin-top: 10px; color: var(--accent-text); font-weight: 600; font-size: 14px; }
.input-wrap { position: relative; }
.input-wrap > .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--fg-2); pointer-events: none; }
.input-wrap .input { padding-left: 46px; }
textarea { height: auto; padding: 14px 16px; resize: vertical; line-height: 1.45; }

.switches { display: flex; flex-direction: column; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hair); cursor: pointer; }
.switch-row b { display: block; font-weight: 650; }
.switch-row small { display: block; color: var(--fg-2); font-size: 13.5px; }
.switch {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 52px; height: 32px; border-radius: 999px; background: var(--surface-2); position: relative;
  transition: background-color .25s; cursor: pointer; margin: 0;
}
.switch::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); transition: transform .3s var(--ease-spring);
}
.switch:checked { background: var(--fg); }
.switch:checked::after { transform: translateX(20px); }
.switch:disabled { opacity: .4; }

.range {
  --p: 50%;
  appearance: none; -webkit-appearance: none; width: 100%; height: 36px; background: transparent; margin: 0;
}
.range::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--fg) var(--p), var(--surface-2) var(--p)); }
.range::-moz-range-track { height: 10px; border-radius: 999px; background: var(--surface-2); }
.range::-moz-range-progress { height: 10px; border-radius: 999px; background: var(--fg); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%;
  background: var(--spritz); border: 4px solid var(--bg); box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--spritz); border: 4px solid var(--bg); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.range--xl { height: 48px; }
.range--xl::-webkit-slider-runnable-track { height: 14px; }
.range--xl::-webkit-slider-thumb { width: 40px; height: 40px; margin-top: -13px; }
.range--xl::-moz-range-track, .range--xl::-moz-range-progress { height: 14px; }
.range--xl::-moz-range-thumb { width: 32px; height: 32px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--surface); color: var(--fg); font-size: 12px; font-weight: 650; white-space: nowrap;
}
.tag--accent { background: var(--open-bg); color: var(--accent-text); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

.demo-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px;
  border: 1.5px dashed var(--fg-3); border-radius: 14px; background: transparent; color: var(--fg);
  font-weight: 600; font-size: 14px;
}
.demo-btn__tag { font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: var(--fg); color: var(--bg); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  border-radius: 999px; font-size: 13px; font-weight: 650;
}
.pill .live-dot { margin-right: 2px; }
.pill--glass { background: rgba(16, 12, 9, .42); color: #F6F3EE; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }

/* --------------------------------------------------------------------------
   Avatars & status
   -------------------------------------------------------------------------- */
.av {
  --s: 36px;
  width: var(--s); height: var(--s); border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  background: var(--tone, var(--surface)); color: var(--ink);
  font: 800 calc(var(--s) * .44)/1 var(--f-display); letter-spacing: -.035em;
  user-select: none;
}
.tone-1 { --tone: #F7C3A1; } .tone-2 { --tone: #E9BED0; } .tone-3 { --tone: #BCD3E8; } .tone-4 { --tone: #EAD8A6; }
.tone-5 { --tone: #C7D9BE; } .tone-6 { --tone: #D3C9EA; } .tone-7 { --tone: #DDB8A0; } .tone-8 { --tone: #B7DCD3; }
.av--me { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--spritz); }
.av--empty { background: transparent; box-shadow: inset 0 0 0 2px var(--fg-3); }
.av--more { background: var(--surface); color: var(--fg); font: 700 calc(var(--s) * .34)/1 var(--f-ui); }
.av--fly { position: absolute; left: 0; top: 0; z-index: 5; box-shadow: 0 0 0 2px #fff, 0 10px 24px rgba(0, 0, 0, .3); will-change: transform; }
.avstack { display: inline-flex; align-items: center; }
.avstack .av { box-shadow: 0 0 0 2px var(--bg); }
.avstack .av + .av { margin-left: calc(var(--s) * -.28); }
.avstack .av--me { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--spritz); }
.atmos .avstack .av { box-shadow: 0 0 0 2px rgba(18, 11, 7, .92); }

.check {
  --s: 28px;
  width: var(--s); height: var(--s); flex: none; border-radius: 50%;
  display: inline-grid; place-items: center;
  box-shadow: inset 0 0 0 2px var(--fg-3);
  transition: background-color .25s, box-shadow .25s, transform .35s var(--ease-spring);
}
.check svg { width: 66%; height: 66%; fill: none; stroke: var(--bg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .32s .06s var(--ease-out); }
.check.is-on { background: var(--fg); box-shadow: inset 0 0 0 2px var(--fg); }
.check.is-on svg { stroke-dashoffset: 0; }
.tick:active .check { transform: scale(.88); }
.pending {
  width: 26px; height: 26px; flex: none; border-radius: 50%; display: inline-block;
  border: 2px dashed var(--fg-3); animation: spin 16s linear infinite;
}
.sdot { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; }
.sdot--ready { background: var(--ready); }
.sdot--pending { background: var(--pending); }
.sdot--missing { background: var(--spritz); box-shadow: 0 0 0 4px rgba(255, 90, 31, .2); }
.effort { display: inline-flex; gap: 3px; vertical-align: middle; }
.effort i { width: 7px; height: 7px; border-radius: 50%; background: var(--surface-2); }
.effort i.on { background: var(--fg); }

.status-pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.status-pill--done { background: var(--fg); color: var(--bg); }
.status-pill--claimed { background: var(--surface); color: var(--fg); }
.status-pill--open { background: var(--open-bg); color: var(--accent-text); }

/* Task bar: one segment per task */
.segbar { display: flex; gap: 3px; height: 8px; margin-top: 18px; }
.segbar--lg { height: 12px; gap: 4px; }
.seg { flex: 1; min-width: 0; border-radius: 3px; background: var(--surface-2); transition: background-color .45s var(--ease-out), box-shadow .45s; }
.seg--done { background: var(--fg); }
.seg--claimed { background: repeating-linear-gradient(-45deg, var(--fg-3) 0 2px, transparent 2px 5px), var(--surface-2); }
.seg--open { background: transparent; box-shadow: inset 0 0 0 1.5px var(--spritz); }
.seglegend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: var(--fg-2); font-weight: 550; }
.seglegend span { display: inline-flex; align-items: center; gap: 7px; }
.seglegend .seg { flex: none; width: 14px; height: 10px; display: inline-block; }

.bignum {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(72px, 21cqi, 120px); line-height: .82; letter-spacing: -.055em;
  font-variant-numeric: tabular-nums; display: inline-flex; align-items: flex-start;
}
.bignum__unit { font-size: .42em; margin: .08em 0 0 .04em; color: var(--spritz); }

/* --------------------------------------------------------------------------
   Atmosphere — photography slot (bokeh, festoon lights, grain)
   -------------------------------------------------------------------------- */
.atmos {
  --a-base: linear-gradient(170deg, #3b1d0f 0%, #170d08 58%, #0d0907 100%);
  --a1: 255 176 96; --a2: 255 112 52; --a3: 255 226 170; --a4: 255 84 30;
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--a-base); color: #F6F3EE;
}
/* Sommer ausdrücklich, damit auch einzelne Farbflächen (z. B. .vibe__swatch) ohne .atmos die Farben haben */
.atmos--summer { --a-base: linear-gradient(170deg, #3b1d0f 0%, #170d08 58%, #0d0907 100%); --a1: 255 176 96; --a2: 255 112 52; --a3: 255 226 170; --a4: 255 84 30; }
.atmos--party { --a-base: linear-gradient(170deg, #3a0f20 0%, #160810 58%, #0c060a 100%); --a1: 255 96 140; --a2: 255 128 64; --a3: 255 214 196; --a4: 255 56 110; }
.atmos--elegant { --a-base: linear-gradient(170deg, #1d1f27 0%, #0f1015 60%, #09090c 100%); --a1: 238 206 150; --a2: 206 172 120; --a3: 255 242 214; --a4: 120 140 200; }
.atmos--wild { --a-base: linear-gradient(170deg, #3d0c08 0%, #170605 58%, #0e0404 100%); --a1: 255 72 40; --a2: 255 150 40; --a3: 255 212 120; --a4: 255 40 90; }
.atmos--cozy { --a-base: linear-gradient(170deg, #2e1b0c 0%, #140c06 60%, #0c0805 100%); --a1: 255 170 80; --a2: 232 120 50; --a3: 255 216 150; --a4: 190 96 40; }
.atmos--chill { --a-base: linear-gradient(170deg, #1d2432 0%, #0f131b 60%, #0a0c11 100%); --a1: 255 190 150; --a2: 150 182 232; --a3: 255 232 204; --a4: 110 140 204; }
.atmos--afterwork { --a-base: linear-gradient(170deg, #2e1620 0%, #140a0f 60%, #0d080b 100%); --a1: 255 140 110; --a2: 255 182 92; --a3: 255 222 204; --a4: 232 90 120; }
.atmos--morning { --a-base: linear-gradient(175deg, #FCE3CC 0%, #F8EBDD 45%, #F6F3EE 100%); --a1: 255 186 132; --a2: 255 150 100; --a3: 255 255 255; --a4: 255 206 160; color: var(--ink); }

.atmos__bokeh {
  position: absolute; inset: -8%; z-index: 0;
  background:
    radial-gradient(circle at 12% 80%, rgb(var(--a1) / .8) 0 2.1%, rgb(var(--a1) / 0) 5.5%),
    radial-gradient(circle at 24% 58%, rgb(var(--a3) / .55) 0 1.3%, rgb(var(--a3) / 0) 4%),
    radial-gradient(circle at 40% 86%, rgb(var(--a2) / .6) 0 3%, rgb(var(--a2) / 0) 7.5%),
    radial-gradient(circle at 63% 68%, rgb(var(--a1) / .5) 0 2.4%, rgb(var(--a1) / 0) 6.5%),
    radial-gradient(circle at 81% 84%, rgb(var(--a3) / .65) 0 1.7%, rgb(var(--a3) / 0) 4.8%),
    radial-gradient(circle at 91% 56%, rgb(var(--a2) / .45) 0 3.4%, rgb(var(--a2) / 0) 8.5%),
    radial-gradient(circle at 70% 36%, rgb(var(--a3) / .35) 0 1.2%, rgb(var(--a3) / 0) 3.5%),
    radial-gradient(circle at 52% 44%, rgb(var(--a4) / .32) 0 5%, rgb(var(--a4) / 0) 17%),
    radial-gradient(ellipse 90% 60% at 50% 115%, rgb(var(--a2) / .6), rgb(var(--a2) / 0) 70%);
  filter: blur(2.5px);
  animation: drift 24s ease-in-out infinite alternate;
}
.atmos--morning .atmos__bokeh { opacity: .7; filter: blur(14px); }
.atmos__lights { position: absolute; left: 0; right: 0; top: 0; height: 72%; z-index: 1; pointer-events: none; }
.festoon { display: block; width: 100%; height: 100%; }
.festoon__glow { animation: flicker 5.2s ease-in-out infinite; }
.atmos::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(130% 90% at 50% 30%, transparent 45%, rgba(0, 0, 0, .45) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(8, 5, 3, .72) 100%);
}
.atmos--morning::after { background: linear-gradient(180deg, transparent 50%, rgba(246, 243, 238, .6)); }
.atmos__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .28; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.atmos__content { position: relative; z-index: 2; height: 100%; }

/* --------------------------------------------------------------------------
   Ticket
   -------------------------------------------------------------------------- */
.ticket {
  --x: calc(100% - 92px);
  position: relative; display: flex; width: 100%; text-align: left;
  border: 0; border-radius: 22px; padding: 0; color: var(--fg);
  background: var(--surface);
  -webkit-mask: radial-gradient(circle at var(--x) 0, #0000 11px, #000 11.5px) top / 100% 51% no-repeat, radial-gradient(circle at var(--x) 100%, #0000 11px, #000 11.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at var(--x) 0, #0000 11px, #000 11.5px) top / 100% 51% no-repeat, radial-gradient(circle at var(--x) 100%, #0000 11px, #000 11.5px) bottom / 100% 51% no-repeat;
}
button.ticket { transition: transform .2s var(--ease-out); }
button.ticket:active { transform: scale(.985); }
.ticket::after { content: ''; position: absolute; left: var(--x); top: 16px; bottom: 16px; border-left: 2px dashed var(--hair); }
.ticket--dark { background: var(--ink); color: var(--paper); --hair: rgba(246, 243, 238, .2); }
.ticket--dark .label { color: rgba(246, 243, 238, .6); }
.ticket__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 20px 20px; }
.ticket__title { font: 800 21px/.98 var(--f-display); letter-spacing: -.035em; margin: 4px 0 4px; text-wrap: balance; }
.ticket__meta { font-size: 14px; color: var(--fg-2); font-weight: 550; }
.ticket--dark .ticket__meta { color: rgba(246, 243, 238, .7); }
.ticket__stub { width: 92px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.ticket__big { font: 800 33px/1 var(--f-display); letter-spacing: -.035em; }
.ticket--compact .ticket__main { padding: 16px 18px; }
.ticket--compact .ticket__title { font-size: 21px; }
.ticket--compact { --x: calc(100% - 70px); }
.ticket--compact .ticket__stub { width: 70px; }
.ticket--compact .ticket__big { font-size: 30px; }

/* --------------------------------------------------------------------------
   Sections, lists, empty & loading states
   -------------------------------------------------------------------------- */
.sec { margin-top: 44px; }
.sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.sechead__sub { display: flex; align-items: center; margin-top: 8px; font-size: 14px; color: var(--fg-2); }
.sechead .link-btn { flex: none; font-size: 13.5px; }
.list { display: flex; flex-direction: column; }
.more-btn { width: 100%; margin-top: 8px; padding: 14px; border: 0; border-radius: 14px; background: var(--surface); color: var(--fg); font-weight: 650; font-size: 14px; }

.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px 0 12px; }
.empty__art { width: 132px; color: var(--fg); }
.empty__art svg { width: 100%; height: auto; overflow: visible; }
.empty__text { max-width: 34ch; color: var(--fg-2); }
.empty__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ea-line { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.ea-dash { fill: none; stroke: var(--spritz); stroke-width: 2.5; stroke-dasharray: 5 6; stroke-linecap: round; }
.ea-fill { fill: currentColor; }
.ea-cut { stroke: var(--spritz); stroke-width: 3; stroke-linecap: round; }
.ea-t1 { fill: #F7C3A1; } .ea-t2 { fill: #BCD3E8; } .ea-t3 { fill: #C7D9BE; }
.ea-ok { fill: var(--fg); }
.ea-okline { fill: none; stroke: var(--bg); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.shimmer { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
.shimmer--dark { background: linear-gradient(100deg, #1c1915 30%, #2a2621 50%, #1c1915 70%); background-size: 300% 100%; }
.skel { padding: 12px 0; display: flex; flex-direction: column; gap: 16px; }
.skel__hero { height: 300px; border-radius: var(--r-lg); }
.skel__row { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.skel__big { width: 150px; height: 110px; border-radius: 18px; }
.skel__col { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.skel__line { height: 14px; border-radius: 8px; }
.skel__line--sm { height: 10px; }
.skel__bar { height: 12px; border-radius: 6px; }
.skel__task { display: flex; align-items: center; gap: 14px; padding: 8px 0; }
.skel__ico { width: 46px; height: 46px; border-radius: 15px; flex: none; }

/* --------------------------------------------------------------------------
   Task row — the core object
   -------------------------------------------------------------------------- */
.trow { position: relative; border-bottom: 1px solid var(--hair); max-height: 220px; }
.trow__clip { position: relative; overflow: hidden; }
.trow__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 12px 0; background: var(--bg); cursor: pointer; touch-action: pan-y; user-select: none;
  transition: transform .32s var(--ease-out);
}
.trow__inner.is-dragging { transition: none; }
.trow__ico { width: 46px; height: 46px; border-radius: 15px; background: var(--surface); display: grid; place-items: center; font-size: 23px; line-height: 1; transition: background-color .3s, box-shadow .3s; }
.trow--open .trow__ico { background: var(--open-bg); box-shadow: inset 0 0 0 1.5px rgba(255, 90, 31, .4); }
.trow__main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.trow__name { font-weight: 650; font-size: 16px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trow__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: 13.5px; color: var(--fg-2); line-height: 1.3; }
.trow__sep { opacity: .5; }
.trow__who { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); font-weight: 600; }
.trow__who .av { --s: 20px; }
.trow__who--none { color: var(--accent-text); font-weight: 650; }
.trow__end { display: flex; align-items: center; justify-content: flex-end; min-width: 36px; }
.tick { display: inline-grid; place-items: center; padding: 8px; margin: -8px; border: 0; background: none; border-radius: 50%; }
.trow.is-mine .trow__inner::before { content: ''; position: absolute; left: -16px; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--spritz); opacity: 0; }
.trow__under {
  position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 18px;
  font-size: 12.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; background: var(--surface);
}
.trow__under span { display: inline-flex; align-items: center; gap: 8px; }
.trow__clip[data-dir="done"] .trow__under { background: var(--fg); color: var(--bg); }
.trow__clip[data-dir="done"] .trow__under-cant { opacity: 0; }
.trow__clip[data-dir="cant"] .trow__under { background: var(--spritz); color: var(--ink); }
.trow__clip[data-dir="cant"] .trow__under-done { opacity: 0; }
.trow__claimed { display: flex; align-items: center; gap: 8px; padding: 0 0 12px 60px; font-size: 14px; font-weight: 650; animation: popIn .45s var(--ease-spring) both; }
.trow.is-claimed .trow__ico { background: var(--fg); }
.trow.is-leaving { animation: rowOut .45s var(--ease-out) forwards; overflow: hidden; }
.list--tight .trow__inner { padding: 8px 0; }
.list--open .trow__inner { padding: 16px 0; }

/* --------------------------------------------------------------------------
   Feed
   -------------------------------------------------------------------------- */
.feed { display: flex; flex-direction: column; }
.feed__item { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 14.5px; }
.feed__item p { min-width: 0; color: var(--fg-2); }
.feed__item b { color: var(--fg); font-weight: 650; }
.feed__item time { font-size: 12.5px; color: var(--fg-3); white-space: nowrap; }
.feed__item.is-fresh { animation: feedIn .6s var(--ease-out) both; }

/* --------------------------------------------------------------------------
   App frame: stage, device, screen
   -------------------------------------------------------------------------- */
.stage { min-height: 100%; }
.screen { position: relative; min-height: 100vh; background: var(--bg); color: var(--fg); }
.app-scroll { container: app / inline-size; min-height: 100vh; }
.route { animation: routeIn .45s var(--ease-out) both; }
.fx-layer { position: fixed; inset: 0; z-index: 140; pointer-events: none; }
.burst { position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--spritz); }
.burst--alt { background: var(--fg); }
.statusbar, .home-indicator { display: none; }

/* Framed: phone on a dark stage for reviewing the mobile-first design */
.stage.is-framed {
  position: fixed; inset: 0; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  gap: clamp(24px, 4vw, 72px); padding: 24px clamp(20px, 3vw, 48px);
  background: radial-gradient(55% 70% at 50% 45%, #2b1a0f 0%, #120e0b 62%, #0b0907 100%);
  color: #F6F3EE;
}
.stage.is-framed .device {
  grid-column: 2; grid-row: 1; width: 414px; height: min(876px, calc(100vh - 48px));
  padding: 12px; border-radius: 62px; background: #050404;
  box-shadow: 0 0 0 1.5px #3b342d, inset 0 0 0 1px #221d18, 0 50px 120px rgba(0, 0, 0, .65);
}
.stage.is-framed .screen { width: 390px; height: 100%; min-height: 0; border-radius: 50px; overflow: hidden; transform: translateZ(0); }
.stage.is-framed .app-scroll { position: absolute; inset: 48px 0 0 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.stage.is-framed .app-scroll::-webkit-scrollbar { display: none; }
.stage.is-framed .statusbar {
  display: flex; position: absolute; z-index: 60; top: 0; left: 0; right: 0; height: 48px;
  align-items: center; justify-content: space-between; padding: 6px 32px 0 36px;
  background: var(--bg); color: var(--fg); font: 650 15px/1 var(--f-ui);
}
.statusbar__island { position: absolute; left: 50%; top: 11px; width: 118px; height: 33px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.statusbar__icons { display: flex; gap: 5px; align-items: flex-end; }
.statusbar__icons i { width: 4px; border-radius: 1px; background: currentColor; }
.statusbar__icons i:nth-child(1) { height: 6px; } .statusbar__icons i:nth-child(2) { height: 9px; } .statusbar__icons i:nth-child(3) { height: 12px; width: 20px; border-radius: 3px; margin-left: 3px; }
.stage.is-framed .home-indicator { display: block; position: absolute; z-index: 160; bottom: 8px; left: 50%; width: 134px; height: 5px; border-radius: 3px; background: var(--fg); opacity: .8; transform: translateX(-50%); pointer-events: none; }
.stage.is-framed .toasts { top: 56px; }
.stage.is-framed .tabbar { bottom: 22px; }
.stage.is-framed .sheet { padding-bottom: 34px; }

.proto { position: fixed; z-index: 300; right: 16px; bottom: 16px; display: flex; gap: 8px; align-items: center; }
.proto__seg { display: flex; padding: 4px; border-radius: 999px; background: #16130F; box-shadow: 0 8px 30px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.proto__seg button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: rgba(246, 243, 238, .65); font-size: 13px; font-weight: 650; }
.proto__seg button.is-on { background: #F6F3EE; color: #16130F; }
/* Consent banner (Google Analytics nur nach Einwilligung) */
.consent {
  position: fixed; z-index: 180; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  max-width: 520px; margin: 0 auto; padding: 16px; border-radius: 22px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 20px 60px rgba(22, 19, 15, .3), inset 0 0 0 1px rgba(22, 19, 15, .08);
  animation: toastIn .5s .4s var(--ease-out) both;
}
.stage.is-framed .consent { bottom: 24px; }
.consent__text { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.consent__text b { color: var(--ink); }
.consent__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.consent .btn { --btn-bg: var(--ink); --btn-fg: var(--paper); }

/* --------------------------------------------------------------------------
   Liste anpassen (Schritt 6), Veröffentlichen (Schritt 7), Konto
   -------------------------------------------------------------------------- */
.elist { display: flex; flex-direction: column; }
.egroup { margin-top: 22px; }
.egroup:first-of-type { margin-top: 4px; }
.erow { display: grid; grid-template-columns: 40px minmax(0, 1fr) 36px; grid-template-areas: "ico main rm" "ico qty rm"; align-items: center; gap: 6px 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); animation: popIn .35s var(--ease-out) both; }
.erow__ico { grid-area: ico; align-self: start; }
.erow__main { grid-area: main; }
.erow .stepper, .erow__qty { grid-area: qty; justify-self: start; }
.erow__rm { grid-area: rm; }
.erow__ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--surface); font-size: 20px; }
.erow__main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.erow__name { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.erow__meta { font-size: 12.5px; color: var(--fg-2); }
.erow__qty { font-size: 13.5px; font-weight: 600; color: var(--fg-2); }
.erow__rm { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--fg-3); transition: background-color .2s, color .2s; }
.erow__rm:hover { background: var(--open-bg); color: var(--accent-text); }
.erow--removed { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: none; opacity: .7; }
.erow--removed > * { grid-area: auto; }
.erow--removed .erow__name { text-decoration: line-through; }
.stepper { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface); }
.stepper button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--bg); color: var(--fg); font-size: 18px; font-weight: 600; line-height: 1; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); transition: transform .12s var(--ease-out); }
.stepper button:active:not(:disabled) { transform: scale(.9); }
.stepper button:disabled { opacity: .35; }
.stepper__v { min-width: 72px; text-align: center; font-size: 13px; font-weight: 650; white-space: nowrap; }
.eadd { margin-top: 18px; }
.eadd__open { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border: 1.5px dashed var(--fg-3); border-radius: 16px; background: none; color: var(--fg); font-weight: 650; }
.eadd__open:hover { border-color: var(--fg); }
.eadd__form { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--r-md); background: var(--surface); animation: popIn .3s var(--ease-out) both; }
.eadd__form .input { background: var(--bg); }
.eadd__form .chip { background: var(--bg); }
.eadd__form .chip.is-on { background: var(--fg); }
.eadd__row { display: flex; justify-content: flex-end; gap: 8px; }
.esugg { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.chip--add { background: transparent; box-shadow: inset 0 0 0 1.5px var(--hair); }
.chip--add:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.eremoved { margin-top: 14px; }

.publish { display: flex; flex-direction: column; gap: 22px; }
.publish .big-input { font-family: var(--f-display); font-weight: 800; font-size: 25px; letter-spacing: -.035em; }
.hint { margin-top: 8px; font-size: 13.5px; color: var(--fg-2); }
.pubsum { display: flex; flex-direction: column; border-top: 1px solid var(--hair); }
.pubsum li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-weight: 600; }
.pubsum li span { min-width: 0; }
.pubsum .link-btn { flex: none; font-size: 13px; color: var(--fg-2); }
.pubacc { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-md); background: var(--surface); }
.pubacc__txt { flex: 1; min-width: 0; }
.pubacc__txt small { color: var(--fg-2); overflow-wrap: anywhere; }
.authbox { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); }
.authbox__intro { display: flex; flex-direction: column; gap: 8px; }
.authbox__intro p { color: var(--fg-2); font-size: 14.5px; }
.authbox__field { display: flex; flex-direction: column; gap: 8px; }
.authbox .input { background: var(--bg); }
.account__form .authbox, .account .authbox { background: transparent; padding: 0; }
.account__form .authbox .input { background: var(--surface); }
.seg-toggle { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--surface-2); }
.seg-toggle button { height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--fg-2); font-weight: 650; font-size: 14px; transition: background-color .2s, color .2s; }
.seg-toggle button.is-on { background: var(--bg); color: var(--fg); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.account .seg-toggle { background: var(--surface); }
.account .seg-toggle button.is-on { background: var(--fg); color: var(--bg); }
.input-wrap--end .input { padding-right: 96px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--fg-2); font-size: 13px; font-weight: 650; }
.pw-toggle:hover { background: var(--surface-2); color: var(--fg); }
.callout--warn { background: var(--open-bg); color: var(--fg); }
.callout--warn .ico { color: var(--accent-text); flex: none; }
.account__form { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.account__stats { display: flex; margin-top: 18px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.account__stats div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 16px 0; }
.account__stats div + div { padding-left: 16px; border-left: 1px solid var(--hair); }
.account__stats b { font: 800 28px/1 var(--f-display); letter-spacing: -.035em; }
.account__stats span { font-size: 11px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-2); }
.account__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.parties__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.tsheet__edit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hair); }
.link-btn--danger { color: var(--accent-text); }
.confirm--danger { margin-top: 18px; background: var(--open-bg); }
.sheet-sub { margin: 8px 0 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-row > div { display: flex; flex-direction: column; gap: 10px; }
.lp-nav__acc { font-size: 14px; }

/* Konto: Bestätigungs-Hinweis, Passwort vergessen */
.verify-banner { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; align-items: start; margin-top: 18px; padding: 14px 16px; border-radius: var(--r-md); background: var(--open-bg); }
.verify-banner__ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--spritz); color: var(--ink); }
.verify-banner__txt { font-size: 14px; line-height: 1.45; }
.verify-banner__ok { margin-top: 6px; font-weight: 650; }
.verify-banner .link-btn { grid-column: 2; justify-self: start; font-size: 13.5px; }
.verify-banner--compact { margin-top: 20px; }
.authbox__forgot { align-self: flex-start; font-size: 13px; color: var(--fg-2); }
.errscreen--inline { min-height: 0; padding: 32px 0; }

/* Bild der Party & Ablauf bearbeiten */
.atmos__photo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.atmos--photo .atmos__grain { opacity: .12; }
.atmos--photo::after { background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 45%, rgba(8, 5, 3, .74) 100%); }
.pill--btn { border: 0; cursor: pointer; margin-left: auto; font-family: var(--f-ui); transition: background-color .2s; }
.pill--btn:hover { background: rgba(16, 12, 9, .6); }
.party-cover { height: 180px; border-radius: var(--r-lg); margin-top: 6px; }
.party-cover .atmos__content { display: flex; align-items: flex-start; justify-content: flex-end; padding: 12px; }
.party-cover + .ticket { margin-top: 12px; }
.cover-edit { display: flex; flex-direction: column; gap: 12px; }
.cover-preview { aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--r-lg); margin: 4px 0 6px; }
.cover-preview .atmos__content { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 16px; }
.cover-preview__meta { font-size: 13px; font-weight: 600; color: rgba(246, 243, 238, .85); }
.cover-preview__title { font: 800 25px/.98 var(--f-display); letter-spacing: -.035em; color: #F6F3EE; }
.cover-edit__upload { display: flex; flex-direction: column; gap: 8px; }
.cover-edit__upload label.btn { cursor: pointer; }
.cover-edit .hint { margin-top: 0; }
.cover-looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.cover-look { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none; color: var(--fg); font-size: 13px; font-weight: 650; text-align: left; }
.cover-look__img { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 14px; transition: box-shadow .2s; }
.cover-look.is-on .cover-look__img { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--spritz); }
.tl-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; margin-top: 10px; border-radius: var(--r-md); background: var(--surface); color: var(--fg-2); }
.tl-edit { display: flex; flex-direction: column; gap: 10px; }
.tl-edit__empty { padding: 16px; border-radius: var(--r-md); background: var(--surface); color: var(--fg-2); font-size: 14px; }
.tl-edit__list { display: flex; flex-direction: column; }
.tl-row { padding: 10px 0; border-bottom: 1px solid var(--hair); animation: popIn .3s var(--ease-out) both; }
.tl-row__main { display: grid; grid-template-columns: 76px 44px minmax(0, 1fr) 36px; gap: 8px; align-items: start; }
.tl-row__time { min-width: 0; height: 44px; padding: 0 8px; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; }
.tl-row__time::-webkit-calendar-picker-indicator { display: none; }
.tl-row__emoji { width: 44px; height: 44px; border: 0; border-radius: 14px; background: var(--surface); font-size: 22px; line-height: 1; }
.tl-row__emoji[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--fg); }
.tl-row__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tl-row__txt .input { height: 44px; }
.input--sm { height: 38px !important; font-size: 14px; }
.tl-row .erow__rm { grid-area: auto; margin-top: 4px; }
.tl-emojis { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 4px; margin-top: 8px; padding: 8px; border-radius: 14px; background: var(--surface); animation: popIn .25s var(--ease-out) both; }
.tl-emojis button { height: 40px; border: 0; border-radius: 10px; background: transparent; font-size: 20px; }
.tl-emojis button:hover { background: var(--bg); }
.tl-emojis button.is-on { background: var(--fg); }
.tl-edit__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 4px; }
@container (max-width: 380px) {
  .tl-row__main { grid-template-columns: 70px 40px minmax(0, 1fr) 32px; gap: 6px; }
  .tl-row__emoji { width: 40px; }
}

/* Offline banner */
.offline { position: sticky; top: 0; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--fg); color: var(--bg); font-size: 14px; }
.offline p { flex: 1; min-width: 0; }
.offline .link-btn { color: var(--bg); text-decoration-color: currentColor; }

/* --------------------------------------------------------------------------
   Party shell: app bar, tab bar, sidebar, rail
   -------------------------------------------------------------------------- */
.shell__main { container-type: inline-size; min-width: 0; }
.view { padding: 4px 16px 48px; max-width: 760px; margin: 0 auto; animation: viewIn .4s var(--ease-out) both; }
.has-tabs .view { padding-bottom: 124px; }
.view--home { padding-top: 0; }

.appbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 8px 6px 12px; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.appbar__party { display: inline-flex; align-items: center; gap: 8px; min-width: 0; height: 44px; padding: 0 10px 0 6px; border: 0; border-radius: 999px; background: none; color: var(--fg); }
.appbar__party:hover { background: var(--surface); }
.appbar__name { font: 800 16px/1 var(--f-display); letter-spacing: -.035em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar__actions { display: flex; align-items: center; gap: 2px; flex: none; }
.appbar__me { border: 0; background: none; padding: 6px; margin-left: 4px; border-radius: 50%; }

.tabbar {
  --i: 0;
  position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  height: 66px; padding: 6px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: 24px; background: #16130F;
  box-shadow: 0 16px 40px rgba(22, 19, 15, .28), inset 0 0 0 1px rgba(255, 255, 255, .06);
  animation: tabbarIn .5s var(--ease-out) both;
}
.night .tabbar { background: #26221D; }
.tabbar__blob { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 4); border-radius: 18px; background: rgba(246, 243, 238, .1); transform: translateX(calc(var(--i) * 100%)); transition: transform .5s var(--ease-spring); }
.tabbar__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; background: none; color: rgba(246, 243, 238, .55); font-size: 11px; font-weight: 650; letter-spacing: .02em; transition: color .25s; }
.tabbar__item.is-on { color: #F6F3EE; }
.tabbar__ico { position: relative; display: grid; place-items: center; }
.tabbar__item.is-on .tabbar__ico::after { content: ''; position: absolute; bottom: -4px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--spritz); transform: translateX(-50%); }
.tabbar__item.is-on .tabbar__label { opacity: 1; }
.tabbar__badge { position: absolute; top: -6px; right: -12px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--spritz); color: var(--ink); font: 750 10.5px/18px var(--f-ui); font-style: normal; text-align: center; box-shadow: 0 0 0 2px #16130F; }
.tabbar.is-spotlight { animation: spotlight 1.1s ease-in-out 2; }

.shell--desktop { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; }
.shell--rail { grid-template-columns: 272px minmax(0, 1fr) 320px; }
.shell--desktop .view { padding: 40px clamp(24px, 4cqi, 56px) 80px; max-width: 920px; }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; padding: 26px 20px; border-right: 1px solid var(--hair); }
.sidebar__brand { align-self: flex-start; border: 0; background: none; padding: 4px; color: var(--fg); }
.sidenav { display: flex; flex-direction: column; gap: 2px; }
.sidenav__item { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: none; color: var(--fg-2); font-weight: 600; font-size: 15px; text-align: left; transition: background-color .15s, color .15s; }
.sidenav__item:hover { background: var(--surface); color: var(--fg); }
.sidenav__item.is-on { background: var(--fg); color: var(--bg); }
.sidenav__item span:first-of-type { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidenav__count { font-size: 12.5px; font-weight: 700; opacity: .7; }
.sidenav--minor .sidenav__item { height: 38px; font-size: 14px; }
.sidebar__foot { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rail { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 32px 22px; border-left: 1px solid var(--hair); display: flex; flex-direction: column; gap: 32px; }
.rail .label { display: flex; align-items: center; margin-bottom: 6px; }
/* In der Spalte "Das hat noch niemand" ist "Noch niemand" schon gesagt */
.rail .trow__who--none, .rail .trow__meta .trow__sep { display: none; }
.rail .trow__inner { gap: 12px; grid-template-columns: 40px minmax(0, 1fr) auto; }
.rail .trow__ico { width: 40px; height: 40px; font-size: 20px; }

.invite-band { position: relative; margin: 48px -16px 0; overflow: hidden; border-radius: var(--r-lg); color: #F6F3EE; }
.invite-band__atmos { position: absolute; inset: 0; }
.invite-band__in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 150px 22px 26px; }
.invite-band__in .label { color: rgba(246, 243, 238, .7); }
.invite-band__in > p:not(.label) { color: rgba(246, 243, 238, .82); max-width: 34ch; }
.invite-band__link { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 12px; border-radius: 10px; background: rgba(0, 0, 0, .35); font-size: 13.5px; font-weight: 600; }
.invite-band__link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Overview
   -------------------------------------------------------------------------- */
.ov-hero { margin: 4px -4px 0; }
.ov-hero__atmos { border-radius: var(--r-lg); min-height: 400px; }
.ov-hero__atmos .atmos__content { display: flex; flex-direction: column; justify-content: space-between; min-height: 400px; padding: 16px 18px 20px; }
.ov-hero__top { display: flex; flex-wrap: wrap; gap: 8px; }
.ov-hero__bottom { display: flex; flex-direction: column; gap: 10px; }
.ov-hero__title { color: #F6F3EE; }
.ov-hero__meta { font-size: 16px; font-weight: 600; color: rgba(246, 243, 238, .85); }
.ov-hero__crowd { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: 14px; font-weight: 600; color: rgba(246, 243, 238, .8); }

.ov-status { margin-top: 30px; }
.ov-status__top { display: flex; align-items: flex-end; gap: 16px; }
.ov-status__txt { padding-bottom: 6px; display: flex; flex-direction: column; gap: 6px; }
.ov-status__txt .muted { font-size: 15px; }

.ov-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.stat { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 10px 14px; border: 0; background: none; color: var(--fg); text-align: left; transition: background-color .2s; }
.stat + .stat { border-left: 1px solid var(--hair); }
.stat:hover { background: var(--surface); }
.stat__n { font: 800 25px/1 var(--f-display); letter-spacing: -.035em; white-space: nowrap; }
.stat__l { font-size: 11px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-2); }
.stat:first-child .stat__n { color: var(--accent-text); }

.nudge { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; margin-top: 26px; padding: 16px; border-radius: var(--r-md); background: var(--open-bg); }
.nudge__emoji { font-size: 34px; line-height: 1; grid-row: span 2; }
.nudge__txt p { font-size: 15px; line-height: 1.4; }
.nudge__slot { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.nudge .btn-claim { grid-column: 2; justify-self: start; margin-top: 8px; }

.next { margin-top: 30px; padding: 20px; border-radius: var(--r-md); background: var(--surface); }
.next__list { display: flex; flex-direction: column; margin-top: 12px; }
.next__item { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 12px 0; opacity: .5; }
.next__item + .next__item { border-top: 1px solid var(--hair); }
.next__item.is-current, .next__item.is-done { opacity: 1; }
.next__n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 800 13px/1 var(--f-display); letter-spacing: -.035em; box-shadow: inset 0 0 0 2px var(--fg); }
.next__item.is-current .next__n { background: var(--spritz); box-shadow: none; }
.next__item.is-done .next__n { background: var(--fg); color: var(--bg); }
.next__body h3 { font-size: 16px; font-weight: 700; }
.next__body p { margin: 2px 0 10px; color: var(--fg-2); font-size: 14px; }
.next__item.is-done .next__body h3 { text-decoration: line-through; text-decoration-thickness: 2px; }

/* --------------------------------------------------------------------------
   Party day
   -------------------------------------------------------------------------- */
.pd-hero { position: relative; margin: 4px -4px 0; border-radius: var(--r-lg); overflow: hidden; }
.pd-hero__atmos { position: absolute; inset: 0; }
.pd-hero__in { position: relative; z-index: 2; padding: 150px 20px 22px; color: #F6F3EE; }
.pd-hero__in .label { color: rgba(246, 243, 238, .7); }
.pd-hero__title { margin: 8px 0 18px; font-size: clamp(52px, 15cqi, 128px); }
.pd-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 28px; }
.pd-facts div { display: flex; flex-direction: column; gap: 4px; }
.pd-facts b { font: 800 28px/1 var(--f-display); letter-spacing: -.035em; }
.pd-facts span { font-size: 11px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; opacity: .65; }
.pd-facts--sm b { font-size: 28px; }
.pd-count { margin-top: 18px; font-size: 15px; color: rgba(246, 243, 238, .8); }
.pd-count b { color: #F6F3EE; }
.pd-status { margin-top: 18px; display: flex; flex-direction: column; }
.pd-row { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 8px 0; border-bottom: 1px solid var(--hair); }
.pd-row__label { flex: 1; font: 800 21px/1 var(--f-display); letter-spacing: -.035em; }
.pd-row--missing .pd-row__label { color: var(--accent-text); }
.pd-row .sdot { width: 12px; height: 12px; }
.fold { margin-top: 14px; }
.fold summary { display: flex; align-items: center; gap: 10px; padding: 12px 0; cursor: pointer; list-style: none; font-weight: 650; color: var(--fg-2); }
.fold summary::-webkit-details-marker { display: none; }
.fold[open] summary .ico:last-child { transform: rotate(180deg); }
.pd-foot { margin-top: 32px; }

/* --------------------------------------------------------------------------
   Page heads, filters, groups
   -------------------------------------------------------------------------- */
.page-head { display: flex; flex-direction: column; gap: 10px; padding: 18px 0 8px; }
.page-head--row { gap: 16px; }
.page-head__sub { font-size: 15px; color: var(--fg-2); max-width: 46ch; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.filters { position: sticky; top: 56px; z-index: 30; display: flex; gap: 8px; margin: 16px -16px 0; padding: 10px 16px; overflow-x: auto; scrollbar-width: none; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.filters::-webkit-scrollbar { display: none; }
.shell--desktop .filters { top: 0; }
.tgroup { margin-top: 26px; }
.tgroup__head { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 2px solid var(--fg); font: 800 16px/1 var(--f-display); letter-spacing: -.035em; }
.tgroup__n { margin-left: auto; font: 650 13px/1 var(--f-ui); color: var(--fg-2); }
.hint-bar { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 6px 10px 14px; border-radius: 16px; background: var(--surface); font-size: 14px; }
.hint-bar p { flex: 1; min-width: 0; color: var(--fg-2); }
.hint-bar b { color: var(--fg); }
.hint-bar__demo { position: relative; width: 44px; height: 26px; flex: none; border-radius: 8px; background: var(--fg); overflow: hidden; }
.hint-bar__demo i { position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 5px; background: var(--bg); animation: swipeHint 2.4s var(--ease-out) infinite; }

.callout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 28px; padding: 16px; border-radius: var(--r-md); background: var(--surface); font-size: 14.5px; }
.callout p, .callout span { flex: 1; min-width: 180px; }

/* --------------------------------------------------------------------------
   People
   -------------------------------------------------------------------------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 10px; margin-top: 22px; }
.pcard { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px; border: 0; border-radius: var(--r-md); background: none; color: var(--fg); text-align: center; animation: popIn .5s var(--ease-spring) both; animation-delay: calc(var(--i) * 35ms); transition: background-color .2s; }
.pcard:hover { background: var(--surface); }
.pcard__av { position: relative; }
.pcard__host { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); padding: 2px 7px; border-radius: 6px; background: var(--fg); color: var(--bg); font-size: 9.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.pcard__name { margin-top: 4px; font: 800 16px/1 var(--f-display); letter-spacing: -.035em; }
.pcard__name small { font: 500 12px var(--f-ui); color: var(--fg-2); }
.pcard__status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--fg-2); font-weight: 550; }
.pcard__status .sdot { width: 8px; height: 8px; }

/* --------------------------------------------------------------------------
   Shopping
   -------------------------------------------------------------------------- */
.shop-prog { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px; }
.shop-prog b { font: 800 28px/1 var(--f-display); letter-spacing: -.035em; }
.shop { display: flex; flex-direction: column; margin-top: 14px; }
.shop-item { width: 100%; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--hair); background: none; color: var(--fg); text-align: left; }
.cbox { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--fg); transition: background-color .25s, transform .35s var(--ease-spring); }
.cbox svg { width: 70%; height: 70%; fill: none; stroke: var(--bg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .3s .05s var(--ease-out); }
.shop-item:active .cbox { transform: scale(.88); }
.shop-item.is-done .cbox { background: var(--fg); }
.shop-item.is-done .cbox svg { stroke-dashoffset: 0; }
.shop-item__main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.shop-item__name { position: relative; align-self: flex-start; font: 800 20px/1.05 var(--f-display); letter-spacing: -.035em; transition: color .3s; }
.shop-item__q { color: var(--accent-text); }
.shop-item__strike { position: absolute; left: -2px; right: -4px; top: 52%; height: 4px; border-radius: 2px; background: var(--spritz); transform: scaleX(0) rotate(-2deg); transform-origin: left center; transition: transform .38s var(--ease-out); }
.shop-item.is-done .shop-item__name { color: var(--fg-3); }
.shop-item.is-done .shop-item__strike { transform: scaleX(1) rotate(-2deg); }
.shop-item__sub { font-size: 13.5px; color: var(--fg-2); }
.shop-item__emoji { font-size: 26px; }
.shop-group { border-bottom: 1px solid var(--hair); }
.shop-group summary { display: flex; align-items: center; gap: 12px; padding: 14px 0; list-style: none; cursor: pointer; }
.shop-group summary::-webkit-details-marker { display: none; }
.shop-group__name { flex: 1; font: 800 16px/1 var(--f-display); letter-spacing: -.035em; }
.shop-group__n { font-size: 14px; font-weight: 650; color: var(--fg-2); }
.shop-group[open] summary .ico { transform: rotate(180deg); }
.shop-ro { display: flex; flex-direction: column; gap: 10px; padding: 0 0 16px 40px; }
.shop-ro li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.shop-ro li span:nth-child(2) { flex: 1; }
.shop-ro li.is-done span:nth-child(2) { text-decoration: line-through; color: var(--fg-3); }

/* --------------------------------------------------------------------------
   Party tab, timeline, links
   -------------------------------------------------------------------------- */
.partytab .ticket { margin-top: 14px; }
.facts { display: flex; flex-direction: column; margin-top: 20px; }
.facts > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.facts dt { font-size: 11.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.facts dd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 600; min-width: 0; }
.facts--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.facts--grid > div { grid-template-columns: 1fr; gap: 4px; }
.nobody { color: var(--accent-text); font-weight: 650; }

.timeline { position: relative; display: flex; flex-direction: column; margin-top: 14px; }
.timeline__item { position: relative; display: grid; grid-template-columns: 64px 20px minmax(0, 1fr); gap: 10px; padding: 12px 0; }
.timeline__item::before { content: ''; position: absolute; left: 83px; top: 0; bottom: 0; width: 2px; background: var(--hair); }
.timeline__item:first-child::before { top: 22px; }
.timeline__item:last-child::before { bottom: calc(100% - 22px); }
.timeline__at { font: 800 18px/1 var(--f-display); letter-spacing: -.035em; padding-top: 1px; }
.timeline__dot { position: relative; z-index: 1; width: 12px; height: 12px; margin: 5px 0 0 3px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2.5px var(--fg); }
.timeline__item b { font-weight: 700; }
.timeline__item p { color: var(--fg-2); font-size: 14px; }
.timeline__item.is-past { opacity: .45; }
.timeline__item.is-now .timeline__dot { background: var(--spritz); box-shadow: 0 0 0 5px rgba(255, 90, 31, .25); }
.timeline__item.is-now .timeline__at { color: var(--spritz); }

.pm-teaser { margin-top: 40px; border-radius: var(--r-lg); overflow: hidden; }
.pm-teaser__atmos .atmos__content { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 140px 22px 24px; }
.pm-teaser__atmos .label { color: rgba(246, 243, 238, .7); }
.pm-teaser__atmos p:not(.label) { color: rgba(246, 243, 238, .8); }
.linklist { display: flex; flex-direction: column; margin-top: 28px; border-top: 1px solid var(--hair); }
.linklist button { display: flex; align-items: center; gap: 14px; min-height: 56px; border: 0; border-bottom: 1px solid var(--hair); background: none; color: var(--fg); font-weight: 600; font-size: 16px; text-align: left; }
.linklist button span { flex: 1; }

/* --------------------------------------------------------------------------
   Personal view
   -------------------------------------------------------------------------- */
.me-status { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 0 16px; margin-top: 18px; }
.me-status .segbar { grid-column: 1 / -1; }
.me-status__num { display: flex; align-items: flex-start; font: 800 clamp(79px, 24.6cqi, 139px)/0.78 var(--f-display); letter-spacing: -.035em; }
.me-status__slash { color: var(--spritz); margin: 0 .02em; }
.me-status__txt { padding-bottom: 8px; display: flex; flex-direction: column; gap: 6px; }
.card-link { width: 100%; display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px; border: 0; border-radius: var(--r-md); background: var(--surface); color: var(--fg); text-align: left; }
.card-link__ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--fg); color: var(--bg); }
.card-link__txt { flex: 1; display: flex; flex-direction: column; }
.card-link__txt small { color: var(--fg-2); font-size: 13.5px; }
.party-mini { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; margin-top: 40px; padding: 18px; border: 0; border-radius: var(--r-md); background: var(--fg); color: var(--bg); text-align: left; }
.party-mini .segbar { grid-column: 1 / -1; margin-top: 10px; }
.party-mini .seg { background: rgba(246, 243, 238, .16); }
.party-mini .seg--done { background: var(--bg); }
.party-mini .seg--claimed { background: repeating-linear-gradient(-45deg, rgba(246, 243, 238, .5) 0 2px, transparent 2px 5px), rgba(246, 243, 238, .12); }
.party-mini__pct { font: 800 36px/1 var(--f-display); letter-spacing: -.035em; }
.party-mini__txt { display: flex; flex-direction: column; }
.party-mini__txt small { opacity: .7; font-size: 13.5px; }
.sticky-cta { position: sticky; bottom: 92px; z-index: 20; margin-top: 28px; padding-top: 8px; }
.sticky-cta .btn { box-shadow: 0 14px 34px rgba(22, 19, 15, .28); }
.sticky-cta--row { display: grid; grid-template-columns: auto 1fr; gap: 10px; bottom: 16px; }
.sticky-cta--row .btn--line { background: var(--bg); }
.shell--desktop .sticky-cta { bottom: 24px; }

/* --------------------------------------------------------------------------
   Split
   -------------------------------------------------------------------------- */
.split-list { display: flex; flex-direction: column; margin-top: 16px; }
.split-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--hair); animation: popIn .45s var(--ease-out) both; }
.split-row__name { font: 800 20px/1 var(--f-display); letter-spacing: -.035em; margin: 6px 0 10px; }
.split-row__name span { color: var(--spritz); }
.split-row__tasks { display: flex; flex-wrap: wrap; gap: 6px; }
.task-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--surface); color: var(--fg); font-weight: 600; font-size: 14px; }
.task-chip .ico { opacity: .45; }
.loads { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.load { display: grid; grid-template-columns: 64px minmax(0, 1fr) 20px; gap: 12px; align-items: center; font-size: 13.5px; font-weight: 600; }
.load__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.load__bar { display: flex; height: 10px; border-radius: 999px; background: var(--surface); overflow: hidden; }
.load__bar i { display: block; height: 100%; transition: width .6s var(--ease-out); }
.load__cur { background: var(--fg); }
.load__add { background: var(--spritz); }
.load__n { text-align: right; color: var(--fg-2); }
.load-legend { display: flex; gap: 18px; margin-top: 14px; font-size: 13px; color: var(--fg-2); }
.load-legend span { display: inline-flex; align-items: center; gap: 7px; }
.load-legend i { width: 14px; height: 8px; border-radius: 4px; display: inline-block; }

/* --------------------------------------------------------------------------
   Reminders
   -------------------------------------------------------------------------- */
.lockscreen { margin-top: 20px; border-radius: var(--r-lg); overflow: hidden; }
.lockscreen__atmos .atmos__content { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 26px 14px 16px; }
.lockscreen__day { text-align: center; font-weight: 650; color: rgba(246, 243, 238, .8); }
.lockscreen__time { text-align: center; font: 800 72px/0.9 var(--f-display); letter-spacing: -.035em; margin-bottom: 26px; }
.notif { padding: 14px 16px; border-radius: 22px; background: rgba(246, 243, 238, .88); color: #16130F; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); animation: notifIn .6s var(--ease-spring) both; }
.notif + .notif { animation-delay: .15s; }
.notif__app { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; color: #5A534B; }
.notif__app span { margin-left: auto; font-weight: 500; }
.notif__title { margin-top: 6px; font-weight: 700; }
.notif__body { color: #3a342e; font-size: 15px; }
.notif__btn { margin-top: 10px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: #16130F; color: #F6F3EE; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Sheets
   -------------------------------------------------------------------------- */
.sheet-layer { position: fixed; inset: 0; z-index: 100; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(16, 12, 9, .5); animation: fadeIn .3s both; }
.sheet {
  container-type: inline-size;
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92%; overflow-y: auto; overscroll-behavior: contain;
  padding: 8px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  border-radius: 30px 30px 0 0; background: var(--bg); color: var(--fg); outline: none;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .22);
  animation: sheetUp .45s var(--ease-out) both; transition: transform .25s var(--ease-out);
}
.sheet-layer.is-closing .sheet { animation: sheetDown .26s ease-in both; }
.sheet-layer.is-closing .sheet-backdrop { animation: fadeOut .26s both; }
.sheet__grab { display: flex; justify-content: center; padding: 6px 0 12px; cursor: grab; touch-action: none; }
.sheet__grab span { width: 42px; height: 5px; border-radius: 3px; background: var(--surface-2); }
.sheet__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--surface); }
.sheet__body { padding-top: 4px; }
.lay-desktop .sheet { left: 50%; top: 50%; right: auto; bottom: auto; width: min(560px, calc(100% - 48px)); max-height: 88%; border-radius: 28px; padding: 28px 30px 30px; animation: dialogIn .35s var(--ease-out) both; transform: translate(-50%, -50%); }
.lay-desktop .sheet-layer.is-closing .sheet { animation: dialogOut .22s ease-in both; }
.lay-desktop .sheet__grab { display: none; }
.sheet .display-l { font-size: clamp(30px, 8.5cqi, 46px); }
.sheet .display-m { font-size: clamp(23px, 6.4cqi, 32px); }
.sheet-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.sheet-note { display: flex; align-items: center; gap: 10px; font-weight: 650; }

.tsheet__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tsheet__emoji { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; font-size: 40px; background: var(--surface); }
.tsheet__title { margin-right: 40px; }
.tsheet__qty { margin-top: 8px; font: 800 23px/1 var(--f-display); letter-spacing: -.035em; color: var(--accent-text); }
.notes { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 22px; }
.note { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
.note__who { font-size: 13px; font-weight: 700; }
.note__who span { font-weight: 500; color: var(--fg-3); margin-left: 4px; }
.note__text { margin-top: 3px; padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: var(--surface); font-size: 15px; }
.note-form { width: 100%; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.confirm { padding: 16px; border-radius: var(--r-md); background: var(--surface); animation: popIn .35s var(--ease-out) both; }
.confirm__row { display: flex; gap: 10px; margin-top: 14px; }
.confirm__row .btn { flex: 1; }

.psheet__head { display: flex; align-items: center; gap: 18px; margin: 4px 40px 22px 0; }
.psheet__head .tag { margin-bottom: 8px; }
.plist { display: flex; flex-direction: column; margin-top: 8px; }
.plist li { display: grid; grid-template-columns: 24px 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.plist__n { font-weight: 650; }
.plist li.is-done .plist__n { color: var(--fg-2); }
.pprog { margin-top: 16px; }
.pprog b { font: 800 25px/1 var(--f-display); letter-spacing: -.035em; }
.psheet__none { margin-top: 10px; color: var(--fg-2); font-size: 16px; }
.pick { margin-top: 18px; animation: popIn .35s var(--ease-out) both; }
.pick__row { width: 100%; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border: 0; border-bottom: 1px solid var(--hair); background: none; color: var(--fg); text-align: left; font-size: 22px; }
.pick__row b { display: block; font-size: 15px; }
.pick__row small { display: block; font-size: 13px; color: var(--fg-2); }

.share__lede { margin-top: 10px; color: var(--fg-2); }
.share__preview { margin-top: 20px; padding: 16px; border-radius: var(--r-md); background: var(--surface); }
.bubble { margin-left: auto; max-width: 300px; padding: 6px; border-radius: 18px 18px 4px 18px; background: var(--bg); box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.bubble > p { padding: 6px 8px 8px; font-size: 14.5px; }
.share-targets { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 8px; margin-top: 20px; }
.share-t { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px; border: 0; border-radius: 16px; background: none; color: var(--fg); font-size: 12.5px; font-weight: 650; text-decoration: none; transition: background-color .2s; }
.share-t:hover { background: var(--surface); }
.share-t__ico { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--fg); color: var(--bg); }
.share-t__ico--wa { background: #25D366; color: #fff; }
.linkfield { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 6px 6px 16px; border-radius: 16px; background: var(--surface); }
.linkfield__url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; user-select: all; }
.linkfield__btn { height: 40px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--fg); color: var(--bg); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.share__demo { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

.invite-card { overflow: hidden; border-radius: 14px; background: var(--surface); color: var(--fg); }
.invite-card__img { aspect-ratio: 1.6; max-width: 100%; }
.invite-card__img .atmos__content { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px; padding: 14px; }
.invite-card__title { font: 800 21px/.98 var(--f-display); letter-spacing: -.035em; color: #F6F3EE; }
.invite-card__meta { font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 238, .8); }
.invite-card__cta { margin-top: 6px; padding: 5px 10px; border-radius: 999px; background: var(--spritz); color: var(--ink); font-size: 10.5px; font-weight: 750; letter-spacing: .08em; }
.invite-card__text { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; font-size: 13.5px; }
.invite-card__text span { color: var(--fg-2); }
.invite-card__domain { font-size: 12px; text-transform: lowercase; }

.assign__list { display: flex; flex-direction: column; margin-top: 16px; }
.assign__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 80px 20px; gap: 12px; align-items: center; padding: 10px 8px; margin: 0 -8px; border: 0; border-radius: 14px; background: none; color: var(--fg); text-align: left; }
.assign__row:hover, .assign__row.is-on { background: var(--surface); }
.assign__name { font-weight: 650; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.addtask, .dup { display: flex; flex-direction: column; gap: 10px; }
.addtask .label, .dup .label { margin-top: 10px; }
.addtask .display-m, .dup .display-m { margin-bottom: 6px; }
.dup-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 800 18px/1.1 var(--f-display); letter-spacing: -.035em; }
.dup-preview span:last-child { color: var(--accent-text); }

/* --------------------------------------------------------------------------
   Toasts & celebration
   -------------------------------------------------------------------------- */
.toasts { position: fixed; z-index: 150; top: calc(12px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); width: min(92%, 440px); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 100%; min-height: 42px; padding: 7px 16px 7px 8px; border-radius: 999px; background: #16130F; color: #F6F3EE; font-size: 14px; font-weight: 600; line-height: 1.3; box-shadow: 0 14px 34px rgba(0, 0, 0, .24); animation: toastIn .5s var(--ease-spring) both; }
.toast.is-leaving { animation: toastOut .32s ease-in both; }
.toast--warn { background: var(--spritz); color: var(--ink); }
.toast .av { box-shadow: 0 0 0 2px rgba(246, 243, 238, .15); }
.toast__ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(246, 243, 238, .14); flex: none; }
.toast__text { min-width: 0; }
.toast__act { flex: none; margin-left: 4px; padding: 6px 10px; border: 0; border-radius: 999px; background: #F6F3EE; color: #16130F; font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }

.celebrate { container-type: inline-size; position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--spritz); color: var(--ink); animation: celebrateIn .6s var(--ease-out) both; overflow: hidden; }
.celebrate__confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.celebrate__close { position: absolute; top: 16px; right: 16px; z-index: 2; color: var(--ink); background: rgba(22, 19, 15, .08); }
.stage.is-framed .celebrate__close { top: 56px; }
.celebrate__inner { position: relative; z-index: 1; width: 100%; max-width: 760px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.celebrate__count { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.celebrate__title { display: flex; flex-direction: column; font: 800 clamp(60px, 17cqi, 140px)/.98 var(--f-display); letter-spacing: -.035em; }
.rv { display: block; overflow: hidden; padding-bottom: .04em; }
.rv > span { display: block; animation: lineUp .8s var(--ease-out) both; }
.rv + .rv > span { animation-delay: .12s; }
.celebrate__nice { font-size: 18px; font-weight: 650; animation: fadeUp .6s .5s var(--ease-out) both; }
.celebrate__stop { margin-top: 12px; padding-top: 18px; border-top: 2px solid var(--ink); font: 800 25px/0.95 var(--f-display); letter-spacing: -.035em; animation: fadeUp .6s .7s var(--ease-out) both; }
.celebrate .btn { animation: fadeUp .6s .85s var(--ease-out) both; }

.welcome { container-type: inline-size; position: fixed; inset: 0; z-index: 190; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 28px; background: var(--ink); color: var(--paper); animation: celebrateIn .45s var(--ease-out) both; cursor: pointer; }
.welcome .label { color: rgba(246, 243, 238, .6); }
.welcome__big { font: 800 clamp(46px, 12.5cqi, 116px)/.96 var(--f-display); letter-spacing: -.035em; }
.welcome__big .rv:last-child span { color: var(--spritz); }
.welcome__sub { font-size: 18px; color: rgba(246, 243, 238, .75); animation: fadeUp .5s .4s var(--ease-out) both; }

/* --------------------------------------------------------------------------
   Create flow
   -------------------------------------------------------------------------- */
.flow { display: flex; flex-direction: column; min-height: 100vh; }
.stage.is-framed .flow { min-height: 100%; }
.flow__bar { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; padding: 8px 10px; background: var(--bg); }
.flow__progress { display: flex; gap: 5px; }
.flow__progress span { flex: 1; }
.flow__progress span { height: 5px; border-radius: 3px; background: var(--surface-2); transition: background-color .4s; }
.flow__progress span.is-done { background: var(--fg); }
.flow__progress span.is-on { background: var(--spritz); }
.flow__count { font-size: 13px; font-weight: 700; color: var(--fg-2); text-align: center; }
.flow__body { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 14px 16px 24px; }
.flow__body--fwd { animation: stepFwd .45s var(--ease-out) both; }
.flow__body--back { animation: stepBack .45s var(--ease-out) both; }
.flow__title { margin: 12px 0 24px; }
.flow__lede { color: var(--fg-2); margin: -8px 0 20px; max-width: 40ch; }
.flow__cta { position: sticky; bottom: 0; z-index: 20; width: 100%; max-width: 760px; margin: 0 auto; padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 0%, transparent), var(--bg) 26%); }
.stage.is-framed .flow__cta { padding-bottom: 30px; }
.flow__summary { margin-bottom: 10px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--fg-2); }

.type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.type-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px; min-height: 124px; padding: 14px; border: 0; border-radius: 22px; background: #16130F; color: #F6F3EE; text-align: left; animation: cardIn .5s var(--ease-out) both; animation-delay: calc(var(--i) * 30ms); transition: transform .2s var(--ease-out), box-shadow .25s; }
.type-card:active { transform: scale(.97); }
.type-card--wide { grid-column: 1 / -1; min-height: 88px; }
.type-card__bg { position: absolute; inset: 0; z-index: 0; }
.type-card__emoji { position: relative; z-index: 2; font-size: 34px; line-height: 1; margin-bottom: auto; }
.type-card__label { position: relative; z-index: 2; font: 800 20px/0.95 var(--f-display); letter-spacing: -.035em; }
.type-card__check { position: absolute; z-index: 3; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--spritz); color: var(--ink); transform: scale(0); transition: transform .35s var(--ease-spring); }
.type-card.is-on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--spritz); }
.type-card.is-on .type-card__check { transform: scale(1); }

.fields { display: flex; flex-direction: column; gap: 28px; }
.field__label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.field__value { font-weight: 650; font-size: 15px; }
.field__opt { font-size: 13px; color: var(--fg-3); }
.host-field { margin-bottom: 24px; }
.date-strip { display: flex; gap: 8px; margin: 0 -16px; padding: 4px 16px 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.date-strip::-webkit-scrollbar { display: none; }
.date-chip { flex: none; width: 66px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 0 10px; border: 0; border-radius: 18px; background: var(--surface); color: var(--fg); scroll-snap-align: center; transition: background-color .2s, color .2s, transform .16s var(--ease-out); animation: cardIn .45s var(--ease-out) both; animation-delay: calc(var(--i) * 18ms); }
.date-chip:active { transform: scale(.95); }
.date-chip__d { font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-2); }
.date-chip__n { font: 800 25px/1 var(--f-display); letter-spacing: -.035em; }
.date-chip__m { font-size: 11.5px; color: var(--fg-2); }
.date-chip.is-weekend .date-chip__d { color: var(--accent-text); }
.date-chip.is-on { background: var(--fg); color: var(--bg); }
.date-chip.is-on .date-chip__d, .date-chip.is-on .date-chip__m { color: inherit; opacity: .7; }

.people-step { display: flex; flex-direction: column; gap: 18px; }
.people-count { display: flex; align-items: flex-end; gap: 14px; }
.people-count__n { font: 800 clamp(98px, 34.4cqi, 197px)/0.76 var(--f-display); letter-spacing: -.035em; }
.people-count__label { padding-bottom: 10px; font-size: 15px; font-weight: 600; color: var(--fg-2); line-height: 1.3; }
.range-wrap { position: relative; padding-bottom: 36px; }
.range-ticks { position: absolute; left: 20px; right: 20px; bottom: 0; height: 30px; }
.range-ticks button { position: absolute; top: 0; transform: translateX(-50%); height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: none; color: var(--fg-2); font-weight: 700; font-size: 14px; }
.range-ticks button.is-on { background: var(--surface); color: var(--fg); }
.crowd { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; max-width: 360px; }
.crowd span { aspect-ratio: 1; max-width: 100%; border-radius: 50%; background: var(--surface-2); transform: scale(.55); transition: background-color .3s, transform .35s var(--ease-spring); transition-delay: calc(var(--i) * 6ms); }
.crowd span.on { background: var(--fg); transform: scale(1); }
.crowd span.on:first-child { background: var(--spritz); }
.hint { font-size: 14px; color: var(--fg-2); }

.vibe-step { display: flex; flex-direction: column; gap: 16px; }
.vibe-preview { height: 130px; border-radius: 22px; }
.vibe-preview .atmos__content { display: flex; align-items: flex-end; padding: 14px 16px; }
.vibe-preview__label { font: 800 28px/1 var(--f-display); letter-spacing: -.035em; }
.vibe-list { display: flex; flex-direction: column; }
.vibe { display: grid; grid-template-columns: 40px minmax(0, 1fr) 26px; gap: 14px; align-items: center; padding: 12px 0; border: 0; border-bottom: 1px solid var(--hair); background: none; color: var(--fg); text-align: left; animation: cardIn .45s var(--ease-out) both; animation-delay: calc(var(--i) * 35ms); }
.vibe__swatch { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgb(var(--a3) / .95), rgb(var(--a1) / .9) 30%, rgb(var(--a2) / .8) 60%, #0d0907 100%); }
.vibe__text { display: flex; flex-direction: column; }
.vibe__label { font: 800 21px/1 var(--f-display); letter-spacing: -.035em; }
.vibe__line { font-size: 14px; color: var(--fg-2); }
.vibe__radio { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--fg-3); transition: box-shadow .25s; }
.vibe.is-on .vibe__radio { box-shadow: inset 0 0 0 8px var(--spritz); }

.need-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.need { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 124px; padding: 14px; border: 0; border-radius: 22px; background: var(--surface); color: var(--fg); text-align: left; animation: cardIn .45s var(--ease-out) both; animation-delay: calc(var(--i) * 35ms); transition: background-color .25s, color .25s, transform .16s var(--ease-out); }
.need:active { transform: scale(.97); }
.need__emoji { font-size: 30px; line-height: 1; margin-bottom: auto; }
.need__label { font: 800 20px/1 var(--f-display); letter-spacing: -.035em; }
.need__count { font-size: 13px; color: var(--fg-2); }
.need__box { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--fg-3); color: transparent; transition: background-color .2s, box-shadow .2s, color .2s; }
.need.is-on { background: var(--fg); color: var(--bg); }
.need.is-on .need__count { color: rgba(246, 243, 238, .7); }
.need.is-on .need__box { background: var(--spritz); box-shadow: none; color: var(--ink); }

.creating { position: relative; min-height: 100vh; }
.stage.is-framed .creating { min-height: 100%; height: 100%; }
.creating__bg { position: absolute; inset: 0; }
.creating__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; padding: 140px 18px 40px; color: #F6F3EE; }
.creating__inner .label { color: rgba(246, 243, 238, .7); }
.creating__sub { color: rgba(246, 243, 238, .78); max-width: 36ch; }
.creating__list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.creating__list li { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(246, 243, 238, .12); box-shadow: inset 0 0 0 1px rgba(246, 243, 238, .12); font-size: 13.5px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: pillIn .4s var(--ease-spring) both; }
.creating__list b { font-weight: 700; }
.creating__cta { margin-top: 18px; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s var(--ease-out); pointer-events: none; }
.creating__cta.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* --------------------------------------------------------------------------
   Join, errors, parties
   -------------------------------------------------------------------------- */
.join { min-height: 100vh; display: flex; flex-direction: column; }
.stage.is-framed .join { min-height: 100%; }
.join__hero { min-height: 330px; }
.join__hero .atmos__content { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: 330px; padding: 120px 18px 22px; }
.join__hero .label { color: rgba(246, 243, 238, .72); }
.join__title { color: #F6F3EE; }
.join__facts { display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 600; color: rgba(246, 243, 238, .88); }
.join__facts span { display: inline-flex; align-items: center; gap: 6px; }
.join--loading .join__hero { border-radius: 0; }
.join__body { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; padding: 22px 16px 32px; }
.join__crowd { display: flex; align-items: center; gap: 14px; }
.join__form { display: flex; flex-direction: column; gap: 12px; }
.join__form .btn { margin-top: 6px; }
.join__q { display: block; margin-bottom: 6px; }
.join__invited { display: flex; flex-direction: column; gap: 10px; }
.join__invited .chip { padding-left: 6px; }
.join__known { display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.promises { display: flex; flex-direction: column; gap: 10px; }
.promises li { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; }
.promises .ico { color: var(--spritz); }
.promises--row { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; color: var(--fg-2); }

.errscreen { max-width: 620px; margin: 0 auto; min-height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: 48px 20px; }
.stage.is-framed .errscreen { min-height: 100%; }
.errscreen__art { width: 150px; color: var(--fg); }
.errscreen__art svg { width: 100%; overflow: visible; }
.errscreen__text { color: var(--fg-2); max-width: 40ch; }
.errscreen__url { display: inline-block; max-width: 100%; overflow-wrap: anywhere; padding: 8px 12px; border-radius: 10px; background: var(--surface); font: 600 14px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; text-decoration: line-through; text-decoration-color: var(--spritz); text-decoration-thickness: 2px; }
.errscreen__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.topbar { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; justify-items: center; padding: 6px 8px; background: var(--bg); }
.parties { max-width: 760px; margin: 0 auto; padding: 0 16px 40px; }
.parties .topbar { margin: 0 -16px; }
.parties__list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.parties__cta { margin-top: 24px; }

/* --------------------------------------------------------------------------
   Party mode
   -------------------------------------------------------------------------- */
.pm { position: relative; min-height: 100vh; background: var(--night); color: #F6F3EE; }
.stage.is-framed .pm { min-height: 100%; }
.pm__bg { position: fixed; inset: 0; opacity: .75; }
.stage.is-framed .pm__bg { position: absolute; }
.pm__in { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 8px 18px 60px; }
.pm__top { display: flex; align-items: center; justify-content: space-between; }
.pm__top .label { display: flex; align-items: center; color: rgba(246, 243, 238, .75); }
.pm__top .icon-btn { color: #F6F3EE; background: rgba(246, 243, 238, .1); }
.pm__clock { margin-top: 90px; font: 800 clamp(98px, 32.8cqi, 246px)/.8 var(--f-display); letter-spacing: -.035em; }
.pm__colon { animation: blink 2s steps(1) infinite; color: var(--spritz); }
.pm__now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 18px; font: 800 25px/1.05 var(--f-display); letter-spacing: -.035em; }
.pm__now .label { color: var(--spritz); }
.pm__now .muted { font: 500 16px var(--f-ui); color: rgba(246, 243, 238, .7); }
.pm__next { margin-top: 8px; color: rgba(246, 243, 238, .7); }
.pm-music { display: grid; grid-template-columns: 44px minmax(0, 1fr) 48px; align-items: center; gap: 14px; margin-top: 34px; padding: 14px 14px 14px 16px; border-radius: 22px; background: rgba(246, 243, 238, .08); box-shadow: inset 0 0 0 1px rgba(246, 243, 238, .1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pm-music__txt { display: flex; flex-direction: column; min-width: 0; }
.pm-music__txt .label { color: rgba(246, 243, 238, .6); }
.pm-music__txt small { color: rgba(246, 243, 238, .6); }
.pm-music__btn { width: 48px; height: 48px; background: #F6F3EE; color: #16130F; }
.pm-music__btn:hover { background: #fff; }
.eq { display: flex; align-items: flex-end; gap: 4px; height: 32px; }
.eq i { flex: 1; height: 30%; border-radius: 2px; background: var(--spritz); }
.eq.is-on i { animation: eq 1.1s ease-in-out infinite; }
.eq.is-on i:nth-child(2) { animation-delay: -.3s; } .eq.is-on i:nth-child(3) { animation-delay: -.6s; } .eq.is-on i:nth-child(4) { animation-delay: -.15s; } .eq.is-on i:nth-child(5) { animation-delay: -.45s; }
.pm-sec { margin-top: 36px; }
.pm-sec > .label { color: rgba(246, 243, 238, .6); }
.recipes { display: flex; gap: 10px; margin: 12px -18px 0; padding: 0 18px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.recipes::-webkit-scrollbar { display: none; }
.recipe { flex: none; width: 240px; scroll-snap-align: start; padding: 16px; border-radius: 22px; background: #F6F3EE; color: #16130F; }
.recipe__head { display: flex; align-items: center; justify-content: space-between; }
.recipe__emoji { font-size: 34px; }
.recipe__ratio { font: 800 18px/1 var(--f-display); letter-spacing: -.035em; color: var(--spritz-ink); }
.recipe h3 { margin: 10px 0 8px; font: 800 21px/0.95 var(--f-display); letter-spacing: -.035em; }
.recipe ol { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; list-style: decimal; font-size: 14px; }
.recipe__by { margin-top: 10px; font-size: 12.5px; color: #5A534B; }
.timeline--night .timeline__item::before { background: rgba(246, 243, 238, .16); }
.timeline--night .timeline__dot { background: var(--night); box-shadow: inset 0 0 0 2.5px #F6F3EE; }
.timeline--night p { color: rgba(246, 243, 238, .65); }
.pm__foot { margin-top: 40px; }
.pm__foot .btn { color: #F6F3EE; }

/* --------------------------------------------------------------------------
   After party
   -------------------------------------------------------------------------- */
.after__head { position: relative; margin: 4px -4px 0; border-radius: var(--r-lg); overflow: hidden; }
.after__atmos { position: absolute; inset: 0; }
.after__head-in { position: relative; z-index: 2; padding: 90px 20px 24px; }
.after__title { margin-top: 10px; }
.after__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.after__stats div { display: flex; flex-direction: column; gap: 6px; padding: 16px 10px; }
.after__stats div + div { border-left: 1px solid var(--hair); }
.after__stats b { font: 800 25px/1 var(--f-display); letter-spacing: -.035em; }
.after__stats span { font-size: 11px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-2); }
.highlights { display: flex; flex-direction: column; }
.highlights li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hair); font-size: 16px; }
.after__again { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; padding: 22px 18px; border-radius: var(--r-lg); background: var(--surface); }
.after__again > p { color: var(--fg-2); }
.after__again .dup-preview { margin: 6px 0 8px; }

/* --------------------------------------------------------------------------
   Landing page
   -------------------------------------------------------------------------- */
.lp { --gut: clamp(16px, 4.5cqi, 64px); overflow-x: clip; }
.lp-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gut); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lp-nav__brand { color: var(--fg); text-decoration: none; }
.lp-nav__links { display: none; gap: 28px; font-weight: 600; font-size: 15px; }
.lp-nav__links a { text-decoration: none; color: var(--fg-2); transition: color .2s; }
.lp-nav__links a:hover { color: var(--fg); }
.lp-nav__cta { display: flex; align-items: center; gap: 16px; }
.lp-nav__demo { display: none; }

.lp-hero { display: grid; gap: 36px; padding: 28px var(--gut) 48px; max-width: 1360px; margin: 0 auto; }
.lp-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.lp-hero__title { display: flex; flex-direction: column; }
.lp-hero__line { display: block; }
.lp-hero__line:first-child { animation: lineUp .8s var(--ease-out) both; }
.lp-hero__line:last-child { animation: lineUp .8s .1s var(--ease-out) both; }
.strike { position: relative; display: inline-block; }
.strike svg { position: absolute; left: -3%; top: 22%; width: 106%; height: 50%; overflow: visible; pointer-events: none; }
.strike path { fill: none; stroke: var(--spritz); stroke-width: 10; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw .7s 1s var(--ease-out) forwards; mix-blend-mode: multiply; }
.lp-hero__sub { font-size: clamp(18px, 4.6cqi, 22px); line-height: 1.4; max-width: 30ch; color: var(--fg-2); font-weight: 500; }
.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-hero__fine { font-size: 14px; color: var(--fg-2); }

.hv { position: relative; min-height: 520px; }
.hv__atmos { position: absolute; inset: 0 0 60px 0; border-radius: var(--r-xl); }
.hv__card { position: absolute; left: 50%; bottom: 0; width: min(360px, 90%); transform: translateX(-50%) rotate(-2deg); padding: 20px; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 70px rgba(22, 19, 15, .35); }
.hv__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hv__title { margin-top: 6px; font: 800 21px/.98 var(--f-display); letter-spacing: -.035em; }
.hv__pct { font: 800 39px/.8 var(--f-display); letter-spacing: -.035em; display: flex; }
.hv__pct span:last-child { font-size: .45em; color: var(--spritz); }
.hv__bar { height: 8px; margin: 14px 0 6px; border-radius: 4px; background: var(--paper-3); overflow: hidden; }
.hv__bar i { display: block; height: 100%; background: var(--ink); transition: width .5s var(--ease-out); }
.hv__rows { display: flex; flex-direction: column; }
.hv__row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 22px; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(22, 19, 15, .1); }
.hv__row:last-child { border-bottom: 0; }
.hv__emoji { font-size: 20px; }
.hv__name { font-weight: 650; }
.hv__who { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
.hv__who .av { animation: popIn .45s var(--ease-spring) both; }
.hv__nobody { color: var(--spritz-ink); font-weight: 650; }
.hv__row .check { --bg: var(--paper); --fg: var(--ink); --fg-3: #b9b1a6; }
.hv__stamp { position: absolute; right: -8px; top: 42%; padding: 8px 14px; border-radius: 12px; border: 3px solid var(--spritz); color: var(--spritz); font: 800 25px/1 var(--f-display); letter-spacing: -.035em; transform: rotate(8deg) scale(1.6); opacity: 0; transition: opacity .25s, transform .4s var(--ease-spring); background: rgba(246, 243, 238, .92); }
.hv__stamp.is-on { opacity: 1; transform: rotate(8deg) scale(1); }
.hv__toast { position: absolute; top: 24px; right: 16px; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 13.5px; font-weight: 650; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); animation: toastIn .5s var(--ease-spring) both; max-width: calc(100% - 32px); }

.marquee { overflow: hidden; padding: 18px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__set { display: flex; align-items: center; gap: 28px; padding-right: 28px; font: 800 36px/1 var(--f-display); letter-spacing: -.035em; white-space: nowrap; }
.marquee__set i { font-style: normal; color: var(--spritz); font-size: .6em; }

.lp-sec { max-width: 1360px; margin: 0 auto; padding: 72px var(--gut); }
.lp-sec__head { display: flex; flex-direction: column; gap: 14px; }
.lp-lede { font-size: 18px; line-height: 1.5; color: var(--fg-2); max-width: 40ch; }
.lp-fine { font-size: 14px; color: var(--fg-3); }
.steps { display: grid; gap: 14px; margin-top: 40px; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); }
.step__n { font: 800 52px/.8 var(--f-display); letter-spacing: -.035em; color: var(--spritz); }
.step__title { font: 800 25px/1 var(--f-display); letter-spacing: -.035em; }
.step p { color: var(--fg-2); }
.step__visual { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.step__visual--types span { height: 34px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--bg); font-size: 13.5px; font-weight: 600; }
.step__visual--types span.is-on { background: var(--ink); color: var(--paper); }
.step__visual--link { padding: 12px 14px; border-radius: 14px; background: var(--bg); font-weight: 600; font-size: 14px; flex-wrap: nowrap; min-width: 0; }
.step__visual--link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.step__visual--claim { padding: 10px 14px; border-radius: 14px; background: var(--bg); gap: 12px; }
.step__visual--claim span:nth-child(2) { flex: 1; display: flex; flex-direction: column; font-size: 14px; }
.step__visual--claim small { color: var(--fg-2); }
.step__emoji { font-size: 26px; }
.step__who { font-weight: 650; font-size: 14px; }

.lp-math { display: grid; gap: 36px; }
.lp-math__copy { display: flex; flex-direction: column; gap: 16px; }
.calc { padding: 22px; border-radius: var(--r-lg); background: var(--ink); color: var(--paper); --bg: var(--ink); --fg: var(--paper); --surface-2: rgba(246, 243, 238, .16); --fg-2: rgba(246, 243, 238, .6); }
.calc .label { color: rgba(246, 243, 238, .6); }
.calc__control { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 4px 16px; }
.calc__n { grid-row: span 2; font: 800 79px/.8 var(--f-display); letter-spacing: -.035em; color: var(--spritz); min-width: 1.1em; }
.calc__scale { grid-column: 2; display: flex; justify-content: space-between; font-size: 12px; color: rgba(246, 243, 238, .5); }
.calc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 22px; border-radius: 18px; overflow: hidden; background: rgba(246, 243, 238, .1); }
.calc__item { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--ink); }
.calc__emoji { font-size: 22px; }
.calc__num { display: flex; align-items: baseline; gap: 6px; font: 800 33px/1 var(--f-display); letter-spacing: -.035em; }
.calc__num small { font: 600 13px var(--f-ui); color: rgba(246, 243, 238, .6); }
.calc__name { font-size: 14px; font-weight: 600; color: rgba(246, 243, 238, .8); }

.lp-fair { display: grid; gap: 36px; }
.lp-fair__copy { display: flex; flex-direction: column; gap: 16px; }
.lp-fair__visual { display: grid; gap: 14px; }
.fairscale, .fairsplit { padding: 20px; border-radius: var(--r-lg); background: var(--surface); }
.fairscale__row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "e n d" "e note note"; gap: 2px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--hair); }
.fairscale__row:last-child { border-bottom: 0; }
.fairscale__e { grid-area: e; font-size: 22px; }
.fairscale__n { grid-area: n; font-weight: 650; }
.fairscale__row .effort { grid-area: d; }
.fairscale__note { grid-area: note; font-size: 13px; color: var(--fg-2); }
.fairsplit { display: flex; flex-direction: column; gap: 10px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--hair); }
.fairsplit__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fairsplit__row { display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-areas: "a w" "a b"; gap: 4px 12px; align-items: center; }
.fairsplit__row .av { grid-area: a; }
.fairsplit__who { grid-area: w; font-size: 14.5px; }
.fairsplit__bar { grid-area: b; height: 6px; border-radius: 3px; background: var(--paper-3); overflow: hidden; }
.fairsplit__bar i { display: block; height: 100%; background: var(--ink); }
.fairsplit .btn { margin-top: 8px; }

.lp-night { position: relative; overflow: hidden; color: #F6F3EE; background: var(--night); }
.lp-night__atmos { position: absolute; inset: 0; }
.lp-night__inner { position: relative; z-index: 2; display: grid; gap: 32px; max-width: 1360px; margin: 0 auto; padding: 120px var(--gut) 72px; }
.lp-night__inner .label { color: rgba(246, 243, 238, .7); }
.lp-night__inner .mega { margin: 10px 0 18px; }
.lp-night__inner .lp-lede { color: rgba(246, 243, 238, .8); }
.lp-night__panel { align-self: end; padding: 22px; border-radius: var(--r-lg); background: rgba(16, 14, 12, .72); box-shadow: inset 0 0 0 1px rgba(246, 243, 238, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); --hair: rgba(246, 243, 238, .12); --accent-text: #FF8A5C; }
.lp-night__panel .pd-facts { margin-bottom: 14px; }

.lp-chat { display: grid; gap: 36px; }
.lp-chat__copy { display: flex; flex-direction: column; gap: 18px; }
.chat { max-width: 440px; width: 100%; border-radius: var(--r-xl); overflow: hidden; background: #E9E3D8; box-shadow: 0 30px 60px rgba(22, 19, 15, .14); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--paper); border-bottom: 1px solid var(--hair); }
.chat__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); font-size: 18px; }
.chat__head b { display: block; }
.chat__head span { font-size: 13px; color: var(--fg-2); }
.chat__msgs { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: var(--paper); font-size: 14.5px; }
.msg b { display: block; font-size: 12.5px; color: var(--spritz-ink); }
.msg--me { align-self: flex-end; max-width: 88%; padding: 6px; border-radius: 16px 16px 4px 16px; background: #FFF7F1; }
.msg--me > p { padding: 4px 8px 8px; }
.msg__link { display: block; padding: 6px 8px 2px; font-size: 12.5px; color: var(--spritz-ink); text-decoration: underline; overflow-wrap: anywhere; }

.lp-final { max-width: 1360px; margin: 0 auto; padding: 72px var(--gut) 88px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.lp-final__claim { font: 800 clamp(36px, 7.4cqi, 80px)/.98 var(--f-display); letter-spacing: -.035em; max-width: 16ch; text-wrap: balance; }
.lp-foot { padding: 40px var(--gut) 48px; border-top: 1px solid var(--hair); display: flex; flex-direction: column; gap: 24px; }
.lp-foot__mark .wordmark { font-size: clamp(40px, 12cqi, 96px); }
.lp-foot__mark .wordmark .mark { width: .9em; height: .9em; }
.lp-foot__row { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: 14px; color: var(--fg-2); }

/* --------------------------------------------------------------------------
   Responsive (container queries on the app's own width)
   -------------------------------------------------------------------------- */
@container (min-width: 560px) {
  .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .type-card--wide { grid-column: auto; min-height: 124px; }
  .need-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .invite-band { margin-left: 0; margin-right: 0; }
  .invite-band__in { padding: 170px 32px 32px; }
  .ov-hero, .pd-hero, .after__head { margin-left: 0; margin-right: 0; }
  .page-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
@container (min-width: 560px) {
  .erow { grid-template-columns: 40px minmax(0, 1fr) auto 36px; grid-template-areas: "ico main qty rm"; }
  .erow__ico { align-self: center; }
}
@container (min-width: 720px) {
  .ov-hero__atmos, .ov-hero__atmos .atmos__content { min-height: 440px; }
  .ov-hero__atmos .atmos__content { padding: 22px 28px 28px; }
  .ov-status { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 32px; align-items: end; }
  .ov-status .segbar, .ov-status .seglegend { grid-column: 1 / -1; }
  .stat { padding: 20px 18px; }
  .stat__n { font-size: 32px; }
  .pgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lockscreen__atmos .atmos__content { padding: 40px 80px 28px; }
}
@container app (min-width: 820px) {
  .lp-nav__links { display: flex; }
  .lp-nav__demo { display: inline-flex; }
  .lp-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; padding-top: 48px; padding-bottom: 72px; min-height: min(86vh, 860px); }
  .lp-hero__title { font-size: clamp(52px, calc(4.6cqi + 8px), 78px); }
  .hv { min-height: 600px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-math, .lp-fair, .lp-chat { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 56px; }
  .lp-fair__visual { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
  .calc__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-night__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; padding-top: 180px; padding-bottom: 100px; }
  .lp-chat .chat { justify-self: end; }
  .lp-foot { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .marquee__set { font-size: 42px; }
}

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes routeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes stepFwd { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pillIn { from { opacity: 0; transform: translateY(8px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetDown { to { transform: translateY(100%); } }
@keyframes dialogIn { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes dialogOut { to { opacity: 0; transform: translate(-50%, -48%) scale(.98); } }
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(.95); } }
@keyframes notifIn { from { opacity: 0; transform: translateY(-18px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes celebrateIn { from { clip-path: circle(0% at 50% 60%); } to { clip-path: circle(150% at 50% 60%); } }
@keyframes rowOut { 0% { opacity: 1; max-height: 220px; } 60% { opacity: 0; transform: translateX(30px); max-height: 220px; } 100% { opacity: 0; transform: translateX(30px); max-height: 0; border-bottom-width: 0; } }
@keyframes feedIn { from { opacity: 0; transform: translateY(-8px); background: var(--open-bg); } to { opacity: 1; transform: none; background: transparent; } }
@keyframes tabbarIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes spotlight { 0%, 100% { box-shadow: 0 16px 40px rgba(22, 19, 15, .28), 0 0 0 0 rgba(255, 90, 31, 0); } 50% { box-shadow: 0 16px 40px rgba(22, 19, 15, .28), 0 0 0 8px rgba(255, 90, 31, .45); } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-2.5%, 1.5%, 0) scale(1.05); } }
@keyframes flicker { 0%, 100% { opacity: 1; } 42% { opacity: .78; } 47% { opacity: .95; } 70% { opacity: .85; } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 90, 31, 0); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .2; } }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes swipeHint { 0%, 15% { transform: translateX(0); } 55%, 70% { transform: translateX(18px); } 100% { transform: translateX(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .strike path { stroke-dashoffset: 0; }
  .marquee__track { animation: none; }
  .prerender { animation-delay: 2.5s !important; }
}

/* Schritt 7: Bild der Einladung */
.pubcover { display: flex; flex-direction: column; gap: 10px; }
.pubcover__preview { margin: 0; }
.pubcover__looks { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; margin: 0 -16px; padding: 4px 16px 6px; scrollbar-width: none; }
.pubcover__looks::-webkit-scrollbar { display: none; }
.pubcover__look { flex: 0 0 76px; display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none; color: var(--fg); font: 650 12px/1.2 var(--f-ui); text-align: left; cursor: pointer; scroll-snap-align: start; }
.pubcover__swatch { display: block; width: 76px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; transition: box-shadow .2s; }
.pubcover__swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pubcover__swatch--add { display: grid; place-items: center; border: 1.5px dashed var(--fg-3); color: var(--fg-2); background: var(--surface); }
.pubcover__look:hover .pubcover__swatch--add { border-color: var(--spritz); color: var(--spritz); }
.pubcover__look.is-on .pubcover__swatch { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--spritz); }
.pubcover__look:focus-visible { outline: none; }
.pubcover__look:focus-visible .pubcover__swatch, #create-cover:focus-visible + .pubcover__look .pubcover__swatch { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--fg); }
.pubcover .hint { margin: 0; }
.pubcover .hint .link-btn { font-size: inherit; }

/* Gefährliche Aktionen in Listen (Party löschen/verlassen, Konto löschen) */
.linklist button.linklist__danger { color: var(--accent-text); }
.gone-sheet .sheet-sub { color: var(--fg-2); line-height: 1.5; }
.gone-sheet .sheet-sub b { color: var(--fg); }
.gone-list { margin: 12px 0 4px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--surface); display: flex; flex-direction: column; gap: 4px; font-weight: 650; }
.gone-list li::before { content: '· '; color: var(--fg-3); }

/* Impressum · Datenschutz · Cookie-Einstellungen */
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 28px 0 8px; font-size: 13px; color: var(--fg-3); }
.legal-links a, .legal-links .link-btn { color: var(--fg-2); font-size: 13px; font-weight: 600; text-decoration: none; }
.legal-links a:hover, .legal-links .link-btn:hover { color: var(--fg); text-decoration: underline; }
.legal-links--center { justify-content: center; margin-top: 18px; }
.join__legal, .authbox__legal { margin-top: 12px; text-align: center; }
.authbox__legal { text-align: left; }
.join__legal a, .authbox__legal a, .consent__text a { color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.lp-foot__row a { color: inherit; text-decoration: none; }
.lp-foot__row a:hover { text-decoration: underline; }
.legal-links--side { margin: 6px 0 0; gap: 4px 12px; }
.legal-links--side a, .legal-links--side .link-btn { font-size: 12px; }
.legal-links { align-items: center; line-height: 1.4; }
.legal-links .link-btn { padding: 0; min-height: 0; line-height: inherit; }

/* Stimmungsfotos: Foto liegt über der gezeichneten Fläche (die bleibt als Platzhalter beim Laden) */
.atmos--photo .atmos__bokeh { animation: none; }
.vibe__swatch { position: relative; overflow: hidden; }
.vibe__swatch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
/* Startseite „Heute Abend.“: Foto deutlich abdunkeln, damit der Text darüber gut lesbar bleibt */
.lp-night__atmos.atmos--photo::after { background: linear-gradient(180deg, rgba(12, 8, 6, .82) 0%, rgba(12, 8, 6, .62) 45%, rgba(12, 8, 6, .86) 100%); }
