:root { --bg: #09090c; --surface: #15151c; --surface-2: #1d1d26; --line: rgba(255, 255, 255, .08); --text: #f6f6f8; --muted: #9a9aa8; --grad: linear-gradient(135deg, #ff2e63, #ff8a3d); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.top { position: sticky; top: 0; z-index: 5; background: rgba(9, 9, 12, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand b, .page-h b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top nav { display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: 14px; }
.btn-open { padding: 8px 14px; border-radius: 999px; background: var(--grad); color: #fff; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; color: var(--muted); font-size: 13px; }
.crumbs a:hover { color: var(--text); }
.hero { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.hero .poster { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); aspect-ratio: 3 / 4.2; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .9); }
.hero.ep .poster { aspect-ratio: 9 / 16; }
.hero.ep.wide { grid-template-columns: 480px 1fr; }
.hero.ep.wide .poster { aspect-ratio: 16 / 9; }
.nw { white-space: nowrap; }
.hero .poster img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .45); backdrop-filter: blur(6px); font-size: 28px; }
.badge { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--grad); }
h1 { margin: 10px 0 6px; font-size: clamp(26px, 4vw, 38px); line-height: 1.15; letter-spacing: -.02em; }
h2 { margin: 34px 0 14px; font-size: 21px; letter-spacing: -.01em; }
.alt { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.meta, .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; padding: 0; }
.meta span, .tags span { font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); }
.meta .free { background: rgba(47, 209, 122, .14); color: #2fd17a; }
.btn { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 6px; height: 50px; padding: 0 26px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 12px 30px -12px rgba(255, 46, 99, .8); }
.desc { color: #dcdce4; margin: 14px 0 0; }
.desc.muted { color: var(--muted); font-size: 14.5px; }
.ru { margin-top: 30px; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.ru h2 { margin: 0 0 8px; font-size: 17px; }
.ru p, .ru-line { margin: 0; color: var(--muted); font-size: 14.5px; }
.ru-line { margin-top: 12px; }
.eps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.eps a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.eps a:hover { border-color: rgba(255, 77, 109, .5); }
.eps .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); font-size: 13px; }
.eps em { font-style: normal; color: #2fd17a; font-size: 11px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.cards.big { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-top: 18px; }
.card img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; border-radius: 14px; background: var(--surface); }
.card span { display: block; margin-top: 8px; font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.card small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.page-h { margin-top: 26px; }
.lead { color: var(--muted); margin: 4px 0; }
.pager { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pager a { padding: 9px 14px; border-radius: 999px; background: var(--surface-2); font-weight: 700; font-size: 14px; }
.foot { margin-top: 56px; padding: 26px 0 calc(30px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.foot p { margin: 6px 0; }
.foot .links a { color: var(--text); }
.nf { text-align: center; padding: 80px 16px; }
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 18px; }
  .hero .poster { max-width: 260px; }
  .hero.ep .poster { max-width: 230px; }
  .hero.ep.wide { grid-template-columns: 1fr; }
  .hero.ep.wide .poster { max-width: none; }
  .top nav a:not(.btn-open) { display: none; }
  .btn { width: 100%; justify-content: center; }
}
