/* 0再生バンド｜Zero Views Band — official site */

:root {
  --paper: #fbf8f2;
  --paper-deep: #f3eee4;
  --ink: #2a2522;
  --ink-soft: #6d655e;
  --line: #d9d1c4;
  --pink: #ff2e93;
  --orange: #ff8a1f;
  --blue: #1f6bff;
  --night: #17131c;
  --accent: var(--pink);
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --latin: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: min(1120px, 100% - 48px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.svg-defs { position: absolute; width: 0; height: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; }
.skip:focus { top: 12px; }

/* ---------- shared pieces ---------- */

.en { font-family: var(--latin); letter-spacing: .04em; color: var(--ink-soft); }
.ph { display: inline-block; }   /* a phrase that must not break in the middle */
.wrap { width: var(--wrap); margin-inline: auto; }

.wash {
  position: absolute;
  pointer-events: none;
  filter: url(#wc-edge);
  opacity: .5;
  border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%;
  mix-blend-mode: multiply;
}
.wash--pink { background: radial-gradient(closest-side, rgba(255, 46, 147, .55), rgba(255, 46, 147, .22) 62%, rgba(255, 46, 147, .34) 88%, transparent); }
.wash--orange { background: radial-gradient(closest-side, rgba(255, 138, 31, .55), rgba(255, 138, 31, .2) 62%, rgba(255, 138, 31, .34) 88%, transparent); }
.wash--blue { background: radial-gradient(closest-side, rgba(31, 107, 255, .5), rgba(31, 107, 255, .18) 62%, rgba(31, 107, 255, .3) 88%, transparent); }
.wash--accent { background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 55%, transparent), color-mix(in srgb, var(--accent) 20%, transparent) 62%, color-mix(in srgb, var(--accent) 34%, transparent) 88%, transparent); }

/* Fixed positions of the decorative washes (were inline style="" attributes; moved here for the strict CSP).
   Two classes so they outrank plain .wash rules, as the inline styles did. */
.wash.wash--intro-a { width: 520px; height: 460px; right: -120px; top: 40px; }
.wash.wash--intro-b { width: 420px; height: 380px; left: -160px; bottom: -60px; }
.wash.wash--news { width: 440px; height: 400px; right: -140px; top: -40px; }
.wash.wash--ep01 { width: 480px; height: 420px; left: -170px; top: 60px; }

.heading { display: flex; align-items: baseline; gap: 18px; margin-bottom: 44px; }
.heading__en {
  font-family: var(--latin); font-weight: 300; font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: .22em; line-height: 1.2; padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.heading__jp { font-size: 13px; letter-spacing: .2em; color: var(--ink-soft); }

.tape { position: relative; }
.tape::before, .tape::after {
  content: ""; position: absolute; width: 74px; height: 22px; background: rgba(31, 107, 255, .72);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12); z-index: 2;
}
.tape::before { left: -22px; top: -8px; transform: rotate(-38deg); }
.tape::after { right: -22px; bottom: -8px; transform: rotate(-38deg); }

.stamp {
  display: inline-block; font-weight: 700; color: var(--pink); border: 3px solid var(--pink);
  border-radius: 8px; padding: 0 10px; line-height: 1.5; transform: rotate(-6deg); letter-spacing: .08em;
  background: rgba(255, 255, 255, .7);
}

.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 22px;
  border: 1px solid var(--ink); font-family: var(--latin); font-weight: 500; letter-spacing: .14em; font-size: 13px;
  text-decoration: none; background: rgba(255, 255, 255, .55); transition: background .25s, color .25s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--arrow::after { content: "→"; transition: transform .25s; }
.btn--arrow:hover::after { transform: translateX(4px); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Toast, MajesticToast's cat ----------
   He walks along the top edge of whatever his lane sits on, and runs while the ending
   theme plays. Clicking him plays or stops it. site.js moves him; the sprite strips are
   2x (walk 36 frames of 110x60, run 19 frames of 111x65 at display size). */
.cat-lane { position: absolute; left: 0; right: 0; bottom: 100%; height: 150px; overflow: hidden; pointer-events: none; z-index: 2; }
.toast {
  position: absolute; left: 0; bottom: -1px; width: 110px; height: 60px; pointer-events: auto; cursor: pointer;
  background: url("/assets/img/toast-walk.webp") 0 0 / 3960px 60px no-repeat;
  animation: toast-walk 1.5s steps(36) infinite; transform: translateX(-140px); will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.toast::after { content: ""; position: absolute; width: 0; height: 0; background: url("/assets/img/toast-run.webp"); }
.is-playing .toast { width: 111px; height: 65px; background-image: url("/assets/img/toast-run.webp"); background-size: 2109px 65px; animation: toast-run .792s steps(19) infinite; }
@keyframes toast-walk { to { background-position: -3960px 0; } }
@keyframes toast-run { to { background-position: -2109px 0; } }

/* The bait: a comic bubble with a wiggling note. It goes away once the song has been
   played (html.has-played), so he does not nag. The cat himself only walks: a hop on top
   of the walk cycle made his motion jerky (user, 2026-11-10). */
.toast__bubble {
  position: absolute; left: 50%; bottom: calc(100% + 14px); translate: -50% 0; white-space: nowrap;
  padding: 6px 13px 7px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; color: var(--ink);
  font-family: var(--gothic); font-weight: 700; font-size: 13.5px; line-height: 1.3; text-align: center;
  box-shadow: 0 6px 14px rgba(42, 37, 34, .2); transform-origin: 50% 120%; animation: bubble-bob 1.8s ease-in-out infinite;
}
.toast__bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; width: 10px; height: 10px; margin-left: -5px; background: #fff;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
}
.toast__bubble b { display: inline-block; margin-right: 5px; color: var(--pink); font-size: 17px; animation: note-wiggle .7s ease-in-out infinite; }
.toast__bubble small { display: block; font-family: var(--latin); font-weight: 500; font-size: 10.5px; letter-spacing: .08em; color: var(--pink); }
.has-played .toast__bubble, .is-playing .toast__bubble { display: none; }
@keyframes bubble-bob { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-4px); } }
@keyframes note-wiggle { 0%, 100% { transform: rotate(-16deg) scale(1); } 50% { transform: rotate(16deg) scale(1.25); } }

