@font-face {
  font-family: 'D-DIN';
  src: url('https://fonts.cdnfonts.com/s/12172/D-DIN.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans JP';
  src: url('../fonts/Noto_Sans_JP/NotoSansJP-VariableFont_wght.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  font-family: 'D-DIN', 'Noto Sans JP', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: clamp(2px, 0.8vw, 10px) clamp(16px, 2.5vw, 28px);
  font-family: 'D-DIN', 'Noto Sans JP', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: inherit;
  background: #000;
  position: relative;
  --header-social-wrap-bg: rgba(0, 0, 0, 0.18);
  --header-social-wrap-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  --header-social-hover-bg: rgba(255, 255, 255, 0.12);
  --header-social-color: #ffffff;
}

/* Album meta: smaller font for track count/length line */
.album-hero-meta 
a {
  color: inherit;
  /* 親要素のテキストカラーを継承する */
  text-decoration: none;
  /* 下線を削除する */
}

a:hover {
  text-decoration: none;
}


#home h2 {
  font-size: 15px;
  font-weight: 100;
  letter-spacing: 0.1rem;
  text-align: center;
  margin: 2rem 0;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

main {
  width: min(100%, 960px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3.5vw, 48px);
  position: relative;
  z-index: 1;
}

/* Home */
body.page-home {
  color-scheme: light;
  --bg-top: #190939;
  --bg-top-strong: #5a27c4;
  --bg-mid: #813fe3;
  --bg-mid-soft: #c06df2;
  --bg-bottom-soft: #28308c;
  --bg-bottom: #060a25;
  --bg-glow: radial-gradient(circle at 18% 16%, rgba(150, 120, 255, 0.35), transparent 55%), radial-gradient(circle at 78% 12%, rgba(255, 133, 228, 0.28), transparent 54%), radial-gradient(circle at 52% 82%, rgba(76, 154, 255, 0.22), transparent 60%);
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  --card-shadow: 0 14px 26px rgba(26, 9, 73, 0.18);
  --text-primary: rgba(255, 255, 255, 0.94);
  --text-secondary: rgba(255, 255, 255, 0.68);
  --accent: #705fff;
  --accent-strong: #5a2bff;
  --accent-soft: rgba(127, 122, 255, 0.24);
  --pill-bg: rgba(255, 255, 255, 0.12);
  --pill-active: linear-gradient(135deg, #6f76ff, #db5dff);
  --border-soft: rgba(255, 255, 255, 0.12);
  /* Hero variables to reuse album header design */
  --hero-surface: radial-gradient(circle at 50% -18%, rgba(186, 154, 255, 0.62), rgba(113, 60, 195, 0.84) 58%, rgba(58, 24, 128, 0.94) 100%);
  --hero-border-color: rgba(203, 173, 255, 0.26);
  --hero-shadow: 0 24px 46px rgba(18, 7, 57, 0.38);
  --hero-highlight: radial-gradient(circle at 50% -18%, rgba(255, 255, 255, 0.34), transparent 62%);
  --hero-highlight-opacity: 0.72;
  --hero-tagline-color: rgba(255, 255, 255, 0.75);
}

body.page-home {
  margin: 0;
  min-height: 100vh;
  position: relative;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-top-strong) 22%, var(--bg-mid) 46%, var(--bg-mid-soft) 64%, var(--bg-bottom-soft) 82%, var(--bg-bottom) 100%);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  padding: clamp(2px, 0.8vw, 10px) clamp(16px, 2.5vw, 28px);
}

body.page-home::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--bg-glow);
  opacity: 0.62;
  pointer-events: none;
}

body.page-home main {
  width: min(100%, 960px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 36px);
  position: relative;
  z-index: 1;
}

/* All pages: lightweight moon + cyberspace ambient motion */
body[class^="page-"],
body[class*=" page-"] {
  overflow-x: clip;
}

body[class^="page-"]::before,
body[class*=" page-"]::before {
  inset: -8vmax;
  background:
    radial-gradient(58% 22% at 26% 26%, rgba(214, 228, 255, 0.12), transparent 68%),
    radial-gradient(52% 20% at 68% 22%, rgba(202, 222, 255, 0.1), transparent 70%),
    radial-gradient(48% 18% at 42% 36%, rgba(188, 213, 255, 0.08), transparent 72%),
    radial-gradient(circle at 82% 14%, rgba(226, 238, 255, 0.4) 0 6.8%, rgba(226, 238, 255, 0.12) 8.2%, transparent 12%),
    radial-gradient(circle at 80% 16%, rgba(146, 180, 255, 0.2) 0 16%, transparent 22%),
    var(--bg-glow, transparent);
  opacity: 0.76;
  z-index: 0;
  transform: translate3d(0, 0, 0) scale(1.04);
  animation: en-moon-drift 28s ease-in-out infinite alternate;
  will-change: transform, background-position;
}

body[class^="page-"]::after,
body[class*=" page-"]::after {
  content: '';
  position: fixed;
  inset: -8vmax;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(to top, rgba(94, 138, 255, 0.12), transparent 58%),
    repeating-linear-gradient(0deg, rgba(122, 164, 255, 0.1) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(122, 164, 255, 0.08) 0 1px, transparent 1px 44px),
    radial-gradient(42% 16% at 18% 34%, rgba(236, 242, 255, 0.08), transparent 72%),
    radial-gradient(38% 14% at 72% 40%, rgba(236, 242, 255, 0.07), transparent 74%);
  background-position: center 100%, 0 0, 0 0, 0 0, 0 0;
  opacity: 0.28;
  animation: en-grid-scroll 40s linear infinite;
}

@keyframes en-moon-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1.04);
  }

  to {
    transform: translate3d(-3.8%, 2.8%, 0) scale(1.06);
  }
}

@keyframes en-grid-scroll {
  from {
    background-position: center 100%, 0 0, 0 0, 0 0, 0 0;
  }

  to {
    background-position: center 100%, 0 220px, 220px 0, -90px 0, 90px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[class^="page-"]::before,
  body[class*=" page-"]::before,
  body[class^="page-"]::after,
  body[class*=" page-"]::after {
    animation: none;
  }
}

header.hero {
  text-align: center;
  position: relative;
  padding: clamp(18px, 3.2vw, 36px);
  padding-top: clamp(20px, 3.8vw, 40px);
  min-height: clamp(220px, 28vw, 360px);
  margin-top: 15px;
  /* reserve height to prevent initial shrink */
}

body.page-home header.hero {
  border-radius: 32px;
  border: 1px solid rgba(203, 173, 255, 0.26);
  box-shadow: 0 24px 46px rgba(18, 7, 57, 0.38);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  background: radial-gradient(circle at 50% -18%, rgba(186, 154, 255, 0.62), rgba(113, 60, 195, 0.84) 58%, rgba(58, 24, 128, 0.94) 100%);
}

body.page-home header.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Make the reverse trapezoid itself visible by tinting darker than base */
  background:
    radial-gradient(circle at 50% -18%, rgba(186, 154, 255, 0.62), rgba(113, 60, 195, 0.88) 56%, rgba(48, 18, 112, 0.98) 100%),
    linear-gradient(110deg, rgba(24, 8, 68, 0.22) 12%, transparent 46%),
    linear-gradient(250deg, rgba(24, 8, 68, 0.22) 12%, transparent 46%);
  clip-path: polygon(0% 0%, 100% 0%, 78% 100%, 22% 100%);
  clip-path: path('M0.04 0 C0.02 0,0.012 0.018,0.012 0.035 L0.22 1 C0.23 1.02,0.77 1.02,0.78 1 L0.988 0.035 C0.988 0.018,0.98 0,0.96 0 Z');
}

body.page-home header.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Stronger reverse-trapezoid contrast: top glow + edge shades + bottom deepen */
  background:
    /* top glow */
    radial-gradient(circle at 50% -14%, rgba(255, 255, 255, 0.66) 0%, transparent 60%),
    /* left edge shade aligned to slant (stronger, wider) */
    linear-gradient(70deg, rgba(16, 4, 48, 0.45) 10%, rgba(16, 4, 48, 0.22) 32%, transparent 48%),
    /* right edge shade aligned to slant (stronger, wider) */
    linear-gradient(290deg, rgba(16, 4, 48, 0.45) 10%, rgba(16, 4, 48, 0.22) 32%, transparent 48%),
    /* bottom deepen (stronger) */
    linear-gradient(180deg, rgba(28, 10, 78, 0.28) 0%, transparent 52%);
  clip-path: polygon(0% 0%, 100% 0%, 78% 100%, 22% 100%);
  clip-path: path('M0.04 0 C0.02 0,0.012 0.018,0.012 0.035 L0.22 1 C0.23 1.02,0.77 1.02,0.78 1 L0.988 0.035 C0.988 0.018,0.98 0,0.96 0 Z');
  opacity: 0.95;
  pointer-events: none;
}

body.page-home header.hero .header-socials {
  position: absolute;
  top: clamp(16px, 3vw, 24px);
  right: clamp(16px, 3vw, 28px);
  margin: 0;
  z-index: 3;
}

body.page-home header.hero>* {
  position: relative;
  z-index: 2;
}

header.ai-hero,
header.hi-hero,
header.ei-hero,
header.tb-hero,
header.ge-hero,
header.fl-hero,
header.cr-hero {
  position: relative;
  padding: clamp(18px, 3.2vw, 28px);
  padding-top: clamp(20px, 3.8vw, 40px);
  min-height: clamp(220px, 24vw, 300px);
  margin-top: 15px;
  /* avoid layout jump but cap below max-height */
}

header.hero h1 {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  letter-spacing: 0.35rem;
  margin-top: 6px;
  font-weight: 100;
  font-family: 'D-DIN', 'Noto Sans JP', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size-adjust: 0.52;
  animation: none;
  opacity: 1;
  filter: none;
}

/* Keep hero copy static at load to avoid visible jump */
header.hero h1,
header.hero .tagline,
header.ai-hero h1,
header.ai-hero .tagline,
header.hi-hero h1,
header.hi-hero .tagline,
header.ei-hero h1,
header.ei-hero .tagline,
header.tb-hero h1,
header.tb-hero .tagline,
header.ge-hero h1,
header.ge-hero .tagline,
header.fl-hero h1,
header.fl-hero .tagline,
header.cr-hero h1,
header.cr-hero .tagline {
  animation: none !important;
  transition: none !important;
}

header.hero p.tagline {
  margin: -2px 0 28px;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.12rem;
}

.logo-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  font-family: 'D-DIN', 'Poppins', 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size-adjust: 0.52;
  /* reduce CLS when swapping from fallback */
  line-height: 1.05;
}

.logo-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.socials {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 12px;
}

body.page-home header.hero .header-socials {
  position: absolute;
  top: clamp(16px, 3vw, 24px);
  right: clamp(16px, 3vw, 28px);
  margin: 0;
}


.header-socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px;
  border-radius: 999px;
  background: var(--header-social-wrap-bg);
  box-shadow: var(--header-social-wrap-shadow);
  margin-top: 10px;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  padding: 0 8px;
  background: transparent;
  border: none;
  color: white;
  text-decoration: none;
  font-size: 0.72rem;
  line-height: 1;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.social-button:hover,
.social-button:focus-visible {
  background: var(--header-social-hover-bg);
  transform: none;
  box-shadow: none;
}

.social-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.social-button--icon {
  width: 28px;
  padding: 0;
}

.social-button--label {
  gap: 4px;
  padding: 0 10px;
  font-weight: 500;
}

.social-button .social-icon {
  font-size: 0;
}

.social-button--icon .social-icon {
  font-size: 0;
}

.social-button .social-label {
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.social-button--home {
  display: none;
}

.social-button--home .social-icon {
  width: 24px !important;
  height: 24px !important;
  display: block;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 75%;
  mask: none !important;
  -webkit-mask: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 3 3 11.25V13h2v7h5v-5h4v5h5v-7h2v-1.75z'/%3E%3C/svg%3E");
}

.social-button--home .social-label {
  display: none;
}

.social-icon {
  display: inline-block;
  width: 19px;
  height: 19px;
  background-color: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  line-height: 0;
}

/* Header socials: slightly larger icons + tooltips */
.header-socials .social-button {
  min-width: 32px;
  height: 32px;
}

.header-socials .social-button--icon {
  width: 32px;
  height: 32px;
  position: relative;
}

.header-socials .social-icon {
  width: 16px;
  height: 16px;
}

/* Tooltip bubble using aria-label content */
.header-socials .social-button--icon::after {
  content: attr(aria-label);
  position: absolute;
  right: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  z-index: 10;
}

.header-socials .social-button--icon::before {
  content: '';
  position: absolute;
  right: 50%;
  bottom: calc(100% + 3px);
  transform: translateX(50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 10;
}

.header-socials .social-button--icon:hover::after,
.header-socials .social-button--icon:focus-visible::after {
  opacity: 1;
  transform: translateX(50%) translateY(-2px);
}

.header-socials .social-button--icon:hover::before,
.header-socials .social-button--icon:focus-visible::before {
  opacity: 1;
}

/* --- Mobile Menu Toggle --- */
.mobile-menu-toggle {
  display: none;
  /* hidden on desktop */
  position: fixed;
  top: clamp(16px, 3vw, 24px);
  right: clamp(28px, 4vw, 38px);
  z-index: 20;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 4px;
  padding: 3px 4px;
  cursor: pointer;
  color: #f5f7ff;
  margin: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}



.mobile-menu-toggle:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.16));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}

