/**
 * Hello & Meow — Unified Accessible Theme System
 * Shared across Main Landing App and all 8 Guide / Scientific Reference Pages.
 */

/* ☀️ 1. Sunny Day (Default Daylight Theme) */
:root,
body[data-theme="sunshine"],
body:not([data-theme]),
body[data-theme="rainbow"],
body[data-theme="candy"],
body[data-theme="jungle"] {
  --bg-primary: var(--canvas);
  --bg-secondary: var(--surface);
  --bg-tertiary: var(--sunken);
  --card-bg: var(--surface);
  --text-primary: var(--text);
  --text-secondary: var(--text-2);
  --text-muted: var(--muted);
  --border-subtle: var(--divider);
  --accent-light: var(--accent-soft);
  --accent-text: var(--accent);
  --accent-glow: transparent;
  --error: var(--danger);
  --safe-top: max(1rem, env(safe-area-inset-top));
  --safe-bottom: max(1rem, env(safe-area-inset-bottom));
}

.skip-link {
  position: absolute;
  top: -9999px;
  left: 0;
  background: #cf0f5c;
  color: #ffffff !important;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  border: 2px solid #0f172a;
}

.skip-link:focus {
  top: 0;
}

body[data-theme="sunshine"],
body:not([data-theme]) {
  background: var(--canvas);
  color: var(--text);
}

/* ✨ 2. Cosmic Star (Deep Space Obsidian Theme) */
body[data-theme="cosmic"] {
  --bg-primary: #0b0f19;
  --bg-secondary: #141b2d;
  --bg-tertiary: #1f2942;
  --card-bg: rgba(20, 27, 45, 0.92);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border: #2a3756;
  --border-subtle: #1e293b;
  --accent: #38bdf8;
  --accent-hover: #0284c7;
  --accent-light: rgba(56, 189, 248, 0.16);
  --accent-text: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.40);
  --success: #34d399;
  --error: #f43f5e;
  --warning: #fbbf24;
  background-color: #0b0f19;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(56, 189, 248, 0.20), transparent),
    radial-gradient(circle at 80% 85%, rgba(168, 85, 247, 0.15), transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(56, 189, 248, 0.12), transparent 45%);
  background-attachment: fixed;
  color: #f8fafc;
}

/* ── ACCESSIBLE HYPERLINK & INTERACTION TOKENS (WCAG 2.2 AA) ── */
a {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Card wrappers: links wrapping cards MUST NOT inherit blue browser text */
a:has(> .feature-card),
a:has(> .stat-card),
a:has(> .category-block),
a:has(> .pipeline-step),
a:has(> .cat-sound-card),
a:has(> .sound-card),
a:has(> .sound-box),
a:has(> .card),
a:has(> .cat-profile-card),
a .feature-card,
a .stat-card,
a.card-link,
a.card-wrapper {
  color: inherit !important;
  text-decoration: none !important;
}

/* ── HEADER STYLING ACROSS ALL PAGES ── */
















/* ── UNIFIED SUB-NAVIGATION BAR ACROSS ALL PAGES ── */


























/* ── APPLE-GRADE SUB-NAV "MORE" DROPDOWN ── */










@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}






















/* ── CAPTURE HUB ── (Styled in tactical anime arcade section) */

/* ── ACOUSTIC FINGERPRINT INSPECTION MODAL ── */
.fingerprint-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 26, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.fingerprint-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.fingerprint-modal-card {
  width: 100%;
  max-width: 640px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.fingerprint-modal.open .fingerprint-modal-card {
  transform: translateY(0) scale(1);
}





/* ── FELINE LIBRARY & RELATED GUIDES SECTION ── */
.feline-library-cluster {
  margin-top: 3rem;
  padding: 1.75rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.guide-topic-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-primary);
}

.guide-topic-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.guide-topic-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.guide-topic-desc {
  font-size: 0.775rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

body[data-theme="sunshine"] .guide-topic-card {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}
body[data-theme="sunshine"] .guide-topic-card:hover {
  background: #fdf2f8 !important;
  border-color: #be185d !important;
}

/* Theme Selector Pill & Menu */
.theme-selector-wrap {
  position: relative;
  display: inline-block;
}

.theme-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.775rem;
  font-weight: 600;
  background: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border) !important;
  border-radius: 9999px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.theme-pill-btn:hover {
  border-color: var(--accent) !important;
}

.theme-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  padding: 0.4rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 10000;
}
.theme-dropdown-menu.open {
  display: flex !important;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--text-primary) !important;
  cursor: pointer;
  text-align: left;
  font-size: 0.8rem;
  width: 100%;
  transition: background 0.15s;
}
.theme-option:hover {
  background: var(--bg-tertiary) !important;
}
.theme-option.active {
  background: var(--accent-light) !important;
  color: var(--accent-text) !important;
  font-weight: 700;
}
.theme-opt-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.theme-opt-name {
  font-weight: 600;
}
.theme-opt-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.theme-opt-check {
  font-weight: 700;
  color: var(--accent-text);
}

/* ── HERO & TYPOGRAPHY CONSISTENCY ── */
.page .hero {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-text) !important;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  background: none !important;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary) !important;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2rem;
}


