/* ============================================================
   3D Super Generator — v2 Hub Stylesheet
   Editorial-technical, dark-first. Inspired by Bambu Studio docs
   and Linear changelog. Geist + Instrument Serif + JetBrains Mono.
   Used by index-v2.html / v2-app.js only — production /3d/ hub
   in index.html stays untouched.
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --r-1: 4px; --r-2: 8px; --r-3: 12px; --r-4: 18px; --r-5: 28px;
  --font-sans:  'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  --font-mono:  'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --pad-x: 96px; --pad-y: 96px; --section-gap: 96px;
  --accent: #7f56d9;
  --accent-soft: rgba(127,86,217,0.16);
  --accent-ring: rgba(127,86,217,0.35);
}
.v2-a-indigo { --accent: #6366f1; --accent-soft: rgba(99,102,241,0.16);  --accent-ring: rgba(99,102,241,0.35);  }
.v2-a-violet { --accent: #7f56d9; --accent-soft: rgba(127,86,217,0.16);  --accent-ring: rgba(127,86,217,0.35);  }
.v2-a-lime   { --accent: #84cc16; --accent-soft: rgba(132,204,22,0.16);  --accent-ring: rgba(132,204,22,0.35);  }
.v2-a-amber  { --accent: #f59e0b; --accent-soft: rgba(245,158,11,0.16);  --accent-ring: rgba(245,158,11,0.35);  }
.v2-a-magenta{ --accent: #ec4899; --accent-soft: rgba(236,72,153,0.16);  --accent-ring: rgba(236,72,153,0.35);  }
.v2-a-cyan   { --accent: #06b6d4; --accent-soft: rgba(6,182,212,0.16);   --accent-ring: rgba(6,182,212,0.35);   }

/* ---------- THEMES ---------- */
.v2-t-dark {
  --bg: #08090c; --bg-2: #0c0e12;
  --surface: #11141a; --surface-2: #181c24; --surface-3: #1e232c;
  --border:   rgba(255,255,255,0.07);
  --border-2: rgba(255,255,255,0.14);
  --border-3: rgba(255,255,255,0.24);
  --text:      #e9ecf0; --text-2: #b6bcc4;
  --text-dim:  #8a8f97; --text-mute: #5e6470;
  --hover: rgba(255,255,255,0.04);
  --shadow: 0 1px 0 rgba(255,255,255,0.04), 0 12px 32px rgba(0,0,0,0.4);
  color-scheme: dark;
}
.v2-t-light {
  --bg: #f8f7f3; --bg-2: #f1ede4;
  --surface: #ffffff; --surface-2: #f3efe7; --surface-3: #ebe6da;
  --border:   rgba(13,15,20,0.08);
  --border-2: rgba(13,15,20,0.14);
  --border-3: rgba(13,15,20,0.28);
  --text:      #14171d; --text-2: #3a4049;
  --text-dim:  #5d646e; --text-mute: #8a8f96;
  --hover: rgba(13,15,20,0.04);
  --shadow: 0 1px 0 rgba(0,0,0,0.02), 0 8px 28px rgba(20,23,29,0.06);
  color-scheme: light;
}

/* ---------- DENSITY ---------- */
.v2-d-compact  { --pad-x: 56px;  --pad-y: 56px;  --section-gap: 56px; }
.v2-d-regular  { --pad-x: 96px;  --pad-y: 80px;  --section-gap: 80px; }
.v2-d-spacious { --pad-x: 128px; --pad-y: 128px; --section-gap: 128px; }

/* ---------- FONT VARIANTS ---------- */
.v2-f-serif h1, .v2-f-serif h2, .v2-f-serif h3,
.v2-f-serif .v2-section-h2, .v2-f-serif .v2-hero-h1 { font-family: var(--font-serif); letter-spacing: -0.01em; }
.v2-f-mono h1, .v2-f-mono h2, .v2-f-mono h3 { font-family: var(--font-mono); letter-spacing: -0.02em; }
.v2-mono { font-family: var(--font-mono); letter-spacing: 0; }

/* ---------- BASE ---------- */
* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
.v2-root {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}
.v2-root section { padding: var(--pad-y) var(--pad-x); }
@media (max-width: 1100px) { .v2-root { --pad-x: 28px; --pad-y: 56px; --section-gap: 56px; } }
@media (max-width: 700px)  { .v2-root { --pad-x: 18px; --pad-y: 40px; --section-gap: 40px; } }
.v2-root a { color: inherit; }
::selection { background: var(--accent); color: #0a0b0e; }
.v2-t-light ::selection { color: #fff; }

/* ---------- PRIMITIVES ---------- */
.v2-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim);
}
.v2-eyebrow--accent { color: var(--accent); }
.v2-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-mute); display: inline-block; }
.v2-dot--live { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.18); animation: v2-pulse 1.8s ease-in-out infinite; }
@keyframes v2-pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.v2-section-h2 {
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1.02; letter-spacing: -0.02em;
  font-weight: 600; margin: 8px 0 12px;
  text-wrap: pretty;
}
.v2-section-h2-count {
  color: var(--text-dim); font-weight: 400;
  font-size: 0.6em; font-family: var(--font-mono);
  margin-left: 12px;
}
.v2-section-sub { color: var(--text-dim); max-width: 60ch; font-size: 16px; }
.v2-section-head { margin-bottom: 32px; }

.v2-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: transparent; color: var(--text);
  font-family: var(--font-sans); font-weight: 500; font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.v2-btn:hover { border-color: var(--border-3); background: var(--hover); }
