:root {
  --ink: #07090d;
  --ink-soft: #0d1118;
  --panel: rgba(12, 17, 24, 0.8);
  --line: rgba(231, 239, 248, 0.13);
  --line-strong: rgba(231, 239, 248, 0.26);
  --text: #f7f9fb;
  --muted: #a5afbd;
  --muted-dark: #697484;
  --cyan: #71e6ff;
  --cyan-deep: #0c9fc4;
  --lime: #d8ff52;
  --coral: #ff7c64;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rail-width: 208px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 74% -10%, rgba(36, 107, 128, 0.16), transparent 34rem),
    var(--ink);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Segoe UI", ui-sans-serif, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img,
video,
svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: var(--text);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* 关键模块：侧栏 */
.side-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  display: flex;
  width: var(--rail-width);
  flex-direction: column;
  border-right: 1px solid rgba(113, 230, 255, 0.11);
  background:
    radial-gradient(circle at 18% 0%, rgba(35, 135, 163, 0.15), transparent 15rem),
    linear-gradient(180deg, rgba(9, 13, 20, 0.98), rgba(6, 8, 12, 0.98));
  box-shadow: 1rem 0 3rem rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(22px);
}

.side-rail::after {
  position: absolute;
  inset: 76px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(113, 230, 255, 0.18), transparent 88%);
  content: "";
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.brand--rail {
  height: 76px;
  flex: 0 0 76px;
  padding: 0 1.05rem;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 2.45rem;
  place-items: center;
  overflow: hidden;
  border-radius: 0.78rem;
  background: #07131f url("favicon.svg?v=20260728c") center / cover no-repeat;
  color: var(--cyan);
  box-shadow:
    0 0 0 1px rgba(113, 230, 255, 0.12),
    0 0.65rem 1.8rem rgba(31, 166, 202, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand-mark::before {
  content: none;
}

.brand-core {
  display: none;
}

.brand:hover .brand-mark {
  box-shadow:
    0 0 0 1px rgba(113, 230, 255, 0.22),
    0 0.75rem 2.1rem rgba(31, 166, 202, 0.28);
  transform: translateY(-1px) rotate(-2deg);
}

.brand-name {
  font-size: 0.78rem;
  font-weight: 840;
  letter-spacing: 0.145em;
}

.rail-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.42rem;
  padding: 2.05rem 0.8rem 1.3rem;
}

.rail-caption {
  margin: 0 0 0.35rem;
  padding: 0 0.6rem;
  color: #566273;
  font-size: 0.57rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rail-link {
  position: relative;
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.1rem;
  border: 1px solid transparent;
  border-radius: 0.78rem;
  background: transparent;
  color: var(--muted);
  padding: 0 0.72rem;
  font-size: 0.79rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.rail-link::before {
  position: absolute;
  top: 0.7rem;
  bottom: 0.7rem;
  left: -0.82rem;
  width: 3px;
  border-radius: 0 1rem 1rem 0;
  background: var(--cyan);
  content: "";
  opacity: 0;
  transform: scaleY(0.3);
  box-shadow: 0 0 1rem rgba(113, 230, 255, 0.55);
  transition: opacity 180ms ease, transform 180ms var(--ease);
}

.rail-link:hover {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.rail-link.is-active {
  border-color: rgba(113, 230, 255, 0.2);
  background: linear-gradient(90deg, rgba(45, 177, 209, 0.15), rgba(19, 33, 45, 0.38));
  color: var(--text);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.025),
    0 0.8rem 2rem rgba(0, 0, 0, 0.13);
}

.rail-link.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.rail-icon {
  width: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
  transition: color 180ms ease, transform 180ms var(--ease);
}

.rail-link:hover .rail-icon {
  color: var(--cyan);
  transform: translateX(2px);
}

.rail-link.is-active .rail-icon {
  color: var(--cyan);
  filter: drop-shadow(0 0 0.35rem rgba(113, 230, 255, 0.32));
}

.rail-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rail-number {
  color: var(--muted-dark);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.57rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.rail-link.is-active .rail-number {
  color: var(--cyan);
}

.rail-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.58rem;
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(231, 239, 248, 0.08);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(113, 230, 255, 0.035));
  padding: 1rem 0.8rem calc(1rem + env(safe-area-inset-bottom));
  color: var(--muted);
}

.rail-footer-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  line-height: 1.25;
}

.rail-footer-copy strong {
  overflow: hidden;
  color: #c6ced9;
  font-size: 0.61rem;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rail-footer-copy > span {
  color: var(--muted-dark);
  font-size: 0.54rem;
  letter-spacing: 0.03em;
}

.rail-footer-pulse {
  border: 1px solid rgba(216, 255, 82, 0.14);
  border-radius: 100vmax;
  background: rgba(216, 255, 82, 0.06);
  color: #bddf45;
  padding: 0.22rem 0.34rem;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.46rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot,
.live-mark {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(216, 255, 82, 0.1), 0 0 18px rgba(216, 255, 82, 0.42);
}

.site-shell {
  min-height: 100vh;
  margin-left: var(--rail-width);
}

/* 关键模块：顶部工具栏 */
.topbar {
  position: fixed;
  inset: 0 0 auto var(--rail-width);
  z-index: 70;
  display: grid;
  height: 76px;
  grid-template-columns: minmax(280px, 520px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(to bottom, rgba(7, 9, 13, 0.92), rgba(7, 9, 13, 0.48));
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.topbar.is-scrolled {
  border-bottom-color: rgba(113, 230, 255, 0.16);
  background: rgba(7, 9, 13, 0.9);
  box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.24);
}

.brand--mobile {
  display: none;
}

.search {
  position: relative;
  display: flex;
  height: 2.68rem;
  align-items: center;
}

.search > svg {
  position: absolute;
  left: 0.95rem;
  width: 1rem;
  fill: none;
  stroke: var(--muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  pointer-events: none;
}

.search input {
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 0.62rem;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 0 4rem 0 2.75rem;
  font-size: 0.76rem;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.search input::placeholder {
  color: #7e8794;
}

.search input:focus {
  border-color: rgba(113, 230, 255, 0.55);
  outline: 0;
  background: rgba(12, 18, 25, 0.92);
  box-shadow: 0 0 0 3px rgba(113, 230, 255, 0.08);
}

.search kbd {
  position: absolute;
  right: 0.72rem;
  border: 1px solid var(--line);
  border-radius: 0.28rem;
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted-dark);
  padding: 0.2rem 0.34rem;
  font-size: 0.6rem;
  pointer-events: none;
}

.search-clear {
  position: absolute;
  right: 3rem;
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  padding: 0;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.search-clear[hidden] {
  display: none;
}

.search-clear:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.search-clear svg {
  width: 0.8rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.48rem;
}

.icon-button,
.favorite-button,
.card-save {
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}

.icon-button {
  position: relative;
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.icon-button:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.icon-button svg {
  width: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.saved-count {
  position: absolute;
  top: -0.08rem;
  right: -0.08rem;
  display: grid;
  min-width: 1rem;
  height: 1rem;
  place-items: center;
  border-radius: 99px;
  background: var(--cyan);
  color: #071015;
  font-size: 0.56rem;
  font-weight: 900;
}

.edition-pill {
  margin-left: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  padding: 0.46rem 0.75rem;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

/* 关键模块：主视觉舞台 */
.hero {
  position: relative;
  display: flex;
  min-height: min(760px, 100vh);
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7.3rem clamp(2rem, 4vw, 5rem) 2rem;
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-media video,
.hero-scrim,
.hero-grain {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  overflow: hidden;
  background: #11151b;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
}

.hero-media img {
  opacity: 1;
  transform: scale(1.01);
  transition: opacity 320ms ease, transform 1.1s var(--ease);
}

.hero-media img.is-switching {
  opacity: 0.24;
  transform: scale(1.035);
}

.hero-media video {
  display: none;
  background: #0b0e13;
}

.hero-media video.is-active {
  display: block;
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.95) 0%, rgba(5, 7, 11, 0.64) 34%, rgba(5, 7, 11, 0.07) 72%),
    linear-gradient(0deg, var(--ink) 0%, rgba(7, 9, 13, 0.74) 14%, transparent 54%, rgba(4, 6, 9, 0.2) 100%);
  pointer-events: none;
}

.hero-grain {
  z-index: 2;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-topline {
  position: absolute;
  top: 7.2rem;
  right: clamp(2rem, 4vw, 5rem);
  left: clamp(2rem, 4vw, 5rem);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eyebrow,
.slide-counter {
  color: rgba(247, 249, 251, 0.78);
  font-size: 0.64rem;
  font-weight: 780;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.live-mark {
  width: 0.36rem;
  height: 0.36rem;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 124, 100, 0.1), 0 0 18px rgba(255, 124, 100, 0.52);
}

.slide-counter {
  display: flex;
  gap: 0.34rem;
  color: var(--muted-dark);
  font-variant-numeric: tabular-nums;
}

.slide-counter span:first-child {
  color: var(--text);
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(640px, 53vw);
  margin-bottom: 2.5rem;
  animation: hero-copy-reveal 820ms 90ms var(--ease) both;
}

.hero-kicker {
  margin: 0 0 0.85rem;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 8ch;
  margin: 0;
  color: white;
  font-size: clamp(4.2rem, 7.4vw, 8.5rem);
  font-family: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.76;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.35);
}

.hero h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.76);
}

/* 关键模块：长标题使用独立字号，避免《World of Eggs》在桌面和手机端挤压操作区。 */
.hero.hero--long-title h1 {
  max-width: 12ch;
  font-size: clamp(3.15rem, 5.5vw, 6.4rem);
  line-height: 0.82;
}

.hero-description {
  max-width: 54ch;
  margin: 1.55rem 0 0;
  color: rgba(232, 237, 243, 0.82);
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  line-height: 1.66;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 1.3rem;
  color: #bdc5cf;
  font-size: 0.68rem;
  font-weight: 650;
}

.hero-meta span {
  position: relative;
}

.hero-meta span + span::before {
  position: absolute;
  left: -0.72rem;
  color: var(--cyan);
  content: "•";
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.68rem;
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  padding: 0 1.15rem;
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.015em;
  cursor: pointer;
  transition: transform 180ms var(--ease), background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button--primary {
  min-width: 12.2rem;
  background: var(--lime);
  color: #0a0e0b;
  box-shadow: 0 0.9rem 2.5rem rgba(154, 203, 16, 0.14);
}

.button--primary:hover {
  background: #e4ff83;
}

.button--ghost {
  background: rgba(5, 8, 12, 0.58);
  border-color: rgba(255, 255, 255, 0.23);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.button--ghost:hover {
  border-color: rgba(113, 230, 255, 0.52);
  background: rgba(8, 13, 18, 0.86);
}

.button--ghost svg {
  fill: currentColor;
  stroke: none;
}

.favorite-button {
  position: absolute;
  top: 9.2rem;
  right: clamp(2rem, 4vw, 5rem);
  z-index: 6;
  display: flex;
  min-height: 2.8rem;
  align-items: center;
  gap: 0.55rem;
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  background: rgba(7, 10, 14, 0.5);
  color: var(--text);
  padding: 0 0.95rem;
  font-size: 0.67rem;
  font-weight: 760;
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
  animation: interface-reveal 620ms 260ms var(--ease) both;
}

.favorite-button:hover,
.favorite-button[aria-pressed="true"] {
  border-color: rgba(216, 255, 82, 0.6);
  background: rgba(15, 20, 14, 0.8);
  color: var(--lime);
}

.favorite-button svg,
.card-save svg {
  width: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.favorite-button[aria-pressed="true"] svg,
.card-save[aria-pressed="true"] svg {
  fill: currentColor;
}

.media-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(7, 9, 13, 0.45);
  color: var(--text);
  cursor: pointer;
  opacity: 0.72;
  backdrop-filter: blur(10px);
  transform: translateY(-50%);
  transition: opacity 180ms ease, background 180ms ease, border-color 180ms ease;
}

.media-arrow:hover {
  border-color: rgba(113, 230, 255, 0.52);
  background: rgba(7, 9, 13, 0.8);
  opacity: 1;
}

.media-arrow svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.media-arrow--previous {
  left: 0.35rem;
}

.media-arrow--next {
  right: 1.25rem;
}

/* 关键模块：媒体缩略图与分页点 */
.media-dock {
  position: absolute;
  right: clamp(2rem, 4vw, 5rem);
  bottom: 2.35rem;
  z-index: 6;
  width: min(43vw, 610px);
  animation: interface-reveal 720ms 180ms var(--ease) both;
}

.thumbnail-track {
  display: grid;
  grid-auto-columns: minmax(74px, 1fr);
  grid-auto-flow: column;
  gap: 0.38rem;
  overflow-x: auto;
  padding: 0.25rem;
  scrollbar-width: none;
}

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

.thumbnail-track--games {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: row;
}

.media-thumbnail {
  position: relative;
  min-width: 76px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.42rem;
  background: #131820;
  padding: 0;
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}

.media-thumbnail::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 65%);
  content: "";
}

.media-thumbnail:hover,
.media-thumbnail.is-active {
  border-color: rgba(113, 230, 255, 0.88);
  opacity: 1;
  transform: translateY(-0.18rem);
}

.media-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-thumbnail > span:last-child {
  position: absolute;
  right: 0.32rem;
  bottom: 0.28rem;
  left: 0.32rem;
  z-index: 2;
  overflow: hidden;
  color: white;
  font-size: 0.5rem;
  font-weight: 730;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-thumbnail--game {
  min-width: 0;
  aspect-ratio: 16 / 7;
}

.media-thumbnail--game > span:last-child {
  right: 0.55rem;
  bottom: 0.5rem;
  left: 0.55rem;
  font-size: 0.62rem;
  letter-spacing: 0.025em;
}

.thumbnail-play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #090d12;
  transform: translate(-50%, -50%);
}

.thumbnail-play svg {
  width: 0.82rem;
  fill: currentColor;
}

.media-dock-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0.25rem 0.55rem;
}

.media-status {
  overflow: hidden;
  margin: 0;
  color: rgba(247, 249, 251, 0.68);
  font-size: 0.53rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.media-dots {
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 0.34rem;
}

.media-dots button {
  width: 0.4rem;
  height: 0.4rem;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  padding: 0;
  cursor: pointer;
  transition: width 220ms var(--ease), background 180ms ease;
}

.media-dots button.is-active {
  width: 1.35rem;
  background: var(--cyan);
}

.gallery-progress {
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.13);
}

.gallery-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), #d7fbff);
  transform: scaleX(0);
  transform-origin: left;
}

.gallery-progress span.is-running {
  animation: gallery-progress 8.5s linear forwards;
}

.hero.is-gallery-paused .gallery-progress span {
  animation-play-state: paused;
}

/* 关键模块：游戏库内容轨道 */
.library-section {
  position: relative;
  z-index: 10;
  padding: clamp(3rem, 4vw, 4.5rem) clamp(1.5rem, 3.3vw, 4rem) clamp(4.25rem, 5.5vw, 6rem);
  background:
    linear-gradient(180deg, var(--ink), rgba(10, 13, 18, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(113, 230, 255, 0.08), transparent 28rem);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.section-eyebrow {
  margin: 0 0 0.42rem;
  color: var(--cyan);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-controls {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--muted-dark);
  font-size: 0.68rem;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0.35rem 0;
  font-size: 0.68rem;
  font-weight: 750;
  cursor: pointer;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.game-card {
  min-width: 0;
  cursor: pointer;
  border-radius: 0.7rem;
  outline: 0;
  transition: opacity 220ms ease, transform 220ms var(--ease);
}

.game-card[hidden] {
  display: none;
}

.game-card:hover,
.game-card:focus-visible {
  transform: translateY(-0.42rem);
}

.game-card:focus-visible .game-art {
  border-color: rgba(113, 230, 255, 0.82);
  box-shadow: 0 0 0 3px rgba(113, 230, 255, 0.1), 0 1.2rem 2.8rem rgba(0, 0, 0, 0.28);
}

.game-art {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.62rem;
  background: #11161d;
}

.game-art::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.72));
  content: "";
  pointer-events: none;
}

.game-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease), filter 300ms ease;
}

/* 关键模块：横版游戏画面在竖版卡片中保持完整，背景层负责自然填满留白。 */
.browser-cover-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #080d14;
}

.browser-cover-frame .browser-cover-backdrop {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  filter: blur(14px) brightness(0.52) saturate(1.16);
  transform: scale(1.04);
}

.browser-cover-frame .browser-game-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  object-fit: contain;
  filter: drop-shadow(0 1rem 1.8rem rgba(0, 0, 0, 0.32));
}

