/* ==========================================================================
   StickerSwap – Design System
   Mobile First · Dark + Light Mode · keine externen Requests (DSGVO-freundlich)
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------- */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, sans-serif;
  --font-num: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI Variable Display", system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-xs: 8px; --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-xl: 28px; --r-pill: 999px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 68px;
  --top-h: 60px;
  --side-w: 256px;
  --maxw: 1180px;

  --holo: linear-gradient(115deg, #6d5bff 0%, #b55cff 30%, #ff5c8a 62%, #ffb443 100%);
  --holo-soft: linear-gradient(115deg, rgba(109,91,255,.16), rgba(255,92,138,.14) 60%, rgba(255,180,67,.16));
  --gold: linear-gradient(135deg, #ffd27a, #ffb443 45%, #ff9a3d);
}

/* Dark ist das Standard-Theme der Marke */
:root, [data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0a12;
  --bg-glow: radial-gradient(1200px 600px at 85% -10%, rgba(109,91,255,.18), transparent 60%),
             radial-gradient(900px 500px at -10% 110%, rgba(255,92,138,.10), transparent 60%);
  --surface: #13131e;
  --surface-2: #1a1a28;
  --surface-3: #232334;
  --elev: #161623;
  --border: rgba(255,255,255,.07);
  --border-strong: rgba(255,255,255,.13);
  --text: #f4f3fc;
  --text-2: #aeadc6;
  --text-3: #74738f;
  --primary: #8676ff;
  --primary-strong: #6d5bff;
  --primary-soft: rgba(134,118,255,.15);
  --on-primary: #ffffff;
  --pink: #ff6b95;
  --pink-soft: rgba(255,107,149,.14);
  --gold-c: #ffbe55;
  --gold-soft: rgba(255,190,85,.14);
  --success: #2fd39a;
  --success-soft: rgba(47,211,154,.13);
  --warning: #ffb547;
  --warning-soft: rgba(255,181,71,.13);
  --danger: #ff5577;
  --danger-soft: rgba(255,85,119,.13);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 10px 30px -12px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.25);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7);
  --glass: rgba(15,15,24,.78);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f3f9;
  --bg-glow: radial-gradient(1200px 600px at 85% -10%, rgba(109,91,255,.10), transparent 60%),
             radial-gradient(900px 500px at -10% 110%, rgba(255,92,138,.07), transparent 60%);
  --surface: #ffffff;
  --surface-2: #f3f2f9;
  --surface-3: #e9e8f3;
  --elev: #ffffff;
  --border: rgba(24,20,70,.08);
  --border-strong: rgba(24,20,70,.15);
  --text: #15142b;
  --text-2: #55546f;
  --text-3: #8d8ca6;
  --primary: #6250f5;
  --primary-strong: #5241e6;
  --primary-soft: rgba(98,80,245,.10);
  --pink: #ec3f73;
  --pink-soft: rgba(236,63,115,.10);
  --gold-c: #d98a10;
  --gold-soft: rgba(255,180,67,.18);
  --success: #0f9e6c;
  --success-soft: rgba(15,158,108,.10);
  --warning: #c77a06;
  --warning-soft: rgba(245,158,11,.12);
  --danger: #e2334f;
  --danger-soft: rgba(226,51,79,.09);
  --shadow-sm: 0 1px 2px rgba(20,16,60,.06);
  --shadow: 0 12px 32px -14px rgba(30,20,90,.18), 0 2px 6px rgba(30,20,90,.05);
  --shadow-lg: 0 30px 60px -24px rgba(30,20,90,.28);
  --glass: rgba(255,255,255,.82);
}

