/* ==========================================================================
   Handpan Soul Acoustic Studio V2 (studio.handpansoul.com)
   Modern Luxury Acoustic Sanctuary UI · Lap POV 180° Stage · WCAG AA Compliant
   ========================================================================== */

:root,
[data-theme="sanctuary"] {
  --slate: #101C26;
  --ink: #F2F7F7;
  --ink-2: #C7D2DA;
  --ink-muted: #9BAAB5;
  --gold: #7FAEA6;
  --gold-lt: #9FC3B0;
  --bg-canvas: #080E14;
  --paper: #0D1620;
  --paper-deep: #111D29;
  --surface: rgba(16, 27, 38, 0.86);
  --surface-solid: #111D29;
  --surface-elev: #162635;
  --line: rgba(159, 195, 176, 0.16);
  --line-strong: rgba(159, 195, 176, 0.30);

  /* Signature Handpan Soul Botanical Emerald & Brushed Bronze */
  --g: #8BC34A;
  --g-hover: #9BD05B;
  --g-ink: #132009;
  --g-soft: rgba(139, 195, 74, 0.14);
  --g-border: rgba(139, 195, 74, 0.42);
  --accent-t: #A9DF6C;

  --danger: #EF4444;
  --danger-soft: rgba(239, 68, 68, 0.14);
  --danger-border: rgba(248, 113, 113, 0.45);
  --amber: #9FC3B0;

  --stage-glow: none;
  --shell-shadow: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.62));

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 18px 46px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 28px 68px rgba(0, 0, 0, 0.56);

  --font-serif: "Merriweather", Georgia, serif;
  --font-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Scale-specific luxury accents in Sanctuary Dark */
[data-theme="sanctuary"][data-scale-theme="concert"] {
  --g: #6EA89E;
  --g-hover: #82B9B0;
  --g-ink: #061816;
  --g-soft: rgba(110, 168, 158, 0.16);
  --g-border: rgba(110, 168, 158, 0.44);
  --accent-t: #9FD4CB;
}

[data-theme="sanctuary"][data-scale-theme="aegean"] {
  --g: #3BA1B5;
  --g-hover: #4DB3C7;
  --g-ink: #07191E;
  --g-soft: rgba(59, 161, 181, 0.16);
  --g-border: rgba(94, 195, 214, 0.45);
  --accent-t: #7ED6E7;
}

/* Optional Daylight Alabaster Theme (1-Click Header Toggle) */
[data-theme="light"] {
  --slate: #182936;
  --ink: #162632;
  --ink-2: #4A5963;
  --ink-muted: #52616B;
  --gold: #315B55;
  --gold-lt: #8FBEB5;
  --bg-canvas: #F5F9F9;
  --paper: #EAF2F3;
  --paper-deep: #DFECEE;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #FFFFFF;
  --surface-elev: #FFFFFF;
  --line: #D5E2E4;
  --line-strong: #B8CDD0;

  --g: #8BC34A;
  --g-hover: #7CB342;
  --g-ink: #18260C;
  --g-soft: #F2F8EB;
  --g-border: #C6E1A7;
  --accent-t: #396514;

  --danger-soft: #FEF2F2;
  --danger-border: #FECACA;

  --stage-glow: none;
  --shell-shadow: drop-shadow(0 20px 32px rgba(22, 38, 50, 0.22));

  --shadow-sm: 0 6px 20px rgba(22, 38, 50, 0.05);
  --shadow-md: 0 14px 36px rgba(22, 38, 50, 0.08);
  --shadow-lg: 0 24px 56px rgba(22, 38, 50, 0.14);
}

[data-theme="light"][data-scale-theme="concert"] {
  --g: #3D736B;
  --g-hover: #315E57;
  --g-ink: #FFFFFF;
  --g-soft: #EAF3F2;
  --g-border: #BDD8D4;
  --accent-t: #29524C;
}

[data-theme="light"][data-scale-theme="aegean"] {
  --g: #1E5A67;
  --g-hover: #16444E;
  --g-ink: #FFFFFF;
  --g-soft: #E8F4F7;
  --g-border: #AFD7E0;
  --accent-t: #1B5460;
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg-canvas);
  background-image: none;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: var(--accent-t);
  text-decoration: none;
}

button, select, input {
  font-family: inherit;
}

:where(a, button, input, select, iframe):focus-visible {
  outline: 2.5px solid var(--accent-t);
  outline-offset: 3px;
}

