:root {
  --bg: #fff7ed;
  --surface: #ffffff;
  --surface-soft: #fff1e6;
  --text: #111827;
  --muted: #6b7280;
  --light: #f8fafc;
  --line: rgba(17, 24, 39, 0.08);
  --orange: #f97316;
  --rose: #fb7185;
  --red: #ef4444;
  --purple: #a855f7;
  --blue: #3b82f6;
  --shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 24px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(251, 113, 133, 0.16), transparent 32rem),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.14), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
  transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(-3deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 21px;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #ea580c, #e11d48);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
  display: none;
}

.desktop-nav a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 12px;
  color: #374151;
  font-weight: 650;
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover {
  color: #ea580c;
  background: #ffedd5;
  transform: translateY(-1px);
}

.site-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-search input,
.toolbar input,
.toolbar select {
  border: 1px solid rgba(148, 163, 184, 0.36);
  outline: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-search input {
  width: 238px;
  padding: 11px 15px;
}

.site-search input:focus,
.toolbar input:focus,
.toolbar select:focus {
  border-color: rgba(249, 115, 22, 0.72);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.site-search button,
.primary-btn,
.ghost-btn,
.hero-prev,
.hero-next {
  border: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.site-search button,
.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.32);
}

.site-search button {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.site-search button:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(249, 115, 22, 0.38);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 22px;
}

.mobile-panel {
  display: none;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 20px;
  border-top: 1px solid var(--line);
}

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

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.mobile-panel nav a {
  padding: 11px 12px;
  border-radius: 14px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 700;
}

main {
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  min-height: 650px;
  isolation: isolate;
}

.hero-shell {
  position: relative;
  width: 100%;
  min-height: 650px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: center;
  gap: 46px;
  padding: 78px max(24px, calc((100vw - var(--max)) / 2)) 86px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: linear-gradient(135deg, #111827, #7f1d1d);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: blur(12px) saturate(1.2);
  transform: scale(1.08);
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 12, 18, 0.9), rgba(10, 12, 18, 0.52), rgba(10, 12, 18, 0.78)),
    radial-gradient(circle at 25% 24%, rgba(249, 115, 22, 0.5), transparent 28rem),
    radial-gradient(circle at 80% 25%, rgba(251, 113, 133, 0.42), transparent 26rem);
}

.hero-content {
  color: #ffffff;
  max-width: 760px;
}

.hero-kicker,
.section-kicker,
.page-hero span,
.quick-card span,
.ranking-head span {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(249, 115, 22, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-tags,
.tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 22px;
}

.hero-tags span,
.tag-row span,
.detail-copy .hero-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

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

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

.ghost-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.hero-poster {
  position: relative;
  display: block;
  height: 520px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.45), rgba(251, 113, 133, 0.36));
}

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  color: #ffffff;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
  z-index: 3;
}

.hero-prev,
.hero-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 30px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(249, 115, 22, 0.88);
}

.hero-dots {
  display: flex;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 28px;
  background: #ffffff;
}

.panel-section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.quick-search {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 22px;
  margin-top: -48px;
  position: relative;
  z-index: 5;
}

.quick-card,
.quick-tags,
.ranking-panel,
.story-card,
.category-overview-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.quick-card {
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius);
}

.quick-card span,
.section-kicker,
.ranking-head span {
  color: #ea580c;
  background: #ffedd5;
  border-color: #fed7aa;
}

.quick-card h2 {
  max-width: 720px;
  margin: 14px 0 22px;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.quick-card .site-search input {
  width: min(560px, 68vw);
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
  padding: 24px;
  border-radius: var(--radius);
}

.quick-tags a {
  flex: 1 1 130px;
  padding: 13px 14px;
  border-radius: 16px;
  color: #9a3412;
  background: #fff7ed;
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.quick-tags a:hover {
  transform: translateY(-2px);
  background: #ffedd5;
}

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

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-heading p {
  max-width: 620px;
  margin: 9px 0 0;
  color: var(--muted);
}

.section-heading a {
  min-width: max-content;
  color: #ea580c;
  font-weight: 800;
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  overflow: hidden;
  border-radius: 24px;
  padding: 20px;
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.tile-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, var(--orange), var(--rose));
}

.tile-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 0.45s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 12%, rgba(0, 0, 0, 0.76) 100%);
}