/* ---------- Reset / Base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  color: var(--text); background: var(--bg);
  background-image: var(--bg-glow); background-attachment: fixed;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 750; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.3rem); }
h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); }
h3 { font-size: 1.12rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
small, .small { font-size: .86rem; }
hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2.5px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.gap-1 { gap: 8px; } .gap-2 { gap: 14px; }
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap { flex-wrap: wrap; }
.stack > * + * { margin-top: 14px; }
.grow { flex: 1; min-width: 0; }
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 1024px) { .hide-desktop { display: none !important; } }

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  --b-bg: var(--surface-2); --b-fg: var(--text); --b-bd: var(--border);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--r-sm);
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
  font: inherit; font-weight: 650; font-size: .97rem; letter-spacing: -.005em;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: transform .15s var(--ease), background .2s, box-shadow .2s, border-color .2s, opacity .2s;
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.btn:hover { border-color: var(--border-strong); }
.btn:active { transform: scale(.97); }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn-primary { --b-bg: var(--primary-strong); --b-fg: #fff; --b-bd: transparent; box-shadow: 0 8px 22px -10px var(--primary-strong); }
.btn-primary:hover { --b-bg: var(--primary); }
.btn-holo { --b-fg: #fff; --b-bd: transparent; background: var(--holo); background-size: 160% 100%; box-shadow: 0 10px 28px -12px #b55cff; }
.btn-holo:hover { background-position: 100% 0; }
.btn-success { --b-bg: var(--success); --b-fg: #04130d; --b-bd: transparent; }
[data-theme="light"] .btn-success { --b-fg: #fff; }
.btn-danger { --b-bg: var(--danger-soft); --b-fg: var(--danger); --b-bd: transparent; }
.btn-ghost { --b-bg: transparent; --b-bd: transparent; --b-fg: var(--text-2); }
.btn-ghost:hover { --b-bg: var(--surface-2); --b-fg: var(--text); }
.btn-outline { --b-bg: transparent; --b-bd: var(--border-strong); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .88rem; border-radius: 10px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; border-radius: var(--r-md); }
.btn-block { width: 100%; }
.btn-icon { width: 44px; min-height: 44px; padding: 0; border-radius: 12px; }
.btn .spinner { display: none; }
.btn.is-loading .spinner { display: inline-block; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Forms -------------------------------------------------------- */
.field { display: block; margin-bottom: 16px; }
.field > label, .label { display: block; font-weight: 620; font-size: .9rem; margin-bottom: 7px; color: var(--text); }
.field .hint { font-size: .82rem; color: var(--text-3); margin-top: 6px; }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 15px;
  background: var(--surface-2); color: var(--text);
  border: 1.5px solid transparent; border-radius: var(--r-sm);
  font: inherit; font-size: 16px; /* verhindert iOS-Zoom */
  transition: border-color .2s, background .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238d8ca6' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px;
}
textarea.input { min-height: 110px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: var(--text-3); }
.input:hover { background: var(--surface-3); }
.input:focus { outline: none; border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px var(--primary-soft); }
.input-otp { font-family: var(--font-mono); font-size: 28px; letter-spacing: .5em; text-align: center; font-weight: 700; padding-left: calc(15px + .25em); }
.input-group { position: relative; }
.input-group .input { padding-right: 52px; }
.input-group .btn-icon { position: absolute; right: 3px; top: 3px; min-height: 44px; width: 44px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .93rem; color: var(--text-2); padding: 4px 0; }
.check input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; border: 2px solid var(--border-strong); background: var(--surface-2); display: grid; place-items: center; cursor: pointer; transition: .15s; }
.check input:checked { background: var(--primary-strong); border-color: var(--primary-strong); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.switch { position: relative; display: inline-flex; width: 50px; height: 30px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--surface-3); border-radius: 99px; transition: .2s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .25s var(--ease-spring); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.switch input:checked + span { background: var(--primary-strong); }
.switch input:checked + span::before { transform: translateX(20px); }

.segmented { display: flex; padding: 4px; gap: 4px; background: var(--surface-2); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.segmented::-webkit-scrollbar { display: none; }
.segmented a, .segmented button, .segmented label {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 14px;
  border-radius: 11px; color: var(--text-2); font-weight: 620; font-size: .9rem; white-space: nowrap;
  border: 0; background: none; font-family: inherit; cursor: pointer; text-decoration: none !important; transition: .2s;
}
.segmented .active, .segmented input:checked + span { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .segmented .active, :root:not([data-theme]) .segmented .active { background: var(--surface-3); }
.segmented label { padding: 0; }
.segmented label span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 42px; border-radius: 11px; padding: 0 14px; transition: .2s; }
.segmented label input { position: absolute; opacity: 0; pointer-events: none; }

/* ---------- Cards -------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 20px; box-shadow: var(--shadow-sm); position: relative;
}
.card-lg { padding: 28px; }
.card-flush { padding: 0; overflow: hidden; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-header h2, .card-header h3 { margin: 0; }
.card-link { display: block; color: inherit; text-decoration: none !important; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.card-link:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.card-holo { border: 0; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--holo) border-box; border: 1.5px solid transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

.grid { display: grid; gap: 14px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) {
  .grid-md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-md-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .grid-lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-lg-main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; } }

/* Kennzahlen */
.stat { padding: 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat-value { font-family: var(--font-num); font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .84rem; color: var(--text-2); font-weight: 560; }
.stat-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px; }
.tone-primary { background: var(--primary-soft); color: var(--primary); }
.tone-gold { background: var(--gold-soft); color: var(--gold-c); }
.tone-pink { background: var(--pink-soft); color: var(--pink); }
.tone-success { background: var(--success-soft); color: var(--success); }
.tone-warning { background: var(--warning-soft); color: var(--warning); }
.tone-danger { background: var(--danger-soft); color: var(--danger); }

/* Badges / Pills */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); font-size: .76rem; font-weight: 700; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.badge.tone-primary, .badge.tone-gold, .badge.tone-pink, .badge.tone-success, .badge.tone-warning, .badge.tone-danger { }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.count-badge { min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--pink); color: #fff; font-size: .68rem; font-weight: 800; display: inline-grid; place-items: center; line-height: 1; }
.count-badge:empty, .count-badge[data-count="0"] { display: none; }

/* Avatar */
.avatar { --h: 250; display: inline-grid; place-items: center; flex-shrink: 0; border-radius: 30%; font-weight: 800; color: #fff; font-family: var(--font-display);
  background: linear-gradient(140deg, hsl(var(--h) 80% 62%), hsl(calc(var(--h) + 40) 85% 55%)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.avatar-sm { width: 34px; height: 34px; font-size: .9rem; }
.avatar-md { width: 46px; height: 46px; font-size: 1.15rem; }
.avatar-lg { width: 84px; height: 84px; font-size: 2.1rem; border-radius: 28%; }
.stars { display: inline-flex; gap: 1px; color: var(--text-3); letter-spacing: 0; font-style: normal; }
.stars i { font-style: normal; }
.stars i.on { color: var(--gold-c); }

/* ---------- Alerts / Toasts --------------------------------------------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); font-size: .94rem; line-height: 1.45; border: 1px solid transparent; }
.alert .icon { margin-top: 1px; }
.alert-success { background: var(--success-soft); color: var(--success); }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-info { background: var(--primary-soft); color: var(--primary); }
.alert-warning { background: var(--warning-soft); color: var(--warning); }
.alert p, .alert div { color: var(--text); margin: 0; }
.alert strong { color: inherit; }
.toasts { position: fixed; z-index: 100; left: 12px; right: 12px; top: calc(env(safe-area-inset-top) + 12px); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
@media (min-width: 768px) { .toasts { left: auto; right: 24px; top: 24px; width: 380px; } }
.toast { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 14px 14px 16px; border-radius: 16px;
  background: var(--glass); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); font-size: .93rem; font-weight: 550;
  animation: toast-in .45s var(--ease-spring) both; }
.toast.is-leaving { animation: toast-out .3s var(--ease) both; }
.toast .t-icon { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.toast-success .t-icon { background: var(--success-soft); color: var(--success); }
.toast-error .t-icon { background: var(--danger-soft); color: var(--danger); }
.toast-info .t-icon { background: var(--primary-soft); color: var(--primary); }
.toast .t-body { flex: 1; padding-top: 2px; }
.toast button { background: none; border: 0; color: var(--text-3); cursor: pointer; padding: 2px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-10px) scale(.97); } }

/* ---------- Modal (native <dialog>) -------------------------------------- */
dialog.modal { border: 0; padding: 0; background: transparent; max-width: min(520px, calc(100vw - 24px)); width: 100%; color: var(--text); }
dialog.modal::backdrop { background: rgba(5,5,12,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.modal[open] { animation: modal-in .35s var(--ease-spring); }
.modal-box { background: var(--elev); border: 1px solid var(--border-strong); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.modal-head h3 { margin: 4px 0 0; font-size: 1.2rem; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
@media (max-width: 600px) {
  dialog.modal { margin: auto 0 0; max-width: 100vw; }
  .modal-box { border-radius: var(--r-xl) var(--r-xl) 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  dialog.modal[open] { animation: sheet-in .4s var(--ease); }
  .modal-actions .btn { flex: 1; }
}
@keyframes modal-in { from { opacity: 0; transform: scale(.94) translateY(8px); } }
@keyframes sheet-in { from { transform: translateY(100%); } }

/* ==========================================================================
   APP SHELL
   ========================================================================== */
.app { min-height: 100vh; }
.topbar {
  position: sticky; top: 0; z-index: 40; height: calc(var(--top-h) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 16px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--glass); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; text-decoration: none !important; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand b { background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--text-2); background: none; border: 0; cursor: pointer; transition: .2s; text-decoration: none !important; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn .count-badge { position: absolute; top: 4px; right: 3px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.main { padding: 20px 16px calc(var(--nav-h) + 32px + env(safe-area-inset-bottom)); max-width: var(--maxw); margin: 0 auto; }
.page-head { margin-bottom: 20px; }
.page-head h1 { margin-bottom: 4px; }
.page-head p { color: var(--text-2); margin: 0; }
.page-head .row-between { align-items: flex-end; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: .9rem; font-weight: 600; margin-bottom: 12px; }

/* Bottom-Navigation (Mobile) */
.bottom-nav {
  position: fixed; z-index: 50; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  height: var(--nav-h); display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--glass); backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid var(--border-strong); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 6px;
}
.bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text-3); font-size: .68rem; font-weight: 650; border-radius: 18px; text-decoration: none !important; transition: color .2s; }
.bottom-nav a .icon { width: 23px; height: 23px; transition: transform .3s var(--ease-spring); }
.bottom-nav a.active { color: var(--text); }
.bottom-nav a.active::before { content: ""; position: absolute; inset: 2px 8px; border-radius: 16px; background: var(--primary-soft); z-index: -1; animation: pop .35s var(--ease-spring); }
.bottom-nav a.active .icon { color: var(--primary); transform: translateY(-1px); }
.bottom-nav a:active .icon { transform: scale(.88); }
.bottom-nav .count-badge { position: absolute; top: 5px; left: calc(50% + 6px); }
@keyframes pop { from { transform: scale(.7); opacity: 0; } }

/* Sidebar (Desktop) */
.sidebar { display: none; }
@media (min-width: 1024px) {
  .app { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); }
  .sidebar {
    display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; padding: 22px 14px;
    border-right: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 55%, transparent);
  }
  .sidebar .brand { padding: 4px 10px 22px; }
  .side-nav { display: flex; flex-direction: column; gap: 2px; }
  .side-nav a, .side-nav button {
    display: flex; align-items: center; gap: 12px; padding: 0 12px; height: 44px; border-radius: 12px;
    color: var(--text-2); font-weight: 600; font-size: .94rem; text-decoration: none !important; transition: .15s;
    background: none; border: 0; font-family: inherit; cursor: pointer; width: 100%; text-align: left;
  }
  .side-nav a:hover, .side-nav button:hover { background: var(--surface-2); color: var(--text); }
  .side-nav a.active { background: var(--primary-soft); color: var(--text); }
  .side-nav a.active .icon { color: var(--primary); }
  .side-nav .count-badge { margin-left: auto; }
  .side-section { font-size: .7rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); padding: 18px 12px 8px; }
  .side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
  .side-user { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; color: var(--text); text-decoration: none !important; }
  .side-user:hover { background: var(--surface-2); }
  .side-user small { display: block; color: var(--text-3); font-size: .78rem; }
  .bottom-nav { display: none; }
  .topbar .brand { display: none; }
  .topbar { justify-content: flex-end; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; position: absolute; right: 0; top: 0; width: auto; z-index: 30; }
  .topbar.topbar-static { position: relative; width: 100%; height: auto; padding-top: 14px; padding-bottom: 0; }
  .main { padding: 28px 40px 60px; }
}

/* ==========================================================================
   STICKER-KOMPONENTEN
   ========================================================================== */
/* Mini-Sticker-Chip (#14) */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 34px; padding: 0 9px;
  border-radius: 10px; font-family: var(--font-num); font-weight: 800; font-size: .9rem; font-variant-numeric: tabular-nums;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border); position: relative;
}
.chip::before { content: "#"; opacity: .4; margin-right: 1px; font-weight: 700; }
.chip-get { background: var(--success-soft); color: var(--success); border-color: transparent; }
.chip-give { background: var(--gold-soft); color: var(--gold-c); border-color: transparent; }
.chip-wanted { background: transparent; color: var(--pink); border: 1.5px dashed color-mix(in srgb, var(--pink) 55%, transparent); }
.chip-locked { opacity: .6; }
.chip sup { font-size: .62rem; margin-left: 2px; font-weight: 800; }
.chips-more { font-size: .82rem; color: var(--text-3); align-self: center; font-weight: 600; }

/* Album-Kachel */
.album-card { display: flex; flex-direction: column; gap: 14px; }
.album-cover {
  position: relative; height: 92px; border-radius: 16px; overflow: hidden; display: flex; align-items: flex-end; padding: 14px;
  background: var(--holo); color: #fff;
}
.album-cover::after { content: ""; position: absolute; inset: 0; background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.0) 0 14px, rgba(255,255,255,.10) 14px 15px),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.4), transparent 40%); }
.album-cover h3 { position: relative; z-index: 1; margin: 0; font-size: 1.08rem; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.album-cover .album-year { position: absolute; top: 12px; right: 14px; z-index: 1; font-family: var(--font-num); font-weight: 800; font-size: .8rem; opacity: .9; }
.album-cover[data-hue] { background: linear-gradient(120deg, hsl(var(--hue) 75% 55%), hsl(calc(var(--hue) + 50) 80% 58%) 60%, hsl(calc(var(--hue) + 95) 90% 62%)); }
.progress { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: var(--holo); transition: width .6s var(--ease); }
.album-meta { display: flex; gap: 14px; font-size: .84rem; color: var(--text-2); flex-wrap: wrap; }
.album-meta b { color: var(--text); font-family: var(--font-num); }

/* Schnelleingabe */
.quick-card { position: relative; overflow: hidden; }
.quick-card .step-num { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-family: var(--font-num); flex-shrink: 0; }
.quick-title { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.quick-title h2 { margin: 0; font-size: 1.15rem; }
.quick-input { font-family: var(--font-num); font-size: 1.05rem; font-weight: 650; letter-spacing: .01em; min-height: 120px; line-height: 1.6; }
.preview-chips { min-height: 34px; margin: 10px 0 4px; }
.preview-chips:empty::before { content: attr(data-empty); color: var(--text-3); font-size: .86rem; }
.syntax-help { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--text-3); margin-top: 4px; }
.syntax-help code { font-family: var(--font-num); font-weight: 700; color: var(--text-2); background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
.result-box { margin-top: 12px; }

/* Grid-Ansicht */
.brushbar {
  position: sticky; top: calc(var(--top-h) + env(safe-area-inset-top) + 8px); z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 6px; border-radius: 18px; background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow); margin-bottom: 14px;
}
@media (min-width: 1024px) { .brushbar { top: 12px; } }
.brush { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border-radius: 13px; border: 0; background: none; color: var(--text-2); font: inherit; font-size: .72rem; font-weight: 700; cursor: pointer; transition: .2s; }
.brush .swatch { width: 22px; height: 22px; border-radius: 7px; }
.brush.active { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
[data-theme="light"] .brush.active { background: var(--surface); }
.swatch-wanted { border: 2px dashed var(--pink); }
.swatch-owned { background: var(--success); }
.swatch-duplicate { background: var(--gold); }
.swatch-none { border: 2px solid var(--text-3); position: relative; }
.swatch-none::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--text-3); transform: rotate(45deg); }

