/* aaa.css — Triple-A Feinschliff (additiv, lädt zuletzt). Überschreibt gezielt für Premium-Look. */

/* ---------- TYPO-MASSSTAB / HERO ---------- */
.hero h1 { font-size: clamp(40px, 6.4vw, 74px); letter-spacing: -0.03em; line-height: 0.99; }
.hero .sub { font-size: clamp(16px, 2.3vw, 21px); max-width: 520px; }
.section-head h2 { font-size: clamp(30px, 4.8vw, 50px); letter-spacing: -0.025em; }
.section-head { max-width: 680px; }

/* feiner Verlaufs-Hairline-Akzent über jeder Section-Überschrift */
.section-head .eyebrow { position: relative; }

/* ---------- BENTO TOOL-GRID ---------- */
#toolGrid { grid-auto-flow: row dense; }
@media (min-width: 680px) {
  /* Flagship-Kachel (Study) prominent über 2 Spalten */
  #toolGrid .tool:first-child { grid-column: span 2; }
}
#toolGrid .tool:first-child {
  background: linear-gradient(135deg, rgba(124,156,255,0.16), rgba(45,212,191,0.08));
  border-color: rgba(124,156,255,0.35);
}
#toolGrid .tool:first-child .ico { width: 58px; height: 58px; font-size: 28px; }
#toolGrid .tool:first-child h4 { font-size: 19px; }
#toolGrid .tool:first-child p { font-size: 14px; }
/* etwas mehr Tiefe + ruhigere Hover-Kurve auf allen Kacheln */
.tool { transition: transform .42s var(--ease-out-expo, cubic-bezier(.22,.61,.36,1)), box-shadow .42s var(--ease-soft), border-color .3s; }
.tool .ico { transition: transform .42s var(--ease-spring); }
.tool:hover .ico { transform: scale(1.08) rotate(-3deg); }

/* ---------- CTA-GLANZ (Sheen) ---------- */
.btn-primary { overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.btn-primary:hover::after { animation: btnSheen .85s var(--ease-soft); }
@keyframes btnSheen { from { left: -70%; } to { left: 130%; } }

/* ---------- PREMIUM FOOTER ---------- */
.site-footer {
  position: relative; z-index: 2; margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--glass-hairline);
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 100%);
  -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur));
}
.site-footer .wrap { padding-block: clamp(44px, 6vw, 76px); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.footer-brand .f-logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; margin-bottom: 14px; }
.footer-brand .f-logo img { width: 36px; height: 36px; }
.footer-brand p { color: var(--ink-body); font-size: 14px; line-height: 1.65; max-width: 320px; }
.footer-brand .f-byo { margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink-on-accent); background: var(--surface-2); border: 1px solid var(--glass-border); padding: 7px 13px; border-radius: var(--r-pill); }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-muted); margin-bottom: 13px; font-weight: 700; }
.footer-col a { display: block; color: var(--ink-body); font-size: 14px; padding: 5px 0; text-decoration: none; transition: color .2s var(--ease-soft), transform .2s var(--ease-soft); width: fit-content; }
.footer-col a:hover { color: var(--accent); transform: translateX(3px); }
.footer-bar { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--glass-hairline); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--ink-muted); font-size: 13px; }
.footer-bar .grad-text { font-weight: 700; }

/* alten One-Line-Footer ausblenden, falls noch vorhanden */
footer.footer { display: none; }

/* ---------- CUSTOM ICONS in Tool-Kacheln ---------- */
.tool .ico svg { width: 26px; height: 26px; display: block; }
#toolGrid .tool:first-child .ico svg { width: 30px; height: 30px; }