/* ── CARD & CONTAINER HARMONIZATION ── */
.card,
.sound-box,
.guide-card,
.callout-box,
.pipeline-step,
.feature-card,
.category-card,
.vocal-type-card,
.compare-card,
.stat-card,
.faq-item {
  background: var(--card-bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover,
.sound-box:hover,
.guide-card:hover {
  border-color: var(--accent) !important;
}

.card-label,
.section-number {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-text) !important;
  margin-bottom: 0.5rem;
}

.page h1, .page h2, .page h3, .page h4,
.section h2, .section h3 {
  color: var(--text-primary) !important;
}

.page p, .page li,
.section p, .section li {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Scientific Notes & Callouts */
.key-takeaway,
.science-box,
.acoustic-card,
.vet-warning-box {
  background: var(--accent-light) !important;
  border: 1.5px solid var(--accent) !important;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-primary);
}

.key-takeaway h3, .key-takeaway h4,
.science-box h3, .science-box h4,
.vet-warning-box h3, .vet-warning-box h4 {
  color: var(--accent-text) !important;
  margin-bottom: 0.5rem;
}

/* Tables */
table, .heuristic-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border: 1px solid var(--border) !important;
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0;
}
th {
  background: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--border) !important;
  font-weight: 700;
}
td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border) !important;
  color: var(--text-secondary) !important;
}
tr:last-child td {
  border-bottom: none !important;
}

/* ── APPLE-GRADE MULTI-COLUMN FOOTER SYSTEM ── */
footer[role="contentinfo"]{
  background: #ffffff !important;
  border-top: 1px solid #cbd5e1 !important;
  color: #64748b !important;
  padding: 3.5rem 1.5rem 2.25rem !important;
  margin-top: 4rem;
  width: 100%;
  box-sizing: border-box;
}



































/* ☀️ SUNSHINE (HIGH-CONTRAST LIGHT MODE) SPECIFIC OVERRIDES */