.game-card:hover .browser-cover-frame .browser-cover-backdrop,
.game-card:focus-visible .browser-cover-frame .browser-cover-backdrop,
.game-card:focus-within .browser-cover-frame .browser-cover-backdrop {
  filter: blur(14px) brightness(0.58) saturate(1.22);
  transform: scale(1.1);
}

.game-card:hover .browser-cover-frame .browser-game-cover,
.game-card:focus-visible .browser-cover-frame .browser-game-cover,
.game-card:focus-within .browser-cover-frame .browser-game-cover {
  filter: drop-shadow(0 1rem 1.8rem rgba(0, 0, 0, 0.32)) saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

/* 关键模块：无外链图片的新增游戏使用轻量品牌封面，避免热链、跨域和 Cloudflare 风控。 */
.generated-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 1rem 0.75rem 2.3rem;
  background:
    radial-gradient(circle at 76% 18%, color-mix(in srgb, var(--cover-accent) 72%, transparent), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--cover-accent-alt) 62%, #111827), #080b11 72%);
  transform: scale(1.001);
  transition: filter 300ms ease, transform 600ms var(--ease);
}

.generated-cover::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 47%, rgba(255, 255, 255, 0.1) 47% 48%, transparent 48%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 26px);
  content: "";
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.generated-cover::after {
  position: absolute;
  top: -18%;
  right: -44%;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--cover-accent) 56%, transparent);
  border-radius: 50%;
  box-shadow:
    0 0 0 1.8rem color-mix(in srgb, var(--cover-accent) 10%, transparent),
    0 0 0 3.9rem color-mix(in srgb, var(--cover-accent) 5%, transparent);
  content: "";
}