.hs-svg-ico {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

/* 1. Top Atelier Ribbon */
.hs-bf26-topbar {
  background: #0D1821;
  color: #F2EFE9;
  text-align: center;
  padding: calc(7px + env(safe-area-inset-top, 0px)) calc(16px + env(safe-area-inset-right, 0px)) 7px calc(16px + env(safe-area-inset-left, 0px));
  font-size: 12.2px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(159, 195, 176, 0.22);
}

.hs-bf26-topbar strong {
  color: #9ED35E;
  font-weight: 700;
}

.hs-bf26-topbar a {
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 5px;
  white-space: nowrap;
}

.hs-bf26-topbar a:hover {
  color: #9ED35E;
}

/* 2. Frosted Glass Header */
.hs-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 14, 20, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

[data-theme="light"] .hs-header {
  background: rgba(245, 242, 235, 0.88);
}

.hs-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px calc(20px + env(safe-area-inset-right, 0px)) 9px calc(20px + env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hs-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.hs-brand img {
  height: 38px;
  width: auto;
  display: block;
  filter: none;
}

[data-theme="sanctuary"] .hs-brand img.hs-logo-light {
  display: none;
}

[data-theme="light"] .hs-brand img.hs-logo-dark {
  display: none;
}

.hs-brand-divider {
  width: 1px;
  height: 24px;
  background: var(--line-strong);
}

.hs-brand-title {
  display: flex;
  flex-direction: column;
}

.hs-brand-title strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.05;
}

.hs-brand-title span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.hs-header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hs-seg-pill {
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.hs-seg-btn {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
  min-height: 30px;
}

.hs-seg-btn.is-active {
  background: var(--gold-lt);
  color: #131E27;
}

[data-theme="light"] .hs-seg-btn.is-active {
  background: var(--slate);
  color: #FFFFFF;
}

.hs-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.hs-icon-btn:hover,
.hs-icon-btn.is-active {
  border-color: var(--g);
  background: var(--g-soft);
  color: var(--ink);
}

.hs-pov-btn {
  border-color: var(--gold);
  background: rgba(159, 195, 176, 0.1);
}

.hs-pov-btn[aria-pressed="true"] {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  color: #131E27;
}

.hs-shop-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--g);
  border: 1px solid var(--g);
  color: var(--g-ink) !important;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.16s ease;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.30);
}

.hs-shop-cta-pill:hover {
  background: var(--g-hover);
  border-color: var(--g-hover);
  transform: translateY(-1px);
}

/* 3. Main Container & Compact Instrument-First Header */
.hs-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 20px 64px;
}

.hs-hero-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hs-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}

.hs-hero-strip h1 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.7vw, 33px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

.hs-hero-strip h1 .hs-accent {
  color: #9FC3B0;
  font-style: normal;
}

.hs-sec-h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.16;
  margin: 0 0 6px;
  color: var(--ink);
}

.hs-sec-h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--ink);
}

.hs-sec-lead {
  margin: 0 0 14px;
  color: var(--ink-2);
  font-size: 14px;
  max-width: 700px;
}

.hs-audio-health-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--g-soft);
  border: 1px solid var(--g-border);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.hs-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g);
  box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.25);
  flex-shrink: 0;
}

/* 4. Sleek 4-Module Floating Segmented Dock */
.hs-module-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 5px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.hs-tab-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  border-radius: 13px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
  min-height: 50px;
}

.hs-tab-btn:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.hs-tab-btn.is-active {
  border-color: var(--g-border);
  background: var(--surface-elev);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.hs-tab-step {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(159, 195, 176, 0.12);
}

.hs-tab-btn.is-active .hs-tab-step {
  background: var(--g);
  color: var(--g-ink);
}

.hs-tab-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.hs-tab-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.2px;
  font-weight: 700;
  color: var(--ink);
}

.hs-tab-sub {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
}

.hs-panel {
  display: none;
}

.hs-panel.is-active {
  display: block;
}

/* 5. Studio Surface Card */
.hs-card {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
}

.hs-stage-deck {
  padding: 16px 20px 20px;
}

.hs-scale-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.hs-scale-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hs-scale-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-size: 12.8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.hs-scale-pill:hover {
  border-color: var(--g);
}

.hs-scale-pill.is-active {
  border-color: var(--g);
  background: var(--g-soft);
  box-shadow: 0 0 20px rgba(139, 195, 74, 0.14);
}

.hs-badge-mini {
  font-size: 12px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--g);
  color: var(--g-ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hs-stage-mode-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* 6. Sleek "Can Your Pan Play This Song?" Bar */
.hs-compat-banner {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 14px;
  margin-bottom: 12px;
}

.hs-compat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.hs-compat-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 13.2px;
  color: var(--ink);
}

.hs-compat-hint {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}

.hs-pan-tier-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hs-tier-btn {
  min-height: 33px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-solid);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hs-tier-btn:hover {
  border-color: var(--g);
}

.hs-tier-btn.is-active {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  color: #131E27;
  font-weight: 700;
}

[data-theme="light"] .hs-tier-btn.is-active {
  background: var(--slate);
  border-color: var(--slate);
  color: #FFFFFF;
}

.hs-tier-btn.is-hero-tier.is-active {
  background: var(--g);
  border-color: var(--g);
  color: var(--g-ink);
}

.hs-compat-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 11px;
  background: var(--g-soft);
  border: 1px solid var(--g-border);
  font-size: 12.8px;
}

.hs-compat-result.has-missing {
  background: var(--danger-soft);
  border-color: var(--danger-border);
}

.hs-missing-chip {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  margin: 1px 2px;
  border-radius: 6px;
  background: #DC2626;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.hs-unlock-link-btn {
  border: 0;
  background: var(--g);
  color: var(--g-ink) !important;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none !important;
}

