/* ==========================================================================
   gehma — Ausgeh-App für Wien
   Design: dunkel, editorial, neon-lime. Keine externen Fonts, keine Build-Tools.
   ========================================================================== */

:root {
  --bg: #07070a;
  --bg-soft: #0c0c11;
  --panel: #111117;
  --panel-2: #17171f;
  --panel-3: #1d1d26;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f6f3ea;
  --muted: #a4a2ae;
  --dim: #6f6e7b;
  --lime: #d9ff4b;
  --accent-rgb: 217, 255, 75;
  --lime-ink: #101400;
  --coral: #ff6a53;
  --lav: #b9a6ff;
  --sky: #7bd7ff;
  --sun: #ffc94a;
  --radius: 22px;
  --radius-sm: 14px;
  --tabbar-h: 78px;
  --status-h: 54px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Inter", Arial, sans-serif;
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: #050507;
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
input, select { font: inherit; color: inherit; }

::selection { background: var(--lime); color: var(--lime-ink); }

/* ---------- Ambiente ---------- */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.5; }
.orb-a { width: 620px; height: 620px; left: -160px; top: -180px; background: radial-gradient(circle, rgba(var(--accent-rgb), 0.18), transparent 65%); }
.orb-b { width: 720px; height: 720px; right: -120px; bottom: -260px; background: radial-gradient(circle, rgba(185, 166, 255, 0.2), transparent 62%); }
.grain {
  position: absolute; inset: 0; opacity: 0.28; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.stage {
  position: relative; z-index: 1;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(32px, 6vw, 104px);
  padding: 48px clamp(20px, 5vw, 72px);
}

/* ---------- Sidebar / Pipeline ---------- */
.side {
  width: min(360px, 32vw);
  display: flex; flex-direction: column; gap: 30px;
  align-self: stretch;
  justify-content: center;
  max-height: 900px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--lime); box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.25);
}
.brand-mark span { width: 19px; height: 19px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 5px rgba(7, 7, 10, 0.12); }
.brand-name { font-family: var(--display); font-size: 27px; font-weight: 800; letter-spacing: -0.045em; }
.brand-name .dot { color: var(--lime); }
.brand-sub { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-top: 2px; }

.side-copy h2 {
  font-family: var(--display); font-size: clamp(34px, 3.6vw, 48px); line-height: 0.98;
  font-weight: 800; letter-spacing: -0.045em;
}
.side-copy h2 span { color: var(--lime); }
.side-copy p { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 34ch; }

.side-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.side-stat { background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 12px; }
.side-stat strong { display: block; font-family: var(--display); font-size: 24px; font-weight: 750; letter-spacing: -0.03em; }
.side-stat span { font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--dim); }

.side-label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.source-row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 12.5px; }
.source-row:last-child { border-bottom: 0; }
.source-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); flex: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03); }
.source-dot.ok { background: var(--lime); box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.55); }
.source-dot.degraded { background: var(--sun); box-shadow: 0 0 12px rgba(255, 201, 74, 0.4); }
.source-dot.down { background: var(--coral); box-shadow: 0 0 12px rgba(255, 106, 83, 0.4); }
.source-name { flex: 1; color: var(--text); }
.source-count { color: var(--dim); font-variant-numeric: tabular-nums; font-size: 11px; }
.skeleton-row { height: 30px; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 200% 100%; animation: shimmer 1.6s infinite; border: 0; }

.side-footer { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.pipeline-state { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5); animation: pulse 2.4s infinite; }
.side-meta { font-size: 11px; color: var(--dim); }

/* ---------- Device ---------- */
.device-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.device { position: relative; }
.device-frame {
  width: calc(392px + 20px); height: calc(844px + 20px);
  padding: 10px; border-radius: 62px;
  background: linear-gradient(150deg, #3a3a44, #121216 34%, #0a0a0d 60%, #2c2c35);
  box-shadow: 0 70px 140px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.device-screen {
  position: relative; width: 392px; height: 844px;
  border-radius: 52px; overflow: hidden; background: var(--bg);
  isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 112px; height: 30px; border-radius: 20px; background: #000; z-index: 95;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.statusbar {
  position: absolute; top: 0; left: 0; right: 0; height: var(--status-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px; font-size: 12.5px; font-weight: 650; letter-spacing: 0.01em;
  color: var(--text); z-index: 90; pointer-events: none;
}
.status-icons { display: inline-flex; align-items: center; gap: 6px; opacity: 0.95; }
.app-scrim { position: absolute; top: 0; left: 0; right: 0; height: 62px; z-index: 75; pointer-events: none; background: linear-gradient(to bottom, rgba(7,7,10,.96) 42%, rgba(7,7,10,.55) 70%, transparent); }
.device-caption { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--dim); }
.caption-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.linklike { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.linklike:hover { color: var(--lime); }

/* ---------- App Shell ---------- */
.app {
  z-index: 1;
  position: absolute; inset: 0;
  padding-top: var(--status-h);
  padding-bottom: calc(var(--tabbar-h) + 16px);
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scroll-behavior: auto;
}
.app::-webkit-scrollbar { display: none; }
.app.locked { overflow: hidden; }

.view { padding-bottom: 10px; animation: viewIn 0.34s cubic-bezier(0.2, 0.7, 0.2, 1); }
.boot { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.boot-logo { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(var(--accent-rgb), 0.2); border-top-color: var(--lime); animation: spin 1s linear infinite; }
.boot-line { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }

/* ---------- Typo / Basics ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; }
h1 { font-size: 40px; line-height: 0.96; }
h1 em { font-style: normal; color: var(--lime); }
h2 { font-size: 20px; letter-spacing: -0.025em; }
h3 { font-size: 16px; letter-spacing: -0.02em; }
.link { font-size: 11.5px; font-weight: 650; color: var(--muted); display: inline-flex; align-items: center; gap: 2px; }
.link:hover { color: var(--lime); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 9px; border-radius: 999px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.04em; background: rgba(255, 255, 255, 0.07); color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.06); white-space: nowrap;
}
.pill.lime { background: var(--lime); color: var(--lime-ink); border-color: transparent; }
.pill.coral { background: rgba(255, 106, 83, 0.16); color: #ffb3a7; border-color: rgba(255, 106, 83, 0.24); }
.pill.glass { background: rgba(10, 10, 14, 0.55); backdrop-filter: blur(10px); border-color: rgba(255, 255, 255, 0.14); }

/* ---------- Home ---------- */
.home-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 20px 12px; }
.home-greet .eyebrow { margin-bottom: 10px; }
.home-greet h1 { font-size: 42px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: 0.02em;
  color: var(--lime-ink); background: linear-gradient(135deg, var(--lime), #a7e800);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 22px rgba(var(--accent-rgb), 0.22);
}
.home-search { padding: 0 20px; }
.search-pill {
  width: 100%; height: 48px; display: flex; align-items: center; gap: 11px;
  padding: 0 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
  color: var(--dim); font-size: 13.5px; text-align: left;
}
.search-pill .ic { color: var(--muted); }
.search-pill span { flex: 1; }
.search-pill kbd {
  font-family: var(--font); font-size: 10px; color: var(--dim); border: 1px solid var(--line);
  padding: 3px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.03);
}
.pulse-row { display: flex; gap: 8px; padding: 14px 28px 2px 20px; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(to right, #000 93%, transparent 100%); }
.pulse-row::-webkit-scrollbar { display: none; }
.pulse-chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 11px; color: var(--muted); padding: 7px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
}
.pulse-chip b { color: var(--text); font-weight: 700; }
.pulse-chip .ic { color: var(--lime); }

.section { margin-top: 26px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 20px 12px; gap: 10px; }
.section-head h2 { font-size: 21px; }
.section-head .sub { font-size: 11px; color: var(--dim); margin-top: 3px; }
.section-head .link { margin-bottom: 2px; }

.rail { display: flex; gap: 12px; overflow-x: auto; padding: 2px 20px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; flex: none; }

/* Poster card */
.poster {
  position: relative; width: 250px; height: 330px; border-radius: 24px; overflow: hidden;
  background: var(--panel-2); text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
}
.poster:active { transform: scale(0.985); }
.poster-media { position: absolute; inset: 0; }
.poster-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.poster-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(155deg, var(--a, #2a2a3a), var(--b, #0d0d12) 70%);
}
.poster-fallback::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13); top: -90px; right: -120px;
}
.poster-fallback::after {
  content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%); bottom: -60px; left: -40px;
}
.poster-initials { font-family: var(--display); font-size: 76px; font-weight: 800; letter-spacing: -0.06em; color: rgba(255, 255, 255, 0.9); opacity: 0.92; }
.poster-shade {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, #07070a 0%, #07070a 36%, rgba(7, 7, 10, 0.86) 45%, rgba(7, 7, 10, 0.42) 58%, rgba(7, 7, 10, 0.08) 72%, rgba(7, 7, 10, 0) 84%);
}
.poster-top { position: absolute; z-index: 3; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.cat-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px;
  font-size: 9.5px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(8, 8, 12, 0.6); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(12px); color: #fff;
}
.match-pill {
  display: inline-flex; align-items: center; gap: 3px; padding: 5px 8px; border-radius: 999px;
  font-size: 10px; font-weight: 800; color: var(--lime-ink); background: var(--lime);
  box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.3);
}
.poster-body { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 14px 15px; }
.poster-date { font-size: 10px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); }
.poster-title { font-size: 19px; line-height: 1.12; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.poster-venue { font-size: 11px; color: rgba(246, 243, 234, 0.68); margin-top: 6px; display: flex; align-items: center; gap: 4px; }
.poster-why {
  margin-top: 9px; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 10.5px; color: rgba(246, 243, 234, 0.82); display: flex; align-items: center; gap: 5px;
}
.poster-why .ic { color: var(--lime); flex: none; }

/* Compact card */
.poster.compact { width: 196px; height: 248px; border-radius: 20px; }
.poster.compact .poster-title { font-size: 16px; }
.poster.compact .poster-initials { font-size: 56px; }

/* Event rows */
.rows { display: flex; flex-direction: column; gap: 8px; padding: 0 14px; }
.event-row {
  display: grid; grid-template-columns: 42px 1fr 76px; gap: 12px; align-items: center;
  width: 100%; text-align: left; padding: 10px; border-radius: 18px;
  background: var(--panel); border: 1px solid var(--line);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.event-row:hover { background: var(--panel-2); border-color: var(--line-strong); }
.event-row:active { transform: scale(0.995); }
.row-date { text-align: center; line-height: 1; }
.row-date b { display: block; font-family: var(--display); font-size: 20px; letter-spacing: -0.04em; }
.row-date span { display: block; font-size: 8.5px; font-weight: 750; letter-spacing: 0.1em; color: var(--muted); margin-top: 3px; }
.row-date.today b { color: var(--lime); }
.row-main { min-width: 0; }
.row-kicker { font-size: 9px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); margin-bottom: 3px; }
.row-title { font-size: 14px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-meta { font-size: 10.5px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-tags { display: flex; gap: 4px; margin-top: 5px; flex-wrap: wrap; }
.mini-tag { font-size: 8.5px; padding: 2.5px 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.row-thumb { width: 76px; height: 68px; border-radius: 12px; overflow: hidden; background: var(--panel-3); position: relative; }
.row-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.row-thumb .poster-fallback { border-radius: 0; }
.row-thumb .poster-initials { font-size: 26px; }
.row-price { position: absolute; z-index: 3; right: 5px; bottom: 5px; font-size: 8.5px; font-weight: 800; padding: 2px 5px; border-radius: 5px; background: rgba(0, 0, 0, 0.66); color: #fff; backdrop-filter: blur(4px); }

/* Empty state */
.empty { padding: 34px 24px; text-align: center; }
.empty-ico { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); color: var(--lime); }
.empty h3 { font-size: 16px; margin-bottom: 6px; }
.empty p { font-size: 12px; color: var(--muted); line-height: 1.55; max-width: 28ch; margin: 0 auto; }

/* ---------- Discovery ---------- */
.page-head { padding: 18px 20px 14px; }
.page-head h1 { font-size: 36px; }
.page-head p { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; max-width: 34ch; }
.search-live { margin: 0 20px 12px; position: relative; }
.search-live .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-live input {
  width: 100%; height: 46px; border-radius: 15px; border: 1px solid var(--line);
  background: var(--panel); padding: 0 40px 0 40px; font-size: 13.5px; outline: none;
}
.search-live input::placeholder { color: var(--dim); }
.search-live input[type="search"]::-webkit-search-cancel-button,
.search-live input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search-live input:focus { border-color: rgba(var(--accent-rgb), 0.55); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.08); }
.search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: rgba(255, 255, 255, 0.06); }
.chips { display: flex; gap: 7px; overflow-x: auto; padding: 2px 30px 4px 20px; scrollbar-width: none; mask-image: linear-gradient(to right, #000 92%, transparent 100%); }
.chips::-webkit-scrollbar { display: none; }
.chip {
  white-space: nowrap; padding: 8px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  color: var(--muted); background: var(--panel); border: 1px solid var(--line);
  transition: all 0.18s;
}
.chip.active { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); font-weight: 750; }
.chip:active { transform: scale(0.97); }

.seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px;
  margin: 12px 20px; padding: 3px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line);
}
.seg button { padding: 8px 6px; border-radius: 11px; font-size: 10.5px; font-weight: 650; color: var(--muted); }
.seg button.active { background: var(--panel-3); color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }

.filter-bar { display: flex; align-items: center; justify-content: space-between; padding: 4px 20px 12px; }
.filter-bar .count { font-size: 11.5px; color: var(--dim); }
.filter-btn {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 650;
  padding: 7px 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text);
}
.filter-btn.active { border-color: rgba(var(--accent-rgb), 0.5); color: var(--lime); }
.badge-count { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 5px; background: var(--lime); color: var(--lime-ink); font-size: 9px; font-weight: 800; display: grid; place-items: center; }

