/* ==========================================================================
   CINEWORLD EMPEROR MOVIES — design system
   Gold · deep red · cinema black, derived from the brand lockup.
   ========================================================================== */

:root {
  --bg: #0a0a0b;
  --bg-2: #101013;
  --panel: #141417;
  --panel-2: #1a1a1f;
  --panel-3: #202027;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f6f5f2;
  --muted: #9c9ca6;
  --muted-2: #74747e;
  --gold: #c9a227;
  --gold-2: #f3d27a;
  --gold-3: #8a6a1c;
  --gold-grad: linear-gradient(135deg, #f6e3a8 0%, #d6b04a 42%, #9a771f 100%);
  --red: #c8102e;
  --red-2: #e4182f;
  --green: #37b26b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.6);
  --container: 1320px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(20px, 2.4vw, 27px); }
h3 { font-size: 17px; }
p { margin: 0 0 12px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 3vw, 34px); }
.narrow { max-width: 620px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.tiny { font-size: 12px; }
.gold { color: var(--gold-2); }
.dot { color: var(--muted-2); margin: 0 2px; }
.center-block { text-align: center; padding: 90px 0; }
.center-block .btn { margin-top: 18px; }
.skip {
  position: absolute; left: -999px; top: 0; z-index: 999; background: var(--gold);
  color: #111; padding: 10px 16px; font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  --btn-bg: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--btn-bg); color: #fff; border: 1px solid transparent;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--red-2); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(200, 16, 46, .28); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 15px 28px; font-size: 13px; }
.btn-sm { padding: 9px 14px; font-size: 11px; letter-spacing: .08em; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); box-shadow: none; }
.btn-danger { background: transparent; border-color: rgba(200, 16, 46, .45); color: #ff8fa0; }
.btn-danger:hover { background: rgba(200, 16, 46, .15); box-shadow: none; }
.btn-gold { background: var(--gold-grad); color: #14100a; }
.btn-gold:hover { background: linear-gradient(135deg, #ffeab4, #e2bd57 45%, #ab861f); box-shadow: 0 12px 30px rgba(201, 162, 39, .3); }
.btn-quiet { background: rgba(255, 255, 255, .05); color: var(--muted); }
.btn-quiet:hover { background: rgba(255, 255, 255, .09); color: var(--text); }
.btn-signin { background: var(--red); padding: 10px 18px; font-size: 11px; }
.btn-trailer { background: rgba(255, 255, 255, .08); border-color: var(--line-strong); }
.btn-trailer:hover { background: rgba(255, 255, 255, .14); box-shadow: none; }
.btn-sub { display: block; font-size: 9.5px; letter-spacing: .06em; color: var(--muted); margin-top: 2px; }
.btn .ic { flex: none; }
.link-quiet { color: var(--gold-2); font-size: 12.5px; letter-spacing: .04em; }
.link-quiet:hover { text-decoration: underline; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.link-more:hover { color: var(--gold-2); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line); color: var(--text); cursor: pointer; transition: .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); border-color: var(--line-strong); }

/* ------------------------------------------------------------------ chips / pills */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04); font-size: 12px; color: var(--muted);
  letter-spacing: .03em; transition: .18s;
}
.chip-genre:hover { color: var(--gold-2); border-color: rgba(201, 162, 39, .5); background: rgba(201, 162, 39, .1); }
.chip-all { color: var(--gold-2); border-color: rgba(201, 162, 39, .35); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.pill-red { background: var(--red); border-color: var(--red); color: #fff; }
.pill-gold { background: rgba(201, 162, 39, .14); border-color: rgba(201, 162, 39, .5); color: var(--gold-2); }
.pill-owned { background: rgba(55, 178, 107, .14); border-color: rgba(55, 178, 107, .45); color: #6fe0a0; }
.free-tag {
  display: inline-block; padding: 2px 7px; border-radius: 4px; background: rgba(201, 162, 39, .18);
  color: var(--gold-2); font-size: 9.5px; letter-spacing: .12em; font-weight: 800;
}

/* ------------------------------------------------------------------ header */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8, 8, 9, .82); backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 26px; height: 78px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { filter: drop-shadow(0 4px 10px rgba(201, 162, 39, .18)); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: .11em; }
.brand-sub { font-size: 9px; letter-spacing: .5em; color: var(--gold); margin-top: 4px; }
.brand-mini { font-size: 7.5px; letter-spacing: .46em; color: var(--red-2); margin-top: 3px; }
.mainnav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.mainnav a {
  padding: 10px 11px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #c9c8d0; border-radius: 6px; transition: .18s;
  position: relative; white-space: nowrap; flex: none;
}
.mainnav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.mainnav a.is-active { color: var(--gold-2); }
.mainnav a.is-active::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px;
  background: var(--gold-grad); border-radius: 2px;
}
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.search { display: flex; align-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 999px; padding: 0 4px 0 10px; height: 40px; transition: .2s; }
.search:focus-within { border-color: rgba(201, 162, 39, .55); background: rgba(255, 255, 255, .08); }
.search input {
  background: none; border: 0; color: var(--text); width: 196px; font-size: 13px;
  padding: 0 8px; outline: none;
}
.search input::placeholder { color: var(--muted-2); }
.search-btn { background: none; border: 0; color: var(--muted); cursor: pointer; display: flex; padding: 6px; }
.search-btn:hover { color: var(--gold-2); }
.top-link { font-size: 12px; color: var(--muted); letter-spacing: .06em; white-space: nowrap; }
.top-link:hover { color: var(--gold-2); }
.usermenu { position: relative; }
.avatar {
  display: flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 4px 10px 4px 4px;
  cursor: pointer;
}
.avatar > span:first-child {
  width: 30px; height: 30px; border-radius: 50%; background: var(--gold-grad); color: #16120a;
  display: grid; place-items: center; font-size: 11.5px; font-weight: 800;
}
.usermenu-pop {
  position: absolute; right: 0; top: calc(100% + 12px); width: 250px;
  background: var(--panel-2); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: .18s; z-index: 80;
}
.usermenu-pop.is-open { opacity: 1; visibility: visible; transform: none; }
.usermenu-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; display: flex; flex-direction: column; }
.usermenu-head strong { font-size: 14px; }
.usermenu-head span { font-size: 11.5px; color: var(--muted); }
.usermenu-pop a, .usermenu-signout {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px;
  font-size: 13px; color: #d6d5dc; border-radius: 8px; background: none; border: 0; cursor: pointer; text-align: left;
}
.usermenu-pop a:hover, .usermenu-signout:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.usermenu-signout { color: #ff8f9f; }
.menu-btn { display: none; background: none; border: 0; color: var(--text); padding: 6px; }
.mobilenav {
  display: none; border-top: 1px solid var(--line); background: rgba(8, 8, 9, .98);
  padding: 12px clamp(16px, 3vw, 34px) 22px;
}
.mobilenav.is-open { display: block; }
.mobilenav nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mobilenav a {
  padding: 12px 10px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid var(--line); color: #d0cfd6;
}
.mobilenav a:hover { color: var(--gold-2); }

/* ------------------------------------------------------------------ flash */
.flash-stack {
  position: fixed; right: 20px; top: 92px; z-index: 120; display: flex; flex-direction: column;
  gap: 10px; max-width: min(420px, calc(100vw - 32px));
}
.flash {
  display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; border-radius: 11px;
  background: var(--panel-2); border: 1px solid var(--line-strong); font-size: 13px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5); animation: slide-in .28s ease both;
}
@keyframes slide-in { from { opacity: 0; transform: translateX(16px); } }
.flash-icon { display: flex; margin-top: 1px; }
.flash-success { border-color: rgba(55, 178, 107, .45); }
.flash-success .flash-icon { color: #6fe0a0; }
.flash-error { border-color: rgba(200, 16, 46, .55); }
.flash-error .flash-icon { color: #ff8496; }
.flash-info .flash-icon { color: var(--gold-2); }
.flash span:nth-child(2) { flex: 1; }
.flash-close { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 2px; display: flex; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: clamp(520px, 66vh, 700px); display: flex; align-items: center; overflow: hidden; }
.hero-media {
  position: absolute; inset: 0;
  background-image: var(--hero);
  background-size: cover; background-position: right center;
  transform: scale(1.02);
}
.hero-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 6, 7, .97) 0%, rgba(6, 6, 7, .92) 30%, rgba(6, 6, 7, .35) 62%, rgba(6, 6, 7, .1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 10, 11, .2) 30%, transparent 60%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 60px; }
.hero-inner > * { max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-2); margin-bottom: 18px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 0 rgba(228, 24, 47, .6); animation: pulse 2s infinite; }
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(228, 24, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(228, 24, 47, 0); }
}
.hero-title {
  font-size: clamp(38px, 6.2vw, 78px); line-height: .98; letter-spacing: -.035em;
  text-transform: uppercase; margin-bottom: 20px; text-shadow: 0 8px 40px rgba(0, 0, 0, .6);
}
.hero-title .gold {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; display: block;
}
.hero-sub { font-size: clamp(13px, 1.3vw, 15px); letter-spacing: .16em; text-transform: uppercase; color: #d3d2d8; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #c4c3cb; }
.hero-chip { border: 1px solid var(--line-strong); border-radius: 4px; padding: 1px 7px; font-size: 11px; }
.hero-price { color: var(--gold-2); letter-spacing: .04em; }

/* ------------------------------------------------------------------ genre strip */
.genre-strip { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent); }
.genre-strip-inner { display: flex; align-items: center; gap: 8px; padding: 16px 0; overflow-x: auto; scrollbar-width: none; }
.genre-strip-inner::-webkit-scrollbar { display: none; }
.strip-label { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-right: 6px; flex: none; }
.genre-strip .chip { flex: none; padding: 7px 13px; font-size: 11.5px; }