.v2-btn--primary {
  background: var(--accent); color: #0a0b0e;
  border-color: var(--accent);
}
.v2-t-light .v2-btn--primary { color: #fff; }
.v2-btn--primary:hover { filter: brightness(1.05); background: var(--accent); }
.v2-btn--sm { padding: 8px 14px; font-size: 13px; }
.v2-btn--block { width: 100%; justify-content: center; }

.v2-segmented {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px; gap: 2px;
}
.v2-segmented button {
  background: transparent; border: 0; cursor: pointer;
  padding: 8px 14px; border-radius: 999px;
  color: var(--text-dim); font-size: 13px;
  font-family: var(--font-sans); font-weight: 500;
  transition: all 0.15s ease;
}
.v2-segmented button:hover { color: var(--text); }
.v2-segmented button.is-active { background: var(--surface-3); color: var(--text); }

.v2-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.v2-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-2);
  cursor: pointer; font-family: var(--font-sans);
  transition: all 0.15s ease;
}
.v2-chip:hover { color: var(--text); border-color: var(--border-2); }
.v2-chip.is-active { background: var(--accent); color: #0a0b0e; border-color: var(--accent); }
.v2-t-light .v2-chip.is-active { color: #fff; }
.v2-chip-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  background: var(--surface-2);
  padding: 2px 6px; border-radius: 6px;
}
.v2-chip.is-active .v2-chip-count { background: rgba(0,0,0,0.18); color: inherit; }

/* ---------- HEADER ---------- */
.v2-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.v2-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px var(--pad-x);
}
.v2-brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-weight: 600;
}
.v2-brand-mark { color: var(--accent); display: inline-flex; }
.v2-brand-name { font-family: var(--font-mono); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.v2-brand-sub  { font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: var(--accent); }

.v2-nav { display: flex; gap: 4px; justify-self: center; }
.v2-nav a {
  padding: 8px 14px; border-radius: 8px;
  color: var(--text-2); font-size: 14px;
  text-decoration: none; cursor: pointer;
  transition: all 0.15s ease;
}
.v2-nav a:hover { color: var(--text); background: var(--hover); }

.v2-header-actions { display: flex; align-items: center; gap: 8px; }
.v2-search {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  min-width: 280px;
  color: var(--text-dim);
}
.v2-search input {
  background: transparent; border: 0; outline: 0;
  color: var(--text); font-family: var(--font-sans);
  font-size: 14px; flex: 1; min-width: 0;
}
.v2-search kbd {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-mute);
  padding: 2px 6px; border-radius: 4px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.v2-icon-btn {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  color: var(--text-dim); cursor: pointer;
}
.v2-icon-btn:hover { color: var(--text); border-color: var(--border-2); }

/* ---------- TRANSLATE PILL ---------- */
.v2-translate-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'JetBrains Mono', monospace;
}
.v2-translate-icon { font-size: 13px; line-height: 1; opacity: 0.85; }
.v2-translate-pill #google_translate_element_v2 { display: inline-flex; align-items: center; }

/* Google Translate v3 widget = anchor-based gadget (NOT select) — style the anchor */
.v2-translate-pill #google_translate_element_v2 .goog-te-gadget {
  font-size: 0; color: transparent; line-height: 1;
  font-family: 'JetBrains Mono', monospace;
}
.v2-translate-pill #google_translate_element_v2 .goog-te-gadget-simple {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  display: inline-flex; align-items: center;
  min-height: 28px;
}
.v2-translate-pill #google_translate_element_v2 .goog-te-gadget-simple:hover { border-color: var(--accent); }
.v2-translate-pill #google_translate_element_v2 .goog-te-gadget-simple > span {
  font-size: 11px; font-weight: 600;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  vertical-align: middle;
}
.v2-translate-pill #google_translate_element_v2 .goog-te-gadget-simple > span > span {
  color: var(--text) !important;
}
.v2-translate-pill #google_translate_element_v2 .goog-te-gadget-simple a { text-decoration: none; }
/* hide "Powered by Google" branding spans and the gadget icon image */
.v2-translate-pill #google_translate_element_v2 .goog-te-gadget > span:last-child,
.v2-translate-pill #google_translate_element_v2 .goog-te-gadget-icon { display: none !important; }
/* legacy fallback if Google ever uses select again */
.v2-translate-pill #google_translate_element_v2 select {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 4px 6px; font-size: 11px; font-weight: 600;
  cursor: pointer; outline: none; min-width: 96px;
  font-family: inherit;
}
.v2-gt-mini {
  padding: 4px 8px; min-height: 28px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-dim);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  cursor: pointer; font-family: 'JetBrains Mono', monospace;
}
.v2-gt-mini:hover { color: var(--accent); border-color: var(--accent); }
/* Hide Google's injected top banner + tooltips globally */
.goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd, #goog-gt-vt { display: none !important; }
body { top: 0 !important; }

/* Google's language-picker popup is an iframe that defaults to ~2935×274px (5 cols × 130 langs).
   New Google class: .VIpgJd-ZVi9od-xl07Ob-OEVmcd. Legacy class: .goog-te-menu-frame.
   Constrain BOTH width and height so mobile users can see + scroll the whole list. */