/* 7. Guided Song & Tempo Bar */
.hs-song-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.hs-song-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hs-song-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-size: 12.8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.hs-song-btn:hover {
  border-color: var(--g);
  background: var(--g-soft);
}

.hs-song-btn.is-playing {
  background: var(--g);
  border-color: var(--g);
  color: var(--g-ink);
  box-shadow: 0 6px 20px rgba(139, 195, 74, 0.28);
}

.hs-playback-opts {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

/* 7B. Organic Handpan Flow Pulse / Metronome Bar */
.hs-pulse-trigger {
  border-color: rgba(159, 195, 176, 0.36);
}
.hs-pulse-trigger.is-active {
  background: var(--g-soft);
  border-color: var(--g);
  color: var(--ink);
}
.hs-pulse-dot-ico {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--gold-lt);
  opacity: 0.72;
  transition: transform 0.14s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
.hs-pulse-trigger.is-active .hs-pulse-dot-ico {
  background: var(--g);
  opacity: 1;
  box-shadow: 0 0 10px rgba(139, 195, 74, 0.75);
}
.hs-pulse-dot-ico.is-beat-flash {
  transform: scale(1.45);
}

.hs-pulse-dock {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 12px 15px;
  margin-bottom: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}
.hs-pulse-dock[hidden] {
  display: none !important;
}
.hs-pulse-row-top,
.hs-pulse-row-bot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}
.hs-pulse-row-bot {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.hs-pulse-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.hs-pulse-play-btn {
  min-height: 38px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--g);
  background: var(--g);
  color: var(--g-ink);
  font: 700 12.8px/1 var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.hs-pulse-play-btn:hover {
  filter: brightness(1.05);
}
.hs-pulse-play-btn.is-playing {
  background: transparent;
  color: var(--ink);
  border-color: var(--gold-lt);
}
.hs-pulse-orbs {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.hs-pulse-orb {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  flex: 0 0 38px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--surface-solid);
  color: var(--ink);
  font: 700 12px/1 var(--font-mono);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.12s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.14s ease, border-color 0.14s ease, box-shadow 0.16s ease;
}
.hs-pulse-orb::after {
  content: "";
  position: absolute;
  inset: -4px;
  min-width: 44px;
  min-height: 44px;
}
.hs-pulse-orb.is-level-2 {
  border-color: var(--gold-lt);
  color: var(--gold-lt);
}
[data-theme="light"] .hs-pulse-orb.is-level-2 {
  border-color: #9A7228;
  color: #7A5818;
}
.hs-pulse-orb.is-level-0 {
  border-style: dashed;
  opacity: 0.45;
}
.hs-pulse-orb.is-now {
  transform: scale(1.15);
  background: var(--g);
  border-color: var(--g);
  color: var(--g-ink) !important;
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.24), 0 0 18px rgba(139, 195, 74, 0.55);
}
.hs-pulse-orb.is-level-2.is-now {
  background: #9FC3B0;
  border-color: #9FC3B0;
  color: #131E27 !important;
  box-shadow: 0 0 0 5px rgba(159, 195, 176, 0.28), 0 0 22px rgba(159, 195, 176, 0.65);
}
.hs-pulse-orb.is-level-0.is-now {
  transform: scale(1.04);
  background: transparent;
  border-color: var(--ink-muted);
  color: var(--ink-muted) !important;
  box-shadow: none;
  opacity: 0.7;
}
.hs-pulse-hint {
  font-size: 12px;
  color: var(--ink-muted);
}

.hs-pulse-grooves {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hs-groove-pill,
.hs-voice-pill {
  min-height: 34px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-solid);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.14s ease;
}
.hs-groove-pill:hover,
.hs-voice-pill:hover {
  border-color: var(--g);
  color: var(--ink);
}
.hs-groove-pill.is-active,
.hs-voice-pill.is-active {
  background: var(--g-soft);
  border-color: var(--g);
  color: var(--ink);
  font-weight: 700;
}

.hs-pulse-bpm-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.hs-bpm-step {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface-solid);
  color: var(--ink);
  font: 700 16px/1 var(--font-mono);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.hs-bpm-step:hover {
  border-color: var(--g);
}
.hs-bpm-readout {
  min-width: 68px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.hs-bpm-readout small {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}
.hs-pulse-slider {
  width: 118px;
  accent-color: #8BC34A;
  cursor: pointer;
}
.hs-tap-tempo-btn {
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px dashed var(--gold-lt);
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
}
.hs-tap-tempo-btn:hover,
.hs-tap-tempo-btn.is-tapped {
  border-style: solid;
  background: rgba(159, 195, 176, 0.18);
}

.hs-pulse-voices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.hs-voice-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  margin-right: 2px;
}
.hs-pulse-hide-btn {
  min-height: 34px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.hs-pulse-hide-btn:hover {
  color: var(--ink);
}

/* Subtle Peripheral-Vision Downbeat Breathing Halo on Central Ding */
.hs-tone.is-pulse-downbeat .hs-tone-surface {
  box-shadow: 0 0 0 6px rgba(159, 195, 176, 0.34), 0 0 22px rgba(159, 195, 176, 0.45);
  border-color: #9FC3B0;
}
@media (max-width: 640px) {
  .hs-pulse-dock {
    padding: 11px 11px;
  }
  .hs-pulse-hint {
    display: none;
  }
  .hs-pulse-slider {
    width: 96px;
  }
  .hs-groove-pill,
  .hs-voice-pill,
  .hs-tap-tempo-btn {
    min-height: 38px;
  }
}

/* 8. Floating Transparent Dual-Shell Stage (180° Lap POV + Smooth Flip) */
.hs-dual-stage {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 18px;
  align-items: start;
}

.hs-shell-card {
  background: var(--stage-glow);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 14px 14px 12px;
  text-align: center;
  position: relative;
}

.hs-shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding: 0 4px;
}

