/* ── Aria Stories — Shared Styles (Embertale) ── */

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

:root {
  color-scheme: dark;
  /* Fallback tokens — theme.js overrides these live with the chosen palette. */
  --bg: #0a0710; --bg2: #120b1c; --bg3: #1a1226; --bg4: #231733; --bg5: #2e1f42;
  --bg-0: #0a0710; --bg-1: #120b1c; --bg-2: #1a1226;
  --border: #241a30; --border2: #2e2440; --border3: #473a5e;
  --line: rgba(232,200,122,.22); --line-soft: rgba(180,139,255,.12);
  --text: #ece3d4; --text2: #a99f8e; --text3: #6b6255;
  --ink: #ece3d4; --ink-dim: #a99f8e; --ink-faint: #6b6255;
  --accent: #e8c87a; --accent-h: #d4a955; --accent-dim: #2a2018; --accent-soft: #241a30;
  --gold: #e8c87a; --gold-2: #d4a955; --gold-dim: #2a2018; --gold-rgb: 232,200,122;
  --amethyst: #b48bff; --amethyst-rgb: 180,139,255;
  --rose: #e89ab0; --rose-rgb: 232,154,176; --rose-dim: #3a1a28;
  --teal: #7fdca0; --emerald: #7fdca0; --hi: #fff6e0;
  --green: #7fdca0; --green-bg: #2a2018; --green-border: #2e2440;
  --red: #e0566e; --red-bg: #1a0a0e; --red-border: #3a1a22;
  --panel: rgba(26,18,38,.6); --veil: rgba(10,7,16,.7);
  --glow-g: 0 0 26px rgba(232,200,122,.45);
  --font: 'EB Garamond', Georgia, serif;
  --mono: 'DM Mono', monospace;
  --serif: 'Cinzel', serif;
  --serif-display: 'Cinzel Decorative', serif;
  --serif-head: 'Cinzel', serif;
  --serif-body: 'EB Garamond', Georgia, serif;
  --serif-italic: 'Cormorant Garamond', serif;
}

html, body { height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.6; }

/* ── Embertale atmosphere (embers canvas + mist + veil), injected by theme.js ── */
/* position:fixed + negative z-index keeps it entirely out of every page's
   flex/grid flow AND reliably behind all content, without forcing any
   positioning on page elements. */
#ember-atmosphere { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
#ember-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.ember-mist {
  position: fixed; inset: -20%; z-index: -1; pointer-events: none; filter: blur(90px); opacity: .55;
  background:
    radial-gradient(42% 52% at 72% 12%, rgba(var(--gold-rgb),.24), transparent 60%),
    radial-gradient(40% 48% at 10% 86%, rgba(var(--amethyst-rgb),.22), transparent 60%),
    radial-gradient(44% 52% at 88% 92%, rgba(var(--rose-rgb),.16), transparent 60%);
  animation: ember-roll 26s ease-in-out infinite alternate;
}
@keyframes ember-roll { 0% { transform: translate(-2%,-1%) scale(1); } 100% { transform: translate(3%,2%) scale(1.1); } }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 50% 30%, transparent 40%, var(--veil) 100%);
}
/* The atmosphere is position:fixed at z-index:0, so normal in-flow content
   (auto z-index, but painted later) already renders above it without forcing
   position/z-index on every body child — which would break flex/grid layouts. */
.top-nav { z-index: 60 !important; }
@keyframes ember-spin { to { transform: rotate(360deg); } }
@keyframes ember-flicker { 0%,100% { opacity: 1; } 45% { opacity: .7; } 70% { opacity: .95; } }

/* Decorative section divider used across pages */
.orn-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

/* ── Top Nav (used across all pages) ── */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(var(--gold-rgb),.04), transparent), var(--bg-1);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--gold), var(--amethyst));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--bg-0);
  box-shadow: 0 0 22px rgba(var(--gold-rgb),.45);
}

.brand-text {
  font-family: var(--serif-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, var(--hi), var(--gold) 55%, var(--amethyst));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 7px 14px;
  border-radius: 8px;
  color: var(--text2);
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover { background: var(--bg3); color: var(--text); }
.nav-link.active { background: var(--bg4); color: var(--text); }
.nav-link i { font-size: 15px; }

.nav-cta {
  padding: 7px 16px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-cta:hover { background: var(--accent-h); }
.nav-cta i { font-size: 15px; }

.nav-icon-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--gold);
  cursor: pointer;
  padding: 7px 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--serif-head);
  font-size: 11px;
  letter-spacing: 0.1em;
  transition: all 0.2s;
}
.nav-icon-btn:hover { background: rgba(var(--gold-rgb),.1); color: var(--gold); border-color: var(--gold); }
.nav-icon-btn i { font-size: 14px; }