.goog-te-menu-frame,
iframe.VIpgJd-ZVi9od-xl07Ob-OEVmcd {
  max-height: 80vh !important;
  max-width: 96vw !important;
  width: 96vw !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important;
  border: 1px solid var(--border, #333) !important;
}
.goog-te-menu2 {
  max-height: 80vh !important;
  max-width: 96vw !important;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch !important;
}
@media (max-width: 700px) {
  .goog-te-menu-frame,
  iframe.VIpgJd-ZVi9od-xl07Ob-OEVmcd {
    position: fixed !important;
    top: 64px !important;
    left: 2vw !important;
    right: 2vw !important;
    bottom: auto !important;
    width: 96vw !important;
    max-width: 96vw !important;
    height: calc(100vh - 80px) !important;
    max-height: calc(100vh - 80px) !important;
  }
}

/* ---------- HERO ---------- */
.v2-hero { position: relative; padding: 48px var(--pad-x) 0; overflow: hidden; }
.v2-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
  pointer-events: none; opacity: .55;
}
.v2-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
  min-height: 460px;
}
.v2-hero-h1 {
  display: flex; flex-direction: column; gap: 4px;
  font-size: clamp(44px, 6vw, 96px);
  line-height: 0.96; letter-spacing: -0.04em;
  font-weight: 600; margin: 20px 0;
  text-wrap: balance;
}
.v2-hero-count { display: inline-flex; align-items: baseline; gap: 8px; }
.v2-hero-count-num {
  font-feature-settings: "tnum";
  background: linear-gradient(180deg, var(--text) 60%, color-mix(in srgb, var(--text) 60%, var(--bg)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.v2-hero-week {
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--accent-ring);
  font-size: 14px;
  font-family: var(--font-mono);
  font-weight: 500;
  align-self: center;
}
.v2-hero-words {
  font-family: var(--font-serif); font-style: italic;
  font-weight: 400; font-size: 0.46em;
  line-height: 1.05; color: var(--text-2);
  letter-spacing: -0.02em;
  margin-top: 8px; max-width: 14ch;
}
.v2-f-mono .v2-hero-words { font-family: var(--font-mono); font-style: normal; }
.v2-f-serif .v2-hero-count-num { font-family: var(--font-serif); font-style: italic; }
.v2-hero-sub { font-size: 17px; color: var(--text-2); max-width: 52ch; margin: 0 0 20px; line-height: 1.55; }
.v2-hero-cta { display: flex; gap: 12px; margin: 24px 0 16px; flex-wrap: wrap; }
.v2-root a.v2-hero-feattease,
.v2-hero-feattease {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-ring);
  margin-bottom: 16px;
  transition: all .15s ease;
}
.v2-t-light a.v2-hero-feattease,
.v2-t-light .v2-hero-feattease {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  color: color-mix(in srgb, var(--accent) 80%, #000 20%);
}
.v2-root a.v2-hero-feattease:hover,
.v2-hero-feattease:hover { background: var(--accent); color: #0a0b0e; }
.v2-t-light a.v2-hero-feattease:hover,
.v2-t-light .v2-hero-feattease:hover { color: #fff; }
.v2-hero-meta {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-2);
}
.v2-hero-meta strong { color: var(--text-2); font-weight: 500; }
.v2-sep { color: var(--text-mute); }

.v2-hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--r-4);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
}
.v2-hero-visual::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 30%;
  background: radial-gradient(ellipse at 50% 100%, var(--accent-soft) 0%, transparent 60%);
  opacity: .7; pointer-events: none;
}
.v2-hero-visual svg { width: 80%; max-width: 480px; height: auto; position: relative; z-index: 1; }
.v2-hero-caption {
  position: absolute; inset: auto 24px 16px 24px;
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--text-mute);
  letter-spacing: .08em; text-transform: uppercase;
  font-family: var(--font-mono);
  border-top: 1px dashed var(--border-2); padding-top: 10px;
}

/* ---------- TIP STRIP ---------- */
.v2-tip-strip {
  margin: 56px calc(var(--pad-x) * -1) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.v2-tip-strip-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 14px var(--pad-x);
  font-size: 14px;
}
.v2-tip-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase;
  flex: 0 0 auto;
}
.v2-tip-text { color: var(--text-2); flex: 1; }
.v2-tip-date { color: var(--text-mute); font-size: 11px; font-family: var(--font-mono); }