.hs-shell-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.hs-shell-label.is-accent {
  color: var(--accent-t);
}

.hs-pov-compass {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(159, 195, 176, 0.1);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 999px;
}

.hs-pov-foot {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.hs-note-stage {
  position: relative;
  width: 100%;
  max-width: 446px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.hs-note-stage.is-flipped-180 {
  transform: rotate(180deg);
}

.hs-note-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  pointer-events: none;
  filter: var(--shell-shadow);
}

.hs-constellation-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hs-tone-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.hs-tone {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: max(var(--w), 44px);
  height: max(var(--h), 44px);
  transform: translate(-50%, -50%) rotate(var(--r));
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
  font: 700 clamp(11px, 1.45vw, 13.5px)/1 var(--font-sans);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
  touch-action: manipulation;
}

.hs-tone-surface {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 1.8px solid var(--c, #8BC34A);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 17, 24, 0.16) 0%, rgba(10, 17, 24, 0.58) 100%);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.08), 0 2px 10px rgba(0, 0, 0, 0.34);
  transition: transform 0.13s ease, background 0.13s ease, box-shadow 0.13s ease, border-color 0.13s ease;
}

.hs-tone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  transform: rotate(calc(-1 * var(--r)));
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

/* Keep every note label 100% upright when stage is flipped 180° */
.hs-note-stage.is-flipped-180 .hs-tone-inner {
  transform: rotate(calc(180deg - var(--r)));
}

.hs-tone-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  opacity: 0.88;
  color: #FFFFFF;
}

.hs-tone:hover .hs-tone-surface,
.hs-tone.is-playing .hs-tone-surface {
  transform: scale(1.15);
  border-width: 2.8px;
  border-color: #FFFFFF;
  background: radial-gradient(circle, rgba(139, 195, 74, 0.42) 0%, rgba(139, 195, 74, 0.72) 100%);
  box-shadow: 0 0 0 5px rgba(139, 195, 74, 0.34), 0 0 26px var(--g);
}

[data-scale-theme="concert"] .hs-tone.is-playing .hs-tone-surface {
  background: radial-gradient(circle, rgba(110, 168, 158, 0.45) 0%, rgba(110, 168, 158, 0.76) 100%);
  box-shadow: 0 0 0 5px rgba(110, 168, 158, 0.34), 0 0 26px var(--g);
}

[data-scale-theme="aegean"] .hs-tone.is-playing .hs-tone-surface {
  background: radial-gradient(circle, rgba(59, 161, 181, 0.45) 0%, rgba(59, 161, 181, 0.76) 100%);
  box-shadow: 0 0 0 5px rgba(59, 161, 181, 0.34), 0 0 26px var(--g);
}

.hs-tone.is-next-up .hs-tone-surface {
  border-color: #9FC3B0;
  border-width: 2.8px;
  box-shadow: 0 0 0 4px rgba(103, 183, 209, 0.38), 0 0 18px rgba(103, 183, 209, 0.88);
}

.hs-tone.is-chord-note .hs-tone-surface {
  border-color: #9FC3B0;
  border-width: 2.6px;
  background: rgba(20, 34, 46, 0.62);
  box-shadow: 0 0 0 4px rgba(230, 212, 174, 0.36);
}

.hs-tone.is-missing .hs-tone-surface {
  border: 2.2px dashed #F87171;
  background: rgba(127, 29, 29, 0.58);
  opacity: 0.88;
}

.hs-tone.is-missing-flash .hs-tone-surface {
  transform: scale(1.16);
  border: 3px dashed #FCA5A5;
  background: rgba(220, 38, 38, 0.82);
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.45), 0 0 24px #EF4444;
}

.hs-gu-badge {
  position: absolute;
  left: var(--gu-x, 50%);
  top: var(--gu-y, 50%);
  transform: translate(-50%, -50%);
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(159, 195, 176, 0.72);
  background: rgba(10, 17, 24, 0.82);
  color: #9FC3B0;
  font-family: var(--font-sans); font-weight: 700; font-size: 12px; line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.hs-note-stage.is-flipped-180 .hs-gu-badge {
  transform: translate(-50%, -50%) rotate(180deg);
}

.hs-single-shell-note {
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-2);
}