.sticker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 7px; }
@media (min-width: 768px) { .sticker-grid { grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 8px; } }
.tile {
  position: relative; aspect-ratio: 3 / 4; border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text-3); display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-num); font-weight: 800; font-size: .98rem; font-variant-numeric: tabular-nums; cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: transform .18s var(--ease-spring), background .2s, border-color .2s, color .2s; touch-action: manipulation; padding: 2px;
}
.tile:active { transform: scale(.9); }
.tile .t-name { font-family: var(--font); font-size: .55rem; font-weight: 600; opacity: .7; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 3px; }
.tile .t-qty { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 99px; background: #1a1205; color: #ffd27a; font-size: .72rem; display: none; place-items: center; border: 2px solid var(--bg); }
.tile .t-lock { position: absolute; bottom: 4px; right: 4px; width: 12px; height: 12px; display: none; }
.tile[data-s="owned"] { background: var(--success-soft); border-color: transparent; color: var(--success); }
.tile[data-s="duplicate"] { background: var(--gold); border-color: transparent; color: #3a2500; box-shadow: 0 6px 16px -8px #ffb443; }
.tile[data-s="duplicate"] .t-qty { display: grid; }
.tile[data-s="wanted"] { background: var(--pink-soft); border: 1.5px dashed var(--pink); color: var(--pink); }
.tile[data-r="1"] .t-lock { display: block; }
.tile.flash { animation: tile-flash .45s var(--ease-spring); }
.tile.error { animation: shake .4s; }
@keyframes tile-flash { 40% { transform: scale(1.12); } }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.grid-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .82rem; color: var(--text-2); margin: 4px 0 14px; }
.grid-legend span { display: inline-flex; align-items: center; gap: 6px; }
.grid-legend .swatch { width: 14px; height: 14px; border-radius: 5px; }
.save-indicator { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--text-3); font-weight: 600; }
.save-indicator.saving { color: var(--warning); }
.save-indicator.saved { color: var(--success); }
.grid-category { grid-column: 1 / -1; font-size: .75rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); padding: 10px 2px 2px; }

