/* ═══════════════════════════════════════════════════════════
   Hitohira Hana — 一葉はな · Singer / Music Streamer
   Petal & song motif · soft, dreamy, musical
   Design system. Themes live in assets/css/themes/*.css and
   only override the CSS variables in :root.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Petal (default) palette — overridden by theme files */
  --cream: #fff8fa;
  --paper: #fdeef2;
  --paper-deep: #f8dfe7;
  --ink: #4a2f3a;
  --ink-soft: #7c5663;
  --ink-faint: #7c5b66;
  --night: #6e4456;
  --night-deep: #4d2c3b;
  --petal: #f4a6c0;
  --petal-light: #fcd6e2;
  --petal-glow: rgba(244, 166, 192, 0.4);
  --rose: #ef7da0;
  --rose-soft: #fde4ec;
  --rose-deep: #b9436d;
  --bloom: #c98bc0;
  --bloom-soft: #f3e3f1;
  --bloom-deep: #875681;
  --gold: #e8b96b;
  --gold-soft: #f8ecd2;
  --leaf: #8fbf9f;

  --accent: var(--rose-deep);
  --accent-soft: var(--rose-soft);

  --twitch: #9146ff;
  --youtube: #e03e3e;
  --x: #1d1d1f;
  --discord: #5865f2;
  --instagram: #c13584;
  --spotify: #1db954;

  --hero-gradient: linear-gradient(165deg, #fff8fa 0%, #fdeef2 48%, #f8e6f2 100%);
  --section-night-bg: linear-gradient(165deg, var(--night-deep) 0%, var(--night) 100%);

  --line: rgba(74, 47, 58, 0.1);
  --line-strong: rgba(74, 47, 58, 0.18);
  --shadow-sm: 0 2px 12px rgba(120, 60, 85, 0.07);
  --shadow: 0 10px 36px rgba(120, 60, 85, 0.12);
  --shadow-lg: 0 24px 60px rgba(120, 60, 85, 0.18);

  --radius: 22px;
  --radius-sm: 13px;
  --radius-pill: 999px;
  --nav-h: 76px;
  --page-pad: clamp(20px, 5vw, 48px);
  --page-pad-x2: clamp(40px, 10vw, 96px);
  --site-max: 1180px;
  --content-max: 1084px;

  --font-display: "Cormorant Garamond", "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --font-body: "Quicksand", "Nunito", "Noto Sans JP", "Yu Gothic", "Hiragino Sans", system-ui, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.3s var(--ease);

  --nav-brand-color: var(--ink);
  --nav-space-color: var(--bloom-deep);
  --nav-link-color: var(--ink-soft);
  --nav-hover-bg: rgba(239, 125, 160, 0.14);
  --headline-color: var(--ink);
  --eyebrow-color: var(--bloom-deep);
  --card-hover-bg: #fff;
  --featured-hover-bg: linear-gradient(145deg, var(--night-deep) 0%, var(--night) 100%);
  --featured-hover-border: var(--rose);

  /* Aliases used by the research + "はなの言葉/好きなもの" blocks.
     All four themes are light-surfaced, so a white card base keeps
     contrast safe across petal / midnight / leaf / aurora. */
  --surface: #ffffff;
  --surface-2: var(--paper);
  --radius-lg: var(--radius);
  --radius-md: 16px;
  --shadow-soft: var(--shadow-sm);
  --ease-out: var(--ease);
  --font-jp: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", var(--font-body);
  --leaf-soft: #e8f5e9;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  scrollbar-gutter: stable; /* keep layout steady when modals lock body scroll */
}
html.is-instant-scroll { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body[data-lang="jp"] {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", var(--font-body);
}
body[data-lang="zhs"] {
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}
body[data-lang="zh"] {
  font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
}

[data-i18n][hidden] { display: none !important; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { margin: 0; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition), background var(--transition),
    border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

a:not(.btn):not(.portal__card):not(.media-item):not(.nav__brand):hover { color: var(--rose-deep); }

::selection { background: var(--petal-glow); color: var(--night-deep); }

:focus-visible { outline: 2.5px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

.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;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--night-deep);
  color: #fff;
  font-weight: 800;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; color: #fff; }

/* ── Atmospheric background ── */
.sky {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: var(--hero-gradient);
}

.sky-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 8%, var(--petal-glow) 0%, transparent 60%),
    radial-gradient(50% 45% at 12% 88%, rgba(201, 139, 192, 0.22) 0%, transparent 60%);
  opacity: 0.8;
}

/* Falling petals */
.petals {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}

.petals__canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.petal {
  position: absolute;
  top: -8%;
  width: 14px;
  height: 14px;
  background: var(--petal);
  opacity: 0.55;
  border-radius: 80% 0 80% 0;
  animation: petal-fall linear infinite;
  will-change: transform;
}

@keyframes petal-fall {
  0%   { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(110vh) translateX(40px) rotate(420deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .petals { display: none; }
  .petal { animation: none; display: none; }
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 250;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--bloom), var(--petal), var(--rose));
  box-shadow: 0 0 12px var(--petal-glow);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* ── Layout ── */
.wrap {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.section {
  padding: clamp(72px, 11vw, 128px) 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, transparent 0%, rgba(253, 228, 236, 0.7) 16%, rgba(253, 238, 242, 0.85) 84%, transparent 100%);
}

.section--night {
  background: var(--section-night-bg);
  color: var(--cream);
}

.section--night .headline,
.section--night .eyebrow { color: var(--cream); }
.section--night .lead { color: rgba(255, 248, 250, 0.88); }
.section--night a:not(.btn) { color: var(--petal-light); }
.section--night a:not(.btn):hover { color: #fff; }
/* keep button text legible inside dark sections */
.section--night .btn--soft { color: var(--rose-deep); }
.section--night .btn--soft:hover { color: #fff; }
.section--night .btn--primary,
.section--night .btn--twitch,
.section--night .btn--bloom { color: #fff; }

.section-divider {
  height: 60px;
  margin: -16px 0;
  background: linear-gradient(90deg, transparent, var(--petal-glow), rgba(201, 139, 192, 0.3), var(--gold-soft), transparent);
  opacity: 0.85;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

/* Section headers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--eyebrow-color);
  margin-bottom: 14px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 18px;
  height: 1px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.34;
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 54px);
  font-weight: 600;
  line-height: 1.14;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  color: var(--headline-color);
}

.lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .lead { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 22px var(--petal-glow);
}
.btn--primary:hover { color: #fff; box-shadow: 0 12px 28px var(--petal-glow); }

.btn--bloom {
  background: linear-gradient(135deg, var(--bloom) 0%, var(--bloom-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(167, 106, 160, 0.32);
}
.btn--bloom:hover { color: #fff; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover { background: #fff; border-color: var(--rose); color: var(--rose-deep); }

.btn--soft {
  background: var(--accent-soft);
  color: var(--rose-deep);
}
.btn--soft:hover { background: var(--rose); color: #fff; }

.btn--twitch { background: var(--twitch); color: #fff; }
.btn--twitch:hover { color: #fff; box-shadow: 0 12px 28px rgba(145, 70, 255, 0.35); }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(16px, 4vw, 40px);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(255, 250, 252, 0.94);
  backdrop-filter: blur(8px) saturate(1.14);
  -webkit-backdrop-filter: blur(8px) saturate(1.14);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__brand { display: flex; flex-direction: column; color: var(--nav-brand-color); flex-shrink: 0; }
.nav__name { font-family: var(--font-display); font-size: 23px; font-weight: 700; line-height: 1.05; }
.nav__space { font-size: 11px; font-weight: 600; color: var(--nav-space-color); letter-spacing: 0.07em; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav__links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--nav-link-color);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
}
.nav__links a:hover { background: var(--nav-hover-bg); color: var(--ink); }
.nav__links a.is-active { background: var(--nav-hover-bg); color: var(--rose-deep); }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__actions .btn--nav-live {
  min-height: 34px;
  padding: 8px 14px;
  font-size: 12.5px;
  box-shadow: 0 5px 16px var(--petal-glow);
}
.nav__actions .btn--nav-live:hover { box-shadow: 0 8px 20px var(--petal-glow); }

.lang-switch {
  display: inline-flex;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.lang-switch button {
  border: 0; background: transparent;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  color: var(--ink-soft);
  padding: 6px 11px; cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.lang-switch button.is-on { background: var(--rose); color: #fff; }

/* Four-language picker */
.lang-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-picker__select {
  width: 104px;
  min-height: 36px;
  padding: 6px 22px 6px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.lang-picker__select:hover,
.lang-picker__select:focus { border-color: var(--rose); background: #fff; color: var(--rose-deep); }

/* Theme picker */
.theme-picker { position: relative; }
.theme-picker__btn {
  border: 1.5px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  color: var(--ink-soft);
  min-height: 36px;
  padding: 7px 14px; cursor: pointer;
}
.theme-picker__btn:hover { border-color: var(--rose); color: var(--rose-deep); }
.theme-picker__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 60;
}
.theme-picker.is-open .theme-picker__menu { display: block; }
.theme-picker__option {
  display: block; width: 100%; text-align: left;
  border: 0; background: transparent;
  padding: 10px 12px; border-radius: 10px; cursor: pointer;
  color: var(--ink); font-family: var(--font-body);
}
.theme-picker__option:hover { background: var(--accent-soft); }
.theme-picker__option.is-active { background: var(--accent-soft); }
.theme-picker__option strong { display: block; font-size: 14px; font-weight: 700; }
.theme-picker__option small { display: block; font-size: 11.5px; color: var(--ink-soft); line-height: 1.45; margin-top: 2px; }

.nav__menu-btn {
  display: none;
  border: 1.5px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  font-size: 18px; color: var(--ink);
  width: 42px; height: 42px; cursor: pointer;
}

@media (max-width: 1240px) and (min-width: 1101px) {
  .nav { padding: 0 20px; }
  .nav__inner { gap: 12px; }
  .nav__links a {
    font-size: 12.5px;
    padding: 7px 8px;
  }
  .nav__actions { gap: 8px; }
  .nav__actions .btn--nav-live { display: none; }
}

@media (max-width: 1100px) {
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(255, 250, 252, 0.995);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    padding: 12px; gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--nav-h));
    overflow: auto;
    z-index: 210;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 12px 16px; }
  .nav__menu-btn { display: block; }
  .nav__actions .btn--primary { display: none; }
  .nav { padding: 0 12px; }
  .nav__inner { gap: 10px; }
  .nav__brand { min-width: 0; }
  .nav__actions { gap: 6px; margin-left: auto; }
  .lang-switch button { padding: 6px 9px; }
  .lang-picker__select { width: 98px; padding-inline: 10px 20px; }
  .theme-picker__btn { padding: 7px 10px; }
}

/* ── Hero ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(20px, 5vw, 48px)) clamp(20px, 5vw, 48px) clamp(40px, 6vw, 72px);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.hero__badge-emote {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  object-fit: contain;
}
.hero__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink-faint);
}
.hero__badge.is-live .hero__dot {
  background: #ff4d6d;
  box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.6);
  animation: live-pulse 1.8s infinite;
}
.hero__badge.is-live { color: var(--rose-deep); border-color: var(--petal); }
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(255, 77, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 92px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.hero__jp {
  display: block;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 600;
  color: var(--bloom-deep);
  margin-top: 8px;
  letter-spacing: 0.04em;
}
.hero__space {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rose-deep);
  margin: 18px 0 0;
}
.hero__welcome {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--ink-soft);
  max-width: 480px;
  margin: 16px 0 0;
}

.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 13px; font-size: 13px; color: var(--ink-soft);
}
.chip strong { color: var(--ink); font-weight: 800; }
.chip__emote {
  width: 21px;
  height: 21px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero visual card */
.hero__visual { display: flex; justify-content: center; min-width: 0; }
.hero-card {
  width: 100%;
  min-width: 0;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.hero-card__identity { display: flex; align-items: center; gap: 16px; min-width: 0; }
.hero-card__identity > div { min-width: 0; }
.hero-card__identity img,
.hero-card__avatar {
  width: 96px; height: 96px; border-radius: 24px;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--petal-light), var(--bloom-soft));
  display: grid; place-items: center;
  font-size: 40px;
}
.hero-card__kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bloom-deep); }
.hero-card__identity strong { display: block; font-family: var(--font-display); font-size: 24px; line-height: 1.1; color: var(--ink); }
.hero-card__identity small { display: block; font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }
.hero-card__emotes {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 15px 0 2px; min-height: 42px;
}
.hero-card__emotes img {
  width: 38px; height: 38px; object-fit: contain; flex: 0 0 auto;
  filter: drop-shadow(0 4px 8px rgba(70, 39, 58, 0.12));
}

