/* 樱花日剧 · 和纸蓝染（整洁版）— 覆盖暗色玫瑰金模板，不改成品壳 */

:root {
  --bg: #f6f3ec;
  --bg-2: #efebe2;
  --bg-3: #e7e1d5;
  --card: #ffffff;
  --card-hi: #faf8f3;
  --text: #1b2733;
  --text-soft: #3d4a57;
  --muted: #6b7480;
  --muted-2: #8b8478;
  --line: #e4ddd0;
  --line-strong: #d4ccbd;
  --primary: #1f4d64;
  --primary-soft: #2d6884;
  --primary-strong: #163849;
  --primary-dim: rgba(31, 77, 100, 0.1);
  --accent: #5f8668;
  --accent-soft: #7fa186;
  --accent-dim: rgba(95, 134, 104, 0.14);
  --ink: #1b3344;
  --paper: #f6f3ec;
  --rail: 1080px;
  --radius: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(27, 39, 51, 0.04);
  --shadow-md: 0 8px 24px rgba(27, 39, 51, 0.07);
  --shadow-lg: 0 14px 36px rgba(27, 39, 51, 0.1);
  --shadow-primary: none;
  --font-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-en: "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.trailer-fsp__video {
  width: 100%;
  display: block;
  vertical-align: middle;
}

html,
body,
#root {
  background: var(--paper);
  color: var(--text);
}

body {
  background: var(--paper) !important;
  background-image: none !important;
  color: var(--text);
  line-height: 1.65;
}

body::before {
  display: none !important;
}

.app-shell {
  background: var(--paper);
}

.container {
  width: min(var(--rail), calc(100% - 40px));
}

/* ── 顶栏：细、居中、不抢视线 ── */
.top-strip {
  text-align: center;
  letter-spacing: 0.04em;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  padding-top: max(7px, env(safe-area-inset-top, 0px));
  color: rgba(255, 255, 255, 0.88);
  background: var(--ink) !important;
}

.top-strip::after {
  display: none !important;
}

/* ── 头部：单行对齐，不再分色、不再撑满视口 ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header::after {
  display: none !important;
}

.header-inner {
  display: grid !important;
  grid-template-columns: auto 1fr minmax(220px, 280px) auto;
  grid-template-areas: "brand nav search auth";
  align-items: center;
  column-gap: 28px;
  row-gap: 0;
  min-height: 64px;
  padding: 10px 0;
}

.header-brand { grid-area: brand; }
.header-nav { grid-area: nav; }
.header-search { grid-area: search; }
.header-auth { grid-area: auth; }

.header-brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 8px !important;
  background: var(--ink) !important;
  box-shadow: none !important;
  font-size: 12px;
}

.header-brand__logo::after {
  display: none;
}

.header-brand__text strong {
  font-family: var(--font-en);
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.header-brand__text span {
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: none;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px 22px;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none;
  background: transparent !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.header-nav a {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--text-soft) !important;
  padding: 8px 0;
  background: none !important;
  box-shadow: none !important;
}

.header-nav a::after {
  display: none !important;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--ink) !important;
  background: none !important;
}

.header-nav a.active {
  box-shadow: inset 0 -2px 0 var(--ink) !important;
}

.header-search {
  justify-self: stretch;
  width: 100%;
  height: 38px;
  border-radius: 8px !important;
  border: 1px solid var(--line-strong) !important;
  background: #fff !important;
  overflow: hidden;
}

.header-search:focus-within {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px var(--primary-dim);
}

.header-search input {
  color: var(--text);
  font-size: 13px;
}

.header-search input::placeholder {
  color: var(--muted-2);
}

.header-search button {
  padding: 0 14px;
  border-radius: 0;
  background: var(--ink) !important;
  color: #fff !important;
}

.header-user-name {
  border-radius: 8px;
  background: var(--primary-dim);
  border-color: transparent;
  color: var(--ink);
}

.header-link-btn {
  color: var(--text-soft);
}

.header-link-btn:hover {
  color: var(--ink);
}

.header-reg {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 8px !important;
  background: var(--ink) !important;
  box-shadow: none !important;
  color: #fff !important;
}

.header-reg:hover {
  transform: none;
  background: var(--primary-soft) !important;
}

/* ── Hero：去掉纸盒和竖条，只留对齐的刊头文字 ── */
.hero-fsp {
  display: block;
  min-height: 0 !important;
  padding: 48px 0 8px !important;
  overflow: visible;
  border-bottom: none !important;
  background: transparent;
}

