:root {
  color-scheme: dark;
  --bg: #07070a;
  --surface: #111115;
  --surface-2: #18181e;
  --surface-3: #202027;
  --text: #f8f5f7;
  --muted: #a9a3ac;
  --line: rgba(255, 255, 255, .11);
  --accent: #ff2d6b;
  --accent-2: #b90f45;
  --cyan: #43d7d2;
  --gold: #f7c66a;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Noto Sans Thai", "Leelawadee UI", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

button,
input { font: inherit; letter-spacing: 0; }

button,
a { -webkit-tap-highlight-color: transparent; }

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

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

.wrap {
  width: min(100% - 48px, 1360px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 10, .9);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.brand img,
.footer-brand img {
  display: block;
  width: auto;
  height: auto;
}

.brand img { width: 116px; }
.footer-brand img { width: 144px; }

.nav-links {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 22px;
}

.nav-links > a,
.dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(248, 245, 247, .7);
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.nav-links > a:hover,
.dropdown-toggle:hover,
.nav-links > a.active,
.nav-links > a.hot { color: #fff; }

.nav-links > a.active::after,
.nav-links > a.hot::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--accent);
}

.nav-dropdown { position: relative; display: flex; }
.dropdown-toggle { gap: 5px; }

.dropdown-menu {
  position: absolute;
  top: calc(100% - 7px);
  left: -20px;
  width: min(560px, 80vw);
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 14, 18, .98);
  box-shadow: var(--shadow);
}

.dropdown-menu a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 6px;
  color: rgba(248, 245, 247, .78);
  font-size: 13px;
  font-weight: 700;
}

.dropdown-menu a:hover { background: rgba(255, 45, 107, .1); color: #fff; }
.dropdown-menu small { color: var(--muted); font-weight: 600; }
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu { display: grid; }

.nav-search {
  width: min(330px, 28vw);
  height: 44px;
  display: flex;
  align-items: center;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
}

.nav-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  padding: 0 0 0 17px;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
}

.nav-search input::placeholder { color: rgba(248, 245, 247, .4); }

.nav-search button {
  width: 43px;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
}

.adult-mark,
.nav-toggle {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 45, 107, .65);
  border-radius: 50%;
  background: rgba(255, 45, 107, .08);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.nav-toggle {
  display: none;
  border-color: var(--line);
  background: rgba(255, 255, 255, .04);
  font-size: 18px;
  cursor: pointer;
}

.category-bar {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: #0c0c10;
}

.category-track {
  display: flex;
  gap: 9px;
  padding-block: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-track::-webkit-scrollbar { display: none; }

.category-track a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: rgba(248, 245, 247, .82);
  font-size: 13px;
  font-weight: 750;
}

.category-track a.active { border-color: rgba(255, 45, 107, .65); color: #fff; }
.category-track span { margin-left: 4px; color: var(--accent); font-size: 11px; }

.image-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #18181e;
  background: linear-gradient(135deg, var(--c3, #18181e), color-mix(in srgb, var(--c1, #ff2d6b) 32%, #111), color-mix(in srgb, var(--c2, #43d7d2) 28%, #111));
}

.image-shell.image-failed::after {
  content: "ไม่พบภาพ";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .65);
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: clamp(640px, 92svh, 860px);
  display: flex;
  align-items: center;
  padding: 112px 0 72px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: blur(10px) saturate(1.1);
  transform: scale(1.04);
  opacity: .76;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-position: center center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 7, 10, .98) 0%, rgba(7, 7, 10, .78) 36%, rgba(7, 7, 10, .34) 67%, rgba(7, 7, 10, .78) 100%),
    linear-gradient(0deg, #07070a 0%, rgba(7, 7, 10, .34) 36%, rgba(7, 7, 10, .08) 100%),
    radial-gradient(circle at 70% 38%, rgba(255, 45, 107, .22), transparent 31vw);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(380px, 1.14fr);
  grid-template-areas: "content image";
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
  padding-inline: 64px;
}

