/* ═══════════════════════════════════════════════════════════════════
   Day&Nite Brand 2026 — „Von Sundown bis Sunrise“
   Quelle: DayNite_Brand/08_Code/daynite.css + Styleguide (Okt. 2026)
   Wird auf allen Seiten direkt nach style.css geladen.
   Regeln: dunkle, ruhige Oberfläche · keine Verläufe · ein Primär-Button
   pro Screen (Ticket-Form) · ein Highlight-Wort pro Headline.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Schriften (SIL OFL, self-hosted unter /fonts) ─────────────────── */
@font-face { font-family: 'Ostrich Sans Heavy'; src: url('../fonts/OstrichSans-Heavy.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Ostrich Sans Inline'; src: url('../fonts/OstrichSansInline-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Apfel Grotezk'; src: url('../fonts/ApfelGrotezk-Regular.woff2') format('woff2'); font-weight: 100 449; font-display: swap; }
@font-face { font-family: 'Apfel Grotezk'; src: url('../fonts/ApfelGrotezk-Mittel.woff2') format('woff2'); font-weight: 450 649; font-display: swap; }
@font-face { font-family: 'Apfel Grotezk'; src: url('../fonts/ApfelGrotezk-Fett.woff2') format('woff2'); font-weight: 650 849; font-display: swap; }
@font-face { font-family: 'Apfel Grotezk'; src: url('../fonts/ApfelGrotezk-Satt.woff2') format('woff2'); font-weight: 850 1000; font-display: swap; }

/* Alias: bestehende Angaben „Inter“ (Google Fonts, entfernt) und „Delight“
   (Datei existierte nie) zeigen ab jetzt auf Apfel Grotezk — so greift die
   Brand-Schrift überall, ohne jede minifizierte CSS-Datei anzufassen. */
@font-face { font-family: 'Inter'; src: url('../fonts/ApfelGrotezk-Regular.woff2') format('woff2'); font-weight: 100 449; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/ApfelGrotezk-Mittel.woff2') format('woff2'); font-weight: 450 649; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/ApfelGrotezk-Fett.woff2') format('woff2'); font-weight: 650 849; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/ApfelGrotezk-Satt.woff2') format('woff2'); font-weight: 850 1000; font-display: swap; }
/* „Helvetica Neue“ steht noch fest in Header-Navigation, Footer-Links, Cookie-Banner, Login u. a.
   (18 Stellen, meist minifiziert) → ebenfalls auf Apfel Grotezk umleiten */
@font-face { font-family: 'Helvetica Neue'; src: url('../fonts/ApfelGrotezk-Regular.woff2') format('woff2'); font-weight: 100 449; font-display: swap; }
@font-face { font-family: 'Helvetica Neue'; src: url('../fonts/ApfelGrotezk-Mittel.woff2') format('woff2'); font-weight: 450 649; font-display: swap; }
@font-face { font-family: 'Helvetica Neue'; src: url('../fonts/ApfelGrotezk-Fett.woff2') format('woff2'); font-weight: 650 849; font-display: swap; }
@font-face { font-family: 'Helvetica Neue'; src: url('../fonts/ApfelGrotezk-Satt.woff2') format('woff2'); font-weight: 850 1000; font-display: swap; }
/* „Delight“ wurde im Code ausschließlich für Display-Headlines genutzt → Ostrich */
@font-face { font-family: 'Delight'; src: url('../fonts/OstrichSans-Heavy.woff2') format('woff2'); font-weight: 100 1000; font-display: swap; }

/* ── Tokens ───────────────────────────────────────────────────────── */
:root {
  /* Markenfarben */
  --midnight: #0E0C14;
  --nite-violet: #B278FF;
  --sunrise: #FF8A3D;
  --dusk: #2D2346;
  --moonlight: #F4EEFF;
  --paper: #F4F1FB;

  /* Rollen (Nite-Theme) */
  --ground: #0E0C14;
  --surface: #17141F;
  --surface-raised: #2D2346;
  --line: #2E2A3A;
  --line-strong: #6B6380;
  --ink: #F4EEFF;
  --ink-muted: #A49DB8;
  --accent: #B278FF;
  --on-accent: #0E0C14;
  --signal: #FF8A3D;
  --on-signal: #0E0C14;
  --focus: #FF8A3D;
  --success: #5BE38A;
  --danger: #FF6B6B;

  /* Raster */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --radius-s: 10px; --radius-m: 16px; --radius-l: 28px; --radius-pill: 999px;
  --sticker-stroke: 4px;

  /* Schrift */
  --font-display: "Ostrich Sans Heavy", Impact, "Arial Narrow", sans-serif;
  --font-inline: "Ostrich Sans Inline", Impact, sans-serif;
  --font-text: "Apfel Grotezk", system-ui, -apple-system, sans-serif;

  /* Bestehende Tokens (style.css) auf die Marke mappen */
  --color-primary: var(--ground);
  --color-secondary: var(--surface);
  --color-tertiary: var(--surface);
  --bg-primary: var(--surface);
  --bg-secondary: var(--surface);
  --bg-tertiary: var(--surface-raised);
  --text-primary: var(--ink);
  --text-muted: var(--ink-muted);
  --accent-purple: var(--nite-violet);
  --accent-gold: var(--nite-violet);
  --accent-purple-dark: var(--dusk);
  --accent-green: var(--success);
  --accent-red: var(--danger);
  --border-primary: var(--line);
  --border-secondary: var(--line);
  --font-family-primary: var(--font-text);
}
/* Day-Theme vorbereitet (aktuell ungenutzt) */
[data-theme="day"] {
  --ground: #F4F1FB; --surface: #FFFFFF; --surface-raised: #EAE3F8; --line: #E1D9F0; --line-strong: #8F86A0;
  --ink: #17121F; --ink-muted: #5E566E; --accent: #7A3FE0; --on-accent: #FFFFFF;
  --signal: #C2490C; --on-signal: #FFFFFF; --focus: #C2490C; --success: #1C7D44; --danger: #C4262E;
}

/* ── Basis ────────────────────────────────────────────────────────── */
html { background: var(--ground); }
body { background-color: var(--ground); font-family: var(--font-text); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Headlines: Ostrich, Versalien, Zeilenabstand 0.92 */
h1 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .92;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
/* Primär = Ticket-Form mit zwei Kerben, flach Violett, Text Midnight.
   `body …` erhöht die Spezifität, damit die Regeln auch die
   Neudefinitionen in den Seiten-CSS-Dateien übersteuern. */
body .btn-primary,
.dn-btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-m);
  background: var(--accent);
  color: var(--on-accent);
  font: 700 16px/20px var(--font-text);
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transform: none;
  transition: filter .15s, transform .12s;
  -webkit-mask: radial-gradient(circle 7px at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 7px at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 7px at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 7px at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat;
}
body .btn-primary:hover:not(:disabled),
.dn-btn--primary:hover:not(:disabled) { background: var(--accent); filter: brightness(1.08); box-shadow: none; transform: none; }
body .btn-primary:active:not(:disabled),
.dn-btn--primary:active:not(:disabled) { background: var(--accent); transform: scale(.98); box-shadow: none; }
body .btn-primary:disabled,
.dn-btn--primary:disabled { background: var(--surface-raised); color: var(--ink-muted); cursor: not-allowed; filter: none; }

/* „Day“-Variante (Sunrise) — für Last-Call/Live-Aktionen */
.dn-btn--day { background: var(--signal); color: var(--on-signal); }

/* Sekundär = Outline-Pill */
body .btn-secondary,
.dn-btn--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: 700 15px/20px var(--font-text);
  cursor: pointer;
  box-shadow: none;
  transform: none;
  text-decoration: none;
}
body .btn-secondary:hover:not(:disabled),
.dn-btn--secondary:hover:not(:disabled) { background: var(--surface-raised); border-color: var(--line-strong); box-shadow: none; transform: none; }

.dn-btn--s { min-height: 40px; padding: 0 18px; font-size: 14px; }
/* display:inline-flex oben würde das [hidden]-Attribut aushebeln */
body .btn-primary[hidden], body .btn-secondary[hidden], .dn-btn--primary[hidden], .dn-btn--secondary[hidden] { display: none; }

/* ── Badges & Chips ───────────────────────────────────────────────── */
.dn-badge {
  display: inline-flex; align-items: center; gap: var(--space-1);
  height: 26px; padding: 0 10px; border-radius: var(--radius-s);
  font: 700 12px/16px var(--font-text); letter-spacing: .12em; text-transform: uppercase;
  background: var(--surface-raised); color: var(--ink);
}
.dn-badge--live { background: var(--signal); color: var(--on-signal); }
.dn-badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dn-badge--accent { background: var(--accent); color: var(--on-accent); }
.dn-badge--danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1.5px var(--danger); }
.dn-badge--success { background: transparent; color: var(--success); box-shadow: inset 0 0 0 1.5px var(--success); }
.dn-chip {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: var(--radius-pill);
  font: 500 14px/20px var(--font-text); color: var(--ink); background: none; border: 0;
  box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer;
}
.dn-chip[aria-pressed="true"], .dn-chip.is-active { background: var(--accent); color: var(--on-accent); box-shadow: none; }