.hero-card__metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.hero-metric {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 14px; padding: 11px 12px; min-width: 0;
}
.hero-metric:hover { transform: translateY(-2px); }
.hm__left { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.hm__left svg { width: 18px; height: 18px; flex-shrink: 0; }
.hm__right {
  display: grid;
  justify-items: end;
  gap: 2px;
  min-width: 0;
  white-space: nowrap;
  text-align: right;
}
.hm__right strong { font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1; }
.hm__right small { font-size: 10.5px; color: var(--ink-soft); line-height: 1.1; }
.hero-metric--twitch .hm__left svg { color: var(--twitch); }
.hero-metric--twitch:hover { border-color: var(--twitch); }
.hero-metric--youtube .hm__left svg { color: var(--youtube); }
.hero-metric--youtube:hover { border-color: var(--youtube); }
.hero-metric--discord .hm__left svg { color: var(--discord); }
.hero-metric--discord:hover { border-color: var(--discord); }
.hero-metric--x .hm__left svg { color: var(--x); }
.hero-metric--x:hover { border-color: var(--x); }
.hero-metric--instagram .hm__left svg { color: var(--instagram); }
.hero-metric--instagram:hover { border-color: var(--instagram); }
.hero-metric--spotify .hm__left svg { color: var(--spotify); }
.hero-metric--spotify:hover { border-color: var(--spotify); }

.hero-card__schedule {
  display: block;
  background: linear-gradient(135deg, var(--night-deep), var(--night));
  color: var(--cream);
  border-radius: 16px; padding: 14px 16px;
}
.hero-card__schedule > span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.8; }
.hero-card__schedule strong { display: block; font-size: 16px; margin: 3px 0; color: #fff; }
.hero-card__schedule small { font-size: 11.5px; opacity: 0.78; line-height: 1.5; }
.hero-card__schedule strong span,
.hero-card__schedule small span { font-size: inherit; text-transform: none; letter-spacing: 0; opacity: 1; }
.hero-card__schedule:hover { color: var(--cream); }

/* ── Artwork page ── */
.art-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  max-width: var(--site-max);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 58px) var(--page-pad) clamp(58px, 8vw, 96px);
}
.art-hero__copy { min-width: 0; }
.art-hero__stage {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  min-height: clamp(540px, 56vw, 680px);
}
.art-hero__portrait {
  width: min(680px, 100%);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-lg);
}
.art-hero__emotes {
  width: min(420px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.art-hero__emotes img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.art-feature { padding-top: clamp(54px, 8vw, 92px); }
body.artwork-page .section {
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(56px, 8vw, 88px);
}
body.artwork-page .section-head { margin-bottom: clamp(30px, 4vw, 46px); }
.art-portrait-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
}
.art-portrait-grid--single {
  grid-template-columns: 1fr;
}
.art-piece,
.art-tile {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.art-piece:hover,
.art-tile:hover {
  transform: translateY(-3px);
  border-color: var(--rose);
  background: #fff;
  box-shadow: var(--shadow);
}
.art-piece {
  display: grid;
  gap: 14px;
  padding: 14px;
  text-align: left;
  border-radius: var(--radius);
}
.art-piece img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.art-piece--large img {
  aspect-ratio: 3 / 4;
  object-position: top center;
}
.art-piece--wide img {
  aspect-ratio: 16 / 10;
  object-position: center;
}
.art-piece--feature {
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.7fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
  padding: clamp(14px, 2vw, 18px);
}
.art-piece--feature img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: linear-gradient(135deg, rgba(255, 248, 250, 0.94), rgba(253, 228, 236, 0.58));
}
.art-piece--feature strong { font-size: clamp(20px, 2.4vw, 28px); }
.art-piece--feature small {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.55;
}
.art-piece--avatar img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.art-piece strong,
.art-piece small { display: block; }
.art-piece strong { font-size: 18px; color: var(--ink); }
.art-piece small { color: var(--ink-faint); font-size: 12.5px; margin-top: 2px; }
.art-social-section { padding-top: clamp(56px, 8vw, 92px); }
.art-social-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  align-items: start;
}
.art-social-card {
  grid-column: span 4;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
}
.art-social-card--wide { grid-column: span 6; }
.art-social-card__preview {
  width: 100%;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: linear-gradient(145deg, rgba(255, 248, 250, 0.92), rgba(240, 246, 238, 0.74));
  cursor: pointer;
}
.art-social-card--tall .art-social-card__preview { aspect-ratio: 3 / 4; }
.art-social-card__preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform var(--transition), filter var(--transition);
}
.art-social-card--contain .art-social-card__preview img {
  object-fit: contain;
  padding: 18px;
}
.art-social-card:hover .art-social-card__preview img {
  transform: scale(1.025);
  filter: saturate(1.04);
}
.art-social-card__body {
  display: grid;
  gap: 5px;
  padding: 13px 14px 15px;
}
.art-social-card strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}
.art-social-card small {
  color: var(--ink-faint);
  font-size: 12.5px;
  line-height: 1.45;
}
.art-social-card__source {
  width: max-content;
  max-width: 100%;
  margin-top: 3px;
  color: var(--rose-deep);
  font-size: 12px;
  font-weight: 800;
}
.art-social-card__source:hover { color: var(--night); }
.art-motion-section { padding-top: clamp(56px, 8vw, 92px); }
.art-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}
.art-video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
}
.art-video-card__preview {
  width: 100%;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: var(--night);
  cursor: pointer;
}
.art-video-card__preview video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.art-video-card__body {
  display: grid;
  gap: 5px;
  padding: 13px 14px 15px;
}
.art-video-card strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}
.art-video-card small {
  color: var(--ink-faint);
  font-size: 12.5px;
  line-height: 1.45;
}
.art-gallery-section { padding-top: clamp(58px, 8vw, 96px); }
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
}
.art-tile {
  min-width: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 168px;
  padding: 16px 12px 13px;
  border-radius: var(--radius-sm);
}
.art-tile[hidden] { display: none; }
.art-tile img {
  width: min(92px, 72%);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 7px 10px rgba(70, 39, 58, 0.13));
}
.art-tile span {
  max-width: 100%;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.art-tile--motion { background: linear-gradient(145deg, rgba(232, 185, 107, 0.18), rgba(201, 139, 192, 0.14), rgba(255, 255, 255, 0.76)); }
.art-lightbox[hidden] { display: none; }
.art-lightbox {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 18px;
}
.art-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 24, 36, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.art-lightbox__dialog {
  position: relative;
  width: min(920px, 100%);
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: clamp(24px, 5vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 248, 250, 0.94);
  box-shadow: var(--shadow-lg);
}
.art-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.art-lightbox__close:hover { background: var(--rose); color: #fff; }
.art-lightbox__img {
  width: min(760px, 86vw);
  max-height: 70vh;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(70, 39, 58, 0.18));
}
.art-lightbox__img[hidden] { display: none; }
.art-lightbox__video {
  width: min(860px, 86vw);
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #000;
  box-shadow: 0 18px 26px rgba(70, 39, 58, 0.18);
}
.art-lightbox__video[hidden] { display: none; }
.art-lightbox__meta { text-align: center; }
.art-lightbox__meta strong { display: block; font-size: 18px; color: var(--ink); }
.art-lightbox__meta small { color: var(--ink-faint); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

/* equalizer accent */
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.eq span {
  width: 3px; background: currentColor; border-radius: 2px;
  animation: eq-bounce 1.1s ease-in-out infinite;
}
.eq span:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq span:nth-child(2) { height: 90%; animation-delay: 0.2s; }
.eq span:nth-child(3) { height: 60%; animation-delay: 0.4s; }
.eq span:nth-child(4) { height: 100%; animation-delay: 0.1s; }
@keyframes eq-bounce { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .eq span { animation: none; } }

/* Hero scroll cue */
.hero-scroll { display: flex; justify-content: center; margin-top: -12px; padding-bottom: 24px; }
.scroll-cue { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink-faint); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.scroll-cue__chevron { width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: bob 1.8s infinite; }
@keyframes bob { 0%, 100% { transform: rotate(45deg) translate(0, 0); } 50% { transform: rotate(45deg) translate(3px, 3px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue__chevron { animation: none; } }

/* ── Stats strip ── */
.stats-strip { display: none; background: linear-gradient(135deg, var(--night-deep), var(--night)); color: var(--cream); }
.stats-strip__inner {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(28px, 4vw, 40px) clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center;
}
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: #fff; }
.stat__lbl { display: block; font-size: 14px; font-weight: 700; color: var(--petal-light); margin-top: 2px; }
.stat__sub { display: block; font-size: 11.5px; opacity: 0.7; }

/* ── Portal / quick links ── */
.portal { max-width: 1180px; margin: 0 auto; padding: clamp(42px, 6vw, 68px) clamp(20px, 5vw, 48px); }
.portal__head { text-align: center; margin-bottom: 24px; }
.portal__title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 600; color: var(--ink); }
.portal__intro { max-width: 480px; margin: 6px auto 0; color: var(--ink-soft); font-size: 14px; }
.portal__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.portal__card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(74, 47, 58, 0.12);
  border-radius: 12px;
  padding: 18px 16px;
  color: var(--ink);
  text-align: left;
  min-height: 92px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}
.portal__card:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  border-color: var(--petal);
}
.portal__card--featured {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(253, 238, 242, 0.86));
  border-color: rgba(239, 125, 160, 0.28);
}
.portal__card--featured:hover { color: var(--ink); border-color: var(--rose); }
.portal__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(239, 125, 160, 0.13);
  color: var(--rose-deep);
}
.portal__icon svg { width: 21px; height: 21px; }
.portal__text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.portal__label { font-size: 14px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.portal__desc { font-size: 11.5px; color: var(--ink-soft); line-height: 1.35; }
.portal__card:hover .portal__label { color: var(--ink); }
.portal__card:hover .portal__desc { color: var(--ink-soft); }

/* ── Hana emote chorus ── */
.emote-chorus {
  padding: 0 0 clamp(48px, 7vw, 78px);
}
.emote-chorus__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(460px, 1.2fr);
  align-items: center;
  gap: clamp(26px, 5vw, 64px);
  min-height: 260px;
  padding: clamp(28px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(239, 125, 160, 0.28);
  border-radius: clamp(24px, 3vw, 38px);
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.92) 0 7%, transparent 7.5%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(253, 238, 242, 0.78));
  box-shadow: 0 20px 52px rgba(130, 62, 88, 0.11);
}
.emote-chorus__shell::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  left: -90px;
  bottom: -120px;
  border-radius: 50%;
  border: 34px solid rgba(239, 125, 160, 0.09);
  pointer-events: none;
}
.emote-chorus__copy {
  position: relative;
  z-index: 2;
}
.emote-chorus__copy .eyebrow { margin-bottom: 8px; }
.emote-chorus__copy h2 {
  max-width: 430px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  line-height: 1.08;
}
.emote-chorus__copy p {
  max-width: 440px;
  margin: 14px 0 18px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}