/* ---------- 3D TOOL-VIEW OVERLAY ---------- */
#toolView { position: fixed; inset: 0; z-index: 9000; display: none; overflow: hidden;
  background:
    radial-gradient(1000px 700px at 50% 38%, #1b2550 0%, rgba(27,37,80,0) 60%),
    radial-gradient(900px 700px at 80% 90%, #133a3a 0%, rgba(19,58,58,0) 60%),
    #0a0e1f;
}
#toolView.on { display: block; animation: tvIn .45s var(--ease-soft) both; }
@keyframes tvIn { from { opacity: 0; } to { opacity: 1; } }
#tvCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
#tvCanvas:active { cursor: grabbing; }
.tv-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; z-index: 2; pointer-events: none; }
.tv-title { font-family: var(--font-sans); font-weight: 800; font-size: 17px; letter-spacing: -.01em; color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); padding: 8px 16px; border-radius: var(--r-pill); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tv-close { pointer-events: auto; cursor: pointer; font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); padding: 9px 18px; border-radius: var(--r-pill); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, transform .2s; }
.tv-close:hover { background: rgba(255,255,255,0.22); transform: translateY(-1px); }
.tv-hint { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.75); font-size: 13px; z-index: 2; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { #toolView.on { animation: none; } }

/* ---------- TOOLS: GRÖSSER AUF LAPTOP ---------- */
@media (min-width: 981px) {
  .tool-grid { gap: 22px; }
  .tool { padding: 30px; min-height: 190px; }
  .tool .ico { width: 56px; height: 56px; border-radius: 17px; margin-bottom: 16px; }
  .tool .ico svg { width: 29px; height: 29px; }
  .tool h4 { font-size: 17.5px; }
  .tool p { font-size: 14px; }
  #toolGrid .tool:first-child { padding: 38px; }
  #toolGrid .tool:first-child .ico { width: 64px; height: 64px; }
  #toolGrid .tool:first-child .ico svg { width: 33px; height: 33px; }
  #toolGrid .tool:first-child h4 { font-size: 21px; }
  #toolGrid .tool:first-child p { font-size: 15px; }
}

/* ---------- KI-OUTPUT: Zeilenumbrüche erhalten ---------- */
/* #toolOutputText und .tmsg haben bereits pre-wrap; hier noch Zusammenfassung + Hero-Demo */
.sb-card .a { white-space: pre-wrap; }
.lw-out { white-space: pre-wrap; }

/* ---------- PWA-DEVICE: iOS + Android statt Platzhalter ---------- */
.device.device-os { padding: 16px; font-size: 0; overflow: visible; }
.device.device-os svg { width: 100%; height: 100%; display: block; }

/* ---------- VIEW-TOGGLE (3D-Galerie an/aus) ---------- */
.view-toggle { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; cursor: pointer; user-select: none; font-weight: 600; font-size: 13.5px; color: var(--ink-body); }
.view-toggle .vt-ic { font-size: 15px; }
.view-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.vt-track { position: relative; width: 46px; height: 26px; border-radius: var(--r-pill); background: var(--surface-3); border: 1px solid var(--glass-border); transition: background .25s var(--ease-soft); flex-shrink: 0; }
.vt-thumb { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-card); transition: transform .28s var(--ease-spring); }
.view-toggle input:checked ~ .vt-track { background: var(--accent-gradient); border-color: transparent; }
.view-toggle input:checked ~ .vt-track .vt-thumb { transform: translateX(20px); }
.view-toggle input:focus-visible ~ .vt-track { box-shadow: 0 0 0 3px rgba(124,156,255,.4); }

/* ---------- 3D TOOL-GALERIE (inline, 360°-Ring) ---------- */
#tools3d { display: none; }
#tools.show-3d #tools3d { display: grid; }
#tools.show-3d #toolGrid { display: none; }
.tools3d { grid-template-columns: 1fr 290px; gap: 26px; align-items: stretch; margin-top: 6px; }
@media (max-width: 920px) { .tools3d { grid-template-columns: 1fr; } }

.t3d-main { position: relative; }
.t3d-stage {
  position: relative; height: clamp(360px, 42vw, 470px);
  perspective: 1500px; perspective-origin: 50% 46%;
  touch-action: pan-y;                 /* vertikal scrollt nativ, horizontal rotiert */
  cursor: grab; overflow: hidden; border-radius: var(--r-card);
  background:
    radial-gradient(60% 68% at 50% 42%, rgba(124,156,255,.12), transparent 70%),
    radial-gradient(54% 60% at 50% 100%, rgba(45,212,191,.10), transparent 70%);
}
.t3d-stage:active { cursor: grabbing; }
.t3d-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }

.t3d-card {
  position: absolute; left: 0; top: 0; box-sizing: border-box;
  padding: 22px; border-radius: var(--r-tile);
  background: var(--surface-strong); border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; cursor: pointer;
  transition: box-shadow .3s var(--ease-soft), border-color .3s, transform .35s var(--ease-soft);
}
.t3d-card .t3d-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-card); margin-bottom: 14px; font-size: 26px; flex-shrink: 0; }
.t3d-card .t3d-ico svg { width: 28px; height: 28px; }
.t3d-card h4 { font-size: 18px; margin-bottom: 6px; }
.t3d-card p { font-size: 13.5px; color: var(--ink-body); line-height: 1.5; flex: 1; }
.t3d-card { will-change: opacity; }
.t3d-card .t3d-go { margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--accent); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.t3d-card .t3d-tag { position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 800; color: #11997f; background: rgba(45,212,191,.16); padding: 3px 9px; border-radius: var(--r-pill); }
.t3d-card .t3d-tag.soon { color: #8B91AE; background: rgba(139,145,174,.15); }
.t3d-card.is-front { border-color: rgba(124,156,255,.5); box-shadow: var(--shadow-hero); }
/* der Front-Scale wird in tools3d.js an den Inline-Transform gehängt (Inline schlägt Klasse) */
.t3d-card.is-front .t3d-go { opacity: 1; transform: none; }

.t3d-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--surface-1); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); box-shadow: var(--shadow-card); font-size: 24px; line-height: 1; color: #1a2140; cursor: pointer; transition: transform .2s var(--ease-soft), background .2s; }
.t3d-nav:hover { transform: translateY(-50%) scale(1.08); background: #fff; }
.t3d-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.t3d-nav.prev { left: 6px; } .t3d-nav.next { right: 6px; }
.t3d-hint { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--ink-muted); pointer-events: none; padding: 0 clamp(8px, 4vw, 56px); }
.t3d-full { position: absolute; top: 10px; right: 10px; z-index: 4; }

.t3d-catalog { display: flex; flex-direction: column; gap: 6px; max-height: clamp(360px, 42vw, 470px); overflow-y: auto; padding: 4px; }
.t3d-cat-item { display: flex; align-items: center; gap: 11px; text-align: left; width: 100%; padding: 10px 12px; border-radius: 14px; border: 1px solid transparent; background: transparent; cursor: pointer; transition: background .2s, border-color .2s; }
.t3d-cat-item:hover { background: rgba(124,156,255,.10); }
.t3d-cat-item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.t3d-cat-item.is-active { background: var(--surface-strong); border-color: rgba(124,156,255,.5); box-shadow: var(--shadow-card); }
.t3d-cat-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex-shrink: 0; font-size: 17px; }
.t3d-cat-ico svg { width: 19px; height: 19px; }
.t3d-cat-tx { display: flex; flex-direction: column; min-width: 0; }
.t3d-cat-tx strong { font-size: 13.5px; font-weight: 700; }
.t3d-cat-tx em { font-style: normal; font-size: 11.5px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 920px) {
  .tools3d { gap: 14px; margin-top: 4px; }
  .t3d-stage { height: clamp(300px, 64vw, 380px); border-radius: 20px; }
  /* Hinweis UNTER die Bühne statt überlappend */
  .t3d-hint { position: static; margin-top: 12px; padding: 0 8px; font-size: 11.5px; }
  .t3d-full { top: 8px; right: 8px; padding: 7px 13px; font-size: 12.5px; }
  .t3d-nav { width: 38px; height: 38px; font-size: 21px; }
  .t3d-nav.prev { left: 2px; } .t3d-nav.next { right: 2px; }
  /* kompaktere Karten, damit sie auf schmale Screens passen */
  .t3d-card { padding: 15px; }
  .t3d-card .t3d-ico { width: 42px; height: 42px; border-radius: 13px; margin-bottom: 9px; font-size: 21px; }
  .t3d-card .t3d-ico svg { width: 22px; height: 22px; }
  .t3d-card h4 { font-size: 14.5px; margin-bottom: 4px; }
  .t3d-card p { font-size: 11.5px; line-height: 1.4; }
  .t3d-card .t3d-go { font-size: 11px; margin-top: 8px; }
  .t3d-card .t3d-tag { top: 10px; right: 10px; font-size: 9px; padding: 2px 7px; }
  /* Katalog als horizontale Chip-Leiste */
  .t3d-catalog { flex-direction: row; max-height: none; overflow-x: auto; overflow-y: hidden; gap: 8px; padding: 2px 2px 8px; -webkit-overflow-scrolling: touch; }
  .t3d-cat-item { flex: 0 0 auto; padding: 8px 12px; }
  .t3d-cat-ico { width: 30px; height: 30px; }
  .t3d-cat-tx em { display: none; }
  .t3d-cat-tx strong { white-space: nowrap; }
}
/* niedrige Viewports (Landscape-Phone): Bühne nicht zu hoch */
@media (max-width: 920px) and (max-height: 600px) {
  .t3d-stage { height: clamp(240px, 46vh, 360px); }
}
/* Bewegung reduzieren: keine Übergänge/Hover-Bewegung im 3D-Bereich (Auto-Spin ist in JS bereits aus) */
@media (prefers-reduced-motion: reduce) {
  .t3d-card, .t3d-nav, .t3d-cat-item, .vt-thumb, .vt-track { transition: none; }
  .t3d-nav:hover { transform: translateY(-50%); }
}

