:root {
  color-scheme: dark;
  --phone-max-width: 430px;
  --bg: #06070d;
  --panel: #121722;
  --panel-2: #171a24;
  --line: #2a2e3b;
  --muted: #9b9ba6;
  --text: #f7f7fb;
  --gold: #ffca28;
  --gold-2: #ffe692;
  --brown: #5c3417;
  --orange: #ff8435;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #000;
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body.search-open {
  overflow: hidden;
}

button {
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(255, 202, 40, 0.72);
  outline-offset: 2px;
}

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

.phone {
  width: min(100vw, var(--phone-max-width));
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}

.bootstrap-shell { position: absolute; inset: 0; min-height: inherit; overflow: hidden; background: #090b0d; pointer-events: none; }
.bootstrap-stage { position: absolute; inset: 0; background: #050708; }
.bootstrap-top { position: absolute; z-index: 3; inset: 0 0 auto; min-height: 76px; padding: 14px 12px 18px; display: flex; align-items: center; gap: 8px; background: linear-gradient(180deg, rgba(0,0,0,.84), transparent); }
.bootstrap-logo { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(3,4,5,.82); overflow: hidden; }
.bootstrap-logo img { width: 35px; height: 35px; object-fit: contain; }
.bootstrap-spacer { flex: 1; }
.bootstrap-skeleton, .bootstrap-meta span { position: relative; display: block; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: #20252d; }
.bootstrap-skeleton::after, .bootstrap-meta span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 15%, rgba(255,255,255,.08) 50%, transparent 85%); transform: translateX(-100%); animation: bootstrap-shimmer 1.4s ease-in-out infinite; }
.bootstrap-loading-control { display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); background: rgba(18,22,27,.78); color: #f7f8fa; overflow: hidden; user-select: none; }
.bootstrap-loading-control svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bootstrap-balance { width: 70px; height: 44px; gap: 6px; border-radius: 10px; color: var(--gold); font-weight: 800; }
.bootstrap-language { width: 50px; height: 44px; border-radius: 10px; }
.bootstrap-language img { width: 28px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.bootstrap-profile { width: 44px; height: 44px; border-radius: 50%; }
.bootstrap-profile img { width: 44px; height: 44px; object-fit: cover; }
.bootstrap-loading { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-weight: 800; }
.bootstrap-brand-loading { flex-direction: column; gap: 18px; }
.bootstrap-brand-loading-fallback { display: none; }
.bootstrap-brand-loading--fallback .bootstrap-brand-loading-fallback { display: block; }
.bootstrap-brand-loading--fallback .bootstrap-brand-loading-logo,
.bootstrap-brand-loading--fallback .bootstrap-brand-loading-track { display: none; }
.bootstrap-brand-loading-logo { position: relative; width: min(78%, 320px); border-radius: 999px; overflow: hidden; isolation: isolate; filter: drop-shadow(0 16px 34px rgba(229,63,207,.16)); animation: bootstrap-brand-enter 420ms cubic-bezier(.23,1,.32,1) both, bootstrap-brand-breathe 1.6s 420ms cubic-bezier(.77,0,.175,1) infinite alternate; }
.bootstrap-brand-loading-logo::after { content: ""; position: absolute; z-index: 1; inset: -35% auto -35% -42%; width: 28%; transform: skewX(-20deg) translateX(-240%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.44), transparent); mix-blend-mode: screen; animation: bootstrap-brand-shine 1.1s 180ms linear infinite; }
.bootstrap-brand-loading-logo img { display: block; width: 100%; height: auto; }
.bootstrap-brand-loading-track { width: 112px; height: 3px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.12); opacity: 0; animation: bootstrap-brand-track-enter 240ms 180ms cubic-bezier(.23,1,.32,1) forwards; }
.bootstrap-brand-loading-track span { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #bb25ac, #ff61e8); box-shadow: 0 0 12px rgba(255,97,232,.58); animation: bootstrap-brand-progress .72s linear infinite; }
.bootstrap-spinner { width: 24px; height: 24px; border: 3px solid rgba(255,255,255,.16); border-top-color: #34d19b; border-radius: 50%; animation: bootstrap-spin .8s linear infinite; }
.bootstrap-side { position: absolute; z-index: 2; right: 10px; bottom: 78px; display: grid; gap: 8px; }
.bootstrap-side span { width: 46px; height: 46px; border-radius: 10px; }
.bootstrap-meta { position: absolute; z-index: 2; left: 14px; right: 72px; bottom: 84px; display: grid; gap: 9px; }
.bootstrap-meta span:first-child { width: min(70%, 250px); height: 30px; border-radius: 8px; }
.bootstrap-meta span:last-child { width: min(48%, 180px); height: 15px; border-radius: 6px; }
.bootstrap-dock { position: absolute; z-index: 3; inset: auto 0 0; min-height: 60px; display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 8px; padding: 6px 10px; background: rgba(16,20,25,.96); }
.bootstrap-dock span { height: 48px; gap: 7px; border-radius: 8px; font-size: 14px; }
.bootstrap-dock span svg { width: 21px; height: 21px; }
.bootstrap-dock .bootstrap-unlock { color: #03110c; border-color: #45e0ad; background: #34d19b; }
@keyframes bootstrap-spin { to { transform: rotate(360deg); } }
@keyframes bootstrap-shimmer { to { transform: translateX(100%); } }
@keyframes bootstrap-brand-enter { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes bootstrap-brand-breathe { from { transform: translateY(0) scale(1); } to { transform: translateY(-3px) scale(1.012); } }
@keyframes bootstrap-brand-shine { to { transform: skewX(-20deg) translateX(720%); } }
@keyframes bootstrap-brand-track-enter { to { opacity: 1; } }
@keyframes bootstrap-brand-progress { from { transform: translateX(-115%); } to { transform: translateX(280%); } }

@media (prefers-reduced-motion: reduce) {
  .bootstrap-spinner, .bootstrap-skeleton::after, .bootstrap-meta span::after, .bootstrap-brand-loading-logo, .bootstrap-brand-loading-logo::after, .bootstrap-brand-loading-track, .bootstrap-brand-loading-track span { animation: none; }
  .bootstrap-brand-loading-track { opacity: 1; }
  .bootstrap-brand-loading-track span { width: 100%; opacity: .72; }
}

@media (min-width: 520px) {
  body {
    padding: 18px 0;
  }

  .phone {
    min-height: 760px;
    border-radius: 26px;
  }
}

.home {
  padding-bottom: 28px;
}

.topbar {
  padding: 15px 18px 12px;
  display: grid;
  grid-template-columns: 38px minmax(82px, 1fr) 40px 92px 64px;
  gap: 8px;
  align-items: center;
  background: linear-gradient(100deg, #0c1e20 0%, #10111d 54%, #161d3a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.search {
  min-width: 0;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 22px;
  border: 1px solid #2b303d;
  background: rgba(16, 18, 27, 0.78);
  color: #aeb0b8;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
}

.search img,
.search svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  object-fit: contain;
}

.search span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.round-action {
  width: 40px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #323746;
  background: rgba(18, 21, 31, 0.9);
  color: var(--gold);
}

.round-action svg {
  width: 19px;
  height: 19px;
}

.coin-button {
  height: 44px;
  border-radius: 22px;
  background: linear-gradient(90deg, #514a3e, #5b5548);
  border: 1px solid rgba(255, 230, 146, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-weight: 950;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}

.coin-button .coin {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #60410d;
  font-size: 14px;
}

.language-switcher {
  min-width: 0;
  width: 100%;
  height: 44px;
  position: relative;
  z-index: 20;
}

.language-switcher::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 9px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background: currentColor;
  color: #f7f7fb;
  opacity: 0.92;
  pointer-events: none;
  -webkit-mask:
    radial-gradient(circle at 50% 50%, transparent 52%, #000 54% 70%, transparent 72%),
    linear-gradient(#000 0 0) center/12px 2px no-repeat,
    linear-gradient(#000 0 0) center/2px 12px no-repeat;
  mask:
    radial-gradient(circle at 50% 50%, transparent 52%, #000 54% 70%, transparent 72%),
    linear-gradient(#000 0 0) center/12px 2px no-repeat,
    linear-gradient(#000 0 0) center/2px 12px no-repeat;
}

.language-select {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #323746;
  border-radius: 22px;
  padding: 0 12px 0 26px;
  background:
    linear-gradient(45deg, transparent 50%, #d7d8df 50%) right 9px center/5px 5px no-repeat,
    linear-gradient(135deg, #d7d8df 50%, transparent 50%) right 5px center/5px 5px no-repeat,
    rgba(18, 21, 31, 0.9);
  color: #f7f7fb;
  font-size: 12px;
  font-weight: 900;
  outline: none;
}

.language-current {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 174px;
  max-height: min(420px, calc(100svh - 92px));
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(18, 22, 34, 0.98);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  display: none;
}

.language-switcher.open .language-menu {
  display: grid;
  gap: 2px;
}

.language-option {
  width: 100%;
  min-height: 34px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border-radius: 7px;
  background: transparent;
  color: #f7f7fb;
  font-size: 14px;
  font-weight: 850;
  text-align: left;
}

.language-option[aria-selected="true"] {
  background: #2e82db;
}

.language-option-code {
  font-weight: 950;
  white-space: nowrap;
}

.language-option-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-modal[hidden] {
  display: none;
}

.search-modal {
  position: fixed;
  z-index: 100;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100vw, var(--phone-max-width));
  transform: translateX(-50%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(64px, env(safe-area-inset-top)) 18px 24px;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
}

.search-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: calc(100svh - 88px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: #141822;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.56);
}

.search-dialog-head {
  min-height: 60px;
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-dialog-head h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
}

.search-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: #d7d8df;
}

.search-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.search-close svg {
  width: 22px;
  height: 22px;
}

.search-form {
  margin: 0 16px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding-left: 14px;
  border: 1px solid #353b49;
  border-radius: 24px;
  background: #0e1119;
}

.search-form:focus-within {
  border-color: rgba(255, 202, 40, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 202, 40, 0.12);
}

.search-form-icon {
  width: 20px;
  height: 20px;
  color: #aeb0b8;
}

.search-form-icon svg {
  width: 100%;
  height: 100%;
}

.search-form input {
  min-width: 0;
  height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}

.search-form input::placeholder {
  color: #8f929c;
}

.search-form button {
  min-width: 68px;
  height: 44px;
  margin-right: 2px;
  padding: 0 16px;
  border-radius: 22px;
  background: var(--gold);
  color: #452600;
  font-weight: 950;
}

.search-results {
  max-height: calc(100svh - 220px);
  overflow-y: auto;
  padding: 14px 16px 18px;
}

.search-message {
  margin: 26px 0 30px;
  color: #aeb0b8;
  font-size: 14px;
  text-align: center;
}

.search-result {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  background: transparent;
  text-align: left;
}

.search-result:hover,
.search-result:focus-visible {
  background: rgba(255, 255, 255, 0.07);
}

.search-result img {
  width: 46px;
  height: 62px;
  border-radius: 6px;
  object-fit: cover;
  background: #212633;
}

.search-result-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.search-result-copy strong,
.search-result-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-copy strong {
  color: #f7f7fb;
  font-size: 15px;
}

.search-result-copy small {
  color: #aeb0b8;
  font-size: 12px;
}

.channel-tabs {
  height: 46px;
  display: flex;
  gap: 8px;
  align-items: center;
  overflow: hidden;
  padding: 7px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #10121a;
}

.channel {
  height: 32px;
  flex: 0 0 auto;
  padding: 0 18px;
  border-radius: 18px;
  background: #161922;
  border: 1px solid #2d3240;
  color: #aeb0b8;
  font-weight: 900;
}

.channel.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #4a2600;
}

.banner {
  margin: 14px 26px 0;
  height: 92px;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-head {
  margin: 17px 27px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 950;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(#ffe879, #ffc016);
}

.more {
  color: #989aa3;
  font-weight: 900;
  text-decoration: none;
}

.featured {
  margin: 0 27px;
  height: 191px;
  padding: 18px 160px 14px 14px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(176, 101, 28, 0.7);
  background:
    var(--featured-bg) center/cover no-repeat,
    radial-gradient(circle at 0% 100%, rgba(135, 89, 42, 0.55), transparent 52%),
    linear-gradient(110deg, rgba(54, 44, 34, 0.95), rgba(7, 8, 13, 0.88) 48%),
    #0a0b11;
  box-shadow: inset 0 0 22px rgba(255, 179, 68, 0.05);
}

.featured h1 {
  margin: 0 0 9px;
  color: #ffe47e;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 950;
}

.pills {
  display: flex;
  gap: 7px;
  margin-bottom: 11px;
}

.pill {
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(255, 198, 57, 0.14);
  color: #d59c3d;
  font-weight: 900;
  font-size: 12px;
}

.pill.gray {
  color: #ced0d7;
  background: rgba(255, 255, 255, 0.16);
}

.featured p {
  margin: 0;
  color: #ffe37a;
  font-size: 13px;
  font-weight: 900;
}

.watch-now {
  position: absolute;
  left: 14px;
  bottom: 15px;
  min-width: 74px;
  height: 26px;
  padding: 0 12px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(90deg, #ffc414, #fff0a8);
  color: #682600;
  font-size: 13px;
  font-weight: 950;
}

.play-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #6b2300;
  display: grid;
  place-items: center;
}

.play-dot::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #fff1b6;
  margin-left: 2px;
}

.featured-poster {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 133px;
  height: 162px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(255, 206, 49, 0.28);
}

.featured-poster img,
.poster-card img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poster-grid {
  margin: 14px 26px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  row-gap: 18px;
  align-items: start;
}

.poster-card {
  min-width: 0;
  position: relative;
  cursor: pointer;
  outline: none;
}

.poster-card:focus-visible .poster-cover {
  box-shadow: 0 0 0 3px rgba(255, 202, 40, 0.72);
}

.poster-cover {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 7px;
  background: #151821;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.poster-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 70px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.corner {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  height: 22px;
  min-width: 57px;
  display: grid;
  place-items: center;
  border-radius: 7px 0 7px 0;
  background: var(--orange);
  color: #fff;
  font-weight: 950;
  font-size: 14px;
}

.poster-heat {
  position: absolute;
  z-index: 2;
  left: 8px;
  right: 8px;
  bottom: 7px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.heat-flame {
  font-size: 15px;
  line-height: 1;
}

.poster-title {
  min-height: 42px;
  margin: 8px 0 5px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #f7f7fb;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 950;
}

.poster-meta {
  min-height: 22px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 5px;
}

.poster-chip {
  max-width: 100%;
  padding: 3px 7px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  color: #aeb0b8;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-loader {
  height: 72px;
  margin: 8px 26px 30px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #aeb0b8;
  font-size: 13px;
  font-weight: 850;
}

.home-loader.active {
  display: flex;
}

.loader-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(255, 202, 40, 0.22);
  border-top-color: var(--gold);
  animation: loader-spin 0.8s linear infinite;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.detail {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #080910;
}

.detail-hero {
  padding: 24px 33px 0;
  min-height: 251px;
  background:
    radial-gradient(circle at 75% 16%, rgba(38, 56, 96, 0.34), transparent 24%),
    linear-gradient(180deg, #1f0622 0 66px, #0b101b 66px, #07080d 100%);
}

.detail-load-hero {
  min-height: 88px;
}

.detail-load-state {
  min-height: 280px;
  padding: 64px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  color: #d8d9df;
  text-align: center;
}

.detail-load-state .watch-now {
  margin-top: 4px;
}

.back {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #151b25;
  border: 1px solid #26303e;
  color: var(--gold);
}

.back svg {
  width: 23px;
  height: 23px;
}

.hero-info {
  margin-top: 21px;
  display: grid;
  grid-template-columns: 114px 1fr;
  gap: 17px;
}

.detail-poster {
  width: 114px;
  height: 153px;
  border-radius: 6px;
  overflow: hidden;
}

.detail-title {
  margin: 4px 0 12px;
  max-width: 220px;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 950;
}

.tag {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 198, 57, 0.18);
  color: #c79337;
  font-weight: 900;
  font-size: 13px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag.gray {
  background: rgba(255, 255, 255, 0.14);
  color: #b3b3bd;
}

.meta {
  margin-top: 14px;
  color: #93919d;
  font-size: 14px;
  font-weight: 850;
}

.comments {
  padding: 0 33px 0;
}

.comments .section-title {
  margin-bottom: 10px;
}

.comment-row {
  display: flex;
  gap: 10px;
  overflow: hidden;
}

.comment-card {
  flex: 0 0 227px;
  height: 72px;
  padding: 10px 11px;
  border-radius: 5px;
  background: #171a24;
}

.comment-name {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #9799a4;
  font-size: 12px;
  font-weight: 800;
}

.avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe6d5, #6f5f73);
}

.avatar-image {
  object-fit: cover;
}

.comment-empty {
  width: 100%;
  min-height: 72px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  color: #777985;
  font-size: 13px;
}

.comment-copy {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 950;
}

.episodes {
  margin-top: 23px;
  flex: 1 1 auto;
}

.episode-tabs {
  height: 43px;
  padding: 0 34px;
  display: flex;
  align-items: flex-end;
  gap: 29px;
  border-bottom: 1px solid #2a2d36;
}

.episode-tab {
  position: relative;
  padding-bottom: 13px;
  color: #a6a6b0;
  font-size: 18px;
  font-weight: 950;
}

.episode-tab.active {
  color: #fff;
}

.episode-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold);
}

.episode-list {
  width: min(calc(100% - 68px), 296px);
  margin-inline: 34px auto;
  padding: 24px 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.episode-btn {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 43px;
  border-radius: 9px;
  border: 1px solid rgba(176, 145, 74, 0.75);
  background: #111721;
  color: #f8f8fb;
  font-size: 16px;
  font-weight: 950;
}

.episode-btn.free {
  background: #5a3218;
  border-color: #c84d42;
}

.episode-btn.unavailable {
  cursor: not-allowed;
  opacity: 0.42;
}

.episode-btn .vip {
  position: absolute;
  top: -6px;
  right: 0;
  height: 15px;
  min-width: 22px;
  padding: 0 4px;
  border-radius: 4px;
  background: #ffc46c;
  color: #6a3000;
  font-size: 10px;
  line-height: 15px;
}

.playing-bars {
  position: absolute;
  top: 11px;
  right: 10px;
  display: flex;
  gap: 2px;
  align-items: end;
}

.playing-bars i {
  width: 2px;
  height: 6px;
  background: #c05043;
  border-radius: 2px;
  animation: bar 0.9s infinite ease-in-out;
}

.detail-actions {
  min-height: 86px;
  padding: 14px 28px 20px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(10, 11, 17, 0.98);
}

.detail-collect {
  min-width: 0;
  height: 54px;
  display: grid;
  place-items: center;
  gap: 4px;
  background: transparent;
  color: #f6f7fb;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

.detail-collect svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.7;
}

.detail-collect.selected {
  color: var(--gold);
}

.detail-watch {
  min-width: 0;
  height: 46px;
  padding: 0 24px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(90deg, #ffc414, #fff0a8);
  color: #6a2600;
  font-size: 17px;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(255, 196, 20, 0.18);
}

.detail-watch-icon {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.playing-bars i:nth-child(2) {
  animation-delay: 0.14s;
}

.playing-bars i:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes bar {
  50% {
    height: 12px;
  }
}

.player {
  width: min(100vw, 1600px);
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background: #000;
}

@media (min-width: 520px) {
  .phone.player {
    width: min(calc(100vw - 36px), 1600px);
    min-height: calc(100svh - 36px);
    border-radius: 16px;
  }
}

.player-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.36)),
    url("./assets00/original-home/60_a9a26db077874745.jpg") center/cover no-repeat;
  filter: brightness(0.62) blur(12px);
  transform: scale(1.08);
}

.player.has-video .player-bg {
  opacity: 0.22;
}

.player-shell-top {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}

.player-shell-top > * {
  pointer-events: auto;
}

.player-logo {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(3, 6, 9, 0.72);
  cursor: pointer;
}

.player-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.player-notice {
  position: absolute;
  top: 12px;
  left: 50%;
  width: min(560px, calc(100% - 520px));
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(31, 22, 20, 0.72);
  color: #e9eaef;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateX(-50%);
}

.player-balance {
  margin-left: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffd25a;
  font-size: 19px;
  font-weight: 950;
}

.balance-coin {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 210, 90, 0.72);
  font-size: 11px;
  line-height: 1;
}

.player .language-switcher {
  flex: 0 0 auto;
  width: 64px;
  height: 42px;
  background: rgba(22, 26, 35, 0.9);
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.18);
}

.player .language-select {
  height: 40px;
  padding-left: 25px;
  padding-right: 12px;
  border-radius: 8px;
  font-size: 13px;
}

.player .language-menu {
  top: calc(100% + 8px);
  width: 182px;
}

.bind-account {
  flex: 0 0 auto;
  width: auto;
  min-width: 112px;
  max-width: 128px;
  height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(26, 31, 42, 0.92);
  color: #f4f5f8;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

@media (min-width: 720px) {
  .player-shell-top {
    padding-right: 14px;
  }
}

.player-stage {
  position: absolute;
  z-index: 1;
  inset: 0 0 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 48%),
    #020405;
}

.video-backdrop {
  display: none;
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  filter: blur(26px) brightness(0.42) saturate(1.08);
  transform: scale(1.04);
  opacity: 0;
  pointer-events: none;
}

.video-player {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

@media (min-width: 720px) {
  .video-backdrop {
    display: block;
  }

  .player.portrait-video .video-backdrop {
    opacity: 0.82;
  }

  .player.portrait-video .video-player {
    width: auto;
    height: min(100%, calc(100svh - 112px));
    max-width: min(44vw, 520px);
    aspect-ratio: 9 / 16;
    border-radius: 8px;
    box-shadow:
      0 24px 80px rgba(0, 0, 0, 0.62),
      0 0 0 1px rgba(255, 255, 255, 0.12);
  }

  .player.landscape .player-stage {
    left: 64px;
    right: 64px;
  }
}

.fullscreen-toggle {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 104px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 900;
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
}

.fullscreen-toggle svg {
  width: 20px;
  height: 20px;
}

.play-all-button {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 92px;
  min-width: 150px;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffc414, #fff0a8);
  color: #542800;
  font-size: 17px;
  font-weight: 950;
  box-shadow: 0 12px 34px rgba(255, 196, 20, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.player.video-ended .play-all-button {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.player.landscape .play-all-button {
  bottom: 120px;
}

.player-top {
  display: none;
}

.player-back {
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  padding: 8px;
}

.player-back svg {
  width: 24px;
  height: 24px;
}

.player-tip {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 94px;
  width: min(390px, calc(100% - 160px));
  min-height: 80px;
  padding: 16px 18px;
  border-radius: 7px;
  border: 1px solid rgba(255, 202, 76, 0.86);
  background: rgba(13, 16, 22, 0.86);
  color: #fff;
  text-align: left;
  transform: translateX(-50%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.player-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 24px;
  height: 24px;
  background: rgba(13, 16, 22, 0.92);
  border-right: 1px solid rgba(255, 202, 76, 0.86);
  border-bottom: 1px solid rgba(255, 202, 76, 0.86);
  transform: translateX(-50%) rotate(45deg);
}

.player-tip strong,
.player-tip span {
  display: block;
}

.player-tip strong {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.player-tip span {
  color: #d8dce5;
  font-size: 15px;
  font-weight: 850;
}

.player-dock {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  height: 76px;
  background: rgba(20, 25, 31, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.35);
}

.dock-progress {
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
}

.dock-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #31d8aa;
}

.unlock-modal {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(6px);
}

.unlock-modal-card {
  width: min(360px, calc(100vw - 52px));
  padding: 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(20, 25, 31, 0.96);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.44);
  color: #fff;
  text-align: center;
}

.unlock-modal-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.unlock-modal-card p {
  margin: 0;
  color: rgba(245, 247, 252, 0.78);
  font-size: 15px;
  line-height: 1.55;
}

.unlock-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.unlock-modal-button {
  min-width: 0;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 15px;
  font-weight: 950;
}

.unlock-modal-button.primary {
  background: var(--gold);
  color: #201300;
}

.unlock-modal-button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.player-info {
  position: absolute;
  left: 18px;
  bottom: 190px;
  max-width: 330px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.player-info h2 {
  margin: 0 0 4px;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 950;
}

.player-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 900;
}

.player-info span {
  display: inline-flex;
  margin-top: 8px;
  padding: 5px 12px;
  border-radius: 5px;
  background: rgba(255, 205, 74, 0.82);
  color: rgba(84, 57, 7, 0.88);
  font-size: 13px;
  font-weight: 950;
}

.privacy-link {
  position: absolute;
  left: 18px;
  bottom: 26px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.dock-actions {
  position: absolute;
  left: 50%;
  top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(126px, 1fr));
  gap: 8px;
  width: min(430px, calc(100% - 40px));
  transform: translateX(-50%);
}

.dock-action {
  height: 56px;
  border-radius: 7px;
  border: 1px solid rgba(155, 169, 190, 0.48);
  background: #151c25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #f5f7fb;
  font-size: 17px;
  font-weight: 950;
}

.dock-action svg {
  width: 23px;
  height: 23px;
}

.dock-action.selected {
  border-color: rgba(255, 205, 74, 0.82);
  background: rgba(255, 205, 74, 0.16);
  color: #ffd65a;
}

.dock-action.primary {
  background: #35d59a;
  border-color: rgba(255, 255, 255, 0.42);
  color: #03180f;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.16),
    0 0 0 7px rgba(0, 0, 0, 0.44);
}

.plus-mark {
  font-size: 20px;
  line-height: 1;
}

.player-side-tools {
  position: absolute;
  z-index: 8;
  right: 16px;
  bottom: 92px;
  display: grid;
  gap: 8px;
}

.player-side-tools button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 13, 18, 0.72);
  color: #d5d7de;
  font-size: 22px;
  font-weight: 950;
  backdrop-filter: blur(8px);
}

.player-side-tools .sound-toggle.active {
  border-color: rgba(53, 213, 154, 0.72);
  background: rgba(53, 213, 154, 0.18);
  color: #eafff6;
}

.player-side-tools svg {
  width: 23px;
  height: 23px;
}

.video-config-empty {
  position: absolute;
  z-index: 5;
  left: 32px;
  right: 32px;
  top: 42%;
  transform: translateY(-50%);
  padding: 22px 18px;
  border-radius: 12px;
  background: rgba(12, 13, 19, 0.82);
  border: 1px solid rgba(255, 202, 40, 0.22);
  text-align: center;
  backdrop-filter: blur(8px);
}

.video-config-empty h1 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 20px;
}

.video-config-empty p {
  margin: 0;
  color: #d8d9df;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 850;
}

@media (max-width: 719px) {
  .player-shell-top {
    height: 82px;
    padding: 10px 16px;
    gap: 8px;
  }

  .player-notice {
    display: none;
  }

  .player-balance {
    justify-self: end;
  }

  .player .language-switcher {
    width: 64px;
  }

  .bind-account {
    min-width: 96px;
    max-width: 118px;
    padding: 0 12px;
    font-size: 15px;
  }

  .player-stage {
    inset: 82px 0 118px;
    padding: 0 0 10px;
  }

  .player.portrait-video .video-player,
  .player:not(.landscape) .video-player {
    width: auto;
    height: min(100%, calc((100vw - 84px) * 16 / 9));
    max-width: calc(100vw - 84px);
    aspect-ratio: 9 / 16;
  }

  .fullscreen-toggle {
    bottom: 126px;
    height: 38px;
    padding: 0 18px;
  }

  .player-tip {
    display: none;
  }

  .player-dock {
    height: 82px;
  }

  .player-info {
    left: 18px;
    right: 88px;
    bottom: 88px;
    max-width: none;
  }

  .player-info h2 {
    font-size: 22px;
  }

  .player-info p {
    font-size: 13px;
  }

  .player-info span {
    margin-top: 6px;
    padding: 4px 10px;
    font-size: 12px;
  }

  .privacy-link {
    display: none;
  }

  .dock-actions {
    top: 10px;
    width: calc(100% - 30px);
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 5px;
  }

  .dock-action {
    min-width: 0;
    height: 58px;
    font-size: 17px;
  }

  .player-side-tools {
    right: 14px;
    bottom: 116px;
  }
}

.vip-mask {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 58px;
  background: rgba(0, 0, 0, 0.2);
}

.vip-dialog {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(138, 91, 43, 0.75);
  overflow: hidden;
  background: linear-gradient(180deg, #583518 0, #1a1b20 88px, #16171b 100%);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
}

.vip-title {
  height: 61px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 18px;
  font-weight: 950;
}

.vip-title::before,
.vip-title::after {
  content: "◆";
  margin: 0 8px;
  color: var(--gold);
  font-size: 10px;
  opacity: 0.85;
}

.vip-copy {
  margin: 0 16px;
  height: 113px;
  border-radius: 9px;
  background: #222;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.45;
  font-size: 15px;
  font-weight: 950;
}

.vip-actions {
  padding: 13px 22px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.vip-actions button {
  height: 36px;
  border-radius: 20px;
  font-weight: 950;
}

.cancel {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.subscribe {
  background: linear-gradient(90deg, #ffc414, #fff0a8);
  color: #5a2600;
}

@media (max-width: 360px) {
  .topbar {
    grid-template-columns: 34px minmax(76px, 1fr) 34px 84px 58px;
    padding-inline: 12px;
    gap: 6px;
  }

  .search {
    padding-inline: 10px;
  }

  .round-action {
    width: 34px;
  }

  .featured {
    margin-inline: 18px;
    padding-right: 146px;
  }

  .featured-poster {
    width: 118px;
    height: 158px;
  }

  .poster-grid,
  .banner,
  .home-loader {
    margin-inline: 18px;
  }

  .episode-list {
    width: min(calc(100% - 36px), 276px);
    margin-inline: 18px auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding-inline: 0;
  }

  .detail-actions {
    padding-inline: 18px;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .detail-watch {
    padding-inline: 18px;
    gap: 12px;
    font-size: 16px;
  }
}