.emote-chorus__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 42px;
  color: var(--rose-deep);
  font-size: 13px;
  font-weight: 800;
}
.emote-chorus__score {
  position: relative;
  z-index: 1;
  min-height: 176px;
  display: grid;
  grid-template-columns: repeat(5, minmax(58px, 1fr));
  align-items: center;
  gap: clamp(4px, 1vw, 12px);
  padding: 16px 32px 12px 8px;
  color: var(--ink-soft);
  isolation: isolate;
}
.emote-chorus__score::before {
  content: "";
  position: absolute;
  inset: 24px 18px 36px 0;
  z-index: -1;
  border-radius: 50%;
  background:
    repeating-linear-gradient(to bottom, transparent 0 20px, rgba(171, 105, 142, 0.18) 20px 22px);
  transform: rotate(-2deg);
}
.emote-chorus__score:hover { color: var(--rose-deep); }
.emote-beat {
  --beat-shift: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  transform: translateY(var(--beat-shift)) rotate(var(--beat-rotate, 0deg));
  transition: transform 220ms ease;
}
.emote-beat--1 { --beat-shift: 13px; --beat-rotate: -4deg; }
.emote-beat--2 { --beat-shift: -14px; --beat-rotate: 3deg; }
.emote-beat--3 { --beat-shift: 7px; --beat-rotate: -2deg; }
.emote-beat--4 { --beat-shift: -18px; --beat-rotate: 4deg; }
.emote-beat--5 { --beat-shift: 4px; --beat-rotate: -3deg; }
.emote-chorus__score:hover .emote-beat,
.emote-chorus__score:focus-visible .emote-beat {
  transform: translateY(calc(var(--beat-shift) - 7px)) rotate(0deg);
}
.emote-beat img {
  width: clamp(58px, 7.2vw, 92px);
  height: clamp(58px, 7.2vw, 92px);
  object-fit: contain;
  filter: drop-shadow(0 7px 8px rgba(92, 45, 69, 0.14));
}
.emote-beat > span {
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(92, 45, 69, 0.08);
}
.emote-chorus__peek {
  position: absolute;
  right: -31px;
  bottom: -2px;
  z-index: 3;
  width: 78px;
  height: 78px;
  object-fit: contain;
  transform: rotate(-4deg);
  filter: drop-shadow(0 6px 9px rgba(92, 45, 69, 0.16));
}

/* ── About ── */
.about-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.about-portrait {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); position: sticky; top: calc(var(--nav-h) + 24px);
  background: linear-gradient(160deg, var(--petal-light), var(--bloom-soft));
  aspect-ratio: 4 / 5; display: grid; place-items: center;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-portrait--reference {
  aspect-ratio: 2 / 3;
  background: linear-gradient(160deg, #fff, var(--petal-light));
}
.about-portrait--reference img {
  object-fit: contain;
  object-position: center top;
}
.about-portrait__ph { font-size: 84px; opacity: 0.7; }

.pull-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500; font-style: italic;
  line-height: 1.4; color: var(--night);
  margin: 0 0 22px; padding-left: 22px;
  border-left: 4px solid var(--rose);
}
.prose p { margin: 0 0 16px; color: var(--ink-soft); }
.about-note { font-size: 12.5px; color: var(--ink-faint); margin: 14px 0 0; }

.trait-row, .fav-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.trait, .fav {
  font-size: 13px; font-weight: 600;
  padding: 6px 13px; border-radius: var(--radius-pill);
}
.trait { background: var(--accent-soft); color: var(--rose-deep); }
.fav { background: var(--bloom-soft); color: var(--bloom-deep); }

.about-subhead { font-family: var(--font-display); font-size: 21px; margin: 28px 0 10px; color: var(--bloom-deep); }

.spec-sheet { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-top: 22px; }
.spec-cell { background: rgba(255, 255, 255, 0.75); padding: 13px 16px; }
.spec-cell__label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bloom-deep); }
.spec-cell__value { font-size: 14.5px; color: var(--ink); margin-top: 3px; }
.spec-cell__value small { color: var(--ink-faint); font-size: 12px; }

.home-moments {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: end;
  margin-top: clamp(44px, 7vw, 76px);
  padding-top: clamp(28px, 5vw, 44px);
  border-top: 1px solid var(--line);
}
.home-moments__copy {
  min-width: 0;
  padding-bottom: 8px;
}
.home-moments__copy .eyebrow { margin-bottom: 12px; }
.home-moments__copy h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 12px;
}
.home-moments__copy p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0 0 18px;
}
.home-moments__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
}
.home-moment {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
}
.home-moment--tall { grid-row: span 2; }
.home-moment img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition), filter var(--transition);
}
.home-moment--tall img {
  min-height: 438px;
  aspect-ratio: 4 / 5;
}
.home-moment:hover img {
  transform: scale(1.025);
  filter: saturate(1.04);
}
.home-moment__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 3px;
  padding: 42px 16px 15px;
  background: linear-gradient(180deg, transparent, rgba(45, 24, 34, 0.78));
  color: #fff;
}
.home-moment__meta strong {
  font-size: 14px;
  line-height: 1.25;
}
.home-moment__meta small {
  color: rgba(255, 248, 250, 0.82);
  font-size: 11.5px;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .emote-chorus__shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .emote-chorus__copy {
    max-width: 620px;
    text-align: center;
    margin-inline: auto;
  }
  .emote-chorus__copy h2,
  .emote-chorus__copy p { margin-inline: auto; }
  .emote-chorus__score {
    width: min(100%, 620px);
    margin-inline: auto;
  }
  .home-moments {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}
@media (max-width: 620px) {
  .home-moments__grid { grid-template-columns: 1fr; }
  .home-moment--tall { grid-row: auto; }
  .home-moment img,
  .home-moment--tall img {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }
}

/* ── Cards grid (music / lessons style) ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(18px, 2.4vw, 26px); }
.feature-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--card-accent, var(--rose));
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card--rose { --card-accent: linear-gradient(90deg, var(--rose), var(--petal)); }
.feature-card--bloom { --card-accent: linear-gradient(90deg, var(--bloom), var(--bloom-deep)); }
.feature-card--gold { --card-accent: linear-gradient(90deg, var(--gold), var(--rose)); }
.feature-card__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: -4px 0 14px;
}
.feature-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 9px rgba(92, 45, 69, 0.13));
  transition: transform 220ms ease;
}
.feature-card:hover .feature-card__icon img { transform: translateY(-3px) rotate(-2deg); }
.feature-card > [data-i18n] { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.feature-card h3 { font-family: var(--font-display); font-size: 23px; color: var(--ink); margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 16px; }
.feature-card ul { list-style: none; padding: 0; margin: 0 0 22px; }
.feature-card li { font-size: 13.5px; color: var(--ink-soft); padding: 5px 0 5px 22px; position: relative; }
.feature-card li::before { content: "♪"; position: absolute; left: 0; color: var(--rose); font-weight: 700; }
.feature-card .btn { margin-top: auto; }

/* ── Player embeds ── */
.player-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: stretch; }
.player {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.player__label { padding: 12px 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bloom-deep); border-bottom: 1px solid var(--line); }
.player__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: linear-gradient(160deg, var(--night-deep), var(--night)); color: var(--petal-light); gap: 10px; padding: 20px;
}
.player__open {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}
.player__body { padding: 18px; }
.player-row > .player:last-child {
  display: flex;
  flex-direction: column;
}
.player-row > .player:last-child .player__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(22px, 3vw, 34px);
}
.player__body p { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; }

/* ── Schedule / countdown ── */
.stream-schedule { background: rgba(255, 255, 255, 0.78); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-sm); }
.stream-schedule__intro { text-align: center; max-width: 600px; margin: 0 auto 24px; }
.widget__label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bloom-deep); margin-bottom: 8px; }
.stream-schedule__intro p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.schedule-card {
  display: block; background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line); border-left: 4px solid var(--rose);
  border-radius: var(--radius-sm); padding: 18px;
}
.schedule-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.schedule-card--twitch { border-left-color: var(--twitch); }
.schedule-card--youtube { border-left-color: var(--youtube); }
.schedule-card__platform { font-size: 13px; font-weight: 800; color: var(--ink); }
.schedule-card__days { display: block; font-size: 14px; color: var(--ink); margin: 6px 0 2px; }
.schedule-card__time { display: block; font-family: var(--font-display); font-size: 22px; color: var(--rose-deep); }
.schedule-card__local { display: block; font-size: 12px; color: var(--bloom-deep); margin-top: 6px; font-weight: 600; }
.schedule-card__zones { display: block; font-size: 11.5px; color: var(--ink-faint); margin-top: 4px; }
.stream-schedule__hint { text-align: center; font-size: 12.5px; color: var(--ink-faint); margin: 18px 0 0; }
.schedule-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

.countdown-wrap { text-align: center; margin-top: 26px; }
.countdown { display: inline-flex; gap: 12px; }
.countdown__unit { display: flex; flex-direction: column; align-items: center; background: linear-gradient(135deg, var(--night-deep), var(--night)); color: #fff; border-radius: 14px; padding: 14px 16px; min-width: 64px; }
.countdown__num { font-family: var(--font-display); font-size: 30px; font-weight: 700; }
.countdown__lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.75; }
.countdown-local { font-size: 13px; color: var(--bloom-deep); margin-top: 12px; font-weight: 600; }

/* ── Social board ── */
.social-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.social-group h4 { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bloom-deep); margin: 0 0 12px; }
.social-group a {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; margin-bottom: 10px; color: var(--ink);
}
.social-group a:hover { transform: translateX(4px); border-color: var(--petal); color: var(--rose-deep); box-shadow: var(--shadow-sm); }
.social-group svg { width: 22px; height: 22px; flex-shrink: 0; }
.social-group a > span { display: flex; flex-direction: column; font-weight: 700; font-size: 14px; }
.social-group .desc { font-weight: 500; font-size: 12px; color: var(--ink-faint); }

