:root {
  --bg: #0a0608;
  --bg-2: #140a10;
  --rose: #e85a7a;
  --rose-deep: #9b2d4a;
  --blush: #f2b6c4;
  --champagne: #e8d5b5;
  --cream: #f7efe8;
  --muted: #b9a8b0;
  --line: rgba(232, 90, 122, 0.28);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Syne", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--cream);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.noise,
.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
}

.noise {
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette {
  z-index: 49;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.28) 100%);
}

@media (min-width: 768px) {
  .vignette {
    background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
  }
}

/* Topbar */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: calc(0.7rem + env(safe-area-inset-top)) 1rem 0.7rem;
  background: linear-gradient(180deg, rgba(10, 6, 8, 0.94), rgba(10, 6, 8, 0.55) 70%, transparent);
  transition: background 0.3s var(--ease);
}

.topbar.scrolled {
  background: rgba(10, 6, 8, 0.96);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.brand-mark {
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--rose), var(--rose-deep));
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-select {
  background: rgba(20, 10, 16, 0.75);
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  font-family: var(--font-ui);
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(8px);
  transition: all 0.2s var(--ease);
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--rose);
  background: rgba(30, 15, 24, 0.9);
}

.lang-select option {
  background: var(--bg-2);
  color: var(--cream);
}

.topbar .btn-sm {
  flex-shrink: 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
}

.nav {
  display: none;
  gap: 1.4rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--blush);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1rem 1.65rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #f07a94, var(--rose) 50%, var(--rose-deep));
  color: #fff;
  box-shadow: 0 12px 32px rgba(232, 90, 122, 0.35);
}

.btn-ghost {
  border: 1px solid rgba(247, 239, 232, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: var(--line);
  background: rgba(232, 90, 122, 0.1);
}

img {
  max-width: 100%;
  display: block;
}

/* Hero — full-bleed image slot */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: 5.5rem 1.1rem 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #1a0c12;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 20%;
  animation: mood-shift 14s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  /* 手机：底部压暗保文字可读；桌面再叠左右渐变 */
  background:
    linear-gradient(180deg, rgba(10, 6, 8, 0.45) 0%, rgba(10, 6, 8, 0.15) 28%, rgba(10, 6, 8, 0.55) 55%, rgba(10, 6, 8, 0.96) 100%);
}

.hero-bloom {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  animation: rise 0.95s var(--ease) both;
}

.brand-hero {
  margin: 0 0 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 11vw, 5.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: var(--blush);
  font-weight: 500;
}

.hero-lead {
  margin: 0 0 1.15rem;
  max-width: 28rem;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.hero-lead strong {
  color: var(--champagne);
}

.hero-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.hero-cta .btn {
  width: 100%;
}

.hero-perk {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}

.hero-perk .perk-dot {
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.perk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 0 rgba(232, 90, 122, 0.6);
  animation: pulse 2s ease-out infinite;
}

/* Sections */
.section {
  position: relative;
  padding: 3.25rem 1.1rem;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
}

.section p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 34rem;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head p {
  margin-bottom: 0;
}

.feature-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  flex-shrink: 0;
}

/* Collection */
.collection {
  background:
    radial-gradient(ellipse 50% 40% at 0% 50%, rgba(155, 45, 74, 0.2), transparent),
    var(--bg-2);
}

.collection-layout {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

/* 手机：横向滑动海报，避免叠层溢出 */
.collection-stack {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0.15rem 0.75rem;
  margin: 0 -1.1rem;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
  scrollbar-width: none;
}

.collection-stack::-webkit-scrollbar {
  display: none;
}

.poster {
  position: relative;
  flex: 0 0 42vw;
  max-width: 168px;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #1a0a10;
  scroll-snap-align: start;
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-meta {
  position: absolute;
  inset: auto 0 0;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.poster-meta span {
  align-self: flex-start;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.45);
}

.poster-meta strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.p1,
.p2,
.p3 {
  left: auto;
  top: auto;
  animation: none;
}

/* Anime */
.anime {
  background: var(--bg);
}

.anime-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.anime-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1028;
  border: 1px solid rgba(242, 182, 196, 0.12);
}

.anime-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anime-label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--blush);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.collection-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.collection-actions .btn,
.collection-copy .btn {
  width: 100%;
}

/* Categories — interactive tiles, not decorative cards clutter */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.cat {
  position: relative;
  min-height: 96px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a0c12;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(10, 6, 8, 0.85));
  pointer-events: none;
}

.cat:hover {
  transform: translateY(-3px);
  border-color: var(--line);
}

.cat:hover img {
  transform: scale(1.05);
}

.cat span {
  position: absolute;
  left: 0.7rem;
  bottom: 0.65rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

/* Channels */
.channels {
  background: var(--bg-2);
}

.channel-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.channel {
  position: relative;
  display: block;
  padding: 0;
  border-radius: 12px;
  text-align: left;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1e0c14;
  aspect-ratio: 4 / 3;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.channel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.channel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(10, 6, 8, 0.9));
  pointer-events: none;
}

.channel:hover {
  transform: translateY(-3px);
  border-color: var(--line);
}

.channel:hover img {
  transform: scale(1.05);
}

.live {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--rose);
}

.channel strong {
  position: absolute;
  left: 0.55rem;
  right: 0.4rem;
  bottom: 0.55rem;
  z-index: 1;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Platforms */
.platforms {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(232, 90, 122, 0.18), transparent 65%),
    var(--bg);
}

.platforms-inner {
  max-width: 560px;
}

.platforms h2,
.platforms p {
  margin-left: auto;
  margin-right: auto;
}

.platform-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 1.4rem 0 1.2rem;
}