.hero-fsp__bg {
  display: none !important;
}

.hero-fsp__inner {
  background: transparent;
  border: none;
  padding: 0;
  max-width: none;
}

.hero-fsp__inner > *,
.hero-fsp__inner > .hero-fsp__lead,
.hero-fsp__inner > .hero-fsp__stats {
  max-width: none;
}

.hero-fsp__kicker {
  color: var(--primary);
  letter-spacing: 0.14em;
}

.hero-fsp__kicker::before {
  background: var(--ink);
  width: 16px;
}

.hero-fsp__title {
  font-family: var(--font-en) !important;
  font-size: clamp(28px, 4vw, 40px) !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.28;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: var(--ink) !important;
  color: var(--ink) !important;
}

.hero-fsp__lead {
  max-width: 38rem;
  color: var(--text-soft);
}

.hero-fsp__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 420px !important;
  border: none !important;
}

.hero-fsp__stat {
  padding: 0;
  text-align: left;
  background: none;
  border: none !important;
}

.hero-fsp__stat + .hero-fsp__stat {
  border-left: none !important;
  padding-left: 0;
}

.hero-fsp__stat strong {
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--ink) !important;
}

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

/* ── 中部分区：同一套标题和间距 ── */
.home-fsp__stack {
  padding: 36px 0 56px;
  gap: 56px;
}

.section-kicker {
  color: var(--primary);
}

.section-kicker::before {
  background: var(--ink);
  width: 14px;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2,
.section-title h1,
.section-title.left-title h1 {
  font-family: var(--font-en);
  color: var(--ink);
  letter-spacing: 0.01em;
}

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

.why-fsp__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  overflow: visible;
}

.why-fsp__card {
  padding: 22px 20px 24px;
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-md) !important;
}

.why-fsp__card:last-child {
  border-right: 1px solid var(--line) !important;
}

.why-fsp__card:hover {
  background: var(--card) !important;
  box-shadow: var(--shadow-md);
}

.why-fsp__card::after {
  display: none;
}

.why-fsp__card h3 {
  color: var(--ink);
}

.why-fsp__card p {
  color: var(--muted);
}

.genre-fsp__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.genre-fsp__card {
  border-radius: var(--radius-md) !important;
  background: var(--card);
  border: 1px solid var(--line);
  min-height: 100%;
}

.genre-fsp__card:hover {
  transform: none;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.genre-fsp__head h3 {
  color: var(--ink);
}

.genre-fsp__count {
  border-radius: 6px;
  background: var(--paper);
  color: var(--muted);
}

.genre-fsp__pick {
  border-radius: 6px;
  background: var(--accent-dim);
  color: var(--primary);
  letter-spacing: 0.06em;
}

.genre-fsp__more {
  color: var(--primary) !important;
}

.fsp-link-all {
  border-radius: 8px;
  letter-spacing: 0.06em;
  color: var(--ink);
  border-color: var(--line-strong);
}

.fsp-link-all:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

/* ── 影片卡：三列竖卡，等高、圆角统一 ── */
.fsp-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fsp-hl-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md) !important;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  height: 100%;
}

.fsp-hl-card:hover {
  transform: none !important;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.fsp-hl-card__media {
  aspect-ratio: 16 / 10;
  min-height: 0;
  height: auto;
}

.fsp-hl-card__media::after {
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(27, 51, 68, 0.28));
}

.fsp-hl-card__body {
  padding: 16px 16px 18px;
  flex: 1;
}

.fsp-hl-card__label {
  color: var(--primary);
  letter-spacing: 0.1em;
}

.fsp-hl-card__body h3 {
  font-family: var(--font-en);
  font-size: 17px;
  color: var(--ink);
}

.fsp-hl-card__body h3 a:hover {
  color: var(--primary-soft);
}