.hero-content { grid-area: content; min-width: 0; max-width: 720px; }

.hero-frame {
  grid-area: image;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 800 / 538;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  box-shadow: 0 40px 110px rgba(0, 0, 0, .72), 0 0 90px rgba(255, 45, 107, .18);
}

.hero-frame img { height: 100%; object-position: right center; }

.poster-code {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  max-width: calc(100% - 20px);
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(7, 7, 10, .72);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.micro,
.meta-pills,
.card-badges,
.hero-actions,
.movie-actions,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}

.badge-accent { border-color: var(--accent); background: var(--accent); }
.badge-cyan { border-color: rgba(67, 215, 210, .7); color: var(--cyan); }
.badge-gold { border-color: rgba(247, 198, 106, .7); color: var(--gold); }

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6.6vw, 86px);
  line-height: .94;
  letter-spacing: 0;
}

.hero-title-code,
.hero-title-actress { display: block; overflow-wrap: anywhere; }
.hero-title-code { color: #fff; font-weight: 950; }
.hero-title-actress { margin-top: 10px; color: var(--accent); font-size: .72em; line-height: 1.04; font-weight: 900; }

.hero .micro { gap: 6px; margin-bottom: 18px; }

.hero-subtitle {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(248, 245, 247, .78);
  font-size: 16px;
  font-weight: 650;
}

.hero-subtitle a { color: #fff; }
.hero-subtitle a:hover { color: var(--accent); }
.hero-actions { margin-top: 28px; }

.btn {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, .075);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.btn:hover { border-color: rgba(255, 45, 107, .55); background: rgba(255, 45, 107, .11); }
.btn.primary { border-color: var(--accent); background: var(--accent); box-shadow: 0 12px 34px rgba(255, 45, 107, .22); }
.btn.compact { min-height: 41px; padding-inline: 15px; }

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(5, 5, 8, .66);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .46);
  backdrop-filter: blur(12px);
}

.hero-arrow:hover { border-color: var(--accent); background: rgba(255, 45, 107, .22); }
.hero-arrow.prev { left: clamp(8px, 1.8vw, 28px); }
.hero-arrow.next { right: clamp(8px, 1.8vw, 28px); }

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

.hero-dot {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, .2);
  cursor: pointer;
}

.hero-dot.active { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px rgba(255, 45, 107, .15); }

.section-stack { padding: 38px 0 82px; }
.movie-section + .movie-section { margin-top: 54px; }
.home-page .section-stack { padding-top: 0; }
.home-page .movie-section + .movie-section { margin-top: 46px; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-kicker {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.section-head h2,
.detail-section h2,
.actress-panel h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
}

.section-head > span { color: var(--muted); font-size: 13px; }
.section-head h2 a:hover,
.row-all:hover { color: var(--accent); }

.section-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}

.row-all { color: rgba(248, 245, 247, .82); font-weight: 800; }

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

.movie-card,
.home-card-slot { min-width: 0; }

.home-card-slot.is-deferred { display: none; }

.load-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.load-more {
  min-height: 42px;
  border: 1px solid rgba(255, 45, 107, .48);
  border-radius: var(--radius);
  padding: 0 18px;
  background: rgba(255, 45, 107, .1);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.load-more:hover { border-color: var(--accent); background: rgba(255, 45, 107, .18); }
.load-more[hidden] { display: none; }
.load-status { color: var(--muted); font-size: 11px; }

.movie-card .poster {
  display: block;
  aspect-ratio: 800 / 538;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.movie-card .poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  z-index: 1;
  background: linear-gradient(0deg, rgba(7, 7, 10, .58), transparent);
  pointer-events: none;
}

.movie-card:hover .poster { transform: translateY(-3px); border-color: rgba(255, 45, 107, .42); box-shadow: 0 18px 38px rgba(0, 0, 0, .25); }
.movie-card .poster img { height: 100%; object-position: right center; }

.card-badges { position: absolute; top: 9px; left: 9px; z-index: 3; gap: 5px; }
.card-badges .badge { min-height: 23px; padding: 3px 7px; font-size: 9px; }

.view-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 3;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(7, 7, 10, .62);
  color: rgba(255, 255, 255, .9);
  font-size: 9px;
  font-weight: 800;
}