/* ---------- HOW IT WORKS ---------- */
.v2-how {
  padding: var(--pad-y) var(--pad-x);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.v2-how-head { margin-bottom: 40px; max-width: 800px; }
.v2-how-title {
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05; letter-spacing: -0.02em;
  font-weight: 600;
  margin: 12px 0 0;
}
.v2-how-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.v2-f-mono .v2-how-title em { font-family: var(--font-mono); font-style: normal; }
.v2-how-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}
.v2-how-step {
  position: relative;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.v2-how-step:last-child { border-right: 0; }
.v2-how-step-n { font-size: 11px; color: var(--accent); letter-spacing: .12em; font-family: var(--font-mono); }
.v2-how-step h3 { font-size: 22px; margin: 0; letter-spacing: -0.01em; font-weight: 600; }
.v2-how-step p { font-size: 14px; color: var(--text-dim); margin: 0; max-width: 30ch; }
.v2-how-arrow {
  position: absolute;
  right: -10px; top: 36px;
  color: var(--text-mute);
  z-index: 2;
  background: var(--bg-2);
  padding: 0 4px;
}

/* ---------- BENTO FEATURED ---------- */
.v2-featured { padding: var(--pad-y) var(--pad-x); }
.v2-bento {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 12px;
  min-height: 540px;
}
.v2-bento-hero {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  color: inherit; text-decoration: none;
}
.v2-bento-hero:hover { border-color: var(--accent-ring); }
.v2-bento-hero-visual {
  position: relative;
  min-height: 320px;
  background:
    radial-gradient(circle at 30% 40%, var(--accent-soft) 0%, transparent 55%),
    var(--surface-2);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.v2-bento-hero-visual svg { width: 100%; max-width: 540px; height: 100%; max-height: 380px; }
.v2-bento-hero-body {
  padding: 36px;
  display: flex; flex-direction: column; gap: 14px;
  border-top: 1px dashed var(--border-2);
}
.v2-featured-badge {
  position: absolute; top: 20px; left: 20px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--bg);
  border: 1px solid var(--border-2);
  padding: 4px 10px; border-radius: 999px;
  color: var(--accent);
  z-index: 2;
}
.v2-featured-title {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05; letter-spacing: -0.025em;
  font-weight: 600; margin: 0;
  text-wrap: balance;
}
.v2-featured-text { color: var(--text-2); font-size: 15px; max-width: 50ch; }
.v2-featured-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 8px 0;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.v2-stat-v { font-size: 22px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.v2-stat-l { font-size: 11px; font-family: var(--font-mono); color: var(--text-dim); margin-top: 6px; letter-spacing: .04em; text-transform: uppercase; }

.v2-bento-anatomy { position: absolute; inset: 0; pointer-events: none; }
.v2-anatomy-label {
  position: absolute;
  font-size: 10px;
  color: var(--text-dim);
  padding: 3px 7px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  letter-spacing: .04em;
  font-family: var(--font-mono);
}
.v2-anatomy-label::before {
  content: '';
  position: absolute;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.v2-anatomy-label--tl { top: 28px; left: 28px; }
.v2-anatomy-label--tl::before { right: -10px; top: 50%; transform: translateY(-50%); }
.v2-anatomy-label--tr { top: 28px; right: 28px; }
.v2-anatomy-label--tr::before { left: -10px; top: 50%; transform: translateY(-50%); }
.v2-anatomy-label--bl { bottom: 28px; left: 28px; }
.v2-anatomy-label--bl::before { right: -10px; top: 50%; transform: translateY(-50%); }
.v2-anatomy-label--br { bottom: 28px; right: 28px; color: var(--accent); border-color: var(--accent-ring); }
.v2-anatomy-label--br::before { left: -10px; top: 50%; transform: translateY(-50%); }

.v2-bento-side { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.v2-bento-side-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 4px;
  color: var(--accent);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  font-family: var(--font-mono);
}
.v2-bento-side-count {
  background: var(--accent); color: #0a0b0e;
  padding: 2px 8px; border-radius: 999px;
  font-size: 10px;
}
.v2-t-light .v2-bento-side-count { color: #fff; }

.v2-bento-mini {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  flex: 1;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 0;
  color: inherit; text-decoration: none;
}
.v2-bento-mini:hover { border-color: var(--accent-ring); transform: translateX(2px); }
.v2-bento-mini-visual {
  width: 64px; height: 64px;
  font-size: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-2);
  background: radial-gradient(circle at 50% 50%, var(--accent-soft) 0%, transparent 70%);
}
.v2-bento-mini-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.v2-bento-mini-meta { font-size: 10px; color: var(--text-dim); display: flex; gap: 6px; align-items: center; letter-spacing: .04em; font-family: var(--font-mono); text-transform: uppercase; }
.v2-bento-mini h3 {
  font-size: 16px; font-weight: 600;
  margin: 0; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v2-bento-mini-go { color: var(--text-mute); display: inline-flex; }
.v2-bento-mini:hover .v2-bento-mini-go { color: var(--accent); }

/* ---------- MARQUEE ---------- */
.v2-marquee {
  position: relative;
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
}
.v2-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: v2-marquee-scroll 60s linear infinite;
  will-change: transform;
}
.v2-marquee:hover .v2-marquee-track { animation-play-state: paused; }
.v2-marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: -0.01em;
}
.v2-marquee-item .v2-mono { color: var(--text-mute); font-size: 11px; }
.v2-marquee-dot { color: var(--accent); font-size: 8px; }
@keyframes v2-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- CATALOG ---------- */
.v2-catalog { padding: var(--pad-y) var(--pad-x); }
.v2-catalog-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.v2-catalog-actions { display: inline-flex; gap: 8px; align-items: center; }
.v2-view-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.v2-view-toggle button {
  background: transparent; border: 0; padding: 7px 9px;
  color: var(--text-dim); cursor: pointer;
  border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
}
.v2-view-toggle button:hover { color: var(--text); }
.v2-view-toggle button.is-active { background: var(--surface-3); color: var(--text); }

.v2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.v2-gen-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  padding: 18px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  color: var(--text);
}
.v2-gen-card:hover { border-color: var(--accent-ring); transform: translateY(-2px); }
.v2-c-flat    .v2-gen-card { background: var(--surface); }
.v2-c-soft    .v2-gen-card { background: var(--surface-2); border-color: transparent; }
.v2-c-outline .v2-gen-card { background: transparent; }
.v2-c-glass   .v2-gen-card {
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  backdrop-filter: blur(8px);
}
.v2-gen-card-visual {
  position: relative;
  height: 120px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 56px;
  border-radius: var(--r-2);
  background: radial-gradient(circle at 50% 60%, var(--accent-soft) 0%, transparent 65%);
  margin-bottom: 16px;
}
.v2-gen-badge {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .12em;
  padding: 3px 8px; border-radius: 999px;
  background: var(--accent); color: #0a0b0e;
  z-index: 2;
}
.v2-t-light .v2-gen-badge { color: #fff; }
.v2-gen-badge--new   { background: #22c55e; color: #03150a; }
.v2-gen-badge--pro   { background: #f59e0b; color: #1a1100; }
.v2-gen-card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.v2-gen-card-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.v2-gen-card-title { font-size: 17px; font-weight: 600; margin: 0; letter-spacing: -0.01em; line-height: 1.2; overflow-wrap: anywhere; }
.v2-gen-card-desc  { font-size: 12px; color: var(--text-dim); line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.v2-gen-card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.v2-gen-card-tag {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-mute);
  background: var(--surface-2);
  padding: 2px 6px; border-radius: 4px;
  border: 1px solid var(--border);
  overflow-wrap: anywhere;
  max-width: 100%;
}
.v2-gen-card-go {
  position: absolute; top: 18px; right: 18px;
  width: 28px; height: 28px;
  border-radius: 999px;
  display: none;
  align-items: center; justify-content: center;
  color: var(--accent);
  background: var(--surface-3);
}
.v2-gen-card:hover .v2-gen-card-go { display: inline-flex; }

.v2-list {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  overflow: hidden;
}
.v2-list-head, .v2-list-row {
  display: grid;
  grid-template-columns: 64px 1.6fr 1fr 1.2fr;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
}
.v2-list-head {
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
}
.v2-list-row {
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s ease;
  text-decoration: none;
  color: var(--text);
}
.v2-list-row:last-child { border-bottom: 0; }
.v2-list-row:hover { background: var(--hover); }
.v2-list-id { color: var(--text-dim); font-size: 11px; font-family: var(--font-mono); }
.v2-list-name { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 14px; min-width: 0; overflow: hidden; }
.v2-list-name > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.v2-list-id { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-list-glyph {
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  flex: 0 0 38px;
}
.v2-list-badge {
  font-size: 9px; padding: 2px 6px;
  background: var(--accent); color: #0a0b0e;
  border-radius: 999px; letter-spacing: .04em;
  font-family: var(--font-mono);
}
.v2-t-light .v2-list-badge { color: #fff; }
.v2-list-cat { font-size: 13px; color: var(--text-2); }
.v2-list-tags { font-size: 11px; color: var(--text-dim); font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.v2-empty {
  padding: 64px 0;
  text-align: center;
  color: var(--text-dim);
  border: 1px dashed var(--border-2);
  border-radius: var(--r-3);
}

/* ---------- TILES ---------- */
.v2-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.v2-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  text-decoration: none; color: var(--text);
  transition: all 0.15s ease;
  min-height: 132px;
}
.v2-tile:hover { border-color: var(--border-2); background: var(--surface-2); }
.v2-tile-mark {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 36px;
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--text-2);
  line-height: 1;
}
.v2-tile--accent { background: linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--accent) 10%, var(--surface)) 100%); border-color: var(--accent-ring); }
.v2-tile--accent .v2-tile-mark { background: var(--accent); color: #0a0b0e; }
.v2-t-light .v2-tile--accent .v2-tile-mark { color: #fff; }
.v2-tile--extra .v2-tile-mark { font-family: var(--font-mono); font-style: normal; font-size: 24px; }
.v2-tile h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.01em; }
.v2-tile p  { margin: 0; color: var(--text-dim); font-size: 14px; }
.v2-tile-go { color: var(--text-mute); }
.v2-tile:hover .v2-tile-go { color: var(--accent); }

/* ---------- SERVICE ---------- */
.v2-service { background: var(--bg-2); }
.v2-service-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.v2-bullets { padding: 0; margin: 16px 0 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.v2-bullets li { display: flex; gap: 10px; align-items: center; color: var(--text-2); }
.v2-bullets svg { color: var(--accent); flex: 0 0 16px; }

.v2-service-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow);
}
.v2-form-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
}
.v2-uploader {
  display: flex; align-items: center; gap: 16px;
  padding: 20px;
  border-radius: var(--r-3);
  border: 1.5px dashed var(--border-2);
  background: var(--surface-2);
  cursor: pointer;
  text-align: left;
  font-family: inherit; color: inherit;
  transition: all 0.15s ease;
}
.v2-uploader:hover { border-color: var(--accent-ring); }
.v2-uploader svg { color: var(--accent); }
.v2-uploader strong { display: block; font-size: 15px; }
.v2-uploader-sub { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); margin-top: 2px; }