/* ── Community / CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--rose) 0%, var(--bloom-deep) 100%);
  color: #fff; border-radius: var(--radius); padding: clamp(34px, 6vw, 56px);
  text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h3 { font-family: var(--font-display); font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.cta-band p { max-width: 540px; margin: 0 auto 22px; opacity: 0.92; }
.cta-band .btn--ghost { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--rose-deep); }
.cta-band .btn--primary { background: #fff; color: var(--rose-deep); }
.cta-band .btn--primary:hover { color: var(--rose-deep); }

/* ── Contact / footer ── */
.contact-box { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-box p { color: var(--ink-soft); margin-bottom: 22px; }

.footer { background: linear-gradient(165deg, var(--night-deep), var(--night)); color: rgba(255, 248, 250, 0.85); padding: clamp(58px, 8vw, 84px) 0 32px; }
.footer__inner { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.footer__connect { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.footer__eyebrow { color: var(--petal-light); justify-content: center; margin-bottom: 10px; }
.footer__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 600;
  line-height: 1.12;
  color: #fff;
  margin: 0 0 10px;
}
.footer__connect p { margin: 0; color: rgba(255, 248, 250, 0.76); font-size: 14.5px; }
.footer-social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 34px;
}
.footer-social-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.footer-social-link:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(252, 214, 226, 0.55);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(42, 21, 32, 0.26);
}
.footer-social-link svg {
  width: 24px;
  height: 24px;
  color: var(--petal-light);
}
.footer-social-link span { min-width: 0; }
.footer-social-link strong { display: block; font-size: 13.5px; line-height: 1.2; color: #fff; }
.footer-social-link small { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.3; color: rgba(255, 248, 250, 0.82); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; align-items: flex-start; text-align: center; }
.footer__brand strong { font-family: var(--font-display); font-size: 26px; color: #fff; }
.footer__brand p { font-size: 13px; opacity: 0.7; max-width: 360px; margin: 8px auto 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px; }
.footer__links a { color: var(--petal-light); font-size: 13px; }
.footer__credits { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 12px; opacity: 0.76; line-height: 1.7; text-align: center; }
.footer__credits a { color: var(--petal-light); }

/* ── Reveal animations ── */
body.js-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
body.js-ready .reveal.is-visible,
.reveal.is-visible { opacity: 1; transform: none; }
body.js-ready .reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
body.js-ready .reveal-stagger.is-visible > *,
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.54s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ═══ Songlist page ═══ */
.songlist-hero {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(30px, 5vw, 58px)) var(--page-pad) clamp(28px, 4.5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 448px);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
  text-align: left;
}
.songlist-hero__copy { min-width: 0; }
.songlist-hero__intro { display: flex; align-items: center; gap: 12px; }
.songlist-hero__avatar-mark {
  display: none;
  width: 78px;
  height: 78px;
  border-radius: 24px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}
.songlist-hero .hero__badge { margin: 0; }
.songlist-hero .hero__title {
  margin-top: 18px;
  font-size: clamp(46px, 7vw, 82px);
}
.songlist-hero .lead {
  max-width: 640px;
  margin: 14px 0 0;
}
.songlist-hero .sl-stats { justify-content: flex-start; }
.songlist-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.songlist-hero .song-meta {
  margin: 14px 0 0;
  text-align: left;
}
.songlist-hero__visual {
  position: relative;
  min-height: 390px;
}
.songlist-hero__portrait {
  position: absolute;
  inset: 28px 0 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 64px rgba(95, 49, 74, 0.18);
  background: var(--cream);
}
.songlist-hero__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 248, 250, 0.03), rgba(255, 248, 250, 0.38));
  pointer-events: none;
}
.songlist-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
  display: block;
}
.songlist-hero__request-card {
  position: absolute;
  left: -22px;
  bottom: 10px;
  width: min(282px, 75%);
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.songlist-hero__kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--bloom-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.songlist-hero__request-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.05;
}
.songlist-hero__request-card small {
  display: block;
  margin-top: 6px;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.45;
}
.songlist-hero__emotes {
  position: absolute;
  top: 0;
  right: 18px;
  display: flex;
  gap: 8px;
}
.songlist-hero__emotes img {
  width: 42px;
  height: 42px;
  padding: 5px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

body.songlist-page .songlist-hero,
body.songlist-page .song-table,
body.songlist-page .sl-admin-panel,
body.songlist-page .sl-toolbar,
body.songlist-page .live-queue .wrap,
body.songlist-page .request-guide .wrap,
body.songlist-page .commands-section .wrap {
  width: calc(100% - var(--page-pad-x2));
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

body.songlist-page .songlist-hero,
body.songlist-page .song-table,
body.songlist-page .sl-admin-panel,
body.songlist-page .live-queue .wrap,
body.songlist-page .request-guide .wrap,
body.songlist-page .commands-section .wrap {
  padding-left: 0;
  padding-right: 0;
}

body.songlist-page .song-meta {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.song-controls {
  max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center;
}
.song-search {
  flex: 1 1 280px; max-width: 420px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill);
  padding: 10px 18px;
}
.song-search input { border: 0; background: transparent; font-family: var(--font-body); font-size: 15px; color: var(--ink); width: 100%; outline: none; }
.song-search svg { width: 18px; height: 18px; color: var(--ink-faint); flex-shrink: 0; }

.song-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.song-filter {
  border: 1.5px solid var(--line-strong); background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill); padding: 7px 15px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--ink-soft); cursor: pointer;
}
.song-filter:hover { border-color: var(--rose); color: var(--rose-deep); }
.song-filter.is-on { background: var(--rose); color: #fff; border-color: var(--rose); }

.song-meta { max-width: var(--site-max); margin: 18px auto 0; padding: 0 var(--page-pad); text-align: center; font-size: 13px; color: var(--ink-faint); }

.song-table { max-width: var(--site-max); margin: 18px auto 0; padding: 0 var(--page-pad) clamp(64px, 9vw, 104px); overflow-anchor: none; }
.request-guide { padding-top: clamp(38px, 6vw, 76px); }
.commands-section { padding-top: clamp(58px, 8vw, 96px); }

/* ── live request queue ── */
.live-queue { padding: clamp(8px, 2vw, 18px) 0 0; }
.lq__card {
  width: 100%; margin: 0 auto;
  background: linear-gradient(135deg, rgba(239,125,160,0.10), rgba(201,139,192,0.10));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: clamp(16px, 2.5vw, 22px); box-shadow: var(--shadow-sm);
}
.lq__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.lq__live { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--rose-deep); }
.lq__dot { width: 9px; height: 9px; border-radius: 50%; background: #e0245e; box-shadow: 0 0 0 0 rgba(224,36,94,0.5); animation: lq-pulse 1.8s infinite; }
@keyframes lq-pulse { 0% { box-shadow: 0 0 0 0 rgba(224,36,94,0.5); } 70% { box-shadow: 0 0 0 8px rgba(224,36,94,0); } 100% { box-shadow: 0 0 0 0 rgba(224,36,94,0); } }
.lq__src { font-size: 12.5px; font-weight: 700; color: var(--bloom-deep); }
.lq__now { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; background: rgba(255,255,255,0.6); border-radius: var(--radius-sm); }
.lq__badge { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--rose); padding: 3px 10px; border-radius: var(--radius-pill); }
.lq__song { font-size: 15.5px; color: var(--ink); }
.lq__artist { color: var(--ink-soft); font-weight: 600; font-size: 13.5px; }
.lq__by, .lq__rby { font-size: 12px; color: var(--ink-faint); }
.lq__sep { opacity: 0.58; padding: 0 2px; }
.lq__time { white-space: nowrap; font-weight: 700; }
.lq__upnext { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--bloom-deep); margin: 14px 4px 8px; }
.lq__row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 7px 14px; border-radius: 10px; }
.lq__row:nth-child(even) { background: rgba(255,255,255,0.45); }
.lq__n { font-size: 12px; font-weight: 800; color: var(--ink-faint); min-width: 16px; }
.lq__rsong { flex: 1; font-size: 13.5px; color: var(--ink); min-width: 0; }
.lq__rby { justify-self: end; text-align: right; }
.lq__empty { padding: 8px 14px; font-size: 13px; color: var(--ink-faint); }
.lq__captured { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.lq__captured-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 14px; margin: 0 4px 8px; }
.lq__captured-head strong { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--bloom-deep); }
.lq__captured-head small { font-size: 11.5px; color: var(--ink-faint); }
.lq__captured-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lq__captured-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 7px 14px; border-radius: 10px; }
.lq__captured-row:nth-child(even) { background: rgba(255,255,255,0.45); }
.lq__captured-check { color: var(--leaf); font-size: 12px; font-weight: 900; }
.lq__captured-song { min-width: 0; font-size: 13.5px; color: var(--ink); }
.lq__captured-artist { color: var(--ink-soft); font-size: 12.5px; font-weight: 600; }
.lq__captured-time { justify-self: end; white-space: nowrap; color: var(--ink-faint); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.lq__captured-empty { padding: 8px 14px; font-size: 13px; color: var(--ink-faint); }

/* ── song history (past setlists) ── */
.song-history .sh-summary { margin: 12px auto 0; font-size: 14px; color: var(--ink-soft); }
.song-history .sh-summary b { color: var(--rose-deep); }
.sh-list { display: grid; gap: clamp(16px, 2.5vw, 22px); max-width: 760px; margin: 0 auto; }
.sh-session {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: clamp(14px, 2.2vw, 20px); box-shadow: var(--shadow-sm);
}
.sh-session__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 4px 12px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.sh-session__date { font-weight: 800; font-size: 15px; color: var(--rose-deep); }
.sh-session__meta { font-size: 12.5px; font-weight: 600; color: var(--ink-faint); }
.sh-session__songs { list-style: none; margin: 0; padding: 0; }
.sh-song {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: baseline; gap: 10px; padding: 6px 8px; border-radius: 10px;
}
.sh-song:nth-child(even) { background: rgba(255,255,255,0.5); }
.sh-song__n { font-size: 12px; font-weight: 800; color: var(--ink-faint); text-align: right; }
.sh-song__main { font-size: 14px; color: var(--ink); min-width: 0; }
.sh-song__artist { color: var(--ink-soft); font-weight: 600; font-size: 12.5px; }
.sh-song__by { font-size: 11.5px; color: var(--ink-faint); }
.sh-song__time { justify-self: end; white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.sh-song__time.is-est { font-weight: 600; opacity: 0.72; }
.sh-song__sep { opacity: 0.55; padding: 0 2px; }
.sh-legend { display: block; margin-top: 5px; font-size: 12px; color: var(--ink-faint); }
.sh-more-wrap { text-align: center; margin-top: clamp(20px, 3vw, 28px); }
.sh-empty { padding: 24px 14px; text-align: center; font-size: 14px; color: var(--ink-faint); }

/* hero stat chips */
.sl-stats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.sl-stat {
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill); padding: 6px 14px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft);
}

