:root {
  --red: #d50032;
  --red-soft: rgba(213, 0, 50, 0.14);
  --text: #f0f0f0;
  --muted: #a3a3a3;
  --bg: #000;
  --banner-h: 42px;
  --header-h: 68px;
  --tab-h: 62px;
  --pad: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); }
body {
  min-height: 100vh;
  color: var(--text);
  font-family: "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  padding-top: var(--banner-h);
  -webkit-font-smoothing: antialiased;
}
body.no-banner { --banner-h: 0px; }
body.no-banner .win-banner { display: none; }
body.no-banner .tools .lang-switch { display: inline-flex; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.win-banner {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--banner-h);
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0 10px 0 16px;
  background: #000;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.brand svg { color: #ff2d2d; }
.win-actions { display: flex; align-items: center; gap: 4px; }
.get-app {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #2c2c2c;
  background: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
  font-size: 13px;
}
.get-app:hover { background: rgba(255, 255, 255, 0.1); }
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #bdbdbd;
  display: grid;
  place-items: center;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

.header {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.15) 75%, transparent);
}
.header.solid {
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(16px);
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 32px; width: auto; }
.desk-nav { display: none; align-items: center; gap: 2px; }
.nav-link {
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.nav-link svg { width: 18px; height: 18px; }
.nav-link:hover { background: rgba(255, 255, 255, 0.06); }
.nav-link.active { color: var(--red); background: var(--red-soft); }
.tools { margin-left: auto; display: flex; align-items: center; gap: 6px; position: relative; flex: 0 0 auto; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; color: #9a9a9a; flex: 0 0 auto; }
.banner-lang { display: none; }
.lang-btn {
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  color: #ddd;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.lang-btn[aria-pressed="true"] { color: #fff; background: rgba(255, 255, 255, 0.12); }
.lang-gap { padding: 0 2px; }
.tool {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
}
.tool:hover, .menu-btn:hover, .account-btn:hover { background: rgba(255, 255, 255, 0.08); }
.account-btn {
  display: none;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.menu-btn {
  height: 40px;
  padding: 0 8px 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.menu-pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 230px;
  padding: 8px;
  border-radius: 14px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.menu-pop a, .menu-pop button {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #eee;
  font-size: 14px;
}
.menu-pop a:hover, .menu-pop button:hover { background: rgba(255, 255, 255, 0.06); }

main.page { padding: calc(var(--header-h) + 8px) 0 calc(var(--tab-h) + 24px); }
main.movie { padding: 0 0 calc(var(--tab-h) + 12px); }

.wrap {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.top { position: relative; color: #fff; }
.top-bg { position: absolute; left: 0; right: 0; top: 0; height: 560px; overflow: hidden; }
.top-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.top-bg img.top-fill { filter: blur(26px) brightness(0.55); transform: scale(1.12); }
.top-bg img.top-poster {
  width: auto;
  height: 82%;
  max-width: min(460px, 78vw);
  left: 50%;
  top: 46%;
  right: auto;
  bottom: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: none;
  z-index: 1;
}
.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.9) 16%, rgba(0, 0, 0, 0.45) 42%, rgba(0, 0, 0, 0.12) 68%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.25), transparent 48%);
}
.copy { position: relative; z-index: 1; padding-top: 268px; padding-bottom: 8px; }
.play-btn {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 280px;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: rgba(18, 18, 18, 0.28);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(2px);
}
.play-btn svg { margin-left: 3px; }
.play-btn:hover { background: rgba(255, 255, 255, 0.16); transform: translate(-50%, -50%) scale(1.04); }

.movie-title {
  margin: 0 0 10px;
  font-size: clamp(34px, 7vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.alt-title { margin: -2px 0 12px; color: #d0d0d0; font-size: 16px; line-height: 1.4; }
.meta-label { margin: 16px 0 0; font-size: 13px; letter-spacing: 0.04em; color: #b5b5b5; font-weight: 600; }
.file-note { margin: 10px 0 0; color: #bdbdbd; font-size: 14px; }
.meta-grid { display: grid; grid-template-columns: 1fr; gap: 8px 28px; margin: 22px 0 4px; }
.meta-row { display: grid; grid-template-columns: minmax(108px, 150px) 1fr; gap: 8px; align-items: baseline; }
.meta-row dt { color: #9a9a9a; font-size: 14px; }
.meta-row dd { margin: 0; color: #f3f3f3; font-size: 14.5px; }
@media (min-width: 860px) {
  .meta-grid { grid-template-columns: 1fr 1fr; }
}
.genres { display: flex; gap: 18px; font-size: 16px; }
.genres a:hover { text-decoration: underline; }
.actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.actions::-webkit-scrollbar { display: none; }
.action {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(36, 36, 36, 0.8);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.action:hover { background: rgba(64, 64, 64, 0.9); }
.action.on[data-toggle="watch"] { background: rgba(255, 255, 255, 0.16); }
.action.on[data-toggle="watch"] svg { fill: currentColor; }
.action.on[data-toggle="fav"] { color: #ff4d6d; border-color: rgba(255, 77, 109, 0.45); }
.action.on[data-toggle="fav"] svg { fill: currentColor; stroke: currentColor; }

.facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #dedede;
  font-size: 14.5px;
}
.dot { color: #8a8a8a; }
.quality {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  background: #178a34;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f5c518;
  font-weight: 700;
}
.rating svg { width: 14px; height: 14px; fill: currentColor; }
.director { margin: 10px 0 0; color: #e8e8e8; font-size: 15px; }
.director a { font-weight: 700; }
.director a:hover { text-decoration: underline; }
.tagline {
  margin: 14px 0 0;
  font-style: italic;
  color: #e4e4e4;
  font-size: 16px;
}
.overview {
  margin: 14px 0 0;
  max-width: 980px;
  font-size: 16px;
  line-height: 1.6;
  color: #f3f3f3;
}
.studios { display: flex; align-items: center; gap: 26px; margin-top: 26px; min-height: 36px; }
.studios img {
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.42;
}
.studios img:hover { opacity: 0.75; }
.studio-name { color: #9a9a9a; font-weight: 700; letter-spacing: 0.08em; font-size: 14px; }
.cast-card .avatar-fallback { width: 104px; height: 104px; margin: 0 auto; }

.section-title {
  margin: 36px 0 16px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.scroller { position: relative; }
.rail, .cast-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}
.rail::-webkit-scrollbar, .cast-row::-webkit-scrollbar { display: none; }
.chev {
  display: none;
  position: absolute;
  top: 78px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  place-items: center;
  opacity: 0;
  pointer-events: none;
}
.scroller:hover .chev { opacity: 1; pointer-events: auto; }
.chev.left { left: -6px; }
.chev.right { right: -6px; }
.chev:hover { background: #2a2a2a; }

.cast-card { width: 104px; flex: 0 0 auto; text-align: center; color: inherit; }
.cast-card img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  background: #1a1a1a;
}
.cast-card:hover img { filter: brightness(1.08); }
.cast-card .name { margin-top: 10px; font-size: 14px; font-weight: 700; line-height: 1.25; }
.cast-card .role { margin-top: 3px; color: #8f8f8f; font-size: 13px; line-height: 1.3; }

.poster { width: 158px; flex: 0 0 auto; color: inherit; min-width: 0; }
.poster-art {
  position: relative;
  aspect-ratio: 900 / 1266;
  border-radius: 12px;
  overflow: hidden;
  background: #141414;
}
.poster-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease); }
.poster:hover .poster-art img { transform: scale(1.05); }
.poster-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), transparent);
}
.badge {
  position: absolute;
  top: 8px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.badge.left { left: 8px; }
.badge.right { right: 8px; }
.poster-stats {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.comments { display: inline-flex; align-items: center; gap: 4px; font-weight: 650; }
.comments svg { width: 14px; height: 14px; }
.poster-title {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-title { margin: 8px 0 6px; font-size: 28px; letter-spacing: -0.03em; }
.page-lead { margin: 0 0 8px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.chip {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141414;
  color: #eee;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
}
.chip:hover, .chip.active { background: var(--red-soft); color: #ff4d6a; border-color: transparent; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px 12px;
}
.grid .poster { width: auto; }
.feature {
  position: relative;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-bottom: 8px;
}
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.feature img.feature-fill { filter: blur(18px) brightness(0.5); transform: scale(1.12); }
.feature img.feature-poster {
  inset: auto;
  top: 0;
  bottom: 0;
  left: 50%;
  width: auto;
  height: 100%;
  max-width: 70%;
  object-fit: contain;
  transform: translateX(-50%);
  filter: none;
  z-index: 1;
}
.feature .shade { background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.1) 60%); }
.feature-copy { position: relative; z-index: 1; padding: 18px; }
.feature-copy h2 { margin: 0 0 6px; font-size: 32px; letter-spacing: -0.03em; }
.feature-copy p { margin: 0 0 12px; max-width: 520px; color: #e7e7e7; }
.feature-copy .primary { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; }
.hero { position: relative; margin-bottom: 8px; }
.hero-viewport { overflow: hidden; border-radius: 16px; }
.hero-track { display: flex; width: 100%; transition: transform 0.5s var(--ease); will-change: transform; }
.hero-slide { flex: 0 0 100%; width: 100%; min-width: 0; overflow: hidden; }
.hero .feature { margin-bottom: 0; border-radius: 0; }
.hero .shade {
  z-index: 1;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.28) 46%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent 48%);
}
.hero .feature-copy { z-index: 2; max-width: 560px; }
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 72px;
  margin-top: -36px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: grid;
  place-items: center;
}
.hero-arrow.prev { left: 10px; }
.hero-arrow.next { right: 10px; }
.hero-arrow:hover { background: rgba(0, 0, 0, 0.72); }
.hero-dots {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 6px;
}
.hero-dot {
  width: 28px;
  height: 3px;
  padding: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.38);
  overflow: hidden;
  position: relative;
}
.hero-dot.on::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #fff;
  animation: hero-meter var(--hero-ms, 7s) linear forwards;
}
.hero:hover .hero-dot.on::after { animation-play-state: paused; }
@keyframes hero-meter { to { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .hero-track { transition: none; }
  .hero-dot.on::after { animation: none; width: 100%; }
}
.person {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.person img, .avatar-fallback {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  background: #1c1c1c;
}
.avatar-fallback { display: grid; place-items: center; font-size: 32px; font-weight: 700; }
.person h1 { margin: 0 0 4px; font-size: 28px; }
.person p { margin: 0; color: var(--muted); }
.empty {
  padding: 28px 0 10px;
  color: var(--muted);
}

.disclaimer {
  max-width: 720px;
  margin: 42px auto 8px;
  text-align: center;
  color: #8d8d8d;
  font-size: 13px;
  line-height: 1.55;
}

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--tab-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(0, 0, 0, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  z-index: 40;
}
.tabbar a, .tabbar button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #8e8e8e;
  font-size: 11px;
}
.tabbar svg { width: 22px; height: 22px; }
.tabbar .active { color: var(--red); }

.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 16px 24px;
}
.overlay.dark { background: #000; padding: 0; align-items: stretch; }
.dialog {
  width: min(440px, 100%);
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
}
.dialog h2 { margin: 0 0 8px; font-size: 22px; }
.dialog p { margin: 0 0 16px; color: #cfcfcf; }
.dialog form, .stack { display: flex; flex-direction: column; gap: 10px; }
.field {
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0e0e0e;
  padding: 0 12px;
}
.primary, .ghost {
  height: 42px;
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 650;
}
.primary { background: var(--red); color: #fff; }
.primary:hover { filter: brightness(1.08); }
.ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.16); }
.row-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }

.search-shell { width: min(1100px, 100%); margin: 0 auto; padding: 18px var(--pad) 40px; }
.search-top { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.search-top input {
  flex: 1;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141414;
  padding: 0 16px;
  font-size: 16px;
}
.sheet {
  width: min(520px, 100%);
  margin-top: auto;
  background: #121212;
  border-radius: 18px 18px 0 0;
  padding: 10px 12px calc(16px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.handle { width: 42px; height: 4px; border-radius: 99px; background: #333; margin: 4px auto 10px; }
.sheet a, .sheet button.sheet-link {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
  border-radius: 12px;
  color: #eee;
  font-size: 15px;
}
.sheet a:hover, .sheet button.sheet-link:hover { background: rgba(255, 255, 255, 0.05); }
.overlay.sheet-host { align-items: flex-end; padding: 0; background: rgba(0, 0, 0, 0.55); }

.player {
  width: min(1040px, calc(100% - 24px));
  margin: auto;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 48px);
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.player img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.55); }
.player video { width: 100%; height: 100%; background: #000; object-fit: contain; }
.player.has-video .player-top { z-index: 3; pointer-events: none; }
.player.has-video .player-top .icon-btn { pointer-events: auto; background: rgba(0, 0, 0, 0.45); }
.player .video-error {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  z-index: 3;
  margin: 0;
}
.player-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent 45%);
}
.player-top {
  position: absolute;
  top: 12px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.player-top strong { font-size: 18px; }
.player-note { margin: 0 0 10px; color: #ddd; font-size: 14px; }
.scrub { height: 4px; border-radius: 99px; background: rgba(255,255,255,.25); margin-bottom: 10px; }
.scrub span { display: block; width: 0; height: 100%; background: var(--red); }
.player-controls { display: flex; align-items: center; gap: 12px; color: #fff; }

.collection-item, .party-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.check { display: flex; align-items: center; gap: 8px; }
.entry-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: rgba(0, 0, 0, 0.78);
}
.entry-popup-card { position: relative; width: min(440px, 100%); }
.entry-popup-card img { width: 100%; height: auto; border-radius: 18px; }
.entry-popup-close {
  position: absolute;
  top: -14px;
  right: -6px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 22px;
  line-height: 1;
  z-index: 1;
}
.entry-popup-close:hover { background: #2a2a2a; }
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tab-h) + 16px);
  transform: translateX(-50%) translateY(8px);
  background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (min-width: 801px) {
  :root { --pad: 48px; --tab-h: 0px; }
  .win-banner { grid-template-columns: 1fr auto 1fr; padding-right: 18px; }
  .banner-lang { display: inline-flex; grid-column: 1; justify-self: start; align-self: center; }
  .tools .lang-switch { display: none; }
  .brand { grid-column: 2; justify-self: center; }
  .win-actions { grid-column: 3; justify-self: end; }
  .desk-nav, .account-btn { display: flex; }
  .menu-btn, .tabbar { display: none; }
  .logo img { height: 38px; }
  .header { padding: 0 36px; gap: 18px; }
  .top-bg { height: min(72vh, 700px); }
  .copy { padding-top: min(40vh, 360px); }
  .play-btn {
    left: 50%;
    right: auto;
    top: min(36vh, 350px);
    width: 86px;
    height: 86px;
    transform: translate(-50%, -50%);
  }
  .play-btn:hover { transform: translate(-50%, -50%) scale(1.04); }
  .movie-title { font-size: 60px; }
  .cast-card, .cast-card img, .cast-card .avatar-fallback { width: 122px; }
  .cast-card img, .cast-card .avatar-fallback { height: 122px; }
  .poster { width: 172px; }
  .chev { display: grid; }
  .feature { height: 480px; }
  .feature img.feature-poster { left: auto; right: 6%; transform: none; max-width: 34%; }
  .toast { bottom: 28px; }
  main.page { padding-bottom: 48px; }
  main.movie { padding-bottom: 36px; }
}

.more-wrap { position: relative; }