.results { padding: 0 14px; display: flex; flex-direction: column; gap: 8px; }
.load-more { margin: 14px 20px 6px; padding: 12px; border-radius: 14px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 12px; width: calc(100% - 40px); }

/* Grid cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px; }
.grid-card { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--panel); text-align: left; border: 1px solid var(--line); }
.grid-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.grid-card .poster-shade { z-index: 2; background: linear-gradient(to top, rgba(4,4,7,.95), rgba(4,4,7,.1) 65%); }
.grid-card .gc-body { position: absolute; z-index: 3; inset: auto 0 0 0; padding: 10px; }
.grid-card h3 { font-size: 12.5px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid-card .gc-meta { font-size: 9.5px; color: rgba(255,255,255,.66); margin-top: 4px; }
.grid-card .poster-initials { font-size: 44px; }

/* ---------- Calendar ---------- */
.week-strip { display: flex; gap: 6px; padding: 2px 20px 14px; overflow-x: auto; scrollbar-width: none; }
.week-strip::-webkit-scrollbar { display: none; }
.day-cell {
  flex: 1; min-width: 42px; padding: 9px 4px 8px; border-radius: 14px; text-align: center;
  border: 1px solid var(--line); background: var(--panel);
}
.day-cell span { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--dim); text-transform: uppercase; }
.day-cell b { display: block; font-family: var(--display); font-size: 17px; letter-spacing: -0.03em; margin-top: 3px; }
.day-cell.has b { color: var(--text); }
.day-cell .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--lime); margin: 5px auto 0; opacity: 0; }
.day-cell.has .dot { opacity: 1; }
.day-cell.active { background: var(--text); border-color: var(--text); color: var(--bg); }
.day-cell.active span, .day-cell.active b { color: var(--bg); }
.day-cell.active .dot { background: var(--coral); opacity: 1; }
.agenda { padding: 0 16px; display: flex; flex-direction: column; gap: 8px; }
.agenda-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px 10px; }
.agenda-head h2 { font-size: 16px; }
.ics-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); border: 1px solid var(--line); padding: 6px 9px; border-radius: 9px; }
.ics-btn:hover { color: var(--lime); border-color: rgba(var(--accent-rgb),.4); }

/* ---------- Social ---------- */
.social-hero { margin: 0 16px; padding: 20px; border-radius: 22px; background: linear-gradient(135deg, rgba(var(--accent-rgb),.14), rgba(185,166,255,.1)); border: 1px solid rgba(var(--accent-rgb),.16); }
.social-hero .num { font-family: var(--display); font-size: 40px; letter-spacing: -0.05em; line-height: 1; }
.social-hero p { font-size: 11.5px; color: var(--muted); margin-top: 7px; line-height: 1.5; }
.channel-list { padding: 0 16px; display: flex; flex-direction: column; gap: 7px; }
.channel-row { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 15px; background: var(--panel); border: 1px solid var(--line); }
.channel-ava { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-3); color: var(--text); flex: none; }
.channel-main { flex: 1; min-width: 0; }
.channel-name { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.channel-meta { font-size: 10px; color: var(--dim); margin-top: 2px; }
.follow-btn { padding: 6px 10px; border-radius: 8px; font-size: 10px; font-weight: 750; background: var(--lime); color: var(--lime-ink); }
.follow-btn.on { background: rgba(255,255,255,.08); color: var(--muted); border: 1px solid var(--line); }
.channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px; }
.channel-card { padding: 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); text-align: left; }
.channel-card .cc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; color: var(--muted); }
.channel-card b { font-size: 11.5px; display: block; line-height: 1.25; }
.channel-card span { font-size: 9.5px; color: var(--dim); display: block; margin-top: 3px; }
.platform-row { display: flex; gap: 4px; margin-top: 8px; flex-wrap: wrap; }
.platform-row span { font-size: 8px; letter-spacing: .04em; color: var(--dim); border: 1px solid var(--line); border-radius: 4px; padding: 2px 4px; margin: 0; }