/* ==========================================================================
   MATCH-KARTE
   ========================================================================== */
.match-card { padding: 0; overflow: hidden; border-radius: var(--r-xl); }
.match-top { display: flex; align-items: center; gap: 12px; padding: 18px 18px 14px; }
.match-top .who { flex: 1; min-width: 0; }
.match-top .who b { display: block; font-size: 1.04rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-top .who span { font-size: .84rem; color: var(--text-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.score-ring { --p: 50; width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; position: relative;
  background: conic-gradient(from -90deg, #6d5bff, #ff5c8a calc(var(--p) * .6%), #ffb443 calc(var(--p) * 1%), var(--surface-2) 0); }
.score-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--surface); }
.score-ring b { position: relative; font-family: var(--font-num); font-size: .92rem; font-weight: 800; letter-spacing: -.02em; }
.score-ring b small { font-size: .62rem; opacity: .7; }
.match-banner { margin: 0 18px; padding: 8px 12px; border-radius: 12px; font-size: .84rem; font-weight: 650; display: flex; align-items: center; gap: 8px; }
.match-swap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; padding: 16px 18px; align-items: stretch; }
.swap-side { min-width: 0; }
.swap-side h4 { font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
.swap-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.swap-mid .vs { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--holo); color: #fff; box-shadow: 0 8px 20px -8px #b55cff; }
.swap-mid .ratio { font-family: var(--font-num); font-weight: 800; font-size: .85rem; white-space: nowrap; }
.match-actions { display: flex; gap: 10px; padding: 14px 18px 18px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface-2) 40%, transparent); }
.match-actions form { display: contents; }
.match-actions .btn { min-width: 0; padding: 0 14px; }
.match-actions .btn-primary, .match-actions .btn-holo { flex: 1.6 1 0; }
.match-actions .btn-ghost, .match-actions .btn-outline { flex: 1 1 0; }
@media (max-width: 520px) {
  .match-swap { grid-template-columns: 1fr; }
  .swap-mid { flex-direction: row; justify-content: flex-start; }
  .swap-mid .vs { width: 36px; height: 36px; border-radius: 11px; transform: rotate(90deg); }
}
.match-stack { display: grid; gap: 16px; }
@media (min-width: 900px) { .match-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

/* Swipe-Deck (Mobile) */
.deck { position: relative; }
.deck .match-card { touch-action: pan-y; transition: transform .35s var(--ease), opacity .35s; will-change: transform; }
.deck .match-card.dragging { transition: none; }
.deck .match-card.swipe-left { transform: translateX(-120%) rotate(-12deg) !important; opacity: 0; }
.deck .match-card.swipe-right { transform: translateX(120%) rotate(12deg) !important; opacity: 0; }
.swipe-hint { position: absolute; top: 20px; z-index: 2; padding: 6px 14px; border-radius: 10px; font-weight: 800; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .1s; }
.swipe-hint.yes { left: 18px; color: var(--success); border: 2.5px solid var(--success); transform: rotate(-10deg); }
.swipe-hint.no { right: 18px; color: var(--danger); border: 2.5px solid var(--danger); transform: rotate(10deg); }

/* ==========================================================================
   TRADE
   ========================================================================== */
.stepper { display: flex; gap: 4px; margin: 4px 0 20px; }
.stepper .s { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.stepper .s::before { content: ""; height: 5px; border-radius: 99px; background: var(--surface-3); transition: background .4s; }
.stepper .s.done::before { background: var(--success); }
.stepper .s.current::before { background: var(--holo); }
.stepper .s span { font-size: .7rem; font-weight: 700; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper .s.done span, .stepper .s.current span { color: var(--text); }
.trade-row { display: flex; align-items: center; gap: 14px; }
.trade-row .grow b { display: block; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; font-size: .82rem; font-weight: 700; }
.action-card { border-radius: var(--r-xl); padding: 22px; position: relative; overflow: hidden; }
.action-card.tone-holo { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--holo) border-box; border: 2px solid transparent; }
.address-card { font-size: 1.02rem; line-height: 1.6; padding: 18px; border-radius: var(--r-md); background: var(--surface-2); font-weight: 560; position: relative; }
.address-card .copy { position: absolute; top: 10px; right: 10px; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 16px 26px; font-size: .88rem; color: var(--text-2); }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.timeline li::after { content: ""; position: absolute; left: 9px; top: 20px; bottom: 0; width: 1.5px; background: var(--border-strong); }
.timeline li:last-child::after { display: none; }
.timeline time { display: block; font-size: .76rem; color: var(--text-3); }

/* Chat */
.chat { display: flex; flex-direction: column; height: 460px; max-height: 70vh; }
.chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 4px 2px 12px; overscroll-behavior: contain; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: .94rem; line-height: 1.45; word-wrap: break-word; white-space: pre-wrap; animation: pop .3s var(--ease-spring); }
.bubble time { display: block; font-size: .68rem; opacity: .6; margin-top: 3px; }
.bubble.them { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.bubble.me { align-self: flex-end; background: var(--primary-strong); color: #fff; border-bottom-right-radius: 6px; }
.chat-day { align-self: center; font-size: .72rem; font-weight: 700; color: var(--text-3); padding: 8px 0 4px; }
.chat-form { display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.chat-form .input { min-height: 48px; border-radius: 16px; }
.chat-empty { margin: auto; text-align: center; color: var(--text-3); font-size: .9rem; max-width: 280px; }
.quick-replies { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.quick-replies::-webkit-scrollbar { display: none; }
.quick-replies button { flex-shrink: 0; border: 1px solid var(--border-strong); background: none; color: var(--text-2); border-radius: 99px; padding: 6px 12px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.quick-replies button:hover { color: var(--text); background: var(--surface-2); }

/* Rating */
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 2.2rem; line-height: 1; color: var(--surface-3); cursor: pointer; transition: transform .2s var(--ease-spring), color .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold-c); }
.star-input label:active { transform: scale(.85); }

/* Listen */
.list { display: flex; flex-direction: column; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border); color: inherit; text-decoration: none !important; transition: background .15s; }
.list-item:last-child { border-bottom: 0; }
a.list-item:hover { background: var(--surface-2); }
.list-item .grow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-item .grow span { display: block; font-size: .85rem; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-item.unread { background: color-mix(in srgb, var(--primary-soft) 50%, transparent); }
.notif-icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; }

/* Empty State */
.empty { text-align: center; padding: 44px 20px; }
.empty .empty-art { width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 28px; display: grid; place-items: center; background: var(--holo-soft); color: var(--primary); position: relative; }
.empty .empty-art .icon { width: 40px; height: 40px; }
.empty .empty-art::after { content: ""; position: absolute; inset: -8px; border-radius: 34px; border: 1.5px dashed var(--border-strong); }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--text-2); max-width: 380px; margin: 0 auto 18px; }

/* Hinweis Minderjährige */
.guardian-note { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--warning-soft); color: var(--text); font-size: .9rem; }
.guardian-note .icon { color: var(--warning); margin-top: 2px; }

/* Profil */
.profile-hero { text-align: center; padding: 30px 20px; position: relative; overflow: hidden; }
.profile-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 110px; background: var(--holo); opacity: .9; }
.profile-hero > * { position: relative; }
.profile-hero .avatar { margin: 40px auto 12px; border: 4px solid var(--surface); }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border-radius: var(--r-md); overflow: hidden; margin-top: 18px; }
.profile-stats div { background: var(--surface-2); padding: 14px 6px; }
.profile-stats b { display: block; font-family: var(--font-num); font-size: 1.35rem; }
.profile-stats span { font-size: .78rem; color: var(--text-2); }

