html{scroll-behavior:auto;scrollbar-gutter:stable}body{--bg:#141211;--panel:#201e1b;--line:#3d3833;--coral:#ff9634}
[hidden],html[lang=ru] .shell-en,html:not([lang=ru]) .shell-ru{display:none!important}
main{outline:0;min-height:75svh}main:empty{min-height:82svh}
.top{background:#171614f5;border-color:#37322e}.bar{height:70px;gap:clamp(15px,3vw,45px)}.brand{letter-spacing:-.045em}.brand img{width:31px;height:31px}
.tools>*{height:38px;display:inline-flex;align-items:center;justify-content:center}#language{width:42px;padding:0;font-size:14px}
.profile-link,#account.sign{width:116px;border-radius:22px;gap:8px;background:#2d2925;border:1px solid #4c463f;color:#f8f7f6;font-size:15px;font-weight:600}
.profile-link img{width:28px;height:28px;border-radius:50%;object-fit:cover;background:#3b3632}.search-trigger svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}
.search-trigger{min-width:102px}.bar nav a{font-size:16px}.bar .active,.mobile .active{color:#ffdebd}
h1,h2,.hero h1,.title-copy h1{letter-spacing:-.035em}button,a,input,select{transition:background-color .15s,color .15s,border-color .15s,box-shadow .15s}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #ffd6ad;outline-offset:3px}
.hero{height:clamp(420px,36vw,510px)}.hero h1{font-size:clamp(33px,4.8vw,72px);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tile h3,.rel-card strong{height:2.55em;line-height:1.27;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tile small{display:block;height:1.6em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rel-card img{display:block;object-fit:cover;background:#292623}.rel-card small{height:2.7em}.promo,.shortcut{height:80px}
.cards:has(>a.collection){grid-template-columns:repeat(auto-fill,minmax(min(100%,235px),1fr))}
a.collection{display:grid;grid-template-rows:140px 2.6em 2.4em 2.8em 1.4em;gap:6px;align-content:start}a.collection>img{margin:0}a.collection>strong,a.collection>p,a.collection>small{margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.3}
a.collection>small:last-child{-webkit-line-clamp:1}.title-side .title-poster{display:block;aspect-ratio:2/3;object-fit:cover}.stills button{aspect-ratio:16/9}
.title-watch{min-height:0;margin:clamp(24px,4vw,58px) auto 0;scroll-margin-top:12px}.title-watch>h2{margin-bottom:18px}
.cinema{--edge:#39342f;background:#151311;border:1px solid var(--edge);border-radius:18px;overflow:hidden;box-shadow:0 16px 50px #0003}
.cinema-body{display:grid;grid-template-columns:minmax(0,1fr) clamp(200px,22vw,295px)}
.cinema-left{min-width:0}.cinema-screen{width:100%;aspect-ratio:16/9;position:relative;overflow:hidden;background:#0c0b0a;color:white}
.cinema-screen>iframe,.cinema-cover,.cinema-art,.cinema-shade{display:block;position:absolute;inset:0;width:100%;height:100%;border:0}
.cinema-art{object-fit:cover;object-position:center 35%}.cinema-art.cover-poster{object-position:50% 28%}
.cinema-shade{background:linear-gradient(0deg,#0d0c0bf7 0%,#0f0e0d55 47%,#0e0d0c1c),linear-gradient(90deg,#17161438,transparent)}
.cinema-start,.video-start{display:grid;place-items:center;position:absolute;top:46%;left:50%;transform:translate(-50%,-50%);border:1px solid #ffe0c180;border-radius:50%;width:clamp(54px,5.8vw,82px);height:clamp(54px,5.8vw,82px);padding:0;background:#ffa039;color:#19120a;box-shadow:0 6px 38px #38220d77;z-index:2}
.cinema-start:after,.video-start:after{content:"";width:0;height:0;border-left:19px solid #fff;border-top:12px solid transparent;border-bottom:12px solid transparent;margin-left:4px}.cinema-start:hover,.video-start:hover{background:#ffba74;box-shadow:0 0 0 7px #ffc48a33}
.cinema-caption{position:absolute;bottom:clamp(16px,3.2vw,44px);left:clamp(16px,3vw,40px);right:20px;pointer-events:none}.cinema-kicker{font-size:13px;text-transform:uppercase;letter-spacing:.18em;color:#ffe1c3;margin:0 0 5px;font-weight:700}
.cinema-caption strong{font:700 clamp(23px,3.2vw,49px)/1.15 var(--font-display);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 2px 15px #2a1d10aa}.cinema-caption>span{display:block;margin-top:5px;color:#fff2e6;font-size:16px}
.cinema-bar,.cinema-modes{display:flex;gap:7px;align-items:center}.cinema-bar{padding:10px 16px;height:63px;overflow:auto;border-top:1px solid var(--edge);background:#1d1b19}
.source-button,.cinema-bar select,.cinema-bar animania-tab-audio button{font:600 14px/1.2 var(--font-body);min-height:35px;border-radius:8px;padding:7px 13px;white-space:nowrap}
.source-button[aria-pressed=true]{background:#ffa039;border-color:#ffb56a;color:#19120a}.cinema-bar animania-tab-audio,.cinema-bar>.dub-select{margin-left:auto}.cinema-bar animania-tab-audio button{border-color:transparent;background:transparent;color:#c9bcb0;font-weight:400;font-size:13px;white-space:normal}
.episode-rail{display:flex;flex-direction:column;min-height:0;height:100%;position:relative;border-left:1px solid var(--edge);padding:14px 12px;overflow:hidden;background:#1b1816}
.episode-head{display:flex;align-items:baseline;justify-content:space-between;padding:2px 4px 10px}.episode-head h3{font-size:19px;margin:0}.episode-count{font:600 13px var(--font-body);color:#edcaa6}
.episode-filter{min-height:34px;padding:5px 9px;margin:0 0 10px;width:100%;font-size:14px}.episode-list{flex:1 1 0;height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#5b4e40 transparent}
.episode-row{width:100%;height:42px;display:flex;align-items:center;gap:11px;margin:0 0 3px;border:1px solid transparent;border-radius:8px;background:transparent;color:#cfcbc6;font-size:15px;text-align:left;padding:5px 9px}
.episode-row[aria-current=true]{background:#433426;border-color:#725a41;color:#f5f4f4}.episode-number{font-variant-numeric:tabular-nums;color:#c7b098;font-size:13px}.episode-glyph{margin-left:auto;color:#ffd0a1}.episode-empty{color:#c0bab4;padding:8px}
.theater-mode .cinema-body{grid-template-columns:1fr}.theater-mode .episode-rail{display:none}
.air-player{position:relative;background:#0f0e0c;border-radius:12px;overflow:hidden}.air-stage{border-radius:0}.air-stage .air-controls{position:absolute;z-index:3;bottom:0;left:0;right:0;background:linear-gradient(transparent,#0a0908cf 30%,#0a0908f2);display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:24px 12px 9px}
.air-controls .video-seek{order:-1;flex:0 0 100%;height:12px;padding:0}.air-controls input[type=range]{accent-color:#fdc38a}.air-controls .video-volume{width:65px!important;padding:0}
.air-controls button,.air-controls select{background:#282421e8;border:1px solid #ffffff26;border-radius:7px;height:30px;padding:2px 7px;font:600 14px/1.2 var(--font-body)}
.air-controls .air-time{font-variant-numeric:tabular-nums;color:#f1f0ee}.video-start{width:62px;height:62px}.playing .video-start{display:none}.air-status:empty,.air-credit:empty{display:none}
.cinema-screen .air-player,.cinema-screen .air-stage{height:100%;width:100%}.cinema-screen .air-status,.cinema-screen .air-credit{position:absolute;z-index:2;padding:3px 7px;background:#151311b8;max-width:90%;top:8px;left:8px;border-radius:5px}.cinema-screen .air-credit{top:auto;bottom:86px;font-size:11px}.skip-opening{position:absolute;right:12px;bottom:100px;z-index:3}.air-player:fullscreen .air-stage{max-height:none;height:100%}
@media(max-width:900px){.bar{gap:14px}.bar nav{gap:13px}.search-trigger kbd{display:none}.search-trigger{min-width:40px}.cinema-body{grid-template-columns:minmax(0,1fr) 185px}.cinema-bar{padding:8px}.bar nav a{font-size:15px}}
@media(max-width:740px){.hero{height:410px;min-height:0}.promo,.shortcut{height:65px}.bar{height:59px}.bar .tools{gap:6px}.profile-link,#account.sign{width:95px;height:34px}.profile-link img{width:24px;height:24px}.bar .brand{font-size:21px}#language{width:34px;height:34px}.cinema-body{display:flex;flex-direction:column}.episode-rail{height:158px;border-left:0;border-top:1px solid var(--edge);padding:7px 11px}.episode-filter{width:110px;position:absolute;right:12px;top:5px;min-height:23px;height:25px;font-size:13px}.episode-count{margin-right:auto;margin-left:6px}.episode-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(87px,1fr));align-content:start;gap:4px}.episode-row{height:33px;padding:4px 7px;font-size:14px;gap:4px;margin:0}.episode-number,.episode-glyph{display:none}.episode-rail:has(.episode-filter[hidden]){height:97px}.cinema-caption{bottom:11px;left:13px}.cinema-caption strong{font-size:22px}.cinema-caption>span,.cinema-kicker{font-size:12px}.cinema-caption>span{margin-top:2px}.cinema-bar{height:51px}.air-stage .air-controls{gap:4px;padding:12px 5px 5px}.air-controls .video-volume{display:none}.air-controls button,.air-controls select{font-size:12px;height:24px;padding:1px 4px}.air-controls .air-time{font-size:11px}.mobile{padding-bottom:env(safe-area-inset-bottom);height:calc(50px + env(safe-area-inset-bottom))}footer div{flex-wrap:wrap}.title-route{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}}


@media(max-width:740px){.tools .search-trigger{display:none}.bar #desktop{display:none}.bar{padding-inline:14px;justify-content:space-between}.bar .tools{margin-left:auto}}

.air-stage .video-action{display:grid;place-items:center;background:transparent;border-color:transparent;width:34px;height:34px;padding:6px}
.video-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.air-stage .video-action:hover{background:#ffffff26}.air-controls select:first-of-type{margin-left:auto}
.air-stage .air-controls{transition:opacity .2s}.playing.hide-chrome .air-controls:not(:focus-within){opacity:0;pointer-events:none}.playing.hide-chrome .air-stage{cursor:none}
@media(max-width:740px){.air-stage .video-action{width:28px;height:28px;padding:4px}}

.top::after{content:"";position:absolute;inset:auto 0 -1px;height:2px;transform:scaleX(0);transform-origin:left;background:#edba87;transition:transform .2s ease,opacity .1s;opacity:0}
.navigating .top::after{transform:scaleX(.72);opacity:.8}
a.row{min-height:78px;height:78px}a.row h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:17px;line-height:1.15;margin:2px 0}

.studio-rail{padding:16px;border-left:1px solid #3b3631;background:#1c1a17;min-width:0}.studio-rail h3{margin-bottom:10px}.studio-rail input{width:100%}.studio-row{display:flex;align-items:center;gap:3px;margin:7px 0}.studio-row button{background:transparent;padding:7px;border-color:transparent}.studio-row button[aria-pressed=true],.cinema-bar button[aria-pressed=true]{background:#5e4934;color:#ffeedc}.studio-row button:first-child{color:#ffd8b0}.native-mode .episode-rail{grid-column:1/-1;grid-row:2;height:auto;border-left:0;border-top:1px solid #3a3530;padding:10px 14px}.native-mode .episode-list{display:flex;overflow-x:auto;height:auto;flex:auto;gap:4px}.native-mode .episode-row{width:auto;flex:0 0 auto}.native-mode .episode-number{display:none}.native-mode .episode-filter,.native-mode .episode-head{display:none}.native-mode .studio-rail{grid-column:2;grid-row:1}.native-mode.theater-mode .studio-rail{display:none}.cinema-bar>*{flex-shrink:0}.cinema-bar{scrollbar-width:thin}
@media(max-width:740px){.native-mode .studio-rail{order:1;padding:10px}.native-mode .episode-rail{order:2}.studio-rail h3{font-size:16px;display:inline-block;margin-right:12px}.studio-rail input{width:58%;height:28px}.studio-list{display:flex;gap:8px}.studio-row{margin:2px}}

.top{position:fixed;inset:0 0 auto;z-index:40;background:#181614f5;backdrop-filter:blur(15px)}
body{padding-top:70px}html{scroll-padding-top:78px}.title-watch{scroll-margin-top:4px}
.cinema{--frame-ratio:1.77778;overflow:visible}.cinema-left{min-width:0;align-self:start}.cinema-screen{aspect-ratio:var(--frame-ratio);max-height:calc(100svh - 150px);border-radius:14px 0 0 0}
.cinema-screen:has(video){aspect-ratio:var(--frame-ratio)}.cinema-screen .air-stage,.cinema-screen .air-player{aspect-ratio:auto}.air-stage video{object-fit:contain}
.episode-rail,.studio-rail{min-height:0;align-self:stretch}.cinema-body:has(.studio-rail[hidden]):not(:has(.episode-rail:not([hidden]):first-child)){min-width:0}
.native-mode .cinema-body:has(.studio-rail[hidden]){grid-template-columns:minmax(0,1fr)}
.air-controls .expand-video{margin-inline-start:auto}.cinema-bar{flex-wrap:wrap;height:auto;min-height:52px;overflow:visible}
@media(max-width:740px){body{padding-top:59px}html{scroll-padding-top:64px}.cinema-screen{max-height:calc(100svh - 125px);border-radius:12px 12px 0 0}.cinema-caption:has(.relay-tools){position:absolute;inset:auto 10px 8px}.relay-tools button{font-size:12px;padding:5px 7px}.cinema-caption:has(.relay-tools) .cinema-kicker{display:none}}
.brand .wordmark{display:inline-flex;align-items:center;gap:.04em;color:#fff8f0;letter-spacing:-.06em;line-height:1;font:800 29px/1 var(--font-body,system-ui);letter-spacing:-.06em}
.wordmark b{display:inline-block;padding:.04em .15em .10em .11em;border-radius:.16em;background:#ffa039;color:#18130e;letter-spacing:-.055em}
body{accent-color:var(--coral)}
::selection{background:#ffae58;color:#1c1208}
.bar .active,.mobile .active,.read{color:#ffb36b}
.source-button[aria-pressed=true],.cinema .studio-row button[aria-pressed=true]:not(.studio-favorite),.cinema .episode-row[aria-current=true]{color:#ffe3c4;background:#452c1c;border-color:#bc753a}
.brand:focus-visible{outline:2px solid #ffad57;outline-offset:5px}
#modal [data-save][aria-pressed=true]{background:#452c1c;border-color:#bc753a;color:#ffe3c4}

/* Shared interaction states for navigation, discovery and account screens. */
body {--action-ring:#ffa74f;--action-edge:#976339;--action-hover:#3a2b20}
:where(button,a.button,.profile-link):not(:disabled):not([aria-disabled=true]) {cursor:pointer}
:where(body) :is(a,button,input,textarea,select,summary,[tabindex]):focus-visible {
  outline:2px solid var(--action-ring);outline-offset:3px;
}
.tile .poster:focus-visible {outline-offset:-3px}
.tile:focus-within h3 a,.collection:focus-visible strong {color:#ffbc7b}
#modal {border:1px solid #5c4938;border-radius:18px;box-shadow:0 24px 80px #0009}
#modal::backdrop {background:#110e0bbf}
#modal .result {border-radius:8px}
#modal .close {border-radius:10px}
#modal .result:is(:focus-visible,.active) {color:#ffe4c7;background:var(--action-hover)}
@media (hover:hover) {
  :where(button,.button,.profile-link):not(:disabled,:where(.cinema *,.air-player *,.dots *)):hover {border-color:var(--action-edge)}
  :is(.bar nav,.mobile,footer) a:hover,.tile:hover h3 a,.collection:hover strong {color:#ffbc7b}
  :is(.featurebar .shortcut,.cards .collection):hover {border-color:var(--action-edge)}
  #modal .result:hover {color:#ffe4c7;background:var(--action-hover)}
}
@media (prefers-reduced-motion:no-preference) {
  :where(button,.button,.profile-link,.collection,.shortcut):not(:where(.cinema *,.air-player *,.dots *)) {
    transition:background-color .15s,color .15s,border-color .15s,scale .13s ease-out;
  }
  :where(button,.button,.profile-link,.collection,.shortcut):not(:disabled,:where(.cinema *,.air-player *,.dots *)):active {scale:.975}
  #modal[open] {animation:dialog-appear .18s cubic-bezier(.2,.7,.25,1)}
  #modal[open]::backdrop {animation:backdrop-appear .16s ease-out}
  .poster>img {transition:scale .22s ease-out}
  @media(hover:hover) {.tile:hover .poster>img{scale:1.025}}
  @keyframes dialog-appear {from{opacity:.4;translate:0 6px}to{opacity:1;translate:0}}
  @keyframes backdrop-appear {from{opacity:0}to{opacity:1}}
}
@media (prefers-reduced-motion:reduce) {
  body :where(button,a,input,textarea,select,.poster>img):not(:where(.cinema *,.air-player *)) {transition:none;animation:none}
  #modal[open],#modal[open]::backdrop {animation:none}
}
body {min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body>#main {flex:1 0 auto;min-height:0;margin-block:0}
.site-footer {width:100%;margin:0;padding:0;display:block;background:#151210}
.site-footer .footer-inner {width:min(1460px,100%);margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px clamp(18px,4.6vw,82px)}
.site-footer nav {display:flex;gap:16px;align-items:center;flex-wrap:wrap}
@media(max-width:730px){.site-footer{padding-bottom:calc(55px + env(safe-area-inset-bottom))}}

/* Keep absolute centering independent of the play button's interaction scale. */
.reference-cinema .cinema-start,.air-player .air-stage .video-start {translate:-50% -50%}
.title-side .play-title {
  --play-surface:#ffa039;
  --play-edge:#ffa039;
  --play-ink:#19120a;
}
:is(.title-side button.play-title,.reference-cinema button.cinema-start,
    .air-player .air-stage button.video-start,.air-player .air-stage .air-controls button.video-action:first-of-type):enabled {
  background:var(--play-surface,rgb(22 20 19 / .82));
  border-color:var(--play-edge,#ffffff43);
  color:var(--play-ink,#fff);
  box-shadow:none;
  outline:0;
  transform:none;
  transform-origin:center;
  scale:1;
  transition:scale .14s ease-out;
  -webkit-tap-highlight-color:transparent;

  &:focus-visible {scale:1.10}
  @media(hover:hover) {&:hover {scale:1.06}}
  &:active {scale:.94}
  @media(prefers-reduced-motion:reduce) {transition:none}
  @media(forced-colors:active) {&:focus-visible {outline:2px solid Highlight}}
}
.air-player .air-stage button.video-start:hover::after {transform:none}
.air-player[tabindex]:focus-visible {outline:0}
.air-player:focus-visible .air-stage .air-controls button.video-action:first-of-type:enabled {scale:1.10}