.mobile-menu-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Improve contrast on light hero backgrounds (tb / hi) */
body.page-tb .mobile-menu-toggle,
body.page-hi .mobile-menu-toggle {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

body.page-tb .mobile-menu-toggle {
  background: linear-gradient(135deg, rgba(255, 185, 75, 0.95), rgba(255, 137, 83, 0.9));
  box-shadow: 0 8px 18px rgba(214, 108, 44, 0.22), inset 0 1px 0 rgba(255, 236, 210, 0.32);
}

body.page-tb .mobile-menu-toggle:hover {
  background: linear-gradient(135deg, rgba(255, 205, 120, 0.98), rgba(255, 155, 110, 0.94));
}

body.page-hi .mobile-menu-toggle {
  background: linear-gradient(135deg, rgba(214, 176, 255, 0.95), rgba(146, 94, 220, 0.9));
  box-shadow: 0 8px 18px rgba(92, 60, 152, 0.22), inset 0 1px 0 rgba(250, 238, 255, 0.32);
}

body.page-hi .mobile-menu-toggle:hover {
  background: linear-gradient(135deg, rgba(234, 206, 255, 0.98), rgba(174, 118, 238, 0.94));
}

@media (max-width: 768px) {

  /* Show toggle button */
  .mobile-menu-toggle {
    display: block;
  }

  /* Hide socials by default on mobile */
  .header-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: calc(clamp(16px, 3vw, 24px) + 44px);
    /* follow the fixed toggle even after scroll */
    right: clamp(22px, 4vw, 38px);
    background: rgba(10, 5, 30, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 12px;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 120;
    /* Ensure it's above other elements */
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  }

  /* Show socials when active */
  .header-socials.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}


footer .social-icon {
  width: 18px;
  height: 18px;
}

.social-icon--tiktok {
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M14%203h2.4c.2%201.9%201.4%203.3%203.1%203.5v2.3c-1.1-.1-2.2-.4-3.1-.9v5c0%203.1-2.2%205.6-5.2%205.6A5.3%205.3%200%20016%2013.8a5.3%205.3%200%20015.3-5.2c.3%200%20.6%200%20.9.1V6.1l2.8.3zM9.1%2014a2%202%200%20003.9.8v-2.7a3.9%203.9%200%2000-.9-.1A2%202%200%20009%2014z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M14%203h2.4c.2%201.9%201.4%203.3%203.1%203.5v2.3c-1.1-.1-2.2-.4-3.1-.9v5c0%203.1-2.2%205.6-5.2%205.6A5.3%205.3%200%20016%2013.8a5.3%205.3%200%20015.3-5.2c.3%200%20.6%200%20.9.1V6.1l2.8.3zM9.1%2014a2%202%200%20003.9.8v-2.7a3.9%203.9%200%2000-.9-.1A2%202%200%20009%2014z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
}

.social-icon--youtube {
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21%206.5c-.2-1.1-.9-1.9-2-2.1C17.4%204%2012%204%2012%204s-5.4%200-7%200.4c-1.1.2-1.8%201-2%202.1C2%208.1%202%2012%202%2012s0%203.9.4%205.5c.2%201.1.9%201.9%202%202.1%201.6.4%207%20.4%207%20.4s5.4%200%207-.4c1.1-.2%201.8-1%202-2.1.4-1.6.4-5.5.4-5.5s0-3.9-.4-5.5zM10%2015.5v-7l5%203.5-5%203.5z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M21%206.5c-.2-1.1-.9-1.9-2-2.1C17.4%204%2012%204%2012%204s-5.4%200-7%200.4c-1.1.2-1.8%201-2%202.1C2%208.1%202%2012%202%2012s0%203.9.4%205.5c.2%201.1.9%201.9%202%202.1%201.6.4%207%20.4%207%20.4s5.4%200%207-.4c1.1-.2%201.8-1%202-2.1.4-1.6.4-5.5.4-5.5s0-3.9-.4-5.5zM10%2015.5v-7l5%203.5-5%203.5z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
}

.social-icon--x {
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M5%203h3l4%206%204-6h3l-5.5%207L19%2021h-3l-4-5.6L8%2021H5l5.4-7z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M5%203h3l4%206%204-6h3l-5.5%207L19%2021h-3l-4-5.6L8%2021H5l5.4-7z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
}

.social-icon--globe {
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M12%202a10%2010%200%20100%2020%2010%2010%200%20000-20zm0%2017.2a7.2%207.2%200%20110-14.4%207.2%207.2%200%20010%2014.4zm3.6-7.2c-.3-3-1.6-5-3.6-5s-3.3%202-3.6%205h7.2zm-7.2%201.6c.3%203%201.6%205%203.6%205s3.3-2%203.6-5H8.4zm7.8-1.6H20a8.4%208.4%200%20010%201.6h-3.8a13.3%2013.3%200%20000-1.6zM4%2011.2h3.8a13.3%2013.3%200%20000%201.6H4a8.4%208.4%200%20010-1.6zM11.2%204v16h1.6V4z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M12%202a10%2010%200%20100%2020%2010%2010%200%20000-20zm0%2017.2a7.2%207.2%200%20110-14.4%207.2%207.2%200%20010%2014.4zm3.6-7.2c-.3-3-1.6-5-3.6-5s-3.3%202-3.6%205h7.2zm-7.2%201.6c.3%203%201.6%205%203.6%205s3.3-2%203.6-5H8.4zm7.8-1.6H20a8.4%208.4%200%20010%201.6h-3.8a13.3%2013.3%200%20000-1.6zM4%2011.2h3.8a13.3%2013.3%200%20000%201.6H4a8.4%208.4%200%20010-1.6zM11.2%204v16h1.6V4z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
}

.social-icon--home {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 3 11.25V13h2v7h5v-5h4v5h5v-7h2v-1.75z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 3 11.25V13h2v7h5v-5h4v5h5v-7h2v-1.75z'/%3E%3C/svg%3E");
}

.social-icon--spotify {
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%202a10%2010%200%20100%2020%2010%2010%200%20000-20zm4.5%2013.9a.75.75%200%2001-1%20.26%208.7%208.7%200%2000-6.5-.7.75.75%200%2001-.48-1.42%2010.2%2010.2%200%20017.7.8.75.75%200%2001.28%201.06zm.7-2.8a.9.9%200%2001-1.2.3%2010.6%2010.6%200%2000-8-.9.9.9%200%2011-.43-1.74%2012.4%2012.4%200%20019.4%201%20.9.9%200%2001.23%201.34zm.1-3a1%201%200%2001-1.36.34%2012.2%2012.2%200%2000-9.1-1.1%201%201%200%2011-.52-1.92%2014.1%2014.1%200%200110.6%201.3%201%201%200%2001.38%201.38z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%202a10%2010%200%20100%2020%2010%2010%200%20000-20zm4.5%2013.9a.75.75%200%2001-1%20.26%208.7%208.7%200%2000-6.5-.7.75.75%200%2001-.48-1.42%2010.2%2010.2%200%20017.7.8.75.75%200%2001.28%201.06zm.7-2.8a.9.9%200%2001-1.2.3%2010.6%2010.6%200%2000-8-.9.9.9%200%2011-.43-1.74%2012.4%2012.4%200%20019.4%201%20.9.9%200%2001.23%201.34zm.1-3a1%201%200%2001-1.36.34%2012.2%2012.2%200%2000-9.1-1.1%201%201%200%2011-.52-1.92%2014.1%2014.1%200%200110.6%201.3%201%201%200%2001.38%201.38z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
}

.social-icon--apple {
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M16.5%2012.1c-.1-2.4%202-3.6%202.1-3.7-1.1-1.7-2.8-1.9-3.4-1.9-1.4-.1-2.7.8-3.4.8-.7%200-1.8-.7-3-.7-1.5%200-2.9.9-3.6%202.3-1.5%202.6-.4%206.4%201.1%208.5.8%201.1%201.7%202.3%202.9%202.3%201.1%200%201.5-.7%202.9-.7%201.4%200%201.7.7%202.9.7%201.2%200%201.9-1.1%202.7-2.2a8.8%208.8%200%20001.2-2.4c-3-.1-3-2.9-3-3zm-1-6c.6-.7%201.1-1.7%201-2.7-1%20.1-2.1.7-2.8%201.5a3.8%203.8%200%2000-1%202.6c1%200%202-.6%202.8-1.4z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M16.5%2012.1c-.1-2.4%202-3.6%202.1-3.7-1.1-1.7-2.8-1.9-3.4-1.9-1.4-.1-2.7.8-3.4.8-.7%200-1.8-.7-3-.7-1.5%200-2.9.9-3.6%202.3-1.5%202.6-.4%206.4%201.1%208.5.8%201.1%201.7%202.3%202.9%202.3%201.1%200%201.5-.7%202.9-.7%201.4%200%201.7.7%202.9.7%201.2%200%201.9-1.1%202.7-2.2a8.8%208.8%200%20001.2-2.4c-3-.1-3-2.9-3-3zm-1-6c.6-.7%201.1-1.7%201-2.7-1%20.1-2.1.7-2.8%201.5a3.8%203.8%200%2000-1%202.6c1%200%202-.6%202.8-1.4z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
}

header.ai-hero .ai-socials,
header.hi-hero .hi-socials,
header.ei-hero .ei-socials,
header.cr-hero .cr-socials,
header.ge-hero .ge-socials,
header.fl-hero .fl-socials,
header.tb-hero .tb-socials {
  position: absolute;
  top: 10px;
  right: 0;
  display: inline-flex;
  align-items: center;
}

nav.tabs {
  display: inline-flex;
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  background: var(--tabs-bg, rgba(0, 0, 0, 0.18));
  box-shadow: var(--tabs-shadow, inset 0 0 0 1px rgba(255, 255, 255, 0.08));
  align-items: center;
  white-space: nowrap;
  min-height: 42px;
  /* スマホで横スクロール可能にするための基準スタイル */
  max-width: 100%;
}

/* Large-screen caps for header/nav sizes */
@media (min-width: 1200px) {
  nav.tabs {
    max-height: 50px;
  }

  header.hero,
  header.ai-hero,
  header.hi-hero,
  header.ei-hero,
  header.cr-hero,
  header.ge-hero,
  header.fl-hero,
  header.tb-hero {
    max-height: 300px;
  }
}

/* Keep nav pill height stable on small screens as well */
@media (max-width: 720px) {
  nav.tabs {
    max-height: 50px;
    padding: 4px;
    gap: 4px;
  }

  nav.tabs a {
    padding: 4px 10px;
  }

  /* Cap header hero height on small screens */
  header.hero,
  header.ai-hero,
  header.hi-hero,
  header.ei-hero,
  header.cr-hero,
  header.ge-hero,
  header.fl-hero,
  header.tb-hero {
    max-height: 360px;
  }
}

/* スマホ: nav.tabs を横スクロール可能なバーに変更 */
@media (max-width: 640px) {
  nav.tabs {
    display: flex;
    max-width: calc(100vw - 32px);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    border-radius: 24px;
    padding: 6px;
    gap: 4px;
    max-height: none;
    justify-content: flex-start;
  }

  nav.tabs::-webkit-scrollbar {
    display: none;
  }

  nav.tabs a {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 0.82rem;
  }
}

nav.tabs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  /* symmetric vertical padding */
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  color: #ba87ef;
}

/* Keep Home icon pill perfectly circular in header tabs */
nav.tabs a[href$="index.html"],
nav.tabs a[href$="index-en.html"] {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 0 !important;
  gap: 0;
  justify-content: center;
  border-radius: 50%;
}

nav.tabs a.active {
  background: #575fa8;
  color: #b4f1d4;
  box-shadow: var(--tabs-active-shadow, 0 6px 12px rgba(111, 118, 255, 0.18));

}

nav.tabs a:hover {
  color: var(--tabs-hover-color, #fff);
  background: var(--tabs-hover-bg, rgba(255, 255, 255, 0.16));
  transform: translateY(-1px);
}

/* Album subtitle tooltip for header/footer navigation */
:is(nav.tabs a, footer .footer-nav a):is(
  [href$="fl.html"],
  [href$="ge.html"],
  [href$="cr.html"],
  [href$="tb.html"],
  [href$="ei.html"],
  [href$="hi.html"],
  [href$="ai.html"]
) {
  position: relative;
}

:is(nav.tabs a, footer .footer-nav a):is(
  [href$="fl.html"],
  [href$="ge.html"],
  [href$="cr.html"],
  [href$="tb.html"],
  [href$="ei.html"],
  [href$="hi.html"],
  [href$="ai.html"]
)::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.76);
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  z-index: 20;
}

:is(nav.tabs a, footer .footer-nav a):is(
  [href$="fl.html"],
  [href$="ge.html"],
  [href$="cr.html"],
  [href$="tb.html"],
  [href$="ei.html"],
  [href$="hi.html"],
  [href$="ai.html"]
)::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, 0.76);
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 20;
  pointer-events: none;
}

:is(nav.tabs a, footer .footer-nav a):is(
  [href$="fl.html"],
  [href$="ge.html"],
  [href$="cr.html"],
  [href$="tb.html"],
  [href$="ei.html"],
  [href$="hi.html"],
  [href$="ai.html"]
):hover::after,
:is(nav.tabs a, footer .footer-nav a):is(
  [href$="fl.html"],
  [href$="ge.html"],
  [href$="cr.html"],
  [href$="tb.html"],
  [href$="ei.html"],
  [href$="hi.html"],
  [href$="ai.html"]
):focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

:is(nav.tabs a, footer .footer-nav a):is(
  [href$="fl.html"],
  [href$="ge.html"],
  [href$="cr.html"],
  [href$="tb.html"],
  [href$="ei.html"],
  [href$="hi.html"],
  [href$="ai.html"]
):hover::before,
:is(nav.tabs a, footer .footer-nav a):is(
  [href$="fl.html"],
  [href$="ge.html"],
  [href$="cr.html"],
  [href$="tb.html"],
  [href$="ei.html"],
  [href$="hi.html"],
  [href$="ai.html"]
):focus-visible::before {
  opacity: 1;
}

:is(nav.tabs a, footer .footer-nav a)[href$="fl.html"]::after { content: "Floating Lounge"; }
:is(nav.tabs a, footer .footer-nav a)[href$="ge.html"]::after { content: "Gravity Echo"; }
:is(nav.tabs a, footer .footer-nav a)[href$="cr.html"]::after { content: "Cyber rain"; }
:is(nav.tabs a, footer .footer-nav a)[href$="tb.html"]::after { content: "Truth & bitter"; }
:is(nav.tabs a, footer .footer-nav a)[href$="ei.html"]::after { content: "Errorless Is Boring"; }
:is(nav.tabs a, footer .footer-nav a)[href$="hi.html"]::after { content: "ハイ"; }
:is(nav.tabs a, footer .footer-nav a)[href$="ai.html"]::after { content: "Artificial intelligence"; }

@media (hover: none) {
  :is(nav.tabs a, footer .footer-nav a):is(
    [href$="fl.html"],
    [href$="ge.html"],
    [href$="cr.html"],
    [href$="tb.html"],
    [href$="ei.html"],
    [href$="hi.html"],
    [href$="ai.html"]
  )::before,
  :is(nav.tabs a, footer .footer-nav a):is(
    [href$="fl.html"],
    [href$="ge.html"],
    [href$="cr.html"],
    [href$="tb.html"],
    [href$="ei.html"],
    [href$="hi.html"],
    [href$="ai.html"]
  )::after {
    display: none;
  }
}

section.card {
  width: 100%;
  /* background: var(--card-bg); */
  border-radius: 26px;
  padding-block: clamp(16px, 2vw, 32px);
  /* 上下 */
  padding-inline: clamp(24px, 4vw, 48px);
  /* 左右 */
  box-shadow: 0 14px 24px rgba(26, 9, 73, 0.18);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

section.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

section#home {
  padding-block: clamp(12px, 1.5vw, 20px);
  padding-inline: 4px;
}

section#home-extra {
  padding-block: clamp(10px, 1.5vw, 20px);
}

section#home-extra .lyrics-panel {
  max-width: 80%;
  margin-inline: auto;
}

section.card.card-plain {
  box-shadow: none;
  border: none;
  backdrop-filter: none;
  background: none;
}

section.card.card-plain::after {
  display: none;
}

section.card.card-plain .lyrics-panel {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-top: clamp(12px, 2vw, 20px);
}

.card-plain--flush {
  padding: clamp(10px, 2vw, 18px) 0 clamp(10px, 2vw, 18px);
}