/* ---------- HERO: mehr Luft auf Mobile (nicht so gedrängt) ---------- */
@media (max-width: 560px) {
  .hero { padding-block: 38px 24px; }
  .hero h1 { margin: 14px 0 16px; line-height: 1.02; }
  .hero .sub { margin-bottom: 26px; line-height: 1.55; }
  .hero .cta-row { flex-direction: column; gap: 11px; width: 100%; }
  .hero .cta-row .btn { width: 100%; }
  .chips { margin-top: 24px; gap: 8px; }
}

/* ---------- NAV 2.0: Glas-Pill für Links, Marken-Flamme, Scroll-Schatten ---------- */
.nav { transition: box-shadow .35s var(--ease-soft), background .35s; }
.nav.scrolled { background: rgba(244,247,252,.88); box-shadow: 0 12px 32px -14px rgba(40,60,130,.16); }
.nav-group { display: inline-flex; gap: 2px; background: var(--surface-2); border: 1px solid var(--glass-hairline);
  border-radius: var(--r-pill); padding: 4px; margin-right: 6px; }
.nav-group a { padding: 8px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600;
  color: var(--ink-body); transition: background .22s var(--ease-soft), color .22s, box-shadow .22s; }
.nav-group a:hover { background: #fff; color: var(--ink); box-shadow: 0 4px 12px -4px rgba(60,80,160,.22); }
@media (max-width: 860px) { .nav-group { display: none; } }

/* Lern-Serie: Marken-Look statt Orange; bei 0 komplett ausgeblendet (JS) */
.nav-flame { color: var(--ink-on-accent); background: var(--surface-2); border: 1px solid var(--glass-hairline);
  font-size: 13.5px; padding: 7px 13px; }
.nav-flame .ic-inline svg { color: var(--accent); }

/* ---------- LIVE-ORB 2.0: Aurora-Ring + Satellit ---------- */
.orb { position: relative; isolation: isolate;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #CFE0FF 30%, #8FA6FF 64%, #7C5CFF 100%);
  box-shadow: 0 4px 18px rgba(124,92,255,.55), inset 0 0 6px rgba(255,255,255,.85); }
.orb::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, #7C9CFF, #67E8D6, #C0AEFF, #FF9EC4, #FBCB6B, #7C9CFF);
  filter: blur(6px); opacity: .85; animation: orbSpin 3.6s linear infinite; }
.orb::after { content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(124,156,255,.95);
  animation: orbSat 2.8s linear infinite; }
@keyframes orbSpin { to { transform: rotate(360deg); } }
@keyframes orbSat { from { transform: rotate(0deg) translateX(17px); } to { transform: rotate(360deg) translateX(17px); } }
.orb.thinking::before { animation-duration: .9s; }
.orb.thinking::after { animation-duration: .7s; }
@media (prefers-reduced-motion: reduce) { .orb::before, .orb::after { animation: none; } .orb::after { display: none; } }

/* ---------- NAV: Mobile aufgeräumt (Loslegen nicht mehr abgeschnitten) ---------- */
@media (max-width: 600px) {
  .nav-in { padding: 10px 14px; }
  .nav-links { gap: 5px; }
  #btnToolView { display: none; }                 /* redundant: Hero-Button + 3D-Toggle reichen */
  .nav-flame { padding: 6px 9px; font-size: 13px; }
}
@media (max-width: 420px) {
  .logo { font-size: 17px; gap: 8px; }
  .logo .navmark { width: 30px; height: 30px; }
  .nav-flame { gap: 3px; }
}

/* ---------- INLINE-ICONS (Emoji-Ersatz) ---------- */
.ic-inline { display: inline-flex; align-items: center; vertical-align: -0.15em; }
.ic-inline svg { width: 1.05em; height: 1.05em; display: block; }
.chip .ic-inline { margin-right: 7px; }
.btn .ic-inline { margin-right: 7px; }
/* Icon-only Buttons (z.B. ⚙ Settings): sauberes Quadrat, Icon zentriert */
.btn-ico { width: 34px; height: 34px; min-width: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.btn-ico .ic-inline { margin: 0; }
.btn-ico .ic-inline svg { width: 18px; height: 18px; }
.nav-flame .ic-inline svg { width: 16px; height: 16px; }

/* ---------- WOW: MAGNETISCHE BUTTONS ---------- */
[data-magnetic] { transition: transform .25s var(--ease-spring, cubic-bezier(.34,1.56,.64,1)), box-shadow .3s var(--ease-soft); will-change: transform; }
@media (prefers-reduced-motion: reduce) { [data-magnetic] { transition: none; } }

/* ---------- SETTINGS: Modell-Wähler ---------- */
.set-row { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--glass-hairline); }
.set-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-body); margin-bottom: 6px; }
.set-select { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--glass-border); background: #fff; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.set-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.set-hint { font-size: 11.5px; color: var(--ink-muted); margin: 7px 0 0; line-height: 1.5; }

