﻿/* 9pm短剧 官网样式 —— 暗色分镜台 */

:root {
  --ink: #16181a;
  --ink-deep: #101213;
  --panel: #1b1e20;
  --panel-soft: #202426;
  --line: rgba(242, 239, 232, 0.12);
  --line-strong: rgba(242, 239, 232, 0.24);
  --paper: #f2efe8;
  --muted: #a5a79f;
  --dim: #7d817b;
  --amber: #ffb02e;
  --teal: #2f4f4c;
  --lime: #c8ff4d;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shell: 1160px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono",
    "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--ink);
  background-image: radial-gradient(
      circle at 12% -6%,
      rgba(47, 79, 76, 0.42),
      transparent 46%
    ),
    radial-gradient(circle at 88% 4%, rgba(255, 176, 46, 0.09), transparent 34%);
  background-repeat: no-repeat;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 60;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--amber);
  color: #1a1a1a;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 28px;
}

/* 页头 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background-color: rgba(22, 24, 26, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-text {
  display: block;
  line-height: 1.25;
}

.brand-name {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-domain {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  position: relative;
  font-size: 14.5px;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--paper);
  transition: width 0.22s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--paper);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

/* 按钮 */

.btn {
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn:not([hidden]) {
  display: inline-flex;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: #191919;
}

.btn-primary:hover {
  background: #ffc056;
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--paper);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(242, 239, 232, 0.06);
}

.btn-arrow {
  font-family: var(--font-mono);
  font-size: 13px;
}

.nav-cta {
  padding: 10px 20px;
  font-size: 14px;
}

.nav-cta:not([hidden]) {
  display: inline-flex;
}

/* 首屏 */

.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--line-strong);
}

.hero-title {
  margin-top: 20px;
  font-size: clamp(33px, 4.6vw, 50px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: normal;
  color: var(--paper);
}

.hero-lead {
  margin-top: 22px;
  max-width: 33em;
  font-size: 16.5px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 79, 76, 0.35);
}

/* 镜头格 */

.frame {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.frame-tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-bottom-right-radius: 10px;
  background: rgba(16, 18, 19, 0.86);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.frame-tag::before {
  content: "";
  width: 12px;
  height: 7px;
  border-top: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  opacity: 0.9;
}

.frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame-caption {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* 首屏分镜组合：两横一竖 */

.board {
  position: relative;
}

.board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.board-grid .frame:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.board-grid .frame:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
}

.board-grid .frame:nth-child(2) img {
  flex: 1 1 0;
  width: 100%;
  height: auto;
  min-height: 0;
}

.board-grid .frame:nth-child(1) img,
.board-grid .frame:nth-child(3) img {
  height: auto;
  aspect-ratio: 16 / 9;
}

.board-grid .frame:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}

.board-grid .frame:nth-child(1) img,
.board-grid .frame:nth-child(3) img {
  aspect-ratio: 16 / 9;
}

.board-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.board-note span:last-child {
  color: var(--muted);
}

/* 分集时间轴 */

.timeline-section {
  padding: 26px 0 10px;
}

.timeline-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(32, 36, 38, 0.9), rgba(24, 27, 29, 0.9));
  padding: 26px 28px 28px;
}

.timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
}

.timeline-head h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.timeline-head p {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.timeline-readout {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: 20px;
}

.timeline-episode {
  font-size: 26px;
  font-weight: 800;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

.timeline-caption {
  font-size: 14px;
  color: var(--muted);
}

.progress {
  position: relative;
  height: 6px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(242, 239, 232, 0.1);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 12.5%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), #ffcf7a);
  transition: width 0.35s ease;
}

.progress-fill.ep-1 { width: 12.5%; }
.progress-fill.ep-2 { width: 25%; }
.progress-fill.ep-3 { width: 37.5%; }
.progress-fill.ep-4 { width: 50%; }
.progress-fill.ep-5 { width: 62.5%; }
.progress-fill.ep-6 { width: 75%; }
.progress-fill.ep-7 { width: 87.5%; }
.progress-fill.ep-8 { width: 100%; }

.progress-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.episodes {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.episode-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(22, 24, 26, 0.7);
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease,
    background-color 0.18s ease, transform 0.18s ease;
}

.episode-btn .episode-num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.episode-btn:hover {
  border-color: var(--line-strong);
  color: var(--paper);
}

.episode-btn[aria-pressed="true"] {
  border-color: var(--amber);
  background: rgba(255, 176, 46, 0.12);
  color: var(--amber);
  transform: translateY(-1px);
}

.timeline-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.timeline-note strong {
  color: var(--paper);
  font-weight: 600;
}

/* 版块通用 */

.section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px 56px;
  align-items: start;
  margin-bottom: 44px;
}