.v2-form-row { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.v2-form-l { font-size: 13px; color: var(--text-dim); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.v2-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.v2-pill {
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 13px; cursor: pointer; color: var(--text-2);
  font-family: var(--font-mono);
}
.v2-pill.is-active { background: var(--accent); color: #0a0b0e; border-color: var(--accent); }
.v2-t-light .v2-pill.is-active { color: #fff; }

.v2-slider-row { display: flex; align-items: center; gap: 12px; }
.v2-slider-row input[type=range] {
  flex: 1; appearance: none; height: 4px;
  background: var(--surface-3); border-radius: 999px; outline: 0;
}
.v2-slider-row input[type=range]::-webkit-slider-thumb {
  appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: var(--accent);
  border: 3px solid var(--surface);
  box-shadow: 0 1px 4px rgba(0,0,0,.2); cursor: pointer;
}
.v2-slider-row input[type=range]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--surface);
}
.v2-slider-row .v2-mono { font-size: 12px; min-width: 60px; text-align: right; color: var(--text-2); }

.v2-form-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px dashed var(--border);
}
.v2-form-foot-l { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; }
.v2-form-foot-v { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- MARKETPLACE ---------- */
.v2-marketplace {
  position: relative;
  background:
    radial-gradient(circle at 80% 0%, var(--accent-soft) 0%, transparent 50%),
    var(--bg);
}
.v2-marketplace-inner { max-width: 760px; }
.v2-marketplace-tag { display: flex; gap: 12px; align-items: center; }
.v2-marketplace-kicker {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--accent-ring);
}
.v2-waitlist {
  display: flex; gap: 8px; margin: 24px 0 32px;
  max-width: 520px;
  flex-wrap: wrap;
}
.v2-waitlist input {
  flex: 1; min-width: 0;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 999px;
  padding: 12px 18px; color: var(--text); font-family: var(--font-sans);
  font-size: 14px; outline: 0;
}
.v2-waitlist input:focus { border-color: var(--accent); }
.v2-split-bar {
  display: flex; height: 56px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
}
.v2-split-bar-maker {
  background: var(--accent); color: #0a0b0e;
  display: flex; align-items: center; padding: 0 18px;
  font-weight: 600;
}
.v2-t-light .v2-split-bar-maker { color: #fff; }
.v2-split-bar-platform {
  background: var(--surface-2); color: var(--text-2);
  display: flex; align-items: center; justify-content: flex-end; padding: 0 18px;
}
.v2-split-caption {
  display: flex; gap: 18px; margin-top: 8px;
  font-size: 11px; color: var(--text-dim);
  font-family: var(--font-mono);
}

/* ---------- DONATE ---------- */
.v2-donate-head { max-width: 760px; }
.v2-donate-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.v2-donate-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 16px; border-radius: var(--r-3);
  cursor: pointer; transition: all 0.15s ease;
  color: var(--text); font-family: inherit;
  text-decoration: none;
  text-align: left;
}
.v2-donate-card:hover { border-color: var(--border-2); background: var(--surface-2); }
.v2-donate-swatch {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  color: white;
  flex: 0 0 36px;
  font-size: 18px;
}
.v2-donate-name { font-weight: 600; font-size: 14px; }
.v2-donate-amt { color: var(--text-dim); font-size: 12px; margin-left: auto; font-family: var(--font-mono); }

.v2-donate-qrs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 16px;
}
.v2-donate-qr {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  border: 1px dashed var(--border-2); border-radius: var(--r-3);
  background: var(--surface);
}
.v2-donate-qr img {
  width: 80px; height: 80px; flex: 0 0 80px;
  border-radius: 6px; background: #fff;
  object-fit: contain;
}
.v2-donate-qr-text strong { font-size: 13px; }
.v2-donate-qr-text span { font-size: 11px; color: var(--text-dim); display: block; margin-top: 2px; font-family: var(--font-mono); }