/* ------------------------------------------------------------------ rails */
.rail-block { margin: 52px 0 10px; }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.rail-title { font-size: 20px; letter-spacing: -.01em; position: relative; padding-left: 15px; }
.rail-title::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; background: var(--gold-grad); border-radius: 3px; }
.rail-sub { color: var(--muted); font-size: 12.5px; margin: 6px 0 0 15px; }
.rail-tools { display: flex; align-items: center; gap: 16px; }
.rail-arrows { display: flex; gap: 6px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(158px, 186px);
  gap: 16px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ------------------------------------------------------------------ cards */
.card {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; transition: transform .22s ease, border-color .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(201, 162, 39, .45); box-shadow: 0 22px 46px rgba(0, 0, 0, .55); }
.card-poster { position: relative; display: block; aspect-ratio: 2 / 3; background: var(--panel-2); overflow: hidden; }
.card-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.card:hover .card-poster img { transform: scale(1.045); filter: brightness(.72); }
.card-play {
  position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(200, 16, 46, .92); display: grid; place-items: center; color: #fff;
  opacity: 0; transform: scale(.85); transition: .2s; box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
}
.card:hover .card-play, .lib-poster:hover .card-play { opacity: 1; transform: none; }
.badge {
  position: absolute; top: 9px; left: 9px; display: inline-flex; align-items: center; gap: 4px;
  background: rgba(10, 10, 11, .82); border: 1px solid rgba(255, 255, 255, .16);
  padding: 3px 7px; border-radius: 4px; font-size: 8.5px; font-weight: 800; letter-spacing: .12em;
  color: #fff; backdrop-filter: blur(6px);
}
.badge-gold { background: var(--gold-grad); color: #16120a; border-color: transparent; }
.badge-owned { background: rgba(55, 178, 107, .9); border-color: transparent; color: #04160c; }
.badge-kind { top: auto; bottom: 9px; left: 9px; font-size: 8px; }
.badge-tr { left: auto; right: 9px; background: rgba(200, 16, 46, .9); border-color: transparent; }
.card-meta { padding: 11px 12px 13px; }
.card-title { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.3; margin-bottom: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-title:hover { color: var(--gold-2); }
.card-sub { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); margin: 0; flex-wrap: wrap; }
.card-price { color: var(--gold-2); font-weight: 700; }
.progress-track { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .18); }
.progress-fill { display: block; height: 100%; background: var(--gold-grad); }

/* ------------------------------------------------------------------ promo / app bands */
.promo-band { margin-top: 64px; background: linear-gradient(120deg, #131013, #1c1418 55%, #131013); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promo-inner { display: grid; grid-template-columns: 1.05fr 1.2fr; gap: 48px; align-items: center; padding: 64px 0; }
.promo-copy h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; }
.promo-copy p { color: var(--muted); max-width: 430px; margin-bottom: 22px; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.promo-item { background: rgba(255, 255, 255, .035); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 3px; }
.promo-item b { font-size: 13.5px; }
.promo-item span:last-child { font-size: 11.5px; color: var(--muted); }
.promo-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(201, 162, 39, .12); color: var(--gold-2); margin-bottom: 8px; }

.app-band { padding: 76px 0; }
.app-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 12px; }
.app-copy h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 14px; }
.app-copy > p { color: var(--muted); max-width: 470px; }
.store-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 10px; }
.store-btn {
  display: flex; align-items: center; gap: 12px; padding: 11px 20px 11px 14px; border-radius: 12px;
  background: #fff; color: #0b0b0c; border: 0; cursor: pointer; font-family: inherit; text-align: left;
  transition: .18s;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 255, 255, .12); }