section.card>section.card h2 {
  margin: 0 0 28px;
  font-size: 16pt;
  font-weight: normal;
  letter-spacing: 0.1rem;

  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

section.card h2.title-center {
  display: block;
  text-align: center;
}

section.card h2::after {
  display: none;
}

.release-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 3vw, 20px);
}

.release-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 540px);
  gap: clamp(12px, 3vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* scroll-behavior managed by JS custom easing */
  padding: 10px 6px;
  border-radius: 24px;
  position: relative;
  scrollbar-width: none;
  align-items: stretch;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.release-track::-webkit-scrollbar {
  display: none;
}

.release-track .release-link {
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.carousel-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(15, 8, 52, 0.6);
  color: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.carousel-button::before {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.carousel-button--prev::before {
  transform: rotate(-135deg);
}

.carousel-button--next::before {
  transform: rotate(45deg);
}

.carousel-button:hover {
  background: rgba(60, 47, 120, 0.75);
  transform: translateY(-1px);
}

.carousel-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.carousel-button[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  background: rgba(15, 8, 52, 0.3);
}

@media (max-width: 640px) {
  .release-carousel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .carousel-button {
    display: none;
  }
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 5vw, 36px);
  bottom: clamp(16px, 5vw, 36px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(24, 7, 54, 0.8);
  color: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(12, 5, 54, 0.3);
  transition: opacity 0.3s ease, transform 0.2s ease, background 0.2s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
}

.back-to-top::before {
  content: '▲';
  font-size: 1rem;

}

.back-to-top:hover {
  background: rgba(63, 35, 120, 0.85);
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.release-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(20px, 4vw, 36px);
  align-items: stretch;
}

.release-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.release-link:focus-visible .release {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

.release {
  background: rgba(24, 7, 54, 0.24);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  text-align: left;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
  min-height: 100%;
}

/* Home: per-album release card themes matched to destination pages */
body.page-home .release--cr {
  background: linear-gradient(180deg, rgba(80, 140, 255, 0.32), rgba(10, 40, 120, 0.62));
  border: 1px solid rgba(120, 180, 255, 0.4);
}

body.page-home .release--tb {
  /* Warm orange to match T,b page tones */
  background: linear-gradient(180deg, rgba(255, 180, 100, 0.32), rgba(220, 90, 30, 0.6));
  border: 1px solid rgba(255, 200, 140, 0.4);
}

body.page-home .release--ei {
  background: linear-gradient(180deg, rgba(70, 110, 255, 0.26), rgba(10, 18, 60, 0.75));
  border: 1px solid rgba(110, 150, 255, 0.4);
}

body.page-home .release--hi {
  background: radial-gradient(circle at 30% 20%, rgba(255, 214, 255, 0.6), transparent 45%),
    linear-gradient(180deg, rgba(255, 185, 235, 0.4), rgba(184, 120, 220, 0.68));
  border: 1px solid rgba(244, 196, 255, 0.55);
  box-shadow: 0 12px 28px rgba(124, 70, 170, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

body.page-home .release--ai {
  background: linear-gradient(180deg, rgba(126, 90, 230, 0.26), rgba(60, 24, 128, 0.5));
  border: 1px solid rgba(126, 90, 230, 0.32);
}

body.page-home .release--ge {
  background: linear-gradient(180deg, rgba(255, 80, 140, 0.32), rgba(120, 10, 80, 0.65));
  border: 1px solid rgba(255, 110, 180, 0.4);
}

body.page-home .release--fl {
  background: linear-gradient(180deg, rgba(80, 220, 210, 0.3), rgba(12, 54, 72, 0.7));
  border: 1px solid rgba(150, 240, 230, 0.4);
}

body.page-home .release--cr:hover {
  border-color: rgba(143, 230, 255, 0.45);
}

body.page-home .release--tb:hover {
  border-color: rgba(216, 186, 255, 0.48);
}

body.page-home .release--ei:hover {
  border-color: rgba(140, 180, 255, 0.6);
}

body.page-home .release--hi:hover {
  border-color: rgba(250, 210, 255, 0.65);
}

body.page-home .release--ai:hover {
  border-color: rgba(126, 90, 230, 0.48);
}

body.page-home .release--ge:hover {
  border-color: rgba(255, 130, 200, 0.55);
}

body.page-home .release--fl:hover {
  border-color: rgba(150, 240, 230, 0.55);
}

.release img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 14px rgba(12, 6, 62, 0.18);
}

.release-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.58);
}

.release-title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.release-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05rem;
}

.release-genre {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08rem;
}

.release-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.release-description {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.release:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}

.tracklist {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
}

.tracklist article {
  padding: 18px;
  border-radius: 18px;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.tracklist h3 {
  margin: 0 0 12px;
  letter-spacing: 0.18rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.tracklist p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.player {
  margin: clamp(24px, 4vw, 48px) auto;
  max-width: 720px;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(38, 8, 90, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Vertical variant for short video */
.player--vertical {
  max-width: 360px;
  aspect-ratio: 9 / 16;
}

.player--vertical iframe {
  aspect-ratio: 9 / 16;
}

/* ── Video Carousel ───────────────────────────────────── */
.video-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.video-carousel .carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  margin: 0;
}

.video-carousel .carousel-button::before {
  position: relative;
  top: -1px;
}

.video-carousel .carousel-button--prev {
  left: clamp(4px, 1vw, 12px);
}

.video-carousel .carousel-button--next {
  right: clamp(4px, 1vw, 12px);
}

.video-track {
  display: grid;
  grid-auto-flow: column;
  /* 両端に隣スライドを覗かせる */
  grid-auto-columns: calc(100% - 80px);
  column-gap: clamp(12px, 2vw, 20px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 40px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.video-track::-webkit-scrollbar {
  display: none;
}

.video-slide {
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 0;
}

/* カルーセル内は角丸なし */
.video-slide .player {
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.video-slide .player--wide {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0;
}

.video-slide .player--wide iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
}

/* Short (vertical) slide: 16:9 フレーム内にセンタリング */
.video-slide--short .player--vertical {
  height: 100%;
  max-height: 100%;
  width: auto;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  background: #000;
}

.video-slide--short {
  background: #000;
  align-items: center;
  aspect-ratio: 16 / 9;
}

.video-slide--short .player--vertical iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  display: block;
}

@media (max-width: 640px) {
  .video-carousel {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .video-carousel .carousel-button {
    display: none;
  }

  .video-track {
    grid-auto-columns: calc(100% - 40px);
    scroll-padding-inline: 20px;
  }
}

/* Genres (top page) */
.genre-section .title-center {
  margin-bottom: clamp(8px, 1.8vw, 14px);
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(12px, 2.5vw, 20px);
}

.genre-card {
  background: rgba(24, 7, 54, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 16px 18px;
  display: grid;
  gap: 8px;
}

.genre-head {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.genre-badge {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.95);
}

.genre-icon {
  width: 16px;
  height: 16px;
  background: currentColor;
  display: inline-block;
}

/* Genre icon masks */
.genre-icon--house {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 3l-7 6v2h2v9h6v-6h2v6h6v-9h2V9l-7-6-2 0z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 3l-7 6v2h2v9h6v-6h2v6h6v-9h2V9l-7-6-2 0z'/%3E%3C/svg%3E");
}

.genre-icon--techno {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 4h10l2 2v12l-2 2H7l-2-2V6l2-2zm2 3v10h6V7H9zm-3 2h1v6H6V9zm11 0h1v6h-1V9z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 4h10l2 2v12l-2 2H7l-2-2V6l2-2zm2 3v10h6V7H9zm-3 2h1v6H6V9zm11 0h1v6h-1V9z'/%3E%3C/svg%3E");
}

.genre-icon--ambient {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 13c2-3 5-3 7 0s5 3 7 0 5-3 6 0v4H2v-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 13c2-3 5-3 7 0s5 3 7 0 5-3 6 0v4H2v-4z'/%3E%3C/svg%3E");
}

.genre-icon--rnb {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21s-6-4.4-9-7.5C1.5 10.8 3 7 6.5 7c2 0 3.5 1.3 4.5 2.4C12 8.3 13.5 7 15.5 7 19 7 20.5 10.8 21 13.5 18 16.6 12 21 12 21z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 21s-6-4.4-9-7.5C1.5 10.8 3 7 6.5 7c2 0 3.5 1.3 4.5 2.4C12 8.3 13.5 7 15.5 7 19 7 20.5 10.8 21 13.5 18 16.6 12 21 12 21z'/%3E%3C/svg%3E");
}

.genre-icon--rock {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 2L3 14h6l-2 8 10-12h-6l2-8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13 2L3 14h6l-2 8 10-12h-6l2-8z'/%3E%3C/svg%3E");
}

.genre-icon--glitch {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 7h8v4H3V7zm10 0h8v2h-8V7zm0 4h5v3h-5v-3zM3 15h8v2H3v-2zm10 2h8v2h-8v-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 7h8v4H3V7zm10 0h8v2h-8V7zm0 4h5v3h-5v-3zM3 15h8v2H3v-2zm10 2h8v2h-8v-2z'/%3E%3C/svg%3E");
}

/* House icon alternatives */
.genre-icon--house-vinyl {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' fill='black' d='M12 2a10 10 0 110 20 10 10 0 010-20zm0 5a5 5 0 100 10 5 5 0 000-10zm0 3a2 2 0 110 4 2 2 0 010-4z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' fill='black' d='M12 2a10 10 0 110 20 10 10 0 010-20zm0 5a5 5 0 100 10 5 5 0 000-10zm0 3a2 2 0 110 4 2 2 0 010-4z'/%3E%3C/svg%3E");
}

.genre-icon--house-note {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 5.2v9.4a2.6 2.6 0 11-1.6-2.4V7l7-2v8.7a2.6 2.6 0 11-1.6-2.4V5.8L10 7.2V5.2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 5.2v9.4a2.6 2.6 0 11-1.6-2.4V7l7-2v8.7a2.6 2.6 0 11-1.6-2.4V5.8L10 7.2V5.2z'/%3E%3C/svg%3E");
}

.genre-icon--house-eq {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' fill='black' d='M4 14h3v6H4v-6zm6-4h3v10h-3V10zm6-4h3v14h-3V6z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' fill='black' d='M4 14h3v6H4v-6zm6-4h3v10h-3V10zm6-4h3v14h-3V6z'/%3E%3C/svg%3E");
}

.genre-title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.05rem;
}

.genre-text {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.92rem;
}

/* Lite YouTube placeholder */
.yt-lite {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: block;
  position: relative;
  cursor: pointer;
}

.yt-lite::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.25));
}

.yt-lite::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.5 8.2v7.6l6-3.8-6-3.8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.5 8.2v7.6l6-3.8-6-3.8z'/%3E%3C/svg%3E");
}

.section-label {
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.2rem;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: clamp(8px, 1.5vw, 16px);
  position: relative;
  /* ensure it sits above section ::after highlight */
  z-index: 1;
}

.lyrics {
  text-align: center;
  color: var(--text-secondary);
  line-height: 2;
  margin: 0;
}

.lyrics.align-left {
  text-align: left;
  color: rgba(206, 214, 255, 0.84);
}

.lyrics.lead {
  margin-bottom: clamp(16px, 3vw, 28px);
}



body.page-ai .ai-lyrics,
body.page-hi .hi-lyrics,
body.page-ei .ei-lyrics,
body.page-tb .tb-lyrics,
body.page-ge .ge-lyrics,
body.page-fl .fl-lyrics,
body.page-cr .cr-lyrics {
  line-height: 1.55;
}

.lyrics-panel {
  margin-top: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 4vw, 32px);
  background: rgba(9, 0, 40, 0.45);
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  margin-bottom: 1.4rem;
}

.lyrics-panel .divider {
  margin: clamp(18px, 2.5vw, 28px) auto;
}

.lyrics-origins {
  font-size: 1rem;
  line-height: 2.1;
  letter-spacing: 0.04rem;
  color: rgba(235, 232, 255, 0.92);
  margin-top: clamp(26px, 4vw, 40px);
  padding: clamp(18px, 3vw, 32px);
  background: linear-gradient(135deg, rgba(111, 94, 232, 0.18), rgba(207, 146, 255, 0.12));
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(24, 12, 76, 0.32);
  position: relative;
  overflow: hidden;
}

/* Index: make origins text smaller on mobile to avoid awkward breaks */
@media (max-width: 640px) {
  body.page-home .lyrics-origins {
    font-size: 0.8rem;
  }
}

.lyrics-origins::before {
  content: '';
  position: absolute;
  inset: 12% 8% 18% 12%;
  border-radius: 32px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 55%),
    radial-gradient(circle at 75% 65%, rgba(126, 178, 255, 0.12), transparent 60%);
  opacity: 0.7;
  filter: blur(12px);
}

.lyrics-origins>* {
  position: relative;
  z-index: 1;
}

.lyrics-origins br {
  line-height: 2.2;
}

.quotes-panel {
  margin-top: clamp(18px, 2.5vw, 28px);
  /* Reduce ~2rem from previous spacing; keep small responsive buffer */
  margin-bottom: clamp(0px, 1vw, 8px);
  padding: clamp(18px, 3vw, 28px);
  background: linear-gradient(135deg, rgba(111, 94, 232, 0.12), rgba(207, 146, 255, 0.10));
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(24, 12, 76, 0.22);
  text-align: center;
  position: relative;
  /* allow inner border overlay */
}

.quote-text {
  margin: 0;
  font-size: clamp(0.8rem, 2vw, 1rem);
  line-height: 1.9;
  color: rgba(235, 232, 255, 0.92);
}

.quote-author {
  margin-top: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.06rem;
  color: rgba(200, 210, 255, 0.75);
}

.quote-ja {
  margin: 6px 0 0;
  font-size: 0.75rem;
  color: rgba(235, 232, 255, 0.84);
}

.quotes-title {
  font-size: 0.85rem;
  letter-spacing: 0.18rem;
  font-weight: 100;
  color: rgba(200, 220, 255, 0.86);
  /* softer light-blue tint, not pure white */
  margin: 0 0 10px;
}

/* Tighten spacing above the quotes section relative to the previous block */
#quotes {
  margin-top: -10px;
}

@media (max-width: 640px) {
  #quotes {
    margin-top: -6px;
  }
}

.quote-text,
.quote-ja,
.quote-author {
  transition: opacity 480ms ease, transform 480ms ease, filter 480ms ease;
}

.quotes-panel.is-fading .quote-text,
.quotes-panel.is-fading .quote-ja,
.quotes-panel.is-fading .quote-author {
  opacity: 0;
  transform: translateY(6px);
  filter: blur(1px);
}