/* ---------- PRINT NOTES ---------- */
.v2-tipps-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.v2-tipps-list li {
  display: flex; gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  align-items: flex-start;
}
.v2-tipp-n {
  font-size: 22px; color: var(--accent);
  font-feature-settings: "tnum"; line-height: 1;
  font-weight: 500;
  font-family: var(--font-mono);
}
.v2-tipps-list h4 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.v2-tipps-list p  { margin: 0; color: var(--text-dim); font-size: 14px; }

/* ---------- FILAMENTS ---------- */
.v2-filaments { background: var(--bg-2); }
.v2-fil-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.v2-fil-sub { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); letter-spacing: .12em; text-transform: uppercase; }
.v2-fil-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.v2-fil-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-3);
  text-decoration: none; color: var(--text);
  transition: all 0.15s ease;
}
.v2-fil-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.v2-fil-card:hover .v2-fil-spool { transform: rotate(18deg); }

.v2-fil-spool {
  width: 72px; height: 72px; flex: 0 0 72px;
  border-radius: 50%;
  position: relative;
  transition: transform 0.35s cubic-bezier(.2,.7,.3,1);
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}
.v2-fil-spool-rim {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 90deg, var(--spool-c) 0deg, color-mix(in srgb, var(--spool-c) 70%, #000 30%) 90deg, var(--spool-c) 180deg, color-mix(in srgb, var(--spool-c) 60%, #000 40%) 270deg, var(--spool-c) 360deg);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.05);
}
.v2-fil-spool-filament {
  position: absolute; inset: 8px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg,
    color-mix(in srgb, var(--spool-c) 80%, #fff 20%) 0deg 6deg,
    color-mix(in srgb, var(--spool-c) 80%, #000 20%) 6deg 12deg);
  opacity: .8;
}
.v2-fil-spool-hub {
  position: absolute; inset: 22px; border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 4px var(--bg-2);
}
.v2-fil-spool-center {
  position: absolute; top: 50%; left: 50%;
  width: 10px; height: 10px; transform: translate(-50%,-50%);
  border-radius: 50%; background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--border-2);
}
.v2-fil-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v2-fil-brand { font-size: 11px; color: var(--text-dim); letter-spacing: .04em; text-transform: uppercase; font-family: var(--font-mono); }
.v2-fil-meta strong { font-size: 14px; font-weight: 600; }
.v2-fil-price { font-size: 12px; color: var(--text-dim); font-family: var(--font-mono); }

.v2-printers {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-2);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.v2-printers-l { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: .12em; text-transform: uppercase; }
.v2-printers-list { display: flex; gap: 6px; flex-wrap: wrap; }
.v2-printers-pill {
  padding: 5px 10px; border-radius: 999px;
  font-size: 12px; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--border);
  font-family: var(--font-mono);
}

/* ---------- TALURA ---------- */
.v2-talura-inner {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 48px;
  align-items: center;
}
.v2-talura-visual {
  aspect-ratio: 1; max-width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}

/* ---------- PLAYGROUND CALLOUT ---------- */
.v2-playground {
  padding: 32px var(--pad-x);
  background: repeating-linear-gradient(45deg, var(--bg-2) 0 12px, var(--bg) 12px 24px);
}
.v2-playground-inner {
  display: flex; align-items: center; gap: 24px; justify-content: space-between;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-3);
  box-shadow: var(--shadow);
}
.v2-playground-title { font-family: var(--font-mono); font-size: 18px; margin: 8px 0 4px; letter-spacing: -0.01em; }
.v2-playground p { margin: 0; color: var(--text-dim); font-size: 14px; max-width: 60ch; }