body[data-theme="sunshine"] .hero h1,
body[data-theme="sunshine"] h1 {
  background: none !important;
  -webkit-text-fill-color: #0f172a !important;
  color: #0f172a !important;
}
body[data-theme="sunshine"] .hero p {
  color: #334155 !important;
}
body[data-theme="sunshine"] .card,
body[data-theme="sunshine"] .empty-state-card,
body[data-theme="sunshine"] .soundboard-container,
body[data-theme="sunshine"] .gamification-card,
body[data-theme="sunshine"] .sound-box,
body[data-theme="sunshine"] .guide-card,
body[data-theme="sunshine"] .callout-box,
body[data-theme="sunshine"] .pipeline-step,
body[data-theme="sunshine"] .feature-card,
body[data-theme="sunshine"] .faq-item,
body[data-theme="sunshine"] .cat-profile-card,
body[data-theme="sunshine"] .manga-speech-card,
body[data-theme="sunshine"] .chat-bubble,
body[data-theme="sunshine"] .timeline-item {
  background: #ffffff !important;
  border: 2.5px solid #0f172a !important;
  box-shadow: 4px 4px 0px #0f172a !important;
  color: #0f172a !important;
}
body[data-theme="sunshine"] .page h1,
body[data-theme="sunshine"] .page h2,
body[data-theme="sunshine"] .page h3,
body[data-theme="sunshine"] .page h4,
body[data-theme="sunshine"] .section h2,
body[data-theme="sunshine"] .section h3 {
  color: #0f172a !important;
}
body[data-theme="sunshine"] .page p,
body[data-theme="sunshine"] .page li,
body[data-theme="sunshine"] .section p,
body[data-theme="sunshine"] .section li {
  color: #334155 !important;
}
body[data-theme="sunshine"] th {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-bottom: 2px solid #cbd5e1 !important;
}
body[data-theme="sunshine"] td {
  color: #1e293b !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body[data-theme="sunshine"] .key-takeaway,
body[data-theme="sunshine"] .science-box,
body[data-theme="sunshine"] .acoustic-card {
  background: #fdf2f8 !important;
  border-color: #f472b6 !important;
  color: #0f172a !important;
}
body[data-theme="sunshine"] .key-takeaway h3,
body[data-theme="sunshine"] .key-takeaway h4,
body[data-theme="sunshine"] .science-box h3,
body[data-theme="sunshine"] .science-box h4 {
  color: #be185d !important;
}
body[data-theme="sunshine"] footer[role="contentinfo"]{
  background: #ffffff !important;
  border-top-color: #cbd5e1 !important;
  color: #64748b !important;
}
body[data-theme="sunshine"] footer[role="contentinfo"] a{
  color: #be185d !important;
}

/* ── UNIVERSAL MODAL SYSTEM ── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20000;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal.open {
  display: flex !important;
}

.modal-content {
  background: var(--card-bg, #1e293b);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6);
  max-width: 580px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 1.75rem;
  color: var(--text-primary);
  animation: modalScaleIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 0;
}

.modal-close {
  background: var(--bg-tertiary, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: all 0.15s ease;
}

.modal-close:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

body[data-theme="sunshine"] .modal-content,
.modal-content {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 2.5px solid #0f172a !important;
  box-shadow: 6px 6px 0px #0f172a !important;
}

body[data-theme="sunshine"] .modal-header h2,
.modal-header h2 {
  color: #0f172a !important;
  font-weight: 900 !important;
}

body[data-theme="sunshine"] .modal-close,
.modal-close {
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  box-shadow: 2px 2px 0px #0f172a !important;
  color: #0f172a !important;
  font-weight: 900 !important;
}

body[data-theme="sunshine"] .modal-close:hover,
.modal-close:hover {
  background: #cf0f5c !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
}

/* ═════════════════════════════════════════════════════════════════
   UNIFIED APP TEMPLATE UI & WIREFRAME SYSTEM
   Sets symmetrical alignment, modern card geometry,
   and visual parity between Main App and Guide Pages.
   ═════════════════════════════════════════════════════════════════ */

/* Symmetrical Centered Viewport Shell & Natural Scrolling */
html {
  height: auto !important;
  min-height: 100% !important;
}

body {
  height: auto !important;
  min-height: 100vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

main:not(.intent-lab) {
  width: 100% !important;
  flex: 1 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  overflow: visible !important;
  height: auto !important;
}

main:has(.scroll-container) {
  flex-direction: row !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

.scroll-container {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.page-outer {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: flex-start !important;
  width: 100% !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 1.25rem !important;
  box-sizing: border-box !important;
}

/* Primary Content Column: Always Perfectly Symmetrically Centered */
.page {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 960px !important;
  margin: 0 auto !important;
  padding: 2.5rem 1rem 5rem !important;
  box-sizing: border-box !important;
}

/* Symmetrical Sidebar Ads: ONLY shown on >=1600px screens to prevent layout skew */
.page-sidebar {
  display: none !important;
  width: 160px !important;
  flex-shrink: 0 !important;
  padding: 2.5rem 0.5rem !important;
  position: sticky !important;
  top: 80px !important;
  align-self: flex-start !important;
}

@media (min-width: 1600px) {
  .page-sidebar {
    display: block !important;
  }
}

/* ── UNIFIED HERO WIREFRAME (Guide pages only) ── */
.page .hero {
  text-align: center !important;
  margin-bottom: 2rem !important;
  padding: 2rem 1.5rem 2rem !important;
  border: 2.5px solid #0f172a !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  box-shadow: 4px 4px 0px #0f172a !important;
}

.station-rail-left .hero {
  text-align: center !important;
  margin-bottom: 0.75rem !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.hero-label,
.hero .hero-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 0.35rem 0.95rem !important;
  border-radius: 9999px !important;
  background: var(--accent-light) !important;
  border: 1px solid var(--accent) !important;
  color: var(--accent-text) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 1.25rem !important;
  box-shadow: 0 2px 10px var(--accent-glow) !important;
}

.hero h1,
.page .hero h1 {
  font-size: clamp(2rem, 3.8vw, 2.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 1.25rem !important;
  color: var(--text-primary) !important;
}

.hero p,
.page .hero p {
  font-size: 1.1rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.7 !important;
  max-width: 660px !important;
  margin: 0 auto 2rem !important;
}



/* ── UNIFIED CARDS & WIREFRAME PANELS ── */
.feature-card,
.stat-card,
.category-block,
.pipeline-step,
.cat-sound-card,
.sound-card,
.sound-box,
.card {
  background: var(--card-bg) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  color: var(--text-primary) !important;
}

.feature-card {
  padding: 1.5rem !important;
  display: block !important;
  text-align: left !important;
}

.feature-card:hover,
.stat-card:hover,
.sound-card:hover,
.cat-sound-card:hover {
  transform: translateY(-2px) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22), 0 0 14px var(--accent-glow) !important;
}

.feature-card .feature-name,
.feature-name {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin-bottom: 0.4rem !important;
  line-height: 1.35 !important;
  display: block !important;
}

.feature-card:hover .feature-name {
  color: var(--accent-text) !important;
}

.feature-card .feature-desc,
.feature-desc {
  font-size: 0.9rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  display: block !important;
}

/* Stat row cards & Stat values */
.stat-row,
.stat-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 1.25rem !important;
  margin: 2rem 0 !important;
}

.stat-card {
  padding: 1.5rem 1.25rem !important;
  text-align: center !important;
}

.stat-number,
.stat-value,
.stat-card .stat-number,
.stat-card .stat-value {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: var(--accent-text) !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  margin-bottom: 0.4rem !important;
}

.stat-label,
.stat-card .stat-label {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  line-height: 1.5 !important;
}

/* Section styling */
.section {
  margin-bottom: 4rem !important;
}

.section-number {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  font-size: 0.725rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--accent-text) !important;
  margin-bottom: 0.65rem !important;
}

.section h2 {
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: var(--text-primary) !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 0.85rem !important;
  line-height: 1.25 !important;
}

/* Callout styling */
.callout {
  background: var(--card-bg) !important;
  border: 1px solid var(--border) !important;
  border-left: 4px solid var(--accent) !important;
  border-radius: 4px 16px 16px 4px !important;
  padding: 1.25rem 1.5rem !important;
  margin: 1.75rem 0 !important;
  font-size: 0.925rem !important;
  color: var(--text-secondary) !important;
  line-height: 1.7 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}
.callout.warning {
  border-left-color: var(--warning) !important;
}
.callout strong {
  color: var(--accent-text) !important;
}
.callout.warning strong {
  color: var(--warning) !important;
}

/* Light Mode Overrides for Unified Wireframe */
body[data-theme="sunshine"] .page .hero {
  background: #ffffff !important;
  border: 2.5px solid #0f172a !important;
  box-shadow: 4px 4px 0px #0f172a !important;
}

body[data-theme="sunshine"] .station-rail-left .hero {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 0.75rem !important;
}
body[data-theme="sunshine"] .callout {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  border-left-color: #be185d !important;
  color: #334155 !important;
}
body[data-theme="sunshine"] .callout.warning {
  border-left-color: #d97706 !important;
}

/* ── 🎮 VOCAL DNA STUDIO & PITCH MATCHER GAME ── */
.btn-tune-dna {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  border: 1px solid var(--accent);
  background: var(--accent-light);
  color: var(--accent-text);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.btn-tune-dna:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}

/* ── 🎮 90s ANIME PUNK ROCK & MANGA UI SYSTEM ── */
.btn-tune-dna {
  background: linear-gradient(135deg, #f43f5e 0%, #06b6d4 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  padding: 0.4rem 0.85rem !important;
  border-radius: 9999px !important;
  border: 2px solid #0f172a !important;
  box-shadow: 2.5px 2.5px 0px #0f172a !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  min-height: 40px !important;
}
.btn-tune-dna:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3.5px 3.5px 0px #0f172a !important;
}
.btn-tune-dna:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #0f172a !important;
}

/* ==========================================================================
   ⚡ 90s ANIME PUNK ROCK & DAYLIGHT MANGA DESIGN SYSTEM
   Authentic TRIGGER Anime Style • Neo-Brutalist Comic Ink
   ========================================================================== */

/* ── Global Manga Wireframe Foundations ── */


/* ── Daylight Manga Cards & Panels ── */
.card,
.empty-state-card,
.soundboard-container,
.gamification-card,
.feature-card,
.stat-card,
.category-block,
.pipeline-step,
.cat-sound-card,
.sound-card,
.sound-box,
.cat-profile-card,
.settings-panel-inner {
  background: #ffffff !important;
  border: 2.5px solid #0f172a !important;
  border-radius: 16px !important;
  box-shadow: 4px 4px 0px #0f172a !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

body[data-theme="cosmic"] .card,
body[data-theme="cosmic"] .empty-state-card,
body[data-theme="cosmic"] .soundboard-container,
body[data-theme="cosmic"] .gamification-card,
body[data-theme="cosmic"] .feature-card,
body[data-theme="cosmic"] .stat-card {
  background: #141b2d !important;
  border-color: #38bdf8 !important;
  box-shadow: 4px 4px 0px #38bdf8 !important;
}

/* ── Manga Badges & Sound Effect Pills ── */
.manga-hud-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  background: #fff1f2 !important;
  color: #be123c !important;
  border: 2px solid #0f172a !important;
  border-radius: 6px !important;
  padding: 0.2rem 0.55rem !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  box-shadow: 2px 2px 0px #0f172a !important;
}

.manga-sound-fx {
  display: inline-block !important;
  background: #fef08a !important;
  color: #0f172a !important;
  border: 1.5px solid #0f172a !important;
  padding: 0.1rem 0.45rem !important;
  border-radius: 4px !important;
  font-weight: 900 !important;
  font-size: 0.72rem !important;
  box-shadow: 1.5px 1.5px 0px #0f172a !important;
  transform: rotate(-2deg);
}

/* ── Tactical Anime Arcade Record Trigger Button ── */
.capture-hub-btn {
  width: 128px !important;
  height: 128px !important;
  border: 3.5px solid #0f172a !important;
  border-radius: 50% !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}
.capture-hub-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.capture-hub-btn:not([aria-disabled="true"]) {
  box-shadow: 0 0 24px rgba(255, 42, 133, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.5), 5px 5px 0px #0f172a !important;
  background: radial-gradient(circle at 35% 30%, #ff529a 0%, #cf0f5c 55%, #be123c 100%) !important;
  cursor: pointer !important;
}

.capture-hub-btn:hover:not([aria-disabled="true"]) {
  transform: translate(-2px, -2px) scale(1.03) !important;
  box-shadow: 0 0 36px rgba(255, 42, 133, 0.65), inset 0 2px 4px rgba(255, 255, 255, 0.6), 7px 7px 0px #0f172a !important;
}

.capture-hub-btn:active:not([aria-disabled="true"]) {
  transform: translate(3px, 3px) scale(0.97) !important;
  box-shadow: 0 0 16px rgba(255, 42, 133, 0.35), 2px 2px 0px #0f172a !important;
}

.capture-hub-btn.recording {
  border-color: #0f172a !important;
  animation: anime-record-pulse 1.4s infinite ease-in-out !important;
  background: radial-gradient(circle at 35% 30%, #f43f5e 0%, #be123c 55%, #9f1239 100%) !important;
}

@keyframes anime-record-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(244, 63, 94, 0.6), 5px 5px 0px #0f172a;
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 45px rgba(255, 42, 133, 0.85), 7px 7px 0px #0f172a;
  }
}

.capture-hub-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 78px !important;
  height: 78px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.20) 60%, rgba(255, 255, 255, 0.08) 100%) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 2px solid rgba(255, 255, 255, 0.65) !important;
  z-index: 2 !important;
  transition: all 0.2s ease !important;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.7), inset 0 -2px 6px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  color: #ffffff !important;
}