/* Status Ribbon + Quick Chords below Stage */
.hs-status-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-top: 14px;
  font-size: 13px;
}

.hs-status-text {
  font-weight: 500;
  color: var(--ink-2);
}

.hs-status-text strong {
  color: var(--ink);
}

.hs-next-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

.hs-hand-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gold-lt);
  color: #131E27;
  font-size: 12px;
  font-weight: 800;
}

.hs-quick-chord-strip {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.hs-kbd-hint {
  margin: 11px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--ink-muted);
}

.hs-kbd-hint kbd {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

/* 3D Flip Embed Stage */
.hs-3d-stage-wrap {
  display: none;
  margin-top: 8px;
}

.hs-3d-stage-wrap.is-visible {
  display: block;
}

.hs-3d-frame-box {
  width: 100%;
  height: 640px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #101A24;
}

.hs-3d-frame-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* 9. Tab 2: Chords & Breathwork */
.hs-two-col {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 20px;
  align-items: stretch;
}

.hs-chord-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hs-chord-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(154px, 1fr));
  gap: 11px;
  margin-top: 15px;
}

.hs-chord-pad {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  min-height: 80px;
}

.hs-chord-pad:hover {
  border-color: var(--g);
  transform: translateY(-1px);
}

.hs-chord-pad.is-active {
  border-color: var(--g);
  background: var(--g-soft);
  box-shadow: var(--shadow-sm);
}

.hs-chord-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.hs-chord-notes {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-t);
}

.hs-chord-mood {
  font-size: 12px;
  color: var(--ink-2);
}

.hs-breath-box {
  background: linear-gradient(160deg, #13222E 0%, #0A1219 100%);
  color: #F5F2EB;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  border: 1px solid rgba(159, 195, 176, 0.28);
}

.hs-select-dark {
  background: #101D28;
  color: #FFFFFF;
  border: 1px solid rgba(159, 195, 176, 0.38);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  width: 100%;
  max-width: 320px;
}

.hs-mandala-ring-wrap {
  position: relative;
  width: 184px;
  height: 184px;
  display: grid;
  place-items: center;
  margin: 14px auto;
}

.hs-mandala-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px solid #8BC34A;
  background: radial-gradient(circle, rgba(139, 195, 74, 0.28) 0%, rgba(159, 195, 176, 0.06) 72%);
  box-shadow: 0 0 34px rgba(139, 195, 74, 0.26);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 1s ease-in-out, border-color 0.4s ease;
}

.hs-breath-phase {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: #FFFFFF;
}

.hs-breath-timer {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #CFE6B3;
  margin-top: 2px;
}

.hs-teleprompter-cue {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.45;
  color: #F5F2EB;
  max-width: 400px;
  min-height: 52px;
  margin: 8px 0 14px;
}

/* 10. Tab 3: 1:2:3 Strobe Tuner */
.hs-tuner-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
}

.hs-tuner-display {
  background: #0D1720;
  color: #F5F2EB;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(159, 195, 176, 0.28);
}

.hs-tuner-top-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.hs-tuner-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9FC3B0;
}

.hs-mic-cta {
  background: #8BC34A;
  border-color: #8BC34A;
  color: #132009;
}

.hs-strobe-window {
  height: 38px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(159, 195, 176, 0.32);
  background: #070D12;
  position: relative;
  margin: 14px 0;
}

.hs-strobe-track {
  width: 200%;
  height: 100%;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(139, 195, 74, 0.88) 0px,
    rgba(139, 195, 74, 0.88) 22px,
    transparent 22px,
    transparent 44px
  );
  will-change: transform;
}

.hs-strobe-track.is-warn {
  background-image: repeating-linear-gradient(
    90deg,
    rgba(103, 183, 209, 0.88) 0px,
    rgba(103, 183, 209, 0.88) 22px,
    transparent 22px,
    transparent 44px
  );
}

.hs-strobe-track.is-out {
  background-image: repeating-linear-gradient(
    90deg,
    rgba(239, 68, 68, 0.88) 0px,
    rgba(239, 68, 68, 0.88) 22px,
    transparent 22px,
    transparent 44px
  );
}

.hs-strobe-centerline {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 8px #FFFFFF;
}

.hs-tuner-readout {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.hs-tuner-meta {
  font-size: 12px;
  color: #B9C6D0;
}

.hs-tuner-note {
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
}

.hs-tuner-cents {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: #8BC34A;
}

.hs-cent-meter {
  position: relative;
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  margin: 15px 0 8px;
}

.hs-cent-safe-zone {
  position: absolute;
  left: 42%;
  width: 16%;
  top: 0;
  bottom: 0;
  background: rgba(139, 195, 74, 0.38);
  border-left: 1px solid #8BC34A;
  border-right: 1px solid #8BC34A;
}

.hs-cent-needle {
  position: absolute;
  left: 50%;
  top: -5px;
  width: 6px;
  height: 23px;
  border-radius: 4px;
  background: #FFFFFF;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  transition: left 0.08s linear;
}

.hs-cent-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #9BAAB4;
}