/* Tabellen (nur Admin/Desktop) */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); font-weight: 750; padding: 12px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; background: var(--surface-2); }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: color-mix(in srgb, var(--surface-2) 50%, transparent); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); font-weight: 650; font-size: .88rem; color: var(--text-2); padding: 0 10px; text-decoration: none !important; }
.pagination .active { background: var(--primary-strong); color: #fff; border-color: transparent; }

/* ==========================================================================
   AUTH-SEITEN
   ========================================================================== */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); }
.auth-box { width: 100%; max-width: 440px; }
.auth-box .brand { margin: 0 auto 26px; display: flex; justify-content: center; }
.auth-card { padding: 28px 24px; border-radius: var(--r-xl); }
@media (min-width: 520px) { .auth-card { padding: 36px 34px; } }
.auth-card h1 { font-size: 1.6rem; text-align: center; }
.auth-card .lead { text-align: center; color: var(--text-2); margin-bottom: 24px; font-size: .95rem; }
.auth-foot { text-align: center; margin-top: 20px; font-size: .92rem; color: var(--text-2); }
.auth-icon { width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--holo); color: #fff; box-shadow: 0 14px 30px -12px #b55cff; }
.auth-icon .icon { width: 30px; height: 30px; }
.pw-meter { height: 5px; border-radius: 99px; background: var(--surface-3); margin-top: 8px; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .3s, background .3s; }
.age-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