.generated-cover__orbit {
  position: absolute;
  top: 23%;
  left: 18%;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.generated-cover__orbit::before,
.generated-cover__orbit::after {
  position: absolute;
  border-radius: 50%;
  background: var(--cover-accent);
  box-shadow: 0 0 1.4rem color-mix(in srgb, var(--cover-accent) 88%, transparent);
  content: "";
}

.generated-cover__orbit::before {
  top: 10%;
  right: 4%;
  width: 0.52rem;
  height: 0.52rem;
}

.generated-cover__orbit::after {
  bottom: 17%;
  left: -2%;
  width: 0.28rem;
  height: 0.28rem;
}

.generated-cover__initials {
  position: absolute;
  top: 17%;
  left: 50%;
  z-index: 1;
  color: rgba(255, 255, 255, 0.96);
  font-family: "Arial Narrow", "Avenir Next Condensed", sans-serif;
  font-size: clamp(2.5rem, 3.6vw, 4.4rem);
  font-weight: 950;
  letter-spacing: -0.1em;
  line-height: 0.8;
  text-shadow: 0 0.8rem 2.2rem rgba(0, 0, 0, 0.38);
  transform: translateX(-53%);
}

.generated-cover__name,
.generated-cover__type {
  position: relative;
  z-index: 1;
}

.generated-cover__name {
  max-width: 12ch;
  color: #fff;
  font-family: "Arial Narrow", "Avenir Next Condensed", sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-transform: uppercase;
}

.generated-cover__type {
  margin-top: 0.34rem;
  color: color-mix(in srgb, var(--cover-accent) 74%, white);
  font-size: 0.48rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.game-card:hover .game-art img,
.game-card:focus-visible .game-art img,
.game-card:focus-within .game-art img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.game-card:hover .generated-cover,
.game-card:focus-visible .generated-cover,
.game-card:focus-within .generated-cover {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.045);
}

.card-rank {
  position: absolute;
  bottom: 0.55rem;
  left: 0.62rem;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.card-hover-label {
  position: absolute;
  right: 0.58rem;
  bottom: 0.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.51rem;
  font-weight: 780;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 180ms ease, transform 220ms var(--ease);
}

.card-hover-label span {
  color: var(--cyan);
  font-size: 0.72rem;
}

.game-card:hover .card-hover-label,
.game-card:focus-visible .card-hover-label,
.game-card:focus-within .card-hover-label {
  opacity: 1;
  transform: translateY(0);
}

.card-badge {
  position: absolute;
  top: 0.58rem;
  left: 0.58rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  background: rgba(7, 11, 16, 0.7);
  color: #fff;
  padding: 0.32rem 0.48rem;
  font-size: 0.48rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.card-badge--lime {
  background: var(--lime);
  color: #0d1206;
}

.card-badge--blue {
  background: var(--cyan);
  color: #061014;
}

.card-badge--coral {
  background: var(--coral);
  color: #170805;
}

.card-save {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-color: rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  background: rgba(5, 8, 12, 0.58);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.card-save:hover,
.card-save[aria-pressed="true"] {
  border-color: rgba(216, 255, 82, 0.58);
  background: rgba(14, 19, 12, 0.78);
  color: var(--lime);
}

.card-save svg {
  width: 0.9rem;
}

.game-card-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.78rem 0.2rem 0;
}

.game-card-copy > div {
  min-width: 0;
}

.game-card h3 {
  overflow: hidden;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card h3 a {
  color: inherit;
  text-decoration: none;
}

.game-card p {
  overflow: hidden;
  margin: 0.32rem 0 0;
  color: var(--muted-dark);
  font-size: 0.59rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-arrow {
  flex: 0 0 auto;
  color: var(--muted-dark);
  font-size: 0.8rem;
  transition: color 180ms ease, transform 180ms var(--ease);
}

.game-card:hover .card-arrow,
.game-card:focus-visible .card-arrow {
  color: var(--cyan);
  transform: translate(0.1rem, -0.1rem);
}

.empty-state {
  min-height: 14rem;
  margin: 0;
  place-items: center;
  color: var(--muted);
  font-size: 0.84rem;
}

.empty-state:not([hidden]) {
  display: grid;
}

/* 关键模块：完整站点页脚收束内容，并消除旧版底部过量留白。 */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 82% 20%, rgba(113, 230, 255, 0.09), transparent 23rem),
    linear-gradient(145deg, #090d13 0%, #080b10 56%, #0b1118 100%);
}

.site-footer::after {
  position: absolute;
  top: -14rem;
  right: -10rem;
  width: 29rem;
  aspect-ratio: 1;
  border: 1px solid rgba(113, 230, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 4.5rem rgba(113, 230, 255, 0.018),
    0 0 0 9rem rgba(113, 230, 255, 0.012);
  content: "";
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: clamp(2.8rem, 4vw, 4.8rem) clamp(1.5rem, 3.3vw, 4rem) 1.4rem;
}

.footer-callout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(22rem, 1.1fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 8rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}

.footer-headline h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(1.7rem, 2.7vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.footer-message {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  max-width: 44rem;
}

.footer-message p {
  max-width: 43rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.75;
}

.footer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-stats > div {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem 1.4rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-stats > div:first-child {
  border-left: 0;
}

.footer-stats dt {
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
  font-weight: 820;
  letter-spacing: -0.05em;
  line-height: 1;
}

.footer-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 690;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto minmax(14rem, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: 1.35rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--text);
  text-decoration: none;
}

.footer-brand .brand-mark {
  width: 2rem;
  height: 2rem;
  flex-basis: 2rem;
}

.footer-brand > span:last-child {
  display: grid;
  gap: 0.08rem;
}

.footer-brand strong {
  font-size: 0.66rem;
  letter-spacing: 0.17em;
}

.footer-brand small {
  color: var(--muted-dark);
  font-size: 0.51rem;
}

.footer-bottom > p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.58rem;
  line-height: 1.6;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--cyan);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(113, 230, 255, 0.45);
  color: var(--text);
  padding: 0.45rem 0;
  font-size: 0.68rem;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 180ms ease, color 180ms ease;
}

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

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.mobile-dock {
  display: none;
}

.toast {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 150;
  max-width: min(22rem, calc(100vw - 2rem));
  border: 1px solid var(--line-strong);
  border-radius: 0.58rem;
  background: rgba(13, 18, 25, 0.92);
  color: var(--text);
  padding: 0.78rem 1rem;
  font-size: 0.72rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.8rem);
  backdrop-filter: blur(16px);
  transition: opacity 180ms ease, transform 220ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-copy-reveal {
  from {
    opacity: 0;
    transform: translateY(1.3rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes interface-reveal {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gallery-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1180px) {
  :root {
    --rail-width: 184px;
  }

  .brand--rail {
    padding-inline: 0.9rem;
  }

  .brand-name {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .rail-nav {
    padding-inline: 0.65rem;
  }

  .rail-link::before {
    left: -0.67rem;
  }

  .rail-footer-pulse {
    display: none;
  }

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

  .media-dock {
    width: min(46vw, 520px);
  }

  .hero-copy {
    width: min(570px, 52vw);
  }
}

@media (max-width: 860px) {
  :root {
    --rail-width: 0px;
  }

  .side-rail {
    display: none;
  }

  .site-shell {
    margin-left: 0;
  }

  .topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.85rem;
    height: 68px;
    padding: 0 1rem;
  }

  .brand--mobile {
    display: inline-flex;
  }

  .brand--mobile .brand-name {
    display: none;
  }

  .search {
    height: 2.42rem;
  }

  .search input {
    padding-right: 2.65rem;
  }

  .search-clear {
    right: 0.42rem;
  }

  .search kbd,
  .edition-pill,
  .top-actions .icon-button:first-child {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding: 6.4rem 1.25rem 8.8rem;
  }

  .hero-media img,
  .hero-media video {
    object-position: 62% center;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, var(--ink) 0%, rgba(7, 9, 13, 0.85) 24%, rgba(7, 9, 13, 0.26) 70%, rgba(4, 6, 9, 0.34) 100%),
      linear-gradient(90deg, rgba(5, 7, 11, 0.75), rgba(5, 7, 11, 0.08));
  }

  .hero-topline {
    top: 5.55rem;
    right: 1.25rem;
    left: 1.25rem;
  }

  .hero-copy {
    width: min(100%, 610px);
    margin-bottom: 4rem;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 15vw, 7rem);
  }

  .hero.hero--long-title h1 {
    max-width: 11ch;
    font-size: clamp(3.3rem, 11.5vw, 5.8rem);
  }

  .favorite-button {
    top: 7.4rem;
    right: 1.15rem;
  }

  .media-dock {
    right: 1rem;
    bottom: 1.1rem;
    left: 1rem;
    width: auto;
  }

  .media-arrow {
    top: auto;
    bottom: 7.2rem;
    width: 2.7rem;
    height: 2.7rem;
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(5, 8, 12, 0.72);
    opacity: 0.92;
    box-shadow: 0 0.65rem 1.8rem rgba(0, 0, 0, 0.28);
    transform: none;
  }

  .media-arrow--previous {
    left: 0.75rem;
  }

  .media-arrow--next {
    right: 0.75rem;
  }

  .library-section {
    padding: 2.5rem 1rem 4.5rem;
  }

  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__inner {
    padding: 2.7rem 1rem calc(6.6rem + env(safe-area-inset-bottom));
  }

  .footer-callout {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 1.35rem;
    padding-bottom: 2.5rem;
  }

  .footer-message {
    max-width: 58ch;
  }

  .footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
  }

  .footer-bottom > p {
    max-width: 48ch;
    text-align: left;
  }

  .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .text-link {
    justify-self: start;
  }

  .mobile-dock {
    position: fixed;
    right: 0.8rem;
    bottom: max(0.8rem, env(safe-area-inset-bottom));
    left: 0.8rem;
    z-index: 100;
    display: grid;
    height: 4rem;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 1.05rem;
    background: rgba(10, 14, 20, 0.92);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
  }

  .mobile-dock::before {
    position: absolute;
    inset: -1.5rem -0.8rem -1.5rem;
    z-index: -1;
    background: linear-gradient(0deg, rgba(7, 9, 13, 0.78), transparent);
    content: "";
    pointer-events: none;
  }

  .mobile-dock button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    color: var(--muted-dark);
    padding: 0;
    font-size: 0.56rem;
    font-weight: 720;
    cursor: pointer;
  }

  .mobile-dock button.is-active {
    color: var(--cyan);
  }

  .mobile-dock svg {
    width: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
  }
}

@media (max-width: 600px) {
  .top-actions .icon-button {
    width: 2.2rem;
    height: 2.2rem;
  }

  .hero {
    min-height: 690px;
    padding-bottom: 7.5rem;
  }

  .hero-topline {
    top: 5.15rem;
  }

  .favorite-button {
    top: 6.65rem;
  }

  .favorite-button span {
    display: none;
  }

  .favorite-button {
    width: 2.55rem;
    justify-content: center;
    padding: 0;
  }

  .hero-copy {
    margin-bottom: 4.5rem;
  }

  .hero-kicker {
    max-width: 32ch;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    line-height: 1.45;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 17vw, 5.3rem);
  }

  .hero.hero--long-title h1 {
    max-width: 10ch;
    font-size: clamp(2.75rem, 12.8vw, 4.25rem);
    line-height: 0.86;
  }

  .hero-description {
    max-width: 36ch;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .hero-meta span:last-child {
    display: none;
  }

  .hero-actions .button {
    min-height: 2.8rem;
  }

  .button--primary {
    min-width: 10.4rem;
  }

  .thumbnail-track {
    grid-auto-columns: 84px;
  }

  .thumbnail-track--games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-columns: initial;
  }

  .media-thumbnail--game > span:last-child {
    font-size: 0.56rem;
  }

  .media-dots {
    justify-content: center;
  }

  .media-dock-footer {
    gap: 0.7rem;
  }

  .media-status {
    max-width: 55vw;
  }

  .media-arrow {
    top: auto;
    bottom: 7.05rem;
    width: 2.75rem;
    height: 2.75rem;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-controls > span {
    display: none;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.78rem;
  }

  .game-card h3 {
    font-size: 0.72rem;
  }

  .footer-headline h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .footer-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-stats > div {
    grid-template-columns: 3rem minmax(0, 1fr);
    align-items: center;
    gap: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
    padding: 0.9rem 0.3rem;
  }

  .footer-stats > div:first-child {
    border-top: 0;
  }

  .mobile-dock button {
    flex-direction: column;
    gap: 0.22rem;
  }

  .toast {
    right: 1rem;
    bottom: 5.5rem;
    left: 1rem;
    max-width: none;
  }
}

@media (min-width: 1720px) {
  .game-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
