/* ═══════════════════════════════════════════════════════════
   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: #ab8b95;
  --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: #d65c84;
  --bloom: #c98bc0;
  --bloom-soft: #f3e3f1;
  --bloom-deep: #a76aa0;
  --gold: #e8b96b;
  --gold-soft: #f8ecd2;
  --leaf: #8fbf9f;

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

  --twitch: #9146ff;
  --youtube: #e03e3e;
  --x: #1d1d1f;
  --discord: #5865f2;

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}
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"],
body[data-lang="zh"] {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", var(--font-body);
}

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

/* ── 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; }

/* 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);
  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-faint); 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;
}

/* ── 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__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; }

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

/* Hero visual card */
.hero__visual { display: flex; justify-content: center; }
.hero-card {
  width: 100%;
  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; }
.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 { font-size: 12.5px; color: var(--ink-faint); }
.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: flex; flex-direction: column; 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 14px;
}
.hero-metric:hover { transform: translateX(3px); }
.hm__left { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; color: var(--ink); }
.hm__left svg { width: 18px; height: 18px; flex-shrink: 0; }
.hm__right { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.hm__right strong { font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1; }
.hm__right small { font-size: 11.5px; color: var(--ink-faint); }
.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-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(520px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
  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(0, 1.4fr) minmax(260px, 0.8fr);
  gap: clamp(18px, 3vw, 28px);
}
.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--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-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;
  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__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 { 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(56px, 8vw, 92px) clamp(20px, 5vw, 48px); }
.portal__head { text-align: center; margin-bottom: 32px; }
.portal__title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 600; color: var(--ink); }
.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-faint); line-height: 1.35; }
.portal__card:hover .portal__label { color: var(--ink); }
.portal__card:hover .portal__desc { color: var(--ink-soft); }

/* ── 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__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) {
  .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 { font-size: 30px; margin-bottom: 12px; }
.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__body { padding: 18px; }
.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.62); }
.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.6; 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(36px, 7vw, 72px)) var(--page-pad) clamp(24px, 4vw, 40px);
  text-align: center;
}
.songlist-hero .hero__title { font-size: clamp(40px, 7vw, 72px); }

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

/* 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: 14px 16px 12px;
  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: 10px; align-items: center; }
.sl-toolbar .song-search { flex: 1 1 240px; 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 16px; font-family: var(--font-body); font-size: 13px; font-weight: 700; cursor: pointer;
}
.sl-random:hover { background: var(--bloom); color: #fff; }

.sl-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.sl-chips--quick { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.sl-chips--tags { margin-top: 8px; }
.sl-chip {
  border: 1.5px solid var(--line-strong); background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill); padding: 6px 13px;
  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(164px, 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.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: 236px 306px;
}
.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; display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; opacity: 0.55;
}
.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: 11px 13px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sl-card__title { font-weight: 700; font-size: 14.5px; 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: 12.5px; color: var(--bloom-deep); font-weight: 600; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-card__meta { font-size: 11px; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }

/* 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 { font-size: 1.3rem; }
.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-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-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; }

/* ── 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 { display: flex; align-items: center; justify-content: center; font-size: 2rem; background: 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--tw { background: #f0e8ff; color: var(--twitch); border-color: #ddccff; }
.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__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.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(16px, 2.5vw, 22px);
  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%; }
.command-search { max-width: none; margin-bottom: 14px; }
.command-list { display: grid; gap: 9px; }
.command-card {
  display: grid;
  gap: 5px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.74);
}
.command-card__main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.command-copy {
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--night);
  color: #fff;
  padding: 5px 11px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}
.command-card__aliases {
  color: var(--bloom-deep);
  font-size: 12px;
  font-weight: 800;
}
.command-card__mod {
  margin-left: auto;
  border-radius: var(--radius-pill);
  background: var(--gold-soft);
  color: var(--night-deep);
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
}
.command-card p { margin: 0; color: var(--ink-soft); font-size: 13px; }

/* ── 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 { order: -1; }
  .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); }
  .art-portrait-grid { grid-template-columns: 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__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__space { display: none; }
  .nav__actions { gap: 6px; margin-left: auto; }
  .lang-switch button { padding: 6px 9px; }
  .theme-picker__btn { padding: 7px 10px; }
  .stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .spec-sheet { grid-template-columns: 1fr; }
  .schedule-actions .btn { white-space: normal; text-align: center; }
  .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; }
  .sl-toolbar__row { gap: 8px; }
  .sl-toolbar .song-search { flex-basis: 100%; max-width: none; }
  .sl-view { order: 5; }
  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-admin-toggle {
    flex: 0 0 auto;
    order: 0;
  }
  .sl-random { display: none; }
  .lq__row { grid-template-columns: 20px minmax(0, 1fr); }
  .lq__rby { grid-column: 2; justify-self: start; text-align: left; }
  .sl-admin-card { grid-template-columns: 1fr; }
  .sl-admin__actions { justify-content: flex-start; }
  .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) {
  .portal__grid { grid-template-columns: 1fr; }
  .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-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; }
  .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__actions { grid-template-columns: 1fr; }
  .command-card__mod { margin-left: 0; }
}
