:root {
  --pink: #ec4899;
  --pink-dark: #db2777;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --orange: #f97316;
  --green: #22c55e;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f9fafb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #f8fafc;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: #0f172a;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 14px 25px rgba(236, 72, 153, 0.28);
}

.brand-text {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 10px;
  color: #374151;
  font-weight: 700;
}

.desktop-nav a,
.nav-dropdown > button {
  color: #374151;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.nav-dropdown:hover > button {
  color: var(--pink-dark);
}

.nav-dropdown {
  position: relative;
  padding: 24px 0;
}

.nav-dropdown-panel {
  position: absolute;
  top: 68px;
  left: 0;
  width: 300px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
}

.nav-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 14px;
}

.nav-dropdown-panel span {
  color: var(--pink);
  font-size: 12px;
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.header-search input {
  width: 240px;
  border: 0;
  outline: 0;
  padding: 10px 12px 10px 16px;
  background: transparent;
}

.header-search button,
.search-hero-form button,
.quick-search-panel button {
  border: 0;
  color: #fff;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(59, 130, 246, 0.2);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #f3f4f6;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #111827;
}

.mobile-panel {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-panel a,
.mobile-panel form {
  display: flex;
  margin-top: 10px;
}

.mobile-panel a {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  font-weight: 700;
}

.mobile-panel input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px 0 0 14px;
  padding: 11px 12px;
}

.mobile-panel button {
  border: 0;
  color: #fff;
  border-radius: 0 14px 14px 0;
  padding: 0 16px;
  background: var(--pink);
}

.mobile-panel.is-open {
  display: block;
}

.hero-slider {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #fff;
  background: #0f172a;
}

.hero-track {
  position: relative;
  min-height: 650px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  align-items: center;
  gap: 48px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.8s ease;
}

.hero-slide::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.64), rgba(15, 23, 42, 0.38)), var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.08);
}