/* ---------- Profile ---------- */
.profile-hero { padding: 20px 20px 10px; display: flex; align-items: center; gap: 14px; }
.profile-ava { width: 66px; height: 66px; border-radius: 22px; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: var(--lime-ink); background: linear-gradient(140deg, var(--lime), #9cd400); box-shadow: 0 12px 30px rgba(var(--accent-rgb),.2); }
.profile-hero h1 { font-size: 26px; }
.profile-hero .meta { font-size: 11px; color: var(--muted); margin-top: 4px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px; }
.stat-box { padding: 12px; border-radius: 15px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.stat-box b { display: block; font-family: var(--display); font-size: 21px; letter-spacing: -0.03em; }
.stat-box span { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.panel { margin: 12px 16px; padding: 16px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.panel-head h2 { font-size: 14px; }
.taste-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.taste-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 9px; background: rgba(var(--accent-rgb),.1); border: 1px solid rgba(var(--accent-rgb),.22); font-size: 10.5px; color: var(--lime); }
.settings { margin: 12px 16px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.setting-row { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.setting-row:last-child { border-bottom: 0; }
.setting-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.05); color: var(--muted); flex: none; }
.setting-label { flex: 1; font-size: 12px; }
.setting-value { font-size: 11px; color: var(--dim); }
.toggle { width: 36px; height: 21px; border-radius: 999px; background: rgba(255,255,255,.12); position: relative; transition: background .2s; flex: none; }
.toggle::after { content: ""; position: absolute; width: 17px; height: 17px; border-radius: 50%; background: #fff; top: 2px; left: 2px; transition: transform .2s; }
.toggle.on { background: var(--lime); }
.toggle.on::after { transform: translateX(15px); background: var(--lime-ink); }
.source-list { display: flex; flex-direction: column; gap: 2px; }
.source-item { display: flex; align-items: center; gap: 9px; padding: 7px 0; }
.source-item .name { flex: 1; font-size: 11.5px; }
.source-item .status { font-size: 9px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.source-item .status.ok { color: var(--lime); }
.source-item .status.degraded { color: var(--sun); }
.source-item .status.down { color: var(--coral); }
.refresh-btn { margin: 12px 16px; width: calc(100% - 32px); padding: 12px; border-radius: 14px; background: var(--lime); color: var(--lime-ink); font-size: 12px; font-weight: 750; display: flex; align-items: center; justify-content: center; gap: 7px; }
.refresh-btn:disabled { opacity: .6; }
.app-foot { text-align: center; font-size: 9.5px; color: var(--dim); padding: 18px 20px 22px; line-height: 1.6; }

/* ---------- Tabbar ---------- */
.social-links { display: flex; flex-wrap: wrap; gap: 6px; }
.social-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); font-size: 10.5px; font-weight: 600; }
.social-links a:hover { border-color: rgba(var(--accent-rgb),.4); color: var(--lime); }

.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--tabbar-h); z-index: 70;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: start;
  padding: 8px 8px 0;
  background: linear-gradient(to top, rgba(7,7,10,.98) 55%, rgba(7,7,10,.78));
  backdrop-filter: blur(22px) saturate(150%);
  border-top: 1px solid rgba(255,255,255,.07);
  transition: transform .32s cubic-bezier(.3,.8,.2,1);
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 6px 0; color: var(--dim); font-size: 9px; font-weight: 650; letter-spacing: .02em;
  position: relative;
}
.tab .ic { width: 21px; height: 21px; }
.tab.active { color: var(--text); }
.tab.active::before {
  content: ""; position: absolute; top: -8px; width: 22px; height: 2px; border-radius: 2px; background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}
.tab.active .ic { color: var(--lime); }
.social-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); font-size: 10.5px; font-weight: 600; }
.social-links a:hover { border-color: rgba(var(--accent-rgb),.4); color: var(--lime); }

.screen.detail-open .tabbar { transform: translateY(110%); }

/* ---------- Detail ---------- */
.detail {
  position: absolute; inset: 0; z-index: 80; background: var(--bg);
  overflow-y: auto; overflow-x: hidden; scrollbar-width: none;
  animation: detailIn .4s cubic-bezier(.2,.8,.2,1);
  overscroll-behavior: contain;
}
.detail::-webkit-scrollbar { display: none; }
.detail-scrim {
  position: sticky; top: 0; z-index: 9; height: 78px; margin-bottom: -78px;
  background: linear-gradient(to bottom, #07070a 0%, #07070a 52px, rgba(7,7,10,.86) 60px, rgba(7,7,10,.35) 70px, transparent 100%);
  pointer-events: none;
}
.detail-hero { position: relative; height: 430px; background: var(--panel-3); overflow: hidden; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.detail-hero .poster-fallback { align-items: flex-end; justify-content: flex-start; padding: 0 24px 40px; }
.detail-hero .poster-initials { font-size: 118px; }
.detail-hero .hero-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, var(--bg) 1%, rgba(7,7,10,.55) 30%, rgba(7,7,10,.08) 62%, rgba(7,7,10,.55) 100%); }
.detail-nav { position: absolute; top: 58px; left: 16px; right: 16px; display: flex; justify-content: space-between; z-index: 6; }
.round-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(8,8,12,.55); border: 1px solid rgba(255,255,255,.16); color: #fff;
  backdrop-filter: blur(14px); transition: background .2s, transform .2s;
}
.round-btn:hover { background: rgba(8,8,12,.8); }
.round-btn:active { transform: scale(.94); }
.round-btn.saved { color: var(--coral); border-color: rgba(255,106,83,.4); }
.detail-hero-tags { position: absolute; z-index: 4; left: 20px; bottom: 54px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.detail-body { position: relative; margin-top: -34px; background: var(--bg); border-radius: 28px 28px 0 0; padding: 22px 20px calc(118px + env(safe-area-inset-bottom)); z-index: 4; }
.detail-kicker { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.detail-title { font-size: 30px; line-height: 1.02; margin-top: 8px; letter-spacing: -0.04em; }
.detail-sub { font-size: 12px; color: var(--muted); margin-top: 9px; line-height: 1.45; }
.meta-list { margin-top: 18px; display: flex; flex-direction: column; gap: 11px; }
.meta-item { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: var(--muted); }
.meta-item .ic { color: var(--text); opacity: .8; flex: none; margin-top: 1px; }
.meta-item b { color: var(--text); font-weight: 650; display: block; font-size: 12.5px; }
.meta-item span { color: var(--dim); font-size: 11px; display: block; margin-top: 2px; }

.match-box {
  margin-top: 18px; padding: 14px; border-radius: 18px; display: flex; gap: 13px; align-items: center;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),.09), rgba(185,166,255,.06));
  border: 1px solid rgba(var(--accent-rgb),.16);
}
.score-ring {
  width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--lime) calc(var(--score) * 1%), rgba(255,255,255,.09) 0);
  position: relative;
}
.score-ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #12120f; }
.score-ring b { position: relative; z-index: 1; font-family: var(--display); font-size: 14px; letter-spacing: -0.02em; }
.match-copy { min-width: 0; }
.match-copy .label { font-size: 9px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.match-copy ul { margin-top: 4px; display: flex; flex-direction: column; gap: 2px; }
.match-copy li { font-size: 10.5px; color: var(--muted); display: flex; gap: 5px; align-items: center; }
.match-copy li::before { content: "•"; color: var(--lime); }

.detail-section { margin-top: 26px; }
.detail-section h2 { font-size: 15px; margin-bottom: 9px; letter-spacing: -0.01em; }
.detail-section p { font-size: 12.5px; line-height: 1.68; color: var(--muted); white-space: pre-line; }
.clamp p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.more-link { font-size: 10.5px; color: var(--lime); margin-top: 6px; font-weight: 650; }

.lineup { display: flex; flex-wrap: wrap; gap: 6px; }
.lineup a, .lineup span, .lineup button {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 8px;
  background: var(--panel); border: 1px solid var(--line); font-size: 10.5px; color: var(--text);
}
.lineup a:hover, .lineup button:hover { border-color: rgba(var(--accent-rgb),.4); color: var(--lime); }
.lineup button.active { background: rgba(var(--accent-rgb),.12); border-color: rgba(var(--accent-rgb),.45); color: var(--lime); }
.hintline { font-size: 9.5px; color: var(--dim); margin-top: 8px; }

.venue-card {
  margin-top: 8px; padding: 13px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
  display: flex; gap: 12px; align-items: center;
}
.venue-thumb { width: 48px; height: 48px; border-radius: 12px; background: var(--panel-3); display: grid; place-items: center; color: var(--lime); flex: none; }
.venue-main { flex: 1; min-width: 0; }
.venue-main b { font-size: 12px; display: block; }
.venue-main span { font-size: 10px; color: var(--dim); display: block; margin-top: 2px; line-height: 1.4; }
.venue-link { color: var(--muted); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); }

.channels { display: flex; flex-direction: column; gap: 6px; }
.channel-link {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 13px;
  background: var(--panel); border: 1px solid var(--line); width: 100%; text-align: left;
}
.channel-link .ci { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.05); color: var(--text); flex: none; }
.channel-link .cl { flex: 1; min-width: 0; }
.channel-link .cl b { display: block; font-size: 11px; font-weight: 650; }
.channel-link .cl span { display: block; font-size: 9px; color: var(--dim); margin-top: 1px; }
.channel-link .follow-mini { font-size: 9px; padding: 4px 7px; border-radius: 6px; background: rgba(var(--accent-rgb),.14); color: var(--lime); }
.channel-link .follow-mini.on { background: rgba(255,255,255,.07); color: var(--dim); }