.hs-tuner-verdict {
  margin: 13px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #C7D2DA;
}

.hs-harmonics-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 15px;
}

.hs-harm-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 11px;
}

.hs-harm-box small {
  display: block;
  font-size: 12px;
  color: #B7C2C9;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hs-harm-box strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: #FFFFFF;
  margin-top: 3px;
}

.hs-harm-box span {
  font-size: 12px;
  color: #CFE6B3;
}

.hs-audition-box {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.hs-audition-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hs-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 12.8px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hs-slider {
  width: 100%;
  accent-color: #8BC34A;
  cursor: pointer;
}

.hs-audition-foot {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hs-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  margin-top: 14px;
}

table.hs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

table.hs-table th,
table.hs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

table.hs-table thead th {
  background: #0F1B25;
  color: #F5F2EB;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* 11. Tab 4: 7-Day Interactive Curriculum & Reviews */
.hs-roadmap-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
}

.hs-days-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 13px;
  margin-top: 16px;
}

.hs-day-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.hs-day-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-t);
  background: var(--g-soft);
  border: 1px solid var(--g-border);
  padding: 3px 9px;
  border-radius: 999px;
}

.hs-reviews-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hs-review-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.hs-review-item img {
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
}

.hs-stars {
  color: #9FC3B0;
  font-size: 13px;
}

[data-theme="light"] .hs-stars {
  color: #8A4B00;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hs-review-item p {
  margin: 3px 0 6px;
  font-size: 13px;
  color: var(--ink);
}

.hs-review-item small {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 12px;
}

/* ==========================================================================
   12. PERSISTENT BELOW-STAGE CONTEXTUAL CONVERSION BRIDGE
   ========================================================================== */
.hs-live-showcase {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hs-postplay-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 18px;
  background: linear-gradient(90deg, var(--g-soft) 0%, var(--paper) 100%);
  border: 1px solid var(--g-border);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hs-postplay-bar.is-highlighted {
  box-shadow: 0 0 0 2px var(--g), var(--shadow-md);
}

.hs-postplay-copy {
  font-size: 13.5px;
  color: var(--ink-2);
  flex: 1 1 360px;
}

.hs-postplay-copy strong {
  color: var(--ink);
}

.hs-postplay-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs-link-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-solid);
  color: var(--ink) !important;
  font-size: 12.2px;
  font-weight: 700;
  transition: all 0.16s ease;
}

.hs-link-pill:hover {
  border-color: var(--g);
  color: var(--accent-t) !important;
}

/* Active Instrument Interactive Alloy Spotlight Card */
.hs-spotlight-card {
  background: var(--surface);
  border: 1.5px solid var(--g-border);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.hs-spotlight-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: center;
}

.hs-spotlight-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background: var(--stage-glow);
  border-radius: 22px;
  padding: 16px;
  border: 1px solid var(--line);
}

.hs-spotlight-visual img {
  width: 210px;
  height: 210px;
  object-fit: contain;
  border-radius: 50%;
  filter: var(--shell-shadow);
}

.hs-spot-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
}

.hs-alloy-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.hs-alloy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.hs-alloy-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 15px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: all 0.16s ease;
}

.hs-alloy-card:hover {
  border-color: var(--g);
}

.hs-alloy-card.is-selected {
  border-color: var(--g);
  background: var(--g-soft);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.hs-alloy-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.hs-alloy-price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 2px;
}

.hs-alloy-price {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-t);
}

.hs-alloy-was {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  text-decoration: line-through;
}

.hs-alloy-sustain {
  font-size: 12px;
  color: var(--ink-2);
}

.hs-spotlight-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.hs-spot-main-cta {
  min-width: 270px;
}

.hs-spot-note {
  font-size: 12.2px;
  color: var(--ink-2);
  flex: 1 1 220px;
}

.hs-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

/* 4-Model Atelier Lineup Grid */
.hs-lineup-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}

.hs-lineup-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.hs-store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hs-product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.hs-product-card.is-flagship {
  border-color: var(--g-border);
  background: linear-gradient(180deg, var(--g-soft) 0%, var(--paper) 48%);
}

.hs-prod-top {
  display: flex;
  gap: 15px;
  align-items: center;
}

.hs-prod-top img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: contain;
  filter: var(--shell-shadow);
  flex-shrink: 0;
}

.hs-prod-price {
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent-t);
}

.hs-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--g);
  background: var(--g);
  color: var(--g-ink) !important;
  font-size: 13.8px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.16s ease;
}

.hs-btn-primary:hover {
  background: var(--g-hover);
  border-color: var(--g-hover);
  transform: translateY(-1px);
}

.hs-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-solid);
  color: var(--ink) !important;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.16s ease;
}

.hs-btn-secondary:hover {
  border-color: var(--g);
  background: var(--g-soft);
}

/* Footer */
.hs-footer {
  background: #0A121A;
  color: #DCE3E8;
  padding: 34px calc(20px + env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) calc(20px + env(safe-area-inset-left, 0px));
  margin-top: 40px;
  border-top: 1px solid rgba(159, 195, 176, 0.22);
}