.fsp-hl-card__desc {
  color: var(--muted);
  -webkit-line-clamp: 2;
}

.fsp-hl-card__nums {
  border-top-style: solid;
  color: var(--muted);
}

.fsp-hl-card__nums span:first-child {
  color: var(--primary);
}

.fsp-more-btn,
.btn-hero,
.primary-btn,
.ghost-btn,
.link-more,
.result-row__play,
.latest-row__detail,
.filter-chip {
  border-radius: 8px !important;
}

.btn-hero--primary,
.primary-btn,
.link-more,
.result-row__play,
.header-search button {
  background: var(--ink) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.btn-hero--primary:hover,
.primary-btn:hover,
.link-more:hover {
  filter: none;
  background: var(--primary-soft) !important;
}

.btn-hero--ghost,
.ghost-btn,
.fsp-more-btn {
  color: var(--ink) !important;
  border: 1px solid var(--line-strong) !important;
  background: #fff !important;
}

.btn-hero--ghost:hover,
.ghost-btn:hover,
.fsp-more-btn:hover {
  background: var(--ink) !important;
  color: #fff !important;
  border-color: var(--ink) !important;
}

.btn-hero--fav.is-on {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-dim);
}

.trailer-fsp__box {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.trailer-fsp__video-wrap {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: none !important;
}

.trailer-fsp__dur {
  border-radius: 6px;
  color: #fff;
  background: var(--ink);
}

.trailer-fsp__side {
  padding: 0;
}

.trailer-fsp__kicker,
.trailer-fsp__badge {
  color: var(--primary);
}

.trailer-fsp__badge {
  border-radius: 6px;
  background: var(--primary-dim);
  border-color: transparent;
}

.trailer-fsp__side h3 {
  font-family: var(--font-en);
  color: var(--ink);
}

.cta-fsp {
  border-radius: var(--radius-lg) !important;
  background: var(--ink) !important;
  border: none !important;
  box-shadow: none !important;
}

.cta-fsp__inner {
  padding: 40px 36px;
  text-align: left;
}

.cta-fsp__inner h2 {
  font-family: var(--font-en);
  color: #f7f4ee;
}

.cta-fsp__inner > p {
  color: rgba(247, 244, 238, 0.72);
  max-width: 36rem;
}

.cta-fsp__btns {
  justify-content: flex-start;
}

.cta-fsp .btn-hero--primary {
  background: #fff !important;
  color: var(--ink) !important;
}

.cta-fsp .btn-hero--ghost {
  color: #f7f4ee !important;
  border-color: rgba(247, 244, 238, 0.28) !important;
  background: transparent !important;
}

.cta-fsp .btn-hero--ghost:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

.home-sections { padding: 40px 0 56px; }

.pick-grid,
.cat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pick-card,
.cat-tile,
.video-card,
.latest-hints li {
  border-radius: var(--radius-md) !important;
  background: var(--card);
  border: 1px solid var(--line);
}

.pick-card:hover,
.cat-tile:hover,
.video-card:hover {
  transform: none !important;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.pick-card__cover,
.video-thumb {
  aspect-ratio: 16 / 10;
}

.pick-card__badge,
.tag-left,
.latest-row__badge,
.result-row__badge {
  border-radius: 6px;
  background: var(--ink) !important;
}

.pick-card__score {
  border-radius: 6px;
  color: #fff;
  background: var(--accent) !important;
}

.pick-card h3,
.cat-tile h3,
.video-body h3 {
  font-family: var(--font-en);
  color: var(--ink);
}

.pick-card h3 a:hover,
.video-body h3 a:hover {
  color: var(--primary-soft);
}

.cat-tile__go,
.pick-card__more {
  color: var(--primary);
}

.stats-strip {
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--line);
  text-align: left;
}

.stats-strip__item strong {
  font-family: var(--font-en);
  color: var(--ink) !important;
}

.latest-tabs__btn {
  border-radius: 8px !important;
}

.latest-tabs__btn.is-active {
  background: var(--ink) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.latest-list {
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--line);
}

.latest-row:hover,
.result-row:hover {
  background: rgba(31, 77, 100, 0.04) !important;
}

.latest-row__ep,
.latest-row__ago {
  color: var(--primary) !important;
}

.latest-row__detail:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

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

/* ── 分类 / 题材 / 搜索：两列整齐卡片 ── */
.inner-page {
  padding: 28px 0 64px;
}

.page-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md) !important;
  padding: 22px 24px 20px;
}