.ticket-list { display: flex; flex-direction: column; gap: 7px; }
.ticket-link {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 13px;
  background: var(--panel); border: 1px solid var(--line);
}
.ticket-link:hover { border-color: rgba(var(--accent-rgb),.35); background: var(--panel-2); }
.ticket-logo { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 9px; font-weight: 800; color: #fff; flex: none; }
.ticket-link .tl { flex: 1; }
.ticket-link .tl b { display: block; font-size: 11.5px; }
.ticket-link .tl span { display: block; font-size: 9px; color: var(--dim); margin-top: 1px; }
.ticket-link .ic { color: var(--dim); }

.cta-bar {
  position: absolute; left: 0; right: 0; bottom: 0; width: auto; z-index: 85;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: flex; gap: 8px; align-items: center;
  background: linear-gradient(to top, rgba(7,7,10,.98) 55%, rgba(7,7,10,.9));
  border-top: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
}
.cta-primary {
  flex: 1; height: 50px; border-radius: 15px; background: var(--lime); color: var(--lime-ink);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: -0.01em;
  box-shadow: 0 8px 26px rgba(var(--accent-rgb),.2);
}
.cta-primary:active { transform: scale(.99); }
.cta-primary .price { font-weight: 600; opacity: .7; font-size: 11px; }
.cta-icon { width: 50px; height: 50px; border-radius: 15px; border: 1px solid var(--line-strong); background: var(--panel); display: grid; place-items: center; color: var(--text); flex: none; }
.cta-icon.saved { color: var(--coral); border-color: rgba(255,106,83,.4); }
.cta-icon .ic { width: 20px; height: 20px; }
.cta-hint { position: absolute; left: 16px; right: 16px; bottom: 2px; text-align: center; font-size: 8px; color: var(--dim); }

/* Similar */
.similar { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.similar::-webkit-scrollbar { display: none; }
.sim-card { width: 132px; flex: none; text-align: left; }
.sim-thumb { width: 132px; height: 96px; border-radius: 12px; overflow: hidden; background: var(--panel-3); position: relative; }
.sim-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.sim-thumb .poster-initials { font-size: 32px; }
.sim-card b { display: block; font-size: 10.5px; margin-top: 6px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sim-card span { font-size: 9px; color: var(--dim); display: block; margin-top: 2px; }

.source-note { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 9px; color: var(--dim); line-height: 1.6; display: flex; gap: 6px; align-items: flex-start; }
.source-note .ic { flex: none; margin-top: 1px; }

/* ---------- Sheets ---------- */
.backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); z-index: 100; opacity: 0; transition: opacity .3s; backdrop-filter: blur(2px); }
.backdrop.in { opacity: 1; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 101; max-height: 88%;
  background: var(--bg-soft); border-radius: 26px 26px 0 0; border-top: 1px solid var(--line-strong);
  padding: 10px 18px calc(20px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .38s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto; box-shadow: 0 -30px 60px rgba(0,0,0,.5);
}
.sheet.in { transform: translateY(0); }
.grabber { width: 38px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); margin: 0 auto 16px; }
.sheet h2 { font-size: 20px; margin-bottom: 4px; }
.sheet .sheet-sub { font-size: 11px; color: var(--muted); margin-bottom: 16px; }
.sheet-group { margin-bottom: 18px; }
.sheet-label { font-size: 9.5px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.district-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.district-chip { padding: 7px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); font-size: 9.5px; color: var(--muted); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.district-chip.active { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); font-weight: 750; }
.range-row { display: flex; align-items: center; gap: 10px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--lime); }
.range-value { font-size: 12px; font-weight: 700; min-width: 64px; text-align: right; }
.sheet-actions { display: flex; gap: 8px; position: sticky; bottom: -1px; z-index: 3; margin-top: 14px; padding: 12px 0 calc(2px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg-soft) 72%, rgba(12,12,17,.92) 100%); }
.btn-ghost { flex: 1; height: 46px; border-radius: 13px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 650; }
.btn-solid { flex: 2; height: 46px; border-radius: 13px; background: var(--lime); color: var(--lime-ink); font-size: 12.5px; font-weight: 800; }