/* Privacy pill */
.priv-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.priv-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; display: inline-block; }
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.fade-in { animation: fadeIn 0.3s ease; }

/* ── Buttons ── */
.btn {
  padding: 11px 20px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold);
  font-family: var(--serif-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.22s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn:hover { background: rgba(var(--gold-rgb),.08); border-color: var(--gold); transform: translateY(-2px); }
.btn:disabled { opacity: 0.4; cursor: default; transform: none; }
.btn i { font-size: 15px; }

.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); border-color: var(--gold); color: var(--bg-0); font-weight: 700; box-shadow: var(--glow-g); }
.btn-primary:hover { box-shadow: 0 0 38px rgba(var(--gold-rgb),.6); background: linear-gradient(135deg, var(--gold), var(--gold-2)); }

.btn-rose { background: linear-gradient(135deg, var(--amethyst), var(--rose)); border-color: var(--amethyst); color: var(--bg-0); font-weight: 700; }
.btn-rose:hover { box-shadow: 0 0 30px rgba(var(--amethyst-rgb),.5); }

.btn-ghost { background: transparent; border-color: transparent; color: var(--text2); }
.btn-ghost:hover { background: rgba(var(--gold-rgb),.06); color: var(--gold); transform: none; }

.btn-sm { padding: 7px 13px; font-size: 10px; letter-spacing: 0.12em; }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }
.btn-lg { padding: 11px 22px; font-size: 14.5px; }

/* ── Form inputs ── */
.input, .textarea, .select {
  width: 100%;
  background: rgba(0,0,0,.22);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--serif-body);
  font-size: 15px;
  padding: 11px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px rgba(var(--gold-rgb),.3), 0 0 22px rgba(var(--gold-rgb),.1); }
.input::placeholder, .textarea::placeholder { color: var(--text3); font-style: italic; }
.textarea { resize: vertical; min-height: 70px; line-height: 1.6; font-style: italic; }

.select { appearance: none; padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23a8884a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
.select option { background: var(--bg2); color: var(--text); }

.label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 6px;
}
.hint { font-size: 11.5px; color: var(--text3); margin-top: 5px; line-height: 1.5; }

.field { margin-bottom: 14px; }

