/* ==========================================================================
   OBJECT-268 / anime night skin
   Site-wide reskin: midnight glass, ice + sakura accents, manga texture.
   ========================================================================== */

:root {
  --bg: #070b16;
  --bg-soft: #0b1122;
  --surface: #10182b;
  --surface-2: #172139;
  --cream: #f7f2ff;
  --text: #f7f2ff;
  --muted: #b4c0dc;
  --dim: #7e8aa9;
  --line: rgba(183, 207, 255, 0.16);
  --line-strong: rgba(183, 207, 255, 0.34);
  --acid: #9ef7ff;
  --acid-deep: #65d8e6;
  --red: #ff8fb8;
  --red-deep: #c75f8f;
  --orange: #ffc46b;
  --green: #b9ffd1;
  --paper: #111a2d;
  --paper-ink: #121426;
  --paper-muted: #6c6a86;
  --paper-line: rgba(18, 20, 38, 0.14);
  --paper-line-strong: rgba(18, 20, 38, 0.32);
}

html {
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
}

::selection {
  background: var(--red);
  color: #08101f;
}

/* Header ------------------------------------------------------------------ */
.site-header {
  border-bottom-color: var(--line);
  background: rgba(8, 12, 26, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
  backdrop-filter: blur(24px) saturate(1.15);
}

.brand-mark {
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9ddff 0%, #ffb3d0 58%, #c5a7ff 100%);
  color: #111426;
  box-shadow: 0 0 28px rgba(255, 143, 184, 0.2);
}

.brand-en {
  color: var(--muted);
}

.header-note {
  border-left-color: var(--line);
  color: var(--muted);
}

.header-note span {
  color: var(--acid);
}

.site-nav-list a {
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  color: var(--muted);
}

.site-nav-list a::after {
  display: none;
}

.site-nav-list a:hover,
.site-nav-list a:focus-visible {
  background: rgba(158, 247, 255, 0.08);
  color: var(--cream);
}

.site-nav-list a[aria-current="page"] {
  background: linear-gradient(135deg, var(--acid), var(--green));
  color: #08101f;
}

.site-nav-cta {
  border-color: transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), #c5a7ff);
  color: #08101f;
  box-shadow: 0 0 30px rgba(255, 143, 184, 0.18);
}

.site-nav-cta .cta-dot {
  background: #08101f;
}