/* ---------- GENIUS-BUTTON (FAB) + PANEL ---------- */
.genius-fab {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 70;
  width: 58px; height: 58px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 1px solid var(--glass-border-bright); background: var(--surface-strong);
  box-shadow: 0 12px 30px -8px rgba(60,80,160,.45), 0 2px 8px rgba(60,80,160,.18);
  display: grid; place-items: center;
  -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur));
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.genius-fab::before {
  content: ''; position: absolute; inset: -3px; border-radius: 50%; z-index: -1;
  background: var(--accent-gradient); opacity: .5; filter: blur(7px);
}
.genius-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 40px -10px rgba(60,80,160,.55); }
.genius-fab.open { transform: scale(.93); }
.genius-fab img { width: 30px; height: 30px; }
@media (prefers-reduced-motion: no-preference) {
  .genius-fab::before { animation: gfPulse 3.4s ease-in-out infinite; }
}
@keyframes gfPulse { 0%, 100% { opacity: .38; transform: scale(1); } 50% { opacity: .66; transform: scale(1.1); } }

.genius-panel {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: calc(clamp(16px, 3vw, 28px) + 70px); z-index: 71;
  width: min(320px, calc(100vw - 32px));
  background: var(--surface-strong); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--blur-strong)); backdrop-filter: blur(var(--blur-strong));
  border-radius: 22px; box-shadow: 0 26px 64px -16px rgba(40,55,120,.5);
  padding: 16px; max-height: min(74vh, 580px); overflow-y: auto;
  opacity: 0; transform: translateY(14px) scale(.96); pointer-events: none;
  transition: opacity .25s var(--ease-soft), transform .28s var(--ease-spring, cubic-bezier(.34,1.56,.64,1));
}
.genius-panel.on { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .genius-panel { transition: opacity .2s; transform: none; } }
.gp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.gp-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; }
.gp-title img { width: 22px; height: 22px; }
.gp-x { border: none; background: var(--surface-2); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; color: var(--ink-muted); font-size: 12px; }
.gp-x:hover { background: var(--surface-3); color: var(--ink); }
.gp-sec { margin-bottom: 16px; }
.gp-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-muted); margin-bottom: 9px; }
.gp-swatches { display: flex; gap: 9px; flex-wrap: wrap; }
.gp-sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; box-shadow: var(--shadow-card); transition: transform .2s var(--ease-spring); }
.gp-sw:hover { transform: scale(1.13); }
.gp-sw.on { box-shadow: 0 0 0 2px var(--surface-solid), 0 0 0 4px var(--accent); }
.gp-timer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gp-time { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--ink); }
.gp-tbtns { display: flex; gap: 6px; }
.gp-presets { display: flex; gap: 6px; margin-top: 10px; }
.gp-presets button { flex: 1; padding: 7px 0; border-radius: 11px; border: 1px solid var(--glass-border); background: var(--surface-2); cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--ink-body); transition: background .2s, border-color .2s, color .2s; }
.gp-presets button.on, .gp-presets button:hover { background: var(--accent-gradient-soft); border-color: transparent; color: var(--ink-on-accent); }
.gp-quick { display: flex; flex-direction: column; gap: 7px; }
.gp-quick button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--glass-border); background: var(--surface-2); cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--ink); transition: background .2s, transform .2s; }
.gp-quick button:hover { background: var(--surface-strong); transform: translateX(3px); }
.gp-quick .ic-inline svg { width: 18px; height: 18px; color: var(--accent); }
.gp-hide { width: 100%; padding: 9px; border: none; background: transparent; color: var(--ink-muted); font-size: 12.5px; cursor: pointer; border-top: 1px solid var(--glass-hairline); }
.gp-hide:hover { color: #d8527c; }
@media (max-width: 600px) {
  .genius-fab { width: 52px; height: 52px; }
  .genius-fab img { width: 27px; height: 27px; }
  .genius-panel { bottom: calc(clamp(16px, 3vw, 28px) + 64px); }
}