.category-tile strong {
  font-size: 22px;
  line-height: 1.1;
}

.category-tile small {
  color: rgba(255, 255, 255, 0.78);
}

.category-tile:hover .tile-bg img {
  transform: scale(1.1);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

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

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

.poster-card,
.wide-card,
.compact-card {
  min-width: 0;
}

.poster-card a,
.wide-card a,
.compact-card a {
  display: block;
  height: 100%;
}

.poster-card a {
  overflow: hidden;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.poster-card a:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.poster-frame,
.wide-cover,
.compact-cover,
.detail-poster,
.category-overview-hero,
.movie-player {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.36), rgba(251, 113, 133, 0.32));
}

.poster-frame {
  display: block;
  aspect-ratio: 2 / 3;
}

.poster-frame img,
.wide-cover img,
.compact-cover img,
.detail-poster img,
.category-overview-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease, opacity 0.2s ease;
}

.poster-card a:hover .poster-frame img,
.wide-card a:hover .wide-cover img,
.compact-card a:hover .compact-cover img {
  transform: scale(1.08);
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(0.9);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.88);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.poster-card a:hover .play-mark {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.type-badge,
.rank-badge,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  border-radius: 999px;
  font-weight: 800;
}

.type-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 5px 8px;
  color: #ffffff;
  background: rgba(249, 115, 22, 0.9);
  font-size: 12px;
}

.rank-badge {
  position: absolute;
  left: 9px;
  top: 9px;
  min-width: 28px;
  height: 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.28);
  z-index: 2;
}

.poster-info {
  display: grid;
  gap: 4px;
  padding: 13px 14px 15px;
}

.poster-info strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.32;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.poster-info small,
.poster-info em,
.wide-body small,
.compact-body em,
.compact-body small {
  color: var(--muted);
  font-style: normal;
}

.poster-info em {
  min-height: 44px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 13px;
}

.ranking-panel {
  position: sticky;
  top: 96px;
  border-radius: var(--radius);
  padding: 20px;
}

.ranking-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ranking-head h2 {
  margin: 0;
  font-size: 26px;
}

.ranking-head a {
  margin-left: auto;
  color: #ea580c;
  font-weight: 800;
  font-size: 14px;
}

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

.compact-card a {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 9px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.compact-card a:hover {
  transform: translateX(3px);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.compact-cover {
  height: 100px;
  border-radius: 14px;
}

.compact-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.compact-body strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
}

.compact-body small {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 12px;
}

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

.wide-card a {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.wide-card a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.wide-cover {
  min-height: 236px;
}

.wide-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  padding: 20px;
}

.pill {
  padding: 6px 10px;
  color: #ea580c;
  background: #ffedd5;
  font-size: 12px;
}

.wide-body strong {
  font-size: 22px;
  line-height: 1.16;
}

.wide-body p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #4b5563;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tag-row span {
  color: #9a3412;
  background: #fff7ed;
  border-color: #fed7aa;
}

.page-hero {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 34px auto 0;
  min-height: 330px;
  display: grid;
  place-items: center start;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(28px, 5vw, 56px);
  color: #ffffff;
  background: linear-gradient(135deg, #1f2937, #991b1b);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 24%, rgba(249, 115, 22, 0.55), transparent 28rem),
    linear-gradient(90deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.45));
}

.page-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: blur(8px) saturate(1.1);
  transform: scale(1.06);
}

.page-hero div {
  max-width: 740px;
}

.page-hero h1 {
  margin: 16px 0 10px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

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

.small-hero,
.search-hero,
.ranking-hero {
  min-height: 280px;
}

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

.search-hero-form input {
  width: min(560px, 62vw);
}

.overview-grid {
  display: grid;
  gap: 22px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
}

.category-overview-hero {
  min-height: 320px;
}

.category-overview-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.68));
}