.page-panel--flush {
  padding: 0;
  background: transparent;
  border-color: transparent;
}

.page-head-panel {
  background: var(--card) !important;
}

.page-head-panel::before {
  display: none !important;
}

.page-head-panel .section-title h1 {
  color: var(--ink);
}

.page-head-panel .section-title p {
  color: var(--muted);
}

.filter-row {
  margin-top: 16px;
}

.filter-chip {
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
  background: #fff;
}

.filter-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--paper);
}

.filter-chip--active,
a.filter-chip[aria-current="page"] {
  border-color: var(--ink) !important;
  color: #fff !important;
  background: var(--ink) !important;
  box-shadow: none !important;
}

.result-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  border: none !important;
  background: transparent !important;
  border-radius: 0;
  overflow: visible;
}

.result-list > li {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0;
}

.result-row {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 0 !important;
  padding: 0 !important;
  height: 100%;
  background: transparent;
}

.result-row__poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0 !important;
  border: none !important;
}

.result-row__main {
  padding: 14px 16px 4px;
}

.result-row__main h3 {
  font-family: var(--font-en);
  color: var(--ink);
}

.result-row__main h3 a:hover {
  color: var(--primary-soft);
}

.result-row__desc {
  color: var(--muted);
}

.result-row__meta span:nth-child(3) {
  color: var(--primary);
}

.result-row__play {
  margin: 10px 16px 16px;
  align-self: flex-start;
  min-height: 36px;
  padding: 0 16px;
}

.search-empty {
  color: var(--muted);
}

/* ── 详情 / 播放 ── */
.detail-hero {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--line);
  background: var(--card);
}

.detail-hero__bg {
  opacity: 0.2;
  filter: grayscale(0.25) brightness(0.95);
}

.detail-hero__bg::after {
  background: linear-gradient(90deg, #ffffff 30%, rgba(255, 255, 255, 0.9) 70%, rgba(255, 255, 255, 0.62));
}

.detail-hero__inner {
  padding: 24px;
}

.detail-hero__cover {
  border-radius: 8px;
  border-color: var(--line);
  box-shadow: var(--shadow-md) !important;
}

.detail-hero__body h1 {
  font-family: var(--font-en);
  color: var(--ink) !important;
}

.detail-hero__desc {
  color: var(--text-soft) !important;
}

.pill-badge {
  border-radius: 6px;
  color: var(--ink);
  background: var(--accent-dim);
  border-color: transparent;
}

.detail-tags span {
  border-radius: 6px;
  background: #fff;
  border-color: var(--line-strong);
  color: var(--text-soft);
}

.detail-info-grid div {
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--line);
}

.detail-info-grid div::before {
  background: var(--ink);
}

.detail-info-grid span {
  color: var(--muted);
}

.detail-info-grid strong {
  color: var(--ink);
}

.player-head-simple h1 {
  font-family: var(--font-en);
  color: var(--ink);
}

.video-frame {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: none !important;
}

.play-info-section {
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--line);
}

.play-info-title {
  font-family: var(--font-en);
  color: var(--ink);
}

.play-info-desc {
  color: var(--text-soft);
}

/* ── 登录 / 静态 ── */
.auth-card {
  border-radius: var(--radius-lg) !important;
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-md) !important;
}

.auth-card::before {
  height: 4px;
  background: var(--ink) !important;
}

.auth-card h1 {
  font-family: var(--font-en);
  color: var(--ink) !important;
}

.auth-card > p,
.auth-switch {
  color: var(--muted) !important;
}

.auth-field label {
  color: var(--text-soft) !important;
}

.auth-field input {
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--text) !important;
  border-color: var(--line-strong) !important;
}

.auth-field input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px var(--primary-dim);
  outline: none;
}

.auth-err {
  border-radius: 8px;
  color: #8a2a2a;
  background: #f8e8e4;
  border-color: #e4c4bc;
}

