/* 17在线 · 碧海青松 */
:root {
  --amber-950: #042f2e;
  --amber-900: #134e4a;
  --amber-800: #115e59;
  --amber-700: #0f766e;
  --amber-600: #0d9488;
  --amber-100: #ccfbf1;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-100: #f1f5f9;
  --rose-700: #e11d48;
  --emerald-600: #059669;
  --indigo-900: #0c4a6e;
  --blue-950: #082f49;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100%;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #ecfeff 0%, #fff 42%, #f8fafc 100%);
  color: var(--slate-800);
  line-height: 1.5;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}
img, video {
  max-width: 100%;
  height: auto;
  border: 0;
  display: block;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--amber-900);
  padding: 10px 14px;
  font-weight: 800;
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0;
  outline: 2px solid var(--amber-600);
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--amber-800), var(--amber-700), var(--amber-900));
  color: #fff;
  box-shadow: 0 18px 38px rgba(4, 47, 46, 0.22);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 68px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--amber-900);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  font-size: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 700;
}
.nav-links a { opacity: 0.94; transition: 0.2s; }
.nav-links a:hover { color: var(--amber-100); transform: translateY(-1px); }
.menu-button {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 12px;
  width: 44px;
  height: 42px;
  padding: 10px;
}
.menu-button span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 999px;
}
.menu-panel {
  display: none;
  background: var(--amber-800);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 20px;
}
.menu-panel a { display: block; color: #fff; padding: 10px 0; }
.menu-panel.is-open { display: block; }
.menu-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 8px;
  padding-top: 8px;
}

.cover-section {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, var(--amber-900), var(--amber-700) 48%, #164e63);
  color: #fff;
}
.cover-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.82) 1px, transparent 0);
  background-size: 34px 34px;
  animation: drift 18s linear infinite;
}
.cover-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 650px;
  padding: 76px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: #a5f3fc;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}