/* ── Cards ── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

/* ── Modal ── */
.modal-ov {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-ov.open { display: flex; }
.modal {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 14px;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  padding: 24px;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.modal-title { font-size: 16px; font-weight: 600; color: #ede9e2; }
.modal-x {
  background: none; border: none; color: var(--text3);
  cursor: pointer; padding: 4px; border-radius: 6px; display: flex;
  transition: all 0.12s;
}
.modal-x:hover { background: var(--bg4); color: var(--text2); }
.modal-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 9px;
  padding: 10px 15px;
  font-size: 13px;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(60px);
  opacity: 0;
  transition: all 0.25s ease;
  z-index: 9999;
  max-width: 340px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: var(--green-border); color: var(--green); }
.toast.error { border-color: var(--red-border); color: var(--red); }
.toast i { font-size: 16px; flex-shrink: 0; }

/* ── Scrollbars ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border3); }

/* ── Page container ── */
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* Section headings */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #f0ece5;
}
.section-sub {
  font-size: 13px;
  color: var(--text3);
  margin-top: 4px;
}

/* ── Key bar (appears when no API key set) ── */
.key-bar {
  background: #0d1018;
  border-bottom: 1px solid #1a2233;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #7ab0e0;
  flex-wrap: wrap;
}
.key-bar i { font-size: 14px; flex-shrink: 0; }
.key-fields { display: flex; align-items: center; gap: 8px; flex: 1; flex-wrap: wrap; }
.key-bar input {
  background: #080c12;
  border: 1px solid #1a2233;
  border-radius: 6px;
  color: #ddd;
  font-family: var(--mono);
  font-size: 12px;
  padding: 5px 10px;
  width: 290px;
  max-width: 100%;
}
.key-bar input:focus { outline: none; border-color: #2a5080; }
.key-bar button {
  padding: 5px 13px;
  background: #152030;
  border: 1px solid #2a4a6a;
  border-radius: 6px;
  color: #7ab0e0;
  font-family: var(--font);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.12s;
}
.key-bar button:hover { background: #1e3044; }
.key-bar a { color: #7ab0e0; text-decoration: underline; font-size: 11px; }

/* ── Tag chips ── */
.tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--bg4);
  border: 1px solid var(--border2);
  border-radius: 5px;
  font-size: 11px;
  color: var(--text2);
  margin-right: 4px;
}
.tag.rose { background: var(--rose-dim); color: var(--rose); border-color: #4a2030; }
.tag.gold { background: var(--gold-dim); color: var(--gold); border-color: #3a2a18; }
.tag.accent { background: var(--accent-soft); color: #a89bf0; border-color: #3a3060; }

/* Responsive */
@media (max-width: 720px) {
  .top-nav { padding: 9px 12px; gap: 8px; }
  .brand-text { font-size: 15px; }
  .nav-links { gap: 2px; }
  .nav-link { padding: 6px 9px; font-size: 12.5px; }
  .nav-link span { display: none; }
  .nav-link i { font-size: 18px; }
  .nav-icon-btn { padding: 7px 9px; }
  .nav-icon-btn span { display: none; }
  .page { padding: 20px 14px; }
  .section-title { font-size: 20px; }
  .btn { padding: 10px 16px; font-size: 11px; }
}
@media (max-width: 420px) {
  .top-nav { padding: 8px 9px; gap: 5px; }
  .brand-text { display: none; }   /* keep just the sigil on very small screens */
  .nav-link { padding: 6px 7px; }
}

/* ═══════════════════════════════════════════════════════
   MOTION & POLISH LAYER — modern transitions and micro-interactions
   Consistent easing tokens, refined hovers, entrance animations.
═══════════════════════════════════════════════════════ */
:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);        /* snappy decelerate */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* gentle overshoot */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);      /* material standard */
  --dur-fast: 0.14s;
  --dur-med: 0.24s;
  --dur-slow: 0.4s;
}

/* Smoother global theme transitions — recolor animates instead of snapping */
html { transition: background-color var(--dur-med) var(--ease-smooth); }
body { transition: background-color var(--dur-med) var(--ease-smooth), color var(--dur-med) var(--ease-smooth); }

/* ── Buttons: springy press + lift ── */
.btn {
  transition: background var(--dur-fast) var(--ease-smooth),
              border-color var(--dur-fast) var(--ease-smooth),
              transform var(--dur-fast) var(--ease-spring),
              box-shadow var(--dur-fast) var(--ease-smooth);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.97); transition-duration: 0.06s; }
.btn-primary { box-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.btn-primary:hover { box-shadow: 0 4px 14px -2px var(--accent-dim); }

/* ── Inputs: animated focus ring ── */
.input, .textarea, .select {
  transition: border-color var(--dur-fast) var(--ease-smooth),
              box-shadow var(--dur-fast) var(--ease-smooth),
              background var(--dur-fast) var(--ease-smooth);
}
.input:focus, .textarea:focus, .select:focus {
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ── Entrance animations ── */
@keyframes slideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
@keyframes fadeInSoft { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }

.fade-in { animation: slideUp var(--dur-slow) var(--ease-out); }
.anim-slide-up { animation: slideUp var(--dur-slow) var(--ease-out); }
.anim-scale-in { animation: scaleIn var(--dur-med) var(--ease-spring); }

/* Stagger helper — children fade up in sequence */
.stagger > * { animation: slideUp var(--dur-slow) var(--ease-out) backwards; }
.stagger > *:nth-child(1) { animation-delay: 0.03s; }
.stagger > *:nth-child(2) { animation-delay: 0.06s; }
.stagger > *:nth-child(3) { animation-delay: 0.09s; }
.stagger > *:nth-child(4) { animation-delay: 0.12s; }
.stagger > *:nth-child(5) { animation-delay: 0.15s; }
.stagger > *:nth-child(6) { animation-delay: 0.18s; }
.stagger > *:nth-child(7) { animation-delay: 0.21s; }
.stagger > *:nth-child(8) { animation-delay: 0.24s; }
.stagger > *:nth-child(n+9) { animation-delay: 0.27s; }

/* ── Cards & interactive surfaces: hover lift ── */
.card, .char-card, .story-row, .gallery-cover, .gallery-item {
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              border-color var(--dur-fast) var(--ease-smooth),
              background var(--dur-fast) var(--ease-smooth);
}

/* ── Modal/overlay transitions ── */
.world-modal-ov, .modal-ov, .confirm-ov {
  transition: opacity var(--dur-med) var(--ease-smooth), backdrop-filter var(--dur-med) var(--ease-smooth);
}
.world-modal, .modal, .confirm-box {
  transition: transform var(--dur-med) var(--ease-spring), opacity var(--dur-med) var(--ease-smooth);
}
.world-modal-ov:not(.open) .world-modal { transform: scale(0.95) translateY(10px); opacity: 0; }
.world-modal-ov.open .world-modal { transform: scale(1) translateY(0); opacity: 1; }

/* ── Toast: slide + spring in ── */
.toast { transition: transform var(--dur-med) var(--ease-spring), opacity var(--dur-med) var(--ease-smooth); }

/* ── Skeleton shimmer (for loading states) ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg3) 25%, var(--bg4) 50%, var(--bg3) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 8px;
}

/* ── Links & nav items ── */
a, .nav-link, .tab, .page-tab, .lore-tab, .source-tab {
  transition: color var(--dur-fast) var(--ease-smooth),
              background var(--dur-fast) var(--ease-smooth),
              border-color var(--dur-fast) var(--ease-smooth);
}

/* ── Icon buttons: subtle rotate/scale on hover ── */
.icon-btn, .msg-act-btn, .lore-icon-btn, .viewer-act {
  transition: background var(--dur-fast) var(--ease-smooth),
              color var(--dur-fast) var(--ease-smooth),
              transform var(--dur-fast) var(--ease-spring);
}
.icon-btn:active, .msg-act-btn:active, .viewer-act:active { transform: scale(0.88); }

/* ── Respect reduced-motion preference ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════
   macOS-style polish layer — vibrancy, soft depth, smooth motion.
   Refines existing components without changing the Embertale palette.
   ═══════════════════════════════════════════════════════ */

/* Softer, layered "floating" depth for surfaces */
.card {
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent), var(--bg2);
  box-shadow: 0 1px 2px rgba(0,0,0,0.18), 0 8px 28px -12px rgba(0,0,0,0.45);
  transition: transform var(--dur-med, 0.24s) var(--ease-out, ease), box-shadow var(--dur-med, 0.24s) var(--ease-out, ease), border-color var(--dur-med, 0.24s) ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 6px rgba(0,0,0,0.22), 0 18px 44px -14px rgba(0,0,0,0.55); }

/* Translucent vibrancy on the top nav (frosted glass) */
.top-nav {
  background: color-mix(in srgb, var(--bg-1) 72%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

/* Modals: deeper frosted backdrop + soft floating panel */
.modal-ov { background: rgba(0,0,0,0.5); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.modal, .world-modal {
  border-radius: 18px;
  box-shadow: 0 10px 40px -8px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.3);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent), var(--bg2);
}

/* Buttons: subtle spring on press, smoother hover */
.btn { transition: transform var(--dur-fast, 0.14s) var(--ease-out, ease), background var(--dur-fast, 0.14s) ease, box-shadow var(--dur-med, 0.24s) ease, border-color var(--dur-fast, 0.14s) ease; }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-primary:active { transform: scale(0.97); }

/* Inputs: smoother focus ring */
.input, .textarea, .select { border-radius: 10px; transition: border-color var(--dur-med,0.24s) ease, box-shadow var(--dur-med,0.24s) ease, background var(--dur-med,0.24s) ease; }

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .card, .btn, .input { transition: none !important; }
  .card:hover { transform: none; }
}

/* ── "Feel" toggle (Classic vs Enchanted) in Appearance settings ── */
.vibe-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vibe-opt {
  text-align: left; cursor: pointer; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--border, rgba(255,255,255,.12)); background: var(--bg3, rgba(255,255,255,.03));
  color: var(--text, #eee); display: flex; flex-direction: column; gap: 3px;
  transition: border-color .2s, background .2s, transform .15s;
}
.vibe-opt:hover { border-color: var(--accent, #e8c87a); transform: translateY(-1px); }
.vibe-opt.active {
  border-color: var(--accent, #e8c87a);
  background: linear-gradient(135deg, rgba(var(--gold-rgb,232,200,122), .12), transparent);
  box-shadow: 0 0 0 1px var(--accent, #e8c87a) inset;
}
.vibe-opt-name { font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.vibe-opt-sub { font-size: 11px; color: var(--text3, #8a8a8a); }
@media (max-width: 480px) { .vibe-toggle { grid-template-columns: 1fr; } }