.capture-hub-btn:hover .capture-hub-inner {
  transform: scale(1.05) !important;
  background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.28) 60%, rgba(255, 255, 255, 0.14) 100%) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
}

.capture-hub-inner svg,
.capture-hub-inner .paw-svg {
  fill: #ffffff !important;
  color: #ffffff !important;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.45)) !important;
  transition: transform 0.2s ease !important;
}

.capture-hub-btn:hover .capture-hub-inner svg {
  transform: scale(1.08) !important;
}

body[data-theme="cosmic"] .capture-hub-btn:not([aria-disabled="true"]) {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.45), 6px 6px 0px #38bdf8 !important;
  background: radial-gradient(circle at 35% 30%, #38bdf8 0%, #0284c7 55%, #0369a1 100%) !important;
}

/* ── Manga Action Soundboard Buttons ── */
.soundboard-btn,
.talkback-sound-btn {
  background: #ffffff !important;
  border: 2.5px solid #0f172a !important;
  border-radius: 14px !important;
  box-shadow: 3.5px 3.5px 0px #0f172a !important;
  padding: 0.85rem 0.65rem !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.15s ease !important;
  cursor: pointer !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 60px !important;
}

.soundboard-btn:hover,
.talkback-sound-btn:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 5.5px 5.5px 0px #0f172a !important;
  background: #fff5f5 !important;
}