/* ── toolbar ── */
.sl-toolbar {
  position: sticky; top: var(--nav-h); z-index: 20;
  max-width: var(--site-max); margin: 8px auto 0; padding: 12px 16px 10px;
  background: rgba(255, 248, 250, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: padding var(--transition), background var(--transition), box-shadow var(--transition);
}
.sl-toolbar__row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.sl-toolbar .song-search { flex: 1 1 360px; max-width: none; margin: 0; }
.sl-select {
  font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, 0.85); border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill); padding: 9px 14px; cursor: pointer; outline: none;
}
.sl-select:focus { border-color: var(--rose); }
.sl-view { display: flex; gap: 3px; background: rgba(255, 255, 255, 0.7); border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); padding: 3px; }
.sl-view button {
  width: 38px; height: 34px; border: 0; border-radius: var(--radius-pill); background: transparent;
  color: var(--ink-faint); cursor: pointer; font-size: 15px; line-height: 1;
}
.sl-view button.is-on { background: var(--rose); color: #fff; }
.sl-random {
  border: 1.5px solid var(--bloom); background: var(--bloom-soft); color: var(--bloom-deep);
  border-radius: var(--radius-pill); padding: 9px 15px; font-family: var(--font-body); font-size: 13px; font-weight: 800; cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.sl-random:hover { background: var(--bloom); color: #fff; }
.sl-random.is-rolling {
  transform: translateY(-1px);
  border-color: var(--rose);
  background: var(--rose-soft);
  color: var(--rose-deep);
  cursor: progress;
}

.sl-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  margin-top: 9px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent);
}
.sl-chips::-webkit-scrollbar { display: none; }
.sl-chips--quick { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.sl-chips--tags { margin-top: 7px; }
.sl-chip {
  flex: 0 0 auto;
  border: 1.5px solid var(--line-strong); background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill); padding: 5px 12px;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 700; color: var(--ink-soft); cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.sl-chip:hover { border-color: var(--rose); color: var(--rose-deep); }
.sl-chip.is-on { background: var(--rose); color: #fff; border-color: var(--rose); }
.sl-chip--tag.is-on { background: var(--bloom-deep); border-color: var(--bloom-deep); }
.sl-chip--quick.is-on { background: var(--night); border-color: var(--night); }
.sl-chip__n { opacity: 0.6; font-size: 11px; margin-left: 2px; }
.sl-chip.is-on .sl-chip__n { opacity: 0.85; }

body.songlist-page.is-toolbar-compact .sl-toolbar {
  padding: 8px 12px 8px;
  background: rgba(255, 248, 250, 0.94);
  box-shadow: var(--shadow);
}
body.songlist-page.is-toolbar-compact .sl-toolbar__row { gap: 6px; }
body.songlist-page.is-toolbar-compact .sl-toolbar .song-search {
  flex-basis: 220px;
  padding: 7px 12px;
  gap: 8px;
}
body.songlist-page.is-toolbar-compact .song-search input { font-size: 13px; }
body.songlist-page.is-toolbar-compact .song-search svg { width: 16px; height: 16px; }
body.songlist-page.is-toolbar-compact .sl-select { padding: 6px 10px; font-size: 12px; }
body.songlist-page.is-toolbar-compact .sl-view { gap: 2px; padding: 2px; }
body.songlist-page.is-toolbar-compact .sl-view button { width: 32px; height: 28px; font-size: 13px; }
body.songlist-page.is-toolbar-compact .sl-random,
body.songlist-page.is-toolbar-compact .sl-admin-toggle {
  padding: 6px 11px;
  font-size: 12px;
}
body.songlist-page.is-toolbar-compact .sl-chips {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 5px;
  margin-top: 5px;
  max-width: 100%;
  padding-bottom: 1px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
body.songlist-page.is-toolbar-compact .sl-chips::-webkit-scrollbar { display: none; }
body.songlist-page.is-toolbar-compact .sl-chips--quick {
  margin-top: 7px;
  padding-top: 7px;
}
body.songlist-page.is-toolbar-compact .sl-chip {
  flex: 0 0 auto;
  border-width: 1px;
  padding: 4px 9px;
  font-size: 11.5px;
}
body.songlist-page.is-toolbar-compact .sl-chip__n { display: none; }

.sl-resbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 2px 14px; font-size: 13px; color: var(--ink-faint); }
.sl-resbar:focus { outline: none; }
.sl-resbar:focus-visible { outline: 2px solid var(--rose); outline-offset: 5px; border-radius: var(--radius-sm); }
.sl-resbar b { color: var(--rose-deep); }

/* ── grid + cards ── */
.sl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: clamp(10px, 1.25vw, 16px); }
.sl-card {
  display: flex; flex-direction: column; text-align: left; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.82); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; font-family: inherit; color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  contain: layout paint style;
  content-visibility: auto;
  contain-intrinsic-size: 214px 276px;
}
.sl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--petal); }
.sl-card__art {
  position: relative; aspect-ratio: 1 / 1; display: block;
  background: linear-gradient(135deg, var(--rose-soft), var(--bloom-soft));
}
.sl-card__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-card__art.is-empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/artwork/emotes/o87Onpu2.png") center / min(64px, 34%) auto no-repeat;
  opacity: 0.62;
}
.sl-badge {
  position: absolute; top: 8px; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: var(--radius-pill); color: #fff;
}
.sl-badge--cover { left: 8px; background: rgba(167, 106, 160, 0.94); }
.sl-badge--play { left: 8px; background: rgba(193, 39, 45, 0.92); padding: 3px 9px; font-size: 10px; }
.sl-badge--rating { right: 8px; background: rgba(232, 185, 107, 0.96); color: var(--night-deep); }
.sl-badge--played { right: 8px; background: rgba(214, 92, 132, 0.94); }
.sl-badge--rating ~ .sl-badge--played { top: 34px; }
.sl-card__lang {
  position: absolute; right: 8px; bottom: 8px; font-size: 10px; font-weight: 800; letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.92); color: var(--night-deep); padding: 2px 7px; border-radius: var(--radius-pill);
}
.sl-card__dur {
  position: absolute; left: 8px; bottom: 8px; font-size: 10px; font-weight: 700;
  background: rgba(45, 24, 36, 0.72); color: #fff; padding: 2px 7px; border-radius: var(--radius-pill);
}
.sl-card__body { padding: 9px 10px 11px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sl-card__title { font-weight: 800; font-size: 13.5px; line-height: 1.28; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-card__sub { font-size: 11.5px; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-card__artist { font-size: 12px; line-height: 1.25; color: var(--bloom-deep); font-weight: 700; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-card__meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.sl-card__pill {
  min-width: 0;
  max-width: 100%;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 248, 250, 0.9);
  border: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sl-card__pill--rating {
  background: rgba(255, 241, 202, 0.92);
  color: var(--night-deep);
  border-color: rgba(232, 185, 107, 0.55);
}
.sl-card__pill--fresh {
  background: var(--bloom-soft);
  color: var(--bloom-deep);
  border-color: rgba(167, 106, 160, 0.32);
}

/* list view */
.sl-grid.is-list { grid-template-columns: 1fr; gap: 8px; }
.sl-grid.is-list .sl-card { flex-direction: row; align-items: center; padding: 8px 14px 8px 8px; contain-intrinsic-size: 70px 70px; }
.sl-grid.is-list .sl-card:hover { transform: translateX(3px); }
.sl-grid.is-list .sl-card__art { width: 52px; height: 52px; aspect-ratio: auto; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
.sl-grid.is-list .sl-card__art.is-empty::after { background-size: 25px auto; }
.sl-grid.is-list .sl-badge, .sl-grid.is-list .sl-card__lang { display: none; }
.sl-grid.is-list .sl-card__body { flex: 1; padding: 0 0 0 14px; }
.sl-grid.is-list .sl-card__meta { margin-top: 3px; }
.sl-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-faint); padding: 56px 0; }

/* table view */
.sl-grid.is-table { display: block; }
.sl-tablewrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}
.sl-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 13px;
}
.sl-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(255, 248, 250, 0.96);
  color: var(--bloom-deep);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.sl-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: middle;
}
.sl-table tbody tr:hover { background: rgba(253, 228, 236, 0.48); }
.sl-table tbody tr:last-child td { border-bottom: 0; }
.sl-row-open {
  display: grid;
  gap: 2px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  font-family: var(--font-body);
  cursor: pointer;
  color: var(--ink);
}
.sl-row-title { font-weight: 800; }
.sl-row-alt { font-size: 11.5px; color: var(--ink-faint); }
.sl-row-tags { min-width: 150px; }
.sl-mini-tag {
  display: inline-flex;
  align-items: center;
  margin: 2px 4px 2px 0;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--rose-deep);
  font-size: 10.5px;
  font-weight: 800;
}
.sl-mini-tag--cover { background: var(--bloom-soft); color: var(--bloom-deep); }
.sl-request {
  border: 1.5px solid var(--rose);
  background: var(--rose-soft);
  color: var(--rose-deep);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.sl-request:hover { background: var(--rose); color: #fff; }
.sl-table-rating { color: var(--rose-deep); font-weight: 900; white-space: nowrap; }

.sl-admin-toggle {
  border: 1.5px solid var(--gold);
  background: var(--gold-soft);
  color: var(--night-deep);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.sl-admin-toggle:hover { background: var(--gold); color: var(--night-deep); }
.sl-admin-panel {
  max-width: var(--site-max);
  margin: 12px auto 0;
  padding: 0 var(--page-pad);
}
.sl-admin-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 360px) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}
.sl-admin__copy strong { display: block; color: var(--ink); font-size: 14px; }
.sl-admin__copy p { margin: 3px 0 0; color: var(--ink-faint); font-size: 12px; line-height: 1.45; }
.sl-admin__login { display: flex; gap: 8px; }
.sl-admin__login input {
  min-width: 0;
  flex: 1;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  padding: 9px 13px;
  font-family: var(--font-body);
  color: var(--ink);
}
.sl-admin__login input:focus { border-color: var(--rose); outline: none; }
.sl-admin__login button,
.sl-admin__actions button,
.sl-admin__import {
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink-soft);
  padding: 8px 13px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.sl-admin__login button { background: var(--night); color: #fff; border-color: var(--night); }
.sl-admin__actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.sl-admin__actions button:hover,
.sl-admin__import:hover { border-color: var(--rose); color: var(--rose-deep); }
.sl-admin__actions button:disabled { opacity: 0.55; cursor: default; }
.sl-admin__import input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.sl-admin__add {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.sl-admin__add[hidden] { display: none; }
.sl-admin__add-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.sl-admin__add-head strong { color: var(--ink); font-size: 14px; }
#sl-admin-add-status { color: var(--ink-faint); font-size: 12px; }
#sl-admin-add-status.is-ok { color: var(--bloom-deep); font-weight: 700; }
#sl-admin-add-status.is-error { color: var(--rose-deep); font-weight: 700; }
.sl-admin__add-grid {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) minmax(140px, 1fr) 82px minmax(140px, 1fr);
  gap: 8px;
  align-items: center;
}
.sl-admin__add-grid input,
.sl-admin__add-grid select {
  min-width: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  padding: 9px 13px;
  font-family: var(--font-body);
  color: var(--ink);
}
.sl-admin__add-grid input:focus,
.sl-admin__add-grid select:focus {
  border-color: var(--rose);
  outline: none;
}
.sl-admin__check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 800;
}
.sl-admin__check input { width: 16px; height: 16px; accent-color: var(--rose); }
#sl-admin-add-save {
  border: 1.5px solid var(--rose);
  background: var(--rose);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
#sl-admin-add-save:disabled { opacity: 0.62; cursor: wait; }

.sl-rating-block {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.58);
}
.sl-rating__summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--rose-deep);
  font-weight: 900;
  font-size: 13px;
}
.sl-rating__summary.is-empty { color: var(--ink-faint); font-weight: 700; }
.sl-rating__label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}
.sl-rating__stars {
  display: grid;
  grid-template-columns: repeat(10, minmax(24px, 1fr)) auto;
  gap: 4px;
}
.sl-rating__stars button {
  min-width: 0;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-weight: 900;
  cursor: pointer;
}
.sl-rating__stars button:hover,
.sl-rating__stars button.is-on {
  background: var(--rose-soft);
  color: var(--rose-deep);
  border-color: var(--rose);
}
.sl-rating__stars .sl-rating__clear {
  padding: 0 10px;
  color: var(--ink-soft);
  font-size: 11px;
}