/* ---------- FOOTER ---------- */
.v2-footer {
  padding: 64px var(--pad-x) 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.v2-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.v2-footer-brand p { margin: 12px 0; color: var(--text-dim); font-size: 14px; max-width: 36ch; }
.v2-footer-license { font-size: 11px; color: var(--text-mute); font-family: var(--font-mono); }
.v2-footer-col h5 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); font-family: var(--font-mono); font-weight: 500; }
.v2-footer-col a { display: block; padding: 4px 0; color: var(--text-2); text-decoration: none; font-size: 14px; }
.v2-footer-col a:hover { color: var(--accent); }
.v2-footer-bottom {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 11px; color: var(--text-mute);
  flex-wrap: wrap;
  font-family: var(--font-mono);
}

/* ---------- V2 BANNER (Umschalter zur Klassik) ---------- */
.v2-prod-banner {
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  border-bottom: 1px dashed var(--accent-ring);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px var(--pad-x);
  display: flex; align-items: center; gap: 12px;
  color: var(--text-2);
}
.v2-prod-banner-tag {
  display: inline-flex; align-items: center;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--accent-ring);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.v2-prod-banner a { color: var(--accent); font-weight: 600; }
.v2-prod-banner a:hover { text-decoration: underline; }
.v2-prod-banner-close {
  margin-left: auto;
  background: transparent; border: 0;
  color: var(--text-dim); cursor: pointer;
  font-family: inherit;
}

/* ---------- SCROLL-TO-TOP ---------- */
.v2-to-top {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 55;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-2);
  color: var(--text-2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, color .15s ease, border-color .15s ease;
}
.v2-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.v2-to-top:hover { color: var(--accent); border-color: var(--accent-ring); }
.v2-to-top svg { display: block; }
@media (max-width: 700px) {
  .v2-to-top { right: 12px; bottom: 12px; width: 40px; height: 40px; }
}

