.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  padding-top: var(--safe-top);
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(47, 128, 237, .15);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto var(--touch) 1fr;
  align-items: center;
  gap: 10px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  font-weight: 900;
}

.brand-text {
  max-width: 136px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 19%, var(--ink) 20% 26%, transparent 27%),
    linear-gradient(180deg, var(--brand) 0 48%, var(--ink) 49% 55%, #fff 56% 100%);
  position: relative;
  box-shadow: 0 8px 18px rgba(239, 83, 80, .28);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--ink);
}

.brand-mark::before {
  left: 4px;
  top: 13px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transform: none;
}

.brand-mark::after {
  left: 11px;
  top: 11px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #fff;
}

.nav-toggle {
  width: var(--touch);
  height: var(--touch);
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-2);
}

.site-nav {
  position: fixed;
  inset: calc(var(--header-h) + var(--safe-top)) 12px auto;
  display: none;
  max-height: calc(100vh - var(--header-h) - 28px);
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.site-nav a {
  min-height: var(--touch);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: rgba(47, 128, 237, .08);
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--brand-2);
  background: rgba(255, 203, 61, .28);
}

.header-search {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr var(--touch);
  gap: 6px;
  width: 100%;
  padding-bottom: 10px;
}

.header-search input,
.big-search input,
.gbook-form input,
.gbook-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  outline: 0;
}

.header-search input {
  height: var(--touch);
  padding: 0 12px;
  background: rgba(255, 255, 255, .62);
}

.header-search button {
  width: var(--touch);
  height: var(--touch);
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--brand-2);
  position: relative;
}

.header-search button span,
.back-top::before {
  position: absolute;
  inset: 0;
  margin: auto;
}

.header-search button span {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.header-search button span::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: rotate(45deg);
}

.home-hero {
  padding-top: 26px;
  position: relative;
}

.home-hero::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 118px;
  height: 118px;
  border: 2px solid rgba(47, 128, 237, .14);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .9) 0 13%, rgba(47, 128, 237, .18) 14% 22%, transparent 23%),
    linear-gradient(90deg, transparent 47%, rgba(47, 128, 237, .16) 48% 52%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(47, 128, 237, .16) 48% 52%, transparent 53%);
  opacity: .7;
  pointer-events: none;
}

.home-title {
  margin-bottom: 16px;
}

.home-title h1,
.page-heading h1,
.detail-info h1,
.player-heading h1,
.article-detail h1 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

.home-title h1 {
  font-size: 28px;
  max-width: 920px;
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(255, 255, 255, .78);
}

.home-title p:last-child,
.page-heading p:last-child {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(47, 128, 237, .18);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 203, 61, .32), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(232, 247, 255, .72)),
    var(--surface-soft);
  box-shadow: 0 20px 0 rgba(47, 128, 237, .06), var(--shadow);
}

.hero-slider::before,
.hero-slider::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 14px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .9) 0 3px, transparent 4px) center / 100% 30px,
    linear-gradient(180deg, var(--brand-2), #60b8ff);
}

.hero-slider::before {
  left: 0;
}

.hero-slider::after {
  right: 0;
}

.hero-track {
  position: relative;
  aspect-ratio: 16 / 8.6;
  min-height: 220px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}

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

.hero-slide ~ .hero-empty {
  display: none;
}

.hero-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

.hero-slide a,
.hero-slide img {
  width: 100%;
  height: 100%;
}

.hero-slide img {
  object-fit: cover;
}

.hero-mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 22%, rgba(255, 203, 61, .32), transparent 24%),
    linear-gradient(90deg, rgba(31, 42, 68, .86), rgba(31, 42, 68, .18) 60%, rgba(31, 42, 68, .48));
}

.hero-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
}

.hero-kicker {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: rgba(255, 203, 61, .96);
  font-size: 12px;
  font-weight: 800;
}

.hero-copy h2 {
  max-width: 620px;
  margin: 10px 0 6px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-desc {
  display: -webkit-box;
  max-width: 620px;
  overflow: hidden;
  color: rgba(255, 255, 255, .86);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-dots {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 7px;
}

.hero-dots button {
  width: 22px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .54);
}

.hero-dots button.is-active {
  background: var(--warning);
}

.section-head {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
  position: relative;
  padding-left: 14px;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  bottom: .25em;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
}

.section-head a,
.section-head span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.vod-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.vod-card-link {
  display: block;
  height: 100%;
}

.poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  border: 1px solid rgba(47, 128, 237, .14);
  background: var(--surface-soft);
  box-shadow: 0 10px 22px rgba(47, 128, 237, .1);
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.poster-badge {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  padding: 0 6px;
  color: #fff;
  background: rgba(31, 42, 68, .74);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poster-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  background: rgba(31, 42, 68, .28);
  transition: opacity .2s ease;
}

.poster-play::before {
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
}

.poster-play::after {
  content: "";
  position: absolute;
  border-left: 14px solid var(--brand);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  transform: translateX(2px);
}

.vod-card-link:hover .poster img {
  transform: scale(1.04);
}

.vod-card-link:hover .poster-play {
  opacity: 1;
}

.vod-card-body {
  display: block;
  padding-top: 8px;
}

.vod-title,
.rank-name,
.topic-card strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vod-title {
  font-size: 14px;
}

.vod-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.vod-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.layout-two {
  display: grid;
  gap: 22px;
}

.side-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(232, 247, 255, .72)),
    var(--surface);
}

.compact {
  margin-bottom: 8px;
}

.rank-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-list a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  min-height: var(--touch);
  align-items: center;
  gap: 8px;
}

.rank-num {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--brand-2);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.rank-tag {
  color: var(--muted);
  font-size: 12px;
}

.art-grid,
.art-list {
  display: grid;
  gap: 12px;
}

.art-card a,
.gbook-item {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(232, 247, 255, .64)),
    var(--surface);
}

.art-card strong {
  display: block;
  font-size: 16px;
}

.art-card span,
.article-meta,
.reply {
  color: var(--muted);
  font-size: 13px;
}

.art-card p {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-main {
  padding-top: 18px;
  padding-bottom: calc(38px + var(--safe-bottom));
}

.breadcrumb {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  color: var(--muted);
  font-size: 13px;
  scrollbar-width: none;
}

.breadcrumb::-webkit-scrollbar,
.filter-options::-webkit-scrollbar,
.episode-list::-webkit-scrollbar,
.page-nav::-webkit-scrollbar {
  display: none;
}

.breadcrumb a {
  white-space: nowrap;
}

.page-heading {
  padding: 14px 0 18px;
}

.page-heading h1,
.detail-info h1,
.player-heading h1,
.article-detail h1 {
  font-size: 28px;
}

.filter-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(232, 247, 255, .8)),
    var(--surface);
}

.filter-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}

.filter-label {
  min-height: var(--touch);
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.filter-options {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.filter-options a,
.episode-list a {
  min-height: var(--touch);
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: rgba(47, 128, 237, .07);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.filter-options a.is-active,
.episode-list a.is-active {
  color: #fff;
  border-color: var(--brand);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.empty-state {
  display: grid;
  min-height: 118px;
  place-items: center;
  margin-top: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, .82);
  text-align: center;
}

.vod-grid.has-items + .empty-state,
.art-list.has-items + .empty-state,
.topic-grid.has-items .empty-state {
  display: none;
}

.page-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  margin-top: 20px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.page-numbers {
  display: flex;
  gap: 8px;
}

.page-btn {
  min-width: var(--touch);
  min-height: var(--touch);
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: var(--paper);
  color: var(--muted);
  font-weight: 700;
}

.page-btn.is-current {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand-2);
}

.page-total {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.big-search {
  display: grid;
  grid-template-columns: 1fr 76px;
  gap: 8px;
  margin-bottom: 20px;
}

.big-search input {
  min-height: 46px;
  padding: 0 14px;
}

.big-search button {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius-sm);
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  font-weight: 800;
}

.detail-hero {
  display: grid;
  gap: 18px;
}

.detail-poster {
  width: min(210px, 60vw);
}

.detail-poster img,
.play-side-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(47, 128, 237, .16);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.detail-tags span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  padding: 0 10px;
  color: var(--muted);
  background: rgba(47, 128, 237, .07);
  font-size: 13px;
  font-weight: 700;
}

.detail-meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.detail-meta div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
}

.detail-meta dt {
  color: var(--muted);
}

.detail-meta dd {
  min-width: 0;
  margin: 0;
}