/* Reduced motion: avoid fade/slide for assistive preferences */
@media (prefers-reduced-motion: reduce) {

  .quote-text,
  .quote-ja,
  .quote-author {
    transition: none !important;
  }

  .quotes-panel.is-fading .quote-text,
  .quotes-panel.is-fading .quote-ja,
  .quotes-panel.is-fading .quote-author {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Inner rule (罫線) for quotes box */
.quotes-panel::after {
  content: '';
  position: absolute;
  inset: 8px;
  /* draw the rule inside the box */
  border-radius: 16px;
  border: 1px solid rgba(200, 220, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(90, 120, 200, 0.06);
  pointer-events: none;
}

/* Quotes: mobile spacing + stabilize height to reduce layout jump */
@media (max-width: 640px) {
  #quotes .quotes-panel {
    margin-top: 8px;
    /* title is inside the box now */
    /* More headroom to avoid height jump even with 4+ wrapped lines */
    min-height: clamp(220px, 50vw, 320px);
    display: grid;
    align-content: center;
    /* vertically center varying lengths */
    gap: 8px;
  }

  /* Make quote text a touch larger on small screens */
  #quotes .quote-text {
    font-size: clamp(0.9rem, 3.8vw, 1.05rem);
  }

  #quotes .quote-ja {
    font-size: clamp(0.8rem, 3.2vw, 0.95rem);
  }

  #quotes .quote-author {
    font-size: clamp(0.75rem, 3vw, 0.9rem);
  }

  /* Tighter leading for EN line blocks on small screens */
  #quotes .quote-text {
    line-height: 1.6;
  }
}

/* Desktop: bump quote sizes slightly for readability */
@media (min-width: 960px) {
  #quotes .quote-text {
    font-size: 1.1rem;
  }

  #quotes .quote-ja {
    font-size: 0.85rem;
  }

  #quotes .quote-author {
    font-size: 0.8rem;
  }
}

.divider {
  width: 140px;
  height: 1px;
  margin: 32px auto;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
}

.cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(16px, 2.5vw, 28px);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05rem;
  transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(300deg, rgba(255, 255, 255, 0.38), transparent 60%);
  opacity: 0.25;
  transition: opacity 0.3s ease;
}

.cta-button>* {
  position: relative;
  z-index: 1;
}

.cta-button .cta-icon {
  width: 18px;
  height: 18px;
  background: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 4.5v12.1a2.5 2.5 0 11-1.5-2.3V6.2c0-.8.5-1.5 1.3-1.7l7.5-2.1c1.1-.3 2.2.5 2.2 1.7v8.9a2.5 2.5 0 11-1.5-2.3V5.8L9 7.9v8.7a2.5 2.5 0 11-1.5-2.3V4.5H9z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 4.5v12.1a2.5 2.5 0 11-1.5-2.3V6.2c0-.8.5-1.5 1.3-1.7l7.5-2.1c1.1-.3 2.2.5 2.2 1.7v8.9a2.5 2.5 0 11-1.5-2.3V5.8L9 7.9v8.7a2.5 2.5 0 11-1.5-2.3V4.5H9z'/%3E%3C/svg%3E");
  transition: transform 0.25s ease;
}

.cta-button .cta-icon.social-icon--tiktok {
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M14%203h2.4c.2%201.9%201.4%203.3%203.1%203.5v2.3c-1.1-.1-2.2-.4-3.1-.9v5c0%203.1-2.2%205.6-5.2%205.6A5.3%205.3%200%20016%2013.8a5.3%205.3%200%20015.3-5.2c.3%200%20.6%200%20.9.1V6.1l2.8.3zM9.1%2014a2%202%200%20003.9.8v-2.7a3.9%203.9%200%2000-.9-.1A2%202%200%20009%2014z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M14%203h2.4c.2%201.9%201.4%203.3%203.1%203.5v2.3c-1.1-.1-2.2-.4-3.1-.9v5c0%203.1-2.2%205.6-5.2%205.6A5.3%205.3%200%20016%2013.8a5.3%205.3%200%20015.3-5.2c.3%200%20.6%200%20.9.1V6.1l2.8.3zM9.1%2014a2%202%200%20003.9.8v-2.7a3.9%203.9%200%2000-.9-.1A2%202%200%20009%2014z%22%20fill%3D%22black%22/%3E%3C/svg%3E");
}

.cta-button .cta-label {
  font-size: 0.95rem;
  letter-spacing: 0.08rem;
}

.cta-button:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

/* EN top page: Streaming Stores button (navy variant) */
html[lang="en"] body.page-home section#home .cta-button {
  background: linear-gradient(315deg, #141b33, #2b3f7a);
}

html[lang="en"] body.page-home section#home .cta-button:hover {
  background: linear-gradient(315deg, #1a2444, #364f9d);
}

.cta-button:hover::before {
  opacity: 0.5;
}

.cta-button:hover .cta-icon {
  transform: translateX(2px) scale(1.05);
}

.cta-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.feature-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.feature-block--bio {
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 0.35fr);
}

@media (max-width: 820px) {
  .feature-block--bio {
    grid-template-columns: 1fr;
  }
}

.feature-subtitle {
  margin: clamp(10px, 1.4vw, 14px) 0 clamp(12px, 2.5vw, 20px);
  font-size: clamp(1.2rem, 2.6vw, 1.3rem);
  color: rgba(255, 255, 255, 0.78);
}

.feature-subtitle--center {
  text-align: center;
  margin-bottom: clamp(14px, 3vw, 20px);
}

.feature-block--bio .lyrics.align-left {
  line-height: 1.7;
}

.feature-block--neuromancer {
  display: grid;
  gap: 2rem;
  padding: clamp(14px, 3vw, 28px);
  border-radius: 24px;
  background: rgba(18, 9, 46, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 16px rgba(7, 3, 26, 0.16);
}

.feature-block--neuromancer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

@media (max-width: 720px) {
  .feature-block--neuromancer {
    margin-top: clamp(12px, 3vw, 18px);
    margin-bottom: clamp(20px, 4vw, 28px);
  }
}

.feature-block img {
  width: min(260px, 8100%);
  border-radius: 22px;
  box-shadow: 0 14px 26px rgba(26, 11, 70, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.portrait {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.caption {
  font-size: 0.75rem;
  letter-spacing: 0.12rem;

  color: rgba(255, 255, 255, 0.55);
}

.spotify-player {
  margin-top: clamp(0px, 1vw, 8px);
}

.spotify-embed iframe {
  width: 100%;
  border: none;
  min-height: 220px;
}

.album-hero-player iframe {
  width: 100%;
  border: none;
  min-height: 152px;
}

.spotify-embed--hero {
  margin-top: 6px;
  max-width: 350px;
  width: min(68vw, 350px);
  margin-inline: auto;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  background: rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
  .spotify-embed--hero {
    width: min(86vw, 350px);
  }
}

@media (min-width: 769px) {
  .spotify-embed--hero {
    margin-left: 0;
    margin-right: auto;
  }
}

.spotify-embed--hero iframe {
  display: block;
  height: 152px;
}

.profile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 4vw, 32px);
  align-items: center;
}

.profile .avatar {
  display: grid;
  place-items: center;
  gap: 12px;
}

.profile .avatar img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.profile .role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.profile-director {
  position: relative;
  background: linear-gradient(140deg, rgba(14, 18, 52, 0.92), rgba(23, 28, 80, 0.82));
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 36px rgba(5, 3, 22, 0.3);
  overflow: hidden;
  padding: clamp(24px, 5vw, 40px);
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 0.65fr);
}

.profile-director::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 25%, rgba(122, 110, 255, 0.24), transparent 55%),
    radial-gradient(circle at 85% 75%, rgba(198, 122, 255, 0.18), transparent 60%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.profile-director>* {
  position: relative;
  z-index: 1;
}

.profile-director strong {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.92);
}

.profile-director .profile-text {
  display: grid;
  gap: 10px;
  color: rgba(206, 214, 255, 0.84);
  text-align: left;
}

.profile-director .profile-quote {
  margin: 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.1em;
  font-size: 1.2rem;
  font-weight: 100;
}

.profile-director .profile-credit {
  margin: 0 1rem 1rem;
  font-size: 0.78rem;
  color: rgba(173, 177, 255, 0.7);
  font-style: italic;
  letter-spacing: 0.03em;
}

.profile-director .profile-line {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.015em;
}



.bio-section {
  position: relative;
  background: linear-gradient(145deg, rgba(12, 16, 48, 0.92), rgba(24, 30, 76, 0.85));
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 36px rgba(6, 8, 30, 0.36);
  overflow: hidden;
  padding-block-start: clamp(8px, 1vw, 14px);
  padding-block-end: clamp(24px, 3vw, 40px);
}

.bio-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 25%, rgba(126, 118, 255, 0.28), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(108, 176, 255, 0.22), transparent 60%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.bio-section>* {
  position: relative;
  z-index: 1;
}

.bio-section h2 {
  color: rgba(235, 240, 255, 0.94);
  margin-top: 0;
}

.bio-section .lyrics.align-left {
  color: rgba(206, 214, 255, 0.84);
  line-height: 1.75;
}

.bio-section .portrait .caption {
  color: rgba(204, 210, 255, 0.68);
}

.bio-section .feature-block--bio {
  gap: clamp(18px, 3vw, 28px);
}

@media (max-width: 820px) {
  .bio-section {
    text-align: center;
  }

  .bio-section .feature-block--bio {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bio-section .lyrics.align-left {
    text-align: left;
  }

  .bio-section .portrait {
    margin-bottom: 16px;
  }
}

@media (max-width: 720px) {
  .profile-director {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-director .profile-text {
    text-align: left;
  }

  .profile-director .avatar {
    justify-items: center;
  }
}

footer {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  /* improve readability by default */
  padding: clamp(24px, 4vw, 40px) clamp(18px, 6vw, 64px) clamp(18px, 4vw, 32px);
  display: grid;
  gap: clamp(20px, 4vw, 46px);
  justify-items: center;
  line-height: 1.85;
}

footer {
  position: relative;
  /* background: linear-gradient(180deg, rgba(43, 52, 138, 0.9), rgba(18, 20, 66, 0.96)); */
  border-radius: 0;
  /* border-top removed for cleaner edge */
  /* box-shadow: 0 -12px 28px rgba(8, 9, 40, 0.36); */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: clamp(36px, 7vw, 96px);
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 4%, rgba(188, 178, 255, 0.18), transparent 62%);
  pointer-events: none;
}

footer>* {
  position: relative;
  z-index: 1;
}

footer nav.footer-nav,
footer .footer-columns,
footer .footer-links,
footer .footer-meta {
  /* width: min(100%, 960px); */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  ;
}

footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  margin-bottom: clamp(20px, 4vw, 36px);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  max-width: min(100%, 720px);
}

/* スマホ: ヘッダー nav.tabs と同様に横スクロール1行表示 */
@media (max-width: 640px) {
  footer .footer-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    max-width: calc(100vw - 32px);
    gap: 4px;
    padding: 6px;
  }

  footer .footer-nav::-webkit-scrollbar {
    display: none;
  }

  footer .footer-nav a {
    flex-shrink: 0;
  }
}

/* iPhone SE (375px) など狭い画面: 余白を詰めて全項目を1行に収める */
@media (max-width: 420px) {
  footer .footer-nav {
    padding: 4px;
    gap: 3px;
  }

  footer .footer-nav a {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
}

footer .footer-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 5px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: 0.85rem;
  white-space: nowrap;
}

footer .footer-nav a.active {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

footer .footer-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* Home icon size in header nav and footer nav */
nav.tabs a .social-icon,
footer .footer-nav a .social-icon {
  width: 15px;
  height: 15px;
  vertical-align: -2px;
  flex-shrink: 0;
}

/* ── Related Site Links (not button-like) ─────────────── */
.footer-site-links {
  margin-top: clamp(12px, 2.4vw, 20px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  width: min(680px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.footer-site-link {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(116, 181, 255, 0.12), rgba(255, 255, 255, 0.03) 62%);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
}

.footer-site-link:nth-child(2) {
  background: linear-gradient(145deg, rgba(255, 160, 124, 0.14), rgba(255, 255, 255, 0.03) 62%);
}

.footer-site-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.45) 50%);
  pointer-events: none;
}

.footer-site-label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-site-name {
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.footer-site-link:hover,
.footer-site-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  filter: brightness(1.04);
}

@media (max-width: 640px) {
  .footer-site-links {
    width: min(100%, calc(100vw - 28px));
    gap: 8px;
    margin-top: 14px;
  }

  .footer-site-link {
    padding: 11px 12px 13px;
  }
}

@media (max-width: 420px) {
  .footer-site-links {
    grid-template-columns: 1fr;
    width: min(100%, calc(100vw - 20px));
  }
}

footer .footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 4vw, 32px);
  text-align: left;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.68);
}

footer .footer-list {
  display: grid;
  gap: 10px;
}

footer .footer-list p {
  margin: 0;
  line-height: 1.8;
  font-size: 0.7rem;
}

footer .footer-list strong {
  color: rgb(152 123 167 / 80%);
  letter-spacing: 0.03em;
  font-weight: 100;
  font-size: 0.7rem;
  margin-right: 0.2rem;
}

/* Index (Home): footer label color to light blue for better contrast */
body.page-home footer .footer-list strong {
  color: rgba(160, 220, 255, 0.9);
}


footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(12px, 3vw, 24px);
}

footer .footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.78rem;
  transition: transform 0.2s ease;
}

footer .footer-chip:hover {
  transform: translateY(-1px);
}

/* Footer socials: stabilize layout on small screens */
@media (max-width: 560px) {
  footer .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  footer .footer-chip {
    width: 100%;
    /* make each chip fill its grid cell */
    justify-content: center;
    /* center icon + label */
    padding: 10px 12px;
    /* larger tap target */
    font-size: 0.85rem;
    /* slightly larger for readability */
  }
}

@media (max-width: 360px) {
  footer .footer-links {
    grid-template-columns: 1fr;
  }
}

footer .footer-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

@media (max-width: 680px) {
  header.hero {
    padding-top: 48px;
  }

  .socials {
    position: static;
    justify-content: center;
    margin-bottom: 16px;
  }

  /* Make header socials participate in layout (avoid overlap with logo) */
  header.ai-hero .ai-socials,
  header.hi-hero .hi-socials,
  header.ei-hero .ei-socials,
  header.cr-hero .cr-socials,
  header.ge-hero .ge-socials,
  header.tb-hero .tb-socials,
  header.ai-hero .header-socials,
  header.hi-hero .header-socials,
  header.ei-hero .header-socials,
  header.cr-hero .header-socials,
  header.ge-hero .header-socials,
  header.fl-hero .header-socials,
  header.tb-hero .header-socials {
    position: static;
    justify-content: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
    align-self: start;
  }

  /* Add a bit more top padding so socials sit comfortably above logo */
  header.ai-hero,
  header.hi-hero,
  header.ei-hero,
  header.cr-hero,
  header.tb-hero {
    padding-top: clamp(16px, 7vw, 40px);
    /* Remove vw-based min to let max-height dominate */
    min-height: 200px;
    max-height: 360px;
    padding-bottom: clamp(14px, 6vw, 28px);
  }

  /* Compact socials on small screens */
  .header-socials .social-button {
    min-width: 32px;
    height: 32px;
    justify-content: center;
  }

  /* Keep home icon larger than other socials */
  .header-socials .social-button--home .social-icon {
    width: 24px !important;
    height: 24px !important;
  }

  .social-button--home {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 14px;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 52%), linear-gradient(150deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #fff;
  }

  .header-socials .social-button--icon {
    width: 60px;
    height: 28px;
  }

  .header-socials .social-button--home {
    width: 60px;
    height: 40px;
    padding: 8px;
    border-radius: 12px;
  }

  .header-socials .social-icon {
    width: 19px;
    height: 19px;
  }

  header.hero h1 {
    letter-spacing: 0.18rem;
  }

  .release-panel {
    grid-template-columns: 1fr;
  }
}