/* ---------- TWEAKS PANEL ---------- */
.v2-tweaks-toggle {
  position: fixed; top: 16px; right: 16px;
  z-index: 60;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-2);
  color: var(--text-2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease;
}
.v2-tweaks-toggle:hover { color: var(--text); border-color: var(--accent-ring); }
.v2-tweaks-toggle.is-open { transform: rotate(180deg); }
.v2-tweaks-panel {
  position: fixed; top: 72px; right: 16px;
  width: 320px; max-height: calc(100vh - 96px); overflow-y: auto;
  z-index: 59;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--r-4);
  box-shadow: var(--shadow);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 18px;
}
.v2-tweaks-panel.is-open { display: flex; }
.v2-tweaks-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0;
}
.v2-tweaks-section {
  display: flex; flex-direction: column; gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.v2-tweaks-section:last-child { border-bottom: 0; padding-bottom: 0; }
.v2-tweaks-l { font-size: 13px; color: var(--text-2); }
.v2-swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.v2-swatch {
  width: 26px; height: 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  outline-offset: 2px;
}
.v2-swatch.is-active { border-color: var(--text); }
.v2-toggles {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.v2-toggle-btn {
  flex: 1 1 auto;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.12s;
}
.v2-toggle-btn:hover { color: var(--text); }
.v2-toggle-btn.is-active { background: var(--accent); color: #0a0b0e; border-color: var(--accent); }
.v2-t-light .v2-toggle-btn.is-active { color: #fff; }
.v2-tweaks-reset {
  margin-top: 4px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  cursor: pointer;
}
.v2-tweaks-reset:hover { color: var(--text); border-color: var(--border-2); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1280px) {
  .v2-grid { grid-template-columns: repeat(3, 1fr); }
  .v2-tiles-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-fil-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-donate-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .v2-hero-inner, .v2-bento, .v2-service-grid, .v2-talura-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .v2-how-steps { grid-template-columns: 1fr 1fr; }
  .v2-how-arrow { display: none; }
  .v2-how-step { border-right: 0; border-bottom: 1px solid var(--border); }
  .v2-nav { display: none; }
  .v2-search { min-width: 200px; }
  .v2-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-anatomy-label--tl, .v2-anatomy-label--tr { display: none; }
}
@media (max-width: 700px) {
  .v2-header-inner { grid-template-columns: auto 1fr auto; padding: 12px 14px; gap: 8px; }
  .v2-nav, .v2-search { display: none; }
  .v2-header-actions { gap: 6px; justify-self: end; flex-wrap: nowrap; }
  .v2-translate-pill { height: 36px; padding: 0 6px; gap: 4px; min-height: 36px; }
  .v2-translate-icon { display: none; }
  .v2-translate-pill #google_translate_element_v2 .goog-te-gadget-simple { padding: 3px 6px; min-height: 26px; }
  .v2-translate-pill #google_translate_element_v2 .goog-te-gadget-simple > span { font-size: 10px; }
  .v2-gt-mini { display: inline-flex; align-items: center; justify-content: center; padding: 4px 8px; min-height: 28px; min-width: 32px; font-size: 11px; }
  .v2-icon-btn { width: 36px; height: 36px; }
}
@media (max-width: 480px) {
  .v2-header-inner { padding: 8px 10px; gap: 6px; }
  .v2-brand-sub { display: none; }
  .v2-brand-name { font-size: 13px; }
  /* Keep DE/EN buttons + Google language picker all visible on phones */
  .v2-translate-pill { padding: 0 4px; gap: 4px; }
  .v2-translate-pill #google_translate_element_v2 { display: inline-flex; }
  .v2-translate-pill #google_translate_element_v2 .goog-te-gadget-simple { padding: 3px 6px; min-height: 26px; }
  .v2-translate-pill #google_translate_element_v2 .goog-te-gadget-simple > span { font-size: 10px; }
  .v2-translate-pill .v2-gt-mini { display: inline-flex; padding: 5px 7px; min-height: 30px; min-width: 30px; font-size: 11px; font-weight: 700; }
}
@media (max-width: 380px) {
  .v2-header-inner { padding: 8px 8px; gap: 4px; }
  .v2-brand-name { font-size: 12px; }
  .v2-brand { gap: 6px; }
  .v2-translate-pill { padding: 0 3px; gap: 3px; }
  .v2-translate-pill #google_translate_element_v2 .goog-te-gadget-simple { padding: 2px 4px; min-height: 24px; }
  .v2-translate-pill #google_translate_element_v2 .goog-te-gadget-simple > span { font-size: 9px; }
  .v2-translate-pill .v2-gt-mini { padding: 4px 6px; min-width: 28px; font-size: 10px; }
  .v2-icon-btn { width: 32px; height: 32px; }
}
@media (max-width: 700px) {
  .v2-hero { padding: 20px 16px 0; }
  .v2-hero-inner { min-height: 0; gap: 16px; }
  .v2-hero-h1 { font-size: clamp(36px, 11vw, 52px); margin: 10px 0; line-height: 1; }
  .v2-hero-words { font-size: 0.42em; max-width: 18ch; margin-top: 4px; }
  .v2-hero-sub { font-size: 14px; line-height: 1.5; margin-bottom: 14px; }
  .v2-hero-cta { gap: 8px; margin: 16px 0 12px; }
  .v2-hero-cta .v2-btn { padding: 10px 14px; font-size: 13px; min-height: 40px; }
  .v2-hero-feattease { font-size: 12px; padding: 6px 12px; }
  .v2-hero-meta { font-size: 11px; gap: 8px; margin-top: 12px; padding-top: 12px; }
  .v2-hero-visual { aspect-ratio: auto; height: 160px; }
  .v2-hero-visual svg { width: auto; height: 100%; max-width: 100%; }
  .v2-hero-caption { font-size: 9px; padding-top: 6px; inset: auto 12px 8px 12px; }
  .v2-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .v2-gen-card { padding: 12px; }
  .v2-gen-card-visual { height: 80px; margin-bottom: 10px; font-size: 36px; }
  .v2-gen-card-title { font-size: 14px; }
  .v2-tiles-grid { grid-template-columns: 1fr; }
  .v2-donate-grid { grid-template-columns: 1fr 1fr; }
  .v2-donate-qrs { grid-template-columns: 1fr; }
  .v2-fil-grid { grid-template-columns: 1fr; }
  .v2-tipps-list { grid-template-columns: 1fr; }
  .v2-footer-grid { grid-template-columns: 1fr 1fr; }
  .v2-tip-strip-inner { flex-wrap: wrap; }
  .v2-form-row { grid-template-columns: 1fr; gap: 6px; }
  .v2-how-steps { grid-template-columns: 1fr; }
  .v2-list-head, .v2-list-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 16px; }
  .v2-list-head { display: none; }
  .v2-list-row > *:not(.v2-list-name) { font-size: 11px; color: var(--text-dim); }
  .v2-playground-inner { flex-direction: column; align-items: flex-start; }
  .v2-tweaks-panel { width: calc(100% - 32px); right: 16px; left: 16px; }
}
@media (max-width: 480px) {
  .v2-hero { padding: 16px 12px 0; }
  .v2-hero-h1 { font-size: clamp(32px, 10vw, 44px); }
  .v2-hero-sub { font-size: 13px; }
  .v2-hero-cta { flex-direction: column; align-items: stretch; }
  .v2-hero-cta .v2-btn { width: 100%; justify-content: center; }
  .v2-hero-meta { font-size: 10px; }
  .v2-hero-visual { height: 140px; }
  .v2-grid { grid-template-columns: 1fr; }
  .v2-gen-card-visual { height: 100px; }
  .v2-footer-grid { grid-template-columns: 1fr; }
  .v2-donate-grid { grid-template-columns: 1fr; }
}