.cover-main h1 {
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.96;
  margin: 0 0 24px;
  font-weight: 950;
  letter-spacing: -0.05em;
}
.cover-lead {
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.75;
  color: #ecfeff;
  margin: 0 0 30px;
  max-width: 720px;
}
.cover-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0;
}
.cover-actions a,
.page-actions a,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 13px 24px;
  font-weight: 900;
  background: #fff;
  color: var(--amber-900);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  transition: 0.22s;
}
.cover-actions a:nth-child(2),
.page-actions a:nth-child(2) {
  background: rgba(15, 118, 110, 0.82);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
}
.cover-actions a:hover,
.page-actions a:hover,
.primary-link:hover {
  transform: translateY(-2px) scale(1.02);
}
.cover-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.cover-cats a,
.pill-link {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.cover-stage { position: relative; min-height: 520px; }
.cover-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 20px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(4, 47, 46, 0.4);
  opacity: 0;
  transform: translateX(18px) scale(0.98);
  pointer-events: none;
  transition: 0.55s;
  backdrop-filter: blur(12px);
}
.cover-slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.cover-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cover-copy h2 {
  font-size: 38px;
  line-height: 1.05;
  margin: 0 0 14px;
  font-weight: 950;
}
.cover-copy p {
  line-height: 1.72;
  color: #ecfeff;
  margin: 0 0 18px;
}
.cover-poster {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-950), #164e63);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  min-height: 320px;
}
.cover-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-dots {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: flex;
  gap: 9px;
  z-index: 5;
}
.slide-dots button {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.slide-dots button.is-active {
  width: 32px;
  background: #fff;
}

.section-block,
.filter-section,
.category-directory,
.category-preview,
.detail-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 20px;
}
.soft-block {
  max-width: none;
  background: linear-gradient(90deg, #f8fafc, #ecfeff);
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.section-heading h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  margin: 0;
  font-weight: 950;
  color: var(--slate-800);
  letter-spacing: -0.035em;
}
.section-heading span { font-size: 28px; }
.section-heading > a {
  margin-left: auto;
  color: var(--amber-700);
  font-weight: 900;
}
.section-heading.invert h2,
.section-heading.invert a,
.section-heading.invert { color: #fff; }

.movie-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.movie-grid.four-col,
.movie-grid.all-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.movie-grid.hot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.movie-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
  transition: 0.25s;
  border: 1px solid rgba(148, 163, 184, 0.18);
}
.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 54px rgba(15, 23, 42, 0.18);
}
.movie-card-link { display: block; height: 100%; }
.poster-wrap {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-900), var(--slate-900));
}
.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.5s;
}
.movie-card:hover .poster-wrap img { transform: scale(1.08); }
.rank-badge {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose-700);
  color: #fff;
  box-shadow: 0 12px 24px rgba(225, 29, 72, 0.35);
  font-size: 18px;
}
.movie-card-body { padding: 20px; }
.movie-meta {
  color: var(--amber-700);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 8px;
}
.movie-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.24;
  font-weight: 950;
  color: var(--slate-900);
}
.movie-card p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.65;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.movie-credit {
  margin: 8px 0 0 !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  color: var(--slate-600) !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cover-credit {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #a5f3fc;
  opacity: 0.95;
}
.library-lead {
  margin: -8px 0 24px;
  color: var(--slate-600);
  line-height: 1.75;
  max-width: 920px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.tag-row span {
  font-size: 12px;
  font-weight: 800;
  color: var(--amber-800);
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  padding: 5px 9px;
}
.light-tags span {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.category-band {
  background: linear-gradient(135deg, var(--blue-950), var(--indigo-900), var(--slate-900));
  padding: 72px max(20px, calc((100vw - 1180px) / 2));
  color: #fff;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.category-tile a {
  display: block;
  height: 100%;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
  transition: 0.22s;
}
.category-directory .category-tile a {
  background: #fff;
  color: var(--slate-800);
  border-color: rgba(148, 163, 184, 0.18);
}
.category-tile a:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.17);
}
.category-directory .category-tile a:hover { background: #f0fdfa; }
.category-tile strong {
  display: block;
  font-size: 22px;
  margin-bottom: 10px;
}
.category-tile p {
  margin: 0;
  color: inherit;
  opacity: 0.78;
  line-height: 1.6;
  font-size: 14px;
}
.category-tile div {
  display: grid;
  gap: 7px;
  margin-top: 15px;
  font-size: 13px;
  opacity: 0.86;
}
.category-tile div a {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.category-tile div a:hover {
  transform: none;
  background: none;
  color: #67e8f9;
}

.page-hero {
  background: linear-gradient(135deg, var(--amber-900), var(--amber-700), #164e63);
  color: #fff;
}
.page-hero > div {
  max-width: 1180px;
  margin: 0 auto;
  padding: 76px 20px;
}
.page-hero h1 {
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
  margin: 0 0 18px;
  font-weight: 950;
}
.page-hero p {
  font-size: 20px;
  line-height: 1.7;
  margin: 0;
  max-width: 760px;
  color: #ecfeff;
}

.seo-intro__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.seo-intro__card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}
.seo-intro__card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
  color: var(--slate-900);
}
.seo-intro__card p,
.seo-intro__body p {
  margin: 0;
  line-height: 1.8;
  color: var(--slate-600);
  font-size: 15px;
}
.seo-intro__body {
  background: linear-gradient(180deg, #f8fafc, #ecfeff);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  padding: 26px 28px;
}
.seo-intro__body p + p { margin-top: 14px; }
.seo-intro__body strong { color: var(--amber-800); font-weight: 900; }

.site-footer {
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
  color: #cbd5e1;
  padding: 54px max(20px, calc((100vw - 1180px) / 2)) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 34px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 22px;
  margin-bottom: 12px;
}
.footer-brand span { color: #14b8a6; }
.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}
.site-footer p { margin: 0; line-height: 1.75; }
.site-footer a {
  display: block;
  margin: 8px 0;
  color: #cbd5e1;
}
.site-footer a:hover { color: #5eead4; }
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  margin-top: 34px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom button {
  border: 0;
  border-radius: 12px;
  background: var(--amber-700);
  color: #fff;
  padding: 11px 16px;
  font-weight: 900;
  cursor: pointer;
}
.is-hidden { display: none !important; }

.breadcrumbs {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 0;
  display: flex;
  gap: 9px;
  color: var(--amber-700);
  font-weight: 800;
  flex-wrap: wrap;
}
.detail-head {
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(135deg, #020617, var(--amber-900));
  color: #fff;
  margin-top: 8px;
}
.detail-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px 72px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}
.detail-poster {
  height: 455px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-900), #0f172a);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-copy h1 {
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.02;
  margin: 0 0 20px;
  font-weight: 950;
  letter-spacing: -0.045em;
}
.lead-text {
  font-size: 21px;
  line-height: 1.75;
  color: #ecfeff;
  margin: 0 0 18px;
}
.detail-credit {
  margin: 0 0 8px;
  color: #a5f3fc;
  font-size: 14px;
  line-height: 1.6;
}
.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}
.content-main,
.content-side {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
  padding: 30px;
  border: 1px solid rgba(148, 163, 184, 0.16);
}
.content-main h2,
.content-side h2 {
  font-size: 28px;
  margin: 0 0 16px;
  color: #0f172a;
}
.content-main p {
  font-size: 17px;
  line-height: 1.95;
  color: #334155;
  margin: 0 0 28px;
}
.info-grid {
  display: grid;
  gap: 15px;
  margin: 0;
}
.info-grid div {
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}
.info-grid dt {
  font-size: 13px;
  color: var(--slate-600);
  font-weight: 900;
}
.info-grid dd {
  margin: 4px 0 0;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.55;
}
.info-grid a { color: var(--amber-700); }

.player-section {
  background: #070b14;
  padding: 36px max(20px, calc((100vw - 1180px) / 2));
}
.video-frame {
  max-width: 1180px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.video-frame video,
.video-el {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}
.play-actions a:first-child {
  background: var(--amber-700);
  color: #fff;
}
.play-actions a:nth-child(2) {
  background: #fff;
  color: var(--amber-900);
  border: 1px solid #99f6e4;
}
.side-rec-list { display: grid; gap: 14px; }
.side-rec {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}
.rank-thumb {
  display: block;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
}
.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.side-rec strong {
  display: block;
  margin-bottom: 4px;
  color: var(--slate-900);
}
.side-rec span span {
  color: var(--slate-600);
  font-size: 13px;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid #99f6e4;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--slate-800);
  outline: none;
}
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--amber-600);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.empty-state {
  display: none;
  margin: 0 0 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #ecfeff;
  color: var(--amber-800);
  font-weight: 800;
}
.empty-state.is-active { display: block; }
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.category-preview .pill-link,
.pill-row .pill-link {
  border-color: #99f6e4;
  background: #f0fdfa;
  color: var(--amber-800);
}
.pill-row .pill-link.is-active-pill {
  background: var(--amber-700);
  border-color: var(--amber-700);
  color: #fff;
}
.nav-links a.is-active { color: var(--amber-100); }
.related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.related-grid .poster-wrap { height: 200px; }
.related-grid .movie-card h3 { font-size: 17px; }
.content-main .page-actions { margin-top: 0; }
.detail-tags { margin-bottom: 12px; }
.play-tags { margin-bottom: 24px; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(34px, 34px, 0); }
}

@media (max-width: 1050px) {
  .cover-inner { grid-template-columns: 1fr; gap: 34px; }
  .cover-stage { min-height: 440px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .movie-grid.four-col,
  .movie-grid.all-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seo-intro__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-button { display: block; }
  .cover-section { min-height: auto; }
  .cover-inner { min-height: auto; padding: 54px 18px; }
  .cover-slide {
    position: relative;
    display: none;
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .cover-slide.is-active { display: grid; }
  .cover-poster { min-height: 310px; order: -1; }
  .cover-copy h2 { font-size: 30px; }
  .slide-dots {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 18px;
  }
  .movie-grid,
  .movie-grid.four-col,
  .movie-grid.all-grid,
  .movie-grid.hot-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section-block,
  .filter-section,
  .category-directory,
  .category-preview,
  .detail-content { padding: 48px 18px; }
  .poster-wrap { height: 340px; }
  .detail-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
  .detail-poster { height: 360px; max-width: 280px; }
  .detail-content { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .player-section { padding: 18px; }
  .video-frame { border-radius: 16px; }
  .top-nav { padding-top: var(--safe-top); }
  .site-footer { padding-bottom: calc(28px + var(--safe-bottom)); }
  .menu-button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  .cover-actions a,
  .page-actions a,
  .primary-link,
  .movie-card-link { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cover-pattern { animation: none; }
}

@media (hover: none) {
  .movie-card:hover { transform: none; }
  .movie-card:hover .poster-wrap img { transform: none; }
}
