/* MAYI PLAY — Store Layout (Epic-like) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --bg: #121212;
  --bg-2: #1a1a1a;
  --bg-3: #202020;
  --bg-hover: #2a2a2a;
  --line: #2e2e2e;
  --text: #ffffff;
  --muted: #a7a7a7;
  --muted-2: #737373;
  --accent: #26bbff;
  --radius: 10px;
  --radius-sm: 6px;
  --max: 1440px;
  --pad: clamp(1rem, 3.2vw, 2.75rem);
  --font: 'Outfit', 'Noto Sans SC', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

/* —— Top bar —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(12px);
}

.logo {
  justify-self: start;
}

.logo-mark {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #26bbff 0%, #7b5cff 55%, #ff4fd8 100%);
}

.search {
  justify-self: center;
  width: min(100%, 420px);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #2a2a2a;
  color: var(--muted-2);
}

.search:focus-within {
  outline: 1px solid #4a4a4a;
  color: var(--muted);
}

.search input {
  flex: 1;
  min-width: 0;
  outline: none;
}

.search input::placeholder {
  color: #6b6b6b;
}

/* —— Page —— */
.page {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0.5rem var(--pad) 2rem;
}

/* —— Hero —— */
.hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1rem;
  margin-bottom: 2.5rem;
  min-height: 420px;
}

.hero-stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  min-height: 420px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 4.5rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78) 55%);
  max-width: 34rem;
}

.hero-copy h1 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.hero-copy p {
  color: #d0d0d0;
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
  line-height: 1.45;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s, background 0.2s;
}

.btn-play:hover {
  transform: translateY(-1px);
  background: #e8e8e8;
}

.hero-rail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  text-align: left;
  transition: background 0.2s;
  color: var(--muted);
}

.rail-item:hover {
  background: var(--bg-hover);
  color: #ddd;
}

.rail-item.is-active {
  background: var(--bg-hover);
  color: #fff;
}

.rail-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.rail-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.rail-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rail-text small {
  font-size: 0.72rem;
  color: var(--muted-2);
}

/* —— Art skins —— */
.art-neon {
  background:
    radial-gradient(circle at 20% 80%, rgba(123, 92, 255, 0.55), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(38, 187, 255, 0.5), transparent 42%),
    linear-gradient(135deg, #0a0a18 0%, #1a1040 40%, #0d1b3a 100%);
  /* 勿用 position:relative，会覆盖 .hero-art 的 absolute，导致首屏高度为 0 */
  overflow: hidden;
}
.art-neon::before,
.art-neon::after {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0 18px,
      rgba(120, 90, 255, 0.18) 18px 20px,
      transparent 20px 38px,
      rgba(38, 187, 255, 0.15) 38px 40px
    );
  transform: rotate(-8deg);
  animation: drift 14s linear infinite;
}
.art-neon::before,
.art-neon::after {
  pointer-events: none !important;
}
.art-neon::after {
  opacity: 0.5;
  animation-direction: reverse;
  animation-duration: 18s;
}