/* Keep mobile socials anchored to the toggle even after scroll */
@media (max-width: 768px) {
  header.hero .header-socials,
  header.ai-hero .header-socials,
  header.hi-hero .header-socials,
  header.ei-hero .header-socials,
  header.cr-hero .header-socials,
  header.ge-hero .header-socials,
  header.fl-hero .header-socials,
  header.tb-hero .header-socials {
    position: fixed !important;
    top: calc(clamp(16px, 3vw, 24px) + 44px) !important;
    right: clamp(22px, 4vw, 38px) !important;
    margin: 0 !important;
    z-index: 140 !important;
    justify-content: flex-start;
    flex-wrap: nowrap;
    align-items: stretch;
  }
}

/* C,r */
body.page-cr {
  color-scheme: dark;
  --bg-sky: #aee6ff;
  --bg-haze: #7ecbff;
  --bg-horizon: #f3a0d8;
  --bg-mid: #2e56d6;
  --bg-bottom: #060f33;
  --card: rgba(14, 30, 76, 0.86);
  --card-strong: rgba(28, 48, 108, 0.9);
  --highlight: #8fe6ff;
  --text: rgba(236, 246, 255, 0.96);
  --text-muted: rgba(194, 214, 245, 0.86);
  --pill-bg: linear-gradient(135deg, #8fe6ff, #b687ff);
}

body.page-cr {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-sky) 0%, var(--bg-haze) 20%, rgba(216, 126, 208, 0.48) 36%, var(--bg-mid) 62%, var(--bg-bottom) 100%), radial-gradient(circle at 50% 18%, rgba(143, 230, 255, 0.54), transparent 58%);
  color: var(--text);
  display: flex;
  justify-content: center;
  padding: clamp(2px, 0.8vw, 10px) clamp(16px, 2.5vw, 28px);
  --header-social-wrap-bg: rgba(10, 24, 56, 0.33);
  --header-social-wrap-shadow: inset 0 0 0 1px rgba(208, 232, 255, 0.14);
  --header-social-hover-bg: rgba(208, 232, 255, 0.2);
  /* Hero color palette: cyan to deep navy */
  /* Use radial gradient from center-top for header */
  --hero-surface: radial-gradient(135% 120% at 50% -12%,
      rgba(96, 160, 245, 0.72) 0%,
      rgba(34, 62, 160, 0.95) 44%,
      rgba(4, 10, 28, 1) 100%);
  /* Remove subtle 1px outline on top/bottom */
  --hero-border-color: transparent;
  --hero-shadow: 0 28px 54px rgba(6, 14, 36, 0.42);
  --hero-highlight: radial-gradient(circle at 50% -18%, rgba(255, 255, 255, 0.28), transparent 62%);
  --hero-highlight-opacity: 0.38;
  --hero-tagline-color: rgba(230, 244, 255, 0.9);
}

body.page-cr::before {
  opacity: 0.92;
  filter: saturate(1.08) brightness(1.08);
}

body.page-cr::after {
  opacity: 0.28;
}

body.page-cr main {
  width: min(100%, 960px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

header.cr-hero {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  padding: clamp(18px, 3.2vw, 28px);
  padding-top: clamp(20px, 3.8vw, 40px);
  border-radius: 0;
  background: none;
  box-shadow: none;
  border: none;
  backdrop-filter: none;
}

header.cr-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  letter-spacing: 0.35rem;

  font-weight: 100;
  color: rgba(232, 244, 255, 0.96);
}

header.cr-hero span {
  font-weight: 300;
  color: rgb(240 255 219 / 78%);
  letter-spacing: 0.1em;
}

nav.cr-tabs {
  display: inline-flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(200, 217, 244, 0.65);
  box-shadow: 0 10px 24px rgba(38, 70, 126, 0.18);
}

nav.cr-tabs a {
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 999px;
  color: rgba(24, 42, 92, 0.84);
  font-weight: 500;
}

nav.cr-tabs a.active {
  background: var(--pill-bg);
  color: rgba(8, 22, 52, 0.95);
  box-shadow: 0 8px 20px rgba(60, 102, 198, 0.24);
}

.cr-tracks {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.cr-track {
  display: grid;
  gap: 20px;
  padding: 2.6rem;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(197, 155, 255, 0.2);
  box-shadow: 0 12px 24px rgba(12, 8, 38, 0.28);
  backdrop-filter: blur(14px);
  align-items: start;
}

.cr-track.cr-track-with-image {
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  align-items: start;
  gap: 40px;
}

.cr-track img {
  width: min(340px, 100%);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 14px rgba(12, 8, 38, 0.18);
  justify-self: center;
}

.cr-track-content {
  display: grid;
  gap: 12px;
}

.cr-track-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgb(164 196 255 / 80%);
  font-size: 0.9rem;
}

.cr-track-meta li {
  display: inline-flex;
  align-items: baseline;
}

.cr-track-meta li+li {
  margin-left: 6px;
}

.cr-track-meta li+li::before {
  content: '•';
  margin-right: 6px;
  color: rgba(197, 155, 255, 0.7);
}

.cr-track-meta .code {
  font-size: 0.8rem;
}

.cr-track h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  cursor: help;
  outline: none;
  /* padding: 20px 10px 0; */
  border-radius: 12px;
}

.cr-track h3:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 4px;
}

.cr-track h3 .jp {
  display: none;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.05rem;
  text-transform: none;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(58, 30, 96, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: opacity 0.2s ease;
}

.cr-track h3:hover .jp,
.cr-track h3:focus-visible .jp {
  display: block;
}

.cr-lyrics {
  white-space: pre-line;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgb(209 225 255 / 80%);
  margin-top: -1.5rem;
}

.cr-lyrics .cr-description {
  margin: 0 0 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(197, 155, 255, 0.12);
  color: rgba(238, 232, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.7;
  border: 1px solid rgba(197, 155, 255, 0.18);
  display: none;
}

.cr-original {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(197, 155, 255, 0.08);
  color: rgba(215, 209, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.75;
  white-space: pre-wrap;
  border: 1px solid rgba(197, 155, 255, 0.16);
}

.cr-original--en {
  background: rgba(197, 155, 255, 0.05);
  color: rgba(205, 200, 242, 0.78);
  font-size: 0.86rem;
}

.cr-lyrics .translate-pair {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
  gap: clamp(12px, 3vw, 18px);
  align-items: start;
  padding: 0;
  margin: 8px 0;
}

.cr-lyrics .translate-pair>div {
  margin: 0;
  white-space: pre-wrap;
}

.cr-lyrics .translate-pair>div:first-child {
  font-variation-settings: 'wght' 450;
  letter-spacing: 0.02em;
  color: rgba(235, 230, 255, 0.92);
}

.cr-lyrics .translate-pair>div:last-child {
  color: rgba(197, 187, 242, 0.7);
  font-size: 0.85rem;
}

@media (max-width: 680px) {
  .cr-lyrics .translate-pair {
    grid-template-columns: 1fr;
  }
}

footer .cr-tabs {
  display: inline-flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
}

footer .cr-tabs a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 999px;
}

footer .cr-tabs a.active {
  background: var(--pill-bg);
  color: #1a103c;
}

footer .cr-credits {
  font-size: 0.82rem;
  color: rgba(214, 205, 245, 0.76);
}

footer .cr-socials a {
  background: rgba(197, 155, 255, 0.18);
  box-shadow: none;
}

@media (max-width: 640px) {
  nav.cr-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  header.cr-hero {
    padding: 24px;
  }

  .cr-track.cr-track-with-image {
    grid-template-columns: 1fr;
  }
}

/* A,i */
body.page-ai {
  color-scheme: dark light;
  --bg-top: #5c22bd;
  --bg-bottom: #17256a;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --surface-card: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  --on-surface: rgba(255, 255, 255, 0.9);
  --on-surface-muted: rgba(255, 255, 255, 0.65);
  --pill: linear-gradient(135deg, #7e64ff, #e661ff);
}

body.page-ai {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top), #7f3de0 35%, #5b3dd8 55%, #3634b5 75%, var(--bg-bottom));
  color: var(--on-surface);
  display: flex;
  justify-content: center;
  padding: clamp(2px, 0.8vw, 10px) clamp(16px, 2.5vw, 28px);
  --header-social-wrap-bg: rgba(0, 0, 0, 0.16);
  --header-social-wrap-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  --header-social-hover-bg: rgba(255, 255, 255, 0.12);
}

body.page-ai main {
  width: min(100%, 960px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
}

header.ai-hero,
header.hi-hero,
header.ei-hero,
header.tb-hero,
header.ge-hero,
header.fl-hero,
header.cr-hero {
  position: relative;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  justify-items: center;
  text-align: center;
  padding: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(28px, 5vw, 46px);
  border-radius: 32px;
  border: 1px solid var(--hero-border-color, rgba(203, 173, 255, 0.22));
  box-shadow: var(--hero-shadow, 0 24px 46px rgba(18, 7, 57, 0.32));
  overflow: hidden;
  background: var(--hero-surface, rgba(60, 24, 128, 0.92));
}

/* H,i page: remove subtle outline entirely */
body.page-hi header.ai-hero {
  border: none;
}

/* A,i page: remove outline */
body.page-ai header.ai-hero {
  border: none;
}

/* H,i header nav text in blue tone */
body.page-hi nav.tabs a {
  color: #d8b9ff;
}

/* E,i page: remove outline and set blue nav text */
body.page-ei header.ai-hero {
  border: none;
}

body.page-ei nav.tabs a {
  color: #9fc8ff;
}

/* H,i header: cleaner active color for nav pill */
body.page-hi nav.tabs a.active {
  background: linear-gradient(135deg, #8d74e8, #f28ad0);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(141, 116, 232, 0.28);
}

/* Remove header border for C,r to avoid 1px lines */
body.page-cr header.cr-hero {
  border: none;
}

body.page-ge header.ge-hero {
  border: none;
}

header.ai-hero::before,
header.hi-hero::before,
header.ei-hero::before,
header.tb-hero::before,
header.ge-hero::before,
header.fl-hero::before,
header.cr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--hero-surface, rgba(60, 24, 128, 0.92));
  clip-path: polygon(0% 0%, 100% 0%, 78% 100%, 22% 100%);
}

header.ai-hero::after,
header.hi-hero::after,
header.ei-hero::after,
header.tb-hero::after,
header.ge-hero::after,
header.fl-hero::after,
header.cr-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-highlight, radial-gradient(circle at 50% -18%, rgba(255, 255, 255, 0.34), transparent 62%));
  clip-path: polygon(0% 0%, 100% 0%, 78% 100%, 22% 100%);
  pointer-events: none;
  opacity: var(--hero-highlight-opacity, 0.65);
}

header.ai-hero>*:not(.mobile-menu-toggle),
header.hi-hero>*:not(.mobile-menu-toggle),
header.ei-hero>*:not(.mobile-menu-toggle),
header.tb-hero>*:not(.mobile-menu-toggle),
header.ge-hero>*:not(.mobile-menu-toggle),
header.fl-hero>*:not(.mobile-menu-toggle),
header.cr-hero>*:not(.mobile-menu-toggle) {
  position: relative;
  z-index: 2;
}

header.ai-hero .header-socials,
header.hi-hero .header-socials,
header.ei-hero .header-socials,
header.tb-hero .header-socials,
header.ge-hero .header-socials,
header.fl-hero .header-socials,
header.cr-hero .header-socials {
  position: absolute;
  top: clamp(16px, 3vw, 24px);
  right: clamp(16px, 3vw, 28px);
  margin: 0;
  z-index: 3;
}

header.ai-hero h1,
header.hi-hero h1,
header.ei-hero h1,
header.tb-hero h1,
header.ge-hero h1,
header.fl-hero h1,
header.cr-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  letter-spacing: 0.35rem;
  font-weight: 100;
  color: whitesmoke;
  font-family: 'D-DIN', 'Noto Sans JP', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size-adjust: 0.52;
  animation: none;
  opacity: 1;
  filter: none;
}

header.ai-hero .tagline,
header.hi-hero .tagline,
header.ei-hero .tagline,
header.tb-hero .tagline,
header.ge-hero .tagline,
header.fl-hero .tagline,
header.cr-hero .tagline {
  font-weight: 300;
  letter-spacing: 0.12rem;
  color: var(--hero-tagline-color, rgb(255 255 255 / 68%));
}


.album-hero {
  display: grid;
  grid-template-columns: minmax(320px, 55%) minmax(300px, 45%);
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(18px, 3.5vw, 32px);
  width: min(1150px, 100%);
  margin: 0 auto;
  justify-content: center;
  border-radius: 0;
  background: none;
  box-shadow: none;
  border: none;
  backdrop-filter: none;
  align-items: center;
}

.album-hero-cover {
  display: grid;
  gap: 16px;
  justify-items: center;
  width: 100%;
}

.album-hero-cover img {
  width: 100%;
  max-width: 480px;
  min-width: 300px;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 12px 22px rgba(18, 9, 60, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

@media (max-width: 680px) {
  .album-hero-cover img {
    width: clamp(220px, 70vw, 320px);
  }
}

@media (max-width: 768px) {
  .album-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .album-hero-info {
    padding-left: 0;
    align-items: center;
    justify-items: center;
  }
}

@media (min-width: 1200px) {
  .album-hero {
    grid-template-columns: minmax(360px, 55%) minmax(320px, 45%);
    align-items: start;
  }
}

.album-hero-info {
  display: grid;
  gap: clamp(10px, 1vw, 20px);
  padding-left: 1rem;
}

@media (max-width: 768px) {
  .album-hero-info {
    padding-left: 0;
  }
}

.album-hero-info h2 {
  margin: 0 0 4px;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.08rem;
}

.album-hero-sub {
  display: block;
  margin-top: clamp(2px, 0.6vw, 8px);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.05rem;
  color: rgba(255, 255, 255, 0.78);
}

body.page-hi .album-hero-sub {
  color: var(--text-secondary);
}

body.page-tb .album-hero-sub {
  color: var(--text-muted);
}

body.page-cr .album-hero-sub,
body.page-ei .album-hero-sub {
  color: var(--text-muted);
}

.album-hero-meta {
  color: rgba(225, 225, 255, 0.72);
  line-height: 1.6;
}

.album-hero-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
}

.album-hero-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  box-shadow: none;
}