.section-title {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.005em;
}

.section-desc {
  max-width: 42em;
  font-size: 15.5px;
  color: var(--muted);
}

.section-desc + .section-desc {
  margin-top: 10px;
}

/* 三项核心能力 */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 140px;
  height: 140px;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.6;
}

.feature-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.feature-index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.feature-card h3 {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.feature-card p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--muted);
}

.feature-list {
  margin-top: 18px;
  display: grid;
  gap: 7px;
}

.feature-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--teal);
}

/* 题材与筛选 */

.genre-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}

.genre-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.genre-panel h3 {
  font-size: 17px;
  font-weight: 700;
}

.genre-panel p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.genre-tag {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(22, 24, 26, 0.6);
}

.genre-tag.is-current {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(255, 176, 46, 0.1);
}

.genre-notes {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.genre-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.genre-note span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.genre-note p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.genre-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--paper);
  font-weight: 600;
}

.genre-visual {
  position: relative;
}

.genre-visual .frame img {
  aspect-ratio: 8 / 5;
}

.genre-visual .frame-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* 追剧与续播 */

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.split-card {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.split-card h3 {
  font-size: 21px;
  font-weight: 700;
}

.split-card > p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--muted);
}

.split-steps {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.split-steps li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

.split-steps b {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

/* 播放体验 */

.playback-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.spec-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(47, 79, 76, 0.34), rgba(27, 30, 32, 0.9));
}

.spec-card h3 {
  font-size: 16.5px;
  font-weight: 700;
}

.spec-card p {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

.spec-mark {
  display: block;
  width: 26px;
  height: 2px;
  margin-bottom: 16px;
  background: var(--teal);
}

/* 三步流程 */

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step-item {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.step-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--dim);
}

.step-item h3 {
  margin-top: 12px;
  font-size: 17.5px;
  font-weight: 700;
}

.step-item p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

/* 常见问题 */

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 62em;
}

/* 下载区 */

.download-section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 18, 19, 0.7), rgba(22, 24, 26, 0.2));
}

.download-head {
  max-width: 46em;
  margin-bottom: 34px;
}

.download-head h2 {
  margin-top: 16px;
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.22;
}

.download-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(236px, 1fr));
  gap: 14px;
}

.download-card {
  position: relative;
  padding: 24px 24px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--paper);
  transition: border-color 0.2s ease, transform 0.2s ease,
    background-color 0.2s ease;
}

.download-card:not([hidden]) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.download-card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
}

.download-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--dim);
}

.download-channel::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 2px;
}

.download-card h3 {
  margin-top: 6px;
  font-size: 21px;
  font-weight: 700;
}

.download-card p {
  font-size: 13.5px;
  color: var(--muted);
}

.download-go {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
}

.download-go span:last-child {
  font-family: var(--font-mono);
}

.download-foot {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

/* 页脚 */

.site-footer {
  padding: 54px 0 34px;
  border-top: 1px solid var(--line);
  background: var(--ink-deep);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-brand .brand-logo {
  width: 38px;
  height: 38px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--dim);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--paper);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--dim);
}

/* 404 */

.error-page {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 60px 0;
}

.error-shell {
  width: 100%;
}

.error-panel {
  position: relative;
  max-width: 640px;
  padding: 46px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--dim);
}

.error-panel h1 {
  margin-top: 16px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.3;
}

.error-panel p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.error-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

/* 响应式 */

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .hero-lead {
    max-width: 40em;
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .feature-grid,
  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .playback-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .genre-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 12px 0;
  }

  .nav {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 14px;
  }

  .episodes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .shell {
    padding: 0 18px;
  }

  body {
    font-size: 15.5px;
  }

  .hero {
    padding: 44px 0 24px;
  }

  .hero-title {
    font-size: clamp(30px, 9vw, 40px);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .board-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

  .section {
    padding: 58px 0;
  }

  .timeline-panel {
    padding: 20px 18px 22px;
  }

  .episodes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .episode-btn {
    padding: 10px 2px 8px;
  }

  .timeline-episode {
    font-size: 22px;
  }

  .feature-grid,
  .split-grid,
  .step-list,
  .playback-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-steps li {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .error-panel {
    padding: 32px 24px;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .episodes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-domain {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms;
    animation-iteration-count: 1;
    transition-duration: 0.001ms;
  }

  .btn:hover,
  .feature-card:hover,
  .download-card:hover,
  .episode-btn[aria-pressed="true"] {
    transform: none;
  }
}