.store-btn small { display: block; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.store-btn b { display: block; font-size: 13.5px; }
.store-btn.store-dark { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--line-strong); }
.store-ic { display: grid; place-items: center; }
.app-hint { font-size: 12px; color: var(--gold-2); }
.app-visual { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.app-visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.app-visual-badge {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(8, 8, 9, .8); backdrop-filter: blur(10px); border: 1px solid var(--line-strong);
  padding: 8px 14px; border-radius: 999px; font-size: 12px; color: var(--gold-2);
}

/* ------------------------------------------------------------------ page head + filters */
.page-head { padding: 42px 0 24px; }
.crumbs { display: flex; align-items: center; gap: 7px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold-2); }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.page-head h1 { margin-bottom: 8px; }
.head-stat { text-align: right; }
.head-stat span { display: block; font-size: 34px; font-weight: 800; color: var(--gold-2); line-height: 1; }
.head-stat small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }
.type-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 18px; }
.type-tabs a {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: .18s;
}
.type-tabs a:hover { color: var(--text); border-color: var(--line-strong); }
.type-tabs a.is-on { background: var(--gold-grad); color: #171208; border-color: transparent; font-weight: 800; }
.filters {
  display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap;
  padding: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025);
  border-radius: 14px; margin-bottom: 26px;
}
.field-inline { display: flex; flex-direction: column; gap: 6px; }
.field-inline > span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
select, input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], input[type="search"], input[type="date"], textarea {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-strong); color: var(--text);
  border-radius: 9px; padding: 10px 12px; font-size: 13.5px; font-family: inherit; outline: none;
  transition: border-color .18s, background .18s; width: 100%;
}
select { appearance: none; padding-right: 32px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: right 14px top 18px, right 9px top 18px; background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
select:focus, input:focus, textarea:focus { border-color: rgba(201, 162, 39, .65); background: rgba(255, 255, 255, .08); }
.filters-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.search-summary { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.search-summary b { color: var(--gold-2); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 18px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 44px 0 10px; }
.pager-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.pager-btn:hover { background: rgba(255, 255, 255, .07); }
.pager-btn.is-disabled { opacity: .3; pointer-events: none; }
.pager-info { font-size: 12px; color: var(--muted); letter-spacing: .06em; }

/* ------------------------------------------------------------------ detail */
.detail-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.detail-backdrop { position: absolute; inset: -40px; overflow: hidden; }
.detail-backdrop img { width: 100%; height: 100%; object-fit: cover; filter: blur(46px) saturate(1.25) brightness(.5); transform: scale(1.15); }
.detail-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9, 9, 10, .93) 0%, rgba(9, 9, 10, .82) 45%, rgba(9, 9, 10, .5) 100%),
              linear-gradient(0deg, var(--bg), transparent 55%);
}
.detail-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 280px 1fr; gap: 44px; padding-top: 46px; padding-bottom: 46px; align-items: start; }
.detail-poster { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); box-shadow: var(--shadow); aspect-ratio: 2/3; }
.detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.detail-title { font-size: clamp(32px, 4.6vw, 58px); text-transform: uppercase; letter-spacing: -.03em; margin-bottom: 10px; }
.detail-tagline { color: var(--gold-2); font-size: 15px; font-style: italic; margin-bottom: 16px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: #c5c4cc; margin-bottom: 16px; }
.detail-meta span { position: relative; }
.genre-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.detail-synopsis { color: #c9c8d0; max-width: 640px; margin-bottom: 26px; font-size: 14.5px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; align-items: stretch; }
.detail-note { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin: 0; }
.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; padding-top: 40px; padding-bottom: 20px; align-items: start; }
.detail-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 98px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel + .panel { margin-top: 20px; }
.detail-side .panel + .panel { margin-top: 0; }
.panel-danger { border-color: rgba(200, 16, 46, .28); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.panel-head h2, .panel-head h3 { font-size: 17px; }
.panel-buy { background: linear-gradient(160deg, rgba(201, 162, 39, .09), rgba(255, 255, 255, .02) 60%), var(--panel); border-color: rgba(201, 162, 39, .28); }
.buy-price { font-size: 38px; font-weight: 800; color: var(--gold-2); letter-spacing: -.02em; margin: 4px 0 16px; }
.buy-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 9px; }
.buy-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: #c8c7cf; }
.buy-list .ic { color: #6fe0a0; flex: none; margin-top: 2px; }
.buy-pay { text-align: center; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin: 14px 0 0; }
.mini { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mini:last-child { border-bottom: 0; }
.mini img { width: 42px; height: 60px; object-fit: cover; border-radius: 6px; flex: none; }
.mini b { display: block; font-size: 12.5px; }
.mini small { font-size: 10.5px; color: var(--muted); }
.mini:hover b { color: var(--gold-2); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.fact { display: flex; flex-direction: column; gap: 2px; }
.fact span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.fact b { font-weight: 500; font-size: 13px; color: #dedde3; }
.season { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 10px; }
.season summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; padding: 6px 0; }
.season summary::-webkit-details-marker { display: none; }
.season-name { font-weight: 700; font-size: 14px; }
.season summary .muted { font-size: 12px; }
.season summary .ic { margin-left: auto; transition: transform .2s; }
.season[open] summary .ic { transform: rotate(180deg); }
.episode-list { list-style: none; margin: 8px 0 0; padding: 0; }
.episode-list li { display: flex; align-items: center; gap: 14px; padding: 11px 8px; border-bottom: 1px solid var(--line); }
.episode-list li:last-child { border-bottom: 0; }
.episode-list li.is-current { background: rgba(201, 162, 39, .07); border-radius: 8px; }
.ep-num { font-size: 12px; font-weight: 800; color: var(--gold-2); width: 22px; flex: none; }
.ep-main { flex: 1; min-width: 0; }
.ep-main b { display: block; font-size: 13px; }
.ep-main small { font-size: 11px; color: var(--muted); }
.lock { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted-2); letter-spacing: .08em; text-transform: uppercase; }
.trailer-inline { border-radius: 12px; overflow: hidden; }
.trailer-thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; cursor: pointer;
  background-size: cover; background-position: center; border-radius: 12px;
}
.trailer-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, .1)); border-radius: 12px; }
.trailer-play {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%;
  background: rgba(200, 16, 46, .95); display: grid; place-items: center; z-index: 2;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5); transition: .2s;
}
.trailer-thumb:hover .trailer-play { transform: scale(1.08); }
.trailer-label { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-size: 12.5px; letter-spacing: .04em; text-align: left; }