/* ==========================================================================
   LANDINGPAGE
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--glass); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); border-bottom: 1px solid var(--border); padding-top: env(safe-area-inset-top); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.site-nav { display: none; gap: 4px; }
.site-nav a { color: var(--text-2); font-weight: 600; font-size: .93rem; padding: 8px 12px; border-radius: 10px; }
.site-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
@media (min-width: 900px) { .site-nav { display: flex; } }

.hero { position: relative; padding: 48px 0 40px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 84px 0 70px; } .hero-grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { font-size: clamp(2.3rem, 7.4vw, 4.1rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 820; margin-bottom: 18px; }
.hero h1 .holo { background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding-bottom: .06em; }
.hero .sub { font-size: clamp(1.05rem, 2.4vw, 1.22rem); color: var(--text-2); max-width: 540px; line-height: 1.55; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn { min-height: 58px; padding: 0 28px; font-size: 1.05rem; border-radius: 16px; }
.hero-proof { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; color: var(--text-2); font-size: .9rem; }
.hero-proof b { color: var(--text); font-family: var(--font-num); font-size: 1.25rem; display: block; }
@media (max-width: 520px) { .hero-cta .btn { width: 100%; } }

/* Schwebende Sticker-Collage */
.collage { position: relative; height: 380px; max-width: 460px; margin: 0 auto; width: 100%; }
@media (min-width: 960px) { .collage { height: 470px; } }
.s-card {
  position: absolute; width: 132px; aspect-ratio: 3 / 4; border-radius: 16px; padding: 10px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite;
}
.s-card .s-num { font-family: var(--font-num); font-weight: 850; font-size: 1.7rem; letter-spacing: -.03em; }
.s-card .s-art { flex: 1; margin: 8px 0; border-radius: 10px; background: var(--holo-soft); position: relative; overflow: hidden; }
.s-card .s-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 45%, transparent 60%); background-size: 250% 100%; animation: shine 4.5s ease-in-out infinite; }
.s-card .s-label { font-size: .7rem; font-weight: 700; color: var(--text-2); }
.s-card.holo { background: var(--holo); color: #fff; border: 0; }
.s-card.holo .s-art { background: rgba(255,255,255,.18); }
.s-card.holo .s-label { color: rgba(255,255,255,.85); }
.s-card.gold { background: var(--gold); color: #3a2500; border: 0; }
.s-card.gold .s-art { background: rgba(255,255,255,.3); }
.s-card.gold .s-label { color: rgba(58,37,0,.75); }
.s-card .s-tag { position: absolute; top: -10px; right: -10px; padding: 4px 10px; border-radius: 99px; font-size: .7rem; font-weight: 800; box-shadow: var(--shadow); }
.collage .c1 { left: 6%; top: 8%; transform: rotate(-9deg); animation-delay: 0s; }
.collage .c2 { right: 6%; top: 2%; transform: rotate(7deg); animation-delay: -2s; width: 150px; z-index: 2; }
.collage .c3 { left: 30%; top: 40%; transform: rotate(-2deg); animation-delay: -4s; width: 160px; z-index: 3; }
.collage .c4 { right: 2%; bottom: 4%; transform: rotate(10deg); animation-delay: -1s; }
.collage .c5 { left: 0; bottom: 2%; transform: rotate(-12deg); animation-delay: -3s; width: 118px; }
.collage .swap-badge { position: absolute; left: 42%; top: 24%; transform: translate(-50%, -50%); z-index: 4; width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; background: var(--elev); color: var(--primary); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); animation: spin-slow 10s linear infinite; }
.collage .swap-badge .icon { width: 28px; height: 28px; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes shine { 0%, 100% { background-position: 150% 0; } 50% { background-position: -50% 0; } }
@keyframes spin-slow { to { rotate: 360deg; } }

.section { padding: 64px 0; }
.section-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); letter-spacing: -.035em; }
.section-head p { color: var(--text-2); font-size: 1.05rem; }

.steps { display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { padding: 22px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); position: relative; display: flex; gap: 14px; align-items: flex-start; }
@media (min-width: 900px) { .step { flex-direction: column; } }
.step .n { counter-increment: step; width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: var(--holo-soft); color: var(--primary); position: relative; }
.step .n::after { content: counter(step); position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-strong); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 1rem; margin-bottom: 4px; }
.step p { font-size: .88rem; color: var(--text-2); margin: 0; }

.feature { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.feature .f-icon { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 14px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: .93rem; margin: 0; }

.match-demo { display: grid; gap: 14px; align-items: center; }
@media (min-width: 900px) { .match-demo { grid-template-columns: 1fr auto 1fr; } }
.demo-user { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.demo-user .row { margin-bottom: 14px; }
.demo-list { margin-bottom: 12px; }
.demo-list small { display: block; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; margin-bottom: 6px; }
.demo-result { text-align: center; padding: 24px 20px; border-radius: var(--r-xl); color: #fff; background: var(--holo); box-shadow: 0 24px 50px -20px #b55cff; }
.demo-result .big { font-family: var(--font-num); font-size: 2.6rem; font-weight: 850; letter-spacing: -.04em; line-height: 1; margin: 6px 0; }
.chip.dim { opacity: .35; text-decoration: line-through; }
.chip.hit { outline: 2px solid currentColor; outline-offset: 1px; }

.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 4px; font-weight: 680; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s var(--ease); color: var(--text-3); }
.faq details[open] summary .icon { transform: rotate(45deg); color: var(--primary); }
.faq details p { color: var(--text-2); padding: 0 4px 20px; margin: 0; }

.cta-band { border-radius: var(--r-xl); padding: 44px 24px; text-align: center; background: var(--holo); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.07) 22px 23px); pointer-events: none; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 4.6vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,.88); max-width: 520px; margin: 0 auto 24px; }
.cta-band .btn { position: relative; z-index: 1; background: #fff; color: #2a1d6e; border: 0; min-height: 56px; padding: 0 30px; border-radius: 16px; }

.site-footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); margin-top: 40px; color: var(--text-2); font-size: .9rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--text); }