/* While the song plays, notes stream off him. */
.toast__notes { display: none; }
.is-playing .toast__notes { display: block; }
.toast__notes i {
  position: absolute; left: 34%; bottom: 82%; font-style: normal; font-weight: 700; font-size: 22px; color: var(--pink);
  opacity: 0; text-shadow: 0 0 6px #fff, 0 0 6px #fff; animation: note-rise 1.5s ease-out infinite;
}
.toast__notes i:nth-child(2) { left: 12%; color: var(--orange); animation-delay: .5s; }
.toast__notes i:nth-child(3) { left: 56%; color: var(--blue); animation-delay: 1s; }
@keyframes note-rise {
  0% { opacity: 0; transform: translate(0, 6px) rotate(-14deg) scale(.6); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(-34px, -58px) rotate(16deg) scale(1.15); }
}
.footer { position: relative; }

/* ---------- header ---------- */

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243, 238, 228, .93) var(--grain);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; gap: 28px; width: min(1320px, 100% - 40px); margin-inline: auto; min-height: 76px; }
.header__logo img { width: 150px; }
.nav { display: flex; gap: 30px; margin-right: auto; }
.nav a {
  font-family: var(--latin); letter-spacing: .2em; font-size: 14px; text-decoration: none; padding: 10px 0;
  position: relative; white-space: nowrap;
}
.nav a::before { content: ">"; margin-right: 6px; font-weight: 300; opacity: .6; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--pink); }
.nav__ch { display: none; }   /* the channels, listed in the phone menu only */
.header__side { display: flex; align-items: center; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 14px; background: var(--ink);
  color: var(--paper); font-family: var(--latin); font-size: 12px; letter-spacing: .1em; text-decoration: none; white-space: nowrap;
}
.chip:hover { background: var(--pink); }
.chip svg { width: 16px; height: 16px; fill: currentColor; }
.header--float { position: fixed; left: 0; right: 0; transform: translateY(-105%); transition: transform .4s ease; }
.header--float.is-on { transform: none; }

.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s;
}
.menu-btn span { top: 21px; }
.menu-btn span::before { left: 0; right: 0; top: -7px; }
.menu-btn span::after { left: 0; right: 0; top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero (top page) ---------- */

.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; }
.hero__stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 18px 0 0; }
/* Grow with the window height, but overflow sideways by 6 % at most: more than that
   trims the painted edge and pushes Kurumi's bow arm under the tagline. */
.hero__kv { flex: none; width: clamp(100%, calc((100svh - 176px) * 2.3337), 106%); }
.hero__kv img { width: 100%; }