body.page-ai .album-hero,
body.page-cr .album-hero,
body.page-ei .album-hero,
body.page-hi .album-hero,
body.page-tb .album-hero {
  background: none;
  border: none;
  box-shadow: none;
  color: var(--text);
}

body.page-ai .album-hero-info h2 {
  color: rgba(244, 240, 255, 0.95);
  text-shadow: 0 4px 18px rgba(22, 3, 66, 0.4);
}

body.page-ai .album-hero-sub {
  color: rgba(181, 198, 255, 0.84);
}

body.page-ai .album-hero-meta {
  color: rgba(199, 194, 255, 0.72);
}

body.page-ai .album-hero-button {
  background: linear-gradient(135deg, rgba(143, 116, 255, 0.9), rgba(230, 97, 255, 0.85));
  color: #fff;
  box-shadow: none;
}

body.page-ei .album-hero-info h2 {
  color: rgba(222, 236, 255, 0.92);
}

body.page-ei .album-hero-sub {
  color: rgba(137, 195, 255, 0.78);
}

body.page-ei .album-hero-meta {
  color: rgba(158, 204, 255, 0.74);
}

body.page-ei .album-hero-button {
  background: linear-gradient(135deg, rgba(88, 164, 255, 0.88), rgba(126, 221, 255, 0.82));
  color: rgba(10, 24, 42, 0.9);
  box-shadow: none;
}

body.page-cr .album-hero-info h2 {
  color: rgba(24, 42, 92, 0.96);
}

body.page-cr .album-hero-sub {
  color: rgba(48, 84, 138, 0.78);
}

body.page-cr .album-hero-meta {
  color: rgba(60, 102, 146, 0.72);
}

body.page-cr .album-hero-button {
  background: linear-gradient(135deg, rgba(126, 209, 255, 0.9), rgba(152, 144, 255, 0.85));
  color: rgba(8, 22, 52, 0.95);
  box-shadow: none;
}

body.page-hi .album-hero-info h2 {
  color: rgba(72, 40, 112, 0.9);
}

body.page-hi .album-hero-sub {
  color: rgba(138, 102, 188, 0.78);
}

body.page-hi .album-hero-meta {
  color: rgba(110, 86, 152, 0.7);
}

body.page-hi .album-hero-button {
  background: linear-gradient(135deg, rgba(153, 125, 228, 0.88), rgba(226, 150, 210, 0.78));
  /* color: rgba(53, 32, 96, 0.94); */
  box-shadow: none;
}

body.page-tb .album-hero-info h2 {
  color: rgba(132, 64, 12, 0.92);
}

body.page-tb .album-hero-sub {
  color: rgba(199, 118, 27, 0.82);
}

body.page-tb .album-hero-meta {
  color: rgba(145, 86, 20, 0.72);
}

body.page-tb .album-hero-button {
  background: linear-gradient(135deg, rgba(255, 190, 90, 0.88), rgba(255, 146, 112, 0.82));
  color: rgba(102, 52, 8, 0.92);
  box-shadow: none;
}

.ai-tracks {
  display: grid;
  gap: clamp(22px, 3.2vw, 32px);
}

.ai-track {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: 40px;
  padding: 2.6rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 6, 64, 0.55), rgba(18, 6, 64, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 24px rgba(12, 4, 54, 0.2);
  backdrop-filter: blur(14px);
  align-items: start;
}

.ai-track img {
  width: min(340px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 18px rgba(10, 4, 44, 0.24);
  justify-self: center;
}

.ai-track-content {
  display: grid;
  gap: 14px;
  align-content: start;
}

.ai-track-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  font-size: 0.9rem;
  color: var(--on-surface-muted);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ai-track-meta li {
  display: inline-flex;
  align-items: baseline;
}

.ai-track-meta li+li {
  margin-left: 6px;
}

.ai-track-meta li+li::before {
  content: '•';
  margin-right: 6px;
  opacity: 0.7;
}

.ai-track-meta .code {
  font-size: 0.8rem;
  letter-spacing: 0.18rem;

  color: rgba(255, 255, 255, 0.55);
}

.ai-track h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  /* letter-spacing: 0.15rem; */

}

.ai-lyrics {
  white-space: pre-line;
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--on-surface-muted);
}

body.page-ai footer {
  text-align: center;
  display: grid;
  padding: clamp(24px, 4vw, 32px);
  border-radius: 24px;
  background: none;
  border: none;
  box-shadow: none;
}

footer .ai-footer-nav {
  display: inline-flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
}

footer .ai-footer-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 18px;
  border-radius: 999px;
}

footer .ai-footer-nav a.active {
  background: var(--pill);
  color: #fff;
}

footer .ai-socials {
  display: inline-flex;
  gap: 10px;
  justify-content: center;
}

footer .ai-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: 0 8px 14px rgba(18, 6, 64, 0.2);
}