.store-btn {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0c0c0c;
  text-align: left;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.store-btn:hover {
  border-color: var(--rose);
  transform: translateY(-2px);
}

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-weight: 800;
}

.store-btn small {
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--muted);
}

.store-apk {
  background: rgba(155, 45, 74, 0.35);
}

.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: left;
  max-width: 280px;
  margin-inline: auto;
}

.trust-row li::before {
  content: "♥ ";
  color: var(--rose);
}

/* Footer */
.footer {
  padding: 2.4rem 1.4rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--blush);
}

.copyright,
.age-note {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(185, 168, 176, 0.65);
}

.age-note {
  color: var(--rose);
  font-weight: 600;
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 0;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  animation: fade 0.25s ease both;
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 1.6rem 1.15rem calc(1.35rem + env(safe-area-inset-bottom));
  border-radius: 18px 18px 0 0;
  background: linear-gradient(165deg, #2a121c, #0a0608);
  border: 1px solid var(--line);
  border-bottom: 0;
  box-shadow: var(--shadow);
  text-align: center;
  animation: modal-up 0.35s var(--ease) both;
}

.modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.85rem;
  font-size: 1.55rem;
  color: var(--muted);
}

.modal-stars {
  color: var(--champagne);
  letter-spacing: 0.12em;
  margin-bottom: 0.55rem;
}

.modal-panel h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
}

.modal-panel p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.modal-actions {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.modal-note {
  margin: 0 !important;
  font-size: 0.8rem !important;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}

@keyframes mood-shift {
  from { filter: saturate(1) brightness(1); }
  to { filter: saturate(1.15) brightness(1.05); }
}

@keyframes figure-breathe {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-12px) scale(1.03); }
}

@keyframes bloom {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.12); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 90, 122, 0.55); }
  70% { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-up {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 480px) {
  .hero-cta {
    grid-template-columns: 1fr 1fr;
  }

  .collection-actions {
    grid-template-columns: auto auto;
    justify-content: start;
  }

  .collection-actions .btn,
  .collection-copy .btn {
    width: auto;
  }

  .platform-actions {
    grid-template-columns: 1fr 1fr;
  }

  .poster {
    flex-basis: 150px;
  }
}

@media (min-width: 768px) {
  .topbar {
    gap: 1rem;
    padding: 1rem 2.4rem;
  }

  .topbar .btn-sm {
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 2rem;
    height: 2rem;
    font-size: 0.7rem;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .nav {
    display: flex;
  }

  .hero {
    align-items: center;
    padding: 7rem 2.4rem 5rem;
  }

  .hero-img {
    object-position: center top;
  }

  .hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(10, 6, 8, 0.92) 0%,
        rgba(10, 6, 8, 0.72) 40%,
        rgba(10, 6, 8, 0.28) 68%,
        rgba(10, 6, 8, 0.55) 100%
      ),
      linear-gradient(180deg, rgba(10, 6, 8, 0.25) 0%, transparent 30%, rgba(10, 6, 8, 0.7) 100%);
  }

  .hero-bloom {
    display: block;
    position: absolute;
    left: 10%;
    bottom: 15%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(232, 90, 122, 0.28), transparent 70%);
    filter: blur(20px);
    animation: bloom 6s ease-in-out infinite alternate;
    pointer-events: none;
  }

  .brand-hero {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
  }

  .hero-lead {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: none;
  }

  .hero-cta .btn {
    width: auto;
  }

  .hero-perk {
    font-size: 0.88rem;
    align-items: center;
  }

  .section {
    padding: 6.5rem 2.4rem;
  }

  .collection-layout,
  .anime-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .collection-stack {
    display: block;
    position: relative;
    height: 380px;
    overflow: visible;
    margin: 0;
    padding: 0;
    scroll-snap-type: none;
  }

  .poster {
    position: absolute;
    flex: none;
    max-width: none;
    width: 210px;
    border-radius: 16px;
  }

  .poster-meta {
    padding: 1rem;
  }

  .poster-meta strong {
    font-size: 1.35rem;
  }

  .p1 {
    left: 8%;
    top: 8%;
    z-index: 3;
    animation: float 5.5s ease-in-out infinite;
  }

  .p2 {
    left: 34%;
    top: 0;
    z-index: 2;
    animation: float 5.5s ease-in-out infinite 0.8s;
  }

  .p3 {
    left: 58%;
    top: 18%;
    z-index: 1;
    animation: float 5.5s ease-in-out infinite 1.6s;
  }

  .anime-visual {
    aspect-ratio: auto;
    min-height: 300px;
    border-radius: 20px;
  }

  .anime-visual img {
    min-height: 300px;
  }

  .anime-label {
    left: 1.2rem;
    bottom: 1.2rem;
    font-size: 1.6rem;
  }

  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .cat {
    aspect-ratio: 8 / 5;
    min-height: 120px;
    border-radius: 14px;
  }

  .cat span {
    left: 1rem;
    bottom: 0.9rem;
    font-size: 1.35rem;
  }

  .channel-rail {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .channel {
    aspect-ratio: 8 / 5;
    border-radius: 14px;
  }

  .live {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.65rem;
  }

  .channel strong {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    font-size: 1rem;
  }

  .platform-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .store-btn {
    width: auto;
    min-width: 190px;
  }

  .trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
    text-align: center;
    gap: 0.6rem 1.2rem;
    font-size: 0.86rem;
  }

  .modal {
    place-items: center;
    align-items: center;
    padding: 1.2rem;
  }

  .modal-panel {
    width: min(100%, 400px);
    border-radius: 18px;
    border-bottom: 1px solid var(--line);
    padding: 2rem 1.4rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .channel-rail {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