.soundboard-btn:active,
.talkback-sound-btn:active {
  transform: translate(2px, 2px) !important;
  box-shadow: 1px 1px 0px #0f172a !important;
}

.soundboard-btn .sb-label {
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  color: #0f172a !important;
  margin-top: 0.25rem !important;
}

.soundboard-btn .sb-tag {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 0.1rem 0.4rem !important;
  border-radius: 4px !important;
  border: 1px solid #0f172a !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  margin-top: 0.25rem !important;
}

/* ── Manga Speech Bubble Showcase ── */
.manga-speech-card {
  position: relative !important;
  background: #ffffff !important;
  border: 2.5px solid #0f172a !important;
  border-radius: 16px !important;
  padding: 1.15rem !important;
  box-shadow: 4px 4px 0px #0f172a !important;
  margin-bottom: 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0.85rem !important;
}

.manga-speech-avatar {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  border: 2.5px solid #0f172a !important;
  box-shadow: 2px 2px 0px #0f172a !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #fed7aa !important;
}

.manga-speech-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.manga-speech-content {
  flex: 1 !important;
}

.manga-speech-title {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
  margin-bottom: 0.25rem !important;
}

.manga-speech-body {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
}

/* ── Vocal DNA Studio Modal Framing ── */
#vocalStudioModal .modal-content {
  border: 3px solid #0f172a !important;
  box-shadow: 8px 8px 0px #0f172a !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  max-width: 640px !important;
}

body[data-theme="cosmic"] #vocalStudioModal .modal-content {
  border-color: #38bdf8 !important;
  box-shadow: 8px 8px 0px rgba(56, 189, 248, 0.5) !important;
  background: #141b2d !important;
}

/* ── Retro 90s Cyber-Anime Oscilloscope CRT Display ── */
.vocal-scope-bezel {
  background: #0b0f19 !important;
  border: 2.5px solid #0f172a !important;
  border-radius: 16px !important;
  padding: 0.9rem !important;
  box-shadow: 4px 4px 0px #0f172a, inset 0 2px 6px rgba(0, 0, 0, 0.6) !important;
  color: #f8fafc !important;
  position: relative !important;
  overflow: hidden !important;
}

.vocal-scope-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 0.6rem !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
}

.vocal-scope-telemetry {
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: #00f0ff !important;
  letter-spacing: 0.05em !important;
}

.vocal-scope-screen {
  height: 110px !important;
  width: 100% !important;
  position: relative !important;
  background: #030712 !important;
  border: 2px solid #1e293b !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.09) 1px, transparent 1px) !important;
  background-size: 20px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* CRT Scanline Overlay */
.vocal-scope-screen::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.18),
    rgba(0, 0, 0, 0.18) 1px,
    transparent 1px,
    transparent 2px
  ) !important;
  pointer-events: none !important;
  z-index: 5 !important;
}

/* Real-Time Equalizer Spectrum Bars (Anime Style) */
.vocal-spectrum-rack {
  position: absolute !important;
  bottom: 6px !important;
  left: 12px !important;
  right: 80px !important;
  height: 36px !important;
  display: flex !important;
  align-items: flex-end !important;
  gap: 6px !important;
  z-index: 2 !important;
  opacity: 0.75 !important;
}

.vocal-spectrum-bar {
  flex: 1 !important;
  background: linear-gradient(180deg, #cf0f5c 0%, #00f0ff 60%, #10b981 100%) !important;
  border-radius: 2px 2px 0 0 !important;
  min-height: 4px !important;
  transition: height 0.15s ease-out !important;
  box-shadow: 0 0 6px rgba(0, 240, 255, 0.4) !important;
}

/* Anime Cat HUD Targeting Reticle */
.vocal-pilot-reticle {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  border: 2px solid #00f0ff !important;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.6) !important;
  overflow: hidden !important;
  background: #0b0f19 !important;
  z-index: 6 !important;
}

.vocal-pilot-reticle img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.vocal-target-badge {
  position: absolute !important;
  bottom: 6px !important;
  right: 8px !important;
  font-family: ui-monospace, monospace !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  color: #00f0ff !important;
  background: rgba(0, 0, 0, 0.75) !important;
  padding: 1px 4px !important;
  border-radius: 3px !important;
  border: 1px solid #00f0ff !important;
  z-index: 6 !important;
}

/* ── Arcade Style Game Tab Bar ── */
.game-tab-bar {
  display: flex !important;
  background: #f1f5f9 !important;
  border: 2.5px solid #0f172a !important;
  border-radius: 14px !important;
  padding: 5px !important;
  gap: 8px !important;
  margin-bottom: 1rem !important;
  box-shadow: 3px 3px 0px #0f172a !important;
}

.game-tab-btn {
  flex: 1 !important;
  padding: 0.65rem 0.85rem !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border-radius: 9px !important;
  border: 2px solid transparent !important;
  background: transparent !important;
  color: #475569 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  min-height: 44px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  transition: all 0.12s ease !important;
}

.game-tab-btn.active {
  background: #cf0f5c !important;
  color: #ffffff !important;
  border: 2.5px solid #0f172a !important;
  box-shadow: 3px 3px 0px #0f172a !important;
  transform: translate(-1px, -1px);
}

.game-tab-btn:hover:not(.active) {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

/* ── Cyber-Punk VU Meter ── */
.vu-meter-container {
  background: #ffffff !important;
  border: 2.5px solid #0f172a !important;
  border-radius: 12px !important;
  padding: 0.85rem !important;
  margin-top: 0.65rem !important;
  box-shadow: 3.5px 3.5px 0px #0f172a !important;
}

.vu-meter-track {
  height: 18px !important;
  background: #0b0f19 !important;
  border: 2px solid #0f172a !important;
  border-radius: 8px !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.7) !important;
}

.vu-meter-fill {
  height: 100% !important;
  border-radius: 6px !important;
  background: linear-gradient(to right, #10b981 0%, #06b6d4 40%, #facc15 75%, #cf0f5c 100%) !important;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5) !important;
  transition: width 0.15s ease-out !important;
}

.vu-meter-scale {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 0.68rem !important;
  font-family: ui-monospace, monospace !important;
  font-weight: 800 !important;
  color: #475569 !important;
  margin-top: 0.35rem !important;
}

/* ── Analog Synthesizer Sliders ── */
.vocal-slider-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4rem !important;
  background: #ffffff !important;
  border: 2.5px solid #0f172a !important;
  border-radius: 14px !important;
  padding: 0.85rem !important;
  box-shadow: 3.5px 3.5px 0px #0f172a !important;
}

.vocal-slider-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  text-transform: uppercase !important;
}

.vocal-slider-val {
  font-family: ui-monospace, monospace !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  background: #cf0f5c !important;
  border: 2px solid #0f172a !important;
  padding: 0.18rem 0.6rem !important;
  border-radius: 6px !important;
  font-size: 0.78rem !important;
  box-shadow: 2px 2px 0px #0f172a !important;
}

.vocal-range-slider {
  width: 100% !important;
  height: 14px !important;
  border-radius: 999px !important;
  background: #e2e8f0 !important;
  border: 2.5px solid #0f172a !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  cursor: pointer !important;
  margin: 0.5rem 0 !important;
}

.vocal-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #cf0f5c !important;
  border: 2.5px solid #0f172a !important;
  box-shadow: 2.5px 2.5px 0px #0f172a !important;
  cursor: grab !important;
  transition: transform 0.1s !important;
}

.vocal-range-slider::-webkit-slider-thumb:active {
  cursor: grabbing !important;
  transform: scale(1.2) !important;
  background: #00f0ff !important;
}

/* ── Challenge Mini-Game Target Bracket ── */
.challenge-target-zone {
  border: 3px dashed #f59e0b !important;
  background: #fffbeb !important;
  border-radius: 16px !important;
  padding: 1.1rem !important;
  text-align: center !important;
  box-shadow: 4px 4px 0px #0f172a !important;
}

.challenge-score-pill {
  font-size: 1.45rem !important;
  font-weight: 900 !important;
  color: #047857 !important;
}

/* ── Calibration Pill on Translation Cards ── */
.vocal-calibration-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  padding: 0.35rem 0.85rem !important;
  background: #ecfdf5 !important;
  border: 2.5px solid #0f172a !important;
  color: #065f46 !important;
  border-radius: 999px !important;
  margin-top: 0.65rem !important;
  box-shadow: 2.5px 2.5px 0px #0f172a !important;
}

/* ── Manga Cyber Bioacoustic Fingerprint & Formants HUD ── */
#fingerprintModal .modal-content {
  border: 3px solid #0f172a !important;
  box-shadow: 8px 8px 0px #0f172a !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  max-width: 620px !important;
}

#fingerprintCurveContainer {
  background: #030712 !important;
  border: 2px solid #1e293b !important;
  border-radius: 12px !important;
  position: relative !important;
  overflow: hidden !important;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.08) 1px, transparent 1px) !important;
  background-size: 20px 20px !important;
}

#fingerprintCurveContainer::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.25) 0px,
    rgba(0, 0, 0, 0.25) 2px,
    transparent 2px,
    transparent 4px
  ) !important;
}

#fingerprintModal .modal-body > div {
  border: 2.5px solid #0f172a !important;
  border-radius: 14px !important;
  box-shadow: 3.5px 3.5px 0px #0f172a !important;
  background: #ffffff !important;
  padding: 0.95rem !important;
}

#fingerprintFormantsList > div > div:last-child {
  height: 10px !important;
  border: 2px solid #0f172a !important;
  background: #f1f5f9 !important;
  border-radius: 999px !important;
  overflow: hidden !important;
}