footer .ai-credits {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

@media (max-width: 720px) {
  nav.ai-nav {
    justify-content: center;
    width: 100%;
  }

  header.ai-hero {
    padding: 24px;
  }

  .ai-track {
    grid-template-columns: 1fr;
  }
}

/* H,i */
body.page-hi {
  color-scheme: light;
  --top: #eedaff;
  --mid: #dac4f2;
  --bottom: #b9a3e4;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-muted: rgba(247, 241, 255, 0.62);
  --text: rgba(52, 33, 84, 0.88);
  --text-secondary: rgba(52, 33, 84, 0.68);
  --shadow: rgba(74, 49, 120, 0.2);
  --pill-bg: linear-gradient(120deg, #8d74e8, #f28ad0);
}

body.page-hi {
  margin: 0;
  min-height: 100vh;
  /* Reverse the light/dark order for page background */
  background: linear-gradient(180deg, var(--bottom) 0%, var(--mid) 44%, var(--top) 82%, #f7f2ff 100%);
  color: var(--text);
  display: flex;
  justify-content: center;
  padding: clamp(2px, 0.8vw, 10px) clamp(16px, 2.5vw, 28px);
  --header-social-wrap-bg: rgba(255, 255, 255, 0.3);
  --header-social-wrap-shadow: inset 0 0 0 1px rgba(82, 59, 130, 0.18);
  --header-social-hover-bg: rgba(82, 59, 130, 0.12);
  --header-social-color: var(--text);
  /* H,i header: shift少しピンク寄りで差別化 */
  --hero-surface: linear-gradient(180deg,
      rgba(216, 176, 255, 0.98) 0%,
      rgba(186, 128, 242, 0.99) 52%,
      rgba(132, 68, 210, 1) 100%);
  --hero-border-color: transparent;
  --hero-shadow: 0 26px 52px rgba(68, 34, 112, 0.36);
  /* Emphasize reverse trapezoid with multi-layer highlights */
  --hero-highlight:
    /* top glow */
    radial-gradient(circle at 50% -14%, rgba(255, 255, 255, 0.52), transparent 62%),
    /* left diagonal shade */
    linear-gradient(110deg, rgba(112, 58, 170, 0.26) 12%, rgba(112, 58, 170, 0.12) 28%, transparent 44%),
    /* right diagonal shade */
    linear-gradient(250deg, rgba(112, 58, 170, 0.26) 12%, rgba(112, 58, 170, 0.12) 28%, transparent 44%),
    /* subtle bottom deepen */
    linear-gradient(180deg, rgba(110, 70, 190, 0.14), transparent 46%);
  --hero-highlight-opacity: 0.76;
  --hero-tagline-color: rgba(245, 235, 255, 0.82);
}

body.page-hi main {
  width: min(100%, 960px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

header.hi-hero {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: clamp(18px, 3.2vw, 28px);
  padding-top: clamp(20px, 3.8vw, 40px);
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  text-align: center;
}

header.hi-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  letter-spacing: 0.35rem;

  font-weight: 100;
}

header.hi-hero span {
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.1em;
}

nav.hi-tabs {
  display: inline-flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

nav.hi-tabs a {
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 999px;
  color: whitesmoke;
  font-weight: 500;
}

nav.hi-tabs a.active {
  background: var(--pill-bg);
  color: white;
  box-shadow: 0 8px 16px rgba(255, 134, 219, 0.22);
}

section.hi-tracks {
  display: grid;
  gap: clamp(20px, 3.2vw, 32px);
}

.hi-track {
  display: grid;
  gap: 20px;
  padding: 2.6rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 22px rgba(118, 74, 170, 0.16);
  backdrop-filter: blur(12px);
  align-items: start;
}

.hi-track.hi-track-with-image {
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: 40px;
}

.hi-track img {
  width: min(340px, 100%);
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 10px 18px rgba(110, 74, 162, 0.18);
  justify-self: center;
}

.hi-track-content {
  display: grid;
  gap: 12px;
}


.hi-track-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  color: var(--text-secondary);
  font-size: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hi-track-meta li {
  display: inline-flex;
  align-items: baseline;
}

.hi-track-meta li+li {
  margin-left: 6px;
}

.hi-track-meta li+li::before {
  content: '•';
  margin-right: 6px;
  opacity: 0.7;
}

.hi-track-meta .code {
  font-size: 0.8rem;
  letter-spacing: 0.18rem;

}

.hi-track h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2.3vw, 1.4rem);

  /* letter-spacing: 0.12rem; */
}

.hi-lyrics {
  white-space: pre-line;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .hi-track.hi-track-with-image {
    grid-template-columns: 1fr;
  }
}

body.page-hi footer {
  text-align: center;
  display: grid;
  padding: clamp(22px, 4vw, 30px);
  border-radius: 0;
  /* Make footer surface transparent so the page background continues
     and only an overlay (via ::before) provides gentle glow, like Home. */
  background: none;
  border: none;
  box-shadow: none;
  color: var(--text);
  margin-bottom: 0;
}

/* H,i footer: improve label contrast */
body.page-hi footer .footer-list strong {
  color: var(--text);
  /* darker text for readability on light footer */
}

/* H,i footer: radial vignette, dark center -> soft edges */
body.page-hi footer::before {
  /* Soft purple glow from top + center emphasis.
     Add horizontal fade so both edges dissolve into page background. */
  background:
    /* top-center glow */
    radial-gradient(120% 120% at 50% 2%,
      rgba(214, 186, 255, 0.34) 0%,
      rgba(168, 130, 242, 0.20) 26%,
      rgba(0, 0, 0, 0.00) 58%),
    /* left/right edge dissolve (transparent edges, brighter center) */
    linear-gradient(90deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(168, 130, 242, 0.03) 30%,
      rgba(168, 130, 242, 0.16) 50%,
      rgba(168, 130, 242, 0.03) 70%,
      rgba(0, 0, 0, 0) 100%),
    /* subtle vertical depth */
    linear-gradient(180deg,
      rgba(104, 64, 200, 0.06) 0%,
      rgba(72, 42, 160, 0.08) 42%,
      rgba(42, 24, 120, 0.10) 100%);
}



body.page-hi footer .footer-list p,
body.page-hi footer .footer-meta,
body.page-hi footer .footer-nav a,
body.page-hi footer .footer-links,
body.page-hi footer .footer-chip,
body.page-hi footer .role,
body.page-hi footer strong {
  color: var(--text);
}

body.page-hi footer .footer-chip {
  background: rgba(255, 255, 255, 0.30);
}

body.page-hi footer .footer-nav a.active,
body.page-hi footer .footer-nav a:hover {
  color: var(--text);
}

/* Ensure active pill stays light for contrast on H,i */
body.page-hi footer .footer-nav a.active {
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 6px 12px rgba(120, 80, 180, 0.16);
}

body.page-hi footer .footer-site-link {
  border-color: rgba(77, 56, 130, 0.36);
  background: linear-gradient(145deg, rgba(201, 176, 255, 0.46), rgba(242, 236, 255, 0.76) 64%);
  color: rgba(54, 32, 104, 0.96);
}

body.page-hi footer .footer-site-link:nth-child(2) {
  background: linear-gradient(145deg, rgba(255, 206, 176, 0.50), rgba(255, 242, 232, 0.80) 64%);
}

body.page-hi footer .footer-site-label {
  color: rgba(72, 46, 132, 0.88);
}

body.page-hi footer .footer-site-link::after {
  background: linear-gradient(135deg, transparent 50%, rgba(58, 38, 108, 0.62) 50%);
}

footer .hi-tabs {
  display: inline-flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

footer .hi-tabs a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 18px;
  border-radius: 999px;
}

footer .hi-tabs a.active {
  background: var(--pill-bg);
  color: #fff;
}

footer .hi-credits {
  font-size: 0.82rem;
  line-height: 1.8;
}

footer .hi-socials {
  display: inline-flex;
  gap: 10px;
  justify-content: center;
}

footer .hi-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
  text-decoration: none;
}

@media (max-width: 640px) {
  header.hi-hero {
    padding: 24px;
  }

  nav.hi-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hi-track.hi-track-with-image {
    grid-template-columns: 1fr;
  }
}

/* E,i */
body.page-ei {
  color-scheme: dark;
  --bg-top: #0b122e;
  --bg-mid: #161f47;
  --bg-bottom: #1e2760;
  --card: rgba(18, 27, 68, 0.78);
  --card-strong: rgba(22, 32, 82, 0.92);
  --highlight: #6bc4ff;
  --text: rgba(220, 230, 255, 0.92);
  --text-muted: rgba(180, 194, 230, 0.75);
  --pill-bg: linear-gradient(135deg, #5a6bff, #8a5bff);
}

body.page-ei {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #0f1a44, var(--bg-top) 25%, var(--bg-mid) 55%, var(--bg-bottom) 100%);
  color: var(--text);
  display: flex;
  justify-content: center;
  padding: clamp(2px, 0.8vw, 10px) clamp(16px, 2.5vw, 28px);
  --header-social-wrap-bg: rgba(0, 0, 0, 0.25);
  --header-social-wrap-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  --header-social-hover-bg: rgba(255, 255, 255, 0.14);
  /* Deepened navy header theme (darker than C,r) */
  --hero-surface: linear-gradient(180deg, rgba(34, 56, 112, 0.94) 0%, rgba(18, 30, 76, 0.97) 48%, rgba(6, 12, 36, 0.99) 100%);
  --hero-border-color: transparent;
  --hero-shadow: 0 28px 54px rgba(5, 10, 28, 0.42);
  /* Make reverse-trapezoid more pronounced with multi-layer highlight */
  --hero-highlight:
    radial-gradient(circle at 50% -12%, rgba(255, 255, 255, 0.32), transparent 62%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 45%),
    linear-gradient(225deg, rgba(255, 255, 255, 0.08), transparent 45%);
  --hero-highlight-opacity: 0.68;
  --hero-tagline-color: rgba(220, 232, 255, 0.88);
}

body.page-ei main {
  width: min(100%, 960px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

header.ei-hero {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  padding: clamp(18px, 3.2vw, 28px);
  padding-top: clamp(20px, 3.8vw, 40px);
  border-radius: 0;
  background: none;
  box-shadow: none;
  border: none;
  backdrop-filter: none;
}

header.ei-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  letter-spacing: 0.35rem;

  font-weight: 100;
}

header.ei-hero span {
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

nav.ei-tabs {
  display: inline-flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  justify-content: center;
  flex-wrap: wrap;
}

nav.ei-tabs a {
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 500;
}

nav.ei-tabs a.active {
  background: var(--pill-bg);
  color: #fff;
  box-shadow: 0 8px 18px rgba(106, 108, 255, 0.24);
}

section.ei-tracks {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.ei-track {
  display: grid;
  gap: 20px;
  padding: 2.6rem;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(108, 196, 255, 0.08);
  box-shadow: 0 10px 22px rgba(4, 10, 30, 0.22);
  backdrop-filter: blur(14px);
  align-items: start;
}

.ei-track.ei-track-with-image {
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: 40px;
}

.ei-track img {
  width: min(340px, 100%);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 18px rgba(3, 6, 20, 0.24);
  justify-self: center;
}

.ei-track-content {
  display: grid;
  gap: 12px;
}

.ei-track-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.ei-track-meta li {
  display: inline-flex;
  align-items: baseline;
}

.ei-track-meta li+li {
  margin-left: 6px;
}

.ei-track-meta li+li::before {
  content: '•';
  margin-right: 6px;
  opacity: 0.7;
}

.ei-track-meta .code {
  font-size: 0.8rem;
  letter-spacing: 0.18rem;
}

.ei-track h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  /* letter-spacing: 0.12rem; */

}

.ei-lyrics {
  white-space: pre-line;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--text-muted);
}

body.page-ei footer {
  text-align: center;
  display: grid;
  padding: clamp(22px, 4vw, 32px);
  border-radius: 26px;
  background: none;
  border: none;
  box-shadow: none;
}

footer .ei-tabs {
  display: inline-flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

footer .ei-tabs a {
  text-decoration: none;
  color: rgba(200, 210, 240, 0.75);
  padding: 8px 18px;
  border-radius: 999px;
}

footer .ei-tabs a.active {
  background: var(--pill-bg);
  color: #fff;
}

footer .ei-credits {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(204, 214, 246, 0.75);
}

footer .ei-socials {
  display: inline-flex;
  gap: 10px;
  justify-content: center;
}

footer .ei-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  box-shadow: none;
}

body.page-ei footer .ei-tabs {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(108, 196, 255, 0.18);
}

body.page-ei footer .ei-tabs a {
  color: rgba(204, 214, 246, 0.85);
}

body.page-ei footer .ei-tabs a.active {
  box-shadow: 0 8px 18px rgba(90, 107, 255, 0.2);
}

body.page-ei footer .ei-credits {
  color: rgba(204, 218, 255, 0.78);
}

body.page-ei footer .ei-socials a {
  background: rgba(108, 196, 255, 0.2);
  color: #fff;
}

body.page-ai footer,
body.page-ei footer,
body.page-cr footer,
body.page-tb footer {
  background: none;
  border: none;
  box-shadow: none;
}

/* TB: footer nav styling to match warm palette */
body.page-tb footer .footer-nav {
  background: linear-gradient(135deg, rgba(255, 190, 120, 0.65), rgba(255, 146, 112, 0.60));
  box-shadow: none;
}

body.page-tb footer .footer-list p,
body.page-tb footer .footer-meta,
body.page-tb footer .footer-nav a,
body.page-tb footer .footer-links,
body.page-tb footer .footer-chip,
body.page-tb footer .role,
body.page-tb footer strong {
  color: var(--text);
}

body.page-tb footer .footer-chip {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

body.page-tb footer .footer-nav a.active,
body.page-tb footer .footer-nav a:hover {
  color: var(--text);
}

body.page-tb footer .footer-nav a.active {
  background: rgba(255, 255, 255, 0.16);
}

body.page-tb footer .footer-site-link {
  border-color: rgba(130, 68, 22, 0.34);
  background: linear-gradient(145deg, rgba(255, 201, 140, 0.44), rgba(255, 241, 219, 0.72) 64%);
  color: rgba(86, 40, 10, 0.96);
}

body.page-tb footer .footer-site-link:nth-child(2) {
  background: linear-gradient(145deg, rgba(255, 174, 135, 0.46), rgba(255, 234, 215, 0.74) 64%);
}

body.page-tb footer .footer-site-label {
  color: rgba(120, 54, 17, 0.84);
}

body.page-tb footer .footer-site-link::after {
  background: linear-gradient(135deg, transparent 50%, rgba(109, 52, 19, 0.60) 50%);
}

@media (max-width: 640px) {
  nav.ei-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  header.ei-hero {
    padding: 24px;
  }

  .ei-track.ei-track-with-image {
    grid-template-columns: 1fr;
  }
}

/* T,b */
body.page-tb {
  color-scheme: light;
  --bg-top: #fff0c8;
  --bg-bottom: #ffd79b;
  --card: rgba(255, 252, 242, 0.92);
  --card-strong: rgba(255, 253, 246, 0.96);
  --border: rgba(255, 184, 104, 0.35);
  --text: rgba(88, 42, 8, 0.97);
  --text-muted: rgba(120, 63, 18, 0.9);
  --accent: #ffb94b;
  --pill: linear-gradient(135deg, #ffb94b, #ff8870);
}

body.page-tb {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top) 0%, #ffde9a 44%, var(--bg-bottom) 100%);
  color: var(--text);
  display: flex;
  justify-content: center;
  padding: clamp(2px, 0.8vw, 10px) clamp(16px, 2.5vw, 28px);
  padding-bottom: 0;
  /* remove bottom gap under full-bleed footer */
  --header-social-wrap-bg: rgba(255, 175, 76, 0.22);
  --header-social-wrap-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  --header-social-hover-bg: rgba(255, 175, 76, 0.32);
  --header-social-color: var(--text);
  /* Keep hero shape; warm and lighter orange tone */
  --hero-surface: linear-gradient(135deg,
      rgba(255, 204, 128, 0.95) 0%,
      rgba(255, 153, 85, 0.96) 48%,
      rgba(214, 108, 44, 0.98) 100%);
  --hero-border-color: rgba(255, 228, 196, 0.5);
  --hero-shadow: 0 24px 48px rgba(189, 108, 32, 0.28);
  --hero-highlight: radial-gradient(circle at 50% -18%, rgba(255, 255, 255, 0.3), transparent 62%);
  --hero-highlight-opacity: 0.62;
  --hero-tagline-color: rgba(255, 250, 240, 0.9);
}

body.page-tb::before {
  opacity: 0.9;
  filter: saturate(1.08) brightness(1.06);
}

body.page-tb::after {
  opacity: 0.2;
}

body.page-tb main {
  width: min(100%, 960px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 36px);
}

header.tb-hero {
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: clamp(18px, 3.2vw, 28px);
  padding-top: clamp(20px, 3.8vw, 40px);
  border-radius: 0;
  background: none;
  box-shadow: none;
  border: none;
  text-align: center;
}

header.tb-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  letter-spacing: 0.35rem;

  font-weight: 100;
}

header.tb-hero span {
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.1em;
}

nav.tb-tabs {
  display: inline-flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgb(121 123 56 / 22%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

nav.tb-tabs a {
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 999px;
  color: rgb(255 255 255 / 70%);
  font-weight: 500;
}

nav.tb-tabs a.active {
  background: var(--pill);
  color: #fff;
  box-shadow: 0 8px 16px rgba(255, 160, 76, 0.22);
}

/* Use default pill tabs, recolored for TB */
body.page-tb nav.tabs {
  /* Warmer, lighter pill and softer shadow */
  --tabs-bg: rgba(255, 197, 119, 0.26);
  --tabs-shadow: inset 0 0 0 1px rgba(255, 224, 190, 0.6);
  --tabs-hover-bg: rgba(255, 175, 76, 0.28);
  --tabs-hover-color: #ff8a3d;
  /* orange hover text */
}

body.page-tb nav.tabs a {
  color: rgba(255, 255, 255, 0.85);
}

body.page-tb nav.tabs a.active {
  background: linear-gradient(135deg, #ffbf7a, #ff9662);
  color: #fff;
  box-shadow: 0 10px 18px rgba(214, 108, 44, 0.24);
}

/* TB: clearer hover state (non-active) */
body.page-tb nav.tabs a:hover:not(.active),
body.page-tb nav.tabs a:focus-visible:not(.active) {
  background: rgba(255, 220, 180, 0.42);
  color: #ff8a3d;
  box-shadow: 0 8px 14px rgba(214, 108, 44, 0.18);
}

/* C,r header nav: use navy/blue text instead of purple */
body.page-cr nav.tabs {
  --tabs-bg: rgba(10, 24, 56, 0.32);
  --tabs-shadow: inset 0 0 0 1px rgba(208, 232, 255, 0.22);
  --tabs-hover-bg: rgba(143, 230, 255, 0.18);
  --tabs-hover-color: #eaf6ff;
}

body.page-cr nav.tabs a {
  color: #9fbaff;
}

section.tb-tracks {
  display: grid;
  gap: 24px;
}

.tb-track {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 188, 106, 0.3);
  box-shadow: 0 10px 20px rgba(214, 148, 56, 0.15);
  align-items: start;
  padding: 2.6rem;
  gap: 40px;
}

.tb-track img {
  width: min(340px, 100%);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(214, 148, 56, 0.18);
  justify-self: center;
}

.tb-track-content {
  display: grid;
  gap: 12px;
}

.tb-track-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tb-track-meta li {
  display: inline-flex;
  align-items: baseline;
}

.tb-track-meta li+li {
  margin-left: 6px;
}

.tb-track-meta li+li::before {
  content: '•';
  margin-right: 6px;
  opacity: 0.7;
}

.tb-track-meta .code {
  font-size: 0.8rem;
  letter-spacing: 0.18rem;
}

.tb-track h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  /* letter-spacing: 0.12rem; */

}

.tb-lyrics {
  white-space: pre-line;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.tb-note {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

body.page-tb footer {
  text-align: center;
  display: grid;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 0;
  /* Follow other pages: keep footer surface transparent and use ::before overlay */
  background: none;
  border-top: none;
  box-shadow: none;
  color: rgba(255, 240, 228, 0.86);
  margin-bottom: 0;
}

/* Center-only top shadow using radial overlay */
body.page-tb footer::before {
  /* Warm orange glow from the top that gently dissolves — closer to Home */
  background:
    radial-gradient(120% 120% at 50% 2%,
      rgba(255, 214, 160, 0.34) 0%,
      rgba(255, 188, 128, 0.22) 24%,
      rgba(0, 0, 0, 0.00) 56%);
}

footer .tb-tabs {
  display: inline-flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 197, 119, 0.45);
}

footer .tb-tabs a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 999px;
}

footer .tb-tabs a.active {
  background: var(--pill);
  color: #fff;
}

footer .tb-credits {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text-muted);
}

footer .tb-socials {
  display: inline-flex;
  gap: 10px;
  justify-content: center;
}

footer .tb-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 166, 76, 0.3);
  color: var(--text);
  text-decoration: none;
  box-shadow: none;
}

@media (max-width: 640px) {
  nav.tb-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tb-track {
    grid-template-columns: 1fr;
  }
}


.ai-lyrics span,
.ai-track-content h3 span {
  margin: 0 8px;
  font-size: 0.7rem;
  color: #ae5fe3;
  display: inline-block;
}

.hi-lyrics span,
.hi-track-content h3 span {
  margin: 0 8px;
  font-size: 0.7rem;
  color: #d3a3cf;
  display: inline-block;
}

.ei-lyrics span,
.ei-track-content h3 span {
  margin: 0 8px;
  font-size: 0.7rem;
  color: #5f8fe3;
  display: inline-block;
}

.tb-lyrics span,
.tb-track-content h3 span {
  margin: 0 8px;
  font-size: 0.7rem;
  color: #aa8585;
  display: inline-block;
}

.cr-lyrics span,
.cr-track-content h3 span {
  margin: 0 8px;
  font-size: 0.7rem;
  color: #a1eaff;
  display: inline-block;
}

/* Responsive override (placed after base rule to avoid being overwritten) */
@media (max-width: 720px) {
  nav.tabs {
    max-height: 50px;
    padding: 4px;
    gap: 4px;
  }

  nav.tabs a {
    padding: 2px 8px !important;
  }
}

@media (max-width: 480px) {
  nav.tabs a {
    padding: 6px 9px !important;
  }
}


/* F,l */
body.page-fl {
  color-scheme: dark;
  /* Floating Lounge Theme: Blue -> Orange -> Deep Purple/Navy */
  --bg-top: #2c6bff;
  --bg-mid: #ff8a3d;
  --bg-bottom: #0b1038;

  --card: rgba(36, 38, 86, 0.6);
  --card-strong: rgba(42, 46, 110, 0.78);

  --highlight: #ffd1a1;
  --text: #f6f3ff;
  --text-muted: rgba(218, 214, 246, 0.86);

  --pill-bg: linear-gradient(135deg, #5aa0ff, #ff8a3d);
}

body.page-fl {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, rgba(120, 170, 255, 0.35), transparent 55%),
    linear-gradient(180deg, var(--bg-top) 0%, #4a7dff 28%, var(--bg-mid) 52%, #7a3b8f 72%, var(--bg-bottom) 100%);
  color: var(--text);
  display: flex;
  justify-content: center;
  padding: clamp(2px, 0.8vw, 10px) clamp(16px, 2.5vw, 28px);
  --header-social-wrap-bg: rgba(12, 12, 40, 0.28);
  --header-social-wrap-shadow: inset 0 0 0 1px rgba(140, 170, 255, 0.25);
  --header-social-hover-bg: rgba(255, 138, 61, 0.25);

  --hero-surface: linear-gradient(150deg, rgba(60, 100, 220, 0.82) 0%, rgba(48, 32, 90, 0.94) 100%);
  --hero-border-color: rgba(190, 160, 255, 0.26);
  --hero-shadow: 0 30px 60px rgba(12, 8, 40, 0.5);
  --hero-highlight:
    radial-gradient(circle at 50% -14%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(120deg, rgba(255, 160, 90, 0.25), transparent 50%),
    linear-gradient(240deg, rgba(120, 140, 255, 0.22), transparent 50%);
  --hero-highlight-opacity: 0.9;
  --hero-tagline-color: rgba(232, 222, 255, 0.92);
}

body.page-fl main {
  width: min(100%, 960px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

header.fl-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  letter-spacing: 0.35rem;
  font-weight: 100;
}

header.fl-hero span {
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

section.fl-tracks {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.fl-track {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: 40px;
  padding: 2.6rem;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(140, 160, 255, 0.22);
  box-shadow: 0 12px 30px rgba(10, 10, 40, 0.45);
  backdrop-filter: blur(14px);
  align-items: start;
}

.fl-track img {
  width: min(340px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(10, 24, 32, 0.4);
  justify-self: center;
}

.fl-track-content {
  display: grid;
  gap: 12px;
  align-content: start;
}

.fl-track-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'D-DIN', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.fl-track-meta li {
  display: inline-flex;
  align-items: baseline;
}

.fl-track-meta li + li {
  margin-left: 6px;
}

.fl-track-meta li + li::before {
  content: '•';
  margin-right: 6px;
  opacity: 0.7;
}

.fl-track-meta .code {
  font-size: 0.8rem;
  letter-spacing: 0.18rem;
  color: #ffd1a1;
  font-weight: 700;
}

.fl-track h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
}

.fl-lyrics {
  white-space: pre-line;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  display: block;
}

.fl-lyrics span,
.fl-track-content h3 span {
  margin: 0 0 0 1rem;
  font-size: 0.72rem;
  color: rgba(255, 214, 178, 0.9);
  display: inline-block;
}

.fl-track-content h3 .translation-tooltip {
  margin-left: 0.6rem;
  vertical-align: middle;
}

body.page-fl .album-hero-info h2 {
  color: #f6fffd;
  text-shadow: 0 0 18px rgba(120, 140, 255, 0.45);
}

body.page-fl .album-hero-sub {
  color: #ffd1a1;
}

body.page-fl .album-hero-meta {
  color: rgba(232, 222, 255, 0.82);
}

body.page-fl .album-hero-button {
  background: linear-gradient(135deg, #5aa0ff, #ff8a3d);
  color: #fff;
  box-shadow: 0 14px 24px rgba(80, 120, 200, 0.3);
}

/* G,e */
body.page-ge {
  color-scheme: dark;
  /* Pop Rock Theme: Vibrant Magenta -> Deep Purple -> Cosmic Blue */
  --bg-top: #5e0d35;
  --bg-mid: #3b1652;
  --bg-bottom: #100b2e;

  /* Glassier, punchier cards */
  --card: rgba(85, 25, 60, 0.55);
  --card-strong: rgba(110, 35, 80, 0.75);

  --highlight: #00f0ff;
  --text: #ffffff;
  --text-muted: rgba(255, 225, 245, 0.85);

  /* High energy: Hot Pink to Cyan */
  --pill-bg: linear-gradient(135deg, #ff0055, #00e5ff);
}

body.page-ge {
  margin: 0;
  min-height: 100vh;
  /* More dynamic background gradient */
  background: radial-gradient(circle at 60% 0%, #aa00ff, var(--bg-top) 30%, var(--bg-mid) 65%, var(--bg-bottom) 100%);
  color: var(--text);
  display: flex;
  justify-content: center;
  padding: clamp(2px, 0.8vw, 10px) clamp(16px, 2.5vw, 28px);
  --header-social-wrap-bg: rgba(0, 0, 0, 0.25);
  --header-social-wrap-shadow: inset 0 0 0 1px rgba(255, 150, 200, 0.3);
  --header-social-hover-bg: rgba(255, 0, 85, 0.35);

  /* Hero: Vibrant Gradient Surface */
  --hero-surface: linear-gradient(150deg, rgba(160, 20, 80, 0.85) 0%, rgba(80, 20, 140, 0.88) 100%);
  --hero-border-color: rgba(255, 100, 200, 0.3);
  --hero-shadow: 0 30px 60px rgba(80, 10, 60, 0.5);
  --hero-highlight:
    radial-gradient(circle at 50% -12%, rgba(255, 255, 255, 0.4), transparent 60%),
    linear-gradient(120deg, rgba(255, 0, 150, 0.3), transparent 50%),
    linear-gradient(240deg, rgba(0, 240, 255, 0.2), transparent 50%);
  --hero-highlight-opacity: 0.9;
  --hero-tagline-color: rgba(255, 235, 245, 0.95);
}

body.page-ge main {
  width: min(100%, 960px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}




header.ge-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  letter-spacing: 0.35rem;
  font-weight: 100;
}

header.ge-hero span {
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

nav.ge-tabs {
  display: inline-flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 100, 150, 0.15);
  justify-content: center;
  flex-wrap: wrap;
}

nav.ge-tabs a {
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 500;
}

nav.ge-tabs a.active {
  background: var(--pill-bg);
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 0, 85, 0.4);
}

section.ge-tracks {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
}

.ge-track {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: 40px;
  padding: 2.6rem;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid rgba(255, 0, 85, 0.25);
  box-shadow: 0 12px 30px rgba(60, 10, 50, 0.4);
  backdrop-filter: blur(14px);
  align-items: start;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ge-track:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(80, 0, 60, 0.5);
}

/* Disable hover color shift on G,e page */
body.page-ge .ge-track:hover {
  background: var(--card);
  transform: none;
  box-shadow: 0 12px 30px rgba(60, 10, 50, 0.4);
}

.ge-track img {
  width: min(340px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(40, 0, 30, 0.4);
  justify-self: center;
}

.ge-track-content {
  display: grid;
  gap: 12px;
  align-content: start;
}

.ge-track-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'D-DIN', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ge-track-meta li {
  display: inline-flex;
  align-items: baseline;
}

.ge-track-meta li+li {
  margin-left: 6px;
}

.ge-track-meta li+li::before {
  content: '•';
  margin-right: 6px;
  opacity: 0.7;
}

.ge-track-meta .code {
  font-size: 0.8rem;
  letter-spacing: 0.18rem;
  color: #00f0ff;
  font-weight: 700;
}

.ge-track h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
}

.ge-lyrics {
  white-space: pre-line;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  display: block;
}

.ge-lyrics .lang-block {
  margin: 0 0 10px;
}

.ge-lyrics .lang-block:last-child {
  margin-bottom: 0;
}

.ge-lyrics span,
.ge-track-content h3 span {
  margin: 0 0 0 1rem;
  font-size: 0.72rem;
  color: #a1eaff;
  display: inline-block;
}

.ge-lyrics .translation-tooltip {
  margin-left: 8px;
  /* Restore spacing for tooltip icon */
}

@media (max-width: 900px) {
  .ge-track,
  .fl-track,
  .cr-track.cr-track-with-image,
  .tb-track,
  .ai-track,
  .hi-track.hi-track-with-image,
  .ei-track.ei-track-with-image {
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
    gap: 32px;
    padding: 2.3rem;
  }
}

@media (max-width: 680px) {
  .ge-track,
  .fl-track,
  .cr-track.cr-track-with-image,
  .tb-track,
  .ai-track,
  .hi-track.hi-track-with-image,
  .ei-track.ei-track-with-image {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: clamp(18px, 5vw, 24px);
  }

  .ge-track img,
  .fl-track img,
  .cr-track img,
  .tb-track img,
  .ai-track img,
  .hi-track img,
  .ei-track img {
    width: min(240px, 70%);
  }

  .ge-track-meta,
  .fl-track-meta,
  .cr-track-meta,
  .tb-track-meta,
  .ai-track-meta,
  .hi-track-meta,
  .ei-track-meta {
    gap: 10px;
  }

  .ge-track h3,
  .fl-track h3,
  .cr-track h3,
  .tb-track h3,
  .ai-track h3,
  .hi-track h3,
  .ei-track h3 {
    font-size: clamp(1rem, 5vw, 1.2rem);
  }
}

body.page-ge footer {
  text-align: center;
  display: grid;
  padding: clamp(22px, 4vw, 32px);
  border-radius: 26px;
  background: none;
  border: none;
  box-shadow: none;
}

footer .ge-tabs {
  display: inline-flex;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

footer .ge-tabs a {
  text-decoration: none;
  color: rgba(255, 200, 220, 0.75);
  padding: 8px 18px;
  border-radius: 999px;
}

footer .ge-tabs a.active {
  background: var(--pill-bg);
  color: #fff;
  box-shadow: 0 5px 15px rgba(255, 0, 85, 0.4);
}

footer .ge-socials a {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: #fff;
}

body.page-ge .album-hero-info h2 {
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 0, 85, 0.5);
}

body.page-ge .album-hero-sub {
  color: #00f0ff;
}

body.page-ge .album-hero-meta {
  color: rgba(255, 255, 255, 0.8);
}

body.page-ge .album-hero-button {
  background: linear-gradient(135deg, #ff0055, #bd00ff);
  color: #fff;
  box-shadow: 0 14px 24px rgba(255, 0, 85, 0.3);
}

/* Lyrics Translation Tooltips (JS + CSS) */
.translation-tooltip {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

/* Icon text "訳" -> "?" (Question Mark) */
.translation-tooltip::before {
  content: '';
  width: 14px;
  height: 14px;
  display: block;
  background: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 5.5C4 4.12 5.12 3 6.5 3h11c1.38 0 2.5 1.12 2.5 2.5v10c0 1.38-1.12 2.5-2.5 2.5h-5.88l-3.14 3.14A1 1 0 0 1 7 20.17V18H6.5C5.12 18 4 16.88 4 15.5v-10Zm4.7 2.2L8 8.4l2 2 .7-.7L9.4 8.1l1.3-1.3-.7-.7-2 2Zm5.7 2.6c.7-.2 1.1-.9 1.1-1.6 0-.7-.5-1.5-1.5-1.5-.6 0-1.1.2-1.5.7l.7.7c.2-.3.4-.4.7-.4.3 0 .5.2.5.5 0 .2-.1.5-.5.6-.5.2-.9.5-.9 1V11h1v.1c0-.1.2-.3.4-.4Zm-1.2 1.4c-.4 0-.8.3-.8.8s.4.8.8.8c.5 0 .9-.4.9-.8s-.4-.8-.9-.8Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 5.5C4 4.12 5.12 3 6.5 3h11c1.38 0 2.5 1.12 2.5 2.5v10c0 1.38-1.12 2.5-2.5 2.5h-5.88l-3.14 3.14A1 1 0 0 1 7 20.17V18H6.5C5.12 18 4 16.88 4 15.5v-10Zm4.7 2.2L8 8.4l2 2 .7-.7L9.4 8.1l1.3-1.3-.7-.7-2 2Zm5.7 2.6c.7-.2 1.1-.9 1.1-1.6 0-.7-.5-1.5-1.5-1.5-.6 0-1.1.2-1.5.7l.7.7c.2-.3.4-.4.7-.4.3 0 .5.2.5.5 0 .2-.1.5-.5.6-.5.2-.9.5-.9 1V11h1v.1c0-.1.2-.3.4-.4Zm-1.2 1.4c-.4 0-.8.3-.8.8s.4.8.8.8c.5 0 .9-.4.9-.8s-.4-.8-.9-.8Z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  color: currentColor;
}

/* H,i Page Override (Light Theme) */
body.page-hi .translation-tooltip {
  background: transparent;
  color: #b27ce5;
}

body.page-hi .translation-tooltip:hover {
  background: transparent;
  color: #c78ef0;
}

body.page-hi .translation-tooltip::before {
  color: currentColor;
}

/* T,b: make icons visible on light cards */
body.page-tb .translation-tooltip {
  color: rgba(120, 66, 12, 0.7);
}

body.page-tb .translation-tooltip:hover {
  color: rgba(120, 66, 12, 0.9);
}

/* Hover State - subtle emphasis */
.translation-tooltip:hover {
  opacity: 0.9;
}

/* Tooltip Popover (pseudo-element) */
.translation-tooltip:hover::after,
.translation-tooltip:active::after,
.translation-tooltip:focus::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);

  width: max-content;
  max-width: 260px;
  /* Cap width for long translations */
  white-space: normal;
  /* Allow wrapping */

  background: rgba(12, 8, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 10px 14px;

  font-size: 0.85rem;
  color: #fff;
  line-height: 1.5;
  text-align: left;
  z-index: 1000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  /* Let clicks pass through if needed, but important for avoiding hover flicker */

  /* Fade in */
  animation: tooltip-fade 0.2s ease-out forwards;
}

@keyframes tooltip-fade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px);
  }
}

/* Mobile: Ensure it works on tap */
@media (hover: none) {

  .translation-tooltip:active::after,
  .translation-tooltip:focus::after {
    display: block;
  }
}

@media (max-width: 720px) {
  .translation-tooltip:hover::after,
  .translation-tooltip:active::after,
  .translation-tooltip:focus::after {
    left: 0;
    right: auto;
    transform: translateY(-6px) translateX(-6px);
    max-width: 220px;
  }
}

/* ── HEKATE HERO TITLE — slow breathing glow animation (home only) ── */
@keyframes hekate-breathe {
  0%, 100% {
    letter-spacing: 0.35rem;
    text-shadow: none;
  }
  50% {
    letter-spacing: 0.42rem;
    text-shadow:
      0 0 18px rgba(255, 255, 255, 0.15),
      0 0 48px rgba(200, 210, 255, 0.08);
  }
}

/* ── HERO STAGGERED ENTRANCE — fade up (home only) ── */
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* フォントロード前は非表示（全ページ共通） */
header.ai-hero .header-socials, header.fl-hero .header-socials,
header.ge-hero .header-socials, header.cr-hero .header-socials,
header.ai-hero h1, header.fl-hero h1,
header.ge-hero h1, header.cr-hero h1,
header.ai-hero .tagline, header.fl-hero .tagline,
header.ge-hero .tagline, header.cr-hero .tagline,
header.ai-hero .tabs, header.fl-hero .tabs,
header.ge-hero .tabs, header.cr-hero .tabs {
  opacity: 0;
}

/* fonts-loaded クラスが付いたらアニメーション開始（全ページ共通） */
html.fonts-loaded header.ai-hero .header-socials,
html.fonts-loaded header.fl-hero .header-socials,
html.fonts-loaded header.ge-hero .header-socials,
html.fonts-loaded header.cr-hero .header-socials {
  animation: hero-fade-up 0.4s ease both 0s !important;
}

/* モバイルではドロワーアニメーションをキャンセル（is-active で制御） */
@media (max-width: 768px) {
  html.fonts-loaded header.ai-hero .header-socials,
  html.fonts-loaded header.fl-hero .header-socials,
  html.fonts-loaded header.ge-hero .header-socials,
  html.fonts-loaded header.cr-hero .header-socials {
    animation: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
  }

  html.fonts-loaded header.ai-hero .header-socials.is-active,
  html.fonts-loaded header.fl-hero .header-socials.is-active,
  html.fonts-loaded header.ge-hero .header-socials.is-active,
  html.fonts-loaded header.cr-hero .header-socials.is-active {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
}

html.fonts-loaded header.ai-hero h1,
html.fonts-loaded header.fl-hero h1,
html.fonts-loaded header.ge-hero h1,
html.fonts-loaded header.cr-hero h1 {
  animation:
    hero-fade-up   0.4s ease         1      both     0.1s,
    hekate-breathe 7s   ease-in-out  infinite none   0.65s !important;
  transition: none !important;
}

html.fonts-loaded header.ai-hero .tagline,
html.fonts-loaded header.fl-hero .tagline,
html.fonts-loaded header.ge-hero .tagline,
html.fonts-loaded header.cr-hero .tagline {
  animation: hero-fade-up 0.4s ease both 0.2s !important;
}

html.fonts-loaded header.ai-hero .tabs,
html.fonts-loaded header.fl-hero .tabs,
html.fonts-loaded header.ge-hero .tabs,
html.fonts-loaded header.cr-hero .tabs {
  animation: hero-fade-up 0.4s ease both 0.3s !important;
}