.hs-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.hs-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

.hs-footer a {
  color: #CFE6B3;
}

.hs-footer a:hover {
  color: #FFFFFF;
}

/* Modal & EEA Consent Bar */
.hs-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 16, 0.74);
  backdrop-filter: blur(6px);
  z-index: 120;
  place-items: center;
  padding: 18px;
}

.hs-modal-backdrop.is-open {
  display: grid;
}

.hs-modal {
  background: var(--surface-solid);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.hs-consent-bar {
  display: none;
  position: fixed;
  left: calc(16px + env(safe-area-inset-left, 0px));
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 680px;
  margin: 0 auto;
  background: #101D28;
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(159, 195, 176, 0.3);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  z-index: 110;
  font-size: 13px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hs-consent-bar.is-visible {
  display: flex;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .hs-module-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .hs-dual-stage,
  .hs-two-col,
  .hs-tuner-grid,
  .hs-store-grid,
  .hs-spotlight-grid {
    grid-template-columns: 1fr;
  }
  .hs-spotlight-visual img {
    width: 176px;
    height: 176px;
  }
}

@media (max-width: 640px) {
  .hs-bf26-topbar {
    font-size: 12px;
    padding: calc(6px + env(safe-area-inset-top, 0px)) 10px 6px;
  }
  .hs-header-inner {
    padding: 7px 10px;
    gap: 6px;
  }
  .hs-brand img {
    height: 28px;
  }
  .hs-brand-divider,
  .hs-brand-title,
  .hs-hide-xs,
  #theme-toggle-label {
    display: none;
  }
  #btn-theme-toggle,
  #btn-install-pwa {
    padding: 6px 9px;
    min-height: 34px;
  }
  .hs-shop-cta-pill {
    padding: 6px 11px;
    font-size: 12px;
    min-height: 34px;
  }
  .hs-main {
    padding: 10px 10px 48px;
  }
  .hs-hero-strip {
    gap: 6px;
    margin-bottom: 9px;
  }
  .hs-hero-strip .hs-eyebrow {
    display: none;
  }
  .hs-hero-strip h1 {
    font-size: 20px;
  }
  .hs-audio-health-pill {
    font-size: 12px;
    padding: 4px 10px;
  }
  .hs-card,
  .hs-stage-deck,
  .hs-spotlight-card,
  .hs-lineup-wrap {
    padding: 12px 11px;
    border-radius: 18px;
  }
  .hs-module-tabs {
    gap: 5px;
    padding: 4px;
    margin-bottom: 10px;
  }
  .hs-tab-btn {
    padding: 7px 9px;
    gap: 7px;
    min-height: 42px;
  }
  .hs-tab-sub {
    display: none;
  }
  .hs-scale-bar {
    gap: 8px;
    padding-bottom: 9px;
    margin-bottom: 9px;
  }
  .hs-scale-pills,
  .hs-pan-tier-pills,
  .hs-song-buttons {
    flex-wrap: wrap;
    overflow-x: visible;
    max-width: 100%;
    gap: 6px;
  }
  .hs-scale-pill,
  .hs-tier-btn,
  .hs-song-btn {
    flex: 0 1 auto;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    min-height: 40px;
    font-size: 12px;
    padding: 6px 11px;
  }
  #btn-theme-toggle,
  #btn-install-pwa,
  .hs-shop-cta-pill {
    min-height: 40px;
  }
  .hs-tone::after {
    content: "";
    position: absolute;
    inset: -6px;
    min-width: 44px;
    min-height: 44px;
  }
  .hs-compat-banner {
    padding: 9px 10px;
    margin-bottom: 9px;
  }
  .hs-compat-hint {
    display: none;
  }
  .hs-harmonics-3col {
    grid-template-columns: 1fr;
  }
  .hs-3d-frame-box {
    height: 520px;
  }
  .hs-spot-main-cta {
    width: 100%;
    min-width: 0;
  }
  .hs-btn-primary,
  .hs-btn-secondary {
    border-radius: 12px;
    padding: 12px 16px;
    line-height: 1.32;
  }
  .hs-day-num {
    border-radius: 8px;
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Visible Acoustic FAQ Accordion (100% Synced with FAQPage JSON-LD for Google & AI Answer Engines) */
.hs-faq-wrap {
  margin-top: 24px;
}

.hs-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.hs-faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.16s ease;
}

.hs-faq-item[open] {
  border-color: var(--g-border);
}

.hs-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hs-faq-item summary::-webkit-details-marker {
  display: none;
}

.hs-faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-t);
  flex-shrink: 0;
}

.hs-faq-item[open] summary::after {
  content: "−";
}

.hs-faq-ans {
  padding: 0 18px 16px;
  margin: 0;
  font-size: 13.6px;
  line-height: 1.65;
  color: var(--ink-2);
}