#fingerprintFormantsList > div:nth-child(1) #fpF0Bar {
  background: linear-gradient(90deg, #cf0f5c, #be123c) !important;
}

#fingerprintFormantsList > div:nth-child(2) #fpF1Bar {
  background: linear-gradient(90deg, #00f0ff, #0284c7) !important;
}

#fingerprintFormantsList > div:nth-child(3) #fpF2Bar {
  background: linear-gradient(90deg, #facc15, #ea580c) !important;
}

/* ── Tactile Neo-Brutalist Arcade Action Buttons ── */
.btn-cat-chip { min-height: var(--target); min-width: var(--target); }
.modal-content .btn,
.btn-cat-chip,
.modal-close,
.btn.primary {
  border: 2.5px solid #0f172a !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 3.5px 3.5px 0px #0f172a !important;
  transition: all 0.12s ease !important;
  cursor: pointer !important;
}

.btn.primary {
  background: #cf0f5c !important;
  color: #ffffff !important;
}

.modal-content .btn:hover,
.btn-cat-chip:hover,
.modal-close:hover,
.btn.primary:hover {
  transform: translate(-1.5px, -1.5px) !important;
  box-shadow: 5px 5px 0px #0f172a !important;
}

.modal-content .btn:active,
.btn-cat-chip:active,
.modal-close:active,
.btn.primary:active {
  transform: translate(2.5px, 2.5px) !important;
  box-shadow: 1px 1px 0px #0f172a !important;
}

/* Modal Close Button */
.modal-close {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

/* ── Apple HIG Touch Target Floor (44x44pt) ── */
.btn-tune-dna,
.btn-cat-chip,
.game-tab-btn,
.modal-close,
.soundboard-btn,
.talkback-sound-btn,
.theme-pill-btn {
  min-height: 44px;
  box-sizing: border-box;
}

/* ── Apple HIG Accessibility: Strict Reduced Motion Support ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Daylight Anime Hero & Video Banner Architecture ── */
.hero-top-banner {
  text-align: center;
  margin-bottom: 1.25rem;
  width: 100%;
}

.hero-video-banner {
  width: 100%;
  margin-bottom: 2rem;
  position: relative;
}

.hero-video-banner .home-commercial-viewport {
  position: relative;
  width: 100%;
  border-radius: 16px !important;
  overflow: hidden;
  background: #000000;
  border: 2.5px solid #0f172a !important;
  box-shadow: 4.5px 4.5px 0px #0f172a !important;
  aspect-ratio: 16 / 9;
  max-height: 480px;
}

.home-commercial-controls {
  background: var(--on-highlight);
}

.cat-select-overlay {
  display: none;
  background: #ffffff !important;
  border: 2.5px solid #0f172a !important;
  box-shadow: 4px 4px 0px #0f172a !important;
  border-radius: 16px !important;
  padding: 1.25rem !important;
  margin-bottom: 1.15rem;
  width: 100%;
  box-sizing: border-box;
}

.cat-record-option-btn {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #ffffff !important;
  border: 2px solid #0f172a !important;
  box-shadow: 2.5px 2.5px 0px #0f172a !important;
  border-radius: 12px !important;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.cat-record-option-btn:hover,
.cat-record-option-btn:focus-visible {
  transform: translate(-1.5px, -1.5px);
  box-shadow: 4px 4px 0px #0f172a !important;
  background: #fff1f2 !important;
}

.cat-record-option-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #0f172a !important;
}

.cat-target-locked-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ecfdf5 !important;
  border: 2px solid #0f172a !important;
  box-shadow: 2.5px 2.5px 0px #0f172a !important;
  border-radius: 10px !important;
  padding: 0.65rem 0.95rem;
  margin-bottom: 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════════
   📱 MOBILE QUICK-CAPTURE OVERLAY & BOTTOM SHEET
   ═══════════════════════════════════════════════════════════════ */
.mobile-quick-capture-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: auto;
  transition: opacity 0.25s ease-out;
}

.mobile-quick-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-quick-sheet {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-top: 3.5px solid #0f172a;
  border-left: 3.5px solid #0f172a;
  border-right: 3.5px solid #0f172a;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.4);
  padding: 1.15rem 1.25rem 2rem;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transform: translateY(0);
  animation: slideUpQuickSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpQuickSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.mobile-quick-handle {
  width: 44px;
  height: 5px;
  background: #cbd5e1;
  border-radius: 999px;
  margin: 0 auto 0.4rem;
}

.mobile-quick-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-quick-close-btn {
  background: #f8fafc;
  border: 2px solid #0f172a;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #0f172a;
  box-shadow: 2px 2px 0px #0f172a;
  cursor: pointer;
  transition: transform 0.1s, background 0.15s;
}
.mobile-quick-close-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px #0f172a;
}

.mobile-quick-heading {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.mobile-quick-subheading {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  margin: 0;
  line-height: 1.35;
}

.mobile-quick-cat-section {
  background: #f8fafc;
  border: 2px solid #0f172a;
  border-radius: 14px;
  padding: 0.65rem 0.75rem;
  box-shadow: 2px 2px 0px #0f172a;
}

.mobile-quick-section-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.mobile-quick-cats-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.mobile-quick-cat-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  background: #ffffff;
  border: 2px solid #0f172a;
  border-radius: 999px;
  box-shadow: 1.5px 1.5px 0px #0f172a;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  transition: all 0.15s;
}
.mobile-quick-cat-pill.active {
  background: #fff1f2;
  border-color: #cf0f5c;
  color: #be123c;
  box-shadow: 2px 2px 0px #0f172a;
}
.mobile-quick-cat-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #0f172a;
  object-fit: cover;
  display: block;
}