.category-overview-hero span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
}

.category-overview-body {
  padding: 28px;
}

.category-overview-body h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.category-overview-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

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

.toolbar {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.toolbar input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
}

.toolbar select {
  width: 190px;
  padding: 13px 16px;
}

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

.top-three .wide-card:first-child a {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.breadcrumb {
  width: min(var(--max), calc(100% - 32px));
  margin: 28px auto 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: #ea580c;
  font-weight: 800;
}

.detail-hero {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 520px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(24px, 5vw, 54px);
  color: #ffffff;
  background: #111827;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: blur(12px) saturate(1.1);
  transform: scale(1.08);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 25%, rgba(249, 115, 22, 0.5), transparent 28rem),
    linear-gradient(90deg, rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.58));
}

.detail-poster {
  height: 440px;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.detail-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.detail-copy p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.meta-row,
.score-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.meta-row span,
.score-row em,
.score-row span {
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
  font-style: normal;
  font-size: 13px;
}

.score-row b {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  font-size: 24px;
  box-shadow: 0 16px 35px rgba(249, 115, 22, 0.32);
}

.player-section {
  padding-bottom: 28px;
}

.movie-player {
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  background: #050505;
  box-shadow: var(--shadow);
}

.movie-player video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #050505;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  background:
    radial-gradient(circle at center, rgba(249, 115, 22, 0.2), rgba(0, 0, 0, 0.28)),
    rgba(0, 0, 0, 0.2);
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.play-overlay span {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  box-shadow: 0 20px 50px rgba(249, 115, 22, 0.35);
  font-size: 34px;
}

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

.detail-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.story-card {
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
}

.story-card h2 {
  margin: 12px 0 14px;
  font-size: clamp(24px, 3.5vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

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

.review-card {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.search-results:empty::before {
  content: "暂无匹配结果";
  grid-column: 1 / -1;
  display: block;
  padding: 32px;
  border-radius: 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.86);
  text-align: center;
}

.site-footer {
  margin-top: 36px;
  background: #111827;
  color: #ffffff;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 36px;
  padding: 48px 0;
}

.footer-inner strong {
  font-size: 24px;
}

.footer-inner p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.footer-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.image-muted {
  opacity: 0;
}

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

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .site-search input {
    width: 210px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

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

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

  .split-section {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 880px) {
  .header-inner {
    height: 68px;
  }

  .header-inner > .site-search {
    display: none;
  }

  .hero-carousel,
  .hero-shell {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
    padding-top: 54px;
    padding-bottom: 90px;
  }

  .hero-poster {
    width: min(320px, 72vw);
    height: 420px;
    margin: 0 auto;
    order: -1;
  }

  .quick-search,
  .detail-content,
  .footer-inner,
  .category-overview-card,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(320px, 76vw);
    height: 420px;
    margin: 0 auto;
  }

  .wide-grid,
  .ranking-list {
    grid-template-columns: 1fr;
  }

  .category-overview-hero {
    min-height: 230px;
  }
}

@media (max-width: 640px) {
  .brand-text strong {
    font-size: 18px;
  }

  .brand-text small {
    display: none;
  }

  .panel-section {
    width: min(100% - 24px, var(--max));
    padding: 38px 0;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 38px;
  }

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

  .quick-card .site-search,
  .search-hero-form,
  .mobile-panel .site-search {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

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

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

  .poster-info {
    padding: 11px;
  }

  .poster-info strong {
    font-size: 14px;
  }

  .wide-card a {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .wide-cover {
    min-height: 190px;
  }

  .wide-body {
    padding: 14px;
  }

  .wide-body strong {
    font-size: 18px;
  }

  .wide-body p,
  .tag-row {
    display: none;
  }

  .toolbar {
    flex-direction: column;
  }

  .toolbar select {
    width: 100%;
  }

  .movie-player {
    border-radius: 20px;
  }

  .play-overlay span {
    width: 70px;
    height: 70px;
  }
}