/* ── Typografie-Helfer ────────────────────────────────────────────── */
.dn-headline { font-family: var(--font-display); font-weight: 900; letter-spacing: .01em; line-height: .92; text-transform: uppercase; color: var(--ink); margin: 0; }
/* Genau EIN Highlight-Wort pro Headline: violetter Balken, −2° gedreht */
.dn-headline em, h1 em.dn-hl, .dn-hl {
  display: inline-block; font-style: normal; padding: .04em .14em 0;
  background: var(--accent); color: var(--on-accent); border-radius: 6px; transform: rotate(-2deg);
}
.dn-eyebrow { display: inline-block; font: 900 22px/22px var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--signal); transform: rotate(-2deg); }
.dn-label { font: 700 12px/16px var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.dn-numeral { font-family: var(--font-display); font-weight: 900; letter-spacing: .02em; }

/* ── Icons (Sprite images/brand/icons.svg, Duotone) ───────────────── */
.dn-ico {
  width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: -.2em;
  color: currentColor;
  --dn-ico-fill: var(--accent);
  --dn-ico-fill-opacity: .38;
}
.dn-ico--s { width: 16px; height: 16px; }
.dn-ico--l { width: 24px; height: 24px; }
.dn-ico--mono { --dn-ico-fill: currentColor; }
/* Ersatz für <i class="fa…">: skaliert mit der Schriftgröße wie ein Font-Icon */
.dn-ico--em { width: 1.25em; height: 1.25em; vertical-align: -.25em; }

/* ── Sticker & Maskottchen (verspielte Ebene) ─────────────────────── */
.dn-sticker {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px 7px; border-radius: var(--radius-pill);
  font: 900 24px/24px var(--font-display); letter-spacing: .04em; text-transform: uppercase;
  color: var(--midnight); background: var(--sunrise);
  box-shadow: 0 0 0 var(--sticker-stroke) var(--moonlight); transform: rotate(-4deg);
}
.dn-sticker--violet { background: var(--nite-violet); transform: rotate(3deg); }
.dn-sticker--night { background: var(--midnight); color: var(--nite-violet); }
.dn-mascot { display: block; width: 120px; height: 120px; margin: 0 auto; }
.dn-mascot--s { width: 72px; height: 72px; }
.dn-mascot--l { width: 160px; height: 160px; }
.dn-mascot svg { display: block; }
.dn-mascot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dn-avatar { width: 48px; height: 48px; border-radius: 50%; display: block; object-fit: contain; padding: 4px; box-sizing: border-box; background: var(--surface-raised); box-shadow: 0 0 0 2px var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .dn-sticker, .dn-sticker--violet { transform: none; }
}

/* ── Header / Mobile-Nav: Brand-Icons statt Font Awesome ──────────── */
.mobile-nav-link > .dn-ico:first-child { width: 22px; height: 22px; color: var(--ink); flex-shrink: 0; }
.notif-bell-btn .dn-ico { width: 22px; height: 22px; }

/* ── Platzhalter für leere Zustände: Bat-Figur statt Icon (Animation startet erst, wenn sichtbar) ── */
.dn-empty-bat, .dn-empty__bat { display: block; width: 112px; height: 112px; margin: 0 auto .75rem; }
.dn-empty__halo { display: none; }
.dn-empty-inline { text-align: center; padding: 1.5rem 0 .5rem; }
.dn-empty-inline .text-muted { margin: 0; }
.ed-tickets-empty .dn-empty-bat { width: 88px; height: 88px; margin-bottom: .25rem; opacity: 1; }
.artists-empty .dn-empty-bat, .empty-state .dn-empty-bat { opacity: 1; }

/* ── Navigation je nach Rolle: Gäste sehen nur „Tickets“. Business-Links (Artists, Creatives,
      Community) und Upload sind standardmäßig versteckt; header.js setzt .is-allowed nach Login/Rolle ── */
.nav-business:not(.is-allowed),
.nav-pro-only:not(.is-allowed),
.mobile-nav-business:not(.is-allowed),
.mobile-nav-pro-only:not(.is-allowed) { display: none !important; }
.nav-list li:has(> .nav-business:not(.is-allowed)),
.nav-list li:has(> .nav-pro-only:not(.is-allowed)) { display: none; }

/* ── Ladezustand: fliegende Nite-Bat ──────────────────────────────── */
.dn-bat-loader { display: block; width: 72px; height: 72px; margin: 1.25rem auto; }
.evs-stats__loading .dn-bat-loader, .onb-event-loading .dn-bat-loader { width: 56px; height: 56px; margin: .5rem auto; }
.onb-event-loading { display: flex; flex-direction: column; align-items: center; gap: .25rem; }

/* ── Reaktion: kleine Bat springt über dem Element ────────────────── */
.dn-react {
  position: fixed; z-index: 100001; width: 72px; height: 72px; pointer-events: none;
  animation: dn-react-in .35s cubic-bezier(.34, 1.56, .64, 1);
  transition: opacity .35s, transform .35s;
}
.dn-react.is-out { opacity: 0; transform: translateY(-14px); }
@keyframes dn-react-in { from { opacity: 0; transform: translateY(14px) scale(.6); } to { opacity: 1; transform: none; } }

/* ── Konfetti aus Stickern ───────────────────────────────────────── */
.dn-confetti {
  position: fixed; z-index: 100001; width: 64px; height: auto; margin: -32px 0 0 -32px; pointer-events: none;
  animation: dn-confetti 1.6s cubic-bezier(.2, .7, .3, 1) forwards;
}
.dn-confetti--s { width: 30px; margin: -15px 0 0 -15px; }
@keyframes dn-confetti {
  0%   { opacity: 0; transform: translate(0, 0) scale(.3) rotate(0); }
  15%  { opacity: 1; }
  70%  { opacity: 1; transform: translate(var(--dx), var(--dy)) scale(1) rotate(var(--rot)); }
  100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 40px)) scale(.9) rotate(var(--rot)); }
}

/* ── Countdown auf Tickets („Noch 12 Tage“) ───────────────────────── */
.mt-card__img-wrap { position: relative; }
.dn-countdown {
  position: absolute; left: .75rem; bottom: .75rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .75rem .3rem .3rem; border-radius: var(--radius-pill);
  background: rgba(14, 12, 20, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: 700 .8rem/1 var(--font-text); color: var(--ink);
}
.dn-countdown img { width: 28px; height: 28px; display: block; cursor: pointer; }
.dn-countdown--soon { background: var(--signal); color: var(--on-signal); }

/* ── Tipp-/Hover-Animation über Avataren und kleinen Figuren ──────── */
.dn-tap-overlay { position: absolute; z-index: 100000; pointer-events: none; overflow: hidden; }
.dn-tap-overlay--avatar { background: var(--surface-raised); }
.dn-tap-overlay > div { width: 100%; height: 100%; }
.dn-tap-overlay--avatar > div { transform: scale(.82); }
img[src*="brand/avatars/bat-"], img.dn-tap-bat { cursor: pointer; }

/* ═══ Mobile Navigation (≤768 px): Tab-Leiste unten, schlanker Header ═══════════ */
.dn-tabbar { display: none; }
.dn-header-back { display: none; }
@media (max-width: 768px) {
  .dn-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    display: flex; align-items: flex-start; justify-content: space-around;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: rgba(14, 12, 20, .96);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .dn-tab {
    position: relative; flex: 1 1 0; min-width: 0; min-height: 52px;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px;
    padding-top: 4px; color: var(--ink-muted); text-decoration: none;
    font: 700 11px/1.1 var(--font-text); -webkit-tap-highlight-color: transparent;
  }
  .dn-tab:active { opacity: .7; }
  .dn-tab[aria-current="page"] { color: var(--accent); }
  .dn-tab__ico { width: 24px; height: 24px; --dn-ico-fill: transparent; }
  .dn-tab[aria-current="page"] .dn-tab__ico { --dn-ico-fill: var(--accent); }
  .dn-tab__ico--inline { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .dn-tab__ico--inline .fill { fill: transparent; stroke: none; }
  .dn-tab[aria-current="page"] .dn-tab__ico--inline .fill { fill: var(--accent); fill-opacity: .38; }
  .dn-tab__label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dn-tab__avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--surface-raised); }
  .dn-tab[aria-current="page"] .dn-tab__avatar { box-shadow: 0 0 0 2px var(--accent); }
  .dn-tab__badge {
    position: absolute; top: 0; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box;
    border-radius: var(--radius-pill); background: var(--signal); color: var(--on-signal);
    font: 900 10px/16px var(--font-text); text-align: center;
  }
  .dn-tab--plus { justify-content: center; }
  .dn-tab__plus {
    width: 52px; height: 52px; margin-top: -16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 4px var(--ground);
  }
  .dn-tab__plus svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

  body.dn-has-tabbar { padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important; }
  body.dn-has-tabbar .dn-toast, body.dn-has-tabbar #dn-toast { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }

  /* Header mobil: Logo links, Glocke rechts – kein Hamburger, keine Sprachwahl (→ Einstellungen) */
  .header .hamburger-btn,
  .mobile-nav,
  .header #language-switcher { display: none !important; }

  /* Seiten ohne Tab-Leiste: Zurück-Pfeil links im Header */
  .dn-header-back {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: 2px; border: 0; border-radius: 50%;
    background: transparent; color: var(--ink); cursor: pointer;
  }
  .dn-header-back svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  /* Alte Mobil-Leisten der Profilseiten ersetzt die globale Tab-Leiste */
  body.dn-has-tabbar #mobile-tab-bar,
  body.dn-has-tabbar #mobile-tabs-pro,
  body.dn-has-tabbar #mobile-tabs-artist,
  body.dn-has-tabbar .mobile-tab-bar { display: none !important; }
}