/* Quick Record Paw Hub */
.mobile-quick-paw-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0 0.25rem;
}

.mobile-paw-button-container {
  position: relative;
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-quick-paw-btn {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cf0f5c 0%, #be123c 100%);
  border: 3.5px solid #0f172a;
  box-shadow: 4px 4px 0px #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: transform 0.1s, box-shadow 0.1s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.mobile-quick-paw-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #0f172a;
}
.mobile-quick-paw-btn.recording {
  background: #dc2626 !important;
  animation: pulseRecording 1.2s infinite;
}

.mobile-paw-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed #cf0f5c;
  opacity: 0.6;
  pointer-events: none;
  animation: spinSlow 12s linear infinite;
}

.mobile-quick-timer-wrap {
  min-height: 1.25rem;
}
.mobile-quick-timer {
  font-size: 1.1rem;
  font-weight: 900;
  font-family: ui-monospace, monospace;
  color: #cf0f5c;
}

.mobile-quick-canvas-container {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-idle-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 20px;
}
.mobile-idle-bars .bar {
  width: 4px;
  height: 8px;
  background: #94a3b8;
  border-radius: 2px;
  animation: idleBarWave 1.4s ease-in-out infinite;
}
.mobile-idle-bars .bar:nth-child(2) { animation-delay: 0.2s; height: 14px; }
.mobile-idle-bars .bar:nth-child(3) { animation-delay: 0.4s; height: 18px; background: #cf0f5c; }
.mobile-idle-bars .bar:nth-child(4) { animation-delay: 0.6s; height: 14px; }
.mobile-idle-bars .bar:nth-child(5) { animation-delay: 0.8s; height: 8px; }

@keyframes idleBarWave {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1.4); }
}

.mobile-quick-status-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  text-align: center;
}

/* Quick Translation Result Box */
.mobile-quick-result-box {
  background: #ecfdf5;
  border: 2.5px solid #0f172a;
  box-shadow: 3px 3px 0px #0f172a;
  border-radius: 16px;
  padding: 0.85rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  animation: fadeInQuickResult 0.3s ease-out;
}
@keyframes fadeInQuickResult {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-quick-result-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #0f172a;
  overflow: hidden;
  flex-shrink: 0;
  background: #fed7aa;
}
.mobile-quick-result-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mobile-quick-result-content {
  flex: 1;
  min-width: 0;
}
.mobile-quick-result-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #065f46;
  text-transform: uppercase;
}
.mobile-quick-result-quote {
  font-size: 0.95rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.3;
  margin: 0.2rem 0 0.35rem;
}
.mobile-quick-result-meta {
  font-size: 0.7rem;
  font-weight: 700;
  color: #047857;
  font-family: ui-monospace, monospace;
}
.mobile-quick-result-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.65rem;
  flex-wrap: wrap;
}
.btn-quick-replay {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1.5px solid #0f172a;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 1.5px 1.5px 0px #0f172a;
  cursor: pointer;
}
.btn-quick-details {
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  border: 1.5px solid #0f172a;
  background: #cf0f5c;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 1.5px 1.5px 0px #0f172a;
  cursor: pointer;
}

/* Footer Dismiss */
.mobile-quick-footer {
  border-top: 1.5px dashed #cbd5e1;
  padding-top: 0.65rem;
  text-align: center;
}
.mobile-quick-dismiss-link {
  background: none;
  border: none;
  font-size: 0.8rem;
  font-weight: 800;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: all 0.15s;
}
.mobile-quick-dismiss-link:hover, .mobile-quick-dismiss-link:active {
  color: #0f172a;
  background: #f1f5f9;
}

/* 🐾 Mobile Sticky FAB Button */
.mobile-sticky-record-fab {
  display: none;
}
@media (max-width: 768px) {
  .mobile-sticky-record-fab {
    display: flex;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9990;
    align-items: center;
    gap: 0.45rem;
    background: #cf0f5c;
    color: #ffffff;
    border: 2.5px solid #0f172a;
    border-radius: 999px;
    padding: 0.65rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 900;
    box-shadow: 3.5px 3.5px 0px #0f172a;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-sticky-record-fab:active {
    transform: translate(2px, 2px);
    box-shadow: 1.5px 1.5px 0px #0f172a;
  }
}
@media (min-width: 769px) {
  .mobile-quick-capture-overlay {
    display: none !important;
  }
  .mobile-sticky-record-fab {
    display: none !important;
  }
}

/* ── UNIFIED RESPONSIVE CONTENT GRIDS & HERO CENTERING ── */
.pricing-hero,
.soundboard-hero {
  width: 100% !important;
  max-width: 840px !important;
  margin: 0 auto !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.pricing-container {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto 4rem !important;
  padding: 0 1.5rem !important;
  box-sizing: border-box !important;
}

.pricing-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
  margin-top: 2rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 1024px) {
  .pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

.soundboard-main-container {
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto 4rem !important;
  padding: 0 1.5rem !important;
  box-sizing: border-box !important;
}