/* ------------------------------------------------------------------ youtube */
.yt-wrap { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; }
.yt-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-wrap.yt-large { aspect-ratio: 16/9; border-radius: 14px; }
/* Shields sit over the YouTube chrome so nobody can leave the app. */
.yt-shield { position: absolute; left: 0; right: 0; top: 0; height: 58px; z-index: 3; cursor: default; }
.yt-shield-bottom { top: auto; bottom: 0; height: 46px; }
.yt-corner {
  position: absolute; right: 12px; top: 14px; z-index: 4; pointer-events: none;
  font-size: 9px; letter-spacing: .32em; color: rgba(255, 255, 255, .55); font-weight: 800;
}
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 3, 4, .88); backdrop-filter: blur(8px); }
.modal-card {
  position: relative; width: min(1040px, 100%); background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); animation: pop .24s ease both;
}
@keyframes pop { from { opacity: 0; transform: scale(.97); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal-head b { display: block; font-size: 14px; }
.modal-head small { font-size: 11.5px; color: var(--muted); }
.modal-foot { display: flex; align-items: center; gap: 8px; padding: 12px 18px; font-size: 11.5px; color: var(--muted); margin: 0; }
.modal-video { padding: 0; }

/* ------------------------------------------------------------------ player */
.player-page { padding: 22px 0 60px; background: radial-gradient(ellipse at top, #141014, var(--bg) 65%); }
.player-shell { position: relative; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.player-video { width: 100%; aspect-ratio: 16/9; display: block; background: #000; }
.player-bigplay {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  background: rgba(200, 16, 46, .95); border: 0; color: #fff; display: grid; place-items: center;
  cursor: pointer; box-shadow: 0 18px 44px rgba(0, 0, 0, .6); transition: transform .18s, opacity .2s;
}
.player-bigplay:hover { transform: scale(1.06); }
.player-shell.is-playing .player-bigplay { opacity: 0; pointer-events: none; }
.player-controls {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, .55) 55%, transparent);
  transition: opacity .25s; opacity: 1;
}
.player-shell.is-idle:not(.is-paused) .player-controls { opacity: 0; }
.player-seek { position: relative; height: 18px; display: flex; align-items: center; cursor: pointer; margin-bottom: 6px; }
.player-seek::before { content: ""; position: absolute; left: 0; right: 0; height: 4px; background: rgba(255, 255, 255, .18); border-radius: 4px; }
.player-buffer { position: absolute; left: 0; height: 4px; background: rgba(255, 255, 255, .28); border-radius: 4px; width: 0; }
.player-progress { position: absolute; left: 0; height: 4px; background: var(--gold-grad); border-radius: 4px; width: 0; }
.player-knob { position: absolute; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 4px rgba(201, 162, 39, .25); opacity: 0; transition: opacity .2s; }
.player-seek:hover .player-knob { opacity: 1; }
.player-row { display: flex; align-items: center; gap: 12px; }
.pbtn { background: none; border: 0; color: #fff; cursor: pointer; display: flex; padding: 6px; opacity: .9; }
.pbtn:hover { opacity: 1; color: var(--gold-2); }
.ptime { font-size: 12px; font-variant-numeric: tabular-nums; color: #d8d7de; }
.pspacer { flex: 1; }
.quality-menu { position: relative; }
.quality-menu > summary {
  list-style: none; cursor: pointer; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 4px; padding: 2px 7px; color: #fff;
  display: inline-flex; align-items: center; gap: 4px;
}
.quality-menu > summary::-webkit-details-marker { display: none; }
.quality-menu[open] > summary { border-color: var(--gold); color: var(--gold-2); }
.quality-panel {
  position: absolute; bottom: calc(100% + 12px); right: 0; width: 232px; z-index: 45;
  background: rgba(18, 16, 13, .98); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 8px; box-shadow: 0 22px 48px rgba(0, 0, 0, .55);
}
.quality-panel > p {
  margin: 4px 8px 7px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2);
}
.quality-panel form { margin: 0; }
.quality-panel button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 7px 9px; border: 0; border-radius: 8px; background: none; color: #e9e7e2;
  font: inherit; font-size: 12.5px; text-align: left; cursor: pointer;
}
.quality-panel button:hover { background: rgba(255, 255, 255, .08); }
.quality-panel button.is-on { color: var(--gold-2); }
.quality-panel .quality-note { display: block; margin: 6px 8px 3px; font-size: 10.5px; color: var(--muted-2); }
.quality-menu.is-inline > summary { color: var(--text); border-color: var(--line-strong); }
.quality-menu.is-inline .quality-panel { bottom: auto; top: calc(100% + 8px); right: auto; left: 0; }
.live-quality-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.pvolume { width: 82px; accent-color: var(--gold); }
.pdownload { color: #fff; }
.player-saving {
  position: absolute; right: 16px; top: 16px; background: rgba(0, 0, 0, .7); border: 1px solid var(--line-strong);
  padding: 5px 11px; border-radius: 999px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2);
}
.player-hint { font-size: 12px; color: var(--muted-2); margin-top: 12px; }
.player-info { display: flex; gap: 30px; justify-content: space-between; align-items: flex-start; padding: 26px 0 10px; }
.player-info h1 { font-size: clamp(22px, 3vw, 32px); text-transform: uppercase; margin-bottom: 8px; }
.player-synopsis { color: var(--muted); max-width: 760px; }
.player-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; text-align: right; flex: none; }
.preview-note {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap; background: rgba(201, 162, 39, .1);
  border: 1px solid rgba(201, 162, 39, .35); border-radius: 10px; padding: 11px 15px;
  font-size: 12.5px; color: var(--gold-2); margin-bottom: 14px;
}
.preview-note a { text-decoration: underline; }
.trailer-page { padding-bottom: 60px; }

/* ------------------------------------------------------------------ checkout */
.checkout { padding-top: 40px; padding-bottom: 60px; max-width: 1080px; }
.checkout-head { margin-bottom: 24px; }
.checkout-head h1 { font-size: 30px; margin-bottom: 6px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: start; }
.checkout-items { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checkout-items li { display: flex; gap: 14px; align-items: center; }
.checkout-items img { width: 58px; height: 87px; border-radius: 8px; object-fit: cover; flex: none; }
.ci-main { flex: 1; min-width: 0; }
.ci-main b { display: block; font-size: 14px; }
.ci-main small { font-size: 11.5px; color: var(--muted); }
.ci-price { font-weight: 800; color: var(--gold-2); }
.checkout-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 16px; }
.checkout-total b { font-size: 26px; color: var(--gold-2); }
.checkout-fine { display: flex; gap: 8px; font-size: 11.5px; color: var(--muted-2); margin: 16px 0 0; }
.checkout-fine .ic { flex: none; margin-top: 2px; }
.pay-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.pay-option {
  display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .025); cursor: pointer; transition: .18s;
  position: relative;
}
.pay-option:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .05); }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option:has(input:checked) { border-color: rgba(201, 162, 39, .65); background: rgba(201, 162, 39, .08); }
.pay-ic { width: 42px; height: 42px; border-radius: 10px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; flex: none; color: var(--gold-2); }
.pay-copy { flex: 1; display: flex; flex-direction: column; }
.pay-copy b { font-size: 13.5px; }
.pay-copy small { font-size: 11.5px; color: var(--muted); }
.pay-check { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: transparent; }
.pay-option:has(input:checked) .pay-check { background: var(--gold-grad); border-color: transparent; color: #16120a; }
.pay-form .field { margin-bottom: 18px; }
.pay-terms { font-size: 11.5px; color: var(--muted-2); text-align: center; margin: 12px 0 0; }
.pay-terms a { color: var(--muted); text-decoration: underline; }
.sim-note {
  display: flex; gap: 9px; margin-top: 16px; padding: 11px 13px; border-radius: 9px;
  background: rgba(201, 162, 39, .08); border: 1px dashed rgba(201, 162, 39, .4);
  font-size: 11.5px; color: #d9cfae;
}
.sim-note .ic { flex: none; margin-top: 1px; color: var(--gold-2); }
.pay-wait { text-align: center; padding: 10px 4px 4px; }
.pay-wait h3 { margin: 16px 0 8px; font-size: 19px; }
.pay-wait p { color: var(--muted); font-size: 13px; }
.spinner {
  width: 46px; height: 46px; margin: 6px auto 0; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .12); border-top-color: var(--gold-2);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.sim-panel { margin-top: 22px; border: 1px dashed rgba(201, 162, 39, .45); border-radius: 11px; padding: 16px; background: rgba(201, 162, 39, .05); }
.sim-panel strong { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.sim-actions { display: flex; gap: 10px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ forms / auth */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field small { font-size: 11px; color: var(--muted-2); }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field:first-child { grid-column: 1 / -1; }
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--muted); }
.check input { accent-color: var(--gold); margin-top: 3px; }
.check a { color: var(--gold-2); text-decoration: underline; }
.auth-wrap { display: flex; justify-content: center; padding: 52px 20px 80px; }
.auth-card {
  display: grid; grid-template-columns: 1fr 1fr; width: min(980px, 100%);
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow);
}
.auth-form { padding: clamp(26px, 4vw, 46px); }
.auth-form h1 { font-size: 30px; margin: 22px 0 8px; }
.auth-brand { display: flex; }
.auth-alt { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 18px; }
.auth-alt a { color: var(--gold-2); font-weight: 600; }
.auth-aside { position: relative; display: flex; align-items: flex-end; min-height: 520px; }
.auth-aside-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.auth-aside::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6, 6, 7, .96), rgba(6, 6, 7, .55) 50%, rgba(6, 6, 7, .25));
}
.auth-aside-body { position: relative; z-index: 2; padding: 34px; }
.auth-aside-body h2 { font-size: 26px; margin: 14px 0 10px; }
.auth-aside-body p { font-size: 13px; color: #cfced6; }
.auth-points { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 9px; }
.auth-points li { display: flex; gap: 9px; align-items: center; font-size: 12.5px; color: #e2e1e7; }
.auth-points .ic { color: var(--gold-2); }
.auth-narrow { max-width: 560px; margin: 0 auto; }
.auth-simple { width: 100%; padding: clamp(24px, 4vw, 38px); }
.auth-simple h1 { font-size: 26px; margin-bottom: 8px; }
.auth-social { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.btn-social {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  background: #fff; color: #16161a; border: 1px solid rgba(255, 255, 255, .18);
  font-weight: 600; padding: 12px 16px;
}
.btn-social:hover { background: #ececf0; color: #16161a; }
.auth-or {
  display: flex; align-items: center; gap: 12px; margin: 18px 0 4px;
  color: var(--muted-2); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
}
.auth-or::before, .auth-or::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.notice { margin-top: 18px; padding: 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); font-size: 13px; }
.notice-info { border-color: rgba(201, 162, 39, .4); }
.notice b { display: block; margin-bottom: 4px; }

/* ------------------------------------------------------------------ tables */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: var(--panel); }
.table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 680px; }
.table th {
  text-align: left; font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); padding: 13px 16px; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02); white-space: nowrap;
}
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, .022); }
.status { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-strong); }
.status-paid { background: rgba(55, 178, 107, .15); border-color: rgba(55, 178, 107, .4); color: #6fe0a0; }
.status-pending { background: rgba(201, 162, 39, .15); border-color: rgba(201, 162, 39, .4); color: var(--gold-2); }
.status-failed, .status-cancelled { background: rgba(200, 16, 46, .15); border-color: rgba(200, 16, 46, .4); color: #ff8fa0; }
.status-refunded { background: rgba(120, 120, 140, .18); color: #c3c2cc; }

/* ------------------------------------------------------------------ library / account */
.library-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.lib-card { display: grid; grid-template-columns: 118px 1fr; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.lib-card:hover { border-color: rgba(201, 162, 39, .4); }
.lib-poster { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 2/3; }
.lib-poster img { width: 100%; height: 100%; object-fit: cover; }
.lib-title { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.lib-title:hover { color: var(--gold-2); }
.lib-actions { display: flex; gap: 7px; flex-wrap: wrap; margin: 11px 0 8px; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; padding-bottom: 60px; align-items: start; }
.account-side { display: flex; flex-direction: column; gap: 0; }
.account-side .panel + .panel { margin-top: 16px; }
.profile-card { text-align: center; }
.profile-avatar {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 12px; background: var(--gold-grad);
  color: #16120a; display: grid; place-items: center; font-size: 22px; font-weight: 800;
}
.device-meter { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.meter-dot { width: 26px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.meter-dot.is-on { background: var(--gold-grad); }
.meter-label { font-size: 11.5px; color: var(--muted); margin-left: 6px; }
.device-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.device-list li { display: flex; align-items: center; gap: 13px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02); }
.device-list li.is-current { border-color: rgba(201, 162, 39, .4); background: rgba(201, 162, 39, .05); }
.device-ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; color: var(--gold-2); flex: none; }
.device-main { flex: 1; min-width: 0; }
.device-main b { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.device-main small { display: block; font-size: 11px; color: var(--muted); }
.mini-link { display: flex; align-items: center; gap: 9px; padding: 8px 0; font-size: 12.5px; color: #cfced6; border-bottom: 1px solid var(--line); }
.mini-link:last-child { border-bottom: 0; }
.mini-link:hover { color: var(--gold-2); }

/* ------------------------------------------------------------------ genres */
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; padding-bottom: 60px; }
.genre-tile {
  position: relative; min-height: 132px; border-radius: 14px; padding: 20px; overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(145deg, var(--tone-a, #24242b), var(--tone-b, #121215)); transition: .2s;
}
.genre-tile::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .16), transparent 55%);
  opacity: .7;
}
.genre-tile:hover { transform: translateY(-3px); border-color: rgba(201, 162, 39, .5); }
.genre-tile b { position: relative; z-index: 2; font-size: 19px; letter-spacing: -.01em; }
.genre-count { position: relative; z-index: 2; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 6px; }
.genre-go { position: absolute; top: 16px; right: 16px; z-index: 2; color: rgba(255, 255, 255, .75); }
.tone-ember { --tone-a: #43120d; --tone-b: #170706; }
.tone-sun { --tone-a: #4a3008; --tone-b: #1b1204; }
.tone-violet { --tone-a: #2c1a4d; --tone-b: #120b20; }
.tone-rose { --tone-a: #46101f; --tone-b: #1a0609; }
.tone-ash { --tone-a: #1b2420; --tone-b: #0a0d0c; }
.tone-steel { --tone-a: #1c3a45; --tone-b: #0a1418; }
.tone-emerald { --tone-a: #0e4030; --tone-b: #051510; }
.tone-cyan { --tone-a: #0d3f4c; --tone-b: #04151a; }
.tone-amethyst { --tone-a: #3a1a58; --tone-b: #150a22; }
.tone-graphite { --tone-a: #2c2f34; --tone-b: #111214; }
.tone-indigo { --tone-a: #242b60; --tone-b: #0b0f24; }
.tone-magenta { --tone-a: #4d1039; --tone-b: #1c0614; }
.tone-olive { --tone-a: #3c4018; --tone-b: #15170a; }
.tone-sand { --tone-a: #58401f; --tone-b: #20160a; }
.tone-jade { --tone-a: #0f4137; --tone-b: #051713; }
.tone-ochre { --tone-a: #57340f; --tone-b: #1f1205; }
.tone-slate { --tone-a: #2a3442; --tone-b: #0e1218; }

/* ------------------------------------------------------------------ premium / legal / misc */
.premium-hero { padding: 90px 0 80px; }
.premium-head { position: relative; z-index: 2; max-width: 760px; }
.premium-head h1 { font-size: clamp(32px, 4.6vw, 58px); text-transform: uppercase; margin-bottom: 18px; }
.lead { font-size: 15.5px; color: #cfced6; max-width: 640px; margin-bottom: 26px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 10px 0 26px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 22px; }
.feature h3 { margin: 12px 0 7px; font-size: 16px; }
.feature p { font-size: 12.5px; color: var(--muted); margin: 0; }
.feature-ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(201, 162, 39, .12); color: var(--gold-2); display: grid; place-items: center; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.steps li { display: flex; gap: 14px; }
.steps li > span { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-grad); color: #16120a; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.steps b { font-size: 14px; }
.steps p { font-size: 12.5px; color: var(--muted); margin: 4px 0 0; }
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.device-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: rgba(255, 255, 255, .025); }
.device-card span { color: var(--gold-2); }
.device-card b { display: block; margin: 10px 0 4px; font-size: 13.5px; }
.device-card p { font-size: 12px; color: var(--muted); margin: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 13px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-size: 13.5px; font-weight: 600; }
.faq p { font-size: 12.5px; color: var(--muted); margin: 9px 0 0; }
.legal { max-width: 830px; padding-bottom: 70px; }
.legal h1 { margin-bottom: 6px; }
.legal-body { margin-top: 26px; }
.legal-body h2 { font-size: 16px; margin: 24px 0 8px; color: var(--gold-2); }
.legal-body p, .legal-body li { font-size: 13.5px; color: #c3c2ca; }
.legal-body ul { padding-left: 20px; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.support-card { border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 4px; background: var(--panel); }
.support-card span { color: var(--gold-2); }
.support-card b { font-size: 14px; margin-top: 8px; }
.support-card small { font-size: 11.5px; color: var(--muted); }
.support-card:hover { border-color: rgba(201, 162, 39, .45); }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line-strong); border-radius: 16px; }
.empty-mark { width: 64px; height: 64px; border-radius: 50%; background: rgba(201, 162, 39, .1); color: var(--gold-2); display: grid; place-items: center; margin: 0 auto 16px; }
.empty h3 { font-size: 19px; margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 420px; margin: 0 auto 20px; font-size: 13px; }
.error-page { text-align: center; padding: 90px 20px 110px; }
.error-code { font-size: clamp(80px, 16vw, 160px); font-weight: 800; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.error-page h1 { margin: 6px 0 10px; }
.error-page .hero-cta { justify-content: center; }

/* ------------------------------------------------------------------ footer */
.footer { margin-top: 40px; border-top: 1px solid var(--line); background: #070708; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand p { font-size: 12.5px; color: var(--muted); max-width: 300px; margin: 16px 0; }
.footer-badges { display: flex; gap: 7px; flex-wrap: wrap; }
.footer h4 { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { font-size: 12.5px; color: var(--muted); }
.footer-grid a:hover { color: var(--gold-2); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted-2); flex-wrap: wrap; }
.footer-pay { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-pay span { border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; font-size: 9.5px; letter-spacing: .1em; }

/* ------------------------------------------------------------------ offline */
.offline-body { display: grid; place-items: center; min-height: 100vh; background: radial-gradient(ellipse at top, #17120f, #070707 70%); padding: 20px; }
.offline-card { text-align: center; max-width: 420px; }
.offline-card img { margin: 0 auto 20px; }
.offline-card h1 { margin-bottom: 10px; }
.offline-card p { color: var(--muted); }
.offline-card .btn { margin-top: 10px; }
.offline-hint { font-size: 11px; color: var(--muted-2); margin-top: 24px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1330px) {
  .topbar .top-link { display: none; }
}
@media (max-width: 1180px) {
  .mainnav { gap: 0; }
  .mainnav a { padding: 10px 8px; font-size: 10.5px; letter-spacing: .08em; }
  .search input { width: 132px; }
  .detail-body { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 1020px) {
  .mainnav, .search { display: none; }
  .menu-btn { display: block; }
  .topbar-inner { height: 68px; }
  .detail-grid { grid-template-columns: 220px 1fr; gap: 28px; }
  .detail-body, .account-grid, .checkout-grid, .promo-inner, .app-inner { grid-template-columns: 1fr; }
  .account-side .panel + .panel { margin-top: 16px; }
  .detail-side { position: static; }
  .promo-inner { padding: 46px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promo-grid { order: -1; }
}
@media (max-width: 760px) {
  .hero { min-height: 74vh; }
  .hero-media { background-position: 72% center; }
  .hero-fade { background: linear-gradient(0deg, var(--bg) 2%, rgba(6,6,7,.86) 42%, rgba(6,6,7,.45) 100%); }
  .hero-inner { padding-top: 70px; }
  .hero-title { font-size: clamp(34px, 10vw, 46px); }
  .rail { grid-auto-columns: 44vw; gap: 12px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-poster { width: 190px; }
  .detail-hero::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(9,9,10,.72) 40%, rgba(9,9,10,.55)); }
  .facts, .form-grid, .steps, .device-grid, .support-grid, .form-2 { grid-template-columns: 1fr; }
  .auth-card { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .library-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .flash-stack { right: 10px; left: 10px; top: auto; bottom: 14px; max-width: none; }
  .player-info { flex-direction: column; gap: 14px; }
  .player-side { align-items: flex-start; text-align: left; }
  .pvolume { display: none; }
  .app-visual { order: -1; }
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 16px; }
  .rail-arrows { display: none; }
  .checkout, .page-head { padding-top: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------------ live TV */
.live-hero {
  position: relative; overflow: hidden; padding: 64px 0 54px;
  background: radial-gradient(900px 420px at 12% 0%, rgba(200, 16, 46, .16), transparent 70%),
              radial-gradient(700px 420px at 88% 10%, rgba(201, 162, 39, .10), transparent 65%),
              linear-gradient(180deg, #0d0b0d, var(--bg));
  border-bottom: 1px solid var(--line);
}
.live-hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.live-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 0 rgba(228, 24, 47, .6); animation: live-pulse 1.8s infinite; display: inline-block; flex: none; }
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(228, 24, 47, .55); }
  70% { box-shadow: 0 0 0 8px rgba(228, 24, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(228, 24, 47, 0); }
}
.live-hero h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 16px; }
.live-lead { color: var(--muted); font-size: 15.5px; max-width: 560px; margin-bottom: 24px; }
.live-hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.live-hero-actions form { display: inline-flex; }
.live-pass-pill { display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; border-radius: 999px; background: rgba(55, 178, 107, .12); border: 1px solid rgba(55, 178, 107, .4); color: #7ee2ab; font-size: 12px; font-weight: 600; }
.live-free-note { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin: 0; }
.live-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 5px; font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.live-badge.is-free { background: rgba(55, 178, 107, .15); border: 1px solid rgba(55, 178, 107, .45); color: #74dfa6; }
.live-badge.is-locked { background: rgba(201, 162, 39, .12); border: 1px solid rgba(201, 162, 39, .4); color: var(--gold-2); }
.live-badge.is-open { background: rgba(255, 255, 255, .08); border: 1px solid var(--line-strong); color: var(--text); }

.live-hero-card { display: block; background: var(--panel); border: 1px solid rgba(201, 162, 39, .3); border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease; }
.live-hero-card:hover { transform: translateY(-3px); border-color: rgba(201, 162, 39, .65); }
.live-hero-screen { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; background: radial-gradient(420px 220px at 50% 20%, rgba(201, 162, 39, .18), transparent 70%), linear-gradient(150deg, #1b1712, #0d0d0f); }
.live-hero-screen img { max-height: 62%; max-width: 62%; object-fit: contain; }
.live-hero-avatar { display: grid; place-items: center; gap: 4px; width: 112px; height: 112px; border-radius: 24px; background: var(--gold-grad); color: #16110a; font-size: 34px; font-weight: 900; letter-spacing: -.03em; box-shadow: 0 18px 40px rgba(201, 162, 39, .25); }
.live-hero-avatar small { font-size: 10px; letter-spacing: .18em; font-weight: 800; }
.live-now, .live-live { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 5px; background: rgba(10, 10, 11, .75); border: 1px solid rgba(255, 255, 255, .18); font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.live-hero-screen .live-now { position: absolute; left: 14px; top: 14px; backdrop-filter: blur(6px); }
.live-hero-card-body { padding: 15px 18px 18px; display: flex; flex-direction: column; gap: 3px; }
.live-hero-card-body b { font-size: 16px; }
.live-hero-card-body span { color: var(--muted); font-size: 12.5px; }
.live-hero-card-body small { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: #74dfa6; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.live-wrap { padding: 42px 0 72px; }
.live-section { margin-bottom: 46px; }
.live-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.live-head h2 { margin-bottom: 4px; }
.live-head p { color: var(--muted); font-size: 12.5px; margin: 0; }
.live-pass-tag { display: inline-flex; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(201, 162, 39, .35); background: rgba(201, 162, 39, .08); color: var(--gold-2); font-size: 11.5px; font-weight: 700; letter-spacing: .07em; }
.live-group { margin-top: 26px; }
.live-group h3 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.live-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.live-card:hover { transform: translateY(-3px); border-color: rgba(201, 162, 39, .45); box-shadow: 0 16px 36px rgba(0, 0, 0, .35); }
.live-card.is-free { border-color: rgba(55, 178, 107, .3); }
.live-card.is-locked .live-logo { filter: saturate(.7); }
.live-logo { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; background: radial-gradient(280px 160px at 50% 15%, rgba(201, 162, 39, .13), transparent 70%), linear-gradient(150deg, #19161a, #0d0d10); border-bottom: 1px solid var(--line); }
.live-logo img { max-height: 64%; max-width: 64%; object-fit: contain; }
.live-avatar { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 18px; background: var(--gold-grad); color: #16110a; font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.live-logo .live-num { position: absolute; right: 10px; top: 10px; }
.live-logo .live-live { position: absolute; left: 10px; bottom: 10px; background: rgba(10, 10, 11, .78); font-size: 8.5px; }
.live-num { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 4px; background: rgba(10, 10, 11, .72); border: 1px solid var(--line-strong); font-size: 9.5px; font-weight: 800; letter-spacing: .1em; }
.live-card-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 5px; }
.live-card-body b { font-size: 14px; }
.live-now-line { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.live-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 5px; font-size: 11px; color: var(--muted-2); }

.live-pass-panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 32px; align-items: center; padding: clamp(22px, 4vw, 40px); border-radius: calc(var(--radius) + 4px); border: 1px solid rgba(201, 162, 39, .3); background: linear-gradient(120deg, rgba(201, 162, 39, .10), rgba(200, 16, 46, .07) 55%, rgba(255, 255, 255, .02)), var(--panel); }
.live-pass-panel h2 { margin-bottom: 10px; }
.live-pass-panel p { margin-bottom: 0; font-size: 13px; }
.live-pass-box { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; border-radius: var(--radius); background: rgba(0, 0, 0, .28); border: 1px solid var(--line); }
.live-pass-price { font-size: clamp(28px, 3.5vw, 38px); font-weight: 900; letter-spacing: -.02em; line-height: 1; }
.live-pass-price small { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-left: 5px; }
.live-pass-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #7ee2ab; margin: 0; }
.live-pass-state.is-expired { color: #ffb4a2; }
.live-pass-box .btn { width: 100%; }

.live-home-band { margin: 34px 0 6px; padding: 24px; border-radius: calc(var(--radius) + 4px); border: 1px solid rgba(201, 162, 39, .22); background: linear-gradient(120deg, rgba(201, 162, 39, .07), transparent 55%), var(--panel); }
.live-home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 16px; flex-wrap: wrap; }
.live-home-head h2 { margin-bottom: 4px; }
.live-home-head p { margin: 0; font-size: 12.5px; }
.live-mini-rail { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.live-mini { display: flex; align-items: center; gap: 11px; flex: 0 0 250px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: .18s; }
.live-mini:hover { border-color: rgba(201, 162, 39, .45); background: rgba(201, 162, 39, .06); }
.live-mini img, .live-mini-avatar { width: 42px; height: 42px; border-radius: 10px; flex: none; object-fit: contain; background: #0c0c0e; }
.live-mini-avatar { display: grid; place-items: center; background: var(--gold-grad); color: #16110a; font-weight: 900; font-size: 14px; }
.live-mini > span:not(.live-mini-avatar) { display: flex; flex-direction: column; min-width: 0; }
.live-mini b { font-size: 12.5px; }
.live-mini small { color: var(--muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-mini .live-badge { margin-left: auto; flex: none; }

.live-watch { padding: 26px 0 70px; }
.live-watch-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.live-watch-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.live-tag { padding: 4px 9px; border: 1px solid var(--line); border-radius: 5px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.live-stage { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: #000; box-shadow: var(--shadow); }
.live-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; background: #000; }
.live-frame iframe, .live-video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.live-player-msg { position: absolute; inset: auto 0 0 0; padding: 14px 18px; background: rgba(12, 12, 14, .92); color: #ffb4a2; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .1); }
.live-paywall { display: grid; place-items: center; background: radial-gradient(560px 300px at 50% 10%, rgba(201, 162, 39, .12), transparent 70%), linear-gradient(150deg, #141114, #09090a); }
.live-paywall-inner { text-align: center; max-width: 480px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.live-paywall-inner h2 { font-size: clamp(21px, 3vw, 29px); }
.live-paywall-inner p { color: var(--muted); font-size: 13px; margin: 0; }
.live-paywall-ic { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; border: 1px solid rgba(201, 162, 39, .45); background: rgba(201, 162, 39, .1); color: var(--gold-2); }
.live-paywall-inner form { display: contents; }
.live-watch-info { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; margin-top: 24px; }
.live-watch-main h1 { margin-bottom: 8px; }
.live-watch-main .live-now-line { font-size: 13px; margin-bottom: 10px; }
.live-side-card { padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid rgba(201, 162, 39, .25); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.live-side-card h3 { font-size: 15px; }
.live-side-card .live-pass-price { font-size: 26px; }
.live-side-card .muted.tiny { margin: 0; }

@media (max-width: 980px) {
  .live-hero-inner { grid-template-columns: 1fr; }
  .live-hero-card { max-width: 430px; }
  .live-watch-info { grid-template-columns: 1fr; }
  .live-side-card { max-width: 430px; }
  .live-pass-panel { grid-template-columns: 1fr; }
  .live-pass-box { max-width: 420px; }
}
@media (max-width: 640px) {
  .live-hero { padding: 42px 0 38px; }
  .live-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .live-avatar { width: 58px; height: 58px; border-radius: 14px; font-size: 17px; }
  .live-card-body { padding: 11px 12px 13px; }
  .live-hero-actions .btn { width: 100%; }
  .live-hero-actions form { width: 100%; }
  .live-hero-actions form .btn { width: 100%; }
  .live-home-band { margin-left: 0; margin-right: 0; padding: 18px; }
  .live-mini { flex-basis: 220px; }
  .live-paywall-inner { padding: 18px; }
  .live-frame { aspect-ratio: 16 / 10; }
  .live-watch-top { align-items: flex-start; }
}
.ci-pass { display: grid; place-items: center; width: 58px; height: 87px; border-radius: 8px; flex: none; background: radial-gradient(120px 80px at 50% 20%, rgba(201, 162, 39, .2), transparent 70%), #141114; border: 1px solid rgba(201, 162, 39, .35); color: var(--gold-2); }