.detail-desc,
.content-text {
  color: var(--muted);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.source-list {
  display: grid;
  gap: 14px;
}

.source-block {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(232, 247, 255, .7)),
    var(--surface);
}

.source-title {
  margin-bottom: 10px;
  font-weight: 800;
}

.episode-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.play-layout {
  display: grid;
  gap: 16px;
}

.player-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 2px solid rgba(47, 128, 237, .28);
  background: #14213d;
  box-shadow: 0 0 0 1px rgba(31, 42, 68, .55), 0 18px 46px rgba(47, 128, 237, .2);
}

.player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: rgba(255, 255, 255, .84);
  text-align: center;
}

.play-side {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--paper);
}

.play-side-info {
  min-width: 0;
}

.play-side-info strong,
.play-side-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.play-side-info span {
  color: var(--muted);
  font-size: 13px;
}

.content-text {
  overflow-wrap: anywhere;
}

.content-text img {
  height: auto;
  border-radius: var(--radius);
}

.article-detail {
  max-width: 820px;
}

.article-meta {
  display: flex;
  gap: 12px;
  margin: 10px 0 20px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}

.topic-card a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.topic-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  background: var(--surface-soft);
}

.topic-card strong,
.topic-card span {
  margin-inline: 12px;
}

.topic-card strong {
  margin-top: 10px;
}

.topic-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.gbook-panel {
  display: grid;
  gap: 18px;
}

.gbook-form {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--surface);
}

.gbook-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}

.gbook-form input {
  min-height: 44px;
  padding: 0 12px;
}

.gbook-form textarea {
  min-height: 132px;
  resize: vertical;
  padding: 10px 12px;
}

.gbook-list {
  display: grid;
  gap: 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 calc(32px + var(--safe-bottom));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(54, 179, 126, .12)),
    rgba(255, 255, 255, .88);
}

.footer-inner {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.back-top {
  position: fixed;
  right: 14px;
  bottom: calc(14px + var(--safe-bottom));
  z-index: 40;
  width: 42px;
  height: 42px;
  display: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: var(--shadow);
}

.back-top.is-visible {
  display: block;
}

.back-top::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: translateY(4px) rotate(45deg);
}

.simple-page {
  min-height: 54vh;
  padding-top: 40px;
  padding-bottom: 40px;
}

.simple-page h1 {
  margin: 0 0 12px;
}

@media (max-width: 359.98px) {
  .brand-text {
    max-width: 108px;
  }

  .vod-grid {
    gap: 10px;
  }

  .filter-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }
}

@media (min-width: 360px) {
  .home-title h1 {
    font-size: 30px;
  }
}

@media (min-width: 390px) {
  .vod-grid {
    gap: 14px;
  }
}

@media (min-width: 430px) {
  .brand-text {
    max-width: 170px;
  }

  .hero-track {
    min-height: 240px;
  }

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

@media (min-width: 768px) {
  .header-inner {
    grid-template-columns: auto 1fr minmax(230px, 320px);
    gap: 18px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 4px;
  }

  .site-nav a {
    padding: 0 12px;
    background: transparent;
  }

  .header-search {
    grid-column: auto;
    padding-bottom: 0;
  }

  .home-hero {
    padding-top: 34px;
  }

  .home-title h1 {
    font-size: 38px;
  }

  .hero-track {
    aspect-ratio: 16 / 6.8;
    min-height: 300px;
  }

  .hero-copy {
    left: 30px;
    right: 30px;
    bottom: 30px;
  }

  .hero-copy h2 {
    font-size: 34px;
  }

  .vod-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

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

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

  .page-heading h1,
  .detail-info h1,
  .player-heading h1,
  .article-detail h1 {
    font-size: 36px;
  }

  .filter-card {
    padding: 14px;
  }

  .filter-options {
    flex-wrap: wrap;
    overflow: visible;
  }

  .detail-hero {
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
  }

  .detail-poster {
    width: 100%;
  }

  .play-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: start;
  }

  .play-side {
    grid-template-columns: 1fr;
  }

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

@media (min-width: 1024px) {
  .home-title {
    max-width: 780px;
  }

  .layout-two {
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
  }

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

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

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

  .detail-hero {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
  }

  .play-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

@media (min-width: 1280px) {
  .vod-grid {
    gap: 20px;
  }

  .hero-track {
    min-height: 360px;
  }
}