.hero-slide::after {
  content: "";
  position: fixed;
  inset: auto 0 0 0;
  z-index: -1;
  height: 48%;
  background: linear-gradient(0deg, #f8fafc, rgba(248, 250, 252, 0));
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.94;
}

.eyebrow.dark {
  color: var(--pink-dark);
}

.hero-copy h1 {
  max-width: 780px;
  margin: 18px 0 20px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-tags,
.detail-tags,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.detail-tags span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-style: normal;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 18px 30px rgba(236, 72, 153, 0.24);
}

.ghost-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-poster {
  position: relative;
  display: block;
  padding: 14px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

.hero-poster img {
  aspect-ratio: 3 / 4;
  width: 100%;
  object-fit: cover;
  border-radius: 26px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 42px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 38px;
  background: #fff;
}

.quick-search-panel {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 520px);
  align-items: center;
  gap: 22px;
  margin-top: -42px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.quick-search-panel h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.03em;
}

.quick-search-panel form,
.search-hero-form {
  display: flex;
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.quick-search-panel input,
.search-hero-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 12px 16px;
  background: transparent;
}

.content-section {
  padding: 56px 0;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.section-heading > span {
  width: 52px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--blue), var(--teal));
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

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

.category-grid.expanded {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-tile {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(145deg, #fdf2f8, #eff6ff);
  border: 1px solid #fff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -35px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.12);
}

.category-tile:hover,
.video-card:hover,
.rank-row:hover,
.ranking-entry:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.15);
}

.category-tile span {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 900;
}

.category-tile strong {
  position: relative;
  z-index: 1;
  color: var(--pink-dark);
}

.region-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mini-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.mini-link em {
  color: var(--pink);
  font-style: normal;
  font-weight: 900;
}

.grid-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.grid-toolbar.large {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.grid-toolbar input,
.grid-toolbar select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  outline: 0;
  background: #fff;
}

.grid-toolbar input {
  flex: 1;
  min-width: 180px;
}

.grid-toolbar span {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

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

.video-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  display: block;
  background: #e5e7eb;
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-card:hover .poster-wrap img {
  transform: scale(1.05);
}

.card-badge,
.card-score {
  position: absolute;
  top: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
}

.card-badge {
  left: 10px;
}

.card-score {
  right: 10px;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.card-body {
  display: grid;
  gap: 9px;
  padding: 13px;
}

.card-body strong {
  overflow: hidden;
  display: -webkit-box;
  min-height: 44px;
  font-size: 16px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-body em {
  overflow: hidden;
  display: -webkit-box;
  min-height: 40px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-tags span {
  color: var(--pink-dark);
  background: #fdf2f8;
  border-color: #fce7f3;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

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

.rank-row,
.ranking-entry {
  display: grid;
  grid-template-columns: 56px 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row img,
.ranking-entry img {
  width: 64px;
  height: 86px;
  object-fit: cover;
  border-radius: 14px;
}

.rank-index,
.big-rank {
  color: var(--pink-dark);
  font-size: 22px;
  font-weight: 1000;
  text-align: center;
}

.rank-info,
.ranking-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.rank-info strong,
.ranking-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info em,
.ranking-copy em,
.ranking-copy span {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score,
.ranking-score {
  color: #fff;
  font-weight: 1000;
  padding: 8px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
}

.ranking-card {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 26px;
  color: #fff;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.22), transparent 35%), linear-gradient(145deg, #ec4899, #3b82f6 55%, #14b8a6);
  box-shadow: var(--shadow);
}

.ranking-card h2,
.ranking-card p {
  margin: 0;
}

.page-hero {
  color: #fff;
  padding: 72px 0;
}

.page-hero h1 {
  margin: 10px 0;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.gradient-pink {
  background: linear-gradient(135deg, #db2777, #3b82f6);
}

.gradient-blue {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.gradient-rank {
  background: linear-gradient(135deg, #7c3aed, #ec4899, #f97316);
}

.gradient-search {
  background: linear-gradient(135deg, #0f172a, #2563eb, #ec4899);
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 800;
  opacity: 0.86;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0;
  color: #fff;
  background: #0f172a;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.68)), var(--detail-image);
  background-size: cover;
  background-position: center;
  filter: blur(6px) saturate(1.08);
  transform: scale(1.04);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.24), transparent 30%);
}

.detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 420px);
  gap: 28px;
  align-items: stretch;
}

.player-card,
.detail-info-card,
.story-card,
.side-recommend {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.player-card {
  overflow: hidden;
}

.video-shell {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  color: #fff;
  border: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.38), rgba(0,0,0,0.08));
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.player-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.play-circle {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  box-shadow: 0 16px 40px rgba(236, 72, 153, 0.3);
  font-size: 30px;
  text-indent: 4px;
}

.player-status {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.player-controls {
  display: flex;
  gap: 10px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.84);
}

.player-controls button {
  border: 0;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.detail-info-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.detail-info-card img {
  width: 128px;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
}

.detail-info-card h1 {
  margin: 8px 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.detail-info-card p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.84);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.detail-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 900;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding: 42px 0 64px;
}

.story-card,
.side-recommend {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  backdrop-filter: none;
}

.story-card {
  padding: 28px;
}

.story-card h2,
.side-recommend h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.story-card p {
  margin: 0 0 24px;
  color: #374151;
  font-size: 16px;
}

.detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.detail-chips a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--pink-dark);
  background: #fdf2f8;
  font-weight: 800;
}

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

.info-list div {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
}

.info-list dt {
  color: var(--muted);
  font-size: 13px;
}

.info-list dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.side-recommend {
  position: sticky;
  top: 96px;
  padding: 18px;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
}

.compact-card .poster-wrap img {
  height: 112px;
  border-radius: 12px;
}

.compact-card .card-badge,
.compact-card .card-score,
.compact-card .card-tags,
.compact-card .card-body em {
  display: none;
}

.compact-card .card-body {
  padding: 0;
  align-content: center;
}

.compact-card .card-body strong {
  min-height: auto;
}

.search-hero-form {
  max-width: 680px;
  margin-top: 24px;
}

.search-heading {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.search-heading p {
  grid-column: 1 / -1;
}

.site-footer {
  color: #d1d5db;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 32px;
  padding: 48px 0;
}

.footer-brand {
  color: #fff;
}

.site-footer p {
  max-width: 420px;
  color: #9ca3af;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: #d1d5db;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tags a {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  padding: 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  text-align: center;
}

.is-hidden-card {
  display: none !important;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 38px;
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
  background: #fff;
}

@media (max-width: 1120px) {
  .video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .header-search input {
    width: 180px;
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .mobile-toggle {
    display: block;
    margin-left: auto;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 760px;
    padding: 58px 0 96px;
  }

  .hero-poster {
    width: min(280px, 70vw);
    justify-self: center;
  }

  .quick-search-panel,
  .split-layout,
  .detail-grid,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ranking-card,
  .side-recommend {
    position: static;
  }

  .detail-info-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .detail-info-card img {
    width: 100px;
    height: 142px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    height: 66px;
  }

  .brand-text {
    font-size: 18px;
  }

  .hero-slider,
  .hero-track {
    min-height: 720px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p,
  .page-hero p {
    font-size: 16px;
  }

  .quick-search-panel form,
  .search-hero-form,
  .grid-toolbar,
  .grid-toolbar.large {
    align-items: stretch;
    flex-direction: column;
    border-radius: 22px;
  }

  .quick-search-panel input,
  .search-hero-form input {
    width: 100%;
  }

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

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

  .category-tile {
    min-height: 100px;
    padding: 18px;
  }

  .rank-row,
  .ranking-entry {
    grid-template-columns: 42px 54px minmax(0, 1fr);
  }

  .rank-row img,
  .ranking-entry img {
    width: 54px;
    height: 74px;
  }

  .rank-score,
  .ranking-score {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .info-list {
    grid-template-columns: 1fr;
  }

  .story-card {
    padding: 20px;
  }
}

@media (max-width: 430px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .category-grid.expanded {
    grid-template-columns: 1fr;
  }

  .detail-info-card {
    grid-template-columns: 1fr;
  }

  .detail-info-card img {
    width: 140px;
    height: 190px;
  }
}