/* ---------- Onboarding ---------- */
.onboard {
  position: absolute; inset: 0; z-index: 120; background: var(--bg);
  display: flex; flex-direction: column; overflow: hidden;
  animation: fadeIn .35s ease;
}
.ob-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 80% -10%, rgba(var(--accent-rgb),.14), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(185,166,255,.12), transparent 50%); }
.ob-top { position: relative; padding: 66px 22px 0; display: flex; align-items: center; justify-content: space-between; }
.ob-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -0.04em; }
.ob-brand .mark { width: 32px; height: 32px; border-radius: 10px; background: var(--lime); display: grid; place-items: center; }
.ob-brand .mark span { width: 11px; height: 11px; border-radius: 50%; background: var(--bg); }
.ob-skip { font-size: 11px; color: var(--dim); }
.ob-progress { position: relative; display: flex; gap: 4px; padding: 18px 22px 0; }
.ob-progress i { height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); flex: 1; transition: background .3s; }
.ob-progress i.on { background: var(--lime); }
.ob-content { position: relative; flex: 1; overflow-y: auto; padding: 28px 22px 120px; scrollbar-width: none; }
.ob-content::-webkit-scrollbar { display: none; }
.ob-step { animation: viewIn .35s ease; }
.ob-kicker { font-size: 10px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; }
.ob-title { font-size: 33px; line-height: 1.02; letter-spacing: -0.04em; }
.ob-title em { font-style: normal; color: var(--lime); }
.ob-sub { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin-top: 12px; max-width: 32ch; }
.ob-hint { font-size: 10px; color: var(--dim); margin-top: 12px; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.ob-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 11px;
  border: 1px solid var(--line); background: var(--panel); color: var(--muted); font-size: 11.5px; font-weight: 600;
  transition: all .16s;
}
.ob-chip.active { background: rgba(var(--accent-rgb),.14); border-color: rgba(var(--accent-rgb),.55); color: var(--lime); }
.ob-chip .emoji { font-size: 13px; }
.ob-taste-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.ob-taste {
  display: flex; align-items: center; gap: 9px; padding: 12px; border-radius: 14px; text-align: left;
  background: var(--panel); border: 1px solid var(--line); color: var(--text); font-size: 11.5px; font-weight: 600;
  transition: all .16s;
}
.ob-taste .emoji { font-size: 17px; }
.ob-taste.active { background: rgba(var(--accent-rgb),.12); border-color: rgba(var(--accent-rgb),.55); color: var(--lime); box-shadow: 0 0 0 1px rgba(var(--accent-rgb),.14) inset; }
.ob-taste.active::after { content: "✓"; margin-left: auto; font-size: 11px; }
.ob-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 22px calc(22px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 60%, rgba(7,7,10,.9)); display: flex; gap: 10px; align-items: center;
}
.ob-back { width: 48px; height: 52px; border-radius: 15px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); flex: none; }
.ob-next { flex: 1; height: 52px; border-radius: 15px; background: var(--lime); color: var(--lime-ink); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 7px; }
.ob-next:disabled { opacity: .4; }
.ob-summary { margin-top: 22px; padding: 15px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.ob-summary .row { display: flex; justify-content: space-between; font-size: 11px; padding: 6px 0; color: var(--muted); }
.ob-summary .row b { color: var(--text); font-weight: 600; max-width: 62%; text-align: right; }

/* ---------- Toast ---------- */
.toast {
  position: absolute; left: 50%; bottom: calc(var(--tabbar-h) + 14px); transform: translate(-50%, 18px);
  z-index: 130; padding: 10px 14px; border-radius: 12px; background: rgba(24,24,30,.96);
  border: 1px solid var(--line-strong); font-size: 11px; color: var(--text);
  box-shadow: 0 12px 30px rgba(0,0,0,.5); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; max-width: 84%; text-align: center;
  backdrop-filter: blur(12px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Utilities ---------- */
.divider { height: 1px; background: var(--line); margin: 14px 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 200% 100%; animation: shimmer 1.6s infinite; }
.stagger > * { animation: riseIn .45s both; }
.stagger > *:nth-child(2) { animation-delay: .04s; }
.stagger > *:nth-child(3) { animation-delay: .08s; }
.stagger > *:nth-child(4) { animation-delay: .12s; }
.stagger > *:nth-child(5) { animation-delay: .16s; }

@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes detailIn { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),.45); } 70% { box-shadow: 0 0 0 7px rgba(var(--accent-rgb),0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb),0); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
.popping { animation: pop .35s ease; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .stage { gap: 40px; padding: 32px; }
  .side { width: 300px; }
  .side-copy h2 { font-size: 34px; }
}
@media (max-width: 960px) {
  .stage { display: block; padding: 0; min-height: 100dvh; }
  .side, .device-caption { display: none; }
  .device-wrap { min-height: 100dvh; width: 100%; display: block; }
  .device { width: 100%; height: 100dvh; }
  .device-frame { width: 100%; height: 100dvh; padding: 0; border-radius: 0; background: var(--bg); box-shadow: none; }
  .device-screen { width: 100%; height: 100dvh; border-radius: 0; box-shadow: none; }
  .island, .statusbar, .app-scrim { display: none; }
  .app { padding-top: max(14px, env(safe-area-inset-top)); padding-bottom: calc(var(--tabbar-h) + 12px + env(safe-area-inset-bottom)); }

.tabbar { padding-bottom: env(safe-area-inset-bottom); height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
  .home-head { padding-top: 10px; }
  .detail-nav { top: max(14px, env(safe-area-inset-top)); }
  .detail-scrim { height: calc(env(safe-area-inset-top) + 8px); margin-bottom: calc(-1 * (env(safe-area-inset-top) + 8px)); }
  .detail { top: 0; }
  .detail-hero { height: min(46vh, 430px); }
  .detail-body { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .cta-bar { width: 100%; }
  .ob-top { padding-top: max(24px, env(safe-area-inset-top)); }
  .sheet { max-height: 92%; }
}
@media (max-width: 380px) {
  h1, .home-greet h1 { font-size: 36px; }
  .poster { width: 226px; height: 300px; }
  .detail-title { font-size: 26px; }
  .district-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
@media (hover: hover) and (pointer: fine) {
  .poster:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(0,0,0,.5); }
  .poster:hover img { transform: scale(1.04); }
}

/* ---------- Feed (RA-Style, tageweise) ---------- */
.view-feed { padding-bottom: 8px; }
.feed-head { padding: 14px 18px 0; }
.feed-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 8px; }
.feed-title-row h1 { font-size: 34px; line-height: .98; letter-spacing: -.045em; }
.feed-title-row h1 em { color: var(--lime); font-style: normal; }
.feed-search-row { display: flex; gap: 8px; margin-top: 16px; }
.feed-search { position: relative; flex: 1; }
.feed-search > .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); z-index: 1; }
.feed-search input { width: 100%; height: 44px; border-radius: 13px; background: var(--panel); border: 1px solid var(--line); padding: 0 38px 0 36px; font-size: 12.5px; outline: none; }
.feed-search input:focus { border-color: rgba(var(--accent-rgb),.5); box-shadow: 0 0 0 3px rgba(var(--accent-rgb),.07); }
.feed-search input::placeholder { color: var(--dim); }
.feed-search input[type="search"]::-webkit-search-cancel-button,
.feed-search input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.feed-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: rgba(255,255,255,.07); }
.feed-filter { width: 44px; height: 44px; border-radius: 13px; border: 1px solid var(--line); background: var(--panel); display: grid; place-items: center; color: var(--text); position: relative; flex: none; }
.feed-filter.active { border-color: rgba(var(--accent-rgb),.5); color: var(--lime); }
.feed-filter .badge-count { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; font-size: 9px; }
.day-strip { display: flex; gap: 6px; overflow-x: auto; padding: 14px 30px 6px 18px; margin: 0 -18px; scrollbar-width: none; mask-image: linear-gradient(to right, #000 94%, transparent); }
.day-strip::-webkit-scrollbar { display: none; }
.day-chip { flex: none; min-width: 46px; min-height: 58px; padding: 9px 6px 8px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; transition: all .16s; }
.day-chip span { display: block; font-size: 8px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.day-chip b { display: block; font-family: var(--display); font-size: 17px; letter-spacing: -.03em; }
.day-chip.active { background: var(--text); border-color: var(--text); color: var(--bg); }
.day-chip.active span { color: rgba(0,0,0,.55); }
.genre-strip { display: flex; gap: 6px; overflow-x: auto; padding: 8px 30px 4px 18px; margin: 0 -18px; scrollbar-width: none; mask-image: linear-gradient(to right, #000 94%, transparent); }
.genre-strip::-webkit-scrollbar { display: none; }
.genre-chip { flex: none; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 10px; font-weight: 600; white-space: nowrap; }
.genre-chip.active { background: rgba(var(--accent-rgb),.12); border-color: rgba(var(--accent-rgb),.5); color: var(--lime); }
.feed-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 18px; margin-top: 2px; border-bottom: 1px solid var(--line); }
.feed-count { font-size: 10px; color: var(--dim); letter-spacing: .01em; }
.mini-seg { display: flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); }
.mini-seg button { display: inline-flex; align-items: center; gap: 3px; padding: 4px 7px; border-radius: 6px; font-size: 9px; font-weight: 600; color: var(--dim); }
.mini-seg button.active { background: var(--panel-3); color: var(--text); }
.feed-pick { position: relative; display: block; width: calc(100% - 36px); height: 172px; margin: 14px 18px 6px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); text-align: left; }
.pick-fallback { position: absolute; inset: 0; background: linear-gradient(150deg, var(--a, #2a2a3a), var(--b, #0b0b0e)); display: grid; place-items: center; }
.pick-fallback::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); top: -80px; right: -60px; }
.pick-fallback .poster-initials { font-size: 64px; }
.feed-pick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.pick-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(7,7,10,.96) 0%, rgba(7,7,10,.72) 46%, rgba(7,7,10,.12) 100%), linear-gradient(to top, rgba(7,7,10,.85), transparent 55%); }
.pick-body { position: absolute; z-index: 3; left: 14px; right: 40%; bottom: 12px; display: flex; flex-direction: column; gap: 5px; }
.pick-label { display: inline-flex; align-items: center; gap: 5px; font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.pick-title { font-family: var(--display); font-size: 18px; font-weight: 800; line-height: 1.08; letter-spacing: -.03em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pick-meta { font-size: 9.5px; color: rgba(246,243,234,.7); line-height: 1.35; }
.day-group { padding: 0 18px; }
.day-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 22px 0 9px; border-bottom: 1px solid var(--line-strong); }
.day-head-left { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.day-head h2 { font-size: 17px; letter-spacing: -.02em; }
.day-date { font-size: 9.5px; color: var(--dim); letter-spacing: .03em; white-space: nowrap; }
.day-count { font-size: 9px; color: var(--dim); white-space: nowrap; }
.ra-list { display: flex; flex-direction: column; }
.ra-row { display: grid; grid-template-columns: 38px minmax(0,1fr) 62px; gap: 10px; width: 100%; padding: 12px 0; text-align: left; border-bottom: 1px solid rgba(255,255,255,.06); align-items: start; }
.ra-row:last-child { border-bottom: 0; }
.ra-row:hover { background: rgba(255,255,255,.018); }
.ra-time { font-size: 11px; font-weight: 700; color: var(--text); padding-top: 1px; font-variant-numeric: tabular-nums; }
.ra-main { min-width: 0; }
.ra-title { font-size: 13.5px; font-weight: 650; line-height: 1.22; letter-spacing: -.012em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ra-venue { font-size: 10px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ra-venue span { color: var(--dim); }
.ra-lineup { font-size: 9.5px; color: var(--dim); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ra-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.ra-badge { font-size: 7.5px; padding: 2px 5px; border-radius: 4px; background: rgba(255,255,255,.055); color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
.ra-badge.price { color: var(--text); background: rgba(255,255,255,.09); }
.ra-badge.sold { color: var(--coral); background: rgba(255,106,83,.12); }
.ra-badge.match { color: var(--lime); background: transparent; border: 1px solid rgba(var(--accent-rgb),.25); }
.ra-thumb { width: 62px; height: 62px; border-radius: 9px; overflow: hidden; background: var(--panel-3); position: relative; }
.ra-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ra-thumb .poster-fallback { border-radius: 0; }
.ra-thumb .poster-initials { font-size: 20px; }
.feed-more { width: 100%; padding: 11px 0 13px; text-align: left; font-size: 9.5px; color: var(--lime); display: flex; align-items: center; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
.feed-more-days { display: flex; align-items: center; justify-content: center; gap: 6px; width: calc(100% - 36px); margin: 16px 18px 4px; padding: 12px; border-radius: 12px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: 10.5px; }
.feed-source { text-align: center; font-size: 8.5px; color: var(--dim); padding: 22px 18px 10px; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.sheet-head .round-btn { width: 32px; height: 32px; }
.sheet-chips { display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin: 0; overflow: visible; mask-image: none; }
.chip.sm { padding: 6px 9px; font-size: 10px; }

/* ---------- Venues (RA-Rubrik) ---------- */
.view-venues { padding-bottom: 8px; }
.venues-head { padding: 16px 18px 6px; }
.venues-head h1 { font-size: 36px; }
.venues-head .eyebrow { margin-bottom: 5px; }
.venues-head p { margin-top: 6px; }
.venue-search { margin: 0 18px 2px; }
.venue-chips { padding: 6px 30px 0 18px; }
.venue-chips .chip.sm { font-size: 9.5px; }
.chip-n { color: var(--dim); font-size: 8px; margin-left: 2px; }
.chip.active .chip-n { color: rgba(0,0,0,.55); }
.venue-toolbar { margin-top: 8px; }
.venue-list { padding: 10px 14px 0; display: flex; flex-direction: column; gap: 8px; }
.venue-row { display: grid; grid-template-columns: 64px minmax(0,1fr) 42px; gap: 11px; padding: 10px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); text-align: left; width: 100%; align-items: center; }
.venue-row:hover { background: var(--panel-2); border-color: var(--line-strong); }
.venue-thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; position: relative; background: var(--panel-3); }
.venue-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.venue-thumb .poster-fallback { border-radius: 0; }
.venue-thumb .poster-initials { font-size: 22px; }
.venue-main { min-width: 0; }
.venue-name { font-size: 14.5px; font-weight: 700; letter-spacing: -.015em; display: flex; align-items: center; gap: 5px; }
.venue-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px rgba(var(--accent-rgb),.7); flex: none; }
.venue-meta { font-size: 10px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.venue-meta b { color: var(--text); font-weight: 600; }
.venue-next { font-size: 10px; color: var(--dim); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.venue-tags { display: flex; gap: 4px; margin-top: 5px; flex-wrap: wrap; }
.venue-tags span { font-size: 8px; padding: 2px 5px; border-radius: 4px; background: rgba(255,255,255,.06); color: var(--muted); }
.venue-tags .venue-social { color: var(--lime); background: rgba(var(--accent-rgb),.08); display: inline-flex; gap: 3px; align-items: center; }
.venue-side { display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--dim); }
.venue-side b { font-family: var(--display); font-size: 13px; color: var(--text); letter-spacing: -.02em; }
.venue-side span { font-size: 6.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.venue-following { color: var(--lime); display: grid; place-items: center; }
.venue-sheet { padding: 0; max-height: 92%; }
.venue-sheet-hero { position: relative; height: 180px; overflow: hidden; }
.venue-sheet-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.venue-sheet-hero .pick-fallback { z-index: 0; }
.venue-hero-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, #0c0c11 2%, rgba(12,12,17,.6) 40%, rgba(12,12,17,.1) 70%, rgba(12,12,17,.5) 100%); }
.venue-close { position: absolute; top: 14px; right: 14px; z-index: 4; width: 34px; height: 34px; }
.venue-sheet-head { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 14px; }
.venue-sheet-head h2 { font-size: 28px; line-height: 1; margin-top: 5px; }
.venue-sheet-head span { font-size: 10.5px; color: var(--muted); display: block; margin-top: 5px; }
.venue-sheet-body { padding: 14px 18px 30px; background: var(--bg-soft); }
.venue-address { display: flex; align-items: flex-start; gap: 6px; font-size: 10.5px; color: var(--muted); line-height: 1.4; }
.venue-address .ic { color: var(--text); flex: none; margin-top: 1px; }
.venue-sheet-actions { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.venue-action { display: inline-flex; align-items: center; gap: 5px; padding: 8px 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); font-size: 10px; color: var(--text); }
.venue-action.primary { background: var(--lime); color: var(--lime-ink); border-color: transparent; font-weight: 750; }
.venue-action.primary.on { background: rgba(255,255,255,.07); color: var(--muted); border-color: var(--line); font-weight: 600; }
.venue-channels { margin-top: 12px; }
.venue-sheet-events-head { display: flex; align-items: baseline; justify-content: space-between; margin: 20px 0 0; border-bottom: 1px solid var(--line); padding-bottom: 7px; }
.venue-sheet-events-head h3 { font-size: 15px; }
.venue-sheet-events-head span { font-size: 9px; color: var(--dim); }
.venue-events .ra-row { padding: 10px 0; }
.venue-feed-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 16px; padding: 12px; border-radius: 12px; background: var(--lime); color: var(--lime-ink); font-size: 11.5px; font-weight: 800; }
.venue-sheet-note { text-align: center; font-size: 8.5px; color: var(--dim); margin-top: 14px; line-height: 1.55; }
.active-filters { display: flex; flex-wrap: wrap; gap: 5px; padding: 10px 18px 2px; }
.af-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 7px; border: 1px solid rgba(var(--accent-rgb),.3); background: rgba(var(--accent-rgb),.08); color: var(--lime); font-size: 9.5px; }
.af-clear { font-size: 9.5px; color: var(--dim); padding: 5px 4px; text-decoration: underline; text-underline-offset: 2px; }

.venue-day-head { display: flex; align-items: baseline; gap: 6px; padding: 13px 0 1px; }
.venue-day-head span { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.venue-day-head i { font-style: normal; font-size: 9px; color: var(--dim); }

/* ---------- Install (PWA) ---------- */
.install-card { display: flex; align-items: center; gap: 11px; margin: 12px 16px; padding: 12px; border-radius: 18px; background: linear-gradient(135deg, rgba(var(--accent-rgb),.12), rgba(185,166,255,.08)); border: 1px solid rgba(var(--accent-rgb),.22); text-align: left; }
.install-card:hover { border-color: rgba(var(--accent-rgb),.45); }
.install-card-icon { width: 50px; height: 50px; border-radius: 13px; flex: none; box-shadow: 0 6px 18px rgba(var(--accent-rgb),.18); }
.install-card-copy { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.install-card-copy b { font-size: 12px; font-weight: 700; }
.install-card-copy span { font-size: 9.5px; color: var(--muted); }
.install-card .ic { color: var(--lime); flex: none; }
.install-sheet { padding: 10px 18px calc(26px + env(safe-area-inset-bottom)); max-height: 94%; }
.install-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.install-icon { width: 64px; height: 64px; border-radius: 16px; flex: none; box-shadow: 0 10px 26px rgba(var(--accent-rgb),.18); }
.install-head-copy { flex: 1; min-width: 0; }
.install-head h2 { font-size: 22px; margin-top: 3px; }
.install-sub { font-size: 11.5px; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.install-qr { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.install-qr img { width: 104px; height: 104px; border-radius: 10px; background: #fff; padding: 6px; flex: none; }
.install-qr-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.install-qr-copy code { font-size: 10px; color: var(--text); word-break: break-all; line-height: 1.4; }
.install-copy { align-self: flex-start; font-size: 9.5px; color: var(--lime); border: 1px solid rgba(var(--accent-rgb),.3); padding: 5px 8px; border-radius: 7px; }
.install-warning { display: flex; gap: 7px; font-size: 10.5px; color: var(--sun); background: rgba(255,201,74,.08); border: 1px solid rgba(255,201,74,.22); padding: 10px; border-radius: 12px; line-height: 1.5; }
.install-warning code { color: var(--text); font-size: 9.5px; }
.install-ok { display: flex; gap: 6px; align-items: center; font-size: 10.5px; color: var(--lime); background: rgba(var(--accent-rgb),.08); border: 1px solid rgba(var(--accent-rgb),.25); padding: 9px 11px; border-radius: 11px; margin-bottom: 12px; }
.install-steps { display: flex; flex-direction: column; gap: 8px; margin-top: 15px; }
.install-steps div { display: flex; gap: 9px; align-items: flex-start; font-size: 10px; color: var(--muted); line-height: 1.45; }
.install-steps b { flex: none; width: 52px; color: var(--text); font-size: 9.5px; padding-top: 1px; }
.install-primary { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: 15px; padding: 12px; border-radius: 12px; background: var(--lime); color: var(--lime-ink); font-size: 11.5px; font-weight: 800; }
.install-note { font-size: 8.5px; color: var(--dim); line-height: 1.55; margin-top: 12px; text-align: center; }

.native-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 16px; padding: 11px; border-radius: 12px; background: rgba(var(--accent-rgb),.07); border: 1px solid rgba(var(--accent-rgb),.18); color: var(--muted); font-size: 10px; }
.native-note .ic { color: var(--lime); }

/* =========================================================================
   Gehma · Stage 2: Farbe, Muster, Auth, Insights
   ========================================================================= */
.app-pattern {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .55; background-repeat: repeat; background-position: center;
}
.device-screen[data-pattern="none"] .app-pattern { display: none; }
.app-pattern[data-pattern="grid"], .pattern-preview[data-pattern="grid"] {
  background-image: linear-gradient(rgba(var(--accent-rgb), .09) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb), .09) 1px, transparent 1px);
  background-size: 30px 30px;
}
.app-pattern[data-pattern="dots"], .pattern-preview[data-pattern="dots"] {
  background-image: radial-gradient(rgba(var(--accent-rgb), .18) 1.1px, transparent 1.2px);
  background-size: 16px 16px;
}
.app-pattern[data-pattern="waves"], .pattern-preview[data-pattern="waves"] {
  background-image: repeating-radial-gradient(circle at 100% 0%, rgba(var(--accent-rgb), .10) 0 1px, transparent 1px 34px);
}
.app-pattern[data-pattern="grain"], .pattern-preview[data-pattern="grain"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity: .22;
}
.device-screen[data-pattern="grain"] .app-pattern { opacity: .20; }
.app-pattern[data-pattern="none"] { display: none; }

.city-pill {
  display: inline-flex; align-items: center; gap: 5px; margin-bottom: 7px;
  padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.035); color: var(--muted); font: 700 10px/1 var(--sans);
  letter-spacing: .07em; text-transform: uppercase;
}
.city-pill .ic { color: var(--lime); }
.city-pill:hover { border-color: rgba(var(--accent-rgb), .45); color: var(--text); }
.scene-strip .genre-chip { gap: 5px; }
.scene-strip .genre-chip .ic { color: var(--lime); }
.ra-badge.rave { display: inline-flex; align-items: center; gap: 3px; background: rgba(var(--accent-rgb), .13); border-color: rgba(var(--accent-rgb), .3); color: var(--lime); }
.match-line {
  display: flex; align-items: center; gap: 7px; margin: 13px 0 2px;
  color: var(--muted); font-size: 11px; line-height: 1.45;
}
.match-line .ic { color: var(--lime); flex: none; }
.match-line b { color: var(--text); }

/* Auth / Onboarding */
.ob-brand .dot { color: var(--lime); }
.ob-welcome { display: flex; flex-direction: column; min-height: calc(100% - 30px); justify-content: center; padding: 26px 2px 16px; }
.ob-eyebrow { font: 800 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }
.ob-welcome .ob-title { font-size: clamp(46px, 12vw, 64px); }
.ob-lead { color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 330px; margin: 16px 0 22px; }
.ob-perks { display: grid; gap: 10px; margin-bottom: 24px; }
.ob-perks > div { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: 11.5px; }
.ob-perks .ic { color: var(--lime); flex: none; }
.ob-main-cta { width: 100%; flex: 0 0 52px; justify-content: center; }
.ob-secondary {
  width: 100%; margin-top: 10px; padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,.035); color: var(--text);
  font: 700 12px/1 var(--sans);
}
.ob-secondary:hover { border-color: rgba(var(--accent-rgb), .4); }
.ob-skip-link { border: 0; background: none; color: var(--dim); font: 600 11px/1 var(--sans); padding: 13px 0 6px; }
.ob-skip-link:hover { color: var(--text); }
.ob-legal { color: var(--dim); font-size: 9.5px; line-height: 1.55; margin-top: 15px; }
.ob-skip-space { width: 70px; }
.ob-auth-step { padding-top: 10px; }
.ob-field { display: block; margin: 13px 0; }
.ob-field > span { display: block; margin-bottom: 6px; color: var(--muted); font: 700 10px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.ob-field input {
  width: 100%; border: 1px solid var(--line); border-radius: 13px;
  background: rgba(255,255,255,.045); color: var(--text);
  font: 500 14px/1.2 var(--sans); padding: 13px 14px; outline: none;
}
.ob-field input:focus { border-color: rgba(var(--accent-rgb), .55); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .08); }
.ob-field input::placeholder { color: var(--dim); }
.ob-consent { display: flex; gap: 9px; align-items: flex-start; margin: 17px 0 10px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.ob-consent input { accent-color: var(--lime); width: 15px; height: 15px; margin-top: 1px; flex: none; }
.ob-consent b { color: var(--text); font-weight: 600; }
.ob-subhead { margin: 20px 0 9px; color: var(--text); font: 700 11px/1.3 var(--sans); display: flex; align-items: center; justify-content: space-between; }
.ob-subhead span { color: var(--dim); font-weight: 500; font-size: 9.5px; }
.ob-error { display: flex; gap: 8px; align-items: flex-start; padding: 10px 11px; margin: 12px 0; border-radius: 12px; background: rgba(255,106,83,.1); border: 1px solid rgba(255,106,83,.25); color: #ffb4a8; font-size: 10.5px; line-height: 1.45; }
.ob-error .ic { flex: none; margin-top: 1px; }
.city-chips { max-height: none; }
.city-chips .ob-chip { gap: 5px; font-size: 11px; padding: 9px 11px; }
.vibe-chips .ob-chip { font-size: 11px; }
.district-grid .ob-taste { font-size: 10.5px; }
.accent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.accent-swatch {
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  padding: 9px; border-radius: 13px; border: 1px solid var(--line);
  background: rgba(255,255,255,.03); color: var(--muted); text-align: left;
}
.accent-swatch > span { display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 16px color-mix(in srgb, var(--sw) 45%, transparent); }
.accent-swatch b { font: 600 8.5px/1.2 var(--sans); }
.accent-swatch.active { border-color: var(--sw); background: rgba(255,255,255,.06); color: var(--text); }
.pattern-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pattern-tile { padding: 8px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); text-align: left; }
.pattern-preview { display: block; height: 38px; border-radius: 8px; background-color: #0c0e11; background-repeat: repeat; margin-bottom: 7px; }
.pattern-tile b { font: 600 8.5px/1.2 var(--sans); }
.pattern-tile.active { border-color: rgba(var(--accent-rgb), .55); background: rgba(var(--accent-rgb), .06); color: var(--text); }

/* Account & Insights */
.account-card {
  display: flex; align-items: center; gap: 11px; margin: 12px 16px 4px; padding: 12px;
  border: 1px solid var(--line); border-radius: 15px; background: var(--panel);
}
.account-ava { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); font: 800 17px/1 var(--display); }
.account-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.account-copy b { font-size: 12px; }
.account-copy span { color: var(--dim); font-size: 9.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-card .link { font-size: 10px; }
.sheet.wide { max-width: 580px; }
.insights-loading { padding: 32px 0; text-align: center; color: var(--dim); font-size: 11px; }
.insight-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 18px; }
.insight-kpis > div { padding: 11px 8px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); text-align: center; }
.insight-kpis b { display: block; font: 800 21px/1 var(--display); color: var(--lime); }
.insight-kpis span { display: block; margin-top: 4px; color: var(--dim); font-size: 8.5px; }
.insight-section { padding: 14px 0; border-top: 1px solid var(--line); }
.insight-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font: 700 11px/1 var(--sans); }
.insight-title span { color: var(--dim); font-size: 9px; font-weight: 500; }
.funnel-row { display: grid; grid-template-columns: 86px 1fr 38px; gap: 8px; align-items: center; margin: 7px 0; font-size: 9.5px; color: var(--muted); }
.funnel-row i { display: block; height: 7px; border-radius: 99px; background: linear-gradient(90deg, var(--lime), color-mix(in srgb, var(--lime) 40%, transparent)); width: var(--w); min-width: 4px; }
.funnel-row b { text-align: right; color: var(--text); font-size: 10px; }
.insight-list-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 10px; color: var(--muted); }
.insight-list-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.insight-list-row b { color: var(--text); font-size: 10px; white-space: nowrap; }
.insight-list-row small { color: var(--dim); font-weight: 400; }
.search-term { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; margin: 0 5px 5px 0; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); font-size: 9.5px; }
.search-term b { color: var(--lime); }
.day-bars { display: flex; align-items: flex-end; gap: 5px; height: 74px; padding-top: 8px; }
.day-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; }
.day-bar i { display: block; width: 100%; max-width: 26px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--lime), rgba(var(--accent-rgb), .22)); }
.day-bar span { color: var(--dim); font-size: 7.5px; white-space: nowrap; }
@media (max-width: 700px) {
  .sheet.wide { max-width: 100%; }
  .insight-kpis { grid-template-columns: repeat(2, 1fr); }
  .accent-grid, .pattern-grid { grid-template-columns: repeat(3, 1fr); }
}