.prose { max-width: 760px; }
.prose h2 { margin-top: 32px; font-size: 1.3rem; }
.prose h3 { margin-top: 22px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 20px; }

/* Reveal-Animation beim Scrollen */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Admin */
.admin-shell .sidebar { background: color-mix(in srgb, var(--surface) 80%, transparent); }
.mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 90px; }
.mini-chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--holo); min-height: 3px; opacity: .85; position: relative; }
.mini-chart span:hover { opacity: 1; }
.mini-chart span::after { content: attr(data-v); position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: .65rem; color: var(--text-3); font-weight: 700; }
.admin-mobile-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 16px; scrollbar-width: none; }
.admin-mobile-nav::-webkit-scrollbar { display: none; }
.admin-mobile-nav a { flex-shrink: 0; padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-weight: 650; font-size: .86rem; }
.admin-mobile-nav a.active { background: var(--primary-strong); color: #fff; border-color: transparent; }
@media (min-width: 1024px) { .admin-mobile-nav { display: none; } }
.inline-form { display: inline; }

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Desktop: Topbar schwebt rechts oben über dem Inhalt */
.app-main { min-width: 0; }
@media (min-width: 1024px) { .app-main { position: relative; } }

/* Album-Ansicht: Kategorie-Sprungleiste horizontal scrollbar */
.cat-jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.cat-jump::-webkit-scrollbar { display: none; }
.cat-jump .badge { flex-shrink: 0; }
.grid-category { scroll-margin-top: 150px; }

/* Support- und Systemnachrichten im Trade-Chat */
.bubble.support { align-self: flex-start; background: var(--warning-soft); border: 1px solid color-mix(in srgb, var(--warning) 40%, transparent); border-bottom-left-radius: 6px; }
.bubble.support .support-label { display: flex; align-items: center; gap: 5px; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--warning); margin-bottom: 3px; }
.bubble.system { align-self: center; max-width: 92%; background: transparent; border: 1px dashed var(--border-strong); color: var(--text-2); font-size: .84rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bubble.system .icon { color: var(--text-3); }

/* Werbeflächen */
.ad-slot { margin: 24px auto; max-width: var(--maxw); text-align: center; position: relative; }
.ad-slot .ad-label { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.ad-slot .ad-body { display: flex; justify-content: center; overflow: hidden; border-radius: var(--r-md); }
.ad-slot .ad-body img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.ad-app_top { margin: 0 0 20px; }
.ad-app_bottom { margin: 28px 0 0; }
.consent-bar { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 720px; margin: 0 auto;
  display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; border-radius: 18px;
  background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); font-size: .86rem; }
.consent-text { display: flex; gap: 8px; align-items: flex-start; flex: 1 1 320px; color: var(--text-2); }
.consent-actions { display: flex; gap: 8px; margin-left: auto; }
.app .consent-bar { bottom: calc(var(--nav-h) + 22px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .app .consent-bar { bottom: 20px; } }

/* Sprachumschalter */
.lang-switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--surface-2); }
.lang-switch a { min-width: 34px; height: 28px; display: grid; place-items: center; border-radius: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; color: var(--text-3); text-decoration: none !important; }
.lang-switch a.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .lang-switch a.active { background: var(--surface-3); }