.hero__copy {
  position: absolute; left: clamp(12px, 1.8vw, 40px); top: clamp(18px, 5svh, 56px); z-index: 3;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.hero__copy-jp {
  writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 500;
  font-size: clamp(24px, 2.7vw, 42px); letter-spacing: .12em; line-height: 1.25; white-space: nowrap;
}
.hero__copy-jp span {
  display: block; padding: 14px 6px 14px 8px; margin-left: 8px; border-left: 1px solid var(--ink);
  background: rgba(251, 248, 242, .9);
}
.hero__copy-jp span:last-child { margin-top: 1.6em; margin-left: 0; }
.hero__copy-en {
  font-family: var(--latin); font-size: clamp(10.5px, .8vw, 12.5px); letter-spacing: .1em; line-height: 1.7;
  color: var(--ink); padding: 8px 12px 8px 10px; border-left: 1px solid var(--ink); background: rgba(251, 248, 242, .9);
}

.hero__side {
  position: absolute; right: clamp(16px, 3vw, 54px); top: clamp(16px, 4svh, 44px); z-index: 3;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right;
}
.song-card {
  display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; text-align: left;
  background: rgba(23, 19, 28, .88); color: #fff; box-shadow: 0 6px 22px rgba(23, 19, 28, .25);
  transition: transform .25s;
}
.song-card:hover { transform: translateY(-2px); }
.song-card__art { position: relative; width: 64px; height: 64px; flex: none; }
.song-card__art img { width: 100%; height: 100%; object-fit: cover; }
.song-card__art::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid #fff; background: rgba(0, 0, 0, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center/20px no-repeat;
}
.is-playing .song-card__art::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 7h3v10H8zm5 0h3v10h-3z'/%3E%3C/svg%3E");
}
.song-card__label { font-family: var(--latin); font-size: 10.5px; letter-spacing: .2em; color: #ffb3d9; display: block; line-height: 1.4; }
.song-card__title { font-family: var(--mincho); font-size: 16px; line-height: 1.5; display: block; }
.song-card__by { font-family: var(--latin); font-size: 11px; letter-spacing: .08em; opacity: .8; display: block; line-height: 1.4; }
.hero__onair { font-family: var(--mincho); font-size: clamp(14px, 1.25vw, 17px); line-height: 1.5; text-align: right; }
.hero__onair b { display: inline-block; font-family: var(--latin); font-weight: 500; letter-spacing: .24em; font-size: .78em; color: var(--pink); margin-left: 12px; }
.hero__onair b small { margin-left: .6em; font-size: .86em; font-weight: 400; letter-spacing: .14em; opacity: .8; }
.hero__date { display: inline-block; }
.hero__date time { font-weight: 700; font-size: 1.32em; letter-spacing: .04em; margin-left: .1em; }

.hero__logo { position: absolute; left: clamp(8px, 2.4vw, 44px); bottom: -6px; z-index: 3; width: clamp(240px, 33vw, 540px); filter: drop-shadow(0 6px 14px rgba(42, 37, 34, .18)); }

.hero__stage > .cat-lane { bottom: 0; }
.hero__foot { position: relative; z-index: 4; }
.hero__band {
  display: flex; justify-content: flex-end; align-items: center; gap: 18px; padding: 10px clamp(16px, 3vw, 54px); min-height: 68px;
  background: linear-gradient(90deg, rgba(255, 46, 147, .16), rgba(255, 138, 31, .16) 50%, rgba(31, 107, 255, .16));
}
.mjt-banner {
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 18px 6px 8px; background: #fff; border: 1px solid var(--ink);
  text-decoration: none; line-height: 1.35; transition: transform .25s;
}
.mjt-banner:hover { transform: translateY(-2px); }
.mjt-banner img { width: 44px; height: 44px; border-radius: 50%; }
.mjt-banner small { display: block; font-family: var(--latin); font-size: 10px; letter-spacing: .22em; color: var(--ink-soft); }
.mjt-banner strong { font-family: var(--latin); font-weight: 500; font-size: 17px; letter-spacing: .06em; }
.mjt-banner--lab { padding: 6px 16px; }
.mjt-banner--lab span { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.mjt-banner--lab img { width: auto; height: 30px; border-radius: 0; }
.hero__news { display: flex; gap: 22px; align-items: baseline; padding: 9px clamp(16px, 3vw, 54px); background: #3a2f3d; color: #fff; font-size: 13px; }
.hero__news b { font-family: var(--latin); font-weight: 400; letter-spacing: .2em; color: #ffb3d9; }
.hero__news time { font-family: var(--latin); letter-spacing: .08em; opacity: .8; margin-right: 10px; }
.hero__news a { text-decoration: none; }
.hero__news a:hover { text-decoration: underline; }
.hero__nav { display: flex; align-items: center; gap: 30px; padding: 0 clamp(16px, 3vw, 54px); min-height: 54px; background: #0e0c11; color: #fff; }
.hero__nav .nav a:hover { color: #ff7fc0; }
.hero__nav .chip { background: #fff; color: #0e0c11; }
.hero__nav .chip:hover { background: var(--pink); color: #fff; }
.hero__nav .chip + .chip { margin-left: -20px; }
@media (max-width: 1240px) { .header__side .chip--mjt { display: none; } }

/* opening, first visit in a session */
.opening .hero__kv { animation: kv-in 2s cubic-bezier(.2, .7, .2, 1) both; }
.opening .hero__logo { animation: pop-in .9s cubic-bezier(.2, 1.3, .4, 1) 1.1s both; }
.opening .hero__copy span { animation: wipe-in 1.2s ease 1.6s both; }
.opening .hero__copy span:last-child { animation-delay: 2.1s; }
.opening .hero__copy-en { animation: fade-in 1s ease 2.9s both; }
.opening .hero__side { animation: fade-in 1s ease 2.4s both; }
.opening .hero__foot { animation: fade-in 1s ease 2s both; }
@keyframes kv-in { from { opacity: 0; transform: translateY(40px) scale(1.03); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pop-in { from { opacity: 0; transform: translate(-30px, 20px) rotate(-4deg) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes wipe-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
/* phone: the painting drifts left to Kurumi, right to Lila, and back to the middle */
@keyframes kv-pan {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(var(--pan)); }
  75% { transform: translateX(calc(var(--pan) * -1)); }
}

/* ---------- sections ---------- */

[id] { scroll-margin-top: 76px; }
.section { position: relative; padding: clamp(72px, 10vw, 136px) 0; overflow: clip; }
.section--deep { background: var(--paper-deep) var(--grain); }
.section--night { background: var(--night); color: #f4efe8; }
.section--night .heading__jp, .section--night .en { color: #b9aebf; }

.intro { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.intro__lead { font-family: var(--mincho); font-size: clamp(17px, 1.75vw, 23px); line-height: 2.25; letter-spacing: .05em; }
.intro__lead em { font-style: normal; background: linear-gradient(transparent 62%, rgba(255, 46, 147, .28) 62%); }
.intro__en { margin-top: 26px; font-size: 14.5px; line-height: 1.85; }
.intro__name { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.8; font-weight: 500; }
.intro__name > span { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-soft); }
.intro__more { margin-top: 34px; }

.crumbs { display: flex; gap: 8px; font-family: var(--latin); font-size: 11.5px; letter-spacing: .16em; color: rgba(255, 255, 255, .6); margin-bottom: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.painting { position: relative; }
.painting img {
  width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
}
/* Desktop: the painting is the right half of the introduction, as a key visual. It starts at
   the lead's first line and bleeds off the window's right edge (the section clips it); 3:2 so
   it stands taller than the 16:9 original without losing the girls or the calico cat on the
   right. The watercolour fade stays on the left, top and bottom. */
@media (min-width: 901px) {
  /* cqw = the section's width without the scrollbar (100vw would leave a gap where a scrollbar shows) */
  #introduction { container-type: inline-size; }
  .intro { align-items: start; }
  .intro .painting { margin: 6px calc((min(1120px, 100cqw - 48px) - 100cqw) / 2) 0 0; }
  .intro .painting img {
    aspect-ratio: 3 / 2; object-fit: cover; object-position: 88% 45%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 30%), linear-gradient(transparent, #000 16%, #000 84%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent, #000 30%), linear-gradient(transparent, #000 16%, #000 84%, transparent);
    mask-composite: intersect;
  }
}

.cast { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2.4vw, 32px); }
.cast__card { position: relative; display: block; text-decoration: none; padding: 26px 12px 20px; text-align: center; }
.cast__card > :not(.wash) { position: relative; z-index: 1; }
.cast__card .wash { inset: 6% -4% 16%; z-index: 0; opacity: .42; transition: opacity .4s, transform .6s; }
.cast__card:hover .wash { opacity: .7; transform: scale(1.06) rotate(3deg); }
.cast { --fig: clamp(250px, 30vw, 400px); }
.cast__fig { height: calc(var(--fig) * var(--tall, 1)); width: auto; margin: calc(var(--fig) * (1 - var(--tall, 1))) auto 0; filter: drop-shadow(0 10px 14px rgba(42, 37, 34, .14)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.cast__card:hover .cast__fig { transform: translateY(-8px); }
.cast__name { font-family: var(--mincho); font-size: clamp(18px, 2vw, 24px); letter-spacing: .14em; margin-top: 12px; line-height: 1.5; }
.cast__part { font-family: var(--latin); font-size: 12px; letter-spacing: .2em; color: var(--accent); filter: brightness(.82); }
.cast-more { margin-top: 40px; text-align: center; }

/* music */
.music { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(28px, 5vw, 76px); align-items: start; }
.jacket { position: relative; }
.jacket img { width: 100%; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.jacket .stamp { position: absolute; right: -14px; top: -16px; font-size: 15px; z-index: 3; background: #fff; }
.track__label { font-family: var(--latin); letter-spacing: .26em; font-size: 12px; color: #ff9fd0; }
.track__title { font-family: var(--mincho); font-weight: 500; font-size: clamp(30px, 4vw, 50px); letter-spacing: .08em; line-height: 1.4; margin-top: 4px; }
.track__sub { font-family: var(--latin); letter-spacing: .12em; font-size: 15px; color: #cfc5d6; }

.player { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.player__btn {
  width: 76px; height: 76px; border-radius: 50%; position: relative; flex: none;
  background: repeating-radial-gradient(circle, #1b181f 0 2px, #2b2731 2px 4px);
  box-shadow: 0 0 0 2px #fff inset, 0 8px 22px rgba(0, 0, 0, .5);
}
.player__btn::before { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: var(--pink); }
.player__btn::after {
  content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 7.5v9l7-4.5z'/%3E%3C/svg%3E") center/30px no-repeat;
}
.is-playing .player__btn { animation: spin 3.2s linear infinite; }
.is-playing .player__btn::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8.5 8h2.6v8H8.5zm4.4 0h2.6v8h-2.6z'/%3E%3C/svg%3E"); animation: spin 3.2s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.player__bar { position: relative; height: 22px; cursor: pointer; touch-action: none; }
.player__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: rgba(255, 255, 255, .25); }
.player__fill { position: absolute; left: 0; top: 10px; height: 2px; width: 0; background: linear-gradient(90deg, var(--pink), var(--orange)); }
.player__fill::after { content: ""; position: absolute; right: -6px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.player__meta { display: flex; justify-content: space-between; font-family: var(--latin); font-size: 12.5px; letter-spacing: .1em; color: #cfc5d6; }
.lyric { margin-top: 34px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .3); font-family: var(--mincho); font-size: 16.5px; line-height: 2.1; letter-spacing: .06em; }
.lyric .en { display: block; margin-top: 10px; font-size: 13.5px; line-height: 1.75; }
.track__credit { margin-top: 22px; font-size: 12.5px; color: #b9aebf; letter-spacing: .06em; }

.artist {
  position: relative; margin-top: clamp(56px, 8vw, 96px); padding: clamp(26px, 4vw, 48px); background: var(--paper) var(--grain); color: var(--ink);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center;
}
.artist__mark { width: clamp(110px, 15vw, 170px); border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.artist__kicker { font-family: var(--latin); letter-spacing: .26em; font-size: 12px; color: var(--pink); }
.artist__name { font-family: var(--latin); font-weight: 400; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: .04em; line-height: 1.3; }
.artist__lead { font-family: var(--mincho); font-size: clamp(16px, 1.6vw, 19px); line-height: 2; margin-top: 10px; }
.artist .artist__en { font-size: 13.5px; line-height: 1.8; margin-top: 8px; color: var(--ink-soft); }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.links .btn { font-size: 12px; padding: 6px 16px; min-height: 40px; }

/* news */
.news { border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.news time { font-family: var(--latin); letter-spacing: .12em; color: var(--pink); }
.news .en { display: block; font-size: 13.5px; }

/* subscribe: both channels, on every page above the footer */
.subscribe {
  position: relative; text-align: center; padding: clamp(64px, 8vw, 104px) 0 clamp(92px, 10vw, 128px);
  background: linear-gradient(90deg, rgba(255, 46, 147, .15), rgba(255, 138, 31, .15) 50%, rgba(31, 107, 255, .15)), var(--paper) var(--grain);
}
.subscribe__label { font-family: var(--latin); font-weight: 300; letter-spacing: .3em; font-size: 14px; }
.subscribe__lead { font-family: var(--mincho); font-weight: 500; font-size: clamp(22px, 3vw, 36px); letter-spacing: .08em; line-height: 1.7; margin-top: 10px; }
.subscribe__lead em { font-style: normal; background: linear-gradient(transparent 62%, rgba(255, 46, 147, .3) 62%); }
.subscribe__en { margin-top: 8px; font-size: 14.5px; }
.subscribe__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2.4vw, 28px); max-width: 900px; margin: 38px auto 0; }
.sub-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 22px 28px; text-decoration: none;
  background: rgba(255, 255, 255, .78); border: 1px solid var(--ink); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.sub-card:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 0 16px 34px rgba(42, 37, 34, .16); }
.sub-card__mark { height: 74px; width: auto; }
.sub-card__mark--round { border-radius: 50%; }
.sub-card__role { font-family: var(--latin); letter-spacing: .26em; font-size: 11.5px; color: var(--pink); margin-top: 6px; }
.sub-card__name { font-family: var(--latin); font-weight: 500; font-size: 20px; letter-spacing: .04em; line-height: 1.3; }
.sub-card__handle {
  font-family: var(--latin); font-weight: 500; font-size: 17px; letter-spacing: .04em; line-height: 1.3; color: var(--ink);
  padding: 3px 14px; margin: 2px 0 6px; border-radius: 999px; background: rgba(255, 46, 147, .12);
}
.sub-card__text { font-size: 14px; line-height: 1.75; text-wrap: balance; }
.sub-card__text .en { display: block; font-size: 12.5px; }
.sub-card__btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; min-height: 46px; padding: 8px 26px; border-radius: 999px;
  background: #e0211b; color: #fff; font-family: var(--latin); font-weight: 500; letter-spacing: .2em; font-size: 14px; transition: background .25s;
}
.sub-card__btn svg { width: 20px; height: 20px; fill: currentColor; }
.sub-card:hover .sub-card__btn { background: var(--ink); }

/* footer */
.footer { background: #0e0c11; color: #d9d2de; padding: 56px 0 34px; font-size: 13px; }
.footer__in { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: start; }
.footer__logo img { width: 210px; }
.staff { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; line-height: 1.8; }
.staff dt { color: #9d93a5; letter-spacing: .1em; }
.footer__links { display: flex; flex-direction: column; gap: 8px; font-family: var(--latin); letter-spacing: .14em; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: #ff7fc0; }
.footer__studio {
  display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 46px; padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .14); width: var(--wrap); margin-inline: auto;
}
.footer__studio span { font-size: 12px; letter-spacing: .2em; color: #9d93a5; text-align: center; }
.footer__studio i { display: block; font-style: normal; font-family: var(--latin); font-size: 10px; letter-spacing: .3em; margin-top: 2px; }
.footer__studio img { width: auto; height: 62px; opacity: .92; transition: opacity .25s; }
.footer__studio a:hover img { opacity: 1; }
.footer__contact { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; text-align: center; }
.footer__contact span { font-size: 12px; letter-spacing: .2em; color: #9d93a5; }
.footer__contact i { display: block; font-style: normal; font-family: var(--latin); font-size: 10px; letter-spacing: .3em; margin-top: 2px; }
.footer__contact a { font-family: var(--latin); font-size: 16px; letter-spacing: .1em; color: #fff; text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid rgba(255, 255, 255, .35); transition: color .25s, border-color .25s; }
.footer__contact a:hover { color: #ff7fc0; border-color: #ff7fc0; }
.copyright { margin-top: 30px; text-align: center; font-family: var(--latin); letter-spacing: .12em; font-size: 11.5px; color: #8d8494; }

/* ---------- inner pages ---------- */

.page-head { background: var(--night); color: #fff; padding: 34px 0; }
.page-head__in { display: flex; align-items: center; gap: 10px 44px; flex-wrap: wrap; }
.page-head .crumbs { flex-basis: 100%; margin-bottom: 4px; }
.page-head h1 { font-family: var(--latin); font-weight: 300; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .24em; line-height: 1.2; border-bottom: 1px solid #fff; padding-bottom: 5px; }
.subnav { display: flex; flex-wrap: wrap; }
.subnav a {
  font-size: 14px; letter-spacing: .14em; text-decoration: none; padding: 2px 20px; border-left: 1px solid rgba(255, 255, 255, .45); color: #ff9fd0; line-height: 1.6;
}
.subnav a:last-child { border-right: 1px solid rgba(255, 255, 255, .45); }
.subnav a:hover { color: #fff; }

/* story */
.story-intro { position: relative; min-height: min(86svh, 780px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--night); }
.story-intro__art { position: absolute; inset: 0; }
.story-intro__art img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; }
.story-intro__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 19, 28, .82) 0%, rgba(23, 19, 28, .55) 38%, rgba(23, 19, 28, 0) 66%); }
.story-intro__text { position: relative; padding: 70px 0; }
.story-intro__label { font-family: var(--latin); letter-spacing: .3em; font-size: 13px; }
.story-intro__catch { font-family: var(--mincho); font-weight: 500; font-size: clamp(34px, 5.4vw, 70px); line-height: 1.5; letter-spacing: .08em; margin: 14px 0 30px; }
.story-intro__body { font-family: var(--mincho); font-size: clamp(15px, 1.5vw, 18px); line-height: 2.3; letter-spacing: .08em; }
.story-intro__body + .en { color: rgba(255, 255, 255, .82); margin-top: 26px; max-width: 34em; font-size: 14px; line-height: 1.85; }

.episode { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(26px, 5vw, 68px); align-items: start; }
.episode__no { font-family: var(--latin); letter-spacing: .2em; font-size: 13px; color: var(--pink); }
.episode__title { font-family: var(--mincho); font-weight: 500; font-size: clamp(30px, 3.8vw, 46px); letter-spacing: .1em; line-height: 1.5; }
.episode__title-en { font-family: var(--latin); letter-spacing: .14em; color: var(--ink-soft); }
.episode__date { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--latin); line-height: 1.6; }
.episode__date time { display: block; font-size: 19px; font-weight: 500; letter-spacing: .14em; color: var(--pink); }
.episode__date span { font-family: var(--mincho); font-size: 14.5px; letter-spacing: .08em; }
.episode__date small { margin-left: 10px; font-family: var(--latin); font-size: 12px; letter-spacing: .14em; color: var(--ink-soft); }
.episode__text { font-size: 15.5px; line-height: 2.1; }
.episode__text .en { display: block; margin-top: 18px; font-size: 14px; line-height: 1.85; }
.stills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
.stills img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; box-shadow: 0 6px 18px rgba(42, 37, 34, .16); }
.stills figure:first-child { grid-column: 1 / -1; }
.next-list { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.next-list li { display: grid; grid-template-columns: 190px 1fr auto; gap: 18px; align-items: baseline; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.next-list b { font-family: var(--latin); font-weight: 400; letter-spacing: .2em; color: var(--pink); }
.next-list span { font-family: var(--mincho); font-size: 20px; letter-spacing: .1em; }
.next-list em { font-style: normal; font-family: var(--latin); letter-spacing: .14em; font-size: 13px; color: var(--ink-soft); }

/* character */
.character { position: relative; padding: clamp(60px, 8vw, 110px) 0; overflow: hidden; scroll-margin-top: 70px; border-bottom: 1px solid var(--line); }
.character:nth-of-type(even) { background: var(--paper-deep) var(--grain); }
.character__in { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(18px, 4vw, 56px); align-items: center; }
.character .wash { width: min(640px, 70vw); height: min(640px, 70vw); left: 4%; top: 6%; opacity: .5; }
.character__name {
  writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 400; font-size: clamp(60px, 10vw, 150px); line-height: 1; letter-spacing: .06em;
  color: var(--accent); filter: brightness(.86); white-space: nowrap;
}
.character__name small { font-family: var(--latin); font-weight: 300; font-size: .16em; letter-spacing: .4em; color: var(--ink); margin-top: 1.2em; }
.character__name--long { font-size: clamp(40px, 6.2vw, 92px); }
.character__fig { height: calc(clamp(380px, 52vw, 640px) * var(--tall, 1)); width: auto; margin: 0 auto; filter: drop-shadow(0 14px 18px rgba(42, 37, 34, .16)); }
.character__part { font-family: var(--latin); letter-spacing: .24em; font-size: 14px; color: var(--accent); filter: brightness(.8); }
.character__data { font-family: var(--latin); letter-spacing: .12em; font-size: 13px; color: var(--ink-soft); margin: 2px 0 20px; }
.character__text { font-size: 15.5px; line-height: 2.1; }
.character__text::first-letter { font-family: var(--mincho); font-size: 3.1em; float: left; line-height: 1; padding: 6px 10px 0 0; color: var(--accent); }
.character__en { font-size: 14px; line-height: 1.85; margin-top: 14px; }
.cat { margin-top: 30px; display: grid; grid-template-columns: 1fr; gap: 12px; }
.cat img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; box-shadow: 0 8px 22px rgba(42, 37, 34, .18); }
.cat figcaption { font-size: 13.5px; line-height: 1.7; }
.cat figcaption b { font-family: var(--mincho); font-size: 17px; letter-spacing: .12em; margin-right: 10px; }
.cat figcaption .en { margin-left: 4px; }

/* --tall = her real height against the tallest (Violet, 162 cm), so the four stand to scale. */
.c-kurumi { --accent: #f08a1c; --tall: .975; }
.c-nina { --accent: #a3243f; --tall: .975; }
.c-lila { --accent: #2f86d9; --tall: .914; }
.c-violet { --accent: #8b6fd6; --tall: 1; }

/* ---------- phone ---------- */

@media (max-width: 900px) {
  .menu-btn { display: block; margin-left: auto; }
  .header__in { min-height: 60px; gap: 12px; }
  .header__logo img { width: 116px; }
  /* The menu drops down from the header and fades in. It is never parked off to the side:
     that widened the page and let it scroll sideways. */
  .header .nav {
    position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - 60px); height: calc(100dvh - 60px);
    flex-direction: column; gap: 0; padding: 14px 28px 40px; margin: 0; overflow-y: auto;
    background: var(--paper) var(--grain); z-index: 39;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s, visibility 0s .3s;
  }
  .header .nav a { font-size: 19px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .menu-open .header .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s; }
  .menu-open body { overflow: hidden; }
  .header .nav a.nav__ch {
    display: flex; align-items: baseline; gap: 10px; margin-top: 14px; padding: 13px 16px; border: 1px solid var(--ink);
    background: rgba(255, 255, 255, .6); font-size: 13px; letter-spacing: .16em;
  }
  .header .nav a.nav__ch + .nav__ch { margin-top: 10px; }
  .header .nav a.nav__ch::before { content: "▶"; margin: 0; font-size: 11px; color: #e0211b; opacity: 1; }
  .nav__ch small { font-size: 15px; letter-spacing: .04em; font-weight: 500; }
  .header__side button.chip { color: var(--pink); font-size: 22px; }
  /* One YouTube mark beside the menu button, no box around it. */
  .header__side { margin-left: auto; gap: 0; }
  .header__side .chip span, .header__side .chip--mjt { display: none; }
  .header__side .chip { width: 44px; height: 44px; min-height: 0; padding: 0; justify-content: center; background: none; color: #e0211b; }
  .header__side .chip svg { width: 27px; height: 27px; }
  .menu-btn { margin-left: 0; }
  .header--float { transform: none; }
  .heading { flex-direction: column; align-items: center; gap: 8px; margin-bottom: 30px; text-align: center; }

  /* Hero. The first screen is: header, the painting, the logo, the cat's lane, the song bar.
     The painting is far wider than a phone, so it is shown at full height and drifts
     slowly from Kurumi to Lila and back; with motion off it rests on the middle. */
  .hero { min-height: 0; display: block; padding-top: 60px; }
  .hero__stage {
    --kv-h: clamp(340px, calc(100svh - 194px - 17.2vw), 640px);   /* 194px + 17.2vw = header, logo below the painting, lane, bar */
    --kv-w: calc(var(--kv-h) * 2.3337);
    --pan: min(calc(var(--kv-w) * .28), calc((var(--kv-w) - 100vw) / 2 - 5vw));
    display: grid; grid-template-columns: 100%; grid-template-rows: var(--kv-h) auto 76px; padding: 0;
  }
  .hero__kv {
    grid-area: 1 / 1; display: block; width: 100%; height: var(--kv-h); overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 80%, transparent 100%); mask-image: linear-gradient(#000 80%, transparent 100%);
  }
  .hero__kv img {
    /* At rest the painting sits 5vw right of centre, so Nina's face clears the tagline. */
    width: var(--kv-w); max-width: none; height: 100%; margin-left: calc((100vw - var(--kv-w)) / 2 + 5vw);
    animation: kv-pan 80s ease-in-out 3s infinite;
  }
  .hero__copy { position: static; grid-area: 1 / 1; align-self: start; justify-self: start; margin: 14px 0 0 10px; gap: 8px; }
  .hero__copy-jp { font-size: clamp(18px, 5.4vw, 26px); }
  .hero__copy-jp span { padding: 11px 5px 11px 6px; margin-left: 6px; }
  .hero__copy-en { font-size: 10.5px; padding: 6px 10px 6px 8px; }
  .hero__logo { position: relative; grid-area: 2 / 1; left: auto; bottom: auto; justify-self: center; width: min(80vw, 400px); margin: -13% 0 58px; }
  .hero__stage > .cat-lane { bottom: 76px; z-index: 4; }
  /* He walks along the top of the song bar, right under the logo: his bubble is cut down
     to the wiggling note, so it does not cover the title. The footer cat keeps the words. */
  .hero .toast__bubble { padding: 3px 9px 4px; bottom: calc(100% + 8px); font-size: 0; border-radius: 50%; }
  .hero .toast__bubble b { margin: 0; font-size: 17px; }
  .hero .toast__bubble small { display: none; }
  .hero__side { position: static; grid-area: 3 / 1; display: block; }
  .song-card { width: 100%; height: 76px; padding: 0 18px 0 10px; background: var(--night); box-shadow: none; }
  .song-card:hover { transform: none; }
  .song-card__art { width: 56px; height: 56px; }
  .song-card::after {
    content: "PLAY"; margin-left: auto; padding: 7px 15px 7px 17px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px;
    font-family: var(--latin); font-size: 12px; letter-spacing: .2em; line-height: 1.4;
  }
  .is-playing .song-card::after { content: "PAUSE"; background: var(--pink); border-color: var(--pink); }
  .hero__band {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; justify-content: stretch;
    padding: 18px max(16px, calc(50% - 270px)) 20px;
  }
  .hero__onair { grid-column: 1 / -1; text-align: center; font-size: 14.5px; }
  .hero__onair b { display: block; margin: 3px 0 0; }
  .mjt-banner { justify-content: center; gap: 8px; min-height: 60px; padding: 6px 8px; }
  .mjt-banner img { width: 38px; height: 38px; }
  .mjt-banner small { font-size: 9px; letter-spacing: .2em; }
  .mjt-banner strong { font-size: 15px; letter-spacing: .03em; }
  .mjt-banner--lab { padding: 6px 8px; }
  .mjt-banner--lab span { align-items: center; }
  .mjt-banner--lab img { width: auto; height: 27px; }
  .hero__nav { display: none; }
  .hero__news { flex-direction: column; gap: 0; padding-block: 11px; font-size: 12.5px; line-height: 1.7; }

  .intro, .music, .episode, .artist, .subscribe__grid { grid-template-columns: 1fr; }
  .painting { order: -1; }
  /* One sentence per line: the type shrinks with the screen instead of breaking mid-sentence. */
  .intro__lead { font-size: min(4.05vw, 21px); letter-spacing: .03em; line-height: 2.2; }
  /* One column, so the copy is centred under the painting like a title page. */
  .intro { text-align: center; }
  .intro__en { max-width: 36em; margin-inline: auto; }
  .cast { grid-template-columns: repeat(2, 1fr); gap: 4px 10px; --fig: clamp(270px, 46vw, 340px); }
  .cast__card { padding: 22px 4px 16px; }
  .cast__name { font-size: 18px; letter-spacing: .08em; }
  .cast__part { font-size: 11px; letter-spacing: .14em; }
  .jacket { max-width: 320px; margin-inline: auto; }
  .artist { justify-items: center; }
  .artist__kicker, .artist__name { text-align: center; }
  .artist__lead br { display: none; }
  .artist__lead { font-size: 15.5px; line-height: 2; }
  .links { display: grid; grid-template-columns: 1fr 1fr; }
  .links .btn { justify-content: center; padding-inline: 8px; }
  .links .btn:first-child { grid-column: 1 / -1; }
  .subscribe { padding-bottom: 150px; }
  .subscribe__lead { font-size: clamp(21px, 5.6vw, 32px); }
  .sub-card { padding: 26px 16px 24px; }
  .sub-card__name { font-size: 18px; }
  /* Footer: one centred column (logo, credits, links, studio), so nothing hangs off to one side. */
  .footer__in { grid-template-columns: 1fr; gap: 26px; justify-items: center; text-align: center; }
  .footer__logo img { width: 220px; }
  .staff { display: block; }
  .staff dt { margin-top: 12px; font-size: 11.5px; line-height: 1.6; }
  .staff dt:first-child { margin-top: 0; }
  .footer__links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px 24px; max-width: 30em; }
  .footer__studio { margin-top: 34px; padding-top: 30px; }
  .news li, .next-list li { grid-template-columns: 1fr; gap: 2px; }
  .next-list span { font-size: 18px; letter-spacing: .06em; }   /* 第2話「ラストオーダーの歌姫」 on one line at 360 px */
  .story-intro__art::after { background: linear-gradient(180deg, rgba(23, 19, 28, .35), rgba(23, 19, 28, .86) 58%); }
  .story-intro__art img { object-position: 70% 20%; }
  .story-intro { align-items: flex-end; }
  .character__in { grid-template-columns: auto 1fr; }
  .character__body { grid-column: 1 / -1; }
  .character__fig { height: calc(360px * var(--tall, 1)); }
  .character__name { font-size: 68px; }
  .character__name--long { font-size: 44px; }
  .subnav a { padding: 2px 12px; font-size: 13px; }
}

/* Phone only: the song title sits centred under the centred jacket. */
@media (max-width: 619px) {
  .track__label, .track__title, .track__sub { text-align: center; }
}

/* ---------- small tablet, large phone on its side: the phone layout with side-by-side blocks ---------- */

@media (min-width: 620px) and (max-width: 900px) {
  .cast { grid-template-columns: repeat(4, 1fr); --fig: clamp(300px, 46vw, 380px); }
  .cast__name { font-size: 17px; letter-spacing: .06em; }
  .music { grid-template-columns: minmax(0, 240px) 1fr; }
  .jacket { max-width: none; }
  .artist { grid-template-columns: auto 1fr; justify-items: start; }
  .artist__kicker, .artist__name { text-align: left; }
  .subscribe__grid { grid-template-columns: repeat(2, 1fr); }
  /* credits on a centre axis: roles right-aligned, names left-aligned */
  .staff { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 4px 18px; }
  .staff dt { margin: 0; font-size: 13px; line-height: 1.8; text-align: right; }
  .staff dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 404 page (moved from an inline <style> in 404.html for the strict CSP) */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px 24px; }
.lost img { width: min(420px, 80vw); margin: 0 auto 30px; }
.lost h1 { font-family: var(--mincho); font-weight: 500; font-size: clamp(24px, 4vw, 36px); letter-spacing: .1em; }
.lost p { margin: 12px 0 30px; }