.rave-toggle {
  flex: none; height: 46px; padding: 0 11px; border-radius: 13px;
  border: 1px solid var(--line); background: rgba(255,255,255,.035);
  color: var(--muted); font: 800 9.5px/1 var(--sans); letter-spacing: .02em;
  display: inline-flex; align-items: center; gap: 4px;
}
.rave-toggle .ic { color: var(--dim); }
.rave-toggle.active { background: var(--lime); color: var(--lime-ink); border-color: transparent; box-shadow: 0 0 18px rgba(var(--accent-rgb), .24); }
.rave-toggle.active .ic { color: var(--lime-ink); }

/* Trends: redaktionelle Pins & Venue-Gewichtung */
.ra-badge.pin { background: var(--lime); border-color: transparent; color: var(--lime-ink); font-weight: 800; }
.ra-badge.date { background: rgba(255,255,255,.06); border-color: var(--line); color: var(--muted); }
.trend-group .day-head h2 { color: var(--lime); }
.trend-group .ra-row { align-items: flex-start; }
.mini-seg button { padding-left: 5px; padding-right: 5px; }
@media (max-width: 700px) {
  .feed-toolbar { gap: 6px; }
  .mini-seg button { font-size: 8px; gap: 2px; }
}

/* Gehma Pick – kompakt, genreabhängig */
.gehma-pick {
  display: flex; align-items: center; gap: 11px; width: calc(100% - 36px);
  margin: 13px 18px 5px; padding: 10px; border-radius: 16px; text-align: left;
  border: 1px solid rgba(var(--accent-rgb), .28);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .09), rgba(255,255,255,.025));
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
}
.gp-thumb { position: relative; width: 62px; height: 62px; flex: none; border-radius: 12px; overflow: hidden; background: var(--panel-3); }
.gp-thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.gp-thumb .poster-fallback { position: absolute; inset: 0; }
.gp-thumb .poster-initials { font-size: 22px; }
.gp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.gp-kicker { display: flex; align-items: center; gap: 4px; color: var(--lime); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-title { display: block; font-size: 13px; line-height: 1.2; font-weight: 750; color: var(--text); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gp-meta { display: block; color: var(--dim); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-side { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; color: var(--dim); flex: none; }
.gp-side b { color: var(--muted); font-size: 9.5px; font-weight: 650; }
@media (max-width: 700px) {
  .gehma-pick { margin-top: 10px; }
  .gp-thumb { width: 56px; height: 56px; }
  .gp-kicker { font-size: 7.5px; }
}

/* =========================================================================
   Motion: kurze, konsistente Seitenwechsel
   ========================================================================= */
:root {
  --motion-page: .20s;
  --motion-sheet: .24s;
  --motion-detail: .22s;
  --ease-gehma: cubic-bezier(.2,.8,.2,1);
}
.view { animation: viewIn var(--motion-page) var(--ease-gehma); }
.detail { animation-duration: var(--motion-detail); }
.backdrop { transition-duration: .18s; }
.sheet { transition-duration: var(--motion-sheet); }
.ob-step, .ob-welcome { animation: viewIn .2s var(--ease-gehma); }
.onboard { animation-duration: .2s; }

/* Schnelles Schließen der Detailseite */
.detail.closing { animation: detailOut .18s var(--ease-gehma) both; }
.cta-bar.closing { animation: ctaOut .18s var(--ease-gehma) both; }
@keyframes detailOut { to { opacity: 0; transform: translateY(18px) scale(.992); } }
@keyframes ctaOut { to { opacity: 0; transform: translateY(12px); } }

/* Same-Document View Transitions: nur der Phone-Screen bewegt sich */
.device-screen { view-transition-name: gehma-screen; }
::view-transition-old(root),
::view-transition-new(root) { animation: none; }
::view-transition-group(gehma-screen) {
  animation-duration: var(--motion-page);
  animation-timing-function: var(--ease-gehma);
}
::view-transition-old(gehma-screen),
::view-transition-new(gehma-screen) {
  animation-duration: var(--motion-page);
  animation-timing-function: var(--ease-gehma);
}
html[data-transition] .view { animation: none; }
html[data-transition="forward"]::view-transition-old(gehma-screen) { animation-name: vtScreenOutLeft; }
html[data-transition="forward"]::view-transition-new(gehma-screen) { animation-name: vtScreenInRight; }
html[data-transition="back"]::view-transition-old(gehma-screen) { animation-name: vtScreenOutRight; }
html[data-transition="back"]::view-transition-new(gehma-screen) { animation-name: vtScreenInLeft; }
@keyframes vtScreenInRight { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes vtScreenOutLeft { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-10px); } }
@keyframes vtScreenInLeft { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes vtScreenOutRight { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(10px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(gehma-screen), ::view-transition-new(gehma-screen), ::view-transition-group(gehma-screen) { animation: none !important; }
}


/* Doppeltipp-Zoom aus, Pinch-Zoom bleibt erlaubt */
html, body, #screen, #app, button, a, input, textarea, select, [role="button"] {
  touch-action: pan-x pan-y;
}
@media (max-width: 700px) {
  input:not([type="range"]):not([type="checkbox"]), textarea, select {
    font-size: 16px !important;
  }
}

.shop-more { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.shop-more-head { display: flex; align-items: center; gap: 5px; color: var(--dim); font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.shop-more-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.shop-search { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 5px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 9.5px; }
.shop-search:hover { border-color: rgba(var(--accent-rgb), .4); }
.shop-search .ticket-logo { width: 22px; height: 22px; border-radius: 6px; font-size: 7.5px; }
.shop-search .ic { color: var(--dim); }
.shop-more-hint { margin-top: 7px; color: var(--dim); font-size: 8.5px; }

/* Budget als freie Eingabe */
.budget-entry {
  display: flex; align-items: center; gap: 6px;
  padding: 4px; border-radius: 13px;
  border: 1px solid var(--line); background: var(--panel);
}
.budget-currency { flex: none; padding-left: 9px; color: var(--lime); font: 800 15px/1 var(--display); }
.budget-entry input {
  flex: 1; min-width: 0; height: 38px; border: 0; outline: none;
  background: transparent; color: var(--text); font-size: 16px;
}
.budget-entry input::placeholder { color: var(--dim); }
.budget-pill {
  flex: none; height: 30px; padding: 0 9px; border-radius: 8px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
  color: var(--muted); font-size: 9px; font-weight: 700;
}
.budget-pill:hover { border-color: rgba(var(--accent-rgb), .45); color: var(--text); }
.budget-hint { margin-top: 6px; color: var(--dim); font-size: 8.5px; }

/* Gehma Picks für dich – nach Interessen */
.ticket-panel { padding-bottom: 4px; }
.ticket-panel-list { display: flex; flex-direction: column; }
.ticket-panel-row {
  display: flex; align-items: center; gap: 15px; width: 100%;
  padding: 12px 14px; border-top: 1px solid var(--line); text-align: left;
  transition: background .16s;
}
.ticket-panel-row:first-child { border-top: 0; }
.ticket-panel-row:hover { background: var(--panel-2); }
.ticket-panel-date {
  flex: 0 0 46px; padding-right: 2px; color: var(--lime);
  font-family: var(--display);
  font-size: 7px; font-weight: 750; line-height: 1.25;
  text-transform: uppercase; letter-spacing: .07em; opacity: .9;
}
.ticket-panel-main { flex: 1; min-width: 0; }
.ticket-panel-main b { display: block; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-panel-main span { display: block; margin-top: 3px; color: var(--dim); font-size: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-panel-ico {
  display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  width: 28px; height: 28px; border-radius: 9px; flex: none;
  color: var(--lime); background: rgba(var(--accent-rgb), .09);
  border: 1px solid rgba(var(--accent-rgb), .18);
}
.ticket-panel-ico .ic:first-child { display: none; }

.light-note {
  display: flex; align-items: flex-start; gap: 7px; margin-top: 9px;
  padding: 8px 10px; border-radius: 10px;
  border: 1px solid rgba(var(--accent-rgb), .28);
  background: rgba(var(--accent-rgb), .08); color: var(--muted);
  font-size: 9px; line-height: 1.45;
}
.light-note b { color: var(--text); }
.light-note .ic { color: var(--lime); flex: none; margin-top: 1px; }

/* ---------- Recht & Consent ---------- */
.legal-links { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; padding:0 20px 24px; font-size:10px; color:var(--dim); }
.legal-links a, .legal-links button { color:var(--dim); font-size:10px; text-decoration:none; }
.legal-links a:hover, .legal-links button:hover { color:var(--lime); }
.side-legal { display:flex; flex-wrap:wrap; gap:9px; margin-top:12px; font-size:9px; color:var(--dim); }
.side-legal a, .side-legal button { color:var(--dim); font-size:9px; }
.side-legal a:hover, .side-legal button:hover { color:var(--lime); }

/* Cookie-Banner */
.consent-banner { position:fixed; inset:0; z-index:300; display:flex; align-items:flex-end; justify-content:center; padding:18px; background:rgba(3,3,6,.66); backdrop-filter:blur(8px); }
.consent-card { width:min(620px,100%); max-height:92dvh; overflow:auto; padding:18px; border-radius:20px; background:#121218; border:1px solid rgba(255,255,255,.13); box-shadow:0 30px 100px rgba(0,0,0,.7); }
.consent-head { display:flex; gap:12px; align-items:flex-start; }
.consent-mark { width:34px; height:34px; border-radius:10px; background:var(--lime); color:var(--lime-ink); display:grid; place-items:center; flex:none; }
.consent-head h2 { font-size:17px; margin:0 0 4px; }
.consent-head p { color:var(--muted); font-size:11px; line-height:1.55; }
.consent-actions { display:flex; flex-wrap:wrap; gap:7px; align-items:center; margin-top:14px; }
.consent-actions .btn-solid, .consent-actions .btn-ghost { height:38px; padding:0 13px; font-size:11px; border-radius:10px; }
.consent-actions .link { margin-left:auto; font-size:10px; color:var(--muted); }
.consent-settings { margin-top:14px; border-top:1px solid var(--line); padding-top:12px; display:flex; flex-direction:column; gap:10px; }
.consent-settings label { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; padding:10px; border:1px solid var(--line); border-radius:11px; background:var(--panel); }
.consent-settings label span { display:flex; flex-direction:column; gap:2px; }
.consent-settings b { font-size:11px; }
.consent-settings small { color:var(--dim); font-size:9px; line-height:1.4; }
.consent-settings input { accent-color:var(--lime); width:18px; height:18px; flex:none; }
.consent-settings-actions { display:flex; justify-content:space-between; gap:8px; align-items:center; margin-top:2px; }
.consent-settings-actions .btn-solid { height:36px; padding:0 12px; font-size:10px; }
.consent-legal { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; font-size:9px; color:var(--dim); }
.consent-legal a { color:var(--muted); text-decoration:underline; text-underline-offset:2px; }

/* ---------- Werbeplatz (nur Desktop, nie in der nativen App) ---------- */
.side-ad { display:none; }
.side-ad[hidden] { display:none !important; }
.ad-label { font-size:8px; letter-spacing:.14em; text-transform:uppercase; color:var(--dim); margin-bottom:5px; }
.ad-card { display:block; padding:13px; border:1px solid rgba(var(--accent-rgb),.23); border-radius:14px; background:linear-gradient(135deg,rgba(var(--accent-rgb),.11),rgba(255,255,255,.02)); }
.ad-card b { display:block; font-size:12px; margin-bottom:3px; }
.ad-card span { display:block; font-size:9.5px; line-height:1.45; color:var(--muted); }
.ad-card em { display:block; margin-top:8px; font-style:normal; color:var(--lime); font-size:9px; font-weight:750; }

/* ---------- Desktop-Website ---------- */
@media (min-width: 961px) {
  .stage { align-items:stretch; justify-content:center; gap:32px; padding:24px 30px; }
  .side { width:300px; max-height:none; align-self:stretch; justify-content:flex-start; overflow:auto; padding:4px 0; gap:22px; }
  .side-copy h2 { font-size:30px; }
  .side-copy p { font-size:12px; }
  .side-ad { display:block; }
  .device-wrap { flex:1; min-width:0; max-width:1120px; height:calc(100dvh - 48px); display:flex; align-items:stretch; }
  .device { width:100%; height:100%; }
  .device-frame { width:100%; height:100%; padding:0; border-radius:22px; background:var(--bg); box-shadow:0 24px 80px rgba(0,0,0,.5),0 0 0 1px rgba(255,255,255,.09); }
  .device-screen { width:100%; height:100%; border-radius:22px; box-shadow:none; }
  .island, .statusbar, .app-scrim, .device-caption { display:none !important; }
  .app { padding-top:20px; padding-bottom:calc(var(--tabbar-h) + 12px); }
  .view { max-width:1080px; margin:0 auto; }
  .home-head, .page-head { padding-left:28px; padding-right:28px; }
  .feed-body, .view > .section, .view > .panel, .view > .settings, .view > .settings-panel { max-width:1080px; margin-left:auto; margin-right:auto; }
}
@media (min-width: 1400px) {
  .side { width:330px; }
  .stage { gap:44px; }
}

/* Genres & Filter */
.sheet-hint { float:right; font-weight:600; letter-spacing:0; text-transform:none; color:var(--muted); }
.genre-search { position:relative; display:flex; align-items:center; gap:7px; margin-bottom:10px; padding:0 10px; height:40px; border:1px solid var(--line); border-radius:11px; background:var(--panel); color:var(--dim); }
.genre-search input { flex:1; min-width:0; height:100%; border:0; outline:none; background:transparent; color:var(--text); font-size:16px; }
.genre-search input::placeholder { color:var(--dim); }
.genre-groups { display:flex; flex-direction:column; gap:10px; max-height:34dvh; overflow-y:auto; padding-right:2px; }
.genre-group-label { font-size:8.5px; font-weight:750; letter-spacing:.1em; text-transform:uppercase; color:var(--dim); margin-bottom:5px; }
.genre-group .chips { flex-wrap:wrap; overflow:visible; padding:0; margin:0; mask-image:none; }
.genre-group .chip { display:inline-flex; align-items:center; gap:4px; }
.chip-n { color:var(--dim); font-size:8px; font-weight:600; }
.genre-chip.active .chip-n { color:rgba(16,20,0,.55); }
.genre-filter-footer { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:8px; color:var(--dim); font-size:8.5px; }
.genre-filter-footer .link { font-size:9px; color:var(--muted); }
.filter-toggle-row { display:flex; width:100%; align-items:center; justify-content:space-between; gap:12px; padding:11px 12px; border:1px solid var(--line); border-radius:11px; background:var(--panel); color:var(--muted); font-size:11px; }
.filter-toggle-row > span:first-child { display:inline-flex; align-items:center; gap:7px; }
.filter-toggle-row.active { border-color:rgba(var(--accent-rgb),.45); color:var(--text); background:rgba(var(--accent-rgb),.06); }

.affiliate-note { margin-top: 8px; color: var(--dim); font-size: 8.5px; line-height: 1.45; }