/* Öffentliche Seiten: mobiles Menü */
.header-actions { gap: 6px; }
.menu-btn { display: grid; }
@media (min-width: 900px) { .menu-btn { display: none; } }
.mobile-menu { display: none; border-top: 1px solid var(--border); padding: 8px 18px 18px; }
.mobile-menu.open { display: block; animation: menu-in .3s var(--ease); }
.mobile-menu > a { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--border); color: var(--text); font-weight: 650; font-size: 1.02rem; text-decoration: none !important; }
.mobile-menu-foot { display: grid; gap: 10px; padding-top: 16px; }
@media (min-width: 900px) { .mobile-menu, .mobile-menu.open { display: none; } }
body.menu-open { overflow: hidden; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* Kategorie-Sprungleiste: auf Desktop mitlaufend unter der Modus-Leiste */
.cat-arrow { display: none; }
.cat-jump .badge.active { background: var(--primary); color: #fff; border-color: transparent; }
@media (min-width: 1024px) {
  .cat-jump-wrap {
    position: sticky; top: 86px; z-index: 19; display: flex; align-items: center; gap: 6px;
    padding: 6px; border-radius: 16px; background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  }
  .cat-jump-wrap .cat-jump { flex: 1; min-width: 0; margin: 0; padding: 0; scroll-behavior: smooth; }
  .cat-jump-wrap .badge { cursor: pointer; padding: 7px 12px; font-size: .82rem; }
  .cat-jump-wrap .badge:hover { background: var(--surface-2); color: var(--text); }
  .cat-jump-wrap .badge.active:hover { background: var(--primary); color: #fff; }
  .cat-arrow { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer; }
  .cat-arrow:hover { color: var(--text); border-color: var(--border-strong); }
  .cat-arrow[disabled] { opacity: .35; cursor: default; }
  [data-sticker-grid] .grid-category { scroll-margin-top: 160px; }
}

/* Versandarten */
.ship-options { display: grid; gap: 8px; max-height: 46vh; overflow-y: auto; padding: 2px; }
.ship-option { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.ship-option:hover { border-color: var(--border-strong); }
.ship-option input { margin-top: 3px; accent-color: var(--primary); flex-shrink: 0; width: 18px; height: 18px; }
.ship-option:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 9%, var(--surface)); }
.ship-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ship-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.ship-price { font-weight: 700; font-size: .88rem; color: var(--text); white-space: nowrap; }
.ship-info { font-size: .8rem; color: var(--text-3); }
.ship-track { font-size: .76rem; font-weight: 650; color: var(--text-3); display: inline-flex; align-items: center; gap: 4px; }
.ship-track.yes { color: var(--success, #22c55e); }
.ship-partner { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: .86rem; color: var(--text-2); }
.ship-partner .icon { flex-shrink: 0; margin-top: 2px; }
.ship-choose summary { display: flex; justify-content: space-between; gap: 10px; align-items: center; cursor: pointer; list-style: none; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: .88rem; }
.ship-choose summary::-webkit-details-marker { display: none; }
.ship-choose summary .link { color: var(--primary); font-weight: 650; white-space: nowrap; }
.ship-summary { display: grid; gap: 12px; }
.ship-row { display: flex; flex-direction: column; gap: 3px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.ship-row:last-child { border-bottom: 0; padding-bottom: 0; }
.ship-row .badge { align-self: flex-start; margin-top: 4px; }
.modal-box .ship-options { max-height: 50vh; }

/* Werbeflächen: nie breiter als der Inhalt, getrennte Desktop-/Mobil-Banner */
.ad-slot { width: 100%; min-width: 0; }
.ad-slot .ad-body { max-width: 100%; }
.ad-slot .ad-body > * { max-width: 100%; }
.ad-slot .ad-body iframe, .ad-slot .ad-body video, .ad-slot .ad-body embed, .ad-slot .ad-body object { max-width: 100% !important; }
.ad-slot .ad-body ins.adsbygoogle { display: block; width: 100%; max-width: 100%; }
.ad-slot .ad-link { display: block; max-width: 100%; }
.ad-slot .ad-picture, .ad-slot .ad-picture img { display: block; max-width: 100%; }
.ad-slot .ad-picture img { width: auto; height: auto; max-height: 280px; margin: 0 auto; object-fit: contain; }
@media (max-width: 767px) {
  .ad-desktop-only { display: none !important; }
  .ad-slot .ad-picture img { max-height: 360px; }
}
@media (min-width: 768px) {
  .ad-mobile-only { display: none !important; }
}

/* Segment-Auswahl (Admin) + Banner-Vorschau */
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 14px; background: var(--surface-2); }
.seg-opt { flex: 1 1 200px; cursor: pointer; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border-radius: 10px; font-weight: 650; font-size: .88rem; color: var(--text-2); }
.seg-opt input:checked + span { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,.12)); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.banner-preview { display: block; max-width: 100%; max-height: 120px; border-radius: 10px; border: 1px solid var(--border); margin-bottom: 8px; }

/* Öffentliche Sammlungsseite */
.share-page .section, .share-page { padding-top: 28px; }
.share-head .eyebrow { margin-bottom: 2px; }
.share-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.share-stats div { display: flex; flex-direction: column; align-items: center; padding: 10px; border-radius: 12px; background: var(--surface-2); }
.share-stats b { font-family: var(--font-num); font-size: 1.35rem; font-weight: 800; }
.share-stats span { font-size: .78rem; color: var(--text-3); }
.share-page h3 .swatch { display: inline-block; width: 14px; height: 14px; border-radius: 5px; vertical-align: -1px; margin-right: 4px; }
.share-page .chip small { font-size: .7em; opacity: .8; }
.share-page .cat-jump .badge.active { background: var(--primary); color: #fff; }
.share-grid .tile { cursor: default; }
.share-grid .tile:active { transform: none; }
.share-grid[data-filter="duplicate"] .tile:not([data-s="duplicate"]),
.share-grid[data-filter="wanted"] .tile:not([data-s="wanted"]),
.share-grid[data-filter="owned"] .tile:not([data-s="owned"]):not([data-s="duplicate"]),
.share-grid:not([data-filter="all"]) .grid-category { display: none; }
.segmented-sm button { min-height: 34px; padding: 0 12px; font-size: .82rem; }
.share-link { display: flex; gap: 8px; }
.share-link .input { flex: 1; min-width: 0; font-size: .85rem; }

/* hidden-Attribut hat immer Vorrang vor Layout-Klassen (z. B. .field) */
[hidden] { display: none !important; }

/* Premium-Sticker */
.brushbar { grid-template-columns: repeat(5, 1fr); }
.swatch-premium { display: inline-grid; place-items: center; background: linear-gradient(135deg, #ffe08a, #ff9f43); color: #5a2d00; font-size: .8rem; font-style: normal; line-height: 1; }
.brush .swatch-premium { font-size: .95rem; }
.tile .t-star { position: absolute; top: -7px; left: -7px; width: 22px; height: 22px; border-radius: 99px; display: none; place-items: center; font-size: .72rem; background: linear-gradient(135deg, #ffe08a, #ff9f43); color: #5a2d00; border: 2px solid var(--bg); }
.tile[data-s="duplicate"]:not([data-p="0"]):not([data-p=""]) .t-star { display: grid; }
.tile[data-s="duplicate"]:not([data-p="0"]):not([data-p=""]) { box-shadow: 0 0 0 2px #ff9f43, 0 6px 16px -8px #ffb443; }
.chip-premium { box-shadow: inset 0 0 0 1.5px #ff9f43; }
.premium-note { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 4px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, #ff9f43 13%, transparent); color: var(--text); font-size: .86rem; }
.premium-note .premium-star { display: inline-grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border-radius: 99px; background: linear-gradient(135deg, #ffe08a, #ff9f43); color: #5a2d00; font-size: .75rem; }
.stepper-input { display: flex; gap: 8px; align-items: center; max-width: 220px; }
.stepper-input .input { text-align: center; font-weight: 700; font-size: 1.1rem; }
.chat-jump { flex-shrink: 0; align-self: center; }
@media (max-width: 520px) {
  .brushbar { gap: 3px; padding: 5px; }
  .brush { font-size: .64rem; white-space: nowrap; letter-spacing: -.01em; min-height: 52px; padding: 0 2px; }
}