/* ═══ Profil-Hub mobil (profile-page.html, ≤768 px) – aus der Seitenleiste gebaut ═══ */
.dn-hub__head, .dn-hub__list, .dn-hub__sub { display: none; }
@media (max-width: 768px) {
  body.dn-hub-on .dn-hub__head {
    display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px 14px; align-items: center;
    margin: 0 0 16px; padding: 16px; border-radius: var(--radius-l);
    background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  }
  .dn-hub__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--surface-raised); }
  .dn-hub__who { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  .dn-hub__name { max-width: 100%; font: 900 20px/1.15 var(--font-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dn-hub__role {
    display: inline-flex; align-items: center; gap: 2px; min-height: 32px; padding: 0 8px 0 12px;
    border: 0; border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--ink);
    font: 700 13px/1 var(--font-text); cursor: pointer;
  }
  .dn-hub__role svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .dn-hub__actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .dn-hub__btn {
    display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px;
    border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink);
    font: 700 15px/1 var(--font-text); text-decoration: none; cursor: pointer;
  }
  .dn-hub__btn--primary { border-color: var(--accent); color: var(--accent); }
  .dn-hub__btn { white-space: nowrap; }
  @media (max-width: 360px) { .dn-hub__btn { font-size: 14px; padding: 0 8px; } }
  .dn-hub__actions .dn-hub__btn:only-child { grid-column: 1 / -1; }

  body.dn-hub-on .dn-hub__list { display: flex; flex-direction: column; gap: 18px; margin: 18px 0 8px; }
  .dn-hub__title {
    margin: 0 0 8px 4px; color: var(--ink-muted);
    font: 700 12px/1.2 var(--font-text); letter-spacing: .1em; text-transform: uppercase;
  }
  .dn-hub__card { border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
  .dn-hub__row {
    width: 100%; min-height: 52px; display: flex; align-items: center; gap: 12px; padding: 8px 14px;
    border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink);
    font: 500 16px/1.2 var(--font-text); text-align: left; text-decoration: none; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .dn-hub__card > .dn-hub__row:first-child { border-top: 0; }
  .dn-hub__row:active { background: var(--surface-raised); }
  .dn-hub__ico {
    flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface-raised); color: var(--accent); font-size: 14px;
  }
  .dn-hub__label { flex: 1; min-width: 0; }
  .dn-hub__badge {
    min-width: 22px; height: 22px; padding: 0 6px; box-sizing: border-box; border-radius: var(--radius-pill);
    background: var(--signal); color: var(--on-signal); font: 900 12px/22px var(--font-text); text-align: center;
  }
  .dn-hub__chev { flex: 0 0 18px; width: 18px; height: 18px; fill: none; stroke: var(--line-strong); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .dn-hub__row--danger { color: var(--danger); }
  .dn-hub__row--danger .dn-hub__ico { color: var(--danger); background: rgba(255, 107, 107, .12); }

  /* Unterseite: Kopfzeile „‹ Profil“, Hub + Dashboard ausblenden */
  /* Body hat schon Header-Abstand; overflow clip statt hidden, damit „sticky“ greift */
  body.dn-hub-on .profile-layout { padding-top: 16px; }
  body.dn-hub-on .profile-main { overflow-x: clip; }
  body.dn-hub-sub .profile-layout { padding-top: 0; }
  body.dn-hub-sub .dn-hub__sub, .dn-hub__sub--page {
    position: sticky; top: 60px; z-index: 50;
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
    min-height: 52px; margin: 0 -16px 12px; padding: 0 8px;
    background: rgba(14, 12, 20, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .dn-hub__back {
    justify-self: start; display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 8px;
    border: 0; background: transparent; color: var(--accent); font: 700 16px/1 var(--font-text); cursor: pointer;
  }
  .dn-hub__back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .dn-hub__subtitle {
    margin: 0; max-width: 56vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font: 900 17px/1.2 var(--font-text); color: var(--ink);
  }
  body.dn-hub-sub .dn-hub__head,
  body.dn-hub-sub .dn-hub__list,
  body.dn-hub-sub #stripe-reminder,
  body.dn-hub-sub #dn-checklist-container,
  body.dn-hub-sub .profile-main > .profile-stats { display: none !important; }
}

/* Sheet „Konto wechseln“ */
.dn-sheet-overlay {
  position: fixed; inset: 0; z-index: 1200; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0, 0, 0, .62);
}
.dn-sheet {
  width: 100%; max-width: 520px; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px;
  padding: 10px 16px calc(20px + env(safe-area-inset-bottom));
  border-radius: var(--radius-l) var(--radius-l) 0 0; background: var(--surface); color: var(--ink);
  animation: dnSheetUp .28s cubic-bezier(.22, 1, .36, 1);
}
@keyframes dnSheetUp { from { transform: translateY(100%); } to { transform: none; } }
.dn-sheet__handle { width: 40px; height: 4px; margin: 0 auto 6px; border-radius: 4px; background: var(--line-strong); }
.dn-sheet__title { margin: 0 0 6px; font: 900 30px/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.dn-sheet__acc {
  width: 100%; min-height: 64px; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border: 0; border-radius: var(--radius-m); background: var(--ground); color: var(--ink); text-align: left; cursor: pointer;
  font-family: var(--font-text);
}
.dn-sheet__acc--active { background: var(--surface-raised); box-shadow: inset 0 0 0 2px var(--accent); cursor: default; }
.dn-sheet__acc img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.dn-sheet__accText { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dn-sheet__accText strong { font-size: 16px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dn-sheet__accText span { font-size: 14px; color: var(--ink-muted); }
.dn-sheet__check { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dn-sheet__acc .dn-hub__chev, .dn-sheet__acc > svg:last-child:not(.dn-sheet__check) { width: 18px; height: 18px; fill: none; stroke: var(--line-strong); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dn-sheet__others { display: flex; flex-direction: column; gap: 10px; }
.dn-sheet__others:empty { display: none; }
.dn-sheet__others .dn-bat-loader { margin: 8px auto; }
.dn-sheet__empty { margin: 4px; color: var(--ink-muted); font: 400 14px/1.4 var(--font-text); }
.dn-sheet__link {
  width: 100%; min-height: 56px; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius-m); background: transparent; color: var(--ink);
  font: 700 16px/1.2 var(--font-text); text-align: left; cursor: pointer;
}
.dn-sheet__plus { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-raised); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dn-sheet__plus svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dn-sheet__close {
  min-height: 48px; margin-top: 4px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong);
  background: transparent; color: var(--ink); font: 700 16px/1 var(--font-text); cursor: pointer;
}

/* ═══ Entdecken-Chips (mobil, Pro/Artist/Creative auf Start, Artists, Creatives, Community) ═══ */
.dn-chips { display: none; }
@media (max-width: 768px) {
  .dn-chips {
    display: flex; gap: 8px; padding: 10px 16px 12px; overflow-x: auto; scrollbar-width: none;
    position: absolute; top: 60px; left: 0; right: 0; height: 58px; box-sizing: border-box; z-index: 800;
    background: var(--ground); border-bottom: 1px solid var(--line);
  }
  /* Streifen sitzt direkt unter dem fixen Header (60 px) → Seite um seine Höhe nach unten */
  body.dn-has-chips { padding-top: 58px; }
  .dn-chips::-webkit-scrollbar { display: none; }
  .dn-chip {
    flex: 0 0 auto; display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
    border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px var(--line-strong);
    color: var(--ink); font: 500 14px/1 var(--font-text); text-decoration: none; white-space: nowrap;
  }
  .dn-chip[aria-current="page"] { background: var(--accent); color: var(--on-accent); box-shadow: none; font-weight: 700; }
}

/* „‹ Profil“-Kopfzeile auf eigenständigen Hub-Seiten (Statistiken) */
@media (max-width: 768px) {
  .dn-hub__sub--page { margin: 0 0 12px; }
  a.dn-hub__back { text-decoration: none; }
}

/* Sehr schmale Geräte (iPhone SE 1. Gen.): 5 Tabs → Labels etwas kleiner */
@media (max-width: 360px) { .dn-tab { font-size: 10px; letter-spacing: -.01em; } }