@media print {
  .hs-bf26-topbar,
  .hs-header,
  .hs-module-tabs,
  .hs-consent-bar,
  .hs-footer,
  .no-print {
    display: none !important;
  }
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }
  .hs-panel {
    display: block !important;
  }
  .hs-card {
    box-shadow: none !important;
    border: 1px solid #CCCCCC !important;
    background: #FFFFFF !important;
    color: #000000 !important;
    break-inside: avoid;
  }
}


/* === V75 Impeccable Instrument-First & De-Orange Polish === */
::selection { background: rgba(159, 195, 176, 0.32); color: #FFFFFF; }
.hs-eyebrow, .hs-tab-step { display: none !important; }
.hs-hero-strip { margin-bottom: 8px !important; padding: 4px 0 !important; }
.hs-hero-copy h1 { font-size: clamp(1.35rem, 2.2vw, 1.85rem) !important; margin: 0 !important; text-wrap: balance; }
.hs-module-tabs { margin-bottom: 10px !important; }
.hs-tab-btn { padding: 8px 12px !important; }
.hs-stage-deck { padding: 14px 16px !important; }
.hs-scale-bar { margin-bottom: 8px !important; }
.hs-song-toolbar { margin-bottom: 10px !important; }
.hs-dual-stage { margin-top: 4px !important; }
.hs-shell-card { background: rgba(12, 22, 32, 0.65) !important; background-image: none !important; }
.hs-spotlight-visual { background: rgba(12, 22, 32, 0.55) !important; background-image: none !important; }
/* Flatten nested cards inside stage deck & product cards */
.hs-compat-banner { border: none !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; background: transparent !important; padding: 14px 0 4px !important; margin-top: 14px !important; }
#compat-result-bar { border: none !important; background: rgba(139, 195, 74, 0.08) !important; box-shadow: none !important; }
#hs-studio-quickstart { border: none !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; background: transparent !important; padding: 12px 0 0 !important; margin: 12px 0 0 !important; }
.hs-product-card > div { border: none !important; background: transparent !important; box-shadow: none !important; }
.hs-faq-ans, #studio-email-kit p, .hs-sec-lead { max-width: 68ch; text-wrap: pretty; }
h1, h2, h3, .hs-sec-h2, .hs-sec-h3 { text-wrap: balance; }
.hs-studio-lead-form input::placeholder { color: rgba(242, 247, 247, 0.76) !important; opacity: 1; }

/* === V75.1 Zero-Warning Studio Polish === */
.hs-lineup-wrap { background: transparent !important; border: none !important; border-top: 1px solid var(--line) !important; border-radius: 0 !important; padding: 22px 0 0 !important; box-shadow: none !important; }
.hs-prod-top small { font-size: 12.5px !important; line-height: 1.45 !important; display: inline-block; }
.hs-prod-top h4, h4, h5 { text-wrap: balance; }
.hs-tone-num { color: #FFFFFF !important; opacity: 1 !important; background: rgba(6, 17, 24, 0.78); padding: 1px 4px; border-radius: 4px; text-shadow: none !important; }

.hs-hero-copy h1 em { font-style: normal !important; color: #9FC3B0 !important; }

/* === V75.5 Opus Gate Polish === */
.hs-gu-badge { font-family: var(--font-sans) !important; font-size: 12px !important; color: #9FC3B0 !important; }
.hs-shell-meta span, .hs-shell-pill { font-family: var(--font-sans) !important; font-size: 12px !important; }
.hs-compat-banner { padding: 12px 0 8px !important; margin-top: 12px !important; }
#compat-result-bar { margin-top: 8px !important; padding: 10px 14px !important; border-radius: 12px !important; }

/* === V75.6 Zero-Nested-Cards & Roman Hero Tagline === */
.hs-stage-deck { background: transparent !important; border: none !important; border-radius: 0 !important; box-shadow: none !important; padding: 6px 0 16px !important; }
h1 em, .hs-hero-strip em, #hero-h1 em { font-style: normal !important; color: #9FC3B0 !important; }

/* === V76 Mobile First-Viewport & Float Guard === */
.hs-hero-strip h1 .hs-accent { color: #9FC3B0 !important; font-style: normal !important; }
@media (max-width: 640px) {
  .hs-topbar { font-size: 12px !important; padding: 5px 10px !important; }
  .hs-header-inner { padding: 8px 12px !important; gap: 6px !important; }
  .hs-hero-strip { margin-bottom: 4px !important; padding: 2px 0 !important; }
  .hs-hero-strip h1 { font-size: 1.22rem !important; line-height: 1.2 !important; }
  .hs-module-tabs { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 5px !important; margin-bottom: 6px !important; }
  .hs-tab-btn { padding: 6px 8px !important; min-height: 36px !important; }
  .hs-scale-pills, .hs-song-buttons {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px !important;
    padding-bottom: 2px !important;
  }
  .hs-scale-pills::-webkit-scrollbar, .hs-song-buttons::-webkit-scrollbar { display: none; }
  .hs-scale-pill, .hs-song-btn { flex: 0 0 auto !important; white-space: nowrap !important; padding: 6px 10px !important; }
  .hs-playback-opts { gap: 5px !important; }
  body { padding-bottom: 68px !important; }
}