.art-orbit {
  background:
    radial-gradient(circle at 50% 50%, #26bbff 0%, transparent 28%),
    radial-gradient(circle at 70% 30%, rgba(255, 79, 216, 0.35), transparent 35%),
    linear-gradient(160deg, #071018, #10243a 50%, #0a1520);
}

.art-synapse {
  background:
    linear-gradient(135deg, #101820 0%, #163028 50%, #0c1c18 100%);
  background-image:
    radial-gradient(circle at 30% 40%, rgba(15, 200, 150, 0.45) 0 8%, transparent 9%),
    radial-gradient(circle at 60% 55%, rgba(15, 200, 150, 0.35) 0 6%, transparent 7%),
    radial-gradient(circle at 45% 70%, rgba(38, 187, 255, 0.3) 0 5%, transparent 6%),
    linear-gradient(135deg, #0c1412, #132820);
}

.art-city {
  background:
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45)),
    linear-gradient(120deg, #1a1030 0%, #3a2060 35%, #c45a30 70%, #201018 100%);
}

.art-race {
  background:
    linear-gradient(160deg, #201808 0%, #c9a000 40%, #f0c420 55%, #402010 100%);
}

.art-fort {
  background:
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4)),
    linear-gradient(145deg, #1a3048 0%, #2a80c8 35%, #f0a830 70%, #183050 100%);
}

.art-blade {
  background: linear-gradient(145deg, #1a0810, #801030 40%, #200818 80%);
}

.art-storm {
  background: linear-gradient(160deg, #081828, #1858a0 45%, #40c8f0 70%, #0a2038);
}

.art-void {
  background: linear-gradient(135deg, #0a0818, #3a1880 50%, #100820);
}

.art-mech {
  background: linear-gradient(150deg, #121418, #3a4048 40%, #a0a8b0 60%, #1a1e24);
}

.art-ninja {
  background: linear-gradient(145deg, #0c1018, #203050 40%, #c02040 75%, #100810);
}

.art-hero {
  background:
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.5)),
    linear-gradient(140deg, #081828 0%, #1850a0 30%, #e04020 65%, #101820 100%);
}

@keyframes drift {
  from { transform: rotate(-8deg) translateX(0); }
  to { transform: rotate(-8deg) translateX(-40px); }
}

/* —— Blocks —— */
.block {
  margin-bottom: 2.4rem;
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.block-head h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.carousel-nav {
  display: flex;
  gap: 0.4rem;
}

.nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-3);
  color: #ccc;
  font-size: 1.2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.nav-btn:hover {
  background: var(--bg-hover);
  color: #fff;
}

.nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* —— Carousel —— */
.carousel {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  position: relative;
  z-index: 1;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  min-width: 100%;
  will-change: auto;
}

.poster {
  flex: 0 0 calc((100vw - 2 * var(--pad) - 5 * 0.85rem) / 6);
  width: calc((100vw - 2 * var(--pad) - 5 * 0.85rem) / 6);
  max-width: 200px;
  min-width: 110px;
  display: block;
  position: relative;
  z-index: 1;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.poster-art {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  margin-bottom: 0.55rem;
  transition: transform 0.3s var(--ease), filter 0.3s;
  overflow: hidden;
  position: relative;
  width: 100%;
  pointer-events: none; /* 点击落到父级 a.poster，避免伪元素挡点击 */
}

.poster-art::before,
.poster-art::after {
  pointer-events: none !important;
}

.poster:hover .poster-art {
  transform: scale(1.03);
  filter: brightness(1.08);
}

.poster span {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #e8e8e8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

/* —— Feature row —— */
.feature-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.feature-card {
  min-width: 0;
}

.feature-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  transition: filter 0.25s;
  overflow: hidden;
  position: relative;
}

.feature-card:hover .feature-media {
  filter: brightness(1.08);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* —— Catalog grid —— */
.catalog {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1rem;
}

.catalog-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  margin-bottom: 0.7rem;
  transition: filter 0.25s, transform 0.3s var(--ease);
  overflow: hidden;
  position: relative;
}

.catalog-card:hover .catalog-media {
  filter: brightness(1.08);
  transform: scale(1.01);
}

.catalog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.catalog-card p {
  color: var(--muted);
  font-size: 0.86rem;
}

.more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.btn-more {
  padding: 0.7rem 2.4rem;
  border: 1px solid #4a4a4a;
  border-radius: 6px;
  color: #ddd;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.btn-more:hover {
  background: var(--bg-3);
  border-color: #666;
}

.btn-more span {
  margin-left: 0.25rem;
  opacity: 0.7;
}

.btn-more.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

.btn-more:disabled,
.btn-more.is-done {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.catalog-card.is-enter {
  animation: catalogIn 0.35s var(--ease) both;
}

@keyframes catalogIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem var(--pad) 2.5rem;
  width: min(100%, var(--max));
  margin: 0 auto;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: start;
  margin-bottom: 1.75rem;
}

.socials {
  display: flex;
  gap: 0.55rem;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-3);
  display: grid;
  place-items: center;
  color: #ddd;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.socials a:hover {
  background: var(--bg-hover);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.footer-cols a {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-cols a:hover {
  color: #fff;
}

.rating-badge {
  width: 56px;
  height: 72px;
  border: 2px solid #555;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #ccc;
}

.footer-legal {
  margin-bottom: 1.25rem;
  line-height: 1.7;
  max-width: 920px;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-bottom a:hover {
  color: #fff;
}

/* —— Modal / phone —— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 手机端全屏试玩 */
.modal.is-mobile-fs {
  padding: 0;
  place-items: stretch;
}

.modal.is-mobile-fs .modal-backdrop {
  opacity: 0;
}

.modal.is-mobile-fs .modal-shell {
  width: 100%;
  height: 100%;
  max-width: none;
  gap: 0;
}

.modal.is-mobile-fs .modal-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  max-width: none !important;
  width: 100%;
  padding: 0.45rem 0.7rem;
  padding-top: max(0.45rem, env(safe-area-inset-top));
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
  box-sizing: border-box;
}

.modal.is-mobile-fs .modal-title,
.modal.is-mobile-fs .btn-open-tab {
  display: none;
}

.modal.is-mobile-fs .modal-close {
  margin-left: auto;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.modal.is-mobile-fs .phone,
.modal.is-mobile-fs .phone.is-portrait,
.modal.is-mobile-fs .phone.is-landscape {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.modal.is-mobile-fs .phone-notch {
  display: none !important;
}

.modal.is-mobile-fs .game-hud {
  padding-top: 3rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.modal-shell {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.modal-bar {
  width: 100%;
  max-width: 360px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.modal-shell.is-landscape .modal-bar {
  max-width: min(100%, 640px);
}

.modal-title {
  font-weight: 700;
  font-size: 1.05rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-close {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--bg-3);
  font-size: 1.4rem;
  line-height: 1;
  touch-action: manipulation;
}

.phone {
  width: min(100vw - 2rem, 360px);
  aspect-ratio: 9 / 16;
  max-height: min(78vh, 720px);
  border-radius: 28px;
  background: #0a0a0a;
  border: 3px solid #2a2a2a;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.phone.is-landscape {
  width: min(100vw - 2rem, 640px);
  aspect-ratio: 16 / 9;
  max-height: min(62vh, 400px);
  border-radius: 22px;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 18px;
  background: #000;
  border-radius: 12px;
  z-index: 5;
}

.phone.is-landscape .phone-notch {
  display: none;
}

.phone-screen {
  position: absolute;
  inset: 0;
}

.game-hud {
  display: flex;
  justify-content: space-between;
  padding: 2.1rem 1rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 4;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.55);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent);
}

.phone.is-landscape .game-hud {
  padding-top: 0.75rem;
}

.game-hud .score {
  color: #fff;
  font-size: 1.05rem;
}

#game-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: pointer;
}

.game-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.72);
  text-align: center;
  padding: 1.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.game-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.game-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.game-overlay p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.has-cover {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.has-cover::before,
.has-cover::after {
  display: none !important;
}

.feature-card,
.catalog-card,
.poster,
.btn-play {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.08);
}

.hero-slide {
  pointer-events: none;
}

.hero-slide.is-active {
  pointer-events: auto;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-open-tab {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  background: var(--bg-3);
  touch-action: manipulation;
  white-space: nowrap;
}

.btn-open-tab:hover {
  color: #fff;
}

.phone-screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.play-toast {
  position: fixed;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%) translateY(12px);
  z-index: 120;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  background: rgba(20, 20, 20, 0.92);
  color: #fff;
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  max-width: min(90vw, 280px);
  text-align: center;
}

.play-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 240px;
  }

  .poster {
    flex-basis: calc((100vw - 2 * var(--pad) - 4 * 0.85rem) / 5);
    width: calc((100vw - 2 * var(--pad) - 4 * 0.85rem) / 5);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-stage {
    min-height: 300px;
    aspect-ratio: 16 / 9;
  }

  .hero-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .rail-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem;
  }

  .rail-text strong {
    font-size: 0.78rem;
    white-space: normal;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .poster {
    flex-basis: calc((100vw - 2 * var(--pad) - 2 * 0.75rem) / 3);
    width: calc((100vw - 2 * var(--pad) - 2 * 0.75rem) / 3);
    max-width: none;
  }

  .carousel-track {
    gap: 0.75rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .rating-badge {
    display: none;
  }
}

@media (max-width: 700px) {
  .topbar {
    padding: 0.7rem 1rem;
  }

  .search {
    max-width: none;
  }

  .page {
    padding: 0.35rem 1rem 1.5rem;
  }

  .hero-stage {
    aspect-ratio: 4 / 3;
    min-height: 260px;
  }

  .hero-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy {
    padding: 3rem 1rem 1rem;
  }

  .catalog {
    grid-template-columns: 1fr;
  }

  .poster {
    flex-basis: calc((100vw - 2rem - 0.75rem) / 2.35);
    width: calc((100vw - 2rem - 0.75rem) / 2.35);
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    padding: 1.5rem 1rem 2rem;
  }
}

@media (max-width: 420px) {
  .poster {
    flex-basis: calc((100vw - 2rem - 0.7rem) / 2.2);
    width: calc((100vw - 2rem - 0.7rem) / 2.2);
  }

  .hero-rail {
    grid-template-columns: 1fr 1fr;
  }

  .rail-thumb {
    width: 36px;
    height: 36px;
  }
}