.nav-toggle {
  border-radius: 999px;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

/* Shared type and controls ------------------------------------------------ */
.eyebrow > span:first-child {
  border-color: var(--line-strong);
  border-radius: 999px;
  background: rgba(158, 247, 255, 0.08);
  color: var(--acid);
}

.eyebrow {
  color: var(--muted);
}

.btn {
  border-radius: 999px;
  border-color: var(--line-strong);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn--acid {
  border-color: transparent;
  background: linear-gradient(135deg, var(--acid), var(--green));
  color: #08101f;
}

.btn--red {
  border-color: transparent;
  background: linear-gradient(135deg, var(--red), #c5a7ff);
  color: #08101f;
}

.btn:hover,
.btn:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.text-link {
  color: var(--acid);
}

/* Hero -------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 143, 184, 0.1), transparent 26rem),
    radial-gradient(circle at 18% 8%, rgba(158, 247, 255, 0.08), transparent 22rem);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  border: 1px solid rgba(255, 143, 184, 0.24);
  border-radius: 999px;
  background: rgba(255, 143, 184, 0.06);
}

.hero-title,
.page-title {
  text-shadow: 0 0 50px rgba(158, 247, 255, 0.12);
}

.hero-mark,
.page-title .accent {
  background: linear-gradient(135deg, var(--acid) 0%, #c5a7ff 48%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-dot {
  color: var(--red);
}

.hero-lede {
  color: var(--muted);
}

.hero-selfintro {
  position: relative;
  max-width: 34rem;
  margin: 1.15rem 0 0;
  padding: 0.7rem 0 0.7rem 1rem;
  border-left: 2px solid var(--red);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.8;
}

.hero-selfintro-kicker {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
}

.hero-selfintro p {
  margin: 0;
}

.hero-selfintro::after {
  position: absolute;
  right: 0.4rem;
  bottom: 0.3rem;
  color: var(--red);
  content: "✦";
  font-size: 0.72rem;
  opacity: 0.8;
}

.hero-meta {
  color: var(--dim);
}

.hero-stamp {
  border: 1px solid rgba(255, 143, 184, 0.3);
  border-radius: 999px;
  background: rgba(255, 143, 184, 0.12);
  color: #ffd1df;
}

.live-console {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 1.4rem;
  background: linear-gradient(155deg, rgba(18, 27, 48, 0.9), rgba(8, 13, 26, 0.92));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(158, 247, 255, 0.05) inset;
}

.console-top,
.console-row {
  border-color: var(--line);
}

.console-row:hover {
  background: rgba(158, 247, 255, 0.055);
}

.console-title {
  color: var(--cream);
}

.console-score {
  color: var(--red);
}

.console-meta,
.console-games,
.console-foot {
  color: var(--muted);
}

.console-foot {
  border-top-color: var(--line);
}

/* Ticker ------------------------------------------------------------------ */
.ticker {
  border-block: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(90deg, var(--acid) 0%, #c5a7ff 48%, var(--red) 100%);
  color: #08101f;
}

.tick-label {
  border-color: rgba(8, 16, 31, 0.6);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #08101f;
}

.tick-dot {
  color: #08101f;
}

/* Paper sections become midnight glass ----------------------------------- */
.section--paper {
  color: var(--cream);
  background:
    radial-gradient(rgba(183, 207, 255, 0.06) 0.65px, transparent 0.85px) 0 0 / 8px 8px,
    linear-gradient(135deg, rgba(20, 29, 52, 0.9), rgba(8, 13, 27, 0.86));
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  backdrop-filter: blur(18px) saturate(1.05);
  border-block: 1px solid var(--line);
  --text: var(--cream);
  --muted: #b7c3de;
  --dim: #8491ae;
  --line: rgba(183, 207, 255, 0.16);
  --line-strong: rgba(183, 207, 255, 0.34);
  --paper-ink: var(--cream);
  --paper-muted: #b7c3de;
  --paper-line: rgba(183, 207, 255, 0.16);
  --paper-line-strong: rgba(183, 207, 255, 0.34);
  --focus: var(--acid);
}

.section--paper .eyebrow {
  color: var(--muted);
}

.section--paper .eyebrow > span:first-child {
  color: var(--cream);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.section--paper .text-link {
  color: var(--acid);
}

.section--paper .text-link:hover {
  color: var(--red);
}

.section--acid {
  color: #151024;
  background:
    radial-gradient(rgba(21, 16, 36, 0.12) 0.6px, transparent 0.85px) 0 0 / 8px 8px,
    linear-gradient(135deg, #ffc8de 0%, #d6c6ff 48%, #b8f3ff 100%);
  --text: #151024;
  --muted: #5e5574;
  --dim: #766d8d;
  --line: rgba(21, 16, 36, 0.16);
  --line-strong: rgba(21, 16, 36, 0.34);
}

.section--acid .eyebrow > span:first-child {
  border-color: rgba(21, 16, 36, 0.28);
  background: rgba(255, 255, 255, 0.26);
  color: #151024;
}

.section--acid .text-link {
  color: #151024;
}

.aside-card {
  border: 1px solid var(--line-strong);
  border-radius: 1.25rem;
  background: rgba(8, 13, 26, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  backdrop-filter: blur(18px) saturate(1.05);
}

.about-main {
  background: linear-gradient(180deg, rgba(7, 11, 22, 0.22), rgba(7, 11, 22, 0.68));
}

.now-card {
  color: var(--cream);
  background: linear-gradient(155deg, rgba(18, 27, 48, 0.82), rgba(8, 13, 27, 0.84));
  --text: var(--cream);
  --muted: #b7c3de;
  --dim: #8491ae;
  --line: rgba(183, 207, 255, 0.16);
  --line-strong: rgba(183, 207, 255, 0.34);
  --paper-ink: var(--cream);
}

.now-card .now-list li {
  border-color: var(--line);
}

.now-card .now-label,
.now-card .now-value {
  color: var(--muted);
}

.now-card .now-value {
  color: var(--cream);
}

/* Live/results cards ------------------------------------------------------ */
.live-panel,
.results-board .sport-panel {
  border-radius: 1.25rem;
}

.live-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(10, 16, 31, 0.55);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.live-panel-head {
  border-bottom-color: var(--line);
}

.live-panel-foot {
  border-top-color: var(--line);
  color: var(--dim);
}

.live-status {
  border-color: var(--line-strong);
  border-radius: 999px;
  background: rgba(158, 247, 255, 0.07);
}

.live-match {
  border-color: var(--line);
}

.live-match:hover {
  background: rgba(158, 247, 255, 0.055);
}

.live-match.is-live {
  background: rgba(255, 143, 184, 0.075);
  box-shadow: inset 2px 0 0 var(--red);
}

.live-match.is-live .live-match-side strong,
.live-match.is-live .live-match-time small {
  color: var(--red);
}

.live-group-label.is-live > span:first-child {
  color: var(--red);
}

.live-bwf-button {
  border-radius: 999px;
}

/* Light result panels on the dark board */
.sport-panel {
  color: #17152a;
  background: linear-gradient(155deg, #fbf8ff, #f0ecff);
  border: 1px solid rgba(197, 167, 255, 0.45);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  --paper-ink: #17152a;
  --paper-muted: #6c6687;
  --paper-line: rgba(23, 21, 42, 0.13);
  --paper-line-strong: rgba(23, 21, 42, 0.3);
}

.sport-panel .panel-head,
.sport-panel .match-card,
.sport-panel .next-card,
.sport-panel .panel-footer-links {
  border-color: rgba(23, 21, 42, 0.13);
}

.sport-panel .panel-event,
.sport-panel .match-team,
.sport-panel .match-score,
.sport-panel .next-time {
  color: #17152a;
}

.sport-panel .match-meta,
.sport-panel .panel-sport,
.sport-panel .next-copy {
  color: #6c6687;
}

.results-toolbar {
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.filter-label,
.filter-count {
  color: var(--muted);
}

.filter-chip {
  border-color: var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.filter-chip:hover {
  background: rgba(158, 247, 255, 0.08);
}

.filter-chip[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(135deg, var(--acid), var(--green));
  color: #08101f;
}

.board-note,
.archive-summary,
.archive-summary-title {
  color: var(--muted);
}

.archive-disclosure {
  border-top-color: var(--line);
  background: rgba(9, 14, 28, 0.58);
}

.archive-summary {
  padding-block: 1rem;
}

.archive-summary-title {
  color: var(--cream);
}

.archive-summary-plus {
  color: var(--red);
}

.archive-disclosure .sources-section {
  background: rgba(7, 11, 22, 0.82);
}

.source-item {
  border-radius: 1rem;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.source-item:hover {
  background: rgba(158, 247, 255, 0.055);
}

/* Music ------------------------------------------------------------------- */
.player-section,
.local-music-section,
.scenes-section {
  border-color: var(--line);
}

.now-card,
.tracklist-panel,
.local-player,
.local-dropzone,
.scene-card {
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: linear-gradient(155deg, rgba(18, 27, 48, 0.78), rgba(8, 13, 27, 0.8));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.now-cover {
  border-radius: 1rem;
}

.tracklist-panel {
  overflow: hidden;
}

.track-row {
  border-color: var(--line);
  color: var(--cream);
}

.track-row:hover {
  background: rgba(158, 247, 255, 0.055);
}

.track-row.is-current {
  background: linear-gradient(90deg, rgba(255, 143, 184, 0.14), transparent 78%);
}

.track-row.is-current::before {
  background: var(--red);
}

.track-no,
.track-list-note,
.track-why {
  color: var(--dim);
}

.track-name {
  color: var(--cream);
}

.track-load,
.track-row.is-current .track-load {
  color: var(--acid);
}

.scene-card {
  overflow: hidden;
}

.scene-card:hover {
  border-color: rgba(255, 143, 184, 0.45);
  transform: translateY(-3px);
}

.music-outro {
  background: linear-gradient(135deg, #ff9ec2 0%, #c5a7ff 48%, #8ce9ff 100%);
  color: #111426;
}

.music-outro h2,
.music-outro p,
.music-outro .eyebrow {
  color: #111426;
}

.music-outro .eyebrow > span:first-child {
  border-color: rgba(17, 20, 38, 0.4);
  color: #111426;
}

/* About ------------------------------------------------------------------- */
.now-card,
.interest-card,
.gear,
.about-contact {
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: linear-gradient(155deg, rgba(18, 27, 48, 0.7), rgba(8, 13, 27, 0.74));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.gear-icon {
  border-radius: 1rem;
  background: rgba(158, 247, 255, 0.08);
}

.about-signature {
  color: var(--red);
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  border-top-color: var(--line);
  background: rgba(6, 10, 20, 0.94);
}

.footer-bottom {
  border-top-color: var(--line);
}

.footer-col-title {
  color: var(--muted);
}

/* Anime details ----------------------------------------------------------- */
.anime-rail {
  position: fixed;
  z-index: 3;
  top: 50%;
  right: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(247, 242, 255, 0.34);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  pointer-events: none;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

.anime-rail span:first-child {
  color: var(--acid);
}

.anime-rail::before {
  width: 1px;
  height: 2.4rem;
  background: var(--red);
  content: "";
}

.anime-petals {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.anime-petals span {
  position: absolute;
  top: -8%;
  color: rgba(255, 171, 207, 0.68);
  font-family: var(--font-serif-en);
  font-size: 1rem;
  line-height: 1;
  text-shadow: 0 0 14px rgba(255, 143, 184, 0.45);
  animation: petal-fall 14s linear infinite;
}

.anime-petals span:nth-child(1) { left: 8%; animation-delay: -2s; animation-duration: 16s; }
.anime-petals span:nth-child(2) { left: 22%; animation-delay: -9s; animation-duration: 19s; font-size: 0.7rem; }
.anime-petals span:nth-child(3) { left: 37%; animation-delay: -5s; animation-duration: 13s; }
.anime-petals span:nth-child(4) { left: 51%; animation-delay: -12s; animation-duration: 21s; font-size: 0.75rem; }
.anime-petals span:nth-child(5) { left: 66%; animation-delay: -1s; animation-duration: 17s; }
.anime-petals span:nth-child(6) { left: 78%; animation-delay: -8s; animation-duration: 15s; font-size: 0.7rem; }
.anime-petals span:nth-child(7) { left: 89%; animation-delay: -14s; animation-duration: 20s; }
.anime-petals span:nth-child(8) { left: 96%; animation-delay: -4s; animation-duration: 12s; font-size: 0.65rem; }

/* A small die-cut character accent: decoration only, no profile copy. */
.velina-cameo {
  position: relative;
  z-index: 5;
  display: grid;
  width: 8.5rem;
  justify-items: center;
  gap: 0.45rem;
  transform: rotate(-6deg);
}

.velina-cameo::before {
  position: absolute;
  z-index: 2;
  top: -0.55rem;
  left: 50%;
  width: 3.4rem;
  height: 0.85rem;
  background: rgba(158, 247, 255, 0.68);
  content: "";
  transform: translateX(-50%) rotate(-3deg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.velina-cameo img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--cream);
  border-radius: 50%;
  background: #0b1020;
  box-shadow: 0 0 0 5px var(--red), 0 18px 42px rgba(0, 0, 0, 0.38);
}

.velina-cameo .velina-name {
  display: inline-block;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--cream);
  color: #121426;
  font-family: var(--font-mono);
  font-size: 0.44rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 3px 3px 0 var(--red);
}

.hero-visual {
  position: relative;
}

.hero .shell {
  position: relative;
  z-index: 2;
}

/* Full-body Velina is part of the hero atmosphere, not a separate block. */
.hero-velina {
  position: absolute;
  z-index: 0;
  top: 0;
  right: -1rem;
  display: flex;
  width: min(42%, 44rem);
  height: 100%;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: visible;
  opacity: 0.72;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
}

.hero-velina img {
  width: auto;
  height: 105%;
  max-width: none;
  object-fit: contain;
  object-position: bottom right;
  filter: saturate(0.82) brightness(0.88) contrast(1.03) drop-shadow(0 24px 50px rgba(0, 0, 0, 0.35));
}

@media (max-width: 1100px) {
  .hero-velina {
    display: none;
  }
}

.velina-cameo--hero {
  position: absolute;
  bottom: -2.6rem;
  left: -10rem;
}

.velina-cameo--footer {
  width: 5.2rem;
  justify-self: start;
  margin-top: 1rem;
  transform: rotate(-4deg);
}

.velina-cameo--footer .velina-name {
  font-size: 0.36rem;
  padding: 0.22rem 0.4rem;
}

/* Decorative image wall: full-body standee + assorted official visuals. */
.anime-gallery {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(rgba(183, 207, 255, 0.05) 0.65px, transparent 0.85px) 0 0 / 8px 8px,
    rgba(6, 10, 20, 0.72);
}

.anime-gallery::before {
  position: absolute;
  top: -10rem;
  right: -8rem;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 143, 184, 0.12), transparent 65%);
  content: "";
  pointer-events: none;
}

.gallery-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.2rem;
}

.gallery-head h2 {
  margin: 0.5rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.gallery-head h2 span {
  background: linear-gradient(135deg, var(--acid), #c5a7ff 55%, var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-serif-en);
  font-style: italic;
}

.gallery-note {
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.8;
}

.gallery-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  margin-top: 1.7rem;
  padding: 1.3rem 0.3rem 2.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 143, 184, 0.5) transparent;
}

.gallery-card {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  padding: 0.55rem 0.55rem 1.65rem;
  border: 1px solid rgba(183, 207, 255, 0.35);
  border-radius: 4px;
  background: var(--cream);
  color: #121426;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
  scroll-snap-align: start;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-card::before {
  position: absolute;
  z-index: 2;
  top: -0.5rem;
  left: 50%;
  width: 3.4rem;
  height: 0.8rem;
  background: rgba(158, 247, 255, 0.7);
  content: "";
  transform: translateX(-50%) rotate(-2deg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(18, 20, 38, 0.12);
  background: #0b1020;
  object-fit: cover;
}

.gallery-card figcaption {
  position: absolute;
  right: 0.6rem;
  bottom: 0.45rem;
  left: 0.6rem;
  overflow: hidden;
  color: #49445e;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-card--velina {
  width: 18rem;
  transform: rotate(-3deg);
}

.gallery-card--portrait {
  width: 12.6rem;
  transform: rotate(1.5deg);
}

.gallery-card--portrait img {
  height: 15.5rem;
}

.gallery-card--card {
  width: 13.2rem;
  transform: rotate(-1.5deg);
}

.gallery-card--card img {
  height: 15.5rem;
}

.gallery-card--wide {
  width: 18rem;
  transform: rotate(2deg);
}

.gallery-card--wide img {
  height: 11rem;
}

.gallery-card:hover,
.gallery-card:focus-within {
  z-index: 3;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
  transform: rotate(0deg) translateY(-5px);
}

@media (max-width: 680px) {
  .gallery-head {
    display: block;
  }

  .gallery-note {
    margin-top: 0.8rem;
  }

  .gallery-card--velina {
    width: 15rem;
  }

  .gallery-card--portrait,
  .gallery-card--card {
    width: 11rem;
  }

  .gallery-card--portrait img,
  .gallery-card--card img {
    height: 14rem;
  }

  .gallery-card--wide {
    width: 15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-card {
    transition: none;
  }
}

@keyframes petal-fall {
  0% {
    transform: translate3d(0, -8vh, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-2.2rem, 52vh, 0) rotate(180deg);
  }
  100% {
    transform: translate3d(1.4rem, 112vh, 0) rotate(360deg);
  }
}

@media (max-width: 1200px) {
  .velina-cameo--hero {
    position: relative;
    bottom: auto;
    left: auto;
    width: 6.4rem;
    margin: 1rem 0 0 auto;
    transform: rotate(-4deg);
  }
}

@media (max-width: 1080px) {
  .anime-rail {
    display: none;
  }
}

@media (max-width: 680px) {
  .section--paper {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .anime-petals span {
    font-size: 0.75rem;
    opacity: 0.62;
  }

  .hero-kicker {
    border-radius: 1rem;
  }

  .sport-panel {
    border-radius: 1.1rem;
  }

  .anime-petals span:nth-child(n + 6) {
    display: none;
  }
}

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

  .scene-card:hover {
    transform: none;
  }
}

/* English sound-section title needs a slightly shorter measure. */
#sound-title {
  font-size: clamp(2.3rem, 3.8vw, 4.2rem);
}