.card-copy { padding: 10px 2px 0; }
.card-copy h2,
.card-copy h3 { margin: 0; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.card-copy h2 span,
.card-copy h3 span { color: rgba(248, 245, 247, .72); font-weight: 650; }

.card-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.card-copy p a:hover { color: var(--accent); }
.empty-state { padding: 42px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 20px 12px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb strong { color: #fff; }

.player-section { padding: 12px 0 28px; }

.player-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
}

.source-tabs { display: flex; gap: 8px; overflow-x: auto; }

.source-tab {
  flex: 0 0 auto;
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px 0 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.source-tab span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-3);
  color: #fff;
}

.source-tab.active { border-color: var(--accent); background: rgba(255, 45, 107, .13); color: #fff; }
.source-tab.active span { background: var(--accent); }

.player-state,
.status-line {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.player-state span,
.status-line span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(67, 215, 210, .12);
}

.player-stage {
  position: relative;
  width: min(100% - 48px, 1180px);
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #030305;
  box-shadow: var(--shadow);
}

.player-backdrop,
.player-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.player-backdrop { filter: blur(22px); opacity: .32; transform: scale(1.08); }
.player-poster { object-fit: contain; }

.player-shade {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  background: linear-gradient(0deg, rgba(3, 3, 5, .36), transparent 45%);
}

.play-button {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  padding-left: 5px;
  background: rgba(255, 45, 107, .88);
  color: #fff;
  font-size: 29px;
  box-shadow: 0 14px 34px rgba(255, 45, 107, .32);
  cursor: pointer;
}

.play-label { padding: 5px 10px; border-radius: 999px; background: rgba(7, 7, 10, .76); font-size: 11px; font-weight: 850; }

.player-loading {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: #050507;
  z-index: 6;
}

.player-loading::after {
  content: "";
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, .16);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
.player-stage.is-loading .player-loading { display: grid; }
.player-stage.is-playing .player-backdrop,
.player-stage.is-playing .player-poster,
.player-stage.is-playing .player-shade { display: none; }

.player-stage iframe { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; border: 0; background: #000; }

.movie-heading {
  padding-block: 42px 64px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.title-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.title-row h1 { margin: 0; line-height: 1.08; letter-spacing: 0; }
.title-row h1 span { display: block; font-size: 58px; font-weight: 950; }
.title-row h1 strong { display: block; margin-top: 8px; color: var(--accent); font-size: 27px; font-weight: 900; }
.movie-actions { margin-top: 20px; }

.detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 54px;
  padding-top: 34px;
}

.movie-facts { display: grid; gap: 10px; margin: 24px 0 0; }
.movie-facts div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 14px; }
.movie-facts dt { color: var(--muted); font-size: 12px; }
.movie-facts dd { margin: 0; color: rgba(248, 245, 247, .88); font-size: 13px; }
.movie-facts a { color: #fff; font-weight: 750; }
.movie-facts a:hover { color: var(--accent); }

.detail-section { margin-top: 38px; }
.detail-section h2 { margin-bottom: 13px; }
.synopsis { max-width: 820px; margin: 0; color: rgba(248, 245, 247, .76); font-size: 15px; line-height: 1.9; }

.chip {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: rgba(248, 245, 247, .75);
  font-size: 11px;
  font-weight: 700;
}

.chip:hover { border-color: rgba(255, 45, 107, .45); color: #fff; }

.actress-panel {
  align-self: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.actress-visual { display: block; aspect-ratio: 1; border-radius: 6px; }
.actress-visual img { height: 100%; object-position: right center; }
.actress-panel h2 { margin-top: 14px; font-size: 20px; }
.actress-panel > p:not(.section-kicker) { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.actress-panel .actress-bio { margin-top: 10px !important; line-height: 1.65; }
.actress-panel small { display: block; margin-top: 10px; color: rgba(248, 245, 247, .42); }

.related-section { padding-bottom: 78px; }

.seo-footer { border-top: 1px solid var(--line); background: #0a0a0d; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.7fr .7fr;
  gap: 48px;
  padding-block: 44px 34px;
}

.footer-brand { display: inline-flex; }
.footer-copy { max-width: 430px; margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.footer-title { margin-bottom: 12px; font-size: 12px; font-weight: 900; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.footer-tags a { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: rgba(248, 245, 247, .65); font-size: 10px; }
.footer-general { display: grid; gap: 7px; }
.footer-general a { color: rgba(248, 245, 247, .68); font-size: 11px; font-weight: 650; }
.footer-tags a:hover,
.footer-general a:hover { color: #fff; border-color: rgba(255, 45, 107, .4); }

.footer-bottom {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: rgba(248, 245, 247, .45);
  font-size: 10px;
}

.footer-bottom strong { color: rgba(248, 245, 247, .68); }

.entity-hero {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: #09090d;
}

.entity-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  filter: blur(10px) saturate(1.1);
  transform: scale(1.04);
  opacity: .76;
  pointer-events: none;
}

.entity-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.entity-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 7, 10, .98) 0%, rgba(7, 7, 10, .78) 36%, rgba(7, 7, 10, .34) 67%, rgba(7, 7, 10, .78) 100%),
    linear-gradient(0deg, #07070a 0%, rgba(7, 7, 10, .34) 36%, rgba(7, 7, 10, .08) 100%),
    radial-gradient(circle at 70% 38%, rgba(255, 45, 107, .22), transparent 31vw);
}

.entity-hero-grid,
.compact-entity-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, .72fr);
  align-items: center;
  gap: 72px;
  padding-block: 62px 78px;
}

.entity-copy h1 { max-width: 820px; margin: 13px 0 18px; font-size: 58px; line-height: 1.05; overflow-wrap: anywhere; }
.entity-copy h1 span { color: rgba(248, 245, 247, .65); font-size: .55em; font-weight: 700; }
.entity-copy h1 em { display: block; margin-top: 9px; color: var(--accent); font-size: .48em; font-style: normal; }
.entity-intro { max-width: 760px; margin: 0; color: rgba(248, 245, 247, .72); font-size: 14px; line-height: 1.8; }

.entity-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 26px; }
.entity-stats > div { min-width: 128px; padding: 0 24px; border-left: 1px solid var(--line); }
.entity-stats > div:first-child { padding-left: 0; border-left: 0; }
.entity-stats strong { display: block; color: #fff; font-size: 24px; line-height: 1.1; }
.entity-stats span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }

.portrait-frame {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  justify-self: end;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .52);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.portrait-caption { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 5px 8px; border-radius: 4px; background: rgba(7, 7, 10, .72); color: rgba(255, 255, 255, .76); font-size: 9px; }

.profile-deck { position: relative; border-bottom: 1px solid var(--line); background: #0b0b10; }
.profile-deck::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, .65), var(--cyan)); }
.profile-deck-grid { display: grid; grid-template-columns: minmax(250px, 4fr) minmax(0, 8fr); gap: 38px 56px; padding-block: 44px; }
.profile-deck-head > p:not(.section-kicker) { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.profile-deck-heading { display: flex; align-items: center; gap: 12px; }
.profile-deck-heading h2 { margin: 0; font-size: 25px; }
.verified-seal { flex: 0 0 auto; padding: 5px 8px; border: 1px solid rgba(67, 215, 210, .38); border-radius: 999px; color: var(--cyan); font-size: 9px; font-weight: 850; }
.profile-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 9px; margin: 0; }
.profile-fact { min-width: 0; min-height: 104px; padding: 15px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 6px; background: rgba(255, 255, 255, .035); }
.profile-fact dt { display: flex; gap: 7px; color: var(--muted); font-size: 9px; font-weight: 800; }
.profile-fact dt span { color: var(--accent); }
.profile-fact dd { margin: 15px 0 0; color: #fff; font-size: 16px; font-weight: 900; overflow-wrap: anywhere; }
.profile-fact small { display: block; margin-top: 4px; color: var(--cyan); font-size: 9px; }
.profile-provenance { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .07); color: rgba(248, 245, 247, .46); font-size: 10px; }
.profile-provenance a { color: rgba(248, 245, 247, .72); }

.collection-section { padding-block: 54px 76px; }
.collection-section .entity-tags { margin: -4px 0 22px; }
.pagination { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 32px; }
.pagination [data-progressive-load][aria-busy="true"] { cursor: progress; opacity: .72; pointer-events: none; }
.pagination .load-status:empty { display: none; }
.related-entities { padding-block: 44px 68px; border-top: 1px solid var(--line); background: #0b0b0f; }
.entity-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.entity-link-grid > a { min-height: 76px; display: grid; align-content: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .025); }
.entity-link-grid strong { color: #fff; font-size: 13px; }
.entity-link-grid span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.entity-link-grid > a:hover { border-color: rgba(255, 45, 107, .45); background: rgba(255, 45, 107, .06); }

.category-cover { display: block; aspect-ratio: 800 / 538; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); box-shadow: var(--shadow); }
.category-cover img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.maker-wordmark { min-height: 270px; display: grid; place-content: center; justify-items: center; border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); background: linear-gradient(135deg, rgba(255, 45, 107, .1), rgba(67, 215, 210, .06)), #111116; box-shadow: var(--shadow); text-align: center; }
.maker-wordmark strong { max-width: 100%; color: #fff; font-size: clamp(28px, 4vw, 54px); line-height: 1; overflow-wrap: anywhere; }
.maker-wordmark span { margin-top: 12px; color: var(--accent); font-size: 10px; font-weight: 900; text-transform: uppercase; }

.directory-hero { padding-block: 82px 58px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 78% 12%, rgba(255, 45, 107, .12), transparent 32%), #09090d; }
.directory-hero h1 { margin: 7px 0 10px; font-size: 54px; }
.directory-hero p:last-child { max-width: 680px; color: var(--muted); }
.person-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.person-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.person-photo { aspect-ratio: 1; border-radius: 6px; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.person-card h2 { margin: 0; font-size: 16px; }
.person-card p { margin: 4px 0; color: var(--muted); font-size: 11px; }
.person-card span { color: var(--cyan); font-size: 9px; }

.search-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 50% 0%, rgba(255, 45, 107, .15), transparent 48%), #09090d; }
.search-hero-inner { max-width: 900px; margin-inline: auto; padding-block: 84px 74px; text-align: center; }
.search-hero h1 { margin: 9px 0 12px; font-size: 58px; }
.search-hero p:not(.section-kicker) { margin: 0 auto; color: var(--muted); font-size: 13px; }
.search-box { max-width: 720px; height: 58px; display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 28px auto 0; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 5px; background: rgba(255, 255, 255, .06); box-shadow: var(--shadow); }
.search-box input { min-width: 0; border: 0; outline: 0; padding: 0 18px; background: transparent; color: #fff; font: inherit; }
.search-box button,
.error-search button { border: 0; border-radius: 999px; padding-inline: 22px; background: var(--accent); color: #fff; font-weight: 900; cursor: pointer; }
.popular-searches { margin-top: 22px; }
.popular-searches > span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 9px; }
.popular-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.popular-chips a { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: rgba(255, 255, 255, .72); font-size: 10px; }
.search-results { min-height: 360px; }
.entity-matches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-bottom: 28px; }
.entity-matches a { min-width: 0; display: grid; padding: 13px; border: 1px solid rgba(67, 215, 210, .22); border-radius: var(--radius); background: rgba(67, 215, 210, .045); }
.entity-matches small { color: var(--cyan); font-size: 8px; }
.entity-matches strong { margin-top: 5px; color: #fff; font-size: 12px; overflow-wrap: anywhere; }
.entity-matches span { margin-top: 4px; color: var(--muted); font-size: 9px; }
.empty-panel { min-height: 300px; display: grid; place-content: center; justify-items: center; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; }
.empty-icon { color: var(--accent); font-size: 48px; }
.empty-panel h2 { margin: 8px 0; font-size: 25px; }
.empty-panel p { max-width: 560px; margin: 0; color: var(--muted); }

.error-hero { min-height: 560px; display: grid; align-items: center; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 82% 20%, rgba(67, 215, 210, .1), transparent 28%), radial-gradient(circle at 15% 40%, rgba(255, 45, 107, .14), transparent 34%), #09090d; }
.error-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .65fr); gap: 64px; align-items: center; padding-block: 70px; }
.error-code { margin: 0; color: var(--accent); font-size: 94px; font-weight: 950; line-height: .9; }
.error-copy h1 { margin: 16px 0 8px; font-size: 42px; }
.error-copy > p:not(.error-code) { max-width: 580px; color: var(--muted); }
.error-search { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .035); }
.error-search label { display: block; margin-bottom: 12px; color: rgba(255, 255, 255, .78); font-size: 12px; font-weight: 800; }
.error-search > div { height: 46px; display: grid; grid-template-columns: minmax(0, 1fr) auto; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: #0b0b10; }
.error-search input { min-width: 0; border: 0; outline: 0; padding-inline: 12px; background: transparent; color: #fff; }

.legal-hero { padding-block: 64px 48px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 80% 0%, rgba(255, 45, 107, .11), transparent 34%), #09090d; }
.legal-hero h1 { margin: 8px 0 12px; font-size: 48px; }
.legal-hero > div > p:last-child { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.8; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 780px); gap: 70px; justify-content: center; padding-block: 52px 82px; }
.legal-aside { align-self: start; position: sticky; top: 90px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legal-aside > strong { display: block; margin-bottom: 10px; font-size: 11px; }
.legal-aside nav { display: grid; gap: 3px; }
.legal-aside a { padding: 8px 9px; border-radius: 5px; color: var(--muted); font-size: 10px; }
.legal-aside a.active { background: rgba(255, 45, 107, .1); color: #fff; }
.legal-article { min-width: 0; }
.article-section + .article-section { margin-top: 42px; padding-top: 38px; border-top: 1px solid var(--line); }
.article-section h2 { margin: 0 0 14px; font-size: 24px; }
.article-section p,
.article-section li { color: rgba(248, 245, 247, .72); font-size: 13px; line-height: 1.9; }
.article-section ul { padding-left: 20px; }
.legal-notice { margin-top: 18px; padding: 14px 16px; border-left: 2px solid var(--accent); background: rgba(255, 45, 107, .055); color: rgba(248, 245, 247, .72); font-size: 11px; line-height: 1.7; }

@media (max-width: 1120px) {
  .nav-links { gap: 14px; }
  .nav-search { width: min(260px, 25vw); }
  .hero-layout { grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); gap: 42px; }
  .hero h1 { font-size: 54px; }
  .hero-title-actress { font-size: 36px; }
  .movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .wrap { width: min(100% - 32px, 1360px); }
  .nav-inner { min-height: 64px; gap: 10px; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    display: none;
    align-self: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #111115;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: grid; }
  .nav-links > a,
  .dropdown-toggle { min-height: 40px; padding-inline: 10px; border-radius: 6px; }
  .nav-links > a.active,
  .nav-links > a.hot { background: rgba(255, 45, 107, .08); }
  .nav-links > a.active::after,
  .nav-links > a.hot::after { display: none; }
  .nav-dropdown { display: block; }
  .dropdown-toggle { width: 100%; justify-content: space-between; }
  .dropdown-menu {
    position: static;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 4px;
    box-shadow: none;
  }
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu { display: none; }
  .nav-dropdown.is-open .dropdown-menu { display: grid; }
  .nav-search { width: min(270px, 44vw); }
  .hero { min-height: auto; padding: 18px 0 38px; }
  .hero-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "image" "content";
    gap: 28px;
    padding: 0;
  }
  .hero-frame { width: 100%; max-width: none; margin-inline: auto; justify-self: stretch; }
  .hero-content { max-width: 720px; }
  .hero-content { padding-left: 0; }
  .hero h1 { font-size: clamp(34px, 12vw, 48px); }
  .hero-title-actress { font-size: .68em; }
  .hero-arrow { top: clamp(142px, 34vw, 278px); }
  .detail-columns { grid-template-columns: minmax(0, 1fr) 250px; gap: 30px; }
  .entity-hero { min-height: auto; }
  .entity-hero-grid,
  .compact-entity-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "visual" "copy";
    gap: 30px;
    padding-block: 34px 54px;
  }
  .entity-copy { grid-area: copy; }
  .portrait-frame,
  .category-cover,
  .maker-wordmark { grid-area: visual; width: min(100%, 620px); justify-self: center; }
  .profile-deck-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .profile-provenance { grid-column: auto; }
  .person-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entity-matches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .error-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .legal-aside { position: static; }
  .legal-aside nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 24px, 1360px); }
  .nav-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 38px;
    gap: 8px;
  }
  .brand img { width: 102px; }
  .adult-mark,
  .nav-toggle { width: 38px; height: 38px; }
  .adult-mark { display: none; }
  .nav-search { width: 100%; min-width: 0; height: 40px; margin-left: 0; }
  .nav-search input { padding-left: 12px; font-size: 11px; }
  .nav-search button { width: 35px; }
  .category-track { width: calc(100% - 12px); margin-left: 12px; padding-right: 32px; }
  .category-track::after { content: ""; flex: 0 0 18px; }
  .hero-layout { gap: 24px; }
  .hero-frame { border-inline: 0; }
  .micro { gap: 6px; }
  .hero h1 { font-size: clamp(34px, 12vw, 48px); }
  .hero-title-actress { font-size: .68em; }
  .hero-subtitle { font-size: 14px; }
  .hero-actions { margin-top: 22px; }
  .btn { min-height: 44px; padding-inline: 16px; }
  .hero-arrow { top: clamp(142px, 34vw, 278px); width: 44px; height: 44px; font-size: 28px; }
  .hero-arrow.prev { left: 5px; }
  .hero-arrow.next { right: 5px; }
  .hero-dots { bottom: 18px; gap: 9px; }
  .hero-dot { width: 10px; height: 10px; }
  .section-stack { padding: 30px 0 58px; }
  .section-head h2 { font-size: 24px; }
  .section-head { align-items: flex-start; gap: 10px; }
  .section-head > div { min-width: 0; }
  .section-head > span { flex: 0 0 auto; white-space: nowrap; font-size: 10px; }
  .section-actions { align-items: flex-end; flex-direction: column; gap: 2px; font-size: 10px; }
  .load-row { margin-top: 20px; }
  .load-more { min-height: 44px; }
  .movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .movie-card:hover .poster { transform: none; }
  .card-copy h2,
  .card-copy h3 { font-size: 12px; }
  .card-copy p { font-size: 10px; }
  .poster-code { left: 6px; bottom: 6px; padding: 2px 5px; font-size: 9px; }
  .card-badges { top: 6px; left: 6px; }
  .card-badges .badge { min-height: 19px; padding: 2px 5px; font-size: 8px; }
  .breadcrumb { padding-top: 14px; }
  .player-section { padding-top: 4px; }
  .player-toolbar { width: 100%; padding-inline: 12px; }
  .player-state { display: none; }
  .player-stage { width: 100%; border-inline: 0; border-radius: 0; }
  .source-tab { min-height: 36px; }
  .play-button { width: 64px; height: 64px; font-size: 24px; }
  .movie-heading { padding-block: 34px 52px; }
  .title-row { display: block; }
  .title-row h1 span { font-size: 46px; }
  .title-row h1 strong { font-size: 22px; }
  .status-line { margin-top: 18px; }
  .detail-columns { grid-template-columns: 1fr; gap: 36px; }
  .movie-facts div { grid-template-columns: 68px minmax(0, 1fr); }
  .actress-panel { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .actress-panel .section-kicker { grid-column: 1 / -1; }
  .actress-visual { grid-row: 2 / span 5; }
  .actress-panel h2 { margin-top: 0; }
  .actress-panel small { grid-column: 2; }
  .related-section { padding-bottom: 58px; }
  .entity-backdrop { filter: blur(12px) saturate(1.05); transform: scale(1.06); opacity: .7; }
  .entity-backdrop::after {
    background:
      linear-gradient(0deg, rgba(7, 7, 10, .98) 0%, rgba(7, 7, 10, .68) 54%, rgba(7, 7, 10, .34) 100%),
      linear-gradient(90deg, rgba(7, 7, 10, .72) 0%, rgba(7, 7, 10, .24) 58%, rgba(7, 7, 10, .62) 100%),
      radial-gradient(circle at 68% 28%, rgba(255, 45, 107, .2), transparent 58vw);
  }
  .entity-hero-grid,
  .compact-entity-grid { gap: 24px; padding-block: 22px 42px; }
  .portrait-frame,
  .category-cover { width: 100%; }
  .maker-wordmark { width: 100%; min-height: 180px; }
  .entity-copy h1 { margin-block: 9px 14px; font-size: 38px; overflow-wrap: break-word; }
  .entity-copy h1 span { display: block; margin-top: 7px; font-size: 20px; }
  .entity-copy h1 em { margin-top: 7px; font-size: 20px; }
  .entity-intro { font-size: 12px; line-height: 1.7; }
  .entity-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
  .entity-stats > div { min-width: 0; padding-inline: 10px; }
  .entity-stats strong { font-size: 19px; overflow-wrap: break-word; }
  .entity-stats span { font-size: 8px; }
  .profile-deck-grid { gap: 24px; padding-block: 36px; }
  .profile-deck-heading { align-items: flex-start; flex-wrap: wrap; }
  .profile-deck-heading h2 { font-size: 22px; }
  .profile-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-fact { min-height: 98px; padding: 13px; }
  .profile-fact dd { font-size: 14px; }
  .collection-section { padding-block: 42px 58px; }
  .entity-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-hero { padding-block: 56px 40px; }
  .directory-hero h1 { font-size: 38px; }
  .person-grid { grid-template-columns: minmax(0, 1fr); }
  .person-card { grid-template-columns: 92px minmax(0, 1fr); }
  .search-hero-inner { padding-block: 58px 48px; }
  .search-hero h1 { font-size: 38px; }
  .search-box { height: 50px; }
  .search-box input { padding-inline: 12px; }
  .search-box button,
  .error-search button { padding-inline: 16px; }
  .entity-matches { grid-template-columns: minmax(0, 1fr); }
  .error-hero { min-height: auto; }
  .error-layout { padding-block: 52px; }
  .error-code { font-size: 76px; }
  .error-copy h1 { font-size: 32px; }
  .error-search { padding: 14px; }
  .legal-hero { padding-block: 48px 36px; }
  .legal-hero h1 { font-size: 36px; }
  .legal-layout { padding-block: 36px 58px; }
  .legal-aside nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-section h2 { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 36px 28px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; }
}

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