@charset "UTF-8";

/* =========================================================
   EAZY DRAMA CMS — Visual System v2
   PHP + HTML + CSS + JavaScript, sem dependências externas
   ========================================================= */

:root {
  color-scheme: dark;
  --bg: #050806;
  --bg-elevated: #090e0b;
  --panel: #0d1410;
  --panel-light: #111a14;
  --panel-hover: #162019;
  --line: rgba(228, 241, 230, 0.12);
  --line-strong: rgba(228, 241, 230, 0.22);
  --text: #f3f7f3;
  --text-soft: #c7d0c8;
  --muted: #8c988f;
  --muted-dark: #68746b;
  --green: #89fa66;
  --green-bright: #a4ff88;
  --green-dark: #183d20;
  --danger: #ffaaa3;
  --warning: #ffd367;
  --radius-sm: 7px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1420px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

img,
video,
iframe {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

::selection {
  background: var(--green);
  color: #071008;
}

/* Shared identity and controls */
.logo-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--green);
  color: #071008;
  box-shadow: 0 0 25px rgba(137, 250, 102, 0.16);
  font-size: 13px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand b {
  color: var(--green);
  font-weight: 850;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #aab5ac;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

.eyebrow i {
  width: 20px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--green);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0 20px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-green {
  border-color: var(--green);
  background: var(--green);
  color: #071008;
  box-shadow: 0 8px 28px rgba(137, 250, 102, 0.14);
}

.btn-green:hover {
  border-color: var(--green-bright);
  background: var(--green-bright);
  box-shadow: 0 12px 34px rgba(137, 250, 102, 0.24);
}

.btn-outline {
  border-color: rgba(137, 250, 102, 0.42);
  background: transparent;
  color: var(--green);
}

.btn-outline:hover {
  border-color: var(--green);
  background: rgba(137, 250, 102, 0.08);
}

.btn-glass {
  border-color: rgba(240, 247, 241, 0.3);
  background: rgba(5, 8, 6, 0.44);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.btn-full {
  width: 100%;
}

.inline-form {
  display: inline;
  margin: 0;
}

/* =========================================================
   Public header
   ========================================================= */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid rgba(236, 246, 238, 0.07);
  background: rgba(5, 8, 6, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  position: relative;
  display: flex;
  width: min(calc(100% - 64px), var(--container));
  min-height: 76px;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}

.main-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(15px, 1.65vw, 26px);
  margin-left: auto;
}

.main-nav a {
  position: relative;
  flex: 0 0 auto;
  padding: 29px 0 27px;
  color: #9aa59c;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.065em;
  white-space: nowrap;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  border-radius: 3px;
  background: var(--green);
  content: "";
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
}

.main-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.icon-btn,
.text-btn {
  border: 0;
  background: transparent;
}

.icon-btn {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #cad2cb;
  font-size: 21px;
  transition: background 180ms ease, color 180ms ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--green);
}

.text-btn {
  padding: 10px 2px;
  color: #e6ece7;
  font-size: 13px;
  font-weight: 650;
}

.text-btn:hover {
  color: var(--green);
}

.header-cta {
  min-height: 40px;
  padding: 0 14px;
  font-size: 11px;
}

.menu-btn {
  display: none;
  font-size: 17px;
}

.member-active {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(137, 250, 102, 0.26);
  border-radius: 999px;
  padding: 9px 11px;
  background: rgba(137, 250, 102, 0.06);
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.member-active i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.member-active span {
  color: #a0aba2;
  font-weight: 600;
  letter-spacing: 0;
}

.search-bar {
  position: absolute;
  z-index: 4;
  right: 0;
  display: flex;
  width: 370px;
  height: 44px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(137, 250, 102, 0.38);
  border-radius: var(--radius-sm);
  padding: 0 11px;
  background: #0b120d;
  color: var(--green);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.36);
}

.search-bar input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
}

.search-bar input::placeholder {
  color: #748077;
}

.search-bar button {
  border: 0;
  background: transparent;
  color: #9ca79e;
  font-size: 21px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  min-height: min(640px, 68vw);
  align-items: center;
  overflow: hidden;
  background: #080d09;
}

.hero-art,
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-art {
  background-position: center 43%;
  background-size: cover;
  animation: heroIn 1000ms ease both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, #050806 0%, rgba(5, 8, 6, 0.97) 14%, rgba(5, 8, 6, 0.8) 35%, rgba(5, 8, 6, 0.24) 67%, rgba(5, 8, 6, 0.08)),
    linear-gradient(0deg, #050806 0%, transparent 28%, rgba(4, 7, 5, 0.25));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 140px), 1400px);
  margin: 0 auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #cbd4cc;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.kicker > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 11px var(--green);
}

.kicker b {
  color: var(--green);
}

.kicker > span {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.3);
}

.hero h1 {
  max-width: 720px;
  margin: 24px 0 16px;
  color: #f7faf7;
  font-size: clamp(52px, 6.6vw, 90px);
  font-weight: 820;
  letter-spacing: -0.075em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: #b9c4bb;
  font-size: 12px;
}

.hero-meta strong {
  color: var(--green);
}

.hero-meta i {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-meta small {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 800;
}

.hero-content > p {
  max-width: 470px;
  margin: 18px 0 24px;
  color: #bdc8bf;
  font-size: 15px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-buttons .btn {
  min-width: 150px;
  height: 49px;
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 36px;
  color: #9ba69d;
  font-size: 11px;
}

.hero-caption i {
  width: 24px;
  height: 1px;
  background: var(--green);
}

.hero-vertical {
  position: absolute;
  z-index: 2;
  top: 48%;
  right: 43px;
  display: flex;
  align-items: center;
  gap: 13px;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
  color: #a8b2aa;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.hero-vertical b {
  color: var(--green);
}

.hero-vertical i {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.38);
}

@keyframes heroIn {
  from { opacity: 0.62; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes textIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Benefit bar and catalogue
   ========================================================= */
.trust-strip {
  display: flex;
  min-height: 98px;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4.8vw, 72px);
  border-block: 1px solid var(--line);
  padding: 15px 36px;
  background: #080d09;
}

.trust-strip > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.trust-strip > div > span {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(137, 250, 102, 0.22);
  border-radius: 11px;
  background: rgba(137, 250, 102, 0.055);
  color: var(--green);
  font-size: 19px;
}

.trust-strip .money-icon {
  font-size: 11px;
  font-weight: 850;
}

.trust-strip p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.trust-strip b {
  color: #e7ede8;
  font-size: 12px;
}

.trust-strip small {
  color: #849087;
  font-size: 11px;
}

.trust-strip > i {
  width: 1px;
  height: 38px;
  background: var(--line);
}

.trust-strip > button {
  border: 0;
  padding: 9px 0;
  background: transparent;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.catalog {
  width: min(calc(100% - 104px), var(--container));
  margin: 0 auto;
  padding: 76px 0 92px;
  scroll-margin-top: 88px;
}

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

.section-head h2 {
  margin: 12px 0 6px;
  color: #f5f8f5;
  font-size: clamp(29px, 3vw, 38px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.section-head p {
  margin: 0;
  color: #909b92;
  font-size: 13px;
}

.slider-buttons {
  display: flex;
  gap: 8px;
}

.slider-buttons button {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(230, 241, 232, 0.18);
  border-radius: 50%;
  background: transparent;
  font-size: 18px;
  transition: 180ms ease;
}

.slider-buttons button:hover {
  border-color: var(--green);
  background: rgba(137, 250, 102, 0.06);
  color: var(--green);
}

.category-pills {
  display: flex;
  max-width: 100%;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 24px;
  padding-bottom: 8px;
  scrollbar-width: none;
}

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

.category-pills a {
  flex: 0 0 auto;
  border: 1px solid rgba(228, 239, 230, 0.14);
  border-radius: 5px;
  padding: 9px 12px;
  color: #929e94;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: 180ms ease;
}

.category-pills a:hover,
.category-pills a.active {
  border-color: rgba(137, 250, 102, 0.5);
  background: rgba(137, 250, 102, 0.075);
  color: var(--green);
}

.card-row {
  display: grid;
  grid-auto-columns: clamp(190px, 16vw, 225px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 18px;
  scroll-behavior: smooth;
  scrollbar-color: rgba(137, 250, 102, 0.3) transparent;
  scrollbar-width: thin;
}

.card-row::-webkit-scrollbar {
  height: 5px;
}

.card-row::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: rgba(137, 250, 102, 0.3);
}

.media-card {
  min-width: 0;
}

.poster {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(225, 238, 227, 0.1);
  border-radius: 11px;
  background-color: #152019;
  background-position: center 35%;
  background-size: cover;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.16);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.poster:hover {
  transform: translateY(-6px);
  border-color: rgba(137, 250, 102, 0.48);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.26), transparent 35%, rgba(1, 4, 2, 0.93));
}

.poster-tags {
  position: absolute;
  top: 12px;
  right: 10px;
  left: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
}

.poster-tags b,
.poster-tags i {
  border: 1px solid rgba(248, 251, 248, 0.28);
  border-radius: 3px;
  padding: 5px 7px;
  background: rgba(5, 9, 6, 0.58);
  color: #f2f6f2;
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.poster-tags i {
  border-color: rgba(137, 250, 102, 0.46);
  color: var(--green);
}

.poster-play {
  position: absolute;
  top: 47%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: translate(-50%, -50%) scale(0.74);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: rgba(4, 8, 5, 0.68);
  color: var(--green);
  font-size: 13px;
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: 200ms ease;
}

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

.poster-copy {
  position: absolute;
  right: 14px;
  bottom: 15px;
  left: 14px;
  display: grid;
  gap: 6px;
}

.poster-copy small {
  color: var(--green);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.poster-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-overflow: ellipsis;
}

.poster-copy em {
  color: #bdc6be;
  font-size: 10px;
  font-style: normal;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 3px 0;
}

.card-meta p {
  display: grid;
  min-width: 0;
  gap: 4px;
  margin: 0;
}

.card-meta b {
  overflow: hidden;
  color: #dfe7e0;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-meta small {
  color: #748077;
  font-size: 9px;
  letter-spacing: 0.07em;
}

.card-meta button {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 17px;
  transition: 180ms ease;
}

.card-meta button:hover,
.card-meta button.saved {
  border-color: var(--green);
  background: rgba(137, 250, 102, 0.07);
  color: var(--green);
}

.empty-state,
.no-search-results {
  display: grid;
  min-width: min(80vw, 1000px);
  min-height: 280px;
  place-content: center;
  justify-items: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  text-align: center;
}

.empty-state span,
.no-search-results span {
  color: var(--green);
  font-size: 28px;
}

.empty-state h3,
.no-search-results h3 {
  margin: 12px 0 4px;
  font-size: 18px;
}

.empty-state p,
.no-search-results p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* =========================================================
   Promotional sections
   ========================================================= */
.cinema-banner {
  position: relative;
  display: flex;
  min-height: 380px;
  align-items: center;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0b120d;
}

.cinema-image,
.cinema-overlay {
  position: absolute;
  inset: 0;
}

.cinema-image {
  background: url("../images/hero-destino.jpg") 70% 42% / cover;
  opacity: 0.46;
}

.cinema-overlay {
  background:
    linear-gradient(90deg, #080c09 0%, rgba(8, 12, 9, 0.94) 30%, rgba(8, 12, 9, 0.6) 65%, rgba(8, 12, 9, 0.3)),
    linear-gradient(0deg, #080c09, transparent 28%, #080c09);
}

.cinema-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 104px), var(--container));
  margin: 0 auto;
}

.cinema-content h2 {
  margin: 16px 0 12px;
  color: #fff;
  font-size: clamp(39px, 5vw, 62px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.cinema-content h2 em,
.steps-section h2 em {
  color: var(--green);
  font-style: normal;
}

.cinema-content p {
  max-width: 430px;
  margin: 0 0 21px;
  color: #a8b4aa;
  font-size: 14px;
  line-height: 1.6;
}

.price-stamp {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: max(90px, calc((100vw - 1320px) / 2));
  display: grid;
  width: 154px;
  height: 154px;
  place-content: center;
  justify-items: center;
  transform: translateY(-50%) rotate(8deg);
  border: 1px solid rgba(137, 250, 102, 0.55);
  border-radius: 50%;
  background: rgba(8, 13, 9, 0.48);
  color: var(--green);
  box-shadow: inset 0 0 40px rgba(137, 250, 102, 0.05);
}

.price-stamp b {
  font-size: 52px;
  font-weight: 850;
  letter-spacing: -0.09em;
  line-height: 1;
}

.price-stamp span {
  margin-top: 7px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.price-stamp i {
  position: absolute;
  right: 12px;
  bottom: 15px;
  font-size: 19px;
  font-style: normal;
}

.steps-section {
  display: grid;
  width: min(calc(100% - 104px), var(--container));
  grid-template-columns: 0.75fr 1.6fr;
  gap: 7%;
  margin: 0 auto;
  padding: 86px 0 94px;
}

.steps-section h2 {
  margin: 17px 0 0;
  color: #f5f8f5;
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 740;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.steps article {
  position: relative;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 21px 17px;
  background: linear-gradient(145deg, rgba(19, 29, 21, 0.84), rgba(9, 14, 10, 0.9));
}

.steps article > small {
  position: absolute;
  top: 18px;
  right: 16px;
  color: #667269;
  font-size: 10px;
  font-weight: 750;
}

.steps article > span {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid rgba(137, 250, 102, 0.26);
  border-radius: 9px;
  background: rgba(137, 250, 102, 0.07);
  color: var(--green);
  font-size: 18px;
}

.steps h3 {
  margin: 22px 0 7px;
  color: #e6ede7;
  font-size: 14px;
}

.steps p {
  margin: 0;
  color: #839087;
  font-size: 12px;
  line-height: 1.65;
}

.bottom-cta {
  display: flex;
  min-height: 185px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-block: 1px solid rgba(137, 250, 102, 0.15);
  padding: 36px max(52px, calc((100vw - 1420px) / 2));
  background: linear-gradient(110deg, #0e1910, #09100b);
}

.bottom-cta h2 {
  margin: 11px 0 6px;
  color: #f5f8f5;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.06em;
}

.bottom-cta p {
  margin: 0;
  color: #94a097;
  font-size: 13px;
}

/* Footer */
.site-footer {
  width: min(calc(100% - 104px), var(--container));
  margin: 0 auto;
  padding: 43px 0 24px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 42px;
  padding-bottom: 30px;
}

.footer-top > p {
  margin: 2px auto 0 0;
  color: #818c83;
  font-size: 12px;
  line-height: 1.7;
}

.footer-top nav {
  display: flex;
  align-items: center;
  gap: 21px;
}

.footer-top nav a,
.footer-top nav button {
  border: 0;
  padding: 6px 0;
  background: transparent;
  color: #aab5ac;
  font-size: 11px;
}

.footer-top nav a:hover,
.footer-top nav button:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  border-top: 1px solid var(--line);
  padding-top: 19px;
  color: #68746b;
  font-size: 10px;
}

.footer-bottom a:hover {
  color: var(--green);
}

.legal-note {
  max-width: 1000px;
  margin: 18px 0 0;
  color: #59655c;
  font-size: 10px;
  line-height: 1.65;
}

/* =========================================================
   Feedback and access modal
   ========================================================= */
.global-flash {
  position: fixed;
  z-index: 150;
  top: 89px;
  left: 50%;
  display: flex;
  width: min(calc(100% - 28px), 620px);
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  border: 1px solid rgba(137, 250, 102, 0.27);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(10, 20, 12, 0.98);
  color: #c4ecba;
  box-shadow: 0 16px 50px #000;
  font-size: 12px;
}

.global-flash > span {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(137, 250, 102, 0.1);
  color: var(--green);
}

.global-flash button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #9ba69d;
  font-size: 18px;
}

.global-flash.flash-error {
  border-color: rgba(255, 150, 142, 0.3);
  background: rgba(25, 10, 10, 0.98);
  color: #ffc0bb;
}

.global-flash.flash-error > span {
  background: rgba(255, 120, 110, 0.12);
  color: var(--danger);
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  overflow-y: auto;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}

.modal-backdrop.is-open {
  display: grid;
}

.access-modal {
  position: relative;
  display: grid;
  width: min(100%, 960px);
  min-height: 590px;
  grid-template-columns: 0.82fr 1.18fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #0a100c;
  box-shadow: var(--shadow);
  animation: modalIn 200ms ease both;
}

.modal-close {
  position: absolute;
  z-index: 6;
  top: 15px;
  right: 15px;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(7, 11, 8, 0.78);
  color: #dde5de;
  font-size: 20px;
}

.modal-close:hover {
  border-color: var(--green);
  color: var(--green);
}

.modal-art {
  position: relative;
  display: flex;
  min-height: 590px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px;
  background:
    linear-gradient(0deg, rgba(5, 8, 6, 0.97), rgba(5, 8, 6, 0.2)),
    url("../images/poster-midnight.jpg") center 38% / cover;
}

.modal-art > * {
  position: relative;
  z-index: 1;
}

.modal-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}

.modal-brand b {
  color: var(--green);
}

.modal-art > div:nth-child(2) h2 {
  margin: 16px 0 11px;
  font-size: 47px;
  letter-spacing: -0.065em;
  line-height: 1;
}

.modal-art > div:nth-child(2) p {
  max-width: 285px;
  margin: 0;
  color: #c0cbc2;
  font-size: 13px;
  line-height: 1.75;
}

.modal-art > small {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 15px;
  color: #c4cec5;
  font-size: 10px;
}

.modal-content {
  max-height: 90vh;
  overflow-y: auto;
  padding: 38px 42px 30px;
  scrollbar-color: rgba(137, 250, 102, 0.24) transparent;
  scrollbar-width: thin;
}

.modal-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: 22px;
}

.modal-switch .eyebrow {
  color: var(--green);
}

.modal-switch button {
  border: 0;
  padding: 5px 0;
  background: transparent;
  color: #aab5ac;
  font-size: 11px;
}

.modal-switch button:hover {
  color: var(--green);
}

.modal-content [data-register-pane] > h2,
.modal-content [data-login-pane] > h2 {
  margin: 20px 0 6px;
  color: #f4f8f4;
  font-size: 32px;
  letter-spacing: -0.06em;
}

.modal-content [data-register-pane] > p,
.modal-content [data-login-pane] > p {
  margin: 0 0 18px;
  color: #8e9a90;
  font-size: 13px;
}

.price-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(137, 250, 102, 0.24);
  border-radius: 9px;
  padding: 12px 13px;
  background: linear-gradient(110deg, rgba(137, 250, 102, 0.1), rgba(137, 250, 102, 0.025));
}

.price-box > span {
  color: var(--green);
  font-size: 23px;
}

.price-box p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.price-box p small {
  color: #9ca89e;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.09em;
}

.price-box p b {
  color: var(--green);
  font-size: 20px;
  letter-spacing: -0.04em;
}

.price-box p i {
  padding: 0 5px;
  color: #79857b;
  font-size: 9px;
  font-style: normal;
}

.price-box > em {
  margin-left: auto;
  border: 1px solid rgba(137, 250, 102, 0.22);
  border-radius: 999px;
  padding: 6px 8px;
  color: #b7e6ac;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.access-form,
.admin-form,
.admin-login-form,
.install-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.access-form label,
.admin-form label,
.admin-login-form label,
.install-form label {
  display: grid;
  gap: 7px;
  color: #c4cec5;
  font-size: 11px;
  font-weight: 700;
}

.access-form input,
.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-login-form input,
.install-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(224, 237, 226, 0.14);
  border-radius: 6px;
  padding: 0 12px;
  background: #0c130e;
  color: #f0f6f1;
  font-size: 12px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.access-form input::placeholder,
.admin-form input::placeholder,
.admin-form textarea::placeholder,
.admin-login-form input::placeholder,
.install-form input::placeholder {
  color: #647067;
}

.admin-form textarea {
  min-height: 95px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.55;
}

.access-form input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.admin-login-form input:focus,
.install-form input:focus {
  border-color: rgba(137, 250, 102, 0.62);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(137, 250, 102, 0.06);
}

.access-form label > small,
.admin-form label > small {
  color: #707c72;
  font-size: 9px;
  font-weight: 450;
}

.payment-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.payment-title b {
  font-size: 12px;
}

.payment-title span {
  color: #7d8980;
  font-size: 9px;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.payment-options label {
  display: flex;
  min-width: 0;
  min-height: 58px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px;
  background: #0c120e;
  cursor: pointer;
  transition: 180ms ease;
}

.payment-options label:hover,
.payment-options label.selected {
  border-color: rgba(137, 250, 102, 0.52);
  background: rgba(137, 250, 102, 0.065);
}

.payment-options input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pay-logo {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #b8fb63;
  color: #061008;
  font-size: 14px;
  font-weight: 900;
}

.pay-logo.emola {
  background: #ed5363;
  color: #fff;
  font-style: italic;
}

.pay-logo.paypal {
  background: #70c8f8;
  color: #08213c;
  font-style: italic;
}

.payment-options b {
  display: grid;
  min-width: 0;
  gap: 3px;
  overflow: hidden;
  font-size: 10px;
}

.payment-options small {
  color: #808c82;
  font-size: 9px;
}

.payment-options i {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px solid #6d786f;
  border-radius: 50%;
}

.payment-options label.selected i {
  border: 3px solid var(--green);
}

.payment-help,
.pending-note {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.02);
}

.payment-help > span,
.pending-note > span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(137, 250, 102, 0.09);
  color: var(--green);
}

.payment-help p,
.pending-note p {
  display: grid;
  min-width: 0;
  gap: 3px;
  margin: 0;
}

.payment-help b,
.pending-note b {
  font-size: 10px;
}

.payment-help small,
.pending-note small {
  color: #879289;
  font-size: 9px;
}

.payment-help strong {
  color: #beebb3;
}

.payment-help button,
.payment-help a {
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px solid rgba(137, 250, 102, 0.25);
  border-radius: 4px;
  padding: 7px 8px;
  background: transparent;
  color: var(--green);
  font-size: 8px;
  font-weight: 750;
}

.login-form {
  margin-top: 25px;
}

.pending-note {
  margin-top: 20px;
}

.pending-note p {
  margin: 0 !important;
}

.pending-note > span {
  font-family: serif;
  font-weight: 800;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(11px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================
   Watch experience
   ========================================================= */
.watch-body {
  min-height: 100vh;
  background: #070b08;
}

.watch-header {
  display: flex;
  min-height: calc(64px + env(safe-area-inset-top, 0px));
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  background: #080d0a;
}

.watch-header > a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b5c0b7;
  font-size: 11px;
}

.watch-header > a:hover {
  color: var(--green);
}

.watch-header .brand {
  font-size: 12px;
}

.watch-header .logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  font-size: 9px;
}

.watch-header > small {
  color: #7e8a80;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.watch-layout {
  display: grid;
  width: min(100%, 1450px);
  min-height: calc(100vh - 64px);
  grid-template-columns: minmax(0, 1fr) 320px;
  margin: 0 auto;
}

.watch-main {
  min-width: 0;
  padding: 22px;
}

.app-player {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(235, 245, 237, 0.08);
  border-radius: 9px;
  background: #020403;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.26);
}

.app-player:fullscreen,
.app-player:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: #000;
}

.app-player iframe,
.app-player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #020403;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.app-player video::-webkit-media-controls,
.app-player video::-webkit-media-controls-enclosure,
.app-player video::-webkit-media-controls-panel,
.app-player video::-webkit-media-controls-overlay-play-button,
.app-player video::-webkit-media-controls-start-playback-button {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  -webkit-appearance: none !important;
}

.embed-player iframe {
  inset: -1.25%;
  width: 102.5%;
  height: 102.5%;
}

.embed-player::before,
.embed-player::after {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  content: "";
  pointer-events: none;
}

.embed-player::before {
  top: 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(2, 4, 3, 0.96) 0%, rgba(2, 4, 3, 0.58) 42%, transparent 100%);
}

.embed-player::after {
  bottom: 0;
  height: 92px;
  background: linear-gradient(0deg, rgba(2, 4, 3, 0.98) 0%, rgba(2, 4, 3, 0.72) 48%, transparent 100%);
}

.player-cover {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  background-color: #070a08;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.player-cover::before {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 3, 0.45);
  content: "";
}

.player-cover > * {
  position: relative;
}

.big-play {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: var(--green);
  color: #071008;
  box-shadow: 0 0 42px rgba(137, 250, 102, 0.3);
  font-size: 19px;
  transition: transform 180ms ease;
}

.player-cover:hover .big-play {
  transform: scale(1.08);
}

.player-cover b {
  font-size: 12px;
}

.player-cover small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 550;
}

.custom-controls {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 70px;
  align-items: flex-end;
  gap: 10px;
  padding: 25px 14px 11px;
  background: linear-gradient(transparent, rgba(1, 3, 2, 0.72) 32%, rgba(1, 3, 2, 0.97));
  backdrop-filter: blur(2px);
}

.custom-controls button {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(5, 9, 6, 0.78);
  color: #f2f7f3;
  font-size: 12px;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.custom-controls button:hover,
.custom-controls button:focus-visible {
  border-color: var(--green);
  background: rgba(137, 250, 102, 0.1);
  color: var(--green);
}

.progress-track {
  position: relative;
  height: 5px;
  flex: 1;
  overflow: visible;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.progress-track::before {
  position: absolute;
  inset: -10px 0;
  content: "";
}

.progress-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--green);
}

.custom-controls > span {
  min-width: 78px;
  color: #dce4dd;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-align: right;
}

.preview-label {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  padding: 7px 9px;
  background: rgba(4, 8, 5, 0.75);
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.preview-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.player-watermark {
  position: absolute;
  z-index: 3;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 5px #000;
  pointer-events: none;
}

.player-watermark .logo-mark {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  font-size: 6px;
}

.preview-ended {
  position: absolute;
  z-index: 7;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  background: radial-gradient(ellipse at 50% 20%, rgba(55, 116, 57, 0.28), transparent 67%), rgba(4, 7, 5, 0.98);
  text-align: center;
}

.preview-ended > span,
.player-empty > span {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  border: 1px solid rgba(137, 250, 102, 0.32);
  border-radius: 50%;
  background: rgba(137, 250, 102, 0.08);
  color: var(--green);
  font-size: 19px;
}

.preview-ended small {
  margin-top: 7px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.preview-ended h2 {
  margin: 2px 0;
  font-size: 28px;
  letter-spacing: -0.05em;
}

.preview-ended p {
  margin: 0 0 9px;
  color: #a8b4aa;
  font-size: 11px;
}

.player-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse at 50% 35%, rgba(39, 67, 42, 0.32), transparent 62%);
  text-align: center;
}

.player-empty h2 {
  margin: 12px 0 5px;
  font-size: 19px;
}

.player-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.watch-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 3px;
}

.watch-info .eyebrow {
  color: var(--green);
}

.watch-info h1 {
  margin: 7px 0 8px;
  color: #f0f5f1;
  font-size: 27px;
  letter-spacing: -0.05em;
}

.watch-info p {
  max-width: 680px;
  margin: 0;
  color: #96a298;
  font-size: 12px;
  line-height: 1.7;
}

.access-note {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding-top: 4px;
  color: #a8b4aa;
  font-size: 10px;
}

.access-note i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(137, 250, 102, 0.1);
  color: var(--green);
  font-size: 10px;
  font-style: normal;
}

.episode-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding: 22px 17px max(22px, env(safe-area-inset-bottom, 0px));
  background: #0a100c;
}

.episode-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
}

.episode-title .eyebrow {
  color: #859087;
  font-size: 9px;
}

.episode-title h2 {
  margin: 5px 0 0;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.episode-title > b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(137, 250, 102, 0.2);
  border-radius: 50%;
  background: rgba(137, 250, 102, 0.05);
  color: var(--green);
  font-size: 10px;
}

.episode-list {
  display: grid;
  gap: 8px;
  max-height: 410px;
  overflow-y: auto;
  scrollbar-color: rgba(137, 250, 102, 0.22) transparent;
  scrollbar-width: thin;
}

.episode-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.025);
  transition: 180ms ease;
}

.episode-item:hover,
.episode-item.active {
  border-color: rgba(137, 250, 102, 0.3);
  background: rgba(137, 250, 102, 0.065);
}

.episode-thumb {
  position: relative;
  display: grid;
  width: 64px;
  height: 45px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 4px;
  background-position: center;
  background-size: cover;
}

.episode-thumb::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.45);
  content: "";
}

.episode-thumb i {
  position: relative;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.episode-item > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.episode-item > span:nth-child(2) b {
  overflow: hidden;
  color: #dbe4dc;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.episode-item small {
  color: #748077;
  font-size: 8px;
}

.episode-item em {
  margin-left: auto;
  color: var(--green);
  font-size: 9px;
  font-style: normal;
  opacity: 0;
}

.episode-item:hover em,
.episode-item.active em {
  opacity: 1;
}

.episode-empty {
  padding: 22px 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.locked-count {
  display: flex;
  align-items: center;
  gap: 9px;
  border-block: 1px solid var(--line);
  margin-top: auto;
  padding: 13px 3px;
}

.locked-count > span {
  color: #aab5ac;
}

.locked-count p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.locked-count b {
  font-size: 10px;
}

.locked-count small {
  color: #7f8b81;
  font-size: 8px;
}

.locked-count a {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  margin-left: auto;
  border: 1px solid rgba(137, 250, 102, 0.32);
  border-radius: 50%;
  color: var(--green);
}

.unlock-box {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(137, 250, 102, 0.2);
  border-radius: 9px;
  margin-top: 13px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(137, 250, 102, 0.07), rgba(137, 250, 102, 0.015));
}

.unlock-box > span {
  color: var(--green);
  font-size: 17px;
}

.unlock-box > b {
  font-size: 12px;
}

.unlock-box > p {
  margin: -2px 0 2px;
  color: #828e84;
  font-size: 9px;
}

.unlock-box > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
}

.unlock-box strong {
  color: var(--green);
  font-size: 18px;
}

.unlock-box i {
  color: #7b877d;
  font-size: 9px;
  font-style: normal;
}

.unlock-box .btn {
  min-height: 38px;
  font-size: 10px;
}

.unlock-box > small {
  color: #707c72;
  font-size: 8px;
  text-align: center;
}

/* =========================================================
   Administration
   ========================================================= */
.admin-body {
  min-height: 100vh;
  background: #070b08;
}

.admin-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  background: rgba(7, 11, 8, 0.97);
  backdrop-filter: blur(18px);
}

.admin-header .brand > span:last-child {
  display: grid;
  gap: 2px;
}

.admin-header .brand small {
  color: var(--green);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.admin-header > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.admin-header form button {
  border: 0;
  background: transparent;
  color: #97a299;
  font-size: 10px;
}

.admin-header form button:hover {
  color: var(--green);
}

.admin-home {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 19px;
}

.admin-login-shell {
  display: flex;
  min-height: calc(100vh - 66px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 18px;
  text-align: center;
}

.admin-login-shell > .eyebrow {
  color: var(--green);
}

.admin-login-shell h1 {
  margin: 12px 0 6px;
  font-size: 34px;
  letter-spacing: -0.06em;
}

.admin-login-shell > p {
  margin: 0 0 22px;
  color: #929e94;
  font-size: 13px;
}

.admin-login-form {
  width: min(100%, 380px);
  text-align: left;
}

.admin-login-shell > small {
  margin-top: 22px;
  color: #5b665d;
  font-size: 9px;
}

.admin-main {
  width: min(calc(100% - 60px), 1280px);
  margin: 0 auto;
  padding: 30px 0 54px;
}

.admin-welcome {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 25px;
}

.admin-welcome .eyebrow {
  color: var(--green);
}

.admin-welcome h1 {
  margin: 7px 0 5px;
  font-size: 32px;
  letter-spacing: -0.06em;
}

.admin-welcome p {
  margin: 0;
  color: #818d83;
  font-size: 12px;
}

.metrics {
  display: flex;
  gap: 9px;
}

.metrics article {
  display: grid;
  min-width: 112px;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.02);
}

.metrics b {
  color: var(--green);
  font-size: 21px;
  line-height: 1;
}

.metrics span {
  color: #839087;
  font-size: 9px;
}

.admin-tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

.admin-tabs a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 1px;
  color: #818d83;
  font-size: 11px;
  font-weight: 700;
}

.admin-tabs a.active {
  color: #eef4ef;
}

.admin-tabs a.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
}

.admin-tabs a > b {
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #071008;
  font-size: 8px;
}

.admin-section {
  padding-top: 23px;
}

.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.admin-section-head h2 {
  margin: 0 0 5px;
  color: #e8efe9;
  font-size: 18px;
}

.admin-section-head p {
  margin: 0;
  color: #7d8980;
  font-size: 11px;
}

.admin-section-head > span,
.admin-section-head > a {
  border: 1px solid rgba(137, 250, 102, 0.22);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(137, 250, 102, 0.05);
  color: var(--green);
  font-size: 9px;
  white-space: nowrap;
}

.request-list {
  display: grid;
  gap: 9px;
}

.request-card {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.022);
}

.avatar {
  display: grid;
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(137, 250, 102, 0.24);
  border-radius: 50%;
  background: rgba(137, 250, 102, 0.065);
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
}

.request-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 5px;
}

.request-copy > b {
  color: #e8efe9;
  font-size: 12px;
}

.request-copy > a {
  width: max-content;
  color: #a9b4aa;
  font-size: 10px;
}

.request-copy p {
  margin: 0;
  color: #9ba69d;
  font-size: 9px;
}

.request-copy p span {
  border: 1px solid rgba(137, 250, 102, 0.22);
  border-radius: 3px;
  margin-right: 6px;
  padding: 3px 5px;
  color: #b9e8ae;
  font-weight: 750;
}

.request-copy > small {
  color: #68746b;
  font-size: 9px;
}

.request-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.request-actions button {
  min-height: 33px;
  border-radius: 5px;
  padding: 0 11px;
  font-size: 9px;
  font-weight: 750;
}

.approve {
  border: 1px solid rgba(137, 250, 102, 0.25);
  background: var(--green);
  color: #071008;
}

.reject {
  border: 1px solid rgba(255, 150, 142, 0.22);
  background: rgba(255, 90, 80, 0.05);
  color: #df9c97;
}

.admin-empty {
  display: grid;
  min-height: 190px;
  place-content: center;
  justify-items: center;
  border: 1px dashed var(--line);
  border-radius: 9px;
  text-align: center;
}

.admin-empty > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(137, 250, 102, 0.08);
  color: var(--green);
}

.admin-empty h3 {
  margin: 11px 0 4px;
  font-size: 14px;
}

.admin-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.member-table-wrap {
  overflow-x: auto;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.member-table-wrap h3 {
  font-size: 13px;
}

.member-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.member-table th {
  padding: 9px;
  color: #748077;
  font-size: 9px;
  text-align: left;
}

.member-table td {
  border-top: 1px solid rgba(226, 242, 230, 0.07);
  padding: 10px 9px;
  color: #a9b4ab;
}

.member-table td b,
.member-table td small {
  display: block;
}

.member-table td b {
  color: #e3eae4;
}

.member-table td small {
  margin-top: 3px;
  color: #6f7b71;
}

.status {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 7px;
  font-size: 8px;
  font-weight: 750;
  text-transform: uppercase;
}

.status-approved {
  background: rgba(137, 250, 102, 0.09);
  color: var(--green);
}

.status-pending {
  background: rgba(255, 211, 103, 0.09);
  color: var(--warning);
}

.status-rejected {
  background: rgba(255, 120, 110, 0.08);
  color: var(--danger);
}

.table-action {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 9px;
}

.admin-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(137, 250, 102, 0.26);
  border-radius: 9px;
  margin-top: 20px;
  padding: 13px 14px;
  background: linear-gradient(110deg, rgba(137, 250, 102, 0.09), rgba(137, 250, 102, 0.025));
}

.admin-notice > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #071008;
  font-size: 11px;
}

.admin-notice > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.admin-notice b {
  color: #eaf2eb;
  font-size: 11px;
}

.admin-notice p {
  margin: 0;
  color: #96a299;
  font-size: 9px;
}

.admin-notice > a,
.episode-source {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--green);
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
}

.admin-notice > form {
  flex: 0 0 auto;
  margin-left: auto;
}

.admin-notice > form .btn {
  min-height: 36px;
  padding-inline: 12px;
  font-size: 9px;
  white-space: nowrap;
}

.admin-notice.notice-warning {
  border-color: rgba(255, 211, 103, 0.28);
  background: rgba(255, 211, 103, 0.045);
}

.admin-notice.notice-warning > span {
  background: var(--warning);
}

.library-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(330px, 0.8fr);
  gap: 30px;
}

.admin-form {
  margin-top: 0;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid.two {
  grid-template-columns: 1fr 0.72fr;
}

.form-grid.three {
  grid-template-columns: 1.2fr 0.36fr 1fr;
}

.check-label {
  display: flex !important;
  min-height: 42px;
  align-items: center;
  align-self: end;
  gap: 8px !important;
}

.check-label input {
  width: 15px;
  min-height: 15px;
  accent-color: var(--green);
}

.admin-form > .btn {
  width: max-content;
  min-height: 40px;
  font-size: 10px;
}

.admin-divider {
  height: 1px;
  margin: 25px 0;
  background: var(--line);
}

.form-hint {
  color: var(--muted);
  font-size: 10px;
}

.published-list {
  display: grid;
  gap: 8px;
}

.published-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(226, 242, 230, 0.08);
  border-radius: 7px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.02);
}

.published-poster {
  display: grid;
  width: 42px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 4px;
  background: #162119 center / cover;
  color: var(--green);
  font-size: 10px;
}

.published-item > p {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 5px;
  margin: 0;
}

.published-item > p b {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.published-item > p small {
  color: #768278;
  font-size: 8px;
}

.published-item > em {
  border: 1px solid rgba(137, 250, 102, 0.22);
  border-radius: 3px;
  padding: 4px 5px;
  color: var(--green);
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
}

.published-item > a {
  color: #aeb9b0;
  font-size: 9px;
}

.published-item form button,
.episode-admin-list form button {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(255, 150, 142, 0.17);
  border-radius: 50%;
  background: transparent;
  color: #c88782;
  font-size: 16px;
}

.episode-admin-list {
  margin-top: 22px;
}

.episode-admin-list h3 {
  font-size: 13px;
}

.episode-admin-list article {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid rgba(226, 242, 230, 0.08);
  padding: 9px 2px;
}

.episode-admin-list article > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 5px;
  background: rgba(137, 250, 102, 0.07);
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.episode-admin-list article > p {
  display: grid;
  flex: 1;
  gap: 3px;
  margin: 0;
}

.episode-admin-list article b {
  font-size: 10px;
}

.episode-admin-list article small {
  color: #758077;
  font-size: 8px;
}

.settings-section {
  max-width: 940px;
}

.settings-form fieldset,
.install-form fieldset {
  display: grid;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 17px;
}

.settings-form legend,
.install-form legend {
  padding: 0 7px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

/* Diagnostics */
.diagnostic-summary {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
}

.diagnostic-summary > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  font-weight: 850;
}

.diagnostic-summary.is-ok {
  border-color: rgba(137, 250, 102, 0.24);
  color: var(--green);
}

.diagnostic-summary.is-ok > span {
  background: rgba(137, 250, 102, 0.1);
}

.diagnostic-summary.has-error {
  border-color: rgba(255, 150, 142, 0.26);
  color: var(--danger);
}

.diagnostic-summary.has-error > span {
  background: rgba(255, 120, 110, 0.1);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.diagnostic-card {
  display: flex;
  min-height: 105px;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.02);
}

.diagnostic-card > span {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  font-weight: 850;
}

.diagnostic-card.check-ok > span {
  background: rgba(137, 250, 102, 0.1);
  color: var(--green);
}

.diagnostic-card.check-error {
  border-color: rgba(255, 150, 142, 0.22);
}

.diagnostic-card.check-error > span {
  background: rgba(255, 120, 110, 0.1);
  color: var(--danger);
}

.diagnostic-card h2 {
  margin: 1px 0 6px;
  font-size: 13px;
}

.diagnostic-card p {
  margin: 0;
  color: #879389;
  font-size: 10px;
  line-height: 1.6;
}

.diagnostic-help {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 22px;
  padding: 20px;
  background: #0b110d;
}

.diagnostic-help h2 {
  margin: 0 0 11px;
  font-size: 17px;
}

.diagnostic-help ol {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 20px;
  color: #9ca79e;
  font-size: 11px;
}

.diagnostic-help > div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

/* =========================================================
   Installer
   ========================================================= */
.install-body {
  min-height: 100vh;
  background: radial-gradient(circle at 15% 20%, rgba(137, 250, 102, 0.08), transparent 32%), #050806;
}

.install-shell {
  display: grid;
  width: min(calc(100% - 36px), 1060px);
  min-height: 100vh;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 62px;
  margin: 0 auto;
  padding: 42px 0;
}

.install-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.install-brand .logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  font-size: 19px;
}

.install-brand strong {
  margin-top: 15px;
  font-size: 28px;
  letter-spacing: -0.05em;
}

.install-brand strong span {
  color: var(--green);
}

.install-brand p {
  color: var(--muted);
  font-size: 13px;
}

.install-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 37px;
  background: rgba(11, 17, 13, 0.94);
  box-shadow: var(--shadow);
}

.install-card > .eyebrow {
  color: var(--green);
}

.install-card > h1 {
  margin: 14px 0 8px;
  font-size: 34px;
  letter-spacing: -0.06em;
}

.install-card > p {
  margin: 0 0 22px;
  color: #96a198;
  font-size: 12px;
  line-height: 1.7;
}

.install-card code {
  border-radius: 3px;
  padding: 2px 4px;
  background: #161f18;
  color: #c7eec0;
}

.install-form {
  margin-top: 19px;
}

.install-success {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(137, 250, 102, 0.3);
  border-radius: 50%;
  margin-bottom: 19px;
  background: rgba(137, 250, 102, 0.07);
  color: var(--green);
  font-size: 21px;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.alert {
  border-radius: 6px;
  margin: 11px 0;
  padding: 10px 11px;
  font-size: 10px;
}

.alert-error {
  border: 1px solid rgba(255, 150, 142, 0.25);
  background: rgba(255, 100, 90, 0.06);
  color: #ffb0aa;
}

/* =========================================================
   Responsive — laptop/tablet
   ========================================================= */
@media (max-width: 1180px) {
  .header-inner {
    width: calc(100% - 44px);
    gap: 20px;
  }

  .main-nav {
    gap: 12px;
  }

  .main-nav a {
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .catalog,
  .steps-section,
  .site-footer,
  .cinema-content {
    width: calc(100% - 72px);
  }

  .hero-content {
    width: calc(100% - 94px);
  }

  .trust-strip {
    gap: 26px;
  }

  .library-grid {
    grid-template-columns: 1fr;
  }

  .library-column {
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }

  .watch-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

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

  .main-nav {
    position: absolute;
    top: 100%;
    right: -22px;
    left: -22px;
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 20px;
    border-bottom: 1px solid var(--line);
    padding: 14px 18px 16px;
    background: rgba(5, 8, 6, 0.99);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.28);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 8px 0;
    font-size: 10px;
  }

  .main-nav a::after {
    bottom: 0;
  }

  .menu-btn {
    display: grid;
  }

  .hero {
    min-height: 590px;
  }

  .hero-art {
    background-position: 58% center;
  }

  .hero-content {
    width: calc(100% - 72px);
  }

  .trust-strip {
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 19px 25px;
  }

  .trust-strip > i {
    display: none;
  }

  .steps-section {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .steps-section h2 br {
    display: none;
  }

  .watch-layout {
    grid-template-columns: 1fr;
  }

  .episode-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .episode-list {
    max-height: 270px;
  }

  .locked-count {
    margin-top: 15px;
  }

  .unlock-box {
    max-width: 380px;
  }

  .install-shell {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px 0;
  }

  .install-brand {
    align-items: center;
    text-align: center;
  }

  .install-card {
    width: min(100%, 680px);
    margin: 0 auto;
  }
}

/* =========================================================
   Responsive — mobile
   ========================================================= */
@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    width: calc(100% - 26px);
    min-height: 62px;
    flex-wrap: wrap;
    gap: 0 8px;
    padding-top: 0;
  }

  .header-inner > .brand {
    order: 1;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
  }

  .main-nav,
  .main-nav.open {
    position: static;
    order: 3;
    display: flex;
    width: calc(100% + 26px);
    flex: 0 0 calc(100% + 26px);
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    margin: 0 -13px;
    border-top: 1px solid rgba(228, 241, 230, 0.07);
    border-bottom: 0;
    padding: 0 14px;
    background: rgba(5, 8, 6, 0.98);
    box-shadow: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

  .main-nav a {
    min-height: 42px;
    padding: 14px 0 12px;
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .main-nav a::after {
    bottom: 7px;
  }

  .menu-btn {
    display: none;
  }

  .brand {
    gap: 7px;
    font-size: 13px;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 10px;
  }

  .header-actions {
    gap: 3px;
  }

  .icon-btn {
    width: 32px;
    height: 34px;
  }

  .text-btn {
    font-size: 10px;
  }

  .header-cta {
    min-height: 35px;
    padding: 0 9px;
    font-size: 8px;
  }

  .member-active {
    padding: 7px 8px;
    font-size: 7px;
  }

  .member-active span {
    display: none;
  }

  .search-bar {
    top: 10px;
    right: 44px;
    left: 80px;
    width: auto;
    height: 40px;
  }

  .hero {
    min-height: 580px;
    align-items: flex-end;
  }

  .hero-art {
    background-position: 65% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, #050806 0%, rgba(5, 8, 6, 0.97) 18%, rgba(5, 8, 6, 0.76) 46%, rgba(5, 8, 6, 0.18) 78%),
      linear-gradient(90deg, rgba(4, 8, 5, 0.35), transparent);
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 0 auto 45px;
  }

  .kicker {
    gap: 8px;
    font-size: 8px;
    letter-spacing: 0.13em;
  }

  .hero h1 {
    margin: 18px 0 13px;
    font-size: clamp(45px, 12vw, 68px);
  }

  .hero-meta {
    gap: 10px;
    font-size: 10px;
  }

  .hero-content > p {
    max-width: 360px;
    margin: 14px 0 19px;
    font-size: 12px;
    line-height: 1.7;
  }

  .hero-buttons {
    gap: 8px;
  }

  .hero-buttons .btn {
    min-width: 0;
    height: 43px;
    padding: 0 13px;
    font-size: 10px;
  }

  .hero-caption {
    margin-top: 23px;
    font-size: 9px;
  }

  .hero-vertical {
    right: 18px;
    font-size: 7px;
  }

  .trust-strip {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 8px;
    padding: 16px 20px;
  }

  .trust-strip > div {
    gap: 9px;
  }

  .trust-strip > div:nth-of-type(3) {
    grid-column: 1 / -1;
  }

  .trust-strip > div > span {
    width: 33px;
    height: 33px;
    border-radius: 9px;
    font-size: 16px;
  }

  .trust-strip b {
    font-size: 10px;
  }

  .trust-strip small {
    font-size: 8px;
  }

  .trust-strip > button {
    position: absolute;
    right: 18px;
    bottom: 22px;
    font-size: 8px;
  }

  .catalog,
  .steps-section,
  .site-footer {
    width: calc(100% - 38px);
  }

  .catalog {
    padding: 53px 0 59px;
    scroll-margin-top: 112px;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .section-head h2 {
    margin-top: 10px;
    font-size: 26px;
  }

  .section-head p {
    max-width: 280px;
    font-size: 10px;
  }

  .slider-buttons {
    gap: 5px;
  }

  .slider-buttons button {
    width: 31px;
    height: 31px;
    font-size: 15px;
  }

  .slider-buttons button:first-child {
    display: none;
  }

  .category-pills {
    gap: 6px;
    margin-bottom: 15px;
  }

  .category-pills a {
    padding: 8px 10px;
    font-size: 8px;
  }

  .card-row {
    grid-auto-columns: 160px;
    gap: 11px;
    margin-right: -19px;
    padding-right: 19px;
  }

  .poster {
    border-radius: 9px;
  }

  .poster-tags {
    top: 9px;
    right: 8px;
    left: 8px;
  }

  .poster-tags b,
  .poster-tags i {
    padding: 4px 5px;
    font-size: 6px;
  }

  .poster-play {
    display: none;
  }

  .poster-copy {
    right: 10px;
    bottom: 11px;
    left: 10px;
    gap: 4px;
  }

  .poster-copy small {
    font-size: 7px;
  }

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

  .poster-copy em {
    font-size: 7px;
  }

  .card-meta {
    padding-top: 9px;
  }

  .card-meta b {
    font-size: 10px;
  }

  .card-meta small {
    font-size: 8px;
  }

  .card-meta button {
    width: 27px;
    height: 27px;
  }

  .cinema-banner {
    min-height: 345px;
  }

  .cinema-image {
    background-position: 65% center;
  }

  .cinema-content {
    width: calc(100% - 40px);
  }

  .cinema-content h2 {
    font-size: 40px;
  }

  .cinema-content p {
    max-width: 285px;
    font-size: 11px;
  }

  .price-stamp {
    top: auto;
    right: 22px;
    bottom: 21px;
    width: 94px;
    height: 94px;
    transform: rotate(8deg);
  }

  .price-stamp b {
    font-size: 34px;
  }

  .price-stamp span {
    font-size: 6px;
  }

  .price-stamp i {
    right: 6px;
    bottom: 8px;
    font-size: 13px;
  }

  .steps-section {
    gap: 24px;
    padding: 57px 0;
  }

  .steps-section h2 {
    font-size: 37px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .steps article {
    min-height: 112px;
    padding: 14px 14px 14px 61px;
  }

  .steps article > span {
    position: absolute;
    top: 21px;
    left: 14px;
    width: 33px;
    height: 33px;
  }

  .steps h3 {
    margin: 6px 20px 5px 0;
    font-size: 13px;
  }

  .steps p {
    font-size: 10px;
  }

  .bottom-cta {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 33px 20px;
  }

  .bottom-cta h2 {
    font-size: 29px;
  }

  .bottom-cta p {
    font-size: 10px;
  }

  .site-footer {
    padding: 33px 0 18px;
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 14px 22px;
    padding-bottom: 22px;
  }

  .footer-top > p {
    width: calc(100% - 155px);
    margin-left: auto;
    font-size: 9px;
  }

  .footer-top nav {
    width: 100%;
    justify-content: space-between;
    gap: 9px;
  }

  .footer-top nav a,
  .footer-top nav button {
    font-size: 9px;
  }

  .footer-bottom {
    justify-content: flex-start;
    font-size: 8px;
  }

  .footer-bottom > span:nth-child(2) {
    display: none;
  }

  .legal-note {
    margin-top: 14px;
    font-size: 8px;
  }

  /* Access modal */
  .modal-backdrop {
    align-items: start;
    padding: 10px;
  }

  .access-modal {
    width: min(100%, 520px);
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .modal-art {
    min-height: 135px;
    padding: 13px 17px;
    background-position: center 39%;
  }

  .modal-art > div:nth-child(2) {
    display: none;
  }

  .modal-art > small {
    margin-top: auto;
    border: 0;
    padding-top: 10px;
    font-size: 8px;
  }

  .modal-brand {
    font-size: 10px;
  }

  .modal-content {
    max-height: none;
    padding: 21px 17px 19px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
  }

  .modal-content [data-register-pane] > h2,
  .modal-content [data-login-pane] > h2 {
    margin-top: 14px;
    font-size: 26px;
  }

  .modal-content [data-register-pane] > p,
  .modal-content [data-login-pane] > p {
    font-size: 11px;
  }

  .price-box {
    padding: 9px;
  }

  .price-box p b {
    font-size: 17px;
  }

  .price-box > em {
    font-size: 6px;
  }

  .access-form {
    gap: 10px;
    margin-top: 13px;
  }

  .access-form input {
    min-height: 39px;
  }

  .payment-options label {
    min-height: 51px;
    gap: 5px;
    padding: 6px;
  }

  .pay-logo {
    width: 23px;
    height: 23px;
    font-size: 11px;
  }

  .payment-options b {
    font-size: 8px;
  }

  .payment-options small {
    font-size: 7px;
  }

  .payment-help {
    min-height: 51px;
    padding: 7px;
  }

  .payment-help b,
  .payment-help small {
    font-size: 8px;
  }

  /* Player */
  .watch-header {
    position: sticky;
    z-index: 8;
    top: 0;
    min-height: calc(55px + env(safe-area-inset-top, 0px));
    padding: 0 12px;
    background: rgba(7, 11, 8, 0.98);
  }

  .watch-header > a {
    font-size: 9px;
  }

  .watch-header .brand {
    font-size: 9px;
  }

  .watch-header .logo-mark {
    width: 22px;
    height: 22px;
  }

  .watch-header > small {
    font-size: 7px;
  }

  .watch-main {
    padding: 9px 10px;
  }

  .app-player {
    width: calc(100% + 20px);
    margin-left: -10px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .big-play {
    width: 50px;
    height: 50px;
    font-size: 15px;
  }

  .player-cover b {
    font-size: 9px;
  }

  .preview-label {
    top: 7px;
    right: 7px;
    padding: 5px 6px;
    font-size: 7px;
  }

  .embed-player::before {
    height: 46px;
  }

  .embed-player::after {
    height: 66px;
  }

  .custom-controls {
    min-height: 62px;
    gap: 7px;
    padding: 21px 8px max(8px, env(safe-area-inset-bottom, 0px));
  }

  .custom-controls button {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .custom-controls > span {
    min-width: 50px;
    font-size: 8px;
    letter-spacing: 0.03em;
  }

  .player-watermark {
    bottom: 8px;
    left: 8px;
    font-size: 6px;
  }

  .watch-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 15px 2px;
  }

  .watch-info h1 {
    font-size: 22px;
  }

  .watch-info p {
    font-size: 10px;
  }

  .episode-panel {
    padding: 16px 12px max(25px, env(safe-area-inset-bottom, 0px));
  }

  .episode-title h2 {
    font-size: 18px;
  }

  .episode-list {
    max-height: 220px;
  }

  .unlock-box {
    max-width: 100%;
  }

  /* Admin */
  .admin-header {
    min-height: 57px;
    padding: 0 14px;
  }

  .admin-header .brand {
    font-size: 11px;
  }

  .admin-main {
    width: calc(100% - 28px);
    padding-top: 19px;
  }

  .admin-welcome {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 19px;
  }

  .admin-welcome h1 {
    font-size: 27px;
  }

  .diagnostic-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-summary {
    width: 100%;
  }

  .diagnostic-help {
    padding: 15px;
  }

  .diagnostic-help .btn {
    width: 100%;
  }

  .metrics {
    width: 100%;
    gap: 6px;
  }

  .metrics article {
    min-width: 0;
    flex: 1;
    padding: 9px;
  }

  .metrics b {
    font-size: 18px;
  }

  .metrics span {
    font-size: 7px;
  }

  .admin-tabs {
    gap: 16px;
    overflow-x: auto;
  }

  .admin-tabs a {
    flex: 0 0 auto;
    font-size: 10px;
  }

  .admin-section {
    padding-top: 18px;
  }

  .admin-notice {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 16px;
    padding: 11px;
  }

  .admin-notice > div {
    width: calc(100% - 46px);
  }

  .admin-notice > a,
  .admin-notice > form {
    width: calc(100% - 46px);
    margin-left: 46px;
  }

  .admin-notice > form .btn {
    width: 100%;
  }

  .admin-section-head {
    align-items: flex-start;
  }

  .admin-section-head h2 {
    font-size: 15px;
  }

  .admin-section-head p {
    max-width: 260px;
    font-size: 9px;
    line-height: 1.5;
  }

  .request-card {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 9px;
    padding: 11px;
  }

  .avatar {
    width: 33px;
    height: 33px;
    font-size: 11px;
  }

  .request-copy {
    width: calc(100% - 43px);
    flex: 1 1 calc(100% - 43px);
  }

  .request-actions {
    width: 100%;
    justify-content: flex-end;
    padding-left: 42px;
  }

  .member-table {
    min-width: 650px;
  }

  .form-grid.two,
  .form-grid.three {
    grid-template-columns: 1fr;
  }

  .admin-form > .btn {
    width: 100%;
  }

  .library-grid {
    gap: 22px;
  }

  .published-item > em {
    display: none;
  }

  /* Installer */
  .install-shell {
    width: calc(100% - 18px);
    padding: 16px 0;
  }

  .install-brand {
    display: none;
  }

  .install-card {
    padding: 24px 17px;
  }

  .install-card > h1 {
    font-size: 28px;
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  .watch-header {
    min-height: calc(44px + env(safe-area-inset-top, 0px));
    padding-inline: 12px;
  }

  .watch-header > small {
    display: none;
  }

  .watch-main {
    padding: 0;
  }

  .watch-main .app-player {
    width: 100vw;
    height: calc(100vh - 44px - env(safe-area-inset-top, 0px));
    height: calc(100dvh - 44px - env(safe-area-inset-top, 0px));
    max-height: none;
    margin: 0;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
  }

  .watch-info {
    padding: 18px;
  }

  .preview-ended h2 {
    font-size: 23px;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 11px;
  }

  .header-cta {
    padding-inline: 7px;
    font-size: 7px;
  }

  .text-btn {
    font-size: 9px;
  }

  .card-row {
    grid-auto-columns: 146px;
  }

  .payment-options label {
    flex-wrap: wrap;
  }

  .payment-options i {
    display: none;
  }

  .price-box {
    gap: 7px;
  }

  .price-box > em {
    padding: 4px;
    font-size: 5px;
  }

  .payment-help {
    gap: 5px;
  }

  .payment-help button,
  .payment-help a {
    padding: 5px;
    font-size: 7px;
  }
}

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

/* Account and password recovery */
.auth-body{min-height:100vh;background:radial-gradient(circle at 80% 10%,rgba(137,250,102,.07),transparent 34%),#050806;padding:0 0 60px}
.auth-return{display:inline-flex;align-items:center;gap:8px;margin:18px 0 0 max(18px,calc((100vw - 900px)/2));color:#9fada4;font-size:12px;text-decoration:none}
.auth-return:hover{color:var(--green)}
.auth-shell{display:grid;width:min(100% - 36px,900px);gap:16px;margin:0 auto;padding-top:24px}
.auth-card{border:1px solid var(--line);border-radius:14px;padding:30px;background:rgba(11,17,13,.94);box-shadow:var(--shadow)}
.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.auth-brand strong{display:block;font-size:17px;letter-spacing:-.04em}
.auth-brand strong b{color:var(--green)}
.auth-brand small{color:var(--green);font-size:8px;font-weight:800;letter-spacing:.17em}
.auth-card h1{margin:14px 0 8px;font-size:clamp(26px,5vw,36px);letter-spacing:-.055em;line-height:1.05}
.auth-card h2{margin:14px 0 8px;font-size:24px;letter-spacing:-.05em}
.auth-card>p{margin:0;color:#9fada4;font-size:13px;line-height:1.75}
.auth-form{display:grid;gap:12px;margin-top:18px}
.auth-form label{display:grid;gap:7px;color:#c4cec5;font-size:11px;font-weight:700}
.auth-form input{width:100%;min-height:44px;border:1px solid rgba(224,237,226,.14);border-radius:6px;padding:0 12px;background:#0c130e;color:#f0f6f1;font-size:14px}
.auth-form input:focus{border-color:rgba(137,250,102,.62);outline:0;box-shadow:0 0 0 3px rgba(137,250,102,.06)}
.auth-form input::placeholder{color:#647067;font-size:12px}
.code-input{font-size:24px !important;letter-spacing:.5em;text-align:center;font-weight:800}
.auth-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:16px}
.auth-links a,.auth-links-inline{color:#9fada4;font-size:11px;text-decoration:none}
.auth-links a:hover,.auth-links-inline:hover{color:var(--green)}
.auth-links-inline{display:inline-block;margin-top:18px}
.auth-note{display:flex;align-items:flex-start;gap:11px;border:1px solid rgba(137,250,102,.2);border-radius:9px;margin-top:20px;padding:13px;background:rgba(137,250,102,.05)}
.auth-note>span{display:grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border-radius:50%;background:rgba(137,250,102,.1);color:var(--green);font-size:13px}
.auth-note b{color:#dff2e1;font-size:12px}
.auth-note p{margin:5px 0 0;color:#95a39a;font-size:11px;line-height:1.65}
.alert-success{border:1px solid rgba(137,250,102,.26);background:rgba(137,250,102,.07);color:#c4ecba}
.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}
.account-grid article{display:grid;gap:5px;border:1px solid var(--line);border-radius:9px;padding:13px;background:rgba(255,255,255,.02)}
.account-grid small{color:#839087;font-size:9px;font-weight:750;letter-spacing:.1em}
.account-grid b{color:#e6ede7;font-size:13px;word-break:break-word}
.account-grid .state-ok{color:var(--green)}
.header-link{border:0;background:transparent;color:#9fada4;font-size:10px}
.header-link:hover{color:var(--green)}
.account-link{padding:10px 4px !important}
.forgot-link{display:inline-block;margin-top:16px;color:var(--green);font-size:11px;font-weight:700;text-decoration:none}
.forgot-link:hover{text-decoration:underline}

/* Admin password resets */
.reset-wrap{overflow:hidden;margin-top:22px;border-top:1px solid var(--line);padding-top:16px}
.reset-wrap h3{margin:0 0 5px;font-size:13px}
.reset-wrap .form-hint{margin:0 0 13px}
.reset-list{display:grid;gap:8px}
.reset-item{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:9px;padding:11px 12px;background:rgba(255,255,255,.022)}
.reset-who{display:grid;min-width:0;flex:1;gap:3px}
.reset-who b{overflow:hidden;color:#e8efe9;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.reset-who a{width:max-content;color:#a9b4aa;font-size:10px;text-decoration:none}
.reset-who a:hover{color:var(--green)}
.reset-code{flex:0 0 auto;border:1px dashed rgba(137,250,102,.4);border-radius:6px;padding:6px 10px;background:rgba(137,250,102,.06);color:var(--green);font-size:18px;font-weight:850;letter-spacing:.28em}
.reset-meta{display:flex;flex:0 0 auto;align-items:center;gap:8px}
.reset-channel{border:1px solid rgba(255,211,103,.28);border-radius:3px;padding:4px 6px;background:rgba(255,211,103,.08);color:var(--warning);font-size:7px;font-weight:800;letter-spacing:.09em}
.reset-channel.is-sms{border-color:rgba(137,250,102,.26);background:rgba(137,250,102,.08);color:var(--green)}
.reset-meta small{color:#768278;font-size:9px;white-space:nowrap}
.reset-copy{border:1px solid rgba(137,250,102,.24);border-radius:4px;padding:5px 7px;background:transparent;color:var(--green);font-size:8px;font-weight:750}
.reset-item>form button{display:grid;width:27px;height:27px;flex:0 0 auto;place-items:center;border:1px solid rgba(255,150,142,.17);border-radius:50%;background:transparent;color:#c88782;font-size:16px}
@media(max-width:700px){
 .auth-card{padding:20px 17px}
 .auth-return{margin-left:18px;font-size:11px}
 .auth-shell{padding-top:16px}
 .code-input{font-size:20px !important;letter-spacing:.36em}
 .account-grid{grid-template-columns:1fr}
 .reset-item{flex-wrap:wrap;align-items:flex-start;gap:9px}
 .reset-who{flex:1 1 100%}
 .reset-code{width:100%;text-align:center}
 .reset-meta{width:100%;flex-wrap:wrap;justify-content:flex-start}
 .reset-item>form{margin-left:auto}
 .account-link{font-size:10px}
}

/* Category sections and language switch */
.catalog-anchor{height:0;scroll-margin-top:118px}
.catalog-section{padding:44px 0 46px;scroll-margin-top:118px}
.catalog-section.section-first{padding-top:58px}
.catalog-section + .catalog-section{border-top:1px solid var(--line)}
.empty-inline{min-width:min(70vw,420px);min-height:150px;padding:20px}
.empty-inline p{margin:0}
.nav-discover{color:#a9b4ab;font-size:8px;font-weight:800;letter-spacing:.09em;white-space:nowrap}
.nav-discover:hover{color:var(--green)}
.lang-switch{position:relative}
.lang-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:60;display:grid;min-width:136px;border:1px solid var(--line-strong);border-radius:8px;padding:6px;background:rgba(7,11,8,.98);box-shadow:0 16px 42px rgba(0,0,0,.5)}
.lang-menu a{padding:9px 10px;border-radius:5px;color:#c4cec5;font-size:11px;white-space:nowrap}
.lang-menu a:hover{background:rgba(137,250,102,.08);color:var(--green)}
.lang-menu a.active{color:var(--green)}

/* Discover */
.discover-shell{width:min(100% - 36px,860px)}
.discover-form{margin-top:16px}
.discover-results{display:grid;gap:8px;margin-top:18px}
.discover-item{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:9px;padding:9px;background:rgba(255,255,255,.02);transition:border-color 180ms ease,background 180ms ease}
.discover-item:hover{border-color:rgba(137,250,102,.36);background:rgba(137,250,102,.05)}
.discover-thumb{width:112px;height:63px;flex:0 0 auto;border-radius:5px;background-color:#162119;background-position:center;background-size:cover}
.discover-copy{display:grid;min-width:0;flex:1;gap:5px}
.discover-copy b{overflow:hidden;color:#e2e9e3;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.discover-copy small{color:#879289;font-size:10px}
.discover-play{display:grid;width:31px;height:31px;flex:0 0 auto;place-items:center;border:1px solid rgba(137,250,102,.28);border-radius:50%;color:var(--green);font-size:10px}

/* Admin member editor */
.member-editor{padding-bottom:26px;border-bottom:1px solid var(--line)}

@media(max-width:700px){
 .catalog-anchor{scroll-margin-top:152px}
 .catalog-section{padding:32px 0 34px;scroll-margin-top:152px}
 .lang-menu{right:-6px}
 .discover-thumb{width:92px;height:52px}
 .discover-item{gap:9px;padding:7px}
 .discover-copy b{font-size:11px}
}