/* ── pager ── */
.sl-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.sl-pager:empty { display: none; }
.sl-pager--top {
  margin: 12px 0 18px; padding: 10px 0 12px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.sl-pager--bottom { margin-top: 30px; }
.sl-pg {
  min-width: 40px; height: 40px; padding: 0 6px; border: 1.5px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7); border-radius: 11px; color: var(--ink-soft);
  font-family: var(--font-body); font-weight: 700; font-size: 13px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.sl-pg:hover:not(:disabled):not(.is-active) { border-color: var(--rose); color: var(--rose-deep); }
.sl-pg.is-active { background: var(--rose); color: #fff; border-color: var(--rose); }
.sl-pg:focus-visible { outline: 3px solid rgba(201, 139, 192, 0.32); outline-offset: 2px; }
.sl-pg:disabled { opacity: 0.4; cursor: default; }
.sl-pg--gap { border: 0; background: transparent; cursor: default; }

/* ── smart picker reel ── */
.sl-picker-overlay[hidden] { display: none; }
.sl-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(45, 24, 36, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.sl-picker-overlay.is-open { opacity: 1; }
.sl-picker-panel {
  position: relative;
  width: min(720px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 20% 0%, rgba(253, 228, 236, 0.96), transparent 38%),
    linear-gradient(145deg, var(--cream), #fff);
  box-shadow: var(--shadow-lg);
  padding: clamp(18px, 4vw, 28px);
  transform: translateY(12px) scale(0.985);
  transition: transform 0.24s var(--ease);
}
.sl-picker-overlay.is-open .sl-picker-panel { transform: none; }
.sl-picker-close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--ink-soft);
  cursor: pointer;
}
.sl-picker-close:hover { background: var(--rose); color: #fff; }
.sl-picker-kicker {
  color: var(--bloom-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 14px;
}
.sl-picker-reel {
  position: relative;
  height: clamp(136px, 22vw, 172px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 248, 250, 0.94), rgba(253, 228, 236, 0.48));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}
.sl-picker-reel::before,
.sl-picker-reel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18%;
  z-index: 3;
  pointer-events: none;
}
.sl-picker-reel::before { left: 0; background: linear-gradient(90deg, var(--cream), transparent); }
.sl-picker-reel::after { right: 0; background: linear-gradient(270deg, var(--cream), transparent); }
.sl-picker-strip {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  will-change: transform;
}
.sl-picker-cell {
  position: relative;
  flex: 0 0 clamp(104px, 15vw, 132px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--rose-soft), var(--bloom-soft));
  box-shadow: 0 14px 30px rgba(95, 49, 74, 0.14);
}
.sl-picker-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sl-picker-cell.is-empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/artwork/emotes/o87Onpu2.png") center / 34px auto no-repeat;
  opacity: 0.62;
}
.sl-picker-cell__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 8px 7px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(45, 24, 36, 0.82));
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sl-picker-cell.is-win { box-shadow: 0 0 0 2px var(--bloom), 0 0 28px rgba(201, 139, 192, 0.42); }
.sl-picker-cell.land { animation: sl-picker-land 0.58s cubic-bezier(.2,.9,.25,1.18) both; }
@keyframes sl-picker-land { 0% { transform: scale(1); } 62% { transform: scale(1.1); } 100% { transform: scale(1.04); } }
.sl-picker-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  width: 3px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--bloom), var(--rose));
  box-shadow: 0 0 18px rgba(214, 92, 132, 0.5);
}
.sl-picker-marker::before,
.sl-picker-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}
.sl-picker-marker::before { top: 0; border-top: 12px solid var(--bloom); }
.sl-picker-marker::after { bottom: 0; border-bottom: 12px solid var(--rose); }
.sl-picker-result:empty { display: none; }
.sl-picker-result {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  animation: sl-picker-result 0.24s var(--ease) both;
}
@keyframes sl-picker-result { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sl-picker-result__art {
  position: relative;
  width: 82px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rose-soft), var(--bloom-soft));
}
.sl-picker-result__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-picker-result__art.is-empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/artwork/emotes/o87Onpu2.png") center / 44px auto no-repeat;
  opacity: 0.62;
}
.sl-picker-result__body { min-width: 0; }
.sl-picker-result__label {
  display: block;
  color: var(--rose-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sl-picker-result strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sl-picker-result small {
  display: block;
  margin-top: 2px;
  color: var(--bloom-deep);
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sl-picker-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.sl-picker-pills span {
  max-width: 100%;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 248, 250, 0.9);
  color: var(--ink-faint);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.25;
}

/* ── detail modal ── */
.sl-overlay {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  background: rgba(45, 24, 36, 0.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); padding: 16px;
}
.sl-overlay.is-open { display: flex; animation: sl-fade 0.2s var(--ease); }
@keyframes sl-fade { from { opacity: 0; } to { opacity: 1; } }
.sl-modal {
  position: relative; width: min(480px, 100%); max-height: 88vh; overflow: auto;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 22px 22px 24px;
  animation: sl-rise 0.25s var(--ease);
}
@keyframes sl-rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.sl-m__close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: var(--paper-deep); color: var(--ink-soft); cursor: pointer; font-size: 14px;
}
.sl-m__close:hover { background: var(--rose); color: #fff; }
.sl-m__player { margin-bottom: 16px; }
.sl-m__player iframe { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); display: block; box-shadow: var(--shadow-sm); }
.sl-m__head { display: flex; gap: 16px; align-items: flex-start; }
.sl-m__artwrap { position: relative; width: 96px; height: 96px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.sl-m__artwrap.is-playable { cursor: pointer; }
.sl-m__art { width: 96px; height: 96px; border-radius: var(--radius-sm); object-fit: cover; display: block; }
.sl-m__art.is-empty {
  background:
    url("../images/artwork/emotes/o87Onpu2.png") center / 54px auto no-repeat,
    linear-gradient(135deg, var(--rose-soft), var(--bloom-soft));
}
.sl-m__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; background: rgba(45, 24, 36, 0.32);
  opacity: 0; transition: opacity var(--transition);
}
.sl-m__artwrap.is-playable:hover .sl-m__play { opacity: 1; }
.sl-m__artwrap.is-playable .sl-m__play { opacity: 0.92; }
.sl-m__artwrap.is-playable .sl-m__play { text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.sl-m__meta { min-width: 0; padding-right: 26px; }
.sl-m__name { font-family: var(--font-display); font-size: clamp(20px, 4vw, 26px); font-weight: 700; color: var(--ink); line-height: 1.2; }
.sl-m__alt { font-size: 13px; color: var(--ink-faint); margin-top: 3px; }
.sl-m__artist { font-size: 14px; color: var(--bloom-deep); font-weight: 700; margin-top: 8px; }
.sl-m__played { font-size: 12.5px; color: var(--ink-faint); margin-top: 3px; }
.sl-m__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.sl-m__tag {
  border: 1px solid var(--line-strong); background: var(--accent-soft); color: var(--rose-deep);
  border-radius: var(--radius-pill); padding: 4px 11px; font-family: var(--font-body); font-size: 12px; font-weight: 700; cursor: pointer;
}
.sl-m__tag:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.sl-m__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.sl-lk {
  display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px;
  border-radius: var(--radius-sm); font-weight: 800; font-size: 13px; border: 1.5px solid var(--line-strong); text-decoration: none;
}
.sl-lk--yt { background: #fdecec; color: #c1272d; border-color: #f7c9c9; }
.sl-lk--sp { background: #e8f6ed; color: #1a7a40; border-color: #c4e7d2; }
.sl-lk--ap { background: #fbe9f1; color: #b02a64; border-color: #f3c4da; }
.sl-lk--ssl { background: #eef2fb; color: #40506c; border-color: #cbd6ee; }
.sl-lk--cover { grid-column: 1 / -1; background: var(--bloom-soft); color: var(--bloom-deep); border-color: var(--bloom); }
.sl-lk:hover { filter: brightness(0.97); transform: translateY(-1px); }
.sl-m__requestbox {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  padding: 12px;
  border: 1px dashed var(--rose);
  border-radius: var(--radius-sm);
  background: rgba(253, 228, 236, 0.65);
}
.sl-m__requestbox code {
  display: block;
  overflow-wrap: anywhere;
  color: var(--night-deep);
  font-weight: 800;
}
.sl-m__request-actions { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(120px, 0.65fr); gap: 8px; }
.sl-m__copy {
  width: 100%; padding: 13px; border: 0; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--rose), var(--bloom-deep)); color: #fff;
  font-family: var(--font-body); font-weight: 800; font-size: 14px; cursor: pointer;
}
.sl-m__copy:hover { filter: brightness(1.04); }
.sl-m__hint { text-align: center; font-size: 12px; color: var(--ink-faint); margin-top: 10px; }

/* ── toast ── */
.sl-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(140%);
  background: var(--night-deep); color: #fff; padding: 11px 20px; border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 600; z-index: 300; box-shadow: var(--shadow);
  transition: transform 0.28s var(--ease); max-width: 90vw;
}
.sl-toast.is-show { transform: translateX(-50%) translateY(0); }

.note-card {
  background: var(--accent-soft); border: 1px dashed var(--rose);
  border-radius: var(--radius-sm); padding: 16px 20px; font-size: 13.5px; color: var(--rose-deep);
  max-width: 760px; margin: 0 auto;
}

.command-console {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-sm);
}
body.songlist-page .command-console { max-width: 100%; }

/* ── Posts archive ── */
.posts-hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.78fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: calc(var(--nav-h) + clamp(34px, 6vw, 72px)) var(--page-pad) clamp(42px, 7vw, 86px);
  max-width: calc(var(--site-max) + var(--page-pad-x2));
  margin: 0 auto;
}

.posts-hero__copy { min-width: 0; }
.posts-hero .hero__badge { margin-bottom: 18px; }
.posts-hero .hero__title { line-height: 0.9; }
.posts-hero .lead { max-width: 680px; margin-top: 22px; }

.posts-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.posts-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.posts-stat {
  min-width: 112px;
  display: grid;
  gap: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-sm);
}

.posts-stat strong {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  color: var(--rose-deep);
}

.posts-stat small {
  color: var(--ink-soft);
  font-weight: 700;
  line-height: 1.25;
}

.posts-hero__visual {
  position: relative;
  min-height: clamp(420px, 47vw, 620px);
}

.posts-preview {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 238, 244, 0.58));
  box-shadow: var(--shadow-lg);
}

.posts-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.posts-preview--large {
  position: absolute;
  inset: 14% 8% auto 0;
  aspect-ratio: 16 / 9;
  transform: rotate(-2deg);
}

.posts-preview--small {
  position: absolute;
  width: min(45%, 230px);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
}

.posts-preview--top {
  top: 0;
  right: 0;
  transform: rotate(4deg);
}

.posts-preview--bottom {
  right: 8%;
  bottom: 0;
  transform: rotate(3deg);
}

.posts-source { padding: 0 var(--page-pad) 28px; }

.posts-source__bar {
  max-width: var(--site-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink-soft);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.posts-toolbar {
  position: sticky;
  top: var(--nav-h);
  z-index: 22;
  padding: 12px var(--page-pad);
  background: rgba(255, 248, 250, 0.76);
  border-block: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.posts-toolbar__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.post-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.post-search[hidden] { display: none; }

.post-search svg { width: 18px; height: 18px; color: var(--bloom-deep); flex: 0 0 auto; }

.post-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 700 15px/1.2 var(--font-body);
}

.posts-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.posts-filter-row::-webkit-scrollbar { display: none; }

.post-chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  font: 800 13px/1.1 var(--font-body);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.post-chip:hover { transform: translateY(-1px); color: var(--ink); border-color: var(--rose); }
.post-chip.is-active { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; }

.posts-archive { padding: clamp(34px, 5vw, 58px) 0 clamp(72px, 10vw, 120px); }

.posts-archive__layout {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 38px);
  align-items: start;
}

.posts-sidecar { min-width: 0; }

.posts-sidecar__sticky {
  position: sticky;
  top: calc(var(--nav-h) + 92px);
  display: grid;
  gap: 10px;
}

.posts-sidecar__item {
  display: grid;
  gap: 6px;
  padding: 14px 15px;
  border-left: 3px solid var(--rose);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.posts-sidecar__item strong {
  color: var(--ink);
  font-size: 13px;
}

.posts-sidecar__item span {
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.48;
}

.posts-feed-panel { min-width: 0; }

.posts-resultbar {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-weight: 800;
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  align-items: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.post-card--feature { border-color: rgba(239, 125, 160, 0.34); }
.post-card--note { border-color: rgba(224, 99, 138, 0.28); }
.post-card--words {
  display: block;
  border-left: 4px solid var(--rose);
}

@media (min-width: 900px) {
  .post-card--feature { grid-column: auto; }
}

@media (min-width: 761px) {
  .post-card--feature:not(.post-card--words) { grid-template-columns: 1fr; }
  .post-card--feature:not(.post-card--words) .post-card__media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.post-card__media {
  display: grid;
  gap: 2px;
  align-items: start;
  align-content: start;
  padding: 2px;
  border-right: 1px solid var(--line);
  background: var(--rose-soft);
}

.post-card__media--1 { grid-template-columns: 1fr; }
.post-card__media--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card__media--3,
.post-card__media--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.post-card__media-btn {
  position: relative;
  min-width: 0;
  width: 100%;
  min-height: 118px;
  max-height: 380px;
  aspect-ratio: var(--media-width, 4) / var(--media-height, 3);
  padding: 0;
  border: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 238, 244, 0.54));
  overflow: hidden;
  cursor: zoom-in;
  display: grid;
  place-items: center;
}

.post-card__media--1 .post-card__media-btn { min-height: 150px; }
.post-card--feature .post-card__media--1 .post-card__media-btn { min-height: 168px; }

.post-card__media-btn img,
.post-card__media-btn video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform var(--transition);
}

.post-card__media-btn:hover img,
.post-card__media-btn:hover video { transform: scale(1.01); }

.post-card__play {
  position: absolute;
  inset: auto 10px 10px auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(74, 47, 58, 0.82);
  color: #fff;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}

.post-card__quote {
  min-height: 180px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 24px;
  background: linear-gradient(145deg, var(--rose-soft), rgba(255, 255, 255, 0.82));
  color: var(--bloom-deep);
  font-weight: 800;
}

.post-card__avatar {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.post-card__body { padding: 16px; }
.post-card--words .post-card__body { padding: clamp(18px, 3vw, 26px); }

.post-card__meta,
.post-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.post-card__meta {
  color: var(--ink-faint);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.post-card__kind {
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--bloom-soft);
  color: var(--bloom-deep);
}

.post-card__text {
  margin: 12px 0 14px;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.62;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.post-card--words .post-card__text {
  position: relative;
  margin-top: 18px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.72;
}

.post-card--words .post-card__text::before {
  content: "“";
  display: block;
  margin-bottom: 4px;
  color: var(--rose-deep);
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 0.8;
}

.post-card__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.post-topic {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.post-card__numbers {
  color: var(--ink-soft);
  font-weight: 800;
  font-size: 13px;
}

.post-card__link {
  flex: 0 0 auto;
  font-weight: 900;
  font-size: 13px;
}

.posts-load-more {
  display: block;
  margin: 22px auto 0;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.8);
  color: var(--rose-deep);
  font: 900 13px/1.1 var(--font-body);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.posts-load-more:hover {
  border-color: var(--rose);
  background: #fff;
}

.posts-load-more[hidden] { display: none; }

body.is-lightbox-open { overflow: hidden; }

.post-lightbox[hidden] { display: none; }

.post-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 28px);
}

.post-lightbox__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 13, 18, 0.82);
  backdrop-filter: blur(10px);
}

.post-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  min-height: min(680px, 78vh);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
}

.post-lightbox__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #100b0e;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.post-lightbox__media {
  min-height: min(560px, 68vh);
  display: grid;
  place-items: center;
  background: #080608;
}

.post-lightbox__media img,
.post-lightbox__media video {
  max-width: 100%;
  max-height: min(560px, 68vh);
  width: auto;
  height: auto;
}

.post-lightbox figcaption {
  display: grid;
  gap: 6px;
  padding: 14px 16px 16px;
  color: rgba(255, 248, 250, 0.86);
}

.post-lightbox figcaption strong { color: #fff; }
.post-lightbox figcaption span { white-space: pre-line; }

.post-lightbox__close,
.post-lightbox__nav {
  border: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--night-deep);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.post-lightbox__close {
  position: absolute;
  top: -8px;
  right: 44px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  z-index: 2;
}

.post-lightbox__nav {
  width: 46px;
  height: 54px;
  border-radius: var(--radius-sm);
  font-size: 42px;
  line-height: 1;
}
.command-search { max-width: none; margin-bottom: 10px; }
.command-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  gap: 8px;
}
.command-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
}
.command-card__main { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.command-copy {
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--night);
  color: #fff;
  padding: 4px 9px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.command-card__aliases {
  color: var(--bloom-deep);
  font-size: 11.5px;
  font-weight: 800;
}
.command-card__mod {
  margin-left: auto;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  color: var(--night-deep);
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.command-card p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.35; }

/* ── Responsive ── */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; text-align: center; min-height: auto; }
  .hero__badge, .hero__chips, .hero__actions { justify-content: center; }
  .hero__welcome { margin-left: auto; margin-right: auto; }
  .hero__visual { margin-top: 12px; }
  .songlist-hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: calc(var(--nav-h) + 28px);
    text-align: center;
  }
  .songlist-hero__visual { display: none; }
  .songlist-hero__intro {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }
  .songlist-hero__avatar-mark { display: block; }
  .songlist-hero .hero__badge,
  .songlist-hero .sl-stats,
  .songlist-hero__actions { justify-content: center; }
  .songlist-hero .lead {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
  .songlist-hero .song-meta { text-align: center; }
  .art-hero { grid-template-columns: 1fr; text-align: center; min-height: auto; }
  .art-hero__copy .hero__badge,
  .art-hero__copy .hero__actions { justify-content: center; }
  .art-hero__stage { order: -1; min-height: auto; }
  .art-hero__portrait { width: min(430px, 86vw); }
  .art-hero__emotes { width: min(360px, 78vw); }
  .posts-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }
  .posts-hero .hero__badge,
  .posts-hero__actions,
  .posts-stats { justify-content: center; }
  .posts-hero .lead { margin-left: auto; margin-right: auto; }
  .posts-hero__visual {
    order: -1;
    width: min(620px, 100%);
    min-height: 420px;
    margin: 0 auto;
  }
  .posts-archive__layout { grid-template-columns: 1fr; }
  .posts-sidecar__sticky {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .art-portrait-grid { grid-template-columns: 1fr; }
  .art-piece--feature { grid-template-columns: 1fr; }
  .art-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-social-card,
  .art-social-card--wide { grid-column: span 6; }
  .portal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-layout { grid-template-columns: 1fr; }
  .about-portrait { position: static; max-width: 380px; margin: 0 auto; }
  .player-row { grid-template-columns: 1fr; }
  .footer-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  /* Nav already collapses to the hamburger at ≤1100px (see the max-width:1100px
     block above); the only extra tweak needed on narrow screens is hiding the
     brand tagline so the header stays on one line. */
  .nav__space { display: none; }
  .theme-picker__btn {
    width: 42px;
    height: 42px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }
  .theme-picker__btn::before {
    content: "◐";
    color: var(--ink-soft);
    font-size: 17px;
  }
  .lang-picker__select {
    width: 100px;
    min-height: 42px;
  }
  .theme-picker__menu { width: min(280px, calc(100vw - 24px)); }
  .hero {
    gap: 26px;
    padding-top: calc(var(--nav-h) + 38px);
  }
  .hero-card {
    max-width: 520px;
    padding: 18px;
  }
  .hero-card__emotes { display: none; }
  .hero-card__schedule { margin-top: 16px; }
  .stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .spec-sheet { grid-template-columns: 1fr; }
  .schedule-actions .btn { white-space: normal; text-align: center; }
  .songlist-hero {
    padding-top: calc(var(--nav-h) + 14px);
    padding-bottom: 16px;
  }
  .songlist-hero .hero__title {
    margin-top: 14px;
    font-size: clamp(38px, 12vw, 58px);
  }
  .songlist-hero .lead { font-size: 15.5px; }
  .songlist-hero__actions { display: none; }
  .posts-hero {
    padding-top: calc(var(--nav-h) + 22px);
    padding-bottom: 24px;
  }
  .posts-hero__visual { min-height: 320px; }
  .posts-preview--large { inset: 5% 6% auto 0; }
  .posts-preview--small { width: min(42%, 180px); }
  .posts-source__bar {
    display: grid;
    justify-items: center;
    text-align: center;
  }
  .posts-toolbar { padding: 10px 12px; }
  .posts-toolbar__inner { gap: 8px; }
  .post-search { min-height: 40px; }
  .post-chip {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 12.5px;
  }
  .posts-grid { gap: 14px; }
  .posts-sidecar__sticky { grid-template-columns: 1fr; }
  .post-card {
    grid-template-columns: 1fr;
  }
  .post-card__media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .post-lightbox__dialog {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .post-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 48px;
    z-index: 2;
  }
  .post-lightbox__nav--prev { left: -4px; }
  .post-lightbox__nav--next { right: -4px; }
  .post-lightbox__close {
    top: -10px;
    right: -4px;
  }
  .post-lightbox__media { min-height: min(520px, 62vh); }
  .sl-toolbar { top: 0; border-radius: 0; margin-top: 0; padding-top: 10px; }
  body.songlist-page .sl-toolbar { top: var(--nav-h); border-radius: var(--radius-sm); margin-top: 8px; padding: 10px 10px 8px; }
  .sl-toolbar__row { gap: 8px; }
  .sl-toolbar .song-search { flex-basis: 100%; max-width: none; }
  #sl-sort { flex: 1 1 170px; min-width: 150px; }
  #sl-size { flex: 0 0 86px; min-width: 74px; }
  .sl-view { order: 5; flex: 0 0 auto; }
  .sl-admin-toggle { order: 4; flex: 0 0 auto; }
  .sl-chips {
    margin-top: 8px;
    gap: 6px;
  }
  .sl-chips--quick {
    margin-top: 9px;
    padding-top: 9px;
  }
  .sl-chip {
    padding: 5px 11px;
    font-size: 12px;
  }
  body.songlist-page.is-toolbar-compact .sl-toolbar { padding: 6px 8px 7px; }
  body.songlist-page.is-toolbar-compact .sl-toolbar__row {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  body.songlist-page.is-toolbar-compact .sl-toolbar__row::-webkit-scrollbar { display: none; }
  body.songlist-page.is-toolbar-compact .sl-toolbar .song-search {
    flex: 0 0 min(220px, 68vw);
    max-width: none;
  }
  body.songlist-page.is-toolbar-compact .sl-select,
  body.songlist-page.is-toolbar-compact .sl-view,
  body.songlist-page.is-toolbar-compact .sl-random,
  body.songlist-page.is-toolbar-compact .sl-admin-toggle {
    flex: 0 0 auto;
    order: 0;
  }
  .sl-random {
    flex: 0 0 auto;
    order: 3;
    padding: 8px 12px;
    font-size: 12px;
  }
  .sl-picker-overlay { padding: 10px; }
  .sl-picker-panel { padding: 18px 12px 14px; }
  .sl-picker-reel { height: 132px; }
  .sl-picker-cell { flex-basis: 96px; border-radius: 12px; }
  .sl-picker-result {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }
  .sl-picker-result__art { width: 64px; }
  .lq__row { grid-template-columns: 20px minmax(0, 1fr); }
  .lq__rby { grid-column: 2; justify-self: start; text-align: left; }
  .sh-song { grid-template-columns: 22px minmax(0, 1fr); }
  .sh-song__time { grid-column: 2; justify-self: start; }
  .sl-admin-card { grid-template-columns: 1fr; }
  .sl-admin__actions { justify-content: flex-start; }
  .sl-admin__add-grid { grid-template-columns: 1fr; }
  .sl-admin__check,
  #sl-admin-add-save { width: 100%; }
  #sl-admin-add-save { text-align: center; }
  .request-guide { padding-top: 42px; }
  .command-console { border-radius: var(--radius-sm); }
  .sl-tablewrap { margin: 0 -10px; border-radius: 0; }
  body.songlist-page .sl-tablewrap { margin: 0; border-radius: var(--radius-sm); }
}

@media (max-width: 480px) {
  .nav__name { font-size: 20px; }
  .nav__inner { gap: 6px; }
  .nav__actions { gap: 5px; }
  .lang-picker__select { width: 92px; font-size: 11.5px; padding-inline: 9px 18px; }
  .theme-picker__menu {
    position: fixed;
    top: calc(var(--nav-h) + 8px);
    left: 12px;
    right: 12px;
    width: auto;
  }
  .hero { padding-inline: 18px; }
  .hero__copy { min-width: 0; width: 100%; }
  .hero__welcome { max-width: 100%; }
  .hero__actions { width: 100%; gap: 10px; }
  .hero__actions .btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    padding: 12px 8px;
    gap: 6px;
    font-size: 11.5px;
  }
  .hero__actions .btn svg { width: 16px; height: 16px; }
  .hero__actions .btn--ghost { display: none; }
  .portal { padding-inline: 14px; }
  .portal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .portal__card {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    min-height: 86px;
    padding: 14px 11px;
  }
  .portal__icon { width: 30px; height: 30px; }
  .portal__icon svg { width: 18px; height: 18px; }
  .portal__label { font-size: 13px; }
  .portal__desc { font-size: 10.5px; }
  .emote-chorus {
    padding-bottom: 54px;
  }
  .emote-chorus .wrap { padding-inline: 14px; }
  .emote-chorus__shell {
    min-height: 0;
    padding: 28px 16px 18px;
    border-radius: 25px;
  }
  .emote-chorus__copy p { font-size: 13px; }
  .emote-chorus__score {
    min-height: 136px;
    min-width: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    padding: 10px 20px 8px 0;
  }
  .emote-chorus__score::before { inset: 16px 10px 26px 0; }
  .emote-beat img {
    width: clamp(48px, 15vw, 62px);
    height: clamp(48px, 15vw, 62px);
  }
  .emote-beat > span {
    padding: 2px 4px;
    font-size: 8.5px;
  }
  .emote-chorus__peek {
    right: -27px;
    width: 62px;
    height: 62px;
  }
  .hero__visual { width: 100%; }
  .hero-card__metrics { grid-template-columns: 1fr; }
  .hm__right { display: inline-flex; align-items: baseline; gap: 4px; }
  .hero-card__identity { gap: 12px; text-align: left; }
  .hero-card__identity img,
  .hero-card__avatar {
    width: 74px;
    height: 74px;
    border-radius: 20px;
  }
  .art-hero { padding-top: calc(var(--nav-h) + 32px); }
  .art-hero__stage { min-height: auto; }
  .art-hero__portrait { border-radius: 22px; }
  .art-hero__emotes {
    width: min(300px, 82vw);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }
  .art-hero__emotes img { border-radius: 14px; padding: 10%; }
  .art-social-grid { grid-template-columns: 1fr; }
  .art-social-card,
  .art-social-card--wide { grid-column: auto; }
  .art-video-grid { grid-template-columns: 1fr; }
  .art-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .art-tile { min-height: 142px; padding: 13px 8px 11px; }
  .art-tile img { width: min(78px, 70%); }
  .art-piece { border-radius: var(--radius-sm); }
  .footer-social-grid { gap: 10px; }
  .footer-social-link { grid-template-columns: 28px minmax(0, 1fr); padding: 12px; }
  .footer-social-link svg { width: 21px; height: 21px; }
  .countdown__unit { min-width: 54px; padding: 12px 10px; }
  .countdown__num { font-size: 24px; }
  .hero-card__emotes { gap: 6px; }
  .hero-card__emotes img { width: 34px; height: 34px; }
  .songlist-hero__avatar-mark {
    width: 68px;
    height: 68px;
    border-radius: 21px;
  }
  .songlist-hero .hero__title { font-size: clamp(36px, 13vw, 50px); }
  .songlist-hero .lead { font-size: 14.5px; }
  .posts-hero .hero__title { font-size: clamp(38px, 13vw, 52px); }
  .posts-hero {
    gap: 18px;
    padding-bottom: 16px;
  }
  .posts-hero .lead {
    margin-top: 16px;
    font-size: 15.5px;
  }
  .posts-hero__actions { margin-top: 20px; }
  .posts-stats { margin-top: 18px; }
  .posts-hero__visual { min-height: 218px; }
  .posts-preview { border-radius: 16px; }
  .posts-preview--small { width: min(45%, 145px); }
  .posts-stat {
    min-width: calc(50% - 6px);
    padding: 10px 12px;
  }
  .post-card__media--2,
  .post-card__media--3,
  .post-card__media--4 { grid-template-columns: 1fr; }
  .post-card__body { padding: 14px; }
  .post-card__text {
    font-size: 14.5px;
    line-height: 1.58;
  }
  .sl-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
  .sl-select { flex: 1; }
  .sl-admin__login { flex-direction: column; }
  .sl-admin__actions { display: grid; grid-template-columns: 1fr; }
  .sl-admin__actions button,
  .sl-admin__import { width: 100%; text-align: center; }
  .sl-rating__stars { grid-template-columns: repeat(5, 1fr); }
  .sl-rating__stars .sl-rating__clear { grid-column: 1 / -1; }
  .sl-m__head { flex-direction: column; }
  .sl-m__meta { padding-right: 0; }
  .sl-m__request-actions { grid-template-columns: 1fr; }
  .command-card__mod { margin-left: 0; }
}

/* ══ Back to top ══ */
.back-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--cream); color: var(--ink-soft);
  box-shadow: var(--shadow-sm); cursor: pointer;
  font-family: var(--font-body); font-size: 19px; font-weight: 700; line-height: 1;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, color 0.2s, border-color 0.2s;
}
.back-top.is-show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 640px) {
  .back-top { right: 12px; bottom: 12px; width: 40px; height: 40px; }
}

/* ══ Song modal: copy-share-link button ══ */
button.sl-lk {
  font-family: var(--font-body); cursor: pointer;
}
.sl-lk--share {
  background: var(--gold-soft); color: var(--night-deep); border-color: var(--gold);
}
.sl-m__request-actions .sl-lk--share { min-height: 44px; padding: 12px; }

/* ══ Hana's words (sourced quotes) ══ */
.hana-voice {
  padding-top: clamp(40px, 7vh, 72px);
  padding-bottom: clamp(32px, 6vh, 56px);
}
.hana-voice__lead { max-width: 640px; }
.hana-voice__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: 28px;
}
.hana-voice__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  padding: 22px 20px 18px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 94%, white);
  border: 1px solid color-mix(in srgb, var(--bloom) 16%, transparent);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.hana-voice__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px color-mix(in srgb, var(--bloom-deep) 12%, transparent);
}
.hana-voice__card--bloom {
  background: linear-gradient(165deg, color-mix(in srgb, var(--rose-soft) 80%, white) 0%, var(--surface) 72%);
}
.hana-voice__card--night {
  background: linear-gradient(165deg, color-mix(in srgb, var(--bloom-soft) 70%, white) 0%, var(--surface) 70%);
}
.hana-voice__card--quiet {
  background: linear-gradient(165deg, color-mix(in srgb, var(--gold-soft) 45%, white) 0%, var(--surface) 72%);
}
.hana-voice__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  line-height: 1;
}
.hana-voice__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 7px color-mix(in srgb, var(--bloom-deep) 14%, transparent));
  transition: transform 220ms ease;
}
.hana-voice__card:hover .hana-voice__mark img { transform: translateY(-2px) rotate(-3deg); }
.hana-voice__jp {
  font-family: var(--font-jp, "Noto Sans JP", sans-serif);
  font-size: 15px;
  line-height: 1.9;
  color: var(--night-deep);
  margin: 0;
  flex: 1;
}
.hana-voice__jp em {
  font-style: normal;
  color: var(--rose-deep);
  background: color-mix(in srgb, var(--rose-soft) 55%, transparent);
  padding: 0 3px;
  border-radius: 4px;
}
.hana-voice__gl {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.hana-voice__cite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--bloom) 12%, transparent);
  font-size: 12px;
  color: var(--ink-faint);
}
.hana-voice__cite a {
  margin-left: auto;
  font-weight: 600;
  color: var(--bloom-deep);
  text-decoration: none;
}
.hana-voice__cite a:hover { text-decoration: underline; }
.hana-voice__foot {
  margin: 24px 0 0;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.hana-voice__foot a {
  font-weight: 600;
  color: var(--rose-deep);
  text-decoration: none;
}
.hana-voice__foot a:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .hana-voice__grid { grid-template-columns: 1fr; }
  .hana-voice__card { min-height: 0; }
}

/* ══ Hana's world — a sourced editorial map ══ */
.hana-world {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  margin-top: 30px;
}
.world-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--bloom) 17%, transparent);
  border-radius: clamp(22px, 2.5vw, 30px);
  background: color-mix(in srgb, var(--surface) 96%, var(--bloom-soft));
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.world-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px color-mix(in srgb, var(--bloom-deep) 14%, transparent);
}
.world-card--sound,
.world-card--songbook { grid-column: span 7; }
.world-card--mochi,
.world-card--signature { grid-column: span 5; }
.world-card__body {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
}
.world-card__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--bloom-deep);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.world-card__kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
  opacity: 0.45;
}
.world-card h3 {
  max-width: 520px;
  margin: 0;
  color: var(--night-deep);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.1;
}
.world-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
}
.world-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}
.world-card__tags li {
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--bloom) 18%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bloom-soft) 62%, var(--surface));
  color: var(--bloom-deep);
  font-size: 11.5px;
  font-weight: 700;
}
.world-card__source,
.world-card__sources a {
  color: var(--rose-deep);
  font-size: 11.5px;
  font-weight: 800;
}
.world-card__source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  margin-top: 13px;
}
.world-card__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 15px;
}
.world-card__sources a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
}

.world-card--sound {
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(0, 1.18fr);
  min-height: 330px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--bloom-soft) 65%, var(--surface)), var(--surface));
}
.world-card__media {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--night-deep);
}
.world-card__media img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  display: block;
  object-fit: cover;
  object-position: center 56%;
  transition: transform 0.7s var(--ease-out);
}
.world-card--sound:hover .world-card__media img { transform: scale(1.035); }

.world-card--mochi {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(118px, 0.56fr);
  align-items: end;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 255, 255, 0.92) 0 10%, transparent 10.5%),
    linear-gradient(145deg, color-mix(in srgb, var(--gold-soft) 58%, var(--surface)), var(--surface));
}
.world-card__mochi {
  align-self: end;
  margin: 0 -16px -11px -26px;
}
.world-card__mochi img {
  width: min(210px, 100%);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(92, 45, 69, 0.14));
  transition: transform 0.35s var(--ease-out);
}
.world-card--mochi:hover .world-card__mochi img { transform: rotate(2deg) translateY(-3px); }

.world-card--songbook {
  min-height: 330px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--rose) 8%, transparent) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, color-mix(in srgb, var(--bloom) 7%, transparent) 1px, transparent 1px) 0 0 / 34px 34px,
    color-mix(in srgb, var(--surface) 98%, var(--rose-soft));
}
.world-songbook {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  margin-top: 20px;
}
.world-songbook__total {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
  border-right: 1px solid color-mix(in srgb, var(--bloom) 20%, transparent);
}
.world-songbook__total strong {
  color: var(--rose-deep);
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  line-height: 0.95;
}
.world-songbook__total span {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
}
.world-songbook__bars { display: grid; gap: 9px; }
.world-bar {
  display: grid;
  grid-template-columns: 62px minmax(70px, 1fr) 24px;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 700;
}
.world-bar strong { color: var(--bloom-deep); font-size: 10.5px; text-align: right; }
.world-bar__track {
  height: 6px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bloom-soft) 70%, var(--surface));
}
.world-bar__track i {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rose), var(--bloom));
}
.world-bar--anime { --bar: 100%; }
.world-bar--nineties { --bar: 75%; }
.world-bar--vocaloid { --bar: 54%; }
.world-card__proof {
  padding: 10px 12px;
  border-left: 3px solid var(--rose);
  border-radius: 0 10px 10px 0;
  background: color-mix(in srgb, var(--rose-soft) 54%, transparent);
  color: var(--night-deep) !important;
  font-size: 11.5px !important;
}

.world-card--signature {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(124px, 0.58fr) minmax(0, 1fr);
  background: linear-gradient(145deg, color-mix(in srgb, var(--gold-soft) 42%, var(--surface)), var(--surface));
}
.world-card__signature-art {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
}
.world-card__signature-art img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  display: block;
  object-fit: cover;
  object-position: 10% 45%;
  transition: transform 0.7s var(--ease-out);
}
.world-card--signature:hover .world-card__signature-art img { transform: scale(1.035); }

@media (max-width: 1040px) {
  .world-card--sound,
  .world-card--mochi,
  .world-card--songbook,
  .world-card--signature { grid-column: span 6; }
  .world-card--sound,
  .world-card--signature {
    grid-template-columns: 1fr;
  }
  .world-card__media img,
  .world-card__signature-art img {
    min-height: 240px;
    max-height: 280px;
  }
  .world-card__signature-art img { object-position: 50% 45%; }
  .world-card--mochi { grid-template-columns: minmax(0, 1fr) 120px; }
  .world-songbook { grid-template-columns: 104px minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .world-card--sound,
  .world-card--mochi,
  .world-card--songbook,
  .world-card--signature { grid-column: 1 / -1; }
  .world-card--sound,
  .world-card--signature {
    grid-template-columns: minmax(118px, 0.48fr) minmax(0, 1fr);
  }
  .world-card__media img,
  .world-card__signature-art img {
    min-height: 100%;
    max-height: none;
  }
  .world-card__signature-art img { object-position: 10% 45%; }
}
@media (max-width: 520px) {
  .hana-world { gap: 14px; }
  .world-card--sound,
  .world-card--signature { grid-template-columns: 1fr; }
  .world-card__media img,
  .world-card__signature-art img {
    min-height: 220px;
    max-height: 240px;
  }
  .world-card__signature-art img { object-position: 50% 45%; }
  .world-card--mochi {
    grid-template-columns: minmax(0, 1fr) 104px;
  }
  .world-card__body { padding: 22px 19px; }
  .world-card h3 { font-size: 26px; }
  .world-songbook {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .world-songbook__total {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 12px;
    padding: 0 0 13px;
    border-right: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--bloom) 20%, transparent);
  }
  .world-songbook__total span { margin: 0 0 2px; }
}

/* ══ Original songs showcase ══ */
.hana-orig {
  margin-top: 34px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, color-mix(in srgb, var(--bloom-soft) 55%, var(--surface)) 0%, var(--surface) 78%);
  border: 1px solid color-mix(in srgb, var(--bloom) 16%, transparent);
  box-shadow: var(--shadow-soft);
}
.hana-orig__head { margin-bottom: 18px; }
.hana-orig__head h3 {
  font-family: var(--font-display);
  font-size: clamp(21px, 3vw, 26px);
  color: var(--night-deep);
  margin: 0 0 6px;
}
.hana-orig__head p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 640px;
}
.hana-orig__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.orig-song {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 15px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 94%, var(--bloom-soft));
  border: 1px solid color-mix(in srgb, var(--bloom) 12%, transparent);
  text-decoration: none;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}
.orig-song:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--bloom-deep) 12%, transparent);
  border-color: color-mix(in srgb, var(--rose) 40%, transparent);
}
.orig-song__play {
  font-size: 12px;
  font-weight: 700;
  color: var(--youtube);
  letter-spacing: 0.02em;
}
.orig-song__title {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 600;
  color: var(--night-deep);
  line-height: 1.35;
}
.orig-song__muted { opacity: 0.62; }
.orig-song__sub {
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
}
.orig-song__unit {
  font-size: 11px;
  font-weight: 600;
  color: var(--bloom-deep);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bloom-soft) 70%, var(--surface));
}
.hana-orig__foot {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.hana-orig__foot a { font-weight: 600; color: var(--rose-deep); text-decoration: none; }
.hana-orig__foot a:hover { text-decoration: underline; }