.auth-switch a {
  color: var(--primary) !important;
}

.auth-submit {
  background: var(--ink) !important;
}

.static-prose,
.static-prose h2,
.static-prose h3 {
  color: var(--text-soft);
}

.static-prose h2,
.static-prose h3 {
  color: var(--ink);
  font-family: var(--font-en);
}

.static-faq-item,
.static-contact {
  border-color: var(--line);
}

/* ── 底部：四列对齐 ── */
.site-footer--fsp {
  margin-top: 8px;
}

.footer-fsp__upper {
  background: var(--ink) !important;
  color: rgba(247, 244, 238, 0.78);
  padding: 44px 16px 36px;
  border-top: none;
}

.footer-fsp__upper::before {
  display: none !important;
}

.footer-fsp__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
}

.footer-fsp__col--brand {
  grid-column: auto;
  padding-right: 12px;
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.footer-fsp__intro {
  max-width: 20rem;
  color: rgba(247, 244, 238, 0.6);
}

.footer-fsp__logo-mark {
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--ink);
}

.footer-fsp__logo strong {
  color: #f7f4ee;
  font-family: var(--font-en);
}

.footer-fsp__logo-sub {
  color: rgba(247, 244, 238, 0.5);
}

.footer-fsp__title {
  color: rgba(247, 244, 238, 0.5) !important;
  letter-spacing: 0.12em;
}

.footer-fsp__title::after {
  background: rgba(247, 244, 238, 0.28);
  width: 16px;
}

.footer-fsp__links a {
  color: rgba(247, 244, 238, 0.78);
}

.footer-fsp__links a:hover {
  color: #fff;
  padding-left: 0;
}

.footer-fsp__hint {
  color: rgba(247, 244, 238, 0.4);
}

.footer-fsp__bar {
  background: #122634 !important;
  border-top: 1px solid rgba(247, 244, 238, 0.08);
}

.footer-fsp__copyright,
.footer-fsp__sep {
  color: rgba(247, 244, 238, 0.38);
}

.footer-fsp__legal a {
  color: rgba(247, 244, 238, 0.55);
}

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

.ababseo-foot {
  background: #122634 !important;
  border-top: 1px solid rgba(247, 244, 238, 0.06);
}

.ababseo-foot__name {
  color: #f7f4ee;
}

.ababseo-foot__label {
  color: rgba(127, 161, 134, 0.7);
}

.ababseo-foot__bridge i {
  background: rgba(127, 161, 134, 0.45);
}

/* ── 响应式：同一条内容轴 ── */
@media (max-width: 1100px) {
  .why-fsp__grid,
  .genre-fsp__grid,
  .fsp-card-grid,
  .card-grid--related,
  .pick-grid,
  .cat-grid,
  .footer-fsp__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trailer-fsp__box {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(var(--rail), calc(100% - 28px));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand auth"
      "search search"
      "nav nav";
    column-gap: 12px;
    row-gap: 10px;
    padding: 12px 0 10px;
    min-height: 0;
  }

  .header-search {
    width: 100%;
  }

  .header-nav {
    gap: 0 18px;
    padding-bottom: 2px !important;
  }

  .hero-fsp {
    padding: 28px 0 4px !important;
  }

  .hero-fsp__stats {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: none !important;
  }

  .why-fsp__grid,
  .genre-fsp__grid,
  .fsp-card-grid,
  .result-list,
  .card-grid--related,
  .pick-grid,
  .cat-grid,
  .footer-fsp__grid {
    grid-template-columns: 1fr;
  }

  .cta-fsp__inner {
    padding: 28px 20px;
  }

  .result-row__play {
    width: calc(100% - 32px);
    justify-content: center;
  }

  .page-panel {
    padding: 16px;
  }

  .detail-hero__inner {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .hero-fsp__title {
    font-size: 26px !important;
  }

  .hero-fsp__cta,
  .cta-fsp__btns {
    flex-direction: column;
  }

  .hero-fsp__cta .btn-hero,
  .cta-fsp__btns .btn-hero {
    width: 100%;
    justify-content: center;
  }

  .hero-fsp__stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
