/* Leyvu: склеено scripts/stamp_assets.mjs из 53 файлов — не править вручную. */
/* fonts.css */
/* Manrope (SIL OFL), self-hosted variable font; subsets cyrillic/latin (+ext) from Google Fonts v20 */
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* style.css */
:root{--bg:#101112;--panel:#1a1c1e;--ink:#f3f1ed;--muted:#97999d;--line:#2b2d30;--accent:#ff725b;--accent-strong:#ff644b;font-family:Manrope,Arial,sans-serif;color:var(--ink);background:var(--bg);color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;color:inherit;background:none}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button:hover,a:hover{color:var(--accent)}[hidden]{display:none!important}.muted{color:var(--muted)}.accent{color:var(--accent)}.header{height:94px;padding:0 5%;display:flex;align-items:center;gap:70px;position:relative;z-index:5;border-bottom:1px solid #ffffff08;background:#101112}.brand{display:inline-flex;align-items:center;gap:9px;font-size:35px;font-weight:800;letter-spacing:-2px;line-height:1}.brand-icon{font-family:serif;font-size:24px;letter-spacing:0;background:var(--accent);color:var(--bg);width:35px;height:35px;border-radius:10px;display:grid;place-items:center}.brand-dot{color:var(--accent);margin-left:-8px}.header nav{display:flex;align-self:stretch;gap:36px;align-items:center;font-size:13px;font-weight:600}.nav-link{position:relative;height:100%;display:flex;align-items:center;gap:7px;color:#a4a5a8;white-space:nowrap}.nav-link.active{color:var(--ink)}.nav-link.active:after{position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--accent);content:''}.nav-link span{font-size:10px;background:#292b2d;border-radius:4px;padding:2px 5px}.header-actions{margin-left:auto;display:flex;gap:23px;align-items:center}.icon-button{width:44px;height:44px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:50%;padding:10px;flex-shrink:0}.icon-button svg{width:20px;height:20px}.search-toggle{border:0}.own-button{font-size:12px;font-weight:600}.own-button span{color:var(--accent);padding-left:8px}.avatar{font-size:13px;border-radius:50%;background:#34363a;width:34px;height:34px;display:grid;place-items:center;border:1px solid #505357}.hero{height:600px;min-height:540px;position:relative;overflow:hidden;background:#343e4b}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 45%;transition:opacity .3s}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,17,18,.98) 0%,rgba(16,17,18,.85) 25%,rgba(16,17,18,.34) 53%,rgba(16,17,18,.02) 80%),linear-gradient(0deg,#101112 0%,transparent 30%,rgba(16,17,18,.04) 80%)}.hero-content{position:relative;width:min(570px,55%);padding:55px 0 70px 0;margin-left:5%}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;display:flex;align-items:center;gap:9px;color:#e1e0df}.eyebrow>span{height:6px;width:6px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 4px #ff725b15}.hero-original{font-size:11px;letter-spacing:2px;color:#c8c8c7;margin-top:43px;margin-bottom:8px;text-transform:uppercase}.hero h1{font-size:clamp(38px,4.7vw,68px);font-weight:800;line-height:1.1;letter-spacing:-2.4px;margin:0 0 21px}.hero-meta{display:flex;align-items:center;gap:13px;font-size:12px;color:#c3c4c4}.hero-meta i{width:3px;height:3px;background:#747879;border-radius:50%}.hero-description{font-size:13px;line-height:1.9;color:#b4b6b9;max-width:430px;margin:22px 0 29px}.hero-buttons{display:flex;gap:10px}.button{min-height:48px;border-radius:7px;font-size:12px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:0 25px;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px)}.button.primary{background:var(--accent);color:#171514}.button.primary:hover{background:#ff947e;color:#171514}.secondary{border:1px solid #ffffff25;background:#ffffff07;color:var(--ink)}.secondary:hover{background:#ffffff12;color:white}.secondary>span{font-size:20px;font-weight:400}.play-icon{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:9px solid #171514;display:inline-block}.hero-source{display:flex;align-items:center;gap:7px;margin-top:17px;color:#a0a3a6;font-size:10px}.source-dot{height:4px;width:4px;border-radius:50%;background:#a7bcad}.hero-bottom{position:absolute;bottom:22px;left:5%;right:5%;display:flex;align-items:center;justify-content:space-between}.hero-caption{font-size:9px;letter-spacing:2.5px;color:#93989c}.hero-pagination{display:flex;align-items:center;gap:11px;font-size:10px;font-weight:600}.slide{width:25px;height:35px;position:relative;padding:0}.slide:after{content:'';position:absolute;top:17px;width:100%;height:2px;background:#777d8177;left:0}.slide.active:after{background:var(--accent)}.page-content{max-width:1440px;margin:auto;padding:0 5%}.welcome-row{display:flex;align-items:center;gap:70px;padding:43px 0 39px;border-bottom:1px solid var(--line);margin-bottom:43px}.tiny-label{font-size:9px;letter-spacing:1.7px;color:var(--muted);font-weight:700}.welcome-row h2{font-size:29px;letter-spacing:-1px;margin:8px 0 0;font-weight:700}.welcome-row p{font-size:12px;line-height:1.8;color:var(--muted);margin:10px 0 0}.text-button{padding:10px 0;min-height:44px;font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:20px}.text-button span{font-size:21px;color:var(--accent)}.welcome-row>.text-button{margin-left:auto}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 24px}.section-heading :is(h1,h2){font-size:24px;line-height:1.3;font-weight:700;letter-spacing:-.8px;margin:0}.section-heading p{font-size:11px;color:var(--muted);margin:9px 0 0}.section-heading>span{font-size:11px;color:var(--muted)}.catalog-count{border:1px solid var(--line);border-radius:20px;padding:8px 12px;white-space:nowrap}.catalog-toolbar{display:flex;gap:12px;margin-bottom:18px}.search-field{height:46px;border:1px solid #303236;border-radius:7px;display:flex;align-items:center;gap:13px;padding:0 15px;flex:1;max-width:460px;background:#17191b}.search-field svg{width:17px;height:17px;color:#989ba0}.search-field>span:first-child{display:flex}.search-field input{background:none;border:0;outline:none;color:white;width:100%;min-width:0;font-size:12px}.search-field:focus-within{border-color:var(--accent)}.search-field input:focus-visible{outline:none}.search-key{color:#777b7f;font-size:20px}.sort-field{margin-left:auto;display:flex;align-items:center}.sort-field select{border:1px solid var(--line);border-radius:7px;height:46px;padding:0 32px 0 15px;background:#17191b;font-size:11px;max-width:180px}.filter-row{display:flex;align-items:center;gap:7px;overflow-x:auto;padding-bottom:7px;scrollbar-width:thin;scrollbar-color:#343638 transparent;margin-bottom:22px}.filter{white-space:nowrap;font-size:10px;min-height:36px;border:1px solid #303236;border-radius:6px;padding:0 15px;color:#a9abad}.filter.active{background:#f0eee9;color:#202123;border-color:#f0eee9;font-weight:800}.play-filter{margin-left:auto}.play-filter .mini-play{font-size:9px;margin-right:5px;color:var(--accent)}.anime-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 20px}.anime-card{min-width:0;position:relative;animation:appear .35s ease both}.card-cover{width:100%;aspect-ratio:1.35;position:relative;border-radius:10px;overflow:hidden;background:#272e3c;display:block;text-align:left;padding:0}.card-cover img{width:100%;height:100%;object-fit:cover;transition:transform .45s}.card-cover:hover img{transform:scale(1.05)}.card-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0009,transparent 65%)}.cover-badge{position:absolute;left:11px;top:11px;z-index:1;font-size:8px;font-weight:700;letter-spacing:.5px;background:#17191be8;padding:6px 8px;border:1px solid #ffffff25;border-radius:4px;color:#eeefee}.cover-badge.local{color:#bde3ce}.card-open{position:absolute;inset:0;display:grid;place-items:center;z-index:1;opacity:0;transition:opacity .2s;background:#0002}.card-cover:hover .card-open,.card-cover:focus-visible .card-open{opacity:1}.cover-play{height:46px;width:46px;border-radius:50%;background:var(--accent);display:grid;place-items:center;color:#111;font-size:18px}.card-caption{position:absolute;bottom:12px;left:13px;right:13px;display:flex;align-items:center;justify-content:space-between;z-index:1;color:#ddd;font-size:9px}.card-year{border:1px solid #ffffff44;border-radius:4px;padding:3px 5px;font-size:9px}.card-title-row{margin-top:13px;display:flex;align-items:start;gap:6px}.card-title{font-size:12px;font-weight:700;text-align:left;line-height:1.5;padding:0;flex:1;min-height:36px}.card-save{padding:0;width:32px;height:36px;flex-shrink:0;color:#92969b;display:grid;place-items:center}.card-save svg{width:17px;height:17px}.card-save.saved{color:var(--accent)}.card-meta{font-size:10px;color:var(--muted);margin:4px 0 0;line-height:1.6}.closing-note{margin-top:50px;padding:28px 35px;display:flex;align-items:center;gap:26px;border:1px solid #2f3033;border-radius:12px;background:linear-gradient(100deg,#1e2021,#18191b);position:relative;overflow:hidden}.note-art{font-size:65px;color:#515053;font-family:serif;line-height:1}.closing-note h3{font-size:20px;letter-spacing:-.5px;margin:7px 0 8px}.closing-note p{font-size:11px;color:var(--muted);margin:0;line-height:1.7}.closing-note .text-button{margin-left:auto;white-space:nowrap}footer{max-width:1440px;padding:37px 5%;margin:45px auto 0;border-top:1px solid var(--line);display:flex;align-items:center;gap:25px}footer .brand{font-size:27px}footer p{font-size:10px;color:#878a8d}footer button{font-size:10px;color:#b3b5b8;margin-left:auto;padding:10px 0}.footer-jp{font-family:serif;color:#6b6d72;font-size:11px;letter-spacing:1px;margin-left:25px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.empty-state{text-align:center;padding:45px 20px 65px}.empty-symbol{font-size:55px;font-family:serif;color:var(--accent)}.empty-state h3{font-size:20px}.empty-state p{font-size:12px;color:var(--muted);line-height:1.8}.empty-state .button{margin-top:15px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);padding:12px 20px;background:#eeeeea;color:#17191b;border:1px solid #ffffff30;border-radius:8px;font-size:12px;z-index:30;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100% - 24px);text-align:center;box-shadow:0 10px 50px #0007}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{color:var(--ink);background:#141618;border:1px solid #3b3d42;padding:0;box-shadow:0 20px 100px #000b}dialog::backdrop{background:#060708db;backdrop-filter:blur(7px)}body.modal-open{overflow:hidden}.watch-dialog{width:1080px;max-width:calc(100% - 50px);max-height:calc(100dvh - 50px);border-radius:13px;overscroll-behavior:contain}.dialog-top{height:62px;display:flex;align-items:center;padding:0 23px;gap:25px;border-bottom:1px solid var(--line)}.small-brand{font-size:26px}.dialog-kicker{font-size:8px;color:#8f9297;letter-spacing:2px;margin-left:auto}.close-button{border:1px solid var(--line);font-size:15px;width:34px;height:34px;padding:0}.dialog-top .close-button{margin-left:10px}.player-area{background:#090a0b;width:100%;aspect-ratio:16/9;position:relative;display:grid;place-items:center;overflow:hidden}.player-area iframe,.player-area video{width:100%;height:100%;border:0;position:absolute;inset:0}.player-cover{position:absolute;inset:0;background-size:cover;background-position:center}.player-cover:after{content:'';position:absolute;inset:0;background:#080a0c7d}.start-player{z-index:1;position:relative;display:flex;align-items:center;flex-direction:column;gap:16px;color:#fff;font-size:12px;font-weight:700;min-height:100px;background:none}.start-player .cover-play{width:64px;height:64px;font-size:22px;box-shadow:0 0 0 8px #ff725b25}.external-screen{position:relative;text-align:center;padding:24px;max-width:600px;z-index:1}.external-screen h3{font-size:26px;letter-spacing:-.7px;margin:10px 0}.external-screen p{font-size:12px;line-height:1.7;color:#d0d0d0;margin-bottom:22px}.external-screen>span{font-size:10px;letter-spacing:2px;color:var(--accent);font-weight:800}.watch-body{display:grid;grid-template-columns:1fr 220px;padding:28px;gap:35px}.watch-title-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.watch-title-row h2{font-size:24px;letter-spacing:-.5px;line-height:1.4;margin:6px 0 0}.watch-title-row .tiny-label{font-size:9px;margin:0;text-transform:uppercase}.watch-info>p{font-size:12px;color:#acafb3;line-height:1.9}.save-watch{color:var(--accent)}.save-watch svg{width:18px}.episode-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:24px}.episode-heading h3{font-size:13px}.episode-heading h3 span{color:var(--muted);padding-left:7px;font-weight:400}.episode-heading>span{font-size:9px;color:var(--muted)}.episodes{display:flex;flex-wrap:wrap;gap:8px}.episode{padding:10px 12px;border:1px solid var(--line);background:#1b1d20;border-radius:6px;text-align:left;min-width:135px;flex:1;font-size:11px;min-height:62px}.episode .episode-index{color:var(--muted);font-size:9px;display:block;margin-bottom:5px}.episode.active{border-color:var(--accent);background:#ff725b0e}.episode.active .episode-index{color:var(--accent)}.episode-controls{display:flex;align-items:center;justify-content:space-between;margin-top:6px}.episode-controls .text-button{font-size:10px}.watch-info .player-notice{font-size:10px;color:#8e9399;line-height:1.8;margin-bottom:6px}.source-link{font-size:10px;color:var(--accent);display:inline-flex;min-height:36px;align-items:center}.watch-side{border-left:1px solid var(--line);padding-left:25px}.recommendation{display:flex;align-items:center;gap:11px;padding:15px 0;text-align:left;width:100%;border-bottom:1px solid var(--line)}.recommendation img{width:57px;height:61px;object-fit:cover;border-radius:5px}.recommendation strong{font-size:11px;line-height:1.5;display:block}.recommendation small{font-size:9px;color:var(--muted);display:block;margin-top:5px}.small-dialog{width:430px;max-width:calc(100% - 30px);border-radius:12px;padding:33px;max-height:calc(100dvh - 35px)}.small-dialog>.close-button{position:absolute;top:17px;right:17px}.small-dialog>.tiny-label{display:block;margin:7px 40px 22px 0}.small-dialog h2{font-size:28px;letter-spacing:-1px;line-height:1.3;margin:0 0 15px}.small-dialog p{font-size:12px;color:#aeb0b5;line-height:1.85}.small-dialog>.button{margin-top:18px}.field-label{font-size:11px;display:block;margin:22px 0 8px}.url-input{height:45px;background:#222529;border:1px solid #393c40;border-radius:6px;padding:0 12px;width:100%;font-size:12px;color:white}.wide{width:100%}.small-dialog .form-error{color:#ff977f;font-size:10px;margin:7px 0;min-height:16px}.or-divider{text-align:center;margin:22px 0;color:#7b7f86;font-size:11px;display:flex;align-items:center;gap:12px}.or-divider:before,.or-divider:after{height:1px;background:var(--line);flex:1;content:''}.file-label{border:1px dashed #46494e;padding:15px;display:flex;align-items:center;justify-content:space-between;border-radius:6px;cursor:pointer;font-size:11px}.file-label:hover{border-color:var(--accent)}.small-dialog .file-note{font-size:10px;color:#83878e}.history-section{margin:0 0 42px}.history-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.history-item{display:flex;align-items:center;gap:14px;background:#1a1c1e;border:1px solid var(--line);padding:9px;border-radius:8px;text-align:left;min-width:0}.history-item img{width:91px;height:62px;border-radius:5px;object-fit:cover}.history-item>span{flex:1}.history-item strong{font-size:11px;line-height:1.5;display:block}.history-item small{color:var(--muted);font-size:9px;display:block;margin-top:4px}.history-play{color:var(--accent);font-size:13px;margin-right:7px}.video-load-error{position:relative;background:#181a1ddd;color:#fff;padding:20px;z-index:2;max-width:80%;text-align:center;font-size:12px;line-height:1.8;border-radius:9px}.catalog-section{scroll-margin-top:30px}@keyframes appear{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1600px){.header{padding-left:calc((100% - 1296px)/2);padding-right:calc((100% - 1296px)/2)}.hero-content{margin-left:calc((100% - 1296px)/2)}.hero{height:650px}.hero-content{padding-top:75px}}@media(max-width:1100px){.header{gap:35px}.header nav{gap:24px}.anime-grid{gap:25px 16px}.hero{height:580px}.hero-content{width:55%}.hero-description{max-width:360px}.welcome-row{gap:35px}.closing-note{padding:25px}.watch-body{grid-template-columns:1fr 180px;gap:20px}.watch-side{padding-left:18px}.footer-jp{display:none}}@media(max-width:800px){.header{height:80px;gap:30px}.header nav{gap:20px;font-size:11px}.header-actions{gap:10px}.own-button{font-size:0}.own-button span{font-size:20px;padding:0}.hero{height:580px}.hero-content{width:68%;padding-top:46px}.hero h1{font-size:49px}.hero-art{object-position:60% center}.hero-shade{background:linear-gradient(90deg,#101112f5,#101112c7 30%,#10111210),linear-gradient(0deg,#101112,transparent 50%)}.hero-description{max-width:340px;font-size:12px}.anime-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.welcome-row{gap:30px}.welcome-row h2{font-size:25px}.welcome-row p{font-size:11px}.welcome-row .text-button{font-size:10px}.closing-note .note-art{display:none}.closing-note h3{font-size:18px}.watch-side{display:none}.watch-body{display:block}.watch-dialog{max-width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.history-grid{grid-template-columns:repeat(2,1fr)}footer{gap:20px}footer p{max-width:200px;line-height:1.8}}
@media(max-width:580px){.header{height:112px;flex-wrap:wrap;align-content:flex-start;padding:19px 20px 0;gap:0;justify-content:space-between}.brand{font-size:31px}.brand-icon{width:29px;height:29px;border-radius:8px;font-size:21px}.header nav{order:3;flex-basis:100%;height:47px;gap:30px;align-items:center;font-size:11px;margin-top:15px}.header-actions{gap:12px;height:30px}.search-toggle{width:28px;height:32px;padding:3px}.own-button{font-size:0;min-width:30px;min-height:32px}.own-button span{font-size:22px}.avatar{width:29px;height:29px;font-size:11px}.hero{height:580px;min-height:0}.hero-art{object-position:60% 20%;height:350px;opacity:.9}.hero-shade{background:linear-gradient(0deg,#101112 0%,#101112 9%,#101112fc 22%,#101112d9 44%,#10111220 82%),linear-gradient(90deg,#10111275,transparent);}.hero-content{width:auto;padding:27px 20px 70px;margin:0;position:absolute;bottom:0;left:0;right:0}.eyebrow{position:absolute;top:-36px;font-size:8px;letter-spacing:1.7px}.hero-original{font-size:9px;letter-spacing:1.5px;margin:0 0 10px}.hero h1{font-size:42px;letter-spacing:-1.8px;margin-bottom:17px;max-width:100%}.hero-meta{font-size:10px;gap:11px}.hero-description{max-width:100%;font-size:11px;line-height:1.9;margin:18px 0 23px}.hero-buttons{gap:8px}.hero-buttons .button{flex:1;padding:0 12px;min-height:46px;font-size:11px}.hero-source{font-size:9px;margin-top:14px}.hero-bottom{left:20px;right:20px;bottom:16px}.hero-caption{font-size:7px;letter-spacing:1.4px}.hero-pagination{gap:7px;font-size:9px}.slide{width:17px}.page-content{padding:0 20px}.welcome-row{padding:23px 0 26px;flex-wrap:wrap;gap:17px;margin-bottom:29px}.welcome-row .tiny-label{font-size:7px;letter-spacing:1.3px}.welcome-row h2{font-size:24px;margin-top:7px}.welcome-row p{display:none}.welcome-row .text-button{font-size:9px;gap:8px;margin-top:10px}.text-button span{font-size:19px}.section-heading{margin-bottom:21px;gap:10px}.section-heading :is(h1,h2){font-size:22px;letter-spacing:-.8px}.section-heading p{font-size:9px;line-height:1.6;margin-top:7px;max-width:230px}.section-heading>span{font-size:8px}.catalog-count{padding:7px 9px}.catalog-toolbar{gap:8px;margin-bottom:15px}.search-field{padding:0 11px;gap:8px;height:43px;min-width:0}.search-field input{font-size:11px}.search-key{display:none}.search-field svg{width:15px}.sort-field{max-width:117px}.sort-field select{max-width:117px;font-size:9px;padding-left:8px;padding-right:5px;height:43px}.filter-row{gap:6px;margin-right:-20px;padding-right:20px;margin-bottom:20px}.filter{padding:0 12px;font-size:9px;min-height:35px}.play-filter{margin-left:0}.anime-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 12px}.card-cover{aspect-ratio:.85;border-radius:8px}.card-cover img{object-position:center}.cover-badge{left:7px;top:8px;font-size:7px;padding:5px 6px;letter-spacing:0}.card-caption{left:8px;right:8px;bottom:10px;font-size:8px;gap:8px}.card-year{font-size:8px;padding:2px 4px}.card-title-row{margin-top:11px;gap:0}.card-title{font-size:11px;min-height:34px;line-height:1.5}.card-save{width:25px;height:34px;align-items:start;padding-top:2px}.card-meta{font-size:8px;line-height:1.7;margin-top:5px}.card-open{opacity:0}.closing-note{padding:23px 20px;margin-top:35px;flex-wrap:wrap;gap:9px}.closing-note .tiny-label{font-size:8px}.closing-note h3{font-size:17px;margin-top:9px}.closing-note p{font-size:10px;line-height:1.8;max-width:270px}.closing-note .text-button{margin-left:0;gap:12px;font-size:10px;padding-top:5px}footer{padding:27px 20px;flex-wrap:wrap;gap:15px;margin-top:30px}footer .brand{font-size:25px}footer p{font-size:9px;max-width:230px;flex:1;margin:0}footer button{font-size:9px;margin:0;flex-basis:100%;text-align:left}.watch-dialog{max-width:100%;width:100%;max-height:100dvh;height:100dvh;border-radius:0;border:0;margin:0;min-height:100dvh}.dialog-top{height:57px;padding:0 16px;gap:10px}.dialog-kicker{font-size:7px;letter-spacing:1px}.watch-body{padding:23px 19px}.watch-title-row h2{font-size:23px}.watch-title-row .tiny-label{font-size:8px;line-height:1.6}.watch-info>p{font-size:11px}.watch-title-row{align-items:start}.save-watch{width:36px;height:36px}.episode-heading>span{font-size:8px}.episode{min-width:calc(50% - 4px);font-size:10px;padding:10px;line-height:1.5}.episode .episode-index{font-size:8px}.watch-info .player-notice{font-size:9px}.source-link{font-size:10px;line-height:1.7}.start-player{gap:12px;font-size:10px}.start-player .cover-play{height:48px;width:48px;font-size:18px}.small-dialog{padding:29px 24px}.small-dialog h2{font-size:25px}.small-dialog p{font-size:11px}.external-screen{padding:15px}.external-screen h3{font-size:19px;margin:4px 0}.external-screen p{font-size:10px;line-height:1.5;margin:5px 0 12px}.external-screen>span{font-size:8px}.external-screen .button{min-height:37px;font-size:10px;padding:0 15px}.history-grid{grid-template-columns:1fr}.history-item img{width:82px;height:56px}.history-section{margin-bottom:30px}.history-section .section-heading :is(h1,h2){font-size:19px}.history-section .section-heading>span{display:none}.toast{bottom:18px;font-size:11px;padding:11px 15px}.hero[data-anime="frieren"] .hero-art{object-position:60% 30%}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
/* portal.css */
/* Leyvu: portal layout, preserving the original coral palette. */
.header{height:82px;gap:38px}.header nav{gap:25px;font-size:11px}.header-actions{gap:17px}.brand-icon{font-family:Manrope,Arial,sans-serif;font-weight:800;font-size:23px}.theme-switch{height:36px;min-width:30px;font-size:21px;color:var(--muted)}.hero{height:455px;min-height:0;border-bottom:1px solid #ffffff04}.hero-content{padding-top:37px;max-width:650px;width:56%}.hero-original{margin-top:25px;font-size:10px}.hero h1{font-size:55px;margin-bottom:17px}.hero-description{font-size:12px;line-height:1.85;margin-top:19px;margin-bottom:23px;max-width:420px}.hero-bottom{bottom:15px}.hero-art{object-position:65% 35%}.hero-source{font-size:9px}.hero[data-anime="frieren"] .hero-art{object-position:65% 35%}.hero-buttons .button{min-height:44px}.welcome-row{padding:30px 0 25px;margin-bottom:28px}.welcome-row h2{font-size:25px}.welcome-row .tiny-label{font-size:8px}.welcome-row p{font-size:11px}.portal-section{margin:0 0 33px}.portal-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:21px}.portal-heading h2,.portal-heading h1{font-size:25px;line-height:1.3;letter-spacing:-.8px;margin:0}.portal-heading p{font-size:10px;color:var(--muted);line-height:1.8;margin:7px 0 0}.row-actions{display:flex;gap:7px;align-items:center}.row-actions>a,.section-more{font-size:10px;color:var(--muted);margin-right:15px;min-height:35px;display:flex;align-items:center}.row-actions>button{height:29px;width:29px;border:1px solid var(--line);border-radius:6px;display:grid;place-items:center;color:var(--muted);font-size:18px}.poster-strip{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 100px)/6);gap:20px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;padding:3px 1px 7px}.poster-strip::-webkit-scrollbar{display:none}.poster-strip .anime-card{scroll-snap-align:start}.card-cover{aspect-ratio:.7;border-radius:9px}.card-title{font-size:11px;min-height:36px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-title-row{margin-top:10px}.card-meta{font-size:9px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cover-badge{font-size:7px;letter-spacing:.3px;padding:5px 7px;top:9px;left:9px}.card-caption{font-size:8px;left:10px;right:10px;bottom:10px}.card-caption .card-year{font-size:8px;display:none}.card-save{width:28px;height:34px;align-items:start;padding-top:4px}.card-save svg{height:15px;width:15px}.card-personal{font-size:8px;display:flex;align-items:center;justify-content:space-between;min-height:18px;color:var(--accent);margin-top:4px;gap:5px}.card-personal b{font-size:10px;font-weight:700;color:#e8c97b}.card-personal small{font-size:7px;font-weight:400;color:var(--muted)}.catalog-breadcrumb{font-size:8px;color:var(--muted);letter-spacing:1px;padding-top:30px;margin-bottom:23px}.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 215px;gap:30px;align-items:start}.catalog-main{min-width:0}.catalog-layout .anime-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:26px 17px}.advanced-panel{position:sticky;top:30px;padding:22px 18px;border:1px solid var(--line);border-radius:10px;background:#17191b}.advanced-panel h3{font-size:12px;font-weight:700;margin:0;display:flex;align-items:center;justify-content:space-between;gap:9px}.advanced-panel h3 span{color:var(--accent);font-size:21px}.advanced-panel>p{font-size:9px;color:var(--muted);line-height:1.8;margin:8px 0 23px}.advanced-panel label{display:flex;flex-direction:column;gap:8px;font-size:10px;color:var(--muted);margin-bottom:19px}.advanced-panel select{height:39px;border:1px solid #33363a;border-radius:6px;background:#202326;color:var(--ink);padding:0 8px;font-size:10px;width:100%;min-width:0}.advanced-panel .button{font-size:9px;padding:0 10px;min-height:36px}.filter-foot{font-size:9px;color:#73777c;line-height:1.9;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.filter-row{gap:6px;margin-bottom:18px}.filter{padding:0 12px;font-size:9px;min-height:34px}.catalog-toolbar{margin-bottom:16px}.search-field{max-width:none;height:43px}.search-field input{font-size:11px}.sort-field select{height:43px;font-size:10px;padding-left:12px;max-width:160px}.catalog-section .section-heading :is(h1,h2){font-size:29px}.catalog-section .section-heading p{font-size:10px}.catalog-section .section-heading{margin-bottom:23px}.play-filter{margin-left:0}.mobile-filters{display:none}.list-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;margin:0 0 20px;padding-bottom:5px}.list-tabs .filter{display:flex;gap:8px;align-items:center;min-height:35px}.list-tabs small{font-size:8px;color:var(--muted)}.list-tabs .filter.active{background:#ff725b1d;border-color:#ff725b70;color:var(--accent)}.list-tabs .filter.active small{color:var(--accent)}#portalPages{padding-top:35px}#portalPages>.portal-heading h2,#portalPages>.portal-heading h1{font-size:31px}#portalPages>.portal-heading p{font-size:11px}.mood-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.collection-tile{min-height:185px;border:1px solid #6f454a66;position:relative;border-radius:10px;overflow:hidden;background:linear-gradient(135deg,#603a3e,#292025);color:#fff}.collection-tile.mint{background:linear-gradient(135deg,#2d4d43,#1c2b29);border-color:#38594a}.collection-tile.peach{background:linear-gradient(135deg,#775543,#2d2421);border-color:#6b4e41}.collection-tile.blue{background:linear-gradient(135deg,#2a455d,#1b252e);border-color:#32475c}.collection-tile>button:first-child{display:flex;flex-direction:column;justify-content:end;text-align:left;width:100%;height:100%;min-height:185px;padding:23px;position:relative;color:#fff}.collection-art{position:absolute;top:6px;right:15px;font-size:75px;color:#ffffff15;line-height:1;font-weight:400}.collection-tile .tiny-label{font-size:7px;color:#c7b7bb;letter-spacing:1.2px}.collection-tile h3{font-size:20px;letter-spacing:-.5px;line-height:1.4;margin:9px 0 6px;position:relative;max-width:180px}.collection-tile p{font-size:9px;color:#d1c4c5;line-height:1.8;margin:0;position:relative}.collection-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:8px;color:#c7babe;margin-top:21px;width:100%}.collection-bottom b{font-size:17px;font-weight:400}.collection-remove{position:absolute;top:8px;right:9px;width:29px;height:29px;border:1px solid #ffffff22;border-radius:5px;font-size:20px;color:#fffc;background:#0003;z-index:1}.collection-submit{margin-top:23px}.personal-collection-heading{display:flex;justify-content:space-between;align-items:center;margin:36px 0 20px}.personal-collection-heading h3{margin:0;font-size:22px;letter-spacing:-.6px}.personal-collection-heading h3 span{margin-left:8px;font-size:12px;color:var(--muted)}.personal-collection-heading small{font-size:9px;color:var(--muted)}.portal-empty{padding:44px 20px;text-align:center;border:1px dashed var(--line);border-radius:11px;background:#17191b}.portal-empty>span{font-size:40px;line-height:1;color:var(--accent)}.portal-empty h3{font-size:21px;letter-spacing:-.6px;margin:16px 0 11px}.portal-empty p{font-size:11px;color:var(--muted);max-width:400px;margin:0 auto 20px;line-height:1.9}.plan-form{display:flex;gap:15px;align-items:end;padding:23px;border:1px solid var(--line);border-radius:11px;background:#181a1d;margin-bottom:25px}.plan-form label{display:flex;flex-direction:column;gap:10px;flex:1;font-size:10px;color:var(--muted);min-width:0}.plan-form label:first-child{flex:2}.plan-form select,.plan-form input,.title-plan select,.title-plan input,.add-to-collection select,.personal-controls select{width:100%;height:40px;border:1px solid #383a3f;border-radius:6px;background:#24262a;color:var(--ink);font-size:10px;padding:0 10px;min-width:0}.plan-form .button{min-height:40px;font-size:10px;padding:0 15px}.week-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-bottom:25px}.day-tab{padding:18px 8px 15px;border:1px solid var(--line);border-radius:9px;background:#181a1d;display:flex;flex-direction:column;gap:7px;align-items:center;font-size:10px;position:relative}.day-tab b{font-size:17px;font-weight:700}.day-tab span{font-size:9px;color:var(--muted)}.day-tab small{font-size:8px;color:#74787f}.day-tab.active{border-color:#ff725b77;background:#ff725b10}.day-tab.active b{color:var(--accent)}.day-tab.today:before{width:4px;height:4px;border-radius:50%;background:var(--accent);content:'';position:absolute;top:12px;right:12px}.day-heading{display:flex;gap:10px;align-items:center;font-size:18px;letter-spacing:-.3px;margin:0 0 18px;font-weight:700}.day-heading span{margin-left:auto;font-size:10px;color:var(--muted);font-weight:400}.plan-items{display:flex;flex-direction:column;gap:12px}.plan-item{display:flex;align-items:center;gap:20px;border:1px solid var(--line);background:#181a1d;border-radius:10px;padding:13px 18px}.plan-item time{font-size:21px;font-weight:700;min-width:60px;letter-spacing:-.7px}.plan-item img{width:47px;height:64px;object-fit:cover;border-radius:5px}.plan-item>div{flex:1;min-width:0}.plan-item>div button{font-size:12px;font-weight:700;text-align:left;line-height:1.6;padding:0}.plan-item p{font-size:9px;color:var(--muted);margin:7px 0 0;line-height:1.8}.remove-plan{font-size:22px;min-width:32px;min-height:36px;color:var(--muted)}.privacy-note{font-size:9px;color:var(--muted);line-height:1.9;margin:22px 0 0}.title-hero{display:grid;grid-template-columns:105px minmax(0,1fr);gap:25px;padding:25px;background:#1b1d20;border-bottom:1px solid var(--line)}.title-hero>img{width:100%;aspect-ratio:.7;border-radius:7px;object-fit:cover}.title-summary .watch-title-row{align-items:start}.title-summary .watch-title-row h2{font-size:26px;line-height:1.25;margin:7px 0 0}.title-summary .tiny-label{font-size:8px}.title-summary>p{font-size:11px;line-height:1.85;color:#a7abb1;max-width:760px;margin:12px 0 13px}.title-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:17px}.title-tags span{border:1px solid #34373c;padding:4px 7px;font-size:8px;border-radius:4px;color:#aaaeb5}.personal-controls{display:flex;gap:15px;align-items:end;flex-wrap:wrap}.personal-controls label{display:flex;flex-direction:column;font-size:9px;color:var(--muted);gap:7px}.personal-controls select{min-width:125px;height:34px;font-size:10px;padding-left:9px}.personal-controls label:nth-child(2) select{min-width:100px}.title-link{font-size:9px;padding:7px 0;min-height:34px;color:var(--accent);margin-left:auto}.episode-mark{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px}.episode-mark button{border:1px solid var(--line);padding:9px 10px;min-height:34px;border-radius:6px;font-size:10px;color:var(--muted)}.episode-mark button[aria-pressed=true]{color:#a1d6bf;border-color:#6f9b8666;background:#86bd9e09}.episode-mark span{font-size:9px;color:var(--muted);text-align:right}.episode.watched{border-color:#649d8166}.episode.watched:after{content:' ✓';color:#9ed1b8}.personal-notes{margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}.personal-notes h3{font-size:15px;margin:0 0 8px}.personal-notes>p{font-size:9px;color:var(--muted);margin:0}.personal-notes textarea{width:100%;min-height:110px;resize:vertical;margin:17px 0 10px;border:1px solid #3b3e43;background:#1e2024;border-radius:7px;color:var(--ink);padding:13px;font-size:11px;line-height:1.8}.personal-notes>div{display:flex;align-items:center;justify-content:space-between;gap:15px}.personal-notes>div>span{font-size:9px;color:var(--muted)}.personal-notes .button{font-size:10px;min-height:36px;padding:0 13px}.add-to-collection,.title-plan{margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.add-to-collection h3,.title-plan h3{font-size:12px;margin:0 0 13px}.add-to-collection .button,.title-plan .button{font-size:9px;min-height:34px;margin-top:10px;padding:0 7px}.add-to-collection select{font-size:9px;height:35px}.add-to-collection a{font-size:9px;color:var(--accent);min-height:35px;display:flex;align-items:center;margin-top:5px}.title-plan label{display:flex;flex-direction:column;gap:7px;font-size:9px;color:var(--muted);margin-top:13px}.title-plan select,.title-plan input{font-size:9px;height:34px}.quick-search{width:570px;max-width:calc(100% - 28px);margin-top:13vh;border-radius:11px}.quick-input{display:flex;align-items:center;gap:13px;padding:18px 20px;border-bottom:1px solid var(--line)}.quick-input>svg{height:20px;width:20px;color:var(--muted)}.quick-input input{font-size:13px;background:none;color:var(--ink);outline:none;border:0;flex:1;min-width:0;height:29px}.quick-input>button{font-size:8px;border:1px solid var(--line);border-radius:4px;padding:6px;color:var(--muted)}.quick-caption{padding:16px 21px 7px;font-size:9px;color:var(--muted)}.quick-result{display:flex;gap:13px;align-items:center;width:100%;text-align:left;padding:11px 21px;border-bottom:1px solid var(--line)}.quick-result:hover{background:#ffffff05}.quick-result img{width:34px;height:47px;object-fit:cover;border-radius:4px}.quick-result>span{flex:1;min-width:0}.quick-result strong{display:block;font-size:11px;font-weight:600;line-height:1.7}.quick-result small{font-size:9px;color:var(--muted);display:block;margin-top:3px;line-height:1.7}.quick-result b{font-size:16px;color:var(--accent);font-weight:400}.quick-empty{padding:20px;color:var(--muted);font-size:12px}.portal-privacy{font-size:10px!important;line-height:1.9}.footer-jp{font-family:Manrope,Arial,sans-serif;font-size:8px;letter-spacing:1px}.personal-controls select:focus-visible,.advanced-panel select:focus-visible,.plan-form input:focus-visible,.plan-form select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}:root[data-theme=light]{--bg:#f6f5f3;--panel:#fff;--ink:#292b30;--muted:#7e8187;--line:#dddee0;color-scheme:light}.header,body{background:var(--bg)}:root[data-theme=light] .hero{color:#f3f1ed}:root[data-theme=light] .hero-shade{background:linear-gradient(90deg,#101112f0,#101112ba 25%,#10111240 60%,transparent),linear-gradient(0deg,#10111288,transparent 50%)}:root[data-theme=light] .header nav .nav-link.active{color:#282a30}:root[data-theme=light] .nav-link{color:#777a80}:root[data-theme=light] .advanced-panel,:root[data-theme=light] .plan-form,:root[data-theme=light] .day-tab,:root[data-theme=light] .plan-item,:root[data-theme=light] .portal-empty,:root[data-theme=light] .search-field,:root[data-theme=light] .sort-field select,:root[data-theme=light] .history-item{background:#fff}:root[data-theme=light] .filter{color:#72757b;background:#fff}:root[data-theme=light] .filter.active{color:#fff;background:#d8604d;border-color:#d8604d}:root[data-theme=light] .advanced-panel select,:root[data-theme=light] .plan-form input,:root[data-theme=light] .plan-form select{background:#f3f3f5;color:#25282f;border-color:#dcdee2}:root[data-theme=light] .card-title{color:#2b2c32}:root[data-theme=light] .secondary{border-color:#d4d5d8;background:#eee;color:#282b30}:root[data-theme=light] .watch-dialog,:root[data-theme=light] .small-dialog,:root[data-theme=light] .quick-search{--ink:#f3f1ed;--muted:#9b9da4;--line:#33353a;color:#f3f1ed;background:#17191d}:root[data-theme=light] .title-summary h2{color:#f3f1ed}:root[data-theme=light] .title-summary .secondary{background:#26292d;color:white;border-color:#3b3f44}
@media(min-width:1600px){.hero{height:490px}.hero-content{padding-top:48px}.hero h1{font-size:60px}.catalog-layout .anime-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1150px){.header{gap:27px}.header nav{gap:20px;font-size:10px}.header-actions{gap:12px}.header .brand{font-size:32px}.header .brand-icon{width:30px;height:30px}.hero{height:455px}.hero h1{font-size:47px}.hero-content{padding-top:34px;width:61%}.poster-strip{grid-auto-columns:calc((100% - 80px)/5)}.catalog-layout{gap:23px;grid-template-columns:minmax(0,1fr) 195px}.catalog-layout .anime-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:25px 15px}.mood-grid{gap:14px}.collection-tile>button:first-child{padding:19px;min-height:181px}.collection-tile h3{font-size:18px}.title-summary .watch-title-row h2{font-size:24px}.title-summary>p{font-size:10px}}
@media(max-width:900px){.header{gap:23px;height:78px}.header nav{gap:17px;font-size:10px}.header-actions{gap:9px}.own-button{font-size:0}.own-button span{font-size:20px}.header .brand{font-size:30px}.header .brand-icon{width:28px;height:28px;font-size:20px}.hero h1{font-size:43px}.hero{height:455px}.hero-content{width:65%}.hero-description{max-width:355px;font-size:11px}.hero-original{margin-top:25px}.poster-strip{grid-auto-columns:calc((100% - 60px)/4)}.catalog-layout .anime-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 14px}.catalog-layout{grid-template-columns:minmax(0,1fr) 175px;gap:20px}.advanced-panel{padding:18px 13px}.advanced-panel h3{font-size:11px}.mood-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-tile>button:first-child{min-height:178px;padding:21px}.collection-tile h3{font-size:21px}.title-hero{padding:22px;gap:20px;grid-template-columns:90px minmax(0,1fr)}.personal-controls{gap:12px}.title-link{margin-left:0}.plan-form{gap:12px;padding:21px}.week-tabs{gap:7px}.day-tab span{font-size:8px}.day-tab{padding-left:3px;padding-right:3px}.plan-form .button{font-size:9px;padding:0 10px}.plan-form label:first-child{flex:1.5}.portal-heading h2,.portal-heading h1{font-size:23px}.catalog-section .section-heading :is(h1,h2){font-size:26px}.portal-heading p{font-size:9px}.row-actions>a{font-size:9px;margin-right:8px}}
@media(max-width:800px){.watch-side{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-left:0;padding:0;margin-top:25px}.watch-side>.tiny-label,#watchRecommendations{display:none}.add-to-collection,.title-plan{margin:0;padding-top:20px}.add-to-collection h3,.title-plan h3{font-size:12px}.add-to-collection select{height:35px}.title-plan label{font-size:9px}.title-hero{grid-template-columns:86px minmax(0,1fr);gap:18px}.title-summary .watch-title-row h2{font-size:23px}.personal-controls select{font-size:9px;min-width:130px}.personal-controls label:nth-child(2) select{min-width:100px}.title-summary .save-watch{height:33px;width:33px}.header .avatar{display:none}}
@media(max-width:700px){.header{height:113px;flex-wrap:wrap;align-content:flex-start;padding:17px 20px 0;gap:0;justify-content:space-between}.header .brand{font-size:31px;line-height:32px}.header nav{order:3;flex-basis:100%;max-width:100%;overflow-x:auto;height:47px;gap:24px;align-items:center;font-size:10px;margin-top:15px;scrollbar-width:none}.header nav .nav-link{flex-shrink:0}.header-actions{height:32px;gap:12px}.header .avatar{display:grid}.theme-switch{font-size:21px;min-width:25px}.hero{height:485px}.hero-content{padding-top:33px;width:75%}.hero h1{font-size:44px}.hero-original{margin-top:25px}.hero-description{font-size:11px;max-width:330px}.hero-shade{background:linear-gradient(90deg,#101112fa,#101112c0 35%,#10111230),linear-gradient(0deg,#101112,transparent 50%)}.catalog-layout{display:flex;flex-direction:column-reverse;gap:20px}.catalog-main{width:100%}.advanced-panel{display:none;position:static;width:100%;padding:20px}.advanced-panel.expanded{display:grid;grid-template-columns:1fr 1fr;gap:10px 17px}.advanced-panel h3{grid-column:1/-1;font-size:13px}.advanced-panel>p{grid-column:1/-1;margin:0 0 8px}.advanced-panel label{margin-bottom:7px}.advanced-panel .button{align-self:end;min-height:39px}.filter-foot{display:none}.mobile-filters{display:inline-block;min-height:43px;font-size:10px}.catalog-toolbar{gap:8px}.sort-field select{max-width:137px;padding-left:8px;padding-right:5px;font-size:9px}.poster-strip{grid-auto-columns:calc((100% - 36px)/3);gap:18px}.portal-heading h2,.portal-heading h1{font-size:22px}.row-actions>button{width:27px;height:27px}.page-content{padding:0 20px}.catalog-breadcrumb{padding-top:27px;font-size:8px;margin-bottom:20px}.catalog-layout .anime-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 14px}.plan-form{flex-wrap:wrap;gap:13px}.plan-form label{flex-basis:35%}.plan-form label:first-child{flex-basis:100%}.plan-form .button{width:100%;min-height:39px;font-size:10px}.week-tabs{display:flex;overflow-x:auto;scrollbar-width:none;padding-bottom:5px}.day-tab{min-width:76px;flex:1;padding:15px 7px}.day-tab b{font-size:16px}.day-tab span{font-size:8px}.plan-item{padding:13px 15px;gap:15px}.plan-item time{font-size:19px;min-width:54px}.plan-item>div button{font-size:11px}.portal-empty h3{font-size:20px}.portal-empty p{font-size:10px}.personal-controls label{font-size:8px}.personal-controls select{min-width:120px}.personal-controls{gap:10px}.title-tags{margin-bottom:14px}.welcome-row{padding:26px 0 24px;margin-bottom:27px}.welcome-row h2{font-size:24px}.welcome-row .text-button{font-size:9px;gap:10px}.hero[data-anime="frieren"] .hero-art{object-position:65% 30%}}
@media(max-width:580px){.hero{height:560px}.hero-art{height:330px;object-position:60% 20%}.hero-shade{background:linear-gradient(0deg,#101112 0%,#101112 10%,#101112fa 27%,#101112db 46%,#10111222 85%),linear-gradient(90deg,#10111265,transparent)}.hero-content{width:auto;padding:27px 20px 66px;margin:0}.hero .eyebrow{top:-40px;font-size:8px}.hero-original{margin-top:0;margin-bottom:10px;font-size:9px}.hero h1{font-size:39px;margin-bottom:16px;line-height:1.1}.hero-meta{font-size:10px}.hero-description{max-width:100%;font-size:11px;line-height:1.85;margin:17px 0 20px}.hero-buttons .button{min-height:44px;font-size:11px}.hero-source{font-size:8px}.welcome-row h2{font-size:23px}.welcome-row{gap:12px}.welcome-row .text-button{font-size:8px;margin-top:10px;gap:6px}.portal-heading{gap:10px;margin-bottom:17px}.portal-heading h2,.portal-heading h1{font-size:21px}.portal-heading p{font-size:9px;max-width:235px;line-height:1.75}.row-actions>button{display:none}.row-actions>a{font-size:8px;margin:0;white-space:nowrap}.section-more{font-size:8px;margin:0;white-space:nowrap}.portal-section{margin-bottom:26px}.poster-strip{grid-auto-columns:calc((100% - 26px)/2.5);gap:13px;margin-right:-20px;padding-right:20px}.card-cover{aspect-ratio:.7}.card-title{font-size:10px;min-height:34px;line-height:1.6}.card-title-row{margin-top:9px}.card-meta{font-size:8px;margin-top:4px}.card-personal{font-size:7px;min-height:16px}.card-personal b{font-size:9px}.cover-badge{font-size:6px;padding:4px 5px;top:7px;left:7px}.card-caption{font-size:7px;left:8px;right:7px;bottom:9px}.card-save{width:27px;min-height:34px;padding-top:3px}.card-save svg{width:14px;height:14px}.catalog-layout .anime-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 13px}.catalog-layout .card-title{font-size:11px}.catalog-layout .cover-badge{font-size:7px}.catalog-layout .card-caption{font-size:8px}.catalog-section .section-heading :is(h1,h2){font-size:24px}.catalog-section .section-heading p{font-size:9px;max-width:240px}.catalog-toolbar{flex-wrap:wrap}.catalog-toolbar>.search-field{flex-basis:100%}.catalog-toolbar .sort-field{margin-left:0;max-width:none;flex:1}.sort-field select{max-width:none;width:100%;padding-left:12px;height:39px;font-size:10px}.mobile-filters{min-height:39px;min-width:93px;font-size:10px}.filter-row{gap:6px;margin-bottom:17px}.filter{font-size:9px;min-height:34px}.list-tabs{gap:6px;margin-right:-20px;padding-right:20px;margin-bottom:15px}.list-tabs .filter{font-size:9px;gap:6px}.list-tabs small{font-size:7px}.mood-grid{gap:12px}.collection-tile{min-height:170px}.collection-tile>button:first-child{padding:18px;min-height:170px}.collection-tile h3{font-size:18px;line-height:1.4;margin:9px 0 7px;max-width:135px}.collection-tile .tiny-label{font-size:6px;letter-spacing:1px}.collection-tile p{font-size:8px;line-height:1.8}.collection-bottom{font-size:7px;margin-top:17px;gap:7px}.collection-bottom b{font-size:15px}.collection-art{font-size:65px;right:10px;top:8px}.collection-remove{width:25px;height:25px;font-size:18px;right:7px;top:7px}#portalPages{padding-top:27px}#portalPages>.portal-heading h2,#portalPages>.portal-heading h1{font-size:28px}#portalPages>.portal-heading p{font-size:10px;max-width:230px}#portalPages>.portal-heading .button{min-height:36px;font-size:9px;padding:0 10px;white-space:nowrap}.collections-full{gap:13px}.collections-full .collection-tile{min-height:180px}.collections-full .collection-tile>button:first-child{min-height:180px}.personal-collection-heading{margin:30px 0 18px}.personal-collection-heading h3{font-size:21px}.personal-collection-heading h3 span{font-size:11px}.personal-collection-heading small{font-size:8px}.portal-empty{padding:34px 18px}.portal-empty h3{font-size:18px;line-height:1.6}.portal-empty>span{font-size:36px}.portal-empty p{font-size:10px;line-height:1.9}.portal-empty .button{font-size:10px;min-height:39px}.plan-form{padding:18px;gap:14px}.plan-form label{font-size:9px}.plan-form select,.plan-form input{font-size:10px;height:39px}.plan-form .button{font-size:10px;min-height:39px}.week-tabs{margin-right:-20px;padding-right:20px;gap:7px}.day-tab{min-width:71px;padding:14px 5px}.day-tab b{font-size:16px}.day-tab span{font-size:7px}.day-tab small{font-size:7px}.day-heading{font-size:17px}.day-heading span{font-size:9px}.plan-item{gap:12px;padding:12px}.plan-item time{font-size:17px;min-width:46px}.plan-item img{width:37px;height:52px}.plan-item>div button{font-size:10px;line-height:1.7}.plan-item p{font-size:8px;margin-top:5px}.remove-plan{min-width:25px;min-height:33px;font-size:21px}.privacy-note{font-size:8px;line-height:1.9}.title-hero{padding:20px 18px;grid-template-columns:68px minmax(0,1fr);gap:15px}.title-summary .watch-title-row h2{font-size:21px;line-height:1.3}.title-summary .tiny-label{font-size:7px;line-height:1.7}.title-summary>p{display:none}.title-summary .watch-title-row{gap:10px}.title-summary .save-watch{height:29px;width:29px}.title-summary .save-watch svg{height:14px;width:14px}.title-tags{gap:4px;margin:12px 0}.title-tags span{font-size:7px;padding:4px 6px}.personal-controls{gap:10px}.personal-controls label{font-size:7px;gap:5px}.personal-controls select{font-size:9px;height:32px;min-width:0;width:120px;padding:0 7px}.personal-controls label:nth-child(2) select{width:90px;min-width:0}.title-link{font-size:8px;min-height:26px;padding:0}.watch-body{padding:20px 18px}.watch-side{grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.add-to-collection h3,.title-plan h3{font-size:11px;line-height:1.6}.add-to-collection select{font-size:8px;padding:0 7px;max-width:100%}.add-to-collection .button,.title-plan .button{font-size:8px;min-height:33px;padding:0 5px;white-space:normal;line-height:1.7}.add-to-collection a{font-size:8px;line-height:1.8}.title-plan label{font-size:8px}.title-plan select,.title-plan input{height:34px;font-size:8px;padding:0 6px;max-width:100%}.episode-mark{gap:8px;margin-top:13px}.episode-mark button{font-size:8px;padding:8px;min-height:32px}.episode-mark span{font-size:8px}.personal-notes{margin-top:24px;padding-top:19px}.personal-notes h3{font-size:14px}.personal-notes>p{font-size:8px}.personal-notes textarea{font-size:10px;padding:11px;min-height:100px;line-height:1.85}.personal-notes .button{font-size:9px;min-height:34px;padding:0 11px}.personal-notes>div>span{font-size:8px}.quick-search{margin-top:65px;max-height:calc(100dvh - 90px)}.quick-input{padding:16px;gap:9px}.quick-input input{font-size:12px}.quick-input>svg{height:17px;width:17px}.quick-caption{font-size:8px;padding:15px 17px 5px}.quick-result{padding:11px 17px;gap:12px}.quick-result img{height:46px;width:32px}.quick-result strong{font-size:10px}.quick-result small{font-size:8px}.quick-result b{font-size:14px}.footer-jp{display:none}.catalog-breadcrumb{font-size:7px;letter-spacing:1px}.advanced-panel.expanded{padding:18px;gap:10px 14px}.advanced-panel h3{font-size:12px}.advanced-panel>p{font-size:9px}.advanced-panel label{font-size:9px}.advanced-panel select{font-size:9px}.advanced-panel .button{font-size:9px}.collection-submit{margin-top:22px}:root[data-theme=light] .hero-shade{background:linear-gradient(0deg,#101112 0%,#101112 10%,#101112fa 27%,#101112db 46%,#10111222 85%),linear-gradient(90deg,#10111265,transparent)}}

.personal-top-link{display:flex;align-items:center;color:var(--accent)}.title-hero.custom-title{display:block}.title-hero.custom-title .title-summary>p{display:block}

@media(max-width:580px){.header nav{gap:15px;font-size:9px}.welcome-row{flex-wrap:nowrap;align-items:center;gap:12px}.welcome-row>div{min-width:0;flex:1}.welcome-row h2{font-size:21px;white-space:nowrap;letter-spacing:-.8px}.welcome-row .text-button{margin-top:10px;white-space:nowrap;flex-shrink:0;font-size:8px}.welcome-row .tiny-label{font-size:7px;letter-spacing:1.1px}}

/* Personal collection actions: one aligned control row with room for the title. */
.collection-tile.custom-designed{min-width:0}
#portalPages .collection-tile .collection-actions{position:absolute;top:6px;right:8px;z-index:4;display:flex;align-items:center;gap:6px}
#portalPages .collection-tile .collection-actions button{position:static;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;height:30px;padding:0 10px;border:1px solid #ffffff40;border-radius:8px;background:#101113e8;color:#fff;font-size:11px;font-weight:650;line-height:1;white-space:nowrap;backdrop-filter:blur(10px)}#portalPages .collection-tile .collection-actions .leyvu-icon{width:15px;height:15px;flex:0 0 auto}
#portalPages .collection-tile .collection-actions .collection-publish{min-height:30px;height:30px;padding:0 11px;border-color:var(--accent);background:var(--accent);color:#151515;box-shadow:0 4px 14px #0004}
#portalPages .collection-tile .collection-actions .collection-edit{right:auto;top:auto}
#portalPages .collection-tile .collection-actions .collection-remove{width:30px;min-width:30px;padding:0;background:#101113cc}
#portalPages .collection-tile .collection-actions button:hover{transform:translateY(-1px);border-color:var(--accent)}
.collection-tile.custom-designed>button:first-child h3,.collection-tile.custom-designed>button:first-child p,.collection-tile.custom-designed>button:first-child .tiny-label,.collection-tile.custom-designed>button:first-child .collection-bottom{max-width:min(56%,290px)}
#portalPages .collection-tile.custom-designed>button:first-child .tiny-label{position:absolute;top:57px;left:23px;z-index:2;margin:0}
@media(max-width:560px){#portalPages .collection-tile .collection-actions{top:6px;right:6px;gap:5px}#portalPages .collection-tile .collection-actions button{min-height:30px;height:30px;padding:0 8px;font-size:10px}#portalPages .collection-tile .collection-actions .collection-publish{min-height:30px;height:30px;padding:0 9px}#portalPages .collection-tile .collection-actions .collection-remove{width:30px;min-width:30px}.collection-tile.custom-designed>button:first-child h3,.collection-tile.custom-designed>button:first-child p,.collection-tile.custom-designed>button:first-child .tiny-label,.collection-tile.custom-designed>button:first-child .collection-bottom{max-width:68%}}


/* Collection covers use the same portrait rhythm as anime cards. */
#portalPages .mood-grid{grid-template-columns:repeat(auto-fill,minmax(200px,290px));justify-content:start;align-items:stretch;gap:18px}
#portalPages .collection-tile{aspect-ratio:7/10;min-height:0;height:auto;isolation:isolate;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
#portalPages .collection-tile:hover{transform:translateY(-3px);border-color:#ffffff55;box-shadow:0 16px 38px #0006}
#portalPages .collection-tile>button:first-child{z-index:2;display:flex;box-sizing:border-box;width:100%;height:100%;min-height:0;padding:18px;justify-content:flex-end;background:transparent;color:#fff}
#portalPages .collection-tile::after{content:"";position:absolute;inset:35% 0 0;z-index:1;pointer-events:none;background:linear-gradient(180deg,transparent 0%,#08090bd9 70%,#08090bf2 100%)}
#portalPages .collection-tile .collection-art{z-index:0;top:45px;right:12px;font-size:74px}
#portalPages .collection-tile .tiny-label{position:static;max-width:100%;font-size:8px;letter-spacing:1.1px}
#portalPages .collection-tile h3{max-width:100%;margin:8px 0 5px;font-size:18px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#portalPages .collection-tile p{max-width:100%;font-size:10px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
#portalPages .collection-bottom{max-width:100%;margin-top:12px;font-size:9px}
#portalPages .collection-tile .collection-actions{top:10px;right:10px;gap:7px}
#portalPages .collection-tile .collection-actions button{box-sizing:border-box;width:34px;min-width:34px;height:34px;min-height:34px;padding:0;border:1px solid #ffffff42;border-radius:10px;background:#111318cc;color:#fff;box-shadow:0 5px 14px #0005}
#portalPages .collection-tile .collection-actions .collection-publish{border-color:var(--accent);background:var(--accent);color:#171717}
#portalPages .collection-tile .collection-actions .leyvu-icon{width:16px;height:16px}
#portalPages .collection-tile .collection-actions span{display:none}
#portalPages .collection-tile.custom-designed>button:first-child h3,
#portalPages .collection-tile.custom-designed>button:first-child p,
#portalPages .collection-tile.custom-designed>button:first-child .tiny-label,
#portalPages .collection-tile.custom-designed>button:first-child .collection-bottom{max-width:100%}
#portalPages .collection-tile.custom-designed>button:first-child .tiny-label{position:static;top:auto;left:auto;margin:0}
#portalPages .collection-tile.has-cover-image::after{content:""!important;position:absolute;inset:35% 0 0;z-index:1;background:linear-gradient(180deg,transparent 0%,#08090bd9 70%,#08090bf2 100%)}
#portalPages .collection-tile.has-cover-image>.collection-cover-image{inset:0;width:100%;height:100%;z-index:0;object-fit:cover;object-position:var(--collection-image-position,50% 50%);transform:none;mask-image:none;border-radius:inherit}
#portalPages .library-community-grid>.v31-public-cover{box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;width:100%;max-width:290px;min-width:0;min-height:0;aspect-ratio:7/10;padding:18px;border-radius:12px;overflow:hidden;color:#fff}
#portalPages .library-community-grid>.v31-public-cover::before{background:#090a0db0;z-index:1}
#portalPages .library-community-grid>.v31-public-cover>.collection-cover-image{inset:0;width:100%;height:100%;z-index:0;object-fit:cover;object-position:var(--collection-image-position,50% 50%);transform:none;mask-image:none;border-radius:inherit}
#portalPages .library-community-grid>.v31-public-cover h2,
#portalPages .library-community-grid>.v31-public-cover p,
#portalPages .library-community-grid>.v31-public-cover .v3-byline{position:relative;z-index:2}
#portalPages .library-community-grid>.v31-public-cover h2{margin:0 0 8px;font-size:18px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#portalPages .library-community-grid>.v31-public-cover .v3-body{margin:0 0 10px;max-height:4.6em;font-size:11px;line-height:1.55}
#portalPages .library-community-grid>.v31-public-cover .v3-byline{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:10px}
#portalPages .library-community-grid>.v31-public-cover .v3-byline>span:last-child{flex-basis:100%}
@media(max-width:560px){
 #portalPages .mood-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:13px}
 #portalPages .collection-tile{border-radius:10px}
 #portalPages .collection-tile>button:first-child{padding:13px}
 #portalPages .collection-tile .collection-actions{top:7px;right:7px;gap:5px}
 #portalPages .collection-tile .collection-actions button{width:31px;min-width:31px;height:31px;min-height:31px;border-radius:8px}
 #portalPages .collection-tile .collection-actions .leyvu-icon{width:14px;height:14px}
 #portalPages .collection-tile h3{font-size:15px}
 #portalPages .collection-tile p{font-size:9px}
 #portalPages .collection-tile .collection-art{font-size:58px}
 #portalPages .library-community-grid>.v31-public-cover{padding:13px}
}
/* motion.css */
/* Leaner home screen and motion system. */
.hero-content{padding-top:88px}.hero-original{margin-top:0}.hero-bottom{justify-content:flex-end}.welcome-row{gap:20px;padding:30px 0;margin-bottom:36px}.welcome-row h2{font-size:25px;margin:0;letter-spacing:-.8px}.welcome-row>.text-button{margin-left:auto}.anime-card{animation:none}.card-cover{transition:transform .35s ease,box-shadow .35s ease,border-radius .35s ease}.card-cover:hover{transform:translateY(-5px);box-shadow:0 18px 45px #0007}.card-cover:hover img{transform:scale(1.045)}.nav-link:after{transform:scaleX(0);transform-origin:left;transition:transform .3s ease}.nav-link.active:after{transform:scaleX(1)}.slide:after{transition:background-color .25s ease,transform .25s ease}.slide:hover:after{transform:scaleY(2)}.hero-changing .hero-content{animation:hero-copy-in .55s cubic-bezier(.22,.75,.28,1) both}.hero-changing .hero-art{animation:hero-art-in .65s ease both}.reveal{opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s cubic-bezier(.22,.75,.28,1)}.reveal.is-visible{opacity:1;transform:none}.anime-grid .reveal:nth-child(2n){transition-delay:45ms}.anime-grid .reveal:nth-child(3n){transition-delay:90ms}@keyframes hero-copy-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes hero-art-in{from{opacity:.58;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}
@media(max-width:580px){.header nav{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding-right:16px}.header nav::-webkit-scrollbar{display:none}.hero-content{padding-top:27px}.welcome-row{padding:21px 0 23px}.welcome-row h2{font-size:20px}.welcome-row>.text-button{margin-top:0}.card-cover:hover{transform:none;box-shadow:none}}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}}
.brand{gap:0;letter-spacing:-.055em}.brand .brand-dot{display:block;flex:0 0 .14em;width:.14em;height:.14em;border-radius:50%;background:var(--accent);color:transparent;overflow:hidden;line-height:0;margin-left:.10em;margin-bottom:.12em;align-self:flex-end;letter-spacing:0}
/* release.css */
/* Product pages, using Leyvu's existing palette and typography. */
.header .brand{gap:0}.header{border-bottom:1px solid var(--line)}
.discovery-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 36px}.discovery-bar>a{position:relative;display:flex;flex-direction:column;gap:6px;border:1px solid var(--line);padding:21px 23px;border-radius:12px;background:var(--surface)}.discovery-bar b{font-size:21px;letter-spacing:-.6px}.discovery-bar span{font-size:11px;color:var(--muted)}.discovery-bar i{position:absolute;right:20px;top:22px;color:var(--accent);font-style:normal}.discovery-bar>a:hover{border-color:var(--accent)}
.watch-dialog.title-page[open]{display:block;position:relative;inset:auto;margin:25px 0 0;padding:0;max-width:none;width:100%;height:auto;max-height:none;min-height:0;overflow:visible;border:0;border-radius:0;background:transparent;color:var(--text);box-shadow:none}.title-page .dialog-top{padding:0;height:44px;margin-bottom:24px;border-bottom:1px solid var(--line);padding-bottom:18px}.title-page .small-brand{font-size:23px}.title-page .dialog-kicker{font-size:9px;color:var(--muted);letter-spacing:1.6px}.title-page .close-button{position:static;margin-left:auto;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;font-size:17px}.title-page .title-hero{padding:22px 0 28px;display:grid;grid-template-columns:220px minmax(0,1fr);gap:36px;border:0;align-items:start}.title-page #watchPoster{width:100%;max-width:220px;aspect-ratio:2/3;height:auto;object-fit:cover;border-radius:14px;box-shadow:0 14px 45px #0003}.title-page .title-summary{padding-top:5px}.title-page .title-tagline{font-size:12px;color:var(--accent);margin:0 0 17px;font-weight:700;letter-spacing:.2px}.title-page .watch-title-row h2{font-size:clamp(27px,3.2vw,46px);line-height:1.18;max-width:790px;letter-spacing:-1.4px}.title-page .title-summary .tiny-label{font-size:10px;line-height:1.8;color:var(--muted);letter-spacing:.7px;margin-bottom:12px}.title-page .title-summary>#watchDescription{display:block;font-size:13px;line-height:1.95;max-width:740px;color:var(--muted);margin:21px 0}.title-page .title-tags{margin:22px 0}.title-page .title-tags span{font-size:10px;padding:7px 11px}.title-page .personal-controls{gap:15px;flex-wrap:wrap}.title-page .personal-controls label{font-size:10px}.title-page .personal-controls select{font-size:11px;height:40px;min-width:150px}.title-page .title-link{font-size:11px;padding:0 5px}.title-facts{display:grid;grid-template-columns:.7fr 1fr 1.7fr 1fr;gap:20px;padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:24px}.title-facts>div{display:flex;flex-direction:column;gap:9px;min-width:0}.title-facts span{font-size:10px;color:var(--muted)}.title-facts strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}.title-tabs{display:flex;gap:27px;margin:0 0 30px;border-bottom:1px solid var(--line)}.title-tabs a{font-size:12px;padding:14px 0;color:var(--muted);border-bottom:2px solid transparent}.title-tabs a:hover{color:var(--accent);border-color:var(--accent)}.title-story{max-width:880px;margin-bottom:40px;scroll-margin-top:30px}.title-story h2,.player-heading h2{font-size:25px;letter-spacing:-.7px;margin:9px 0 16px}.title-story>p{font-size:13px;color:var(--muted);line-height:2.05}.season-row{display:flex;align-items:center;gap:18px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:19px 22px;margin-top:25px}.season-icon{font-size:25px;color:var(--accent)}.season-row>div{display:flex;flex:1;flex-direction:column;gap:7px}.season-row strong{font-size:12px}.season-row small{color:var(--muted);font-size:10px;line-height:1.7}.season-row>a{font-size:11px;color:var(--accent);white-space:nowrap}.player-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px;scroll-margin-top:30px}.player-heading h2{margin-bottom:0}.player-heading>span{font-size:10px;color:var(--muted)}.title-page .player-area{border-radius:14px;overflow:hidden;background:#121416;max-height:600px}.title-page .external-screen h3{font-size:clamp(22px,3vw,35px);letter-spacing:-.8px;max-width:600px;line-height:1.25}.title-page .external-screen p{font-size:13px;line-height:1.9;margin:14px 0 22px}.title-page .external-screen>span{font-size:9px;letter-spacing:1.6px}.title-page .external-screen .pending-icon{font-size:43px;line-height:1.2;color:var(--accent);display:block;margin-bottom:18px;letter-spacing:0}.title-page .player-cover{opacity:.2;filter:blur(12px)}.title-page .watch-body{padding:28px 0 0;grid-template-columns:minmax(0,1fr) 280px;gap:45px}.source-explainer{font-size:11px!important;line-height:1.9;color:var(--muted);margin:24px 0}.source-explainer a{color:var(--accent)}.title-page .watch-side{display:block;margin:0;scroll-margin-top:30px}.title-page .watch-side>.tiny-label{display:block;margin-bottom:18px}.title-page .recommendation{padding:12px 0;display:flex}.title-page .watch-side .add-to-collection,.title-page .watch-side .title-plan{margin-top:25px}.title-page .personal-notes textarea{font-size:12px;line-height:1.8}.title-page .source-link{display:inline-block;min-height:32px}.title-page .personal-notes h3{font-size:20px}.title-page #episodeHeading h3{font-size:20px}.title-page .episode{font-size:12px;min-height:70px}.title-page .episode-index{font-size:9px}.title-page .episode-mark button{font-size:11px;min-height:40px}.title-page .episode-mark span{font-size:10px}.title-page .watch-info .player-notice{font-size:11px;line-height:1.9}.title-page .watch-info>.source-explainer{margin:28px 0}
.info-heading{padding:45px 0 35px;max-width:850px}.info-heading>a{font-size:11px;color:var(--muted);display:block;margin-bottom:40px}.info-heading>.tiny-label{color:var(--accent);font-size:9px;letter-spacing:2px}.info-heading h1{font-size:clamp(34px,4.8vw,60px);letter-spacing:-2px;line-height:1.12;margin:17px 0 24px}.info-heading>p{font-size:15px;line-height:1.9;color:var(--muted)}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.info-grid article{border:1px solid var(--line);border-radius:13px;padding:27px;background:var(--surface)}.info-grid article>span{font-size:13px;color:var(--accent)}.info-grid h2{font-size:18px;line-height:1.4;margin:19px 0 14px}.info-grid p,.info-copy p{font-size:13px;color:var(--muted);line-height:2}.info-copy{max-width:830px;padding:26px 0}.info-copy h2{font-size:23px;letter-spacing:-.6px;margin:26px 0 14px}.info-copy .button{margin-top:20px}.info-copy a:not(.button){color:var(--accent)}.contact-card{display:flex;align-items:center;gap:30px;justify-content:space-between;padding:34px;border-radius:15px;background:var(--surface);border:1px solid var(--line);margin:0 0 27px}.contact-card .tiny-label{font-size:9px;letter-spacing:1.5px;color:var(--accent)}.contact-card h2{font-size:clamp(24px,3vw,38px);letter-spacing:-1px;margin:14px 0}.contact-card p{max-width:610px;color:var(--muted);font-size:12px;line-height:1.9}.contact-actions{display:flex;gap:10px;flex-direction:column;flex-shrink:0}.contact-topics h2{margin-top:0}footer nav{display:flex;gap:24px;flex-wrap:wrap}footer nav a,.footer-mail{font-size:11px;color:var(--muted)}footer a:hover{color:var(--accent)}footer .footer-mail{margin-left:auto}footer{border-top:1px solid var(--line)}[hidden]{display:none!important}
@media(max-width:900px){.title-page .title-hero{grid-template-columns:160px minmax(0,1fr);gap:25px}.title-page .watch-body{display:block}.title-page .watch-side{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:35px}.title-page .watch-side>.tiny-label{grid-column:1/-1;margin-bottom:0}.title-page #watchRecommendations{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.title-page .watch-side .add-to-collection,.title-page .watch-side .title-plan{margin-top:0}.info-grid{gap:12px}.info-grid article{padding:20px}.info-grid h2{font-size:16px}.contact-card{align-items:start;flex-direction:column}.contact-actions{flex-direction:row}.discovery-bar>a{padding:18px}.discovery-bar b{font-size:18px}footer .footer-mail{margin-left:0}}
@media(max-width:580px){.header .brand{font-size:32px}.header nav{font-size:10px;gap:17px}.header .avatar{font-size:20px}.discovery-bar{gap:8px;margin-bottom:29px}.discovery-bar>a{padding:13px 11px;gap:6px}.discovery-bar b{font-size:15px;line-height:1.4;letter-spacing:-.4px}.discovery-bar span{font-size:9px;line-height:1.6}.discovery-bar i{display:none}.portal-heading h2,.portal-heading h1{font-size:23px}.portal-heading p{font-size:11px}.poster-strip .card-title{font-size:12px}.poster-strip .card-meta{font-size:10px}.title-page .dialog-top{height:38px;margin-bottom:20px;padding-bottom:12px}.title-page .dialog-kicker{font-size:8px;letter-spacing:1px}.title-page .title-hero{padding:0 0 22px;grid-template-columns:88px minmax(0,1fr);gap:17px}.title-page #watchPoster{border-radius:9px}.title-page .title-summary{padding-top:0}.title-page .title-tagline{font-size:10px;line-height:1.6;margin:0 0 9px}.title-page .title-summary .tiny-label{font-size:8px;line-height:1.7;margin-bottom:8px;letter-spacing:0}.title-page .watch-title-row h2{font-size:24px;line-height:1.23;letter-spacing:-.7px}.title-page .watch-title-row{gap:7px}.title-page .save-watch{width:28px;min-width:28px;height:30px;padding:4px}.title-page .title-summary>#watchDescription{display:none}.title-page .title-tags{gap:5px;margin:15px 0}.title-page .title-tags span{font-size:9px;padding:5px 7px}.title-page .personal-controls{gap:10px;margin-left:-105px;margin-top:22px}.title-page .personal-controls label{font-size:9px;flex:1;min-width:90px}.title-page .personal-controls select{font-size:11px;height:40px;width:100%;min-width:0}.title-page .personal-controls label:nth-child(2) select{width:100%}.title-page .title-link{min-height:40px;font-size:10px}.title-facts{grid-template-columns:1fr 1fr;gap:19px;padding:20px 0;margin-bottom:15px}.title-facts span{font-size:10px}.title-facts strong{font-size:12px;line-height:1.5}.title-tabs{gap:22px;margin-bottom:27px}.title-tabs a{font-size:11px;padding:12px 0}.title-story h2,.player-heading h2{font-size:23px}.title-story>p{font-size:13px;line-height:1.95}.title-story{margin-bottom:30px}.season-row{padding:15px 13px;gap:11px;flex-wrap:wrap}.season-row strong{font-size:12px}.season-row small{font-size:10px}.season-row>a{font-size:10px}.season-icon{font-size:22px}.player-heading{margin-bottom:17px}.player-heading>span{font-size:9px;max-width:110px;text-align:right;line-height:1.8}.title-page .player-area{aspect-ratio:4/3;border-radius:10px;max-height:none}.title-page .external-screen{padding:20px 15px}.title-page .external-screen .pending-icon{font-size:28px;margin-bottom:9px}.title-page .external-screen>span{font-size:8px;letter-spacing:1px}.title-page .external-screen h3{font-size:22px;margin:9px 0 0}.title-page .external-screen p{font-size:11px;line-height:1.75;margin:9px 0 16px}.title-page .external-screen .button{min-height:38px;font-size:10px;padding:0 13px}.title-page .watch-body{padding-top:22px}.title-page .watch-info .player-notice{font-size:11px}.title-page .source-link{font-size:11px;line-height:1.8}.title-page .episode{font-size:11px;min-height:78px}.title-page .episode-mark{flex-wrap:wrap;gap:9px}.title-page .episode-mark button{font-size:10px}.title-page .episode-mark span{font-size:10px}.title-page .personal-notes p,.title-page .personal-notes>div>span{font-size:10px}.title-page .personal-notes textarea{font-size:12px}.title-page .personal-notes .button{font-size:10px;min-height:38px}.title-page .watch-side{display:block;margin-top:30px}.title-page #watchRecommendations{display:grid;grid-template-columns:1fr 1fr;gap:0 14px;margin:15px 0 25px}.title-page .recommendation{gap:9px;align-items:start}.title-page .recommendation img{width:36px;height:53px;flex-shrink:0}.title-page .recommendation strong{font-size:10px;line-height:1.6}.title-page .recommendation small{font-size:9px}.title-page .watch-side .add-to-collection,.title-page .watch-side .title-plan{margin-top:23px}.title-page .add-to-collection h3,.title-page .title-plan h3{font-size:15px}.title-page .add-to-collection select,.title-page .title-plan select,.title-page .title-plan input{font-size:12px;height:42px}.title-page .watch-side .button{font-size:11px;min-height:42px}.title-page .title-plan label{font-size:10px}.title-page .add-to-collection a{font-size:11px}.title-page .source-explainer{font-size:11px!important}.info-heading{padding:26px 0}.info-heading>a{font-size:11px;margin-bottom:28px}.info-heading h1{font-size:37px;letter-spacing:-1.3px;margin:15px 0 19px}.info-heading>p{font-size:13px}.info-grid{grid-template-columns:1fr}.info-grid article{padding:23px}.info-grid h2{font-size:19px;margin-top:12px}.info-grid p,.info-copy p{font-size:13px}.info-copy{padding-top:3px}.info-copy h2{font-size:22px}.contact-card{padding:23px;gap:20px}.contact-card h2{font-size:28px}.contact-card p{font-size:12px}.contact-actions{flex-direction:column;width:100%}.contact-actions .button{font-size:12px;min-height:45px}.contact-topics h2{margin-top:0}footer{gap:23px}footer nav{flex-basis:100%;gap:23px}footer nav a,footer .footer-mail{font-size:11px}footer p{font-size:11px}}

.title-page .title-summary .title-tagline{display:block;color:var(--accent)}
/* aniliberty-player.css */
.stream-controls{margin:0 0 18px;padding:19px 20px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.stream-toolbar{display:flex;gap:16px;align-items:end}.stream-toolbar label{font-size:11px;color:var(--muted);display:flex;flex-direction:column;gap:8px;min-width:0}.stream-toolbar select{background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:7px;height:42px;padding:0 12px;max-width:100%;font:inherit;font-size:12px}.stream-episode-label{flex:1}.stream-navigation{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-top:18px}.stream-navigation span{font-size:10px;color:var(--muted)}.stream-navigation button{font-size:11px;min-height:36px}.stream-navigation button:disabled{opacity:.35;cursor:default}.stream-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;background:linear-gradient(135deg,#1e2428,#131618);color:#f3f0ed}.stream-placeholder h3{font-size:25px;line-height:1.4;max-width:800px;margin:0 0 10px}.stream-placeholder p{font-size:13px;line-height:1.8;max-width:600px;color:#abb1b5;margin:0 0 20px}.stream-placeholder .button{min-height:44px}.stream-message{font-size:12px;line-height:1.8;color:var(--muted);padding:10px 0;margin:0}.stream-message.is-error{color:var(--accent)}.title-page .player-area>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}.stream-controls[hidden],.stream-message[hidden]{display:none!important}@media(max-width:600px){.stream-controls{padding:15px 13px;margin-bottom:13px}.stream-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 10px}.stream-toolbar .stream-episode-label{grid-column:1/-1;grid-row:2}.stream-toolbar label{font-size:10px}.stream-toolbar select{width:100%;height:43px;font-size:12px}.stream-navigation{gap:8px;flex-wrap:wrap;margin-top:10px}.stream-navigation span{order:3;flex-basis:100%;text-align:center;font-size:10px}.stream-navigation button{font-size:10px;min-height:40px}.stream-placeholder{padding:18px}.stream-placeholder h3{font-size:19px}.stream-placeholder p{font-size:11px;line-height:1.7}.stream-placeholder .button{font-size:11px;min-height:42px}.stream-message{font-size:11px}}
/* animego-player.css */
.animego-panel{border:1px solid var(--line);border-radius:12px;padding:16px;margin:16px 0;background:var(--surface)}.animego-panel[hidden],.animego-panel [hidden]{display:none!important}.animego-toolbar{display:flex;gap:14px;flex-wrap:wrap}.animego-toolbar label{display:flex;flex:1;min-width:150px;flex-direction:column;gap:8px;font-size:12px;color:var(--muted)}.animego-toolbar select{width:100%;min-height:44px;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--text);padding:8px;font:inherit}.animego-panel p{font-size:12px;line-height:1.7;margin:12px 0 0;color:var(--muted)}#animegoStatus:empty{display:none}#playerArea>iframe[data-animego]{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}@media(max-width:600px){.animego-toolbar{display:grid;grid-template-columns:1fr}.animego-toolbar label{min-width:0}.animego-panel{padding:13px}}
/* growth.css */
.catalog-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:32px 0 10px}.catalog-pagination[hidden]{display:none}.catalog-pagination span{font-size:12px;color:var(--muted)}.catalog-pagination button{min-height:40px;font-size:12px}.growth-heading{padding:35px 0 28px}.growth-heading h1{font-size:clamp(32px,4vw,50px);letter-spacing:-1.4px;margin:14px 0}.growth-heading p{color:var(--muted);font-size:13px;line-height:1.8}.growth-box{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:26px;margin-bottom:24px;min-width:0}.growth-box h2{font-size:21px;letter-spacing:-.5px;margin:0 0 20px}.growth-box p{font-size:12px;line-height:1.9;color:var(--muted)}.growth-box label{display:flex;flex-direction:column;gap:9px;font-size:11px;color:var(--muted);margin-bottom:18px}.growth-box input:not([type=checkbox]),.growth-box select{min-width:0;width:100%;height:44px;border:1px solid var(--line);background:var(--bg);border-radius:7px;padding:0 12px;color:var(--text);font:inherit;font-size:13px}.growth-box .checkbox-label{flex-direction:row;align-items:center}.growth-box .button{min-height:42px;font-size:12px}.growth-split{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-banner{display:flex;align-items:center;gap:22px;background:linear-gradient(110deg,var(--surface),transparent);border:1px solid var(--line);border-radius:16px;padding:28px}.profile-avatar{width:66px;height:66px;border-radius:20px;background:var(--accent);color:#141414;display:grid;place-items:center;font-size:27px;font-weight:800}.profile-banner h2{font-size:25px;margin:0 0 7px}.profile-banner p{font-size:11px;color:var(--muted);margin:0}.profile-banner .button{margin-left:auto;font-size:12px}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:22px 0 30px}.profile-stats>div{border:1px solid var(--line);border-radius:12px;padding:21px;display:flex;flex-direction:column;gap:8px}.profile-stats b{font-size:30px}.profile-stats span{font-size:11px;color:var(--muted)}.backup-label{margin-top:18px}.follow-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.follow-actions .button{font-size:11px;min-height:38px}.follow-actions[hidden]{display:none}.follow-list{display:flex;flex-wrap:wrap;gap:12px}.follow-list button{padding:10px 13px;border:1px solid var(--line);border-radius:7px;background:var(--bg);font-size:12px}.personal-home{margin:0 0 34px}.resume-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:28px}.resume-card{display:flex;align-items:center;gap:16px;text-align:left;border:1px solid var(--line);background:var(--surface);padding:13px;border-radius:11px;min-width:0}.resume-card img{width:60px;height:80px;object-fit:cover;border-radius:6px}.resume-card>span:not(.resume-play){display:flex;flex:1;min-width:0;flex-direction:column;gap:8px}.resume-card small{font-size:8px;letter-spacing:1px;color:var(--accent)}.resume-card strong{font-size:13px;line-height:1.5}.resume-card em{font-size:10px;font-style:normal;color:var(--muted)}.resume-card i{height:3px;background:var(--line);border-radius:3px;overflow:hidden}.resume-card i b{height:100%;background:var(--accent);display:block}.resume-play{color:var(--accent);padding-right:10px}.personal-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:18px}.personal-shortcuts a{display:grid;grid-template-columns:40px 1fr;gap:7px 12px;border:1px solid var(--line);border-radius:12px;padding:22px;background:var(--surface)}.personal-shortcuts a>span{grid-row:1/3;font-size:27px;color:var(--accent)}.personal-shortcuts strong{font-size:14px}.personal-shortcuts small{font-size:11px;color:var(--muted)}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin:5px 0 23px}.calendar-toolbar>div{display:flex;align-items:center;gap:14px}.calendar-toolbar strong{font-size:14px;min-width:140px;text-align:center}.segmented{border:1px solid var(--line);padding:4px;border-radius:9px}.segmented button{font-size:12px;padding:10px 17px;border-radius:6px}.segmented button[aria-pressed=true]{background:var(--accent);color:#111}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.calendar-day{display:flex;flex-direction:column;align-items:center;gap:11px;padding:17px 7px;background:var(--surface);border:1px solid var(--line);border-radius:10px;min-width:0}.calendar-day span{font-size:10px;color:var(--muted)}.calendar-day b{font-size:23px}.calendar-day i{height:5px;display:flex;gap:3px}.calendar-day em,.calendar-legend i{width:5px;height:5px;border-radius:50%;display:inline-block}.calendar-day.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.calendar-day.today b{color:var(--accent)}.calendar-day.other-month{opacity:.45}.release{--event-color:#e9ac47}.watch{--event-color:#6ca7dc}.done{--event-color:#68b393}.calendar-day em,.calendar-legend i{background:var(--event-color)}.calendar-legend{display:flex;gap:22px;margin:18px 0 28px}.calendar-legend span{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px}.calendar-content{grid-template-columns:1.4fr 1fr}.calendar-events{display:flex;flex-direction:column;gap:13px}.calendar-event{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid var(--line)}.event-icon{color:var(--event-color);font-size:22px}.calendar-event>div{flex:1;min-width:0}.calendar-event>div>button{font-size:13px;text-align:left;line-height:1.7}.calendar-event p{font-size:10px;margin:5px 0 0}.event-check,.event-remove{font-size:19px;width:30px;flex-shrink:0}.event-check[aria-pressed=true]{color:#68b393}.calendar-event.completed>div>button{text-decoration:line-through;color:var(--muted)}.calendar-source{font-size:11px;color:var(--muted);line-height:1.9}.calendar-source a{color:var(--accent)}.calendar-source .text-button{font-size:11px}.week-preview{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.week-preview a{display:flex;flex-direction:column;gap:10px;align-items:center;padding:14px 4px;background:var(--bg);border-radius:8px}.week-preview span,.week-preview small{font-size:10px;color:var(--muted)}.week-preview b{font-size:20px}.mood-choices{display:grid;grid-template-columns:repeat(6,1fr);gap:13px;margin-bottom:35px}.mood-choices button{border:1px solid var(--line);background:var(--surface);border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:15px;padding:24px 10px;min-width:0}.mood-choices button[aria-pressed=true]{border-color:var(--accent)}.mood-choices span{font-size:30px;color:var(--accent)}.mood-choices strong{font-size:11px;line-height:1.7}.mood-reason{font-size:10px;color:var(--muted);line-height:1.8;margin:10px 0 23px}.muted{color:var(--muted);font-size:12px;line-height:1.9}.stream-watch-options{display:flex;gap:16px;align-items:center;flex-wrap:wrap;font-size:11px;margin-top:12px}.stream-watch-options button{font-size:11px;color:var(--accent)}.stream-watch-options label{display:flex;align-items:center;gap:6px}.stream-title{font-size:12px;margin:0 0 15px;font-weight:600;line-height:1.6}.advanced-panel>label:last-child select{width:100%;background:var(--bg);color:var(--text);border:1px solid var(--line);height:40px;border-radius:5px;margin-top:8px}.growth-box #backupStatus{color:var(--accent)}
.seo-summary{display:grid;grid-template-columns:150px 1fr;gap:25px;max-width:1000px;margin:40px auto;padding:0 20px;line-height:1.9}.seo-summary img{width:100%;border-radius:10px}.seo-summary h1{font-size:30px;line-height:1.25}.seo-summary p{font-size:14px}.seo-summary[hidden]{display:none}.stream-title{overflow-wrap:anywhere}#installLeyvu{font-size:11px;min-height:38px}#allGenres{width:100%;background:var(--bg);color:var(--text);border:1px solid var(--line);height:40px;border-radius:5px;margin-top:8px}
@media(max-width:800px){.growth-split{grid-template-columns:1fr}.mood-choices{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.growth-heading{padding:26px 0 21px}.growth-heading h1{font-size:32px;letter-spacing:-1px}.growth-heading p{font-size:12px}.growth-box{padding:20px 16px;margin-bottom:18px}.growth-box h2{font-size:19px}.growth-split{gap:0}.profile-banner{padding:19px 16px;gap:14px;flex-wrap:wrap}.profile-avatar{width:50px;height:50px;border-radius:15px;font-size:23px}.profile-banner h2{font-size:20px}.profile-banner .button{margin:10px 0 0;flex-basis:100%;font-size:11px}.profile-stats{gap:10px;grid-template-columns:1fr 1fr;margin:16px 0 22px}.profile-stats>div{padding:17px}.profile-stats b{font-size:27px}.profile-stats span{font-size:10px}.personal-shortcuts,.resume-grid{grid-template-columns:1fr;gap:12px}.personal-shortcuts a{padding:19px 15px}.personal-shortcuts strong{font-size:12px}.personal-shortcuts small{font-size:10px}.resume-card{gap:13px;padding:12px}.resume-card strong{font-size:12px}.resume-card img{width:49px;height:68px}.follow-actions{margin-top:17px;margin-left:-105px;gap:8px}.follow-actions .button{font-size:10px;min-height:39px;padding:0 12px}.calendar-toolbar{gap:14px}.calendar-toolbar>div{gap:10px;max-width:100%}.calendar-toolbar strong{min-width:105px;font-size:12px}.calendar-toolbar .text-button{font-size:11px}.segmented button{padding:9px 17px}.calendar-grid{gap:5px}.calendar-day{padding:12px 2px;gap:8px;border-radius:7px}.calendar-day span{font-size:9px}.calendar-day b{font-size:19px}.calendar-grid.month .calendar-day{padding:9px 2px;gap:5px}.calendar-grid.month .calendar-day b{font-size:16px}.calendar-grid.month .calendar-day span{font-size:8px}.calendar-day em{width:4px;height:4px}.calendar-day i{gap:2px}.calendar-legend{gap:13px;margin:15px 0 22px}.calendar-legend span{font-size:9px}.calendar-event{gap:9px}.calendar-event>div>button{font-size:12px}.calendar-event p{font-size:10px;line-height:1.7}.event-check,.event-remove{width:24px;font-size:17px}.week-preview{gap:4px}.week-preview a{padding:12px 1px}.week-preview small{font-size:8px}.week-preview b{font-size:18px}.mood-choices{gap:9px}.mood-choices button{padding:17px 7px;gap:10px}.mood-choices strong{font-size:10px}.mood-choices span{font-size:25px}.catalog-pagination{gap:7px;margin-top:25px}.catalog-pagination .button{font-size:10px;min-height:38px;padding:0 10px}.catalog-pagination span{font-size:10px}.stream-title{font-size:11px}.stream-watch-options{font-size:10px;gap:10px}.form-pair{gap:9px}.growth-box input:not([type=checkbox]),.growth-box select{font-size:12px}.seo-summary{grid-template-columns:80px 1fr;gap:15px}.seo-summary h1{font-size:23px}.seo-summary p{font-size:12px}}
/* calendar.css */
.profile-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);padding-top:25px;overflow-x:auto;white-space:nowrap}.profile-tabs a{font-size:12px;padding:13px 0;border-bottom:2px solid transparent;color:var(--muted)}.profile-tabs a[aria-current=page]{color:var(--accent);border-color:var(--accent)}.calendar-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 27px}.calendar-stats>div{border:1px solid var(--line);background:var(--panel);border-radius:11px;padding:20px;display:flex;flex-direction:column;gap:10px;min-width:0}.calendar-stats b{font-size:25px;letter-spacing:-.8px;white-space:nowrap}.calendar-stats span{font-size:11px;color:var(--muted)}.calendar-event .event-status{display:inline-block;font-size:10px;margin-top:7px;color:#85baff}.calendar-event.completed .event-status{color:#68b393}.calendar-event.completed .event-icon{color:#68b393}.calendar-event.missed{border-bottom-style:dashed}.calendar-day-heading{display:flex;align-items:start;gap:15px;justify-content:space-between}.calendar-day-heading small{font-size:10px;color:var(--muted);white-space:nowrap;margin-top:5px}.calendar-source p{font-size:11px;margin:10px 0}.calendar-help{border-top:1px solid var(--line);padding-top:15px;font-size:11px;color:var(--muted);line-height:1.8}.calendar-help summary{cursor:pointer;color:var(--ink);min-height:32px}.calendar-help p{font-size:11px}.upcoming-week{margin-top:24px}.upcoming-week .portal-heading{margin-bottom:10px}.upcoming-week .portal-heading a{font-size:11px;color:var(--accent)}.calendar-toolbar>div{flex-wrap:wrap}.calendar-toolbar strong{font-size:12px;min-width:0}.event-check,.event-remove{min-height:42px;min-width:34px}.week-preview a:hover{background:#ff725b15}.profile-tabs a:focus-visible,.calendar-help summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(max-width:600px){.profile-tabs{gap:20px;padding-top:15px}.profile-tabs a{font-size:11px}.calendar-stats{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:21px}.calendar-stats>div{padding:16px 12px;gap:7px}.calendar-stats b{font-size:22px}.calendar-stats span{font-size:10px}.calendar-day-heading h2{font-size:17px;line-height:1.5}.calendar-toolbar .icon-button{width:36px;height:36px}.calendar-toolbar>div{gap:9px}.calendar-event{gap:7px}.event-icon{font-size:18px}.event-check,.event-remove{min-width:29px}.calendar-legend{flex-wrap:wrap;gap:10px 16px}.profile-tabs{scrollbar-width:none}.upcoming-week .portal-heading h2,.upcoming-week .portal-heading h1{font-size:18px}.upcoming-week{padding:18px 13px}.calendar-day.other-month{opacity:.7}}
.anime-picker{margin-bottom:22px}.anime-picker>label{margin-bottom:9px}.picker-search{display:flex;align-items:center;border:1px solid var(--line);border-radius:9px;background:var(--bg);padding-left:12px;gap:8px}.picker-search>span{font-size:22px;color:var(--muted)}.growth-box .picker-search input{border:0;background:transparent;padding-left:0;height:46px;min-width:0}.picker-search:focus-within{border-color:var(--accent)}.picker-results{display:flex;flex-direction:column;gap:7px;max-height:316px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:3px}.picker-result{display:flex;align-items:center;gap:12px;width:100%;padding:9px;border:1px solid var(--line);border-radius:9px;text-align:left;background:var(--bg);flex-shrink:0;transition:border-color .18s,background .18s}.picker-result img{width:40px;height:57px;object-fit:cover;border-radius:5px;flex-shrink:0}.picker-result>span{flex:1;min-width:0}.picker-result strong{display:block;font-size:12px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.picker-result small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.picker-result>b{color:var(--accent);font-size:19px;font-weight:400;padding:3px}.picker-result:hover,.picker-result[aria-pressed=true]{border-color:var(--accent);background:#ff725b0a}.growth-box .picker-count{font-size:10px;line-height:1.7;margin:12px 3px 9px}.picker-selected{display:flex;gap:12px;align-items:center;padding:13px;border:1px solid #ff725b66;background:#ff725b0b;border-radius:10px;margin-top:13px}.picker-selected>img{width:46px;height:65px;object-fit:cover;border-radius:6px}.picker-selected>span{flex:1;min-width:0}.picker-selected small{display:block;color:var(--accent);font-size:10px;margin-bottom:5px}.picker-selected strong{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.picker-selected em{display:block;font-style:normal;font-size:10px;color:var(--muted);margin-top:6px}.picker-selected button{min-width:32px;min-height:42px;font-size:22px;color:var(--muted)}.picker-empty{padding:20px 8px}.picker-result:focus-visible{outline-offset:0}.picker-search input:focus-visible{outline-offset:1px}
/* accounts.css */
.account-panel{background:linear-gradient(135deg,#ff725b08,var(--panel));margin-bottom:25px}.account-intro{display:flex;gap:17px;align-items:center;margin-bottom:26px}.account-intro :is(h1,h2){margin:0 0 7px;font-size:25px}.account-intro p{margin:0;font-size:12px}.account-intro>.text-button{margin-left:auto}.account-avatar,.account-symbol{height:58px;width:58px;flex-shrink:0;background:var(--accent);color:#151515;border-radius:17px;display:grid;place-items:center;font-size:26px;font-weight:800}.account-symbol{background:#ff725b15;color:var(--accent);border:1px solid #ff725b44}.account-tabs{display:inline-flex;margin-bottom:25px}.account-panel h3{font-size:17px;margin:0 0 18px}.account-columns{display:grid;grid-template-columns:1fr 1.2fr;gap:30px}.account-panel textarea{width:100%;resize:vertical;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--ink);font:inherit;font-size:13px;padding:12px}.account-panel input{color:var(--ink)!important}.account-panel .account-hint{font-size:11px;max-width:510px}.account-panel #accountAuth{max-width:500px}.account-error{color:#ff9b89!important;min-height:20px;margin-bottom:0!important}.calendar-visibility{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin:10px 0 20px}.visibility-dot{height:7px;width:7px;background:#90959e;border-radius:50%}.visibility-dot.on{background:#68b393}.account-share{border:1px solid var(--line);border-radius:9px;padding:13px;margin-top:18px;display:flex;flex-wrap:wrap;gap:13px;align-items:center}.account-share a{font-size:12px;overflow-wrap:anywhere;color:var(--accent)}.account-share .button{font-size:10px;min-height:35px}.account-sync{margin-top:28px;border-top:1px solid var(--line);padding-top:23px}.account-sync>div:last-of-type{display:flex;flex-wrap:wrap;gap:10px}.account-sync h3{margin-bottom:9px}.account-sync p{font-size:11px}.account-sync .button{font-size:10px;min-height:38px}.account-recovery{border:1px solid #e9ac4766;background:#e9ac4709;border-radius:10px;padding:19px;margin-bottom:28px}.account-recovery strong{font-size:15px;color:#e9ac47}.account-recovery p{font-size:11px}.account-recovery code{display:block;overflow-wrap:anywhere;font-size:12px;line-height:1.8;margin:12px 0 18px;user-select:all}.account-panel label[hidden]{display:none}.public-profile{max-width:1000px;margin:35px auto;padding:0 22px}.public-profile .brand{font-size:32px}.public-profile-header{padding:38px 0 24px;display:flex;align-items:center;gap:19px}.public-profile-header h1{font-size:30px;margin:0 0 8px;letter-spacing:-1px}.public-profile-header p{font-size:12px;color:var(--muted);margin:0}.public-bio{font-size:14px;line-height:1.8;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}.public-profile h2{font-size:25px;letter-spacing:-.7px;margin:30px 0 8px}.public-profile .calendar-grid{margin:23px 0}.public-profile .calendar-day{text-align:center}.public-event{display:flex;gap:15px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}.public-event img{width:45px;height:65px;object-fit:cover;border-radius:6px}.public-event strong{font-size:13px;line-height:1.6}.public-event p{font-size:11px;color:var(--muted);line-height:1.8;margin:5px 0 0}.public-profile .calendar-toolbar{margin-top:25px}.public-footer{font-size:11px;color:var(--muted);margin:35px 0;line-height:1.9}.public-profile a:hover{color:var(--accent)}
@media(max-width:700px){.account-columns{grid-template-columns:1fr;gap:28px}.account-intro{gap:13px;flex-wrap:wrap}.account-intro :is(h1,h2){font-size:21px}.account-intro p{font-size:10px}.account-avatar,.account-symbol{height:48px;width:48px;border-radius:14px;font-size:22px}.account-intro .text-button{font-size:11px}.account-panel .account-tabs button{padding:10px 13px;font-size:11px}.account-sync>div:last-of-type{flex-direction:column}.account-recovery{padding:16px 13px}.public-profile-header h1{font-size:25px}.public-profile{padding:0 18px}.account-panel .button{max-width:100%;white-space:normal;text-align:center}.account-panel{overflow-wrap:anywhere}}

/* Guest account shortcut: keep the personal icon and explicit login label together. */
.header .avatar.guest-login{display:inline-flex;align-items:center;gap:8px;width:auto;height:34px;padding:0 11px 0 0;border:0;border-radius:18px;background:transparent;overflow:visible;color:inherit;text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap}.guest-login .login-person{display:grid;place-items:center;width:34px;height:34px;border:1px solid #505357;border-radius:50%;background:#34363a;flex:none}.guest-login svg{width:19px;height:19px}.header .guest-login:hover{color:var(--accent,#ff725b)}.header .guest-login:focus-visible{outline:2px solid var(--accent,#ff725b);outline-offset:4px}@media(max-width:700px){.header .avatar.guest-login{gap:6px;padding-right:0;font-size:12px}.guest-login .login-person{width:29px;height:29px}.guest-login svg{width:17px;height:17px}}

.auth-dialog-open{overflow:hidden}.leyvu-auth-dialog{padding:0;border:1px solid var(--line);border-radius:24px;background:var(--panel);color:var(--text);width:min(940px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 30px 100px #0008}.leyvu-auth-dialog::backdrop{background:#000a;backdrop-filter:blur(6px)}.auth-dialog-layout{display:grid;grid-template-columns:1fr 1.15fr}.auth-dialog-welcome{padding:48px 36px;background:radial-gradient(ellipse at top left,#ff725b26,transparent 75%);display:flex;flex-direction:column;gap:24px}.auth-dialog-welcome>strong{letter-spacing:5px;color:var(--accent);font-size:22px}.auth-dialog-welcome h2{font-size:36px;line-height:1.2;letter-spacing:-1.2px;margin:28px 0 0}.auth-dialog-welcome p{color:var(--muted);line-height:1.8}.auth-dialog-benefits{display:grid;gap:14px;margin-top:auto;padding-top:40px;color:var(--muted);font-size:13px}.auth-dialog-benefits span::before{content:'✦';color:var(--accent);margin-right:12px}.auth-dialog-content{padding:48px 30px 24px;min-width:0}.leyvu-auth-dialog .account-panel{padding:0;margin:0;border:0;background:none}.leyvu-auth-dialog .account-intro h1{font-size:24px}.leyvu-auth-dialog .account-symbol{display:none}.auth-dialog-close{position:absolute;right:14px;top:10px;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:var(--muted);font:28px/1 inherit;cursor:pointer}.auth-dialog-close:hover{color:var(--accent)}.auth-dialog-close:focus-visible{outline:2px solid var(--accent)}@media(max-width:700px){.auth-dialog-layout{grid-template-columns:1fr}.auth-dialog-welcome{padding:24px 24px 0;gap:8px}.auth-dialog-welcome h2,.auth-dialog-welcome p,.auth-dialog-benefits{display:none}.auth-dialog-content{padding:24px}.leyvu-auth-dialog{border-radius:20px}}

/* The sign-in surface shares Leyvu's coral accent and theme tokens. */
.leyvu-auth-dialog{isolation:isolate;border-color:color-mix(in srgb,var(--accent) 22%,var(--line));box-shadow:0 40px 120px #0009,0 0 0 1px #ffffff06 inset;animation:auth-arrive .42s cubic-bezier(.16,1,.3,1) both;transform-origin:50% 58%}
.leyvu-auth-dialog::backdrop{animation:auth-shade-in .3s ease both}
.leyvu-auth-dialog.is-closing{animation:auth-dismiss .22s cubic-bezier(.4,0,1,1) both;pointer-events:none}
.leyvu-auth-dialog.is-closing::backdrop{animation:auth-shade-out .22s ease both}
.auth-dialog-welcome{position:relative;overflow:hidden;border-right:1px solid var(--line);background:radial-gradient(ellipse at 0 0,#ff725b24,transparent 65%),linear-gradient(155deg,#ff725b06,transparent);gap:16px}
.auth-dialog-welcome::before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.22;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(transparent,#000,transparent)}
.auth-dialog-welcome>*{position:relative}.auth-dialog-welcome>strong{display:flex;align-items:center;gap:8px;letter-spacing:4px}.auth-brand-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 18px var(--accent)}
.auth-eyebrow{font-size:9px;letter-spacing:2px;color:var(--muted);margin-top:22px}.auth-dialog-welcome h2{margin:0;font-size:40px;line-height:1.15}.auth-dialog-welcome p{font-size:13px;margin:0;max-width:285px}.auth-dialog-benefits{gap:8px;padding-top:12px}.auth-dialog-benefits span{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:color-mix(in srgb,var(--panel) 70%,transparent);font-size:12px}
.auth-orbit{height:140px;display:grid;place-items:center;margin:4px 0}.auth-orbit-ring{position:absolute;width:180px;height:100px;border:1px solid #ff725b38;border-radius:50%;transform:rotate(-28deg)}.auth-orbit-ring:nth-child(2){transform:rotate(28deg);width:155px;height:120px;border-color:var(--line)}.auth-orbit-core{display:grid;place-items:center;width:68px;height:68px;border-radius:22px;color:var(--accent);font-size:34px;font-weight:800;transform:rotate(-8deg);background:linear-gradient(135deg,#ff725b24,var(--panel));border:1px solid #ff725b50;box-shadow:0 15px 40px #0002;animation:auth-float 6s ease-in-out infinite}.auth-orbit-star{position:absolute;left:calc(50% + 65px);top:22px;color:var(--accent);font-size:22px}
.auth-dialog-content{padding:52px 36px 32px}.leyvu-auth-dialog .account-intro{margin-bottom:24px}.leyvu-auth-dialog .account-intro h1{font-size:25px;letter-spacing:-.8px}.leyvu-auth-dialog .account-tabs{padding:4px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--text) 3%,var(--panel))}.leyvu-auth-dialog .account-tabs button{border-radius:8px;transition:background .2s,color .2s}.leyvu-auth-dialog input:not([type=checkbox]){border-radius:12px;min-height:48px;transition:border-color .2s,box-shadow .2s;background:color-mix(in srgb,var(--text) 4%,var(--panel));color:var(--text)}.leyvu-auth-dialog input:focus-visible{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #ff725b20}.leyvu-auth-dialog .button{border-radius:12px;transition:transform .18s,box-shadow .18s}.leyvu-auth-dialog .button:hover{transform:translateY(-2px)}.leyvu-auth-dialog .button:active{transform:translateY(0) scale(.98)}.leyvu-auth-dialog .primary:hover{box-shadow:0 7px 24px #ff725b30}.auth-dialog-close{z-index:2;border:1px solid var(--line);background:var(--panel);font-size:24px;transition:transform .2s,color .2s,background .2s}.auth-dialog-close:hover{transform:rotate(90deg);background:#ff725b14}
.leyvu-auth-dialog #accountAuth{animation:auth-fields .28s ease both}.auth-dialog-welcome>h2,.auth-dialog-welcome>p,.auth-dialog-benefits{animation:auth-fields .5s .08s ease both}
@keyframes auth-arrive{from{opacity:0;transform:translateY(28px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes auth-dismiss{from{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(20px) scale(.96)}}@keyframes auth-shade-in{from{background:#0000;backdrop-filter:blur(0)}to{background:#000a;backdrop-filter:blur(6px)}}@keyframes auth-shade-out{from{background:#000a;backdrop-filter:blur(6px)}to{background:#0000;backdrop-filter:blur(0)}}@keyframes auth-fields{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes auth-float{50%{transform:translateY(-8px) rotate(3deg)}}
@media(max-width:700px){.auth-dialog-welcome{border-right:0;padding:24px 24px 16px;border-bottom:1px solid var(--line)}.auth-eyebrow{margin:0;font-size:8px}.auth-orbit{display:none}.auth-dialog-content{padding:24px}.leyvu-auth-dialog .account-intro h1{font-size:23px}.leyvu-auth-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}}
@media(prefers-reduced-motion:reduce){.leyvu-auth-dialog,.leyvu-auth-dialog::backdrop,.leyvu-auth-dialog *{animation:none!important;transition:none!important}}
/* simple.css */
/* Clear primary actions, quiet secondary settings. */
#growthPage .growth-heading{margin:26px 0}#growthPage .growth-heading h1{font-size:clamp(28px,4vw,42px);letter-spacing:-1px}#growthPage .growth-heading .tiny-label:empty,#growthPage .growth-heading p:empty{display:none}.calendar-content{grid-template-columns:minmax(0,1fr)!important}.calendar-add-toggle,details>summary{cursor:pointer;font-weight:600;min-height:44px;align-content:center}.calendar-content #calendarForm{margin-top:20px}.calendar-content .calendar-source{font-size:12px}.profile-settings{margin:20px 0}.account-sync[open]{display:block}.account-sync>div{margin-top:16px}.account-columns>details{min-width:0}.account-columns>details form{margin-top:16px}.profile-stats{display:none}.hero-arrow{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:#1119;color:var(--text);font-size:22px;cursor:pointer}.hero-pagination{gap:12px}.hero-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.hero-art{object-position:center 30%}.hero-pagination .slide{min-width:28px}.stream-episode-rail{display:flex;gap:8px;overflow:auto;max-width:100%;padding:8px 0 12px;scrollbar-width:thin}.stream-episode-rail button{flex:0 0 44px;height:44px;background:var(--bg);border:1px solid var(--line);color:var(--text);border-radius:8px;cursor:pointer}.stream-episode-rail button[aria-pressed=true]{background:var(--accent);color:#151515;border-color:var(--accent)}.stream-episodes>label{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted);margin-top:16px}.stream-episodes input{width:140px;min-height:38px;background:var(--bg);border:1px solid var(--line);border-radius:7px;color:var(--text);padding:8px}.stream-episodes p:empty{display:none}.stream-controls{margin:0 0 20px;border-radius:0 0 12px 12px}.stream-title{display:none}.stream-watch-options{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:12px}.stream-watch-options button{min-height:40px;background:transparent;color:var(--text);border:1px solid var(--line);border-radius:7px;padding:8px 12px}.stream-toolbar{flex-wrap:wrap}.stream-toolbar label:first-child{flex:1}.stream-placeholder{background:radial-gradient(ellipse at top,#292b2b,#080909)}.stream-placeholder h3{font-size:20px}.stream-navigation #streamVoice{font-size:11px}.personal-shortcuts[hidden]{display:none!important}@media(max-width:600px){.hero-pagination{gap:6px}.hero-pagination .slide{min-width:20px;width:20px}.hero-arrow{width:36px;height:36px}.calendar-toolbar{gap:14px}.account-columns{grid-template-columns:1fr}.hero-bottom{padding-bottom:16px}.stream-navigation{flex-wrap:wrap}.stream-watch-options label{flex-basis:100%}}@media(prefers-reduced-motion:reduce){.hero-changing .hero-content,.hero-changing .hero-art{animation:none!important}}
/* Keep the first screen focused on the calendar or account form. */
#growthPage .growth-heading{padding:0;margin:24px 0}#growthPage .growth-heading h1{margin:0}.profile-banner{display:none!important}#profileWeek .calendar-stats,#profileWeek .week-preview{display:none}#growthPage>.growth-box:last-child:has(.follow-list:empty){display:none}.stream-controls select{font-size:14px}.title-page .player-area{aspect-ratio:16/9!important}

/* Landscape Full HD artwork has its own framing, separate from card posters. */
.hero-art{object-position:center center}

/* Keep the previous image in place until the next slide is ready. */
.hero{isolation:isolate}.hero-art-previous{z-index:0;pointer-events:none;animation:none!important}.hero-shade{z-index:1;pointer-events:none}.hero-content,.hero-bottom{z-index:2;position:relative}.hero-bottom{position:absolute}.hero-changing .hero-art:not(.hero-art-previous){animation:none;opacity:0}.hero-changing.hero-image-ready .hero-art:not(.hero-art-previous){animation:leyvu-slide-art .65s ease both}.hero-image-ready .hero-art-previous{animation:leyvu-slide-out .65s ease both!important}.hero-changing .hero-content{animation:leyvu-slide-copy .5s ease both}.hero[data-direction=prev]{--slide-direction:-1}.hero[data-direction=next]{--slide-direction:1}@keyframes leyvu-slide-art{from{opacity:0;transform:translateX(calc(var(--slide-direction,1)*35px)) scale(1.025)}to{opacity:1;transform:none}}@keyframes leyvu-slide-out{to{opacity:0;transform:translateX(calc(var(--slide-direction,1)*-25px))}}@keyframes leyvu-slide-copy{from{opacity:0;transform:translateX(calc(var(--slide-direction,1)*22px))}to{opacity:1;transform:none}}
#heroTrailer[hidden],.hero-trailer-panel[hidden]{display:none!important}.hero-buttons{flex-wrap:wrap}.hero-trailer-panel{position:absolute;inset:0;z-index:10;background:#090a0c;display:flex;flex-direction:column;padding:16px 24px;gap:10px}.trailer-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.trailer-top strong{font-size:16px;line-height:1.4}.trailer-top button{min-height:40px;flex-shrink:0;font-size:12px}#heroTrailerFrame{flex:1;min-height:0}#heroTrailerFrame iframe{width:100%;height:100%;border:0}.hero-trailer-panel>p{font-size:11px;line-height:1.6;margin:0;color:var(--muted)}.hero-trailer-panel a{color:var(--accent);white-space:nowrap}@media(max-width:600px){.hero-trailer-panel{padding:12px}.trailer-top strong{font-size:13px}.hero-buttons{gap:8px}.hero-buttons .button{min-height:42px;padding:0 14px}.hero-trailer-panel>p{font-size:11px}}@media(prefers-reduced-motion:reduce){.hero-changing.hero-image-ready .hero-art,.hero-image-ready .hero-art-previous,.hero-changing .hero-content{animation:none!important}.hero-changing .hero-art:not(.hero-art-previous){opacity:1}.hero-image-ready .hero-art-previous{opacity:0}}

/* One title, several frames, then the next title. Coral timed navigation. */
.hero-content{max-width:850px!important;width:min(70%,850px)}.hero-original{font-size:11px!important;letter-spacing:1.5px;opacity:.7}.hero-identity{display:flex;align-items:center;gap:22px;margin:16px 0 22px}.hero-identity #heroTitle{font-size:clamp(32px,3.6vw,60px);line-height:1.08;letter-spacing:-1.6px;margin:0!important}.hero-identity img{flex:0 0 86px;width:86px;height:122px;object-fit:cover;border-radius:8px;border:1px solid #ffffff26;box-shadow:0 8px 28px #0007}.hero-description{max-width:620px}.hero .hero-bottom{left:0;right:0;bottom:24px;padding:0;display:flex;justify-content:center}.hero-pagination{display:flex;align-items:center;gap:8px}.hero-track{position:relative;display:block;width:38px;height:28px;background:none;border:0;padding:0;cursor:pointer;--fill:0%}.hero-track:before,.hero-track i{position:absolute;left:0;right:0;top:12px;height:4px;border-radius:4px;content:'';background:#ffffff35;overflow:hidden}.hero-track.active{width:68px}.hero-track.active i{right:auto;width:var(--fill);background:var(--accent);transition:width .1s linear}.hero-track:hover:before{background:#ffffff70}.hero-track:focus-visible,.hero-pause:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.hero-pause{height:30px;width:30px;border:0;border-radius:50%;background:#14141488;color:var(--text);font-size:15px;cursor:pointer;margin-left:4px}.hero-frame-changing .hero-art:not(.hero-art-previous){opacity:0;animation:none}.hero-frame-changing.hero-image-ready .hero-art:not(.hero-art-previous){animation:leyvu-slide-art .65s ease both}.hero-shade{background:linear-gradient(90deg,rgba(10,12,13,.93) 0%,rgba(10,12,13,.75) 28%,rgba(10,12,13,.16) 72%),linear-gradient(0deg,var(--bg),transparent 40%)!important}@media(max-width:600px){.hero-content{width:100%;max-width:none!important;padding-bottom:85px!important}.hero-identity{gap:14px;margin:12px 0 18px}.hero-identity img{width:58px;height:83px;flex-basis:58px}.hero-identity #heroTitle{font-size:clamp(25px,7vw,34px);letter-spacing:-.7px}.hero-original{font-size:9px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-track{width:27px}.hero-track.active{width:48px}.hero .hero-bottom{bottom:18px}.hero-description{-webkit-line-clamp:3}.hero-shade{background:linear-gradient(90deg,#0a0c0de6,#0a0c0d66),linear-gradient(0deg,var(--bg),transparent 85%)!important}}@media(prefers-reduced-motion:reduce){.hero-frame-changing.hero-image-ready .hero-art{animation:none!important;opacity:1}.hero-track.active i{transition:none}}
/* Let long names size the banner and keep the artwork full height on phones. */
.hero{height:auto;min-height:600px}.hero-content{padding-top:52px!important;padding-bottom:90px!important}.hero-art{height:100%!important}@media(max-width:600px){.hero{height:auto;min-height:520px}.hero-content{position:relative!important;bottom:auto!important;padding-top:28px!important;padding-bottom:80px!important}}

/* Focus homepage discovery on the anime rows. */
#welcome,#discoveryBar,#historySection{display:none!important}.header-random{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;min-height:40px}.header-random>span:first-child{font-size:23px;color:var(--accent)}.hero-edge{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:38px;height:54px;border:1px solid #ffffff20;border-radius:10px;background:#10121488;color:#fff;font-size:36px;line-height:1;cursor:pointer;transition:background .2s}.hero-edge.prev{left:12px}.hero-edge.next{right:12px}.hero-edge:hover{background:#101214dd}.hero-edge:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.hero:has(.hero-trailer-panel:not([hidden])) .hero-edge{visibility:hidden}@media(max-width:600px){.header-random .random-label{display:none}.header-random{width:36px;justify-content:center;padding:0!important}.hero-edge{top:auto;bottom:40px;transform:none;width:32px;height:38px;font-size:28px}.hero-edge.prev{left:15px}.hero-edge.next{right:15px}}
.header-random .random-label{font-size:12px;color:var(--text)}

.hero-track.active i{background:var(--accent,#ff725b);min-height:4px;display:block;z-index:1}
/* identity.css */
.identity-panel{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.identity-panel[hidden]{display:none!important}.identity-panel h3{font-size:18px;margin:0 0 16px}.identity-providers{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0 20px}.identity-panel label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted);margin-bottom:14px}.identity-panel input{width:100%;min-height:44px;background:var(--bg);border:1px solid var(--line);border-radius:7px;color:var(--text);padding:10px 12px;font:inherit}.identity-panel form{max-width:420px}.identity-panel p{font-size:12px;line-height:1.7;color:var(--muted)}.identity-panel strong{overflow-wrap:anywhere}.identity-panel .button{min-height:44px}.identity-panel #identityEmailBack{display:block;margin-top:10px}.identity-panel button:disabled{opacity:.55;cursor:default}

.identity-providers .button{display:inline-flex;align-items:center;justify-content:center;gap:10px}.identity-icon{display:block;width:22px;height:22px;flex:none}.identity-icon-discord{color:#fff}.identity-providers .button:focus-visible{outline:2px solid var(--accent,#ff725b);outline-offset:3px}
/* profile-world.css */
.profile-world{--world-accent:#ff725b;margin:0;min-height:100svh;display:grid;place-items:center;background:#101114;color:#f7f7fa;font-family:Inter,Arial,sans-serif;background-size:cover;background-position:center;background-attachment:fixed}.profile-world:before{content:'';position:fixed;inset:0;background:linear-gradient(180deg,#080a1280,#080a12d9);z-index:-1}.world-nav{position:absolute;top:28px;left:5%;right:5%;display:flex;align-items:center;justify-content:space-between;gap:20px}.world-nav a{color:inherit;text-decoration:none;font-size:13px}.world-nav a:first-child{font-size:28px;font-weight:850;letter-spacing:-1.5px}.world-nav span{color:var(--world-accent)}.world-card{position:relative;width:min(570px,calc(100% - 64px));box-sizing:border-box;margin:110px 0 60px;padding:48px;text-align:center;border:1px solid #ffffff24;border-radius:30px;background:#12141cb8;backdrop-filter:blur(24px);box-shadow:0 30px 100px #0007;animation:worldIn .65s ease both;overflow-wrap:anywhere}.world-kicker{font-size:10px!important;font-weight:700;letter-spacing:3px;color:var(--world-accent)!important}.world-card h1{font-size:clamp(32px,7vw,55px);letter-spacing:-2px;margin:23px 0 5px;line-height:1.1}.world-handle{font-size:13px;color:#aaaebc}.world-bio{white-space:pre-line;line-height:1.8;color:#c9ccd5;font-size:14px;margin:26px 0}.world-avatar{width:100px;height:100px;border-radius:28px;object-fit:cover;border:2px solid var(--world-accent);box-shadow:0 0 35px color-mix(in srgb,var(--world-accent) 25%,transparent)}.world-initial{display:grid;place-items:center;background:var(--world-accent);color:#111;font-size:44px;font-weight:bold;margin:auto}.world-tagline{font-size:12px;color:#e3e5ec;letter-spacing:.3px}.world-card button,.world-link{display:inline-block;border:1px solid #ffffff25;border-radius:14px;padding:14px 22px;background:#ffffff0b;color:inherit;text-decoration:none;cursor:pointer;font:inherit;font-size:13px;margin:8px 4px}.world-card button:hover,.world-link:hover{border-color:var(--world-accent)}.world-card button:first-of-type{background:var(--world-accent);color:#111;border:0;font-weight:700}.world-music{border-top:1px solid #ffffff1c;margin-top:30px;padding-top:20px}.world-music p{font-size:11px;color:#aeb4c3;letter-spacing:1px}.world-card audio{max-width:100%;height:38px}.world-card iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:12px}.world-grain{position:fixed;inset:0;pointer-events:none;z-index:-1}.world-glow .world-grain{background:radial-gradient(ellipse at 15% 20%,color-mix(in srgb,var(--world-accent) 25%,transparent),transparent 55%)}.world-snow .world-grain{background-image:radial-gradient(2px 2px at 20px 30px,#fff9 50%,transparent 60%),radial-gradient(1px 1px at 90px 100px,#fff7 50%,transparent 60%);background-size:180px 180px;animation:worldSnow 18s linear infinite}.world-editor{margin-top:25px;border-top:1px solid var(--line);padding-top:22px}.world-editor label{display:block;margin:17px 0 7px;font-size:12px}.world-editor input:not([type=checkbox]),.world-editor select{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--ink);font:inherit}.world-editor input[type=color]{height:44px;padding:4px;max-width:100px}.world-editor small{display:block;color:var(--muted);line-height:1.6;margin-top:6px}.world-editor summary{font-size:17px;font-weight:700;cursor:pointer}.world-editor form{max-width:620px}.world-editor .world-status{font-size:12px;min-height:20px}.world-editor .world-preview{border:1px solid #ffffff24;padding:30px 20px;margin:20px 0;border-radius:20px;text-align:center;background-size:cover;background-position:center;color:white;box-shadow:inset 0 0 0 1000px #10121899}.world-editor .world-preview strong{font-size:28px}.world-editor .world-preview img{height:60px;width:60px;object-fit:cover;border-radius:18px;display:block;margin:0 auto 14px}.world-editor [type=file]{font-size:12px}.world-editor .world-public-link{overflow-wrap:anywhere;display:block;margin:14px 0;color:var(--accent)}@keyframes worldIn{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:none}}@keyframes worldSnow{to{background-position:180px 360px}}@media(max-width:600px){.world-card{width:calc(100% - 32px);padding:32px 22px;border-radius:24px}.world-nav{top:20px}.world-card h1{letter-spacing:-1px}}@media(prefers-reduced-motion:reduce){.world-card,.world-snow .world-grain{animation:none}}
/* Public profile shares the cover and identity language of the account dashboard. */
.profile-world{display:block;background:#101112}.profile-world:before{display:none}.world-nav{position:relative;top:auto;left:auto;right:auto;max-width:1240px;margin:0 auto;padding:24px 28px}.world-card{width:calc(100% - 56px);max-width:1240px;min-height:420px;margin:0 auto 60px;padding:0;border:0;border-radius:0;background:none;backdrop-filter:none;box-shadow:none;text-align:left}.world-card>#worldEnter{margin:30px 0}.world-card>.world-kicker{margin-top:55px}.world-cover{position:relative;height:235px;border-radius:20px 20px 0 0;background:radial-gradient(ellipse at 10% 0%,color-mix(in srgb,var(--world-accent) 25%,transparent),transparent 65%),repeating-linear-gradient(45deg,#18191c,#18191c 15px,#1d1e22 16px,#18191c 17px);background-size:cover;background-position:center}.world-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#101112,transparent)}.world-hero{position:relative;display:flex;align-items:center;gap:30px;margin:-75px 35px 35px;z-index:1}.world-avatar{width:130px;height:130px;border-radius:50%;border:5px solid #101112;box-shadow:0 15px 35px #0004;flex-shrink:0}.world-initial{margin:0}.world-identity h1{font-size:clamp(32px,5vw,55px);margin:5px 0;letter-spacing:-2px}.world-identity .world-kicker{margin:0 0 10px}.world-handle{color:var(--world-accent);margin:8px 0}.world-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px;margin-top:45px}.world-about,.world-music,.world-side{border:1px solid #ffffff16;background:#17191c;border-radius:17px;padding:27px;margin:0 0 20px}.world-about h2{font-size:19px;margin:0 0 16px}.world-bio{margin:0}.world-side{align-self:start}.world-side h3{font-size:16px;margin-top:0}.world-side>p{font-size:12px;color:#a9adb7}.world-side .world-link{font-size:11px;display:block;margin:12px 0 0;padding:12px}.world-music>p{margin-top:0}.world-content audio{width:100%;max-width:420px}.world-content iframe{max-width:720px}.world-side{position:sticky;top:20px}.world-glow .world-grain,.world-snow .world-grain{z-index:0;opacity:.3}.world-nav,.world-card{z-index:1;position:relative}@media(max-width:650px){.world-nav{padding:20px}.world-card{width:calc(100% - 32px)}.world-cover{height:175px;border-radius:12px}.world-hero{gap:17px;margin:-45px 12px 25px;align-items:flex-start}.world-avatar{width:85px;height:85px;border-width:4px}.world-identity{padding-top:35px;min-width:0}.world-identity h1{font-size:30px;letter-spacing:-1px}.world-identity .world-kicker{font-size:8px!important;letter-spacing:1px}.world-layout{display:flex;flex-direction:column;margin-top:20px;gap:0}.world-side{position:static}.world-about,.world-music,.world-side{padding:22px}.world-tagline{line-height:1.6}}
.world-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.world-stats>div{border:1px solid #ffffff16;background:#17191c;border-radius:15px;text-align:center;padding:25px 8px}.world-stats b{font-size:32px;display:block}.world-stats small{font-size:9px;color:#a9adb7;display:block;margin-top:8px}.world-showcase{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.world-showcase a{color:inherit;text-decoration:none;min-width:0}.world-showcase img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:10px}.world-showcase strong{font-size:12px;display:block;line-height:1.6;margin-top:9px}@media(max-width:650px){.world-stats{grid-template-columns:repeat(2,1fr)}.world-showcase{grid-template-columns:repeat(2,1fr)}}

.world-avatar.frame-coral{box-shadow:0 0 0 3px #ff725b,0 15px 50px #ff725b22}.world-avatar.frame-gold{box-shadow:0 0 0 3px #e9b85e,0 15px 50px #e9b85e22}.world-avatar.frame-mint{box-shadow:0 0 0 3px #73bda4,0 15px 50px #73bda422}
/* profile-dashboard.css */
#growthPage.pd-auth-page>:not(#accountPanel){display:none!important}
#growthPage.pd-member-page{max-width:1340px;padding-top:0}#growthPage.pd-member-page>.portal-heading,#growthPage.pd-member-page>.growth-heading,#growthPage.pd-member-page>.profile-stats,#growthPage.pd-member-page>.profile-banner,#growthPage.pd-member-page>.growth-box:not(#accountPanel),#growthPage.pd-member-page>.profile-settings{display:none!important}#accountPanel.pd-member{--profile-accent:#ff725b;padding:0;border:0;background:none;box-shadow:none;overflow:visible}#accountPanel.pd-member button,#accountPanel.pd-member a{touch-action:manipulation}#accountPanel.pd-member [hidden]{display:none!important}.pd-cover{height:215px;border-radius:18px 18px 0 0;background:radial-gradient(ellipse at 15% 0%,#ff725b32,transparent 55%),linear-gradient(120deg,#222027,#101112);background-size:cover;background-position:center;position:relative;overflow:hidden}.pd-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,var(--bg,#101112),transparent 85%);pointer-events:none}.pd-cover-lines{position:absolute;inset:0;background:repeating-linear-gradient(45deg,transparent 0,transparent 18px,#ffffff06 19px,transparent 20px);pointer-events:none}.pd-cover-edit{position:absolute;right:22px;top:22px;z-index:1;padding:10px 15px;border:1px solid #ffffff22;border-radius:24px;background:#111b;color:#fff;font-size:12px;cursor:pointer}.pd-hero{position:relative;display:flex;align-items:flex-end;gap:28px;margin:-88px 40px 0;z-index:1}.pd-avatar{width:132px;height:132px;flex-shrink:0;border:5px solid var(--bg,#101112);border-radius:50%;display:grid;place-items:center;background:#24272c;color:var(--profile-accent);font-size:58px;font-weight:800;box-shadow:0 16px 40px #0004;overflow:hidden}.pd-avatar img{width:100%;height:100%;object-fit:cover}.pd-identity{min-width:0;padding-top:10px}.pd-eyebrow{font-size:9px!important;letter-spacing:2.5px!important;font-weight:700;color:var(--profile-accent)!important;margin:0 0 10px!important}.pd-identity h1{font-size:clamp(32px,4vw,54px);line-height:1.08;letter-spacing:-2px;margin:0 0 6px;font-weight:850;overflow-wrap:anywhere}.pd-handle{font-size:13px;color:var(--profile-accent)}#accountPanel .pd-tagline{font-size:12px;margin:12px 0;color:var(--muted);max-width:660px}.pd-badges{display:flex;gap:7px;flex-wrap:wrap}.pd-badges>span{font-size:10px;padding:6px 10px;border-radius:7px;border:1px solid var(--line);background:var(--panel);color:var(--muted)}.pd-badges>span:first-child{color:var(--profile-accent)}.pd-actions{display:flex;justify-content:flex-end;gap:8px;margin:30px 0 32px;flex-wrap:wrap}.pd-actions .button{font-size:11px;min-height:41px;padding:0 15px;border-radius:9px}.pd-actions .primary{background:var(--profile-accent);color:#151515}.pd-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:24px;align-items:start}.pd-sidebar{grid-column:2;grid-row:1;position:sticky;top:92px;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:8px}.pd-sidebar nav{display:flex;flex-direction:column;gap:3px}.pd-sidebar button{border:0;border-radius:10px;background:none;color:var(--muted);padding:14px 13px;display:flex;align-items:center;gap:13px;font:inherit;font-size:12px;font-weight:650;text-align:left;cursor:pointer}.pd-sidebar button>span{font-size:17px;width:19px;text-align:center;font-weight:400}.pd-sidebar button[aria-pressed=true]{background:color-mix(in srgb,var(--profile-accent) 13%,transparent);color:var(--ink)}#accountPanel .pd-sidebar p{font-size:10px;line-height:1.8;padding:14px 12px 6px;color:var(--muted);border-top:1px solid var(--line);margin:10px 5px 0}.pd-content{grid-column:1;grid-row:1;min-width:0}.pd-content>section{animation:pdReveal .25s ease both}.pd-welcome{border:1px solid color-mix(in srgb,var(--profile-accent) 25%,var(--line));background:linear-gradient(110deg,color-mix(in srgb,var(--profile-accent) 11%,var(--panel)),var(--panel));padding:23px 24px;border-radius:16px;display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.pd-welcome h2{font-size:19px;letter-spacing:-.5px;margin:8px 0 0}.pd-welcome>a{font-size:11px;color:var(--profile-accent);white-space:nowrap}.pd-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 22px}.pd-stats>div{position:relative;border:1px solid var(--line);border-radius:15px;text-align:center;background:var(--panel);padding:27px 10px 21px}.pd-stats>div>span{position:absolute;top:12px;right:14px;color:var(--muted);font-size:17px}.pd-stats b{font-size:36px;line-height:1.1;letter-spacing:-1.5px;font-weight:850;display:block}.pd-stats small{display:block;font-size:9px;text-transform:uppercase;letter-spacing:1.3px;color:var(--muted);margin-top:8px}.pd-box{border:1px solid var(--line);border-radius:17px;background:var(--panel);padding:24px;margin:0 0 20px}.pd-section-title{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-bottom:22px}.pd-section-title h2{font-size:18px!important;letter-spacing:-.5px;margin:0!important}.pd-section-title a,.pd-section-title>button{font:inherit;font-size:10px;color:var(--muted);border:0;background:none;cursor:pointer;text-align:right}.pd-section-title p{font-size:11px!important;margin:8px 0 0!important}.pd-list-chart{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:34px}.pd-donut{height:174px;width:174px;background:var(--ring);border-radius:50%;padding:13px;box-sizing:border-box}.pd-donut>div{height:100%;border-radius:50%;background:var(--panel);display:flex;flex-direction:column;align-items:center;justify-content:center}.pd-donut b{font-size:31px;font-weight:850}.pd-donut small{font-size:8px;letter-spacing:1px;color:var(--muted);margin:4px 0 8px}.pd-donut span{font-size:9px;color:var(--profile-accent)}.pd-status-bars>div{display:grid;grid-template-columns:1fr auto;gap:8px;margin:0 0 12px}.pd-status-bars>div:last-child{margin:0}.pd-status-bars span{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px}.pd-status-bars span>i{height:6px;width:6px;border-radius:50%}.pd-status-bars b{font-size:11px}.pd-status-bars>div>div{grid-column:1/-1;height:4px;border-radius:3px;background:var(--line);overflow:hidden}.pd-status-bars>div>div>i{display:block;height:100%;min-width:0;border-radius:3px}.pd-anime-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.pd-anime{min-width:0;padding:0;text-align:left;background:none;border:0;color:var(--ink);font:inherit;cursor:pointer}.pd-anime img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:10px;transition:transform .2s}.pd-anime:hover img{transform:translateY(-3px)}.pd-anime strong{display:block;font-size:11px;line-height:1.5;margin-top:9px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.pd-anime small{font-size:9px;color:var(--muted);display:block;margin-top:5px}.pd-empty{grid-column:1/-1;padding:28px 20px;text-align:center;border:1px dashed var(--line);border-radius:12px;width:100%;box-sizing:border-box}.pd-empty>span{color:var(--profile-accent);font-size:26px}.pd-empty p{font-size:12px!important;line-height:1.8}.pd-empty a{font-size:11px;color:var(--profile-accent)}#accountPanel .pd-data-note{font-size:10px;line-height:1.8;color:var(--muted);padding:0 5px}.pd-collections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.pd-collections>a{padding:23px;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;gap:10px;background:linear-gradient(135deg,#ff725b0b,transparent)}.pd-collections>a>span{font-size:22px;color:var(--profile-accent)}.pd-collections strong{font-size:14px}.pd-collections small{font-size:10px;color:var(--muted)}.pd-content #profileWeek{border:0;padding:0;margin:0;background:none}.pd-content #profileWeek>.portal-heading{display:none}.pd-content .profile-settings{margin:0;padding:23px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.pd-content #worldEditor{margin:0;padding:25px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.pd-content #worldEditor>summary{margin-bottom:20px}.pd-content .account-columns{grid-template-columns:1fr;gap:25px}.pd-content .account-columns summary{cursor:pointer}.pd-content #accountProfile{padding-top:20px}.pd-content #profileSecuritySlot:empty{display:none}.pd-content #identityPanel{margin:0;padding:0;border:0}.pd-content .pd-logout{margin-top:20px;color:#e78d7e}.pd-member>.account-error{padding:0 10px}.pd-member-page>.growth-heading,.pd-member-page>.profile-tabs{display:none!important}@keyframes pdReveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(max-width:960px){.pd-layout{grid-template-columns:minmax(0,1fr) 195px;gap:17px}.pd-list-chart{grid-template-columns:145px 1fr;gap:20px}.pd-donut{width:145px;height:145px;padding:11px}.pd-box{padding:20px}.pd-hero{margin-left:25px;margin-right:25px;gap:20px}}@media(max-width:700px){.pd-cover{height:160px;margin:0 -15px;border-radius:0}.pd-hero{margin:-55px 0 0;gap:15px;align-items:flex-start}.pd-avatar{width:90px;height:90px;font-size:36px;border-width:4px}.pd-identity{padding-top:50px;margin-left:-105px;padding-left:0}.pd-identity h1{font-size:33px;letter-spacing:-1.2px;margin-top:45px}.pd-eyebrow{font-size:8px!important}.pd-identity>.pd-eyebrow{display:none}.pd-handle{font-size:12px}.pd-badges{gap:5px}.pd-badges>span{font-size:9px;padding:5px 7px}.pd-actions{justify-content:flex-start;margin:22px 0;gap:7px}.pd-actions .button{min-height:38px;padding:0 11px;font-size:10px}.pd-layout{display:flex;flex-direction:column;gap:18px}.pd-sidebar{position:static;width:100%;padding:5px;box-sizing:border-box;border-radius:12px}.pd-sidebar nav{flex-direction:row;overflow:auto;scrollbar-width:none}.pd-sidebar button{white-space:nowrap;padding:12px;font-size:11px;gap:7px}.pd-sidebar button>span{font-size:15px}.pd-sidebar p{display:none}.pd-content{width:100%}.pd-welcome{padding:19px}.pd-welcome h2{font-size:16px}.pd-welcome>a{font-size:10px}.pd-stats{gap:8px;grid-template-columns:repeat(2,1fr)}.pd-stats>div{padding:23px 8px 18px}.pd-stats b{font-size:32px}.pd-stats small{font-size:8px}.pd-box{padding:19px 16px}.pd-list-chart{grid-template-columns:115px 1fr;gap:17px}.pd-donut{height:115px;width:115px;padding:9px}.pd-donut b{font-size:26px}.pd-donut small{font-size:7px}.pd-donut span{font-size:7px}.pd-status-bars span,.pd-status-bars b{font-size:10px}.pd-status-bars>div{gap:5px;margin-bottom:10px}.pd-anime-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 12px}.pd-cover-edit{right:14px;top:16px;font-size:10px}.pd-collections{grid-template-columns:1fr}.pd-content #worldEditor{padding:20px 16px}.pd-content .profile-settings{padding:20px 16px}.pd-section-title h2{font-size:16px!important}}@media(prefers-reduced-motion:reduce){.pd-content>section{animation:none}.pd-anime img{transition:none}}
/* cinema.css */
/* Leyvu Cinema — the viewing surface shares the site's coral accent. */
.cinema-player{--cinema-surface:#17191d;--cinema-line:#ffffff10;border:1px solid var(--line);border-radius:18px;background:var(--surface);overflow:hidden;scroll-margin-top:22px;margin-bottom:26px;box-shadow:0 18px 65px #0002;isolation:isolate}.cinema-top{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 22px;border-bottom:1px solid var(--line)}.cinema-top>div{display:flex;align-items:center;gap:10px;min-width:0}.cinema-top strong{font-size:14px;font-weight:650;white-space:nowrap}.cinema-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 13px #ff725b55;flex:none}.cinema-current{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:470px}.cinema-mode{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font:inherit;font-size:11px;background:transparent;border:1px solid var(--line);border-radius:8px;min-height:36px;padding:7px 12px;cursor:pointer;white-space:nowrap}.cinema-mode svg{width:18px;height:18px}.cinema-mode:hover,.cinema-mode[aria-pressed=true]{background:#ff725b13;border-color:#ff725b55;color:var(--accent)}.cinema-layout{display:grid;grid-template-columns:minmax(0,1fr) 252px;align-items:stretch}.cinema-stage{min-width:0;background:#090a0c;position:relative;align-self:start}.cinema-player .cinema-stage .player-area{width:100%;max-height:none!important;aspect-ratio:16/9!important;border-radius:0;isolation:isolate;margin:0}.cinema-screen-label{display:flex;justify-content:space-between;padding:12px 18px;font-size:8px;letter-spacing:2.5px;font-weight:700;color:#81838b;border-bottom:1px solid #ffffff06;background:#0e1013}.cinema-screen-label span:first-child{color:#e1e2e8}.cinema-sidebar{display:flex;flex-direction:column;padding:8px 16px 15px;border-left:1px solid var(--line);min-width:0;background:linear-gradient(140deg,#ffffff03,transparent)}.cinema-tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:16px;gap:22px}.cinema-tabs button{font:inherit;font-weight:600;font-size:12px;color:var(--muted);background:none;border:0;border-bottom:2px solid transparent;padding:17px 0 14px;cursor:pointer;transition:color .2s,border-color .2s}.cinema-tabs button[aria-selected=true]{color:var(--text);border-bottom-color:var(--accent)}.cinema-voice{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 18px;text-align:left;gap:7px 8px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--text);padding:15px 12px;cursor:pointer;margin-bottom:6px;transition:background .2s,border-color .2s,transform .2s}.cinema-voice strong{font-size:12px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}.cinema-voice small{grid-column:1;font-size:10px;color:var(--muted)}.cinema-voice-check{grid-row:1/3;grid-column:2;align-self:center;color:var(--accent);font-size:15px}.cinema-voice[aria-pressed=true]{background:linear-gradient(110deg,#ff725b18,#ff725b08);border-color:#ff725b30}.cinema-voice:hover{background:#ff725b12;transform:translateX(2px)}.cinema-hint{font-size:10px!important;line-height:1.85!important;color:var(--muted);padding:8px 4px}.cinema-side-foot{display:flex;gap:8px;align-items:center;margin-top:auto;padding:22px 4px 4px;font-size:8px;letter-spacing:1.8px;color:var(--muted)}.cinema-side-foot .cinema-dot{width:4px;height:4px;box-shadow:none;background:#70737c}.cinema-bottom{grid-column:1;min-width:0}.cinema-player .stream-controls{margin:0;padding:18px 22px;border:0;border-top:1px solid var(--line);background:transparent;border-radius:0}.cinema-player .stream-toolbar{display:flex;align-items:center;gap:15px}.cinema-player .stream-toolbar label{display:flex;flex-direction:row;align-items:center;gap:10px;font-size:10px;white-space:nowrap}.cinema-player .stream-toolbar label:first-child{display:none}.cinema-player .stream-toolbar .stream-episode-label{flex:1;min-width:0}.cinema-player .stream-toolbar select{height:36px;min-height:36px;font-size:11px;border-radius:7px;background:var(--bg);max-width:270px;min-width:0}.cinema-player .stream-episode-label select{width:100%}.cinema-player .stream-navigation{margin-top:15px;padding-top:14px;border-top:1px solid var(--line);gap:10px}.cinema-player #streamVoice{display:none}.cinema-player .stream-navigation button{border:1px solid var(--line);border-radius:7px;padding:8px 12px;transition:background .2s,color .2s}.cinema-player .stream-navigation button:hover:enabled{background:#ff725b12;color:var(--accent)}.cinema-player .stream-episodes{margin-top:15px}.cinema-player .stream-episodes>label{justify-content:space-between;margin:0 0 8px;gap:12px;font-size:11px;font-weight:600;color:var(--text)}.cinema-player .stream-episodes input{width:115px;min-height:32px;height:32px;border-radius:7px;font-size:11px;font-weight:400;background:transparent}.cinema-player .stream-episode-rail{gap:7px;margin:0;padding:4px 0 13px;scrollbar-width:thin;scrollbar-color:#ff725b70 transparent;max-height:200px}.cinema-player .stream-episode-rail button{min-width:40px;flex-basis:40px;height:37px;border-radius:7px;font-size:12px;transition:background .2s,transform .2s,border-color .2s;position:relative}.cinema-player .stream-episode-rail button:hover{transform:translateY(-2px);border-color:#ff725b70}.cinema-player .stream-episode-rail button[aria-pressed=true]{background:var(--accent);box-shadow:0 3px 15px #ff725b24;color:#101112;font-weight:700}.cinema-player .stream-episode-rail button.is-watched:not([aria-pressed=true]){border-color:#73bda455;color:#83cdb4}.cinema-player .stream-episode-rail button.is-watched:after{content:'';position:absolute;width:4px;height:4px;background:#73bda4;right:4px;top:4px;border-radius:50%}.cinema-player .stream-watch-options{padding-top:13px;border-top:1px solid var(--line);gap:12px;font-size:10px;color:var(--muted)}.cinema-player .stream-watch-options button{font:inherit;font-size:10px;min-height:34px;cursor:pointer;border-radius:7px}.cinema-player .stream-watch-options button[aria-pressed=true]{color:#83cdb4;border-color:#73bda455;background:#73bda410}.cinema-player .stream-watch-options label{display:flex;align-items:center;gap:8px;font-size:10px;margin-left:auto}.cinema-player input[type=checkbox]{accent-color:var(--accent);width:15px;height:15px}.cinema-player .stream-message{padding:10px 18px;margin:0;background:#141619;color:#b4b8c2;font-size:11px}.cinema-player .stream-message.is-error{color:var(--accent)}.cinema-player .animego-panel{border:0;border-radius:0;padding:0;margin:0;background:transparent}.cinema-player .animego-toolbar{flex-direction:column;gap:15px}.cinema-player .animego-toolbar label{min-width:0;font-size:10px;flex:auto}.cinema-player .animego-toolbar select{font-size:11px;min-height:40px;border-radius:7px}.cinema-player .animego-panel p{font-size:10px;line-height:1.85}.cinema-player #animegoRetry{font-size:10px;text-align:left;line-height:1.7}.cinema-episode-caption{display:flex;align-items:center;gap:12px;margin-bottom:10px;font-size:12px}.cinema-episode-caption span{color:var(--muted);font-size:10px}#cinemaEmbeddedEpisodes{padding:18px 22px}.cinema-player .stream-placeholder{padding:24px;background:radial-gradient(ellipse at 50% 40%,#292d35,#101217 70%);overflow:hidden}.cinema-player .stream-placeholder h3,.cinema-player .stream-placeholder p,.cinema-player .stream-placeholder .button{position:relative;z-index:1}.cinema-player .stream-placeholder h3{font-size:clamp(16px,2vw,25px);font-weight:600;letter-spacing:-.4px;max-width:82%;text-wrap:balance}.cinema-player .stream-placeholder p{font-size:11px;margin-bottom:18px;line-height:1.8;max-width:80%;color:#c6c8ce}.cinema-player .stream-placeholder .button{width:68px;height:68px;min-height:68px;border-radius:50%;padding:0;font-size:0;order:-1;margin-bottom:22px;background:#ffffffed;color:#16181d;box-shadow:0 0 0 10px #ffffff0c,0 12px 45px #0004;transition:transform .25s,box-shadow .25s}.cinema-player .stream-placeholder .button:before{content:none}.cinema-player .stream-placeholder .button:hover{transform:scale(1.08);box-shadow:0 0 0 15px #ffffff0a,0 15px 45px #0005}.cinema-preview{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55;z-index:0}.cinema-player .stream-placeholder:has(.cinema-preview):after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#090b10dd,#090b1044 70%,#090b1077);pointer-events:none}.cinema-preview.is-poster{object-fit:contain;opacity:.19;filter:blur(6px)}.cinema-shade{position:fixed;inset:0;border:0;background:#000d;z-index:100;cursor:default;animation:cinemaFade .25s ease}.cinema-on .cinema-player{position:relative;z-index:101;box-shadow:0 0 100px #000;outline:1px solid #ffffff0a}.cinema-on .cinema-mode{color:var(--accent)}.cinema-player [hidden]{display:none!important}.cinema-player button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.cinema-playing .cinema-screen-label{color:#555962;transition:color .4s}.cinema-player .player-area>video{animation:cinemaFade .35s ease}
/* Wide discovery art uses a true banner when present, otherwise an un-stretched poster composition. */
.landscape-card{min-width:0;position:relative}.landscape-cover{width:100%;padding:0;border:0;background:transparent;text-align:left;cursor:pointer;color:inherit;display:block}.landscape-art{aspect-ratio:16/9;border-radius:12px;overflow:hidden;position:relative;border:1px solid var(--line);background:radial-gradient(ellipse at 60% 50%,#3b3c44,#17191e 72%);isolation:isolate}.landscape-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#090a0de8,transparent 58%);pointer-events:none}.landscape-art>img{width:100%;height:100%;object-fit:contain;transition:transform .55s cubic-bezier(.22,1,.36,1),opacity .3s;filter:drop-shadow(0 3px 22px #0008)}.landscape-art.has-landscape>img{object-fit:cover;filter:none}.landscape-cover:hover .landscape-art>img{transform:scale(1.055)}.landscape-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-40%) scale(.85);opacity:0;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#ff725bea;color:#151515;font-size:14px;z-index:2;transition:opacity .25s,transform .25s}.landscape-cover:hover .landscape-play,.landscape-cover:focus-visible .landscape-play{opacity:1;transform:translate(-50%,-50%) scale(1)}.landscape-meta{position:absolute;left:14px;right:14px;bottom:12px;display:flex;justify-content:space-between;gap:8px;z-index:1;color:#e9e9ed;font-size:9px}.landscape-meta b{font-weight:600;color:#ffd3c9}.landscape-card .card-title-row{margin-top:13px;align-items:start}.landscape-card .card-title{font-size:13px;line-height:1.65;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;text-align:left}.landscape-card .card-meta{font-size:10px;line-height:1.6;margin-top:4px}.poster-strip:has(.landscape-card){grid-auto-columns:calc((100% - 40px)/3);gap:20px}.anime-card .card-cover{transition:box-shadow .25s,transform .25s}.anime-card:hover .card-cover{transform:translateY(-4px);box-shadow:0 15px 30px #0003}.title-page .title-hero{position:relative;border-radius:18px;isolation:isolate}.title-banner{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;opacity:.15;border-radius:18px;mask-image:linear-gradient(90deg,transparent,#000 60%);pointer-events:none}.title-page .title-tabs a{transition:color .2s,border-color .2s}.title-page .title-story{max-width:950px}.title-page .player-heading .tiny-label{display:none}.title-page .player-heading h2{font-size:22px;letter-spacing:-.5px}.title-page .title-facts{border-radius:12px;background:var(--surface);padding:20px 24px;border:1px solid var(--line);gap:25px}.title-page .title-tabs{position:relative}.title-page .title-tabs a:nth-child(2){color:var(--accent);border-bottom-color:var(--accent)}.title-page .title-story>p{line-height:1.95}.row-actions button{transition:background .2s,transform .2s}.row-actions button:hover{background:#ff725b18;transform:translateY(-2px)}@keyframes cinemaFade{from{opacity:0}to{opacity:1}}@keyframes cinemaRise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1200px){.cinema-sidebar{grid-column:2;grid-row:1/3}.cinema-layout{grid-template-columns:minmax(0,1fr) 250px}}
@media(max-width:1199px){.cinema-layout{grid-template-columns:minmax(0,1fr) 220px}.cinema-bottom{grid-column:1/-1}.cinema-current{max-width:330px}.cinema-sidebar{padding:8px 13px 13px}}
@media(max-width:760px){.cinema-player{border-radius:12px;margin:0 0 24px}.cinema-layout{display:flex;flex-direction:column}.cinema-stage{width:100%}.cinema-top{padding:12px 13px}.cinema-top strong{font-size:12px}.cinema-current{font-size:10px;max-width:170px}.cinema-mode{padding:6px 9px;min-height:34px}.cinema-mode span{font-size:0}.cinema-mode span:after{content:'Кино';font-size:10px}.cinema-mode[aria-pressed=true] span:after{content:'Выйти'}.cinema-screen-label{padding:9px 13px;font-size:7px;letter-spacing:1.8px}.cinema-sidebar{order:2;border-left:0;border-top:1px solid var(--line);padding:0 14px 10px}.cinema-tabs{margin-bottom:10px;gap:24px}.cinema-tabs button{font-size:12px;padding:14px 0 11px}.cinema-side-foot{display:none}#cinemaVoiceList{display:flex;overflow:auto;gap:8px;scrollbar-width:thin}.cinema-voice{min-width:190px;max-width:290px;padding:10px 12px;margin:0;flex-shrink:0}.cinema-voice strong{font-size:11px}.cinema-voice small{font-size:9px}.cinema-hint{font-size:9px!important;margin:8px 0 0;padding:0}.cinema-bottom{order:3}.cinema-player .stream-controls{padding:15px 14px}.cinema-player .stream-toolbar{gap:10px;display:grid;grid-template-columns:minmax(0,1fr) 110px}.cinema-player .stream-toolbar label{flex-direction:column;align-items:start;gap:6px;grid-column:auto!important;grid-row:auto!important;font-size:9px}.cinema-player .stream-toolbar select{max-width:100%;width:100%;height:39px}.cinema-player .stream-navigation{margin-top:12px;padding-top:12px}.cinema-player .stream-navigation button{font-size:10px;min-height:38px}.cinema-player .stream-episode-rail{padding-bottom:12px}.cinema-player .stream-episode-rail button{height:40px;flex-basis:40px}.cinema-player .stream-watch-options{gap:9px}.cinema-player .stream-watch-options label{margin-left:0;flex-basis:100%;font-size:10px}.cinema-player .stream-watch-options button{min-height:38px}.cinema-player .stream-placeholder{padding:15px}.cinema-player .stream-placeholder h3{font-size:14px;line-height:1.4;max-width:94%;margin-bottom:5px}.cinema-player .stream-placeholder p{font-size:9px;line-height:1.6;max-width:94%;margin-bottom:0}.cinema-player .stream-placeholder .button{width:48px;height:48px;min-height:48px;margin-bottom:14px;box-shadow:0 0 0 7px #ffffff0d}.cinema-player .stream-placeholder .button:before{font-size:17px}.cinema-player .animego-toolbar{flex-direction:row;flex-wrap:wrap;gap:12px}.cinema-player .animego-toolbar label{flex:1;min-width:130px}.cinema-player .animego-panel p{font-size:10px}.poster-strip:has(.landscape-card){grid-auto-columns:79%;gap:14px}.landscape-card .card-title{font-size:12px}.landscape-meta{left:12px;right:12px;font-size:9px}.title-page .title-facts{padding:17px 14px;gap:18px}.title-page .title-hero{border-radius:12px}.title-banner{opacity:.1}.title-page .player-heading h2{font-size:21px}.cinema-on .cinema-player{scroll-margin-top:8px}}
@media(prefers-reduced-motion:reduce){.cinema-player *,.landscape-card *,.anime-card *,.portal-section,.row-actions button{animation:none!important;transition:none!important;scroll-behavior:auto!important}.cinema-shade{animation:none}}
html[data-theme=light] .cinema-sidebar{background:#00000003}html[data-theme=light] .cinema-screen-label{background:#17191d;color:#a9acb4}

.cinema-player .cinema-bottom{grid-column:1/-1}.cinema-player .cinema-sidebar{grid-row:1}.cinema-player .stream-navigation{display:none}.cinema-transport{display:flex;gap:6px;margin-left:auto}.cinema-transport button{font-size:0;min-width:36px;min-height:36px;border:1px solid var(--line);border-radius:7px;padding:0;background:transparent;color:var(--text);cursor:pointer}.cinema-transport button:after{content:none!important}.cinema-transport button>.leyvu-icon{display:block;width:17px;height:17px}.cinema-transport button:disabled{opacity:.3;cursor:default}.cinema-transport button:hover:enabled{background:#ff725b15;color:var(--accent)}
@media(max-width:760px){.cinema-player .stream-toolbar{grid-template-columns:minmax(0,1fr) 84px auto;gap:8px}.cinema-transport{align-self:end;gap:4px}.cinema-transport button{min-width:31px;min-height:39px}.cinema-player .stream-toolbar select{padding:0 6px;font-size:10px}.cinema-player .stream-toolbar .stream-episode-label select{max-width:100%}}

.anime-card-wide .card-cover{aspect-ratio:16/9!important;height:auto!important;border-radius:12px;min-height:0}.anime-card-wide .card-cover img{object-fit:contain!important;object-position:center!important}.anime-card-wide .card-cover.has-landscape img{object-fit:cover!important}.anime-card-wide .card-caption{font-size:8px;z-index:2;bottom:10px;left:11px;right:11px}.anime-card-wide .cover-badge{font-size:7px;padding:5px 7px;z-index:2;top:9px;left:9px}.anime-card-wide .card-title{font-size:12px;line-height:1.6}.anime-card-wide .card-meta{font-size:10px}.anime-grid:has(.anime-card-wide){grid-template-columns:repeat(4,minmax(0,1fr));gap:25px 18px}.cinema-player .stream-placeholder{animation:cinemaFade .25s ease}.cinema-player .stream-watch-options button{transition:background .2s,color .2s,border-color .2s}
@media(max-width:1000px){.anime-grid:has(.anime-card-wide){grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.anime-grid:has(.anime-card-wide){grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.anime-card-wide .cover-badge{font-size:6px;padding:4px 5px;top:6px;left:6px}.anime-card-wide .card-caption{font-size:7px;left:8px;right:8px;bottom:7px}.anime-card-wide .card-title{font-size:11px}.anime-card-wide .card-meta{font-size:9px}.anime-card-wide .card-cover{border-radius:8px}}

/* Keep episode, quality and transport on one baseline at every width. */
.cinema-player .stream-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 130px auto;align-items:end;gap:14px}.cinema-player .stream-toolbar label{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;white-space:normal}.cinema-player .stream-toolbar label:first-child{display:none}.cinema-player .stream-toolbar select{width:100%;max-width:none;height:40px;min-height:40px;font-size:12px}.cinema-player .cinema-transport{margin:0;align-self:end;gap:7px}.cinema-player .cinema-transport button{width:40px;height:40px;min-height:40px}.cinema-player .stream-episodes>label{justify-content:flex-start;align-items:center;gap:14px;margin:18px 0 12px}.cinema-player .stream-episodes input{width:130px;height:36px;min-height:36px}.cinema-player .stream-episode-rail{clear:both}
@media(max-width:760px){.cinema-player .stream-toolbar{grid-template-columns:minmax(0,1fr) 90px auto;gap:9px}.cinema-player .stream-toolbar label{gap:7px;font-size:10px}.cinema-player .stream-toolbar select{font-size:11px}.cinema-player .cinema-transport{gap:5px}.cinema-player .cinema-transport button{width:32px;min-width:32px}.cinema-player .stream-episodes>label{margin-top:16px;font-size:11px}}
@media(max-width:380px){.cinema-player .stream-toolbar{grid-template-columns:minmax(0,1fr) 82px;gap:10px}.cinema-player .cinema-transport{grid-column:1/-1;justify-content:flex-end}.cinema-player .cinema-transport button{width:40px}}
/* Keep a large Kodik translation list inside the player sidebar. */
#cinemaVoiceList{max-height:360px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ff725b70 transparent}
#cinemaSources #animegoVoiceLabel{display:none}
@media(max-width:760px){#cinemaVoiceList{max-height:none}}

/* Keep player navigation and source selectors optically centered. */
.episode-controls{gap:12px}
.episode-controls>.text-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;line-height:1.3}
.episode-controls>.text-button>.leyvu-icon{display:block;width:16px;height:16px;flex:none}
.cinema-voice-check{display:grid;place-items:center;width:18px;height:18px;line-height:0;font-size:0}
.cinema-voice-check>.leyvu-icon{display:block;width:16px;height:16px}
.cinema-transport button>span{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;padding:0}
.cinema-transport button{position:relative}
.cinema-player .stream-placeholder .button>span{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;padding:0}
.cinema-player .stream-placeholder .button{position:relative}
/* enhanced-motion.css */
/* Interaction motion stays on transforms/opacity; video controls remain untouched. */
:root{--motion-ease:cubic-bezier(.22,1,.36,1)}.button,.filter,.text-button,.card-save,.cinema-mode,.pd-sidebar button{transition:color .22s,background-color .22s,border-color .22s,box-shadow .28s,translate .28s var(--motion-ease)}.button.primary:hover{box-shadow:0 7px 25px #ff725b2b}.button:active,.filter:active{translate:0 1px}.card-save.saved{color:var(--accent)}.card-cover img,.landscape-art>img{transition:transform .65s var(--motion-ease),opacity .3s}.card-cover,.landscape-art{isolation:isolate}.motion-spotlight:before{content:'';position:absolute;inset:0;z-index:3;pointer-events:none;border-radius:inherit;background:radial-gradient(230px circle at var(--light-x,50%) var(--light-y,25%),#ffffff25,transparent 75%);opacity:0;transition:opacity .35s}.motion-spotlight:hover:before{opacity:1}.card-title{transition:color .2s}.anime-card:hover .card-title,.landscape-card:hover .card-title{color:var(--accent)}.collection-tile{transition:translate .4s var(--motion-ease),box-shadow .4s,border-color .3s}.collection-tile:hover{translate:0 -5px;box-shadow:0 16px 35px #0002}.cinema-tabs button,.title-tabs a{position:relative;transition:color .25s,border-color .25s}.cinema-tabs button:after{content:'';position:absolute;bottom:-2px;left:0;right:0;height:2px;background:var(--accent);transform:scaleX(0);transform-origin:center;transition:transform .35s var(--motion-ease);box-shadow:0 0 12px #ff725b30}.cinema-tabs button[aria-selected=true]:after{transform:scaleX(1)}.stream-episode-rail button{transition:background-color .25s,box-shadow .25s,translate .25s var(--motion-ease)!important}.stream-episode-rail button[aria-pressed=true]{box-shadow:0 3px 18px #ff725b35}.quick-search[open],.small-dialog[open]{animation:leyvu-dialog-in .3s var(--motion-ease)}.quick-search::backdrop,.small-dialog::backdrop{animation:leyvu-backdrop-in .25s ease}.toast{transition:opacity .3s,transform .4s var(--motion-ease)}.pd-cover{transition:background-color .4s}.pd-sidebar button:hover{background:#ff725b0d}.pd-sidebar button[aria-pressed=true]{box-shadow:inset 3px 0 var(--accent)}@keyframes leyvu-dialog-in{from{opacity:0;transform:translateY(15px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes leyvu-backdrop-in{from{opacity:0}to{opacity:1}}
@media(hover:hover) and (pointer:fine){.button:hover{translate:0 -2px}.card-cover:hover img,.landscape-cover:hover img{transform:scale(1.055)}}
@media(hover:none){.collection-tile:hover{translate:0;box-shadow:none}.motion-spotlight:before{display:none}}
@media(prefers-reduced-motion:reduce){.button,.filter,.text-button,.card-save,.cinema-mode,.pd-sidebar button,.card-cover,.card-cover img,.landscape-art>img,.collection-tile,.cinema-tabs button,.title-tabs a,.stream-episode-rail button,.toast{transition:none!important;animation:none!important;translate:none!important}.motion-spotlight:before{display:none}.quick-search[open],.small-dialog[open],.quick-search::backdrop,.small-dialog::backdrop{animation:none!important}}
/* home-cinematic.css */
/* Cinematic home: broad scene, editorial typography, next titles and a poster shelf. */
.home-cinematic{background:#0d0f12}.home-cinematic .header{background:#0d0f12;border-bottom:0;height:82px}.hero.hero-cinematic{width:calc(100% - 64px);max-width:1390px;height:clamp(550px,65vh,690px);min-height:550px;margin:10px auto 0;border-radius:22px;border:1px solid #ffffff12;background:#14171d;box-shadow:0 24px 80px #0004}.hero-cinematic .hero-art{height:100%;object-fit:cover;object-position:60% 40%;opacity:1}.hero-cinematic .hero-shade{background:linear-gradient(90deg,#080b10ef 0%,#080b10ca 25%,#080b1066 48%,#080b1008 70%),linear-gradient(0deg,#0a0c12f2,transparent 45%),linear-gradient(270deg,#090c1255,transparent 35%)!important}.hero-cinematic:after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;z-index:1;box-shadow:inset 0 0 0 1px #ffffff06;background:linear-gradient(120deg,#ffffff03,transparent 45%)}.spotlight-topline{position:absolute;left:56px;right:42px;top:30px;z-index:3;display:flex;justify-content:space-between;align-items:center}.spotlight-topline>span{display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:2.2px;font-weight:650;color:#dddfe5}.spotlight-topline b{width:5px;height:5px;background:var(--accent);border-radius:50%;box-shadow:0 0 18px #ff725b75}.spotlight-topline>a{font-size:10px;color:#d2d4db;display:flex;gap:14px;align-items:center}.spotlight-topline>a>span{font-size:15px;color:var(--accent)}.hero-cinematic .hero-content{margin:0;width:60%;max-width:760px!important;padding:94px 0 86px 56px;position:relative;inset:auto;color:#f5f5f7}.hero-cinematic .hero-original{margin:0 0 16px!important;font-size:9px!important;letter-spacing:1.7px;color:#c4c7d0;opacity:.8;max-width:530px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hero-cinematic .hero-identity{display:block;margin:0 0 23px}.hero-cinematic .hero-identity #heroPoster{display:none}.hero-cinematic .hero-identity #heroTitle{font-size:clamp(35px,4.3vw,65px);font-weight:800;letter-spacing:-1.9px;line-height:1.04;max-width:630px;margin:0!important;text-wrap:balance;text-shadow:0 4px 30px #0003}.hero-cinematic .hero-meta{font-size:11px;gap:11px;color:#d2d4dc;line-height:1.7;max-width:520px;flex-wrap:wrap}.hero-cinematic .hero-meta span:first-child{border:1px solid #ffffff35;padding:3px 8px;border-radius:5px;color:#f1f1f5;font-size:10px}.hero-cinematic .hero-meta i{background:#d7d9df80}.hero-cinematic .hero-description{font-size:12px;line-height:1.9;color:#c0c4cf;max-width:440px;margin:21px 0 26px;-webkit-line-clamp:3}.hero-cinematic .hero-buttons{gap:9px;flex-wrap:wrap;max-width:520px}.hero-cinematic .hero-buttons .button{min-height:44px;font-size:11px;padding:0 21px;border-radius:8px}.hero-cinematic .hero-buttons .button.primary{background:var(--accent);color:#141414;border-color:transparent;box-shadow:0 6px 30px #ff725b22}.hero-cinematic .hero-buttons .button.secondary{background:#ffffff0a;border-color:#ffffff23;backdrop-filter:blur(12px);color:#f4f4f6}.hero-cinematic #heroTrailer{font-size:10px;padding:0 13px}.hero-cinematic .hero-source{margin-top:18px;font-size:9px;letter-spacing:.2px;color:#b3b6c0}.hero-cinematic .hero-bottom{left:56px!important;right:42px!important;bottom:24px!important;justify-content:space-between!important;z-index:3}.spotlight-count{display:flex;align-items:center;gap:12px;color:#9298a6;font-size:10px;letter-spacing:1px}.spotlight-count>span:first-child{font-size:20px;color:#f1f2f6;font-weight:700;letter-spacing:-.6px}.spotlight-divider{display:block;width:29px;height:1px;background:#ffffff32}.hero-cinematic .hero-pagination{gap:8px}.hero-cinematic .hero-track{width:31px;height:25px}.hero-cinematic .hero-track.active{width:58px}.hero-cinematic .hero-track:before,.hero-cinematic .hero-track i{height:3px;top:11px}.hero-cinematic .hero-edge{width:28px;height:44px;border:1px solid #ffffff19;border-radius:8px;background:#090b1044;backdrop-filter:blur(6px);font-size:23px;color:#eee;z-index:4;top:49%;transition:background .2s,border-color .2s}.hero-cinematic .hero-edge:hover{background:#ff725b44;border-color:#ff725b55}.hero-cinematic .hero-edge.prev{left:12px}.hero-cinematic .hero-edge.next{right:12px}.spotlight-previews{position:absolute;right:42px;top:91px;bottom:78px;width:218px;z-index:3;display:flex;flex-direction:column;justify-content:center;gap:13px}.hero-preview{display:block;flex:0 1 auto;width:100%;aspect-ratio:16/9;max-height:126px;min-height:0;overflow:hidden;padding:0;position:relative;background:#14171d;border:1px solid #ffffff28;border-radius:10px;text-align:left;cursor:pointer;color:#fff;isolation:isolate;box-shadow:0 8px 22px #0004;opacity:.67;transition:opacity .25s,translate .35s var(--motion-ease),border-color .25s,box-shadow .25s}.hero-preview:hover{opacity:1;translate:-4px 0;border-color:#ffffff88}.hero-preview.active{opacity:1;border-color:#ff725ba0;box-shadow:0 0 0 2px #ff725b15,0 10px 28px #0005}.hero-preview>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s var(--motion-ease)}.hero-preview:hover>img{transform:scale(1.05)}.hero-preview-shade{position:absolute;inset:0;background:linear-gradient(0deg,#080b10ec,transparent 90%)}.hero-preview-copy{position:absolute;bottom:13px;left:13px;right:24px;display:flex;flex-direction:column;gap:6px;pointer-events:none}.hero-preview-copy small{font-size:6px;letter-spacing:1.2px;color:#d1d2d8;font-weight:650}.hero-preview-copy strong{font-size:11px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:650;text-shadow:0 2px 10px #0006}.hero-preview-arrow{position:absolute;right:10px;top:8px;font-size:12px;color:#fff;opacity:.8}.hero-preview>i{position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--accent);transition:width .1s linear}.hero-preview:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.spotlight-shelf{position:relative;z-index:2;width:calc(100% - 112px);max-width:1294px;margin:24px auto 9px;padding:0 0 22px;border-bottom:1px solid #ffffff0c}.spotlight-shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.spotlight-shelf-heading h2{font-size:18px;letter-spacing:-.4px;font-weight:600;margin:0}.spotlight-shelf .row-actions{gap:9px}.spotlight-shelf .row-actions a{font-size:10px;margin-right:14px}.spotlight-shelf .row-actions button{width:29px;height:29px;border-radius:7px;font-size:18px}.spotlight-poster-strip{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 108px)/7);gap:18px;overflow:auto;scrollbar-width:none;scroll-snap-type:x mandatory;padding:5px 1px 9px}.spotlight-poster-strip::-webkit-scrollbar{display:none}.spotlight-poster-strip .anime-card{scroll-snap-align:start;min-width:0}.spotlight-poster-strip .card-cover{aspect-ratio:2/3;border-radius:9px}.spotlight-poster-strip .card-caption,.spotlight-poster-strip .cover-badge,.spotlight-poster-strip .card-meta,.spotlight-poster-strip .card-personal{display:none}.spotlight-poster-strip .card-title-row{margin-top:11px;gap:4px;align-items:start}.spotlight-poster-strip .card-title{font-size:10px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:left}.spotlight-poster-strip .card-save{width:22px;height:23px;min-width:22px;padding:4px}.spotlight-poster-strip .card-save svg{width:13px;height:13px}.home-cinematic #featuredRows .portal-section:has(#popularStrip){display:none}.home-cinematic #personalHome .upcoming-week.is-empty{display:none}.home-cinematic #personalHome:empty{display:none}.home-cinematic #personalHome{margin-top:20px}.home-cinematic #featuredRows .portal-section{margin-top:30px}.home-cinematic .hero-trailer-panel{border-radius:inherit}.home-cinematic .page-content{max-width:1406px;padding-left:56px;padding-right:56px}
@media(min-width:1600px){.hero.hero-cinematic{height:650px}.hero-cinematic .hero-content{padding-top:114px}.spotlight-previews{width:245px;right:52px;gap:16px}.hero-preview{max-height:138px}}
@media(max-width:1100px){.hero.hero-cinematic{width:calc(100% - 40px);height:590px;min-height:590px}.hero-cinematic .hero-content{width:65%;padding-left:40px;padding-top:94px}.hero-cinematic .hero-identity #heroTitle{font-size:43px;max-width:480px}.hero-cinematic .hero-description{max-width:360px}.spotlight-topline{left:40px;right:33px}.spotlight-previews{width:180px;right:33px;top:111px;gap:13px}.hero-preview{max-height:103px}.hero-cinematic .hero-bottom{left:40px!important;right:33px!important}.hero-cinematic .hero-buttons .button{padding:0 16px;min-height:42px}.spotlight-shelf{width:calc(100% - 80px)}.spotlight-poster-strip{grid-auto-columns:calc((100% - 90px)/6);gap:18px}.home-cinematic .page-content{padding-left:40px;padding-right:40px}}
@media(max-width:820px){.spotlight-previews{display:none}.hero-cinematic .hero-content{width:83%;padding-top:98px;padding-right:0}.hero-cinematic .hero-identity #heroTitle{max-width:550px;font-size:49px}.hero-cinematic .hero-description{max-width:450px;font-size:12px}.hero-cinematic .hero-shade{background:linear-gradient(90deg,#090c11ec,#090c1188 55%,#090c1115),linear-gradient(0deg,#090c11e8,transparent 65%)!important}.spotlight-poster-strip{grid-auto-columns:calc((100% - 56px)/4.6);gap:14px}.home-cinematic .header{height:80px}}
@media(max-width:580px){.home-cinematic .header{height:112px;background:#0d0f12}.hero.hero-cinematic{width:calc(100% - 24px);height:540px;min-height:540px;margin-top:5px;border-radius:15px;overflow:hidden}.hero-cinematic .hero-art{height:100%;object-position:62% center;opacity:1}.hero-cinematic .hero-shade{background:linear-gradient(0deg,#080b10fc 0%,#080b10e8 30%,#080b1066 65%,#080b1020 100%),linear-gradient(90deg,#080b1088,transparent 80%)!important}.spotlight-topline{left:22px;right:22px;top:21px}.spotlight-topline>span{font-size:7px;letter-spacing:1.5px;gap:7px}.spotlight-topline>a{font-size:8px;gap:7px}.spotlight-topline>a>span{font-size:13px}.hero-cinematic .hero-content{position:absolute;left:0;right:0;bottom:52px;top:auto;width:auto;max-width:none!important;padding:0 23px 0!important;margin:0}.hero-cinematic .hero-original{font-size:7px!important;max-width:100%;margin-bottom:11px!important;letter-spacing:1.2px}.hero-cinematic .hero-identity{margin-bottom:15px}.hero-cinematic .hero-identity #heroTitle{font-size:clamp(30px,8.5vw,42px);line-height:1.08;letter-spacing:-1px;max-width:none}.hero-cinematic .hero-meta{font-size:9px;gap:8px}.hero-cinematic .hero-meta span:first-child{font-size:8px;padding:2px 6px}.hero-cinematic .hero-description{font-size:10px;line-height:1.85;max-width:100%;margin:15px 0 19px;-webkit-line-clamp:3}.hero-cinematic .hero-buttons{gap:7px}.hero-cinematic .hero-buttons .button{flex:0 1 auto;font-size:10px;min-height:41px;padding:0 14px;border-radius:7px}.hero-cinematic .hero-buttons #heroSave{font-size:10px;padding:0 12px}.hero-cinematic #heroTrailer{padding:0 10px;font-size:9px!important;min-height:35px!important;flex-basis:auto}.hero-cinematic .hero-source{font-size:8px;margin-top:13px;line-height:1.5}.hero-cinematic .hero-bottom{left:23px!important;right:23px!important;bottom:14px!important}.spotlight-count{font-size:8px;gap:8px}.spotlight-count>span:first-child{font-size:15px}.spotlight-divider{width:18px}.hero-cinematic .hero-pagination{gap:5px}.hero-cinematic .hero-track{width:20px;height:24px}.hero-cinematic .hero-track.active{width:35px}.hero-cinematic .hero-track:before,.hero-cinematic .hero-track i{height:2px}.hero-cinematic .hero-edge{width:24px;height:34px;font-size:19px;top:25%;border-radius:6px;background:#090b1055}.hero-cinematic .hero-edge.prev{left:9px}.hero-cinematic .hero-edge.next{right:9px}.spotlight-shelf{width:calc(100% - 44px);margin-top:23px;padding-bottom:18px}.spotlight-shelf-heading{margin-bottom:12px}.spotlight-shelf-heading h2{font-size:16px}.spotlight-shelf .row-actions{gap:6px}.spotlight-shelf .row-actions a{font-size:9px;margin-right:4px}.spotlight-shelf .row-actions button{width:26px;height:26px;font-size:16px}.spotlight-poster-strip{grid-auto-columns:calc((100% - 30px)/3.1);gap:10px;overflow:auto}.spotlight-poster-strip .card-title{font-size:9px;line-height:1.6}.spotlight-poster-strip .card-title-row{margin-top:8px}.spotlight-poster-strip .card-save{display:none}.spotlight-poster-strip .card-cover{border-radius:7px}.home-cinematic .page-content{padding-left:22px;padding-right:22px}.home-cinematic #featuredRows .portal-section{margin-top:24px}.home-cinematic .hero-changing .hero-content{animation-duration:.4s}}
@media(prefers-reduced-motion:reduce){.hero-preview,.hero-preview>img,.hero-preview>i,.hero-cinematic .hero-edge{transition:none!important}.hero-preview:hover{translate:none}}
html[data-theme=light] .home-cinematic{background:var(--bg)}html[data-theme=light] .home-cinematic .hero-cinematic{color:#fff}html[data-theme=light] .home-cinematic .header{background:var(--bg)}
/* Override legacy hero spacing that used !important at mobile breakpoints. */
.hero-cinematic .hero-content{padding-top:94px!important;padding-bottom:86px!important}
@media(min-width:1600px){.hero-cinematic .hero-content{padding-top:114px!important}}
@media(max-width:580px){.hero-cinematic .hero-content{position:absolute!important;top:auto!important;bottom:54px!important;padding:0 23px!important}}

/* Keep an unavailable scene's portrait poster sharp instead of enlarging it across the hero. */
.hero.hero-cinematic.hero-contained{background:radial-gradient(ellipse at 68% 40%,#303746 0%,#151922 40%,#0b0e14 80%)}
.hero-cinematic.hero-contained .hero-art{inset:50px 21% auto auto;width:min(44%,var(--hero-native-width,425px));height:calc(100% - 100px);object-fit:contain;object-position:center;transform:none}
.hero-cinematic.hero-contained .hero-shade{background:linear-gradient(90deg,#080b10f5,#080b10d9 27%,#080b1066 49%,#080b100a 72%),linear-gradient(0deg,#0a0c12d9,transparent 32%)!important}
@media(max-width:1100px){.hero-cinematic.hero-contained .hero-art{right:22%;width:min(45%,var(--hero-native-width,425px))}}
@media(max-width:820px){.hero-cinematic.hero-contained .hero-art{right:0;width:min(60%,var(--hero-native-width,425px));top:30px;height:calc(100% - 60px)}}
@media(max-width:580px){.hero-cinematic.hero-contained .hero-art{right:0;top:0;width:min(76%,var(--hero-native-width,425px));height:75%;object-position:top right}.hero-cinematic.hero-contained .hero-shade{background:linear-gradient(0deg,#080b10 0%,#080b10f2 28%,#080b1099 51%,#080b1015 85%),linear-gradient(90deg,#080b1077,transparent 85%)!important}}

/* Cover thumbnails stay distinct from the full-width episode scene. */
.hero-preview>img{width:38%;height:100%;object-fit:cover;object-position:top center;left:0;right:auto}
.hero-preview .hero-preview-shade{background:linear-gradient(90deg,transparent 25%,#10151be8 42%,#10151b 100%)}
.hero-preview .hero-preview-copy{left:43%;right:12px;bottom:18%}
.hero-preview .hero-preview-copy strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* Lucide controls: consistent optical alignment on the home rails. */
.spotlight-topline>a,.spotlight-shelf-heading .row-actions>a{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.spotlight-topline>a>.leyvu-icon,.spotlight-shelf-heading .row-actions>a>.leyvu-icon{display:block;width:14px;height:14px;flex:none}
.hero-edge{display:grid;place-items:center;padding:0;font-size:0;line-height:0}
.hero-edge>.leyvu-icon{display:block;width:18px;height:18px;flex:none}
/* hero-v2.css */
/* Hero v2: grid layout so long titles and descriptions grow the hero instead of overlapping the counter,
   plus richer preview cards. Loaded after home-cinematic.css; the hero markup, data and slide logic are unchanged. */
.home-cinematic .hero.hero-cinematic{--hero-pad-x:clamp(24px,4vw,56px);display:grid;grid-template-columns:minmax(0,1fr) clamp(300px,26vw,372px);grid-template-rows:auto minmax(0,1fr) auto;column-gap:clamp(24px,3vw,48px);height:auto;min-height:clamp(560px,66vh,700px);padding:30px calc(var(--hero-pad-x) - 8px) 26px var(--hero-pad-x);align-items:stretch}
.home-cinematic .hero.hero-cinematic>.hero-art,.home-cinematic .hero.hero-cinematic>.hero-shade{position:absolute}
.home-cinematic .hero.hero-cinematic>.spotlight-topline{position:relative;left:auto;right:auto;top:auto;grid-column:1/-1;grid-row:1;min-height:24px}
.home-cinematic .hero.hero-cinematic>.spotlight-topline>span{font-size:11px;letter-spacing:2.4px}
.home-cinematic .hero.hero-cinematic>.spotlight-topline>a{font-size:12px;padding:6px 12px;border:1px solid #ffffff1c;border-radius:999px;background:#0a0d1266;backdrop-filter:blur(8px);transition:background .2s,border-color .2s}
.home-cinematic .hero.hero-cinematic>.spotlight-topline>a:hover{background:#ff725b24;border-color:#ff725b66}
.home-cinematic .hero.hero-cinematic .hero-content{grid-column:1;grid-row:2;align-self:center;position:relative!important;inset:auto!important;width:auto!important;max-width:680px!important;margin:0!important;padding:28px 0 22px!important;min-width:0}
.home-cinematic .hero.hero-cinematic .hero-original{max-width:100%;margin:0 0 14px!important;font-size:11px!important;letter-spacing:2px;opacity:.85}
.home-cinematic .hero.hero-cinematic .hero-identity{margin:0 0 16px}
.home-cinematic .hero.hero-cinematic .hero-identity #heroTitle{font-size:clamp(34px,4.1vw,62px);letter-spacing:-1.6px;line-height:1.04;max-width:100%;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;text-wrap:balance}
.home-cinematic .hero.hero-cinematic .hero-source-rating{margin:14px 0 16px}
.home-cinematic .hero.hero-cinematic .hero-meta{max-width:none;margin:0;font-size:13px;gap:10px;align-items:center}
.home-cinematic .hero.hero-cinematic .hero-meta span:first-child{font-size:12px;padding:4px 10px;border-radius:7px;background:#ffffff0d}
.home-cinematic .hero.hero-cinematic .hero-description{max-width:min(560px,100%);margin:18px 0 24px;font-size:14px;line-height:1.7;color:#d0d3dc;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.home-cinematic .hero.hero-cinematic .hero-buttons{max-width:none;gap:10px}
.home-cinematic .hero.hero-cinematic .hero-buttons .button{min-height:48px;font-size:13px;padding:0 24px;border-radius:10px}
.home-cinematic .hero.hero-cinematic #heroTrailer{font-size:13px;padding:0 18px}
.home-cinematic .hero.hero-cinematic .hero-source{display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding:6px 12px;border:1px solid #ffffff17;border-radius:999px;background:#0a0d1266;backdrop-filter:blur(8px);font-size:12px;letter-spacing:0;color:#c6c9d3}
.home-cinematic .hero.hero-cinematic .hero-bottom{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;grid-column:1/-1;grid-row:3;display:flex;align-items:center;justify-content:space-between!important;gap:24px;padding-top:14px;border-top:1px solid #ffffff12}
.home-cinematic .hero.hero-cinematic .spotlight-count>span:first-child{font-size:22px}
.home-cinematic .hero.hero-cinematic .spotlight-count{font-size:12px}
.home-cinematic .hero.hero-cinematic .hero-pagination{margin-left:auto}
.home-cinematic .hero.hero-cinematic .hero-pagination>#heroNumber,.home-cinematic .hero.hero-cinematic .hero-pagination>.muted{display:none}

/* Preview rail */
.home-cinematic .hero.hero-cinematic .spotlight-previews{position:relative;inset:auto;right:auto;top:auto;bottom:auto;width:auto;grid-column:2;grid-row:2;align-self:center;display:flex;flex-direction:column;gap:12px;z-index:3}
.home-cinematic .hero.hero-cinematic .spotlight-rail-head{display:flex;justify-content:space-between;align-items:center;padding:0 4px 2px;font-size:11px;letter-spacing:1.6px;font-weight:650;color:#e6e9f0;text-shadow:0 1px 10px #000c,0 0 2px #0008;text-transform:uppercase}
.home-cinematic .hero.hero-cinematic .spotlight-rail-head b{color:#f1f2f6;font-weight:700;letter-spacing:.6px}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:stretch;gap:0;aspect-ratio:auto;max-height:none;min-height:132px;opacity:.82;border-radius:14px;border:1px solid #ffffff1f;background:#10141bd9;backdrop-filter:blur(14px);box-shadow:0 10px 30px #0005;translate:none;transition:opacity .25s,transform .3s var(--motion-ease),border-color .25s,background .25s,box-shadow .25s}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview:hover{opacity:1;transform:translateX(-4px);border-color:#ffffff66;background:#151a23f2}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview.active{grid-template-columns:118px minmax(0,1fr);opacity:1;min-height:176px;border-color:#ff725bb0;background:#161a22f5;box-shadow:0 0 0 3px #ff725b1a,0 16px 40px #0007}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview>img{position:relative;inset:auto;width:100%;height:100%;min-height:132px;object-fit:cover;object-position:top center}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview.active>img{min-height:176px}
.hero-preview-body{display:flex;flex-direction:column;gap:7px;padding:14px 38px 16px 14px;min-width:0;pointer-events:none}
.hero-preview-kicker{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1.4px;font-weight:700;color:#98a0b0;text-transform:uppercase}
.hero-preview.active .hero-preview-kicker{color:var(--accent)}
.hero-preview-kicker .live-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px #ff725b99}
.hero-preview-body strong{font-size:15px;line-height:1.3;font-weight:700;color:#f5f6f9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-preview.active .hero-preview-body strong{font-size:16px}
.hero-preview-meta{font-size:12px;color:#aab0be}
.hero-preview-tags{display:flex;flex-wrap:wrap;gap:6px}
.hero-preview-tags em{font-style:normal;font-size:11px;padding:3px 9px;border-radius:999px;background:#ffffff10;color:#d4d7e0;white-space:nowrap}
.hero-preview-text{margin:0;font-size:12px;line-height:1.55;color:#aeb4c1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-preview:not(.active) .hero-preview-text{display:none}
.hero-preview-foot{display:flex;align-items:center;gap:10px;margin-top:auto;font-size:12px;color:#c3c8d3}
.hero-preview-foot .rating-slot:empty{display:none}
.hero-preview-foot .source-rating{font-size:12px}
.hero-preview-eps{padding:3px 9px;border-radius:999px;border:1px solid #ffffff1c;font-size:11px;white-space:nowrap}
.hero-preview-arrow{position:absolute;right:12px;top:12px;width:18px;height:18px;color:#fff;opacity:.7;transition:opacity .2s,transform .2s;pointer-events:none}
.hero-preview:hover .hero-preview-arrow{opacity:1;transform:translate(2px,-2px)}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview>i{height:3px;border-radius:0 3px 3px 0}

/* Tablet: the rail moves below the copy as a row of cards; the hero stays one grid. */
@media(max-width:1100px){
 .home-cinematic .hero.hero-cinematic{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;min-height:0;padding:26px var(--hero-pad-x) 22px}
 .home-cinematic .hero.hero-cinematic .hero-content{grid-row:2;max-width:640px!important;padding:56px 0 18px!important}
 .home-cinematic .hero.hero-cinematic .spotlight-previews{display:grid!important;grid-column:1;grid-row:3;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-self:stretch}
 .home-cinematic .hero.hero-cinematic .spotlight-rail-head{display:none}
 .home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview,.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview.active{grid-template-columns:75px minmax(0,1fr);min-height:112px}
 .home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview>img,.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview.active>img{min-height:112px}
 .home-cinematic .hero.hero-cinematic .hero-bottom{grid-row:4;margin-top:14px}
 .hero-preview-body{padding:10px 30px 12px 10px}
 .hero-preview-tags,.hero-preview-text,.hero-preview.active .hero-preview-text{display:none}
 .hero-preview-body strong,.hero-preview.active .hero-preview-body strong{font-size:13px}
}
@media(max-width:820px){
 .home-cinematic .hero.hero-cinematic .spotlight-previews{display:none!important}
 .home-cinematic .hero.hero-cinematic .hero-edge{top:auto;bottom:16px;width:36px;height:36px;z-index:5}
 .home-cinematic .hero.hero-cinematic .hero-edge.prev{left:auto;right:64px}
 .home-cinematic .hero.hero-cinematic .hero-edge.next{right:20px}
 .home-cinematic .hero.hero-cinematic .hero-bottom{padding-right:96px;min-height:36px}
 .home-cinematic .hero.hero-cinematic .hero-content{max-width:none!important}
 .home-cinematic .hero.hero-cinematic .hero-bottom{grid-row:3;margin-top:0}
}
@media(max-width:580px){
 .home-cinematic .hero.hero-cinematic{--hero-pad-x:20px;min-height:min(640px,calc(100svh - 150px));padding:20px 20px 18px}
 .home-cinematic .hero.hero-cinematic .hero-content{align-self:end;padding:150px 0 16px!important}
 .home-cinematic .hero.hero-cinematic .hero-identity #heroTitle{font-size:clamp(30px,9vw,40px)}
 .home-cinematic .hero.hero-cinematic .hero-description{font-size:13px;-webkit-line-clamp:3}
 .home-cinematic .hero.hero-cinematic .hero-buttons .button{min-height:46px;padding:0 18px}
 .home-cinematic .hero.hero-cinematic>.spotlight-topline>a{display:none}
}
@media(min-width:1600px){
 .home-cinematic .hero.hero-cinematic{min-height:700px}
 .home-cinematic .hero.hero-cinematic .hero-description{-webkit-line-clamp:4}
}
@media(prefers-reduced-motion:reduce){.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview,.hero-preview-arrow{transition:none!important}.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview:hover{transform:none}}

/* First paint: the cinematic layout is applied by an inline script, so the hero keeps its size when the real
   slide is rendered. Until then the stale static copy stays hidden (revealed after 6s if scripts fail). */
@media(min-width:1101px){.home-cinematic .hero.hero-cinematic{grid-template-rows:32px minmax(0,1fr) auto}}
.home-cinematic .hero.hero-cinematic>.spotlight-topline{min-height:32px}
.home-cinematic .hero.hero-cinematic .hero-bottom{min-height:56px}
@keyframes hero-reveal{to{opacity:1}}
.hero-pending .hero.hero-cinematic:not(.hero-ready) .hero-content,.hero-pending .hero.hero-cinematic:not(.hero-ready) .hero-bottom{opacity:0;animation:hero-reveal .2s 6s forwards}
.hero.hero-cinematic.hero-ready .hero-content{animation:none}

/* Hide the static catalogue block until the router has chosen the view (it used to flash under the hero). */
.hero-pending #home>.page-content,.hero-pending footer{display:none}

/* Desktop: fixed card heights make the hero the same size before and after the slide is rendered. */
@media(min-width:1101px){
 .home-cinematic .hero.hero-cinematic{min-height:680px}
 .home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview{height:140px;min-height:0;overflow:hidden}
 .home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview.active{height:200px;min-height:0}
 .home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview>img,.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview.active>img{min-height:0;height:100%}
 .hero-preview-body{gap:6px;padding:12px 34px 12px 14px}
 .hero-preview:not(.active) .hero-preview-tags,.hero-preview.active .hero-preview-meta{display:none}
 .hero-preview-body strong{-webkit-line-clamp:2}
}
@media(min-width:1600px){.home-cinematic .hero.hero-cinematic{min-height:700px}}

/* Hero v4 (owner request 2026-10-25: rework «Актуальное», lighter and more current; owner delegated the choice).
   The right column is now a grid of the next posters ("Далее"): every tile is a full poster with the title over a shade, so text can never
   collide with the image. The slide on screen is already shown big on the left, so it is not repeated in the rail. No blur, no descriptions,
   no tags in the rail: fewer nodes and a cheaper repaint when returning to the home tab. Same slide logic as before. */
.home-cinematic .hero.hero-cinematic .spotlight-previews{display:flex;flex-direction:column;gap:10px;contain:layout paint}
.home-cinematic .hero.hero-cinematic .spotlight-rail-head{padding:0 2px;font-size:11px;letter-spacing:1.8px}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview{position:relative;display:block;aspect-ratio:3/4;height:auto;min-height:0;max-height:none;padding:0;overflow:hidden;isolation:isolate;border-radius:14px;border:1px solid #ffffff24;background:#0d1117;opacity:1;transform:none;transition:transform .25s,border-color .25s,box-shadow .25s}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview:hover,.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview:focus-visible{transform:translateY(-3px);border-color:var(--accent,#ff725b);box-shadow:0 14px 30px #0008}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview>img{position:absolute!important;inset:0;width:100%!important;height:100%!important;min-height:0;object-fit:cover;object-position:center top;border-radius:0}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview::after{content:"";position:absolute;inset:auto 0 0 0;height:62%;background:linear-gradient(to top,#05070bf2,#05070b00);pointer-events:none}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview-body{position:absolute;inset:auto 0 0 0;z-index:1;display:flex;flex-direction:column;gap:3px;padding:10px 10px 11px;min-width:0;text-align:left;pointer-events:none}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview-kicker{font-size:9px;letter-spacing:1.2px;color:#d9dde6;opacity:.85}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview-body strong{font-size:13px;line-height:1.25;color:#fff;-webkit-line-clamp:2;text-shadow:0 1px 8px #000a}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview-meta{display:block;font-size:11px;color:#c7ccd8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview-foot{margin:2px 0 0;overflow:hidden;flex-wrap:nowrap;gap:6px}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview-eps{display:none}
.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview>i{display:none}
@media(min-width:1101px){
 .home-cinematic .hero.hero-cinematic .spotlight-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-content:center}
 .home-cinematic .hero.hero-cinematic .spotlight-previews .spotlight-rail-head{grid-column:1/-1}
 .home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview{height:auto}
}
/* Tablet: one horizontal strip under the copy. */
@media(max-width:1100px){
 .home-cinematic .hero.hero-cinematic .spotlight-previews{flex-direction:row;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px;scrollbar-width:none;display:flex!important;width:100%;align-self:stretch;justify-content:flex-start}
 .home-cinematic .hero.hero-cinematic .spotlight-previews::-webkit-scrollbar{display:none}
 .home-cinematic .hero.hero-cinematic .spotlight-previews .spotlight-rail-head{display:none}
 .home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview{flex:0 0 132px;scroll-snap-align:start}
}
/* Phones keep the rail hidden (it is added after first paint and would shift the layout). */
@media(max-width:820px){.home-cinematic .hero.hero-cinematic .spotlight-previews{display:none!important}}
@media(prefers-reduced-motion:reduce){.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview{transition:none!important}.home-cinematic .hero.hero-cinematic .spotlight-previews .hero-preview:hover{transform:none}}

/* Motion: the copy slides in and the artwork settles on every slide change; the rail tiles stay put (they used to replay and looked like flashing). Compositor-only
   properties (opacity, transform), skipped for reduced motion. */
@keyframes hero-copy-in{from{opacity:0;transform:translate3d(0,14px,0)}to{opacity:1;transform:none}}
@keyframes hero-art-in{from{opacity:0;transform:scale(1.04)}to{opacity:1;transform:none}}
@keyframes hero-tile-in{from{opacity:0;transform:translate3d(10px,0,0) scale(.97)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:no-preference){
 .hero.hero-cinematic.hero-ready.hero-swap .hero-content>*{animation:hero-copy-in .6s cubic-bezier(.2,.8,.2,1) both}
 .hero.hero-cinematic.hero-ready.hero-swap .hero-content>*:nth-child(2){animation-delay:.04s}
 .hero.hero-cinematic.hero-ready.hero-swap .hero-content>*:nth-child(3){animation-delay:.08s}
 .hero.hero-cinematic.hero-ready.hero-swap .hero-content>*:nth-child(n+4){animation-delay:.12s}
 .hero-cinematic .hero-pagination .slide,.hero-cinematic .hero-track{transition:flex-basis .35s cubic-bezier(.2,.8,.2,1),background-color .3s}
}

/* Owner request: no side arrows (swipe, keyboard, the dashes and the next-poster tiles remain). The tile is a link to the title. */
.hero.hero-cinematic>.hero-edge{display:none!important}
.home-cinematic .hero.hero-cinematic .spotlight-previews a.hero-preview{display:block;color:inherit;text-decoration:none;cursor:pointer}

/* Anivox-inspired motion (adapted, own code): the main buttons answer touch and hover (the petals were removed at the owner's request). */
@media(prefers-reduced-motion:no-preference){
 .home-cinematic .hero.hero-cinematic .hero-buttons .button{transition:transform .2s cubic-bezier(.2,.8,.2,1),background-color .2s,border-color .2s,box-shadow .25s}
 .home-cinematic .hero.hero-cinematic .hero-buttons .button:hover{transform:translateY(-2px)}
 .home-cinematic .hero.hero-cinematic .hero-buttons .button.primary:hover{box-shadow:0 10px 28px #ff725b55}
 .home-cinematic .hero.hero-cinematic .hero-buttons .button:active{transform:scale(.96)}
 .home-cinematic .hero.hero-cinematic #heroSave .leyvu-icon{transition:transform .3s cubic-bezier(.2,.8,.2,1)}
 .home-cinematic .hero.hero-cinematic #heroSave:hover .leyvu-icon{transform:rotate(90deg)}
}

/* Smoother hero photo change (owner report: the photos switch too abruptly and the progress dashes jump). The artwork now cross-fades with a
   slight settle instead of sliding 35px, and the active dash grows continuously between the 100 ms ticks of the slideshow timer. */
@keyframes leyvu-slide-art{from{opacity:0;transform:scale(1.035)}to{opacity:1;transform:none}}
@keyframes leyvu-slide-out{from{opacity:1}to{opacity:0}}
.hero.hero-cinematic .hero-art{will-change:opacity,transform}
.hero-image-ready .hero-art:not(.hero-art-previous){animation-timing-function:cubic-bezier(.4,0,.2,1)!important}
.hero-image-ready .hero-art-previous{animation-timing-function:cubic-bezier(.4,0,.2,1)!important}
.hero-cinematic .hero-pagination .hero-track i{transition:width .12s linear}
@media(prefers-reduced-motion:reduce){.hero-cinematic .hero-pagination .hero-track i{transition:none}.hero.hero-cinematic .hero-art{will-change:auto}}

/* Fixed hero size (owner report: a long description made the block grow and shrink between slides). The height no longer depends on the
   copy; the title and description are already clamped, so long text is cut with an ellipsis instead of pushing the layout. */
@media(min-width:1101px){
 .home-cinematic .hero.hero-cinematic{height:680px;overflow:hidden}
 .home-cinematic .hero.hero-cinematic .hero-identity #heroTitle{font-size:clamp(32px,3.7vw,56px);-webkit-line-clamp:3}
}
@media(min-width:1600px){.home-cinematic .hero.hero-cinematic{height:700px}}
@media(min-width:821px) and (max-width:1100px){
 .home-cinematic .hero.hero-cinematic{min-height:820px}
}
/* readability.css */
/* Readability floor (audit 2026-10-25): 91% of text on the home page was under 12px. Body copy >= 14px,
   captions and meta >= 12px, uppercase micro-labels >= 11px. One override layer, loaded last. */

/* Cards (home, catalogue, related titles) */
html body .anime-card .card-title,html body .card-title-row .card-title{font-size:14px!important;line-height:1.4!important}
html body .anime-card .card-meta{font-size:12px!important;line-height:1.5!important}
html body .card-caption>span,html body .card-caption span{font-size:12px!important}
html body .source-rating .rating-score,html body .source-rating b.rating-score{font-size:13px!important}
html body .source-rating .rating-votes{font-size:11px!important}
html body .cover-badge,html body .cover-badge.local{font-size:11px!important}

/* "Выход серий" panel on the home page */
html body .schedule-entry-copy strong{font-size:13px!important;line-height:1.35!important}
html body .schedule-entry-copy small{font-size:12px!important}
html body .schedule-when>span,html body .schedule-when>small{font-size:12px!important}
html body .schedule-days>button{font-size:12px!important}
html body .schedule-eyebrow{font-size:11px!important}

/* Title page */
html body .title-story-card small{font-size:12px!important}
html body .title-tags>span{font-size:12px!important}
html body .title-facts>span{font-size:12px!important}
html body .title-facts>strong{font-size:14px!important}
html body .title-tabs>a{font-size:13px!important}
html body .cinema-voice-group{font-size:11px!important}
html body .v3-discussion-context label,html body .advanced-panel label,html body .form-pair label,html body form label{font-size:12px!important}

/* Calendar and pickers */
html body .calendar-day>span{font-size:12px!important}
html body button.picker-result small{font-size:12px!important}
html body details.calendar-source p,html body details.calendar-help p{font-size:12px!important;line-height:1.6!important}

/* Footer and section headers */
html body .leyvu-footer a,html body .leyvu-footer__group a,html body .footer-mail{font-size:13px!important}
html body .leyvu-footer p,html body .leyvu-footer__brand p{font-size:12px!important;line-height:1.6!important}
html body .leyvu-footer__group h2,html body .leyvu-footer h2{font-size:11px!important}
html body .row-actions>a,html body .section-link,html body .spotlight-shelf-heading .row-actions>a{font-size:12px!important}
html body .tiny-label{font-size:11px!important}
html body .collection-bottom{font-size:11px!important}

/* /new and hero preview cards */
html body .seo-cards>span{font-size:12px!important}
html body .hero-preview-kicker,html body .hero-preview-eps{font-size:11px!important}
html body .hero-original{font-size:12px!important}

/* Catalogue filter panel: the reset button's inner span was 20px next to 9-10px siblings */
html body #resetAdvanced{font-size:13px!important}
html body #resetAdvanced span{font-size:inherit!important}
html body .advanced-panel h3{font-size:14px!important}
html body .advanced-panel>p,html body .advanced-panel p,html body .filter-foot{font-size:12px!important;line-height:1.6!important}

/* Form controls: 13px on desktop, 16px on touch widths so iOS Safari does not zoom the page when a field is focused */
html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),html body select,html body textarea{font-size:13px!important}
html body select option{font-size:inherit!important}
@media(max-width:820px){
 html body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),html body select,html body textarea{font-size:16px!important}
}

/* Cover captions sit on posters: keep them legible on bright artwork */
html body .card-caption>span{text-shadow:0 1px 6px #000c,0 0 2px #0009}
html body .filter-foot{margin-bottom:14px!important}
/* title-watch.css */
/* Title page call to action, chips and collapsible description (stage D). */
.title-cta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 20px}
html body .title-watch-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 28px;border-radius:12px;background:linear-gradient(135deg,#ff725b,#ff4f6d);color:#fff;font-size:15px;font-weight:700;letter-spacing:0;text-decoration:none;box-shadow:0 8px 28px #ff4f6d40,0 0 0 1px #ffffff1a inset;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
html body .title-watch-button svg{width:20px;height:20px;flex:none}
html body .title-watch-button:hover{transform:translateY(-1px);box-shadow:0 12px 34px #ff4f6d66,0 0 0 1px #ffffff26 inset;filter:brightness(1.06)}
html body .title-watch-button:active{transform:translateY(0)}
html body .title-watch-button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.title-chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 4px}
.title-chips[hidden]{display:none}
html body .title-chips>span{display:inline-flex;align-items:center;min-height:28px;padding:0 11px;border:1px solid #ffffff1f;border-radius:999px;background:#ffffff0d;color:#d6d9e0;font-size:12px;font-weight:600}
/* description: four lines until "Читать далее" */
html body .title-page .title-summary>#watchDescription:not(.is-open){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;margin-bottom:6px}
html body .title-more{display:inline-block;margin:0 0 18px;padding:6px 0;border:0;background:none;color:var(--accent,#ff725b);font-size:13px;font-weight:600;cursor:pointer}
html body .title-more[hidden]{display:none}
html body .title-more:hover{text-decoration:underline}
@media(max-width:820px){
 .title-cta{margin-top:4px}
 html body .title-watch-button{flex:1 1 100%;min-height:54px}
}
@media(prefers-reduced-motion:reduce){html body .title-watch-button{transition:none}html body .title-watch-button:hover{transform:none}}

.title-cta[hidden]{display:none}

/* Personal controls (status, collection): the old two-column grid had a 190px + 300px minimum and spilled out of the
   card on tablets. Columns now wrap by available width instead. */
html body .title-page .title-bottom-controls .personal-controls{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important;width:100%}
html body .title-page .title-bottom-controls .personal-controls select{width:100%!important;min-width:0}
html body .title-page .title-bottom-controls .personal-controls .add-to-collection{display:flex;flex-wrap:wrap;gap:8px;min-width:0;width:100%}
html body .title-page .title-bottom-controls .personal-controls .add-to-collection>select{flex:1 1 150px;min-width:0}
html body .title-page .title-bottom-controls .personal-controls .add-to-collection>button{flex:0 0 auto;max-width:100%}
/* motion-v2.css */
/* Motion and glow layer (stage "visuals"): additive, transform/opacity/box-shadow only, so it never shifts layout.
   Everything is gated by hover capability and by prefers-reduced-motion. Loaded after readability.css. */
:root{--ease-out:cubic-bezier(.22,1,.36,1);--glow:255 114 91}

@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 /* cover cards: lift, soft accent glow, slow zoom of the artwork */
 html body .anime-card .card-cover{transition:transform .38s var(--ease-out),box-shadow .38s var(--ease-out)!important;will-change:transform}
 html body .anime-card .card-cover img{transition:transform .7s var(--ease-out)}
 html body .anime-card:hover .card-cover,html body .anime-card:focus-within .card-cover{transform:translateY(-6px);box-shadow:0 22px 40px -16px #000a,0 0 0 1px rgb(var(--glow)/.38),0 12px 38px -12px rgb(var(--glow)/.42)!important}
 html body .anime-card:hover .card-cover img{transform:scale(1.045)}
 /* shelf arrows and icon buttons */
 html body .icon-button{transition:background .2s,border-color .2s,box-shadow .25s,transform .2s var(--ease-out)}
 html body .icon-button:hover{box-shadow:0 0 0 1px rgb(var(--glow)/.35),0 6px 22px -8px rgb(var(--glow)/.5);transform:translateY(-1px)}
 /* primary buttons: stronger glow on hover */
 html body .button.primary:hover{box-shadow:0 10px 36px -6px rgb(var(--glow)/.55)}
}

/* press feedback works for touch too */
html body .button:active,html body .icon-button:active,html body .title-watch-button:active{transform:scale(.97)}

/* keyboard focus: one consistent glowing ring */
html body :is(a,button,summary,select,input,textarea,[tabindex]):focus-visible{outline:2px solid rgb(var(--glow));outline-offset:3px;box-shadow:0 0 0 5px rgb(var(--glow)/.18)}

/* sections rise into view as they are scrolled to (progressive enhancement: no JS, no layout shift) */
@supports(animation-timeline:view()){
 @media(prefers-reduced-motion:no-preference){
  html body #home .portal-section,html body #home .spotlight-shelf{animation:leyvu-rise linear both;animation-timeline:view();animation-range:entry 0% entry 30%}
  @keyframes leyvu-rise{from{opacity:.001;transform:translateY(22px)}to{opacity:1;transform:none}}
 }
}

/* bottom bar: smooth active-tab change */
@media(max-width:820px){
 html body .bottom-nav .nav-link{transition:color .2s,background-color .2s,transform .2s var(--ease-out)}
 html body .bottom-nav .nav-link.active>svg,html body .bottom-nav .nav-link[aria-current=page]>svg{filter:drop-shadow(0 0 8px rgb(var(--glow)/.55))}
}

/* continue card that offers the NEXT episode: accent label and a glowing play button */
html body .resume-card.is-next small{color:#ffb4a6}
html body .resume-card.is-next .resume-play{filter:drop-shadow(0 0 10px rgb(var(--glow)/.55))}
/* form-polish.css */
/* Forms: password visibility button and spacing next to the sign-in button. */
html body label.has-password-toggle{position:relative}
html body label.has-password-toggle>input[type=password],html body label.has-password-toggle>input[data-pw-toggle]{padding-right:48px}
html body .password-toggle{position:absolute;right:6px;bottom:6px;display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:9px;background:none;color:#9aa0ad;cursor:pointer;transition:color .2s,background-color .2s}
html body .password-toggle:hover{color:#fff;background:#ffffff14}
html body .password-toggle svg{width:20px;height:20px}
html body #accountAuth .text-button{margin-left:14px}
@media(prefers-reduced-motion:reduce){html body .password-toggle{transition:none}}
/* search-polish.css */
/* Quick search: highlighted matches, "show all" row, visible keyboard selection. */
html body .quick-result mark{background:#ff725b2e;color:#ffb4a6;border-radius:3px;padding:0 1px}
html body .quick-result[aria-selected=true]{background:#ffffff12;box-shadow:inset 3px 0 0 #ff725b}
html body .quick-all{display:block;width:100%;margin:8px 0 2px;padding:12px 14px;border:1px dashed #ffffff2b;border-radius:10px;background:none;color:#ff9a88;font-size:13px;font-weight:600;text-align:left;cursor:pointer;transition:background-color .2s,border-color .2s}
html body .quick-all:hover,html body .quick-all:focus-visible{background:#ff725b14;border-color:#ff725b80}
html body .quick-empty .quick-all{display:inline;width:auto;margin:0;padding:0;border:0;text-decoration:underline}
/* mobile-polish.css */
/* Phones (reported from an iPhone):
   1) arrows, play triangles and similar symbols used as icons were drawn as colourful emoji (↗ ▶ ☁ ☂ ⚙);
   2) the Kodik voice list was a one-row horizontal scroller, so on a phone only the first voice was visible.
   Both are fixed here, loaded after cinema.css and motion-v2.css. */
html{font-variant-emoji:text}

@media(max-width:760px){
 /* voices: a normal vertical list with its own scroll, group headings on their own rows, like on desktop */
 html body #cinemaVoiceList{display:block;max-height:min(62vh,440px);overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-right:4px}
 html body #cinemaVoiceList .cinema-voice{display:grid;width:100%;min-width:0;max-width:none;margin:0 0 6px}
 html body #cinemaVoiceList .cinema-voice-group{display:block;margin:12px 0 6px;padding:0}
 html body #cinemaVoiceList .cinema-voice-group:first-child{margin-top:2px}
}
/* filter-sheet.css */
/* Catalog filters as a bottom sheet on phones: the panel no longer pushes the page down, it slides up over a dimmed backdrop
   with a sticky "Show N" button. The desktop sidebar is untouched. */
.sheet-head,.sheet-foot,.filter-backdrop{display:none}
@media(max-width:700px){
 .filter-backdrop{display:block;position:fixed;inset:0;z-index:118;background:#000000a6;opacity:0;pointer-events:none;transition:opacity .22s ease}
 body.filters-open .filter-backdrop{opacity:1;pointer-events:auto}
 body.filters-open{overflow:hidden}
 html body .advanced-panel.expanded{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;position:fixed;top:auto;left:0;right:0;bottom:0;z-index:120;width:100%;max-height:86vh;max-height:86dvh;overflow-y:auto;overscroll-behavior:contain;margin:0;padding:0 18px calc(96px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;border-bottom:0;box-shadow:0 -18px 60px #0008;animation:filter-sheet-up .26s cubic-bezier(.2,.8,.2,1)}
 html body .advanced-panel.expanded>h3,html body .advanced-panel.expanded>p{display:none}
 html body .advanced-panel.expanded .sheet-head{display:flex;grid-column:1/-1;position:sticky;top:0;z-index:2;align-items:center;justify-content:space-between;padding:16px 0 12px;background:var(--panel);border-bottom:1px solid var(--line)}
 .sheet-head:before{content:'';position:absolute;top:6px;left:50%;width:38px;height:4px;margin-left:-19px;border-radius:4px;background:var(--line)}
 .sheet-head strong{font-size:16px}
 .sheet-close{width:40px;height:40px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--text);cursor:pointer;display:grid;place-items:center}
 html body .advanced-panel.expanded #resetAdvanced{grid-column:1/-1;justify-self:start}
 html body .advanced-panel.expanded .sheet-foot{display:block;position:fixed;left:0;right:0;bottom:0;z-index:3;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:var(--panel);border-top:1px solid var(--line)}
 .sheet-foot .button{width:100%;min-height:46px;justify-content:center;font-size:15px}
 #mobileFilters[data-active]:not([data-active="0"]):after{content:attr(data-active);display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:6px;padding:0 5px;border-radius:9px;background:var(--accent);color:#16181d;font-size:11px;font-weight:700}
}
@keyframes filter-sheet-up{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){html body .advanced-panel.expanded{animation:none}.filter-backdrop{transition:none}}
/* home-shelves.css */
/* Home shelves "Онгоинги" and "Популярные новинки": show the number of votes next to the score, as on the reference sites. */
html body .home-discovery :is(#spotlightShelf,#spotlightFresh) .rating-votes{display:inline}
html body .home-discovery :is(#spotlightShelf,#spotlightFresh) .source-rating{gap:6px}
/* catalog-tabs.css */
/* Catalogue tabs above the genre chips */
.catalog-tabs{display:flex;gap:6px;margin:0 0 14px;padding:4px;border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.catalog-tabs[hidden]{display:none}
.catalog-tabs::-webkit-scrollbar{display:none}
.catalog-tab{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 14px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-family:inherit;font-weight:600;font-size:14px;line-height:1;cursor:pointer;white-space:nowrap;transition:background .2s ease,color .2s ease}
.catalog-tab small{font-size:11px;font-weight:500;opacity:.7}
.catalog-tab:hover{color:var(--text)}
.catalog-tab[aria-selected=true]{background:var(--text,var(--ink,#f3f1ed));color:var(--bg,#101112)}
.catalog-tab[aria-selected=true] small{opacity:.8}
.catalog-tab:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:700px){.catalog-tabs{margin-bottom:12px}.catalog-tab{min-height:38px;padding:0 12px;font-size:13px}}

/* Место под вкладки резервируется в разметке, чтобы сетка не прыгала при их появлении */
.ct-skeleton{min-height:48px}
/* modern-ui.css */
/* Modern look, slice 1 (references: animeon.cc-style rows): heavier section titles with an icon, rounder posters that lift on
   hover, circular row arrows. CSS only: no layout shifts, no markup changes. */
.portal-heading h2,.spotlight-shelf-heading h2, no markup changes. */
.portal-heading h1{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:-.025em}
.portal-heading h2,
.portal-heading h1{font-size:clamp(26px,2.6vw,36px)}
.portal-heading h2:before,.spotlight-shelf-heading h2:before,
.portal-heading h1:before{content:'';flex:none;width:.8em;height:.8em;background:var(--accent);-webkit-mask:var(--row-icon) center/contain no-repeat;mask:var(--row-icon) center/contain no-repeat}
.spotlight-shelf-heading h2{--row-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='10 8 16 12 10 16 10 8'/%3E%3C/svg%3E")}
.portal-section:has(#freshStrip) .portal-heading h2,
.portal-section:has(#freshStrip) .portal-heading h1{--row-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.07-2.14-.22-4.05 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.15.43-2.29 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E")}
.portal-section:has(#openStrip) .portal-heading h2,
.portal-section:has(#openStrip) .portal-heading h1{--row-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");}
.portal-section:has(#openStrip) .portal-heading h2:before,
.portal-section:has(#openStrip) .portal-heading h1:before{background:#ffc247}
.portal-heading h2:not(:is(.x)),
.portal-heading h1:not(:is(.x)){--row-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolygon points='10 8 16 12 10 16 10 8'/%3E%3C/svg%3E")}
.portal-section:has(#freshStrip) .portal-heading h2,
.portal-section:has(#freshStrip) .portal-heading h1{--row-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.07-2.14-.22-4.05 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.15.43-2.29 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E")}
.portal-section:has(#openStrip) .portal-heading h2,
.portal-section:has(#openStrip) .portal-heading h1{--row-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E")}
.row-actions button{border-radius:50%}
.anime-card .card-cover{border-radius:16px;transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease}
.anime-card:hover .card-cover,.anime-card:focus-within .card-cover{transform:translateY(-4px);box-shadow:0 18px 42px #0008,0 0 0 1px #ffffff1a}
.anime-card .card-title{font-weight:700}
.anime-card .card-year{color:var(--accent)}
@media(prefers-reduced-motion:reduce){.anime-card .card-cover{transition:none}.anime-card:hover .card-cover,.anime-card:focus-within .card-cover{transform:none}}
html body .home-discovery .spotlight-shelf-heading h2{font-size:clamp(24px,2.2vw,32px)}

/* Cards v2 (owner request: modernise the design): every card has the same height regardless of title length,
   the poster gets a soft bottom shade so the year/format line stays readable, and the rating badge no longer blurs the poster. */
.anime-card .card-title-row{align-items:flex-start;min-height:2.7em}
.anime-card .card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35;font-size:15px}
.anime-card .card-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}
.anime-card .card-cover::after{content:"";position:absolute;inset:auto 0 0 0;height:46%;background:linear-gradient(to top,#05070bd9,#05070b00);pointer-events:none;border-radius:0 0 16px 16px}
.anime-card .card-cover{position:relative;overflow:hidden}
.anime-card .card-caption{z-index:1}
.anime-card .cover-badge,.anime-card .card-open{z-index:2}
@media(hover:hover){.anime-card .card-cover img{transition:transform .5s cubic-bezier(.2,.8,.2,1)}.anime-card:hover .card-cover img{transform:scale(1.08)}}
@media(prefers-reduced-motion:reduce){.anime-card .card-cover img{transition:none}.anime-card:hover .card-cover img{transform:none}}

/* Section icons: one unique Lucide icon (ISC licence, same vendored set as dist/ui-icons.js) and accent colour per home row, replacing the
   shared play-circle. Masks, so the colour comes from the background. */
.spotlight-shelf:has(#spotlightShelf) .spotlight-shelf-heading h2{--row-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.9 19.1C1 15.2 1 8.8 4.9 4.9'/%3E%3Cpath d='M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5'/%3E%3Cpath d='M19.1 4.9C23 8.8 23 15.1 19.1 19'/%3E%3C/svg%3E")}
.spotlight-shelf:has(#spotlightShelf) .spotlight-shelf-heading h2:before{background:#ff725b}
.spotlight-shelf:has(#spotlightFresh) .spotlight-shelf-heading h2{--row-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.07-2.14-.22-4.05 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.15.43-2.29 1-3a2.5 2.5 0 0 0 2.5 2.5z'/%3E%3C/svg%3E")}
.spotlight-shelf:has(#spotlightFresh) .spotlight-shelf-heading h2:before{background:#ff9a3d}
.portal-section:has(#seasonStrip) .portal-heading h2,
.portal-section:has(#seasonStrip) .portal-heading h1{--row-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z'/%3E%3Cpath d='M20 3v4'/%3E%3Cpath d='M22 5h-4'/%3E%3Cpath d='M4 17v2'/%3E%3Cpath d='M5 18H3'/%3E%3C/svg%3E")}
.portal-section:has(#seasonStrip) .portal-heading h2:before,
.portal-section:has(#seasonStrip) .portal-heading h1:before{background:#b48cff}
.portal-section:has(#openStrip) .portal-heading h2,
.portal-section:has(#openStrip) .portal-heading h1{--row-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9H4.5a2.5 2.5 0 0 1 0-5H6'/%3E%3Cpath d='M18 9h1.5a2.5 2.5 0 0 0 0-5H18'/%3E%3Cpath d='M4 22h16'/%3E%3Cpath d='M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22'/%3E%3Cpath d='M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22'/%3E%3Cpath d='M18 2H6v7a6 6 0 0 0 12 0V2Z'/%3E%3C/svg%3E")}
.portal-section:has(#openStrip) .portal-heading h2:before,
.portal-section:has(#openStrip) .portal-heading h1:before{background:#ffc247}
.portal-section:has(.mood-grid) .portal-heading h2,
.portal-section:has(.mood-grid) .portal-heading h1{--row-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2'/%3E%3Cline x1='9' x2='9.01' y1='9' y2='9'/%3E%3Cline x1='15' x2='15.01' y1='9' y2='9'/%3E%3C/svg%3E")}
.portal-section:has(.mood-grid) .portal-heading h2:before,
.portal-section:has(.mood-grid) .portal-heading h1:before{background:#ff7fa8}

/* One control style for every row (owner request: the row arrows and «Смотреть все» did not match). Round 36px buttons with an 18px Lucide
   chevron and a matching pill link, for both the poster rows and the spotlight shelves. */
html body .row-actions{display:flex;align-items:center;gap:8px}
html body .row-actions>button,html body .home-discovery .row-actions>button{box-sizing:border-box;display:grid;place-items:center;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border:1px solid #ffffff24;border-radius:50%;background:#ffffff0a;color:#e4e7ee;font-size:0;line-height:0;flex:none;cursor:pointer;transition:background-color .2s,border-color .2s,color .2s,transform .2s}
html body .row-actions>button>.leyvu-icon,html body .home-discovery .row-actions>button>.leyvu-icon{display:block;width:18px;height:18px;flex:none;stroke-width:1.9}
html body .row-actions>button:hover,html body .row-actions>button:focus-visible{background:#ff725b1f;border-color:#ff725b88;color:#fff;transform:none}
html body .row-actions>button:active{transform:scale(.94)}
html body .row-actions>a,html body .portal-heading>a.section-more,html body .portal-heading>.row-actions>a{display:inline-flex;align-items:center;gap:7px;box-sizing:border-box;height:36px;padding:0 14px;border:1px solid #ffffff24;border-radius:999px;background:#ffffff0a;color:#e4e7ee;font-size:13px;font-weight:600;line-height:1;white-space:nowrap;transition:background-color .2s,border-color .2s,color .2s}
html body .row-actions>a>.leyvu-icon,html body .portal-heading>a.section-more>.leyvu-icon{display:block;width:15px;height:15px;flex:none}
html body .row-actions>a:hover,html body .portal-heading>a.section-more:hover{background:#ff725b1f;border-color:#ff725b88;color:#fff}
@media(prefers-reduced-motion:reduce){html body .row-actions>button,html body .row-actions>a{transition:none}}

/* Poster skeleton: while a poster loads the cover shimmers instead of showing a bare placeholder (adapted from a shimmer-loader idea). */
@keyframes leyvu-shimmer{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
.anime-card .card-cover.poster-loading::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(100deg,transparent 20%,#ffffff14 50%,transparent 80%);animation:leyvu-shimmer 1.3s linear infinite}
@media(prefers-reduced-motion:reduce){.anime-card .card-cover.poster-loading::before{animation:none}}
/* Buttons answer a press everywhere. */
@media(prefers-reduced-motion:no-preference){.button:active,.row-actions>button:active{transform:scale(.96)}}

/* «Наверх»: the same control language as the row buttons (Lucide arrow, round pill, accent on hover). */
html body .back-to-top{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px 0 14px;border-radius:999px;border:1px solid #ffffff24;background:#14171dee;backdrop-filter:none;color:#e4e7ee;font-size:13px;font-weight:600;box-shadow:0 8px 24px #0006;transition:transform .2s cubic-bezier(.2,.8,.2,1),background-color .2s,border-color .2s,color .2s}
html body .back-to-top>.leyvu-icon{display:block;width:18px;height:18px;flex:none;color:var(--accent,#ff725b);stroke-width:1.9}
html body .back-to-top:hover{transform:translateY(-3px);background:#ff725b1f;border-color:#ff725b88;color:#fff}
html body .back-to-top:active{transform:scale(.96)}
@media(prefers-reduced-motion:reduce){html body .back-to-top{transition:none}html body .back-to-top:hover{transform:none}}

/* Header v2 (slice: header and search). Desktop: the bar stays at the top and turns solid with a hairline shadow after scrolling
   (class set by dist/header-motion.js); controls share one round style; the search field warms up on hover and focus. */
@media(min-width:901px){
 html body .header{position:sticky;top:0;z-index:60;transition:background-color .25s,box-shadow .25s,border-color .25s}
 html body .header.is-scrolled{background:#0f1113;box-shadow:0 1px 0 #ffffff12,0 10px 30px #00000059}
}
@media(prefers-reduced-motion:reduce){html body .header{transition:none}}
html body .header .nav-link{transition:color .2s,background-color .2s,transform .2s cubic-bezier(.2,.8,.2,1)}
html body .header nav .nav-link:hover{color:#fff}
html body .header nav .nav-link:active{transform:scale(.96)}
@media(min-width:901px){
 html body .header-actions #newRandom,html body .header-actions #themeSwitch{display:inline-grid;place-items:center;width:40px;height:40px;min-width:40px;padding:0;border:1px solid #ffffff24;border-radius:50%;background:#ffffff0a;color:#d8dbe2;transition:background-color .2s,border-color .2s,color .2s,transform .2s cubic-bezier(.2,.8,.2,1)}
 html body .header-actions #newRandom:hover,html body .header-actions #themeSwitch:hover{background:#ff725b1f;border-color:#ff725b88;color:#fff}
 html body .header-actions #newRandom:active,html body .header-actions #themeSwitch:active{transform:scale(.94)}
 html body .header-actions #newRandom>.leyvu-icon,html body .header-actions #themeSwitch>.leyvu-icon{display:block;width:18px;height:18px;flex:none}
}
@media(min-width:1320px) and (hover:hover){
 html body .header-actions #searchToggle{transition:background-color .2s,border-color .2s,box-shadow .25s,min-width .25s cubic-bezier(.2,.8,.2,1)}
 html body .header-actions #searchToggle:focus-visible,html body .header-actions #searchToggle:hover{min-width:260px;box-shadow:0 0 0 3px #ff725b22}
}
@media(prefers-reduced-motion:reduce){html body .header-actions #searchToggle,html body .header-actions #newRandom,html body .header-actions #themeSwitch{transition:none}}
/* Quick search results: a row highlights on hover/keyboard focus and its arrow nudges. */
#quickResults [role=option]{transition:background-color .15s}
#quickResults [role=option]:hover,#quickResults [role=option][aria-selected=true]{background:#ffffff0d}
@media(prefers-reduced-motion:no-preference){
 .quick-search[open]{animation:quick-search-in .22s cubic-bezier(.2,.8,.2,1)}
 @keyframes quick-search-in{from{opacity:0;transform:translateY(-8px) scale(.985)}to{opacity:1;transform:none}}
}

/* Title page v2 (slice: title page and player). The tab strip stays under the sticky header while the page scrolls, the secondary actions share
   one pill style with the row buttons, and the poster answers hover. CSS only. */
html body .title-page #followAnime,html body .title-page #scheduleAnime,html body .title-page #shareTitle,html body .title-page #watchSave{min-height:40px;border-radius:999px;transition:background-color .2s,border-color .2s,color .2s,transform .2s cubic-bezier(.2,.8,.2,1)}
html body .title-page #followAnime:hover,html body .title-page #scheduleAnime:hover,html body .title-page #shareTitle:hover,html body .title-page #watchSave:hover{border-color:#ff725b88;background:#ff725b1f;color:#fff}
html body .title-page #followAnime:active,html body .title-page #scheduleAnime:active,html body .title-page #shareTitle:active,html body .title-page #watchSave:active{transform:scale(.96)}
html body .title-page select{border-radius:12px;transition:border-color .2s,box-shadow .2s}
html body .title-page select:hover,html body .title-page select:focus-visible{border-color:#ff725b88;box-shadow:0 0 0 3px #ff725b1f}
html body .title-page #startStream{transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .25s,filter .2s}
html body .title-page #startStream:hover{transform:translateY(-2px);filter:brightness(1.06)}
html body .title-page #startStream:active{transform:scale(.96)}
html body .title-page .title-poster img,html body .title-page .title-hero>img:first-child{transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
@media(hover:hover){html body .title-page .title-hero>img:first-child:hover{transform:translateY(-4px) scale(1.01);box-shadow:0 22px 50px #0008}}
@media(prefers-reduced-motion:reduce){html body .title-page *{transition:none!important}html body .title-page .title-hero>img:first-child:hover{transform:none}}
html body .title-page .season-icon{display:inline-grid;place-items:center;color:var(--accent,#ff725b);font-size:0}
html body .title-page .season-icon>.leyvu-icon{display:block}
html body .title-page a[href="#titlePlayer"]>.leyvu-icon,html body .title-page #titleSeason a>.leyvu-icon{display:inline-block;vertical-align:-2px;margin-left:4px}

/* Title page v3 (owner request): the tab strip and the season card under the hero are gone, and the action area is a tidy grid:
   status | collection on the first row, follow/calendar | link on the second. */
html body .title-page .title-tabs,html body .title-page #titleSeason{display:none!important}
html body .title-page .title-bottom-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;align-items:start;margin-top:28px}
html body .title-page .title-bottom-controls>.personal-controls{display:contents}
html body .title-page .title-bottom-controls .rating-select-legacy{display:none!important}
html body .title-page .title-bottom-controls .personal-controls>label:not(.rating-select-legacy){grid-column:1;display:grid;gap:6px;min-width:0}
html body .title-page .title-bottom-controls .personal-controls select{width:100%;min-height:44px;height:44px}
html body .title-page .title-bottom-controls .add-to-collection{grid-column:2;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:end;min-width:0;width:100%;margin:0}
html body .title-page .title-bottom-controls .add-to-collection>label{display:block;font-size:11px;color:var(--muted)}
html body .title-page .title-bottom-controls .add-to-collection select{max-width:none}
html body .title-page .title-bottom-controls .add-to-collection>label{grid-column:1/-1}
html body .title-page .title-bottom-controls .add-to-collection>a{grid-column:1/-1;justify-self:start}
html body .title-page .title-bottom-controls>#followActions{grid-column:1;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
html body .title-page .title-bottom-controls>#shareTitle{grid-column:2;justify-self:end;margin-left:0}
html body .title-page .title-bottom-controls .button,html body .title-page .title-bottom-controls>#shareTitle{min-height:44px;height:44px;border-radius:999px;box-sizing:border-box}
@media(max-width:760px){
 html body .title-page .title-bottom-controls{grid-template-columns:minmax(0,1fr)}
 html body .title-page .title-bottom-controls .personal-controls>label:not(.rating-select-legacy),html body .title-page .title-bottom-controls .add-to-collection,html body .title-page .title-bottom-controls>#followActions,html body .title-page .title-bottom-controls>#shareTitle{grid-column:1}
 html body .title-page .title-bottom-controls>#shareTitle{justify-self:start}
}

/* Rating and "my list" under the poster (owner request); see dist/title-side.js for the narrow-screen fallback. */
@media(min-width:761px){
 html body .title-page .title-hero{grid-template-rows:auto 1fr;align-items:start}
 html body .title-page .title-hero>#watchPoster{grid-column:1;grid-row:1}
 html body .title-page .title-hero>.title-summary{grid-column:2;grid-row:1/span 2}
 html body .title-page .title-hero>.title-source-rating{grid-column:1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;max-width:100%;margin-top:16px}
 html body .title-page .title-hero>.title-source-rating .rating-slot,html body .title-page .title-hero>.title-source-rating .source-rating{width:100%;box-sizing:border-box}
 html body .title-page .title-hero>.title-source-rating .source-rating{justify-content:center}
 html body .title-page .title-hero>.title-source-rating #watchSave{width:100%;justify-content:center;box-sizing:border-box}
}
/* home-v4.css */
/* Home v4: rhythm, hierarchy and the quick-link row. Hero markup and data are untouched (protected); only spacing around it changes. */
.home-quick{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;margin:0 0 6px}
.home-quick-link{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--text);font-family:inherit;font-weight:600;font-size:14px;text-decoration:none;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .2s ease}
.home-quick-link .leyvu-icon{width:17px;height:17px;color:var(--accent)}
.home-quick-link:hover{border-color:var(--accent);background:#ff725b14;transform:translateY(-1px)}
.home-quick-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* One poster size on every home row (the left shelves next to the schedule and the full-width rows): fixed card width, the row scrolls. */
html body{--poster-w:clamp(148px,14.6vw,212px);--poster-gap:16px}
html body .home-discovery .spotlight-poster-strip,html body .poster-strip{grid-auto-columns:var(--poster-w);gap:var(--poster-gap)}
html body .home-discovery :is(#spotlightShelf,#spotlightFresh) .anime-card{display:block;grid-template-columns:none;grid-template-rows:none;padding:0;border:0;border-radius:0;background:transparent;min-height:0}
html body .home-discovery :is(#spotlightShelf,#spotlightFresh) .card-cover{width:100%;height:auto;aspect-ratio:2/3;border-radius:16px}
html body .home-discovery :is(#spotlightShelf,#spotlightFresh) .card-title-row{margin-top:10px;gap:4px;align-items:start}
html body .home-discovery :is(#spotlightShelf,#spotlightFresh) .card-title{font-size:15px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .home-discovery :is(#spotlightShelf,#spotlightFresh) .card-meta{display:none}
html body .home-discovery :is(#spotlightShelf,#spotlightFresh) .rating-slot{position:absolute;left:8px;top:8px;grid-column:auto;grid-row:auto}
html body .home-discovery :is(#spotlightShelf,#spotlightFresh) .source-rating{font-size:12px;padding:6px 8px;gap:5px}
html body .home-discovery :is(#spotlightShelf,#spotlightFresh) .rating-votes{display:inline}
html body .home-discovery .home-discovery-main{gap:36px}
html body .home-discovery .spotlight-shelf{padding-bottom:0}
/* one rhythm for every home section */
.home-cinematic .portal-section,.home-cinematic .home-discovery{margin-top:56px}
.home-cinematic .portal-heading{margin-bottom:22px}
.home-cinematic .portal-heading p{margin-top:6px;font-size:14px;color:var(--muted)}
html body .home-discovery .spotlight-shelf-heading h2{font-weight:800}
html body .home-discovery .spotlight-shelf-heading{margin-bottom:22px}
@media(max-width:700px){
 html body{--poster-w:132px;--poster-gap:12px}
 html body .home-discovery .spotlight-shelf-heading h2{font-size:22px}
 html body .home-discovery .spotlight-shelf-heading .row-actions a{display:none}
 .home-quick{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-2px;padding:2px}
 .home-quick::-webkit-scrollbar{display:none}
 .home-quick-link{flex:0 0 auto;min-height:40px;padding:0 14px;font-size:13px}
 .home-cinematic .portal-section,.home-cinematic .home-discovery{margin-top:40px}
}
@media(prefers-reduced-motion:reduce){.home-quick-link{transition:none}.home-quick-link:hover{transform:none}}
/* Подборки под настроение: подпись и счётчик читались с трудом (9–11 px) */
html body #featuredRows .collection-tile p{font-size:13px!important;line-height:1.45}
html body #featuredRows .collection-bottom{font-size:12.5px!important}
html body #featuredRows .collection-bottom .leyvu-icon{width:15px;height:15px}
/* Кнопки hero: «В мой список» и «Трейлер» были мельче «Смотреть» (10–13 px) */
#heroTrailer:not([hidden]),#closeHeroTrailer{display:inline-flex;align-items:center;justify-content:center;gap:8px}
#heroTrailer .leyvu-icon,#closeHeroTrailer .leyvu-icon{width:17px;height:17px;flex:none}
@media(max-width:580px){html body .hero-cinematic .hero-buttons #heroSave,html body .hero-cinematic .hero-buttons #heroTrailer{font-size:14px!important;padding:0 16px!important}}
/* glyph-icons.css */
/* Inline Lucide icons that replaced text symbols: sized by the surrounding font, aligned with the text baseline. */
html body .leyvu-glyph-icon{width:1.05em;height:1.05em;vertical-align:-.16em;flex:none}
html body .mood-icon .leyvu-glyph-icon,html body [class*=mood] .leyvu-glyph-icon{width:1em;height:1em;vertical-align:middle}
/* heading links ("Вся история", "Весь каталог"): one line, same size as their neighbours, icon inline */
html body .portal-heading>a{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;flex:none;font-size:13px}
/* nav-v2.css */
/* Navigation v2 (audit 2026-10-25): visible search in the desktop header, thumb-reachable bottom bar on phones.
   The top link row is hidden only when the bottom bar exists, so the no-script page keeps its navigation. */

/* Wide desktop (>=1320px; the 230px field does not fit next to the five links and the header controls below that): the search icon becomes a visible field that opens the existing quick search ("/" or Ctrl+K) */
@media(min-width:1320px){
 html body .header-actions #searchToggle{position:relative;display:inline-flex;align-items:center;gap:10px;width:auto;min-width:230px;height:40px;padding:0 44px 0 14px;border:1px solid #ffffff1f;border-radius:10px;background:#ffffff0a;color:#aeb3bf;cursor:text;transition:background .2s,border-color .2s}
 html body .header-actions #searchToggle:hover{background:#ffffff12;border-color:#ff725b66;color:#e6e9f0}
 html body .header-actions #searchToggle::after{content:'Поиск аниме';font-size:13px;font-weight:500;letter-spacing:0}
 html body .header-actions #searchToggle::before{content:'/';position:absolute;right:10px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:22px;height:22px;border:1px solid #ffffff26;border-radius:6px;font-size:12px;line-height:1;color:#9aa0ad}
}

/* Phones and small tablets: bottom bar */
.bottom-nav{display:none}
@media(max-width:820px){
 .bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:60;display:grid;grid-template-columns:repeat(5,1fr);align-items:stretch;min-height:60px;padding:6px 6px max(6px,env(safe-area-inset-bottom));background:#0d0f12f2;border-top:1px solid #ffffff14;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
 html body .bottom-nav .nav-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;height:auto;padding:4px 2px;border-radius:10px;font-size:11px;font-weight:600;line-height:1.1;letter-spacing:0;color:#9aa0ad;text-decoration:none;opacity:1;background:none;border:0;white-space:nowrap}
 html body .bottom-nav .nav-link::after{display:none!important}
 html body .bottom-nav .nav-link>span{background:none!important;padding:0!important;border:0!important;border-radius:0!important;min-width:0!important;height:auto!important;box-shadow:none!important}
 html body .bottom-nav .nav-link>.leyvu-icon,html body .bottom-nav .nav-link>svg{display:block;width:22px;height:22px;flex:none}
 html body .bottom-nav .nav-link>span{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;max-width:100%}
 html body .bottom-nav .nav-link.active,html body .bottom-nav .nav-link[aria-current=page]{color:#ff725b;background:#ff725b14}
 html body .bottom-nav .nav-link:active{background:#ffffff12}
 html body .bottom-nav .nav-link:focus-visible{outline:2px solid #ff725b;outline-offset:-2px}

 /* the top row is replaced by the bar; header shrinks to brand + actions */
 html body:has(.bottom-nav) .header nav{display:none}
 html body:has(.bottom-nav) .header,html body.home-cinematic:has(.bottom-nav) .header{height:64px;min-height:64px;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:space-between;padding:0 20px;gap:12px}
 html body:has(.bottom-nav){padding-bottom:calc(68px + env(safe-area-inset-bottom))}
 html body:has(.bottom-nav) .back-to-top{bottom:calc(76px + env(safe-area-inset-bottom))}
 html body:has(.bottom-nav) #toast{bottom:calc(84px + env(safe-area-inset-bottom))}
 /* The poster strips bleed to the screen edge with margin-right:-20px, but their section is inset only 12px: they stuck out 8px, widened the page and pushed the fixed bar below the visible area. Bleed by exactly the section inset instead (the section is centred). */
 html body #home .poster-strip{margin-right:calc((100% - 100vw) / 2)!important}
}
@media(prefers-reduced-motion:reduce){html body .header-actions #searchToggle{transition:none}}
/* home-discovery.css */
/* Editorial shelves and the public release schedule share one calm two-column view. */
.home-discovery{display:grid;grid-template-columns:minmax(0,1fr) 352px;gap:30px;align-items:start;width:calc(100% - 112px);max-width:1294px;margin:30px auto 20px}.home-discovery[hidden]{display:none!important}.home-discovery-main{min-width:0;display:grid;gap:25px}.home-discovery .spotlight-shelf{width:auto;max-width:none;margin:0;padding:0 0 23px;min-width:0}.home-discovery .spotlight-shelf-heading{margin-bottom:17px}.home-discovery .spotlight-shelf-heading h2,.home-discovery .portal-heading h2{font-size:21px;line-height:1.2;font-weight:650;letter-spacing:-.5px}.home-discovery .row-actions{display:flex;gap:7px;align-items:center}.home-discovery .row-actions a{font-size:10px;margin-right:5px}.home-discovery .row-actions button{width:28px;height:28px;border-radius:8px;font-size:19px}.home-discovery .spotlight-poster-strip{grid-auto-columns:calc((100% - 18px)/2);gap:18px;padding-top:2px;padding-bottom:3px}.home-discovery #spotlightShelf .anime-card{display:grid;grid-template-columns:100px minmax(0,1fr);grid-template-rows:auto 1fr auto;column-gap:15px;padding:10px;border:1px solid var(--line,#ffffff12);border-radius:13px;background:var(--surface,#15171b);position:relative;min-height:171px;transition:border-color .25s,background .25s}.home-discovery #spotlightShelf .anime-card:hover{border-color:#ff725b60;background:color-mix(in srgb,var(--surface,#15171b) 95%,var(--accent))}.home-discovery #spotlightShelf .card-cover{grid-column:1;grid-row:1/4;width:100%;height:150px;aspect-ratio:2/3;border-radius:7px}.home-discovery #spotlightShelf .card-title-row{grid-column:2;grid-row:1;margin-top:5px;gap:1px}.home-discovery #spotlightShelf .card-title{font-size:12px;font-weight:650;line-height:1.5;-webkit-line-clamp:3}.home-discovery #spotlightShelf .card-save{width:19px;min-width:19px;padding:2px}.home-discovery #spotlightShelf .card-meta{grid-column:2;grid-row:2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6;font-size:9px;margin:7px 0;color:var(--muted,#878b95);align-self:start}.home-discovery #spotlightShelf .card-personal{display:none}.home-discovery .portal-section{margin:0!important;min-width:0}.home-discovery .portal-heading{margin-bottom:17px;gap:12px}.home-discovery .portal-heading p{font-size:10px;margin-top:7px;color:var(--muted,#878b95)}.home-discovery #recentStrip{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 17px)/2);gap:17px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;padding:2px 0 6px}.home-discovery #recentStrip .landscape-card{min-width:0;scroll-snap-align:start}.home-discovery .landscape-cover{border-radius:11px;overflow:hidden;width:100%}.home-discovery .landscape-art{aspect-ratio:16/9}.home-discovery #recentStrip .card-title{font-size:12px;line-height:1.5}.home-discovery #recentStrip .card-meta{font-size:10px;margin-top:8px}.home-discovery .landscape-meta{font-size:8px;padding:12px}.home-discovery .landscape-meta b{font-size:8px}
/* Verified community score. Vote counts are omitted when not supplied. */
.anime-card,.landscape-card{position:relative}.rating-slot:empty{display:none}.rating-slot{display:block}.source-rating{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:8px;background:#1c1e23e8;color:#fafafa;text-decoration:none;font-size:12px;line-height:1.2;white-space:nowrap;backdrop-filter:blur(8px);transition:background .2s}.source-rating:hover{background:#33343c}.rating-star{color:#ffce35;font-size:17px;line-height:1}.source-rating b{font-weight:750;letter-spacing:.1px}.rating-votes{font-size:10px;color:#989eac;font-variant-numeric:tabular-nums}.rating-source{display:none}.anime-card>.rating-slot,.landscape-card>.rating-slot{position:absolute;left:9px;top:9px;z-index:3}.anime-card>.rating-slot .source-rating,.landscape-card>.rating-slot .source-rating{font-size:11px;padding:6px 8px;gap:5px}.anime-card>.rating-slot .rating-star,.landscape-card>.rating-slot .rating-star{font-size:14px}.anime-card>.rating-slot .rating-votes,.landscape-card>.rating-slot .rating-votes{font-size:9px}.home-discovery #spotlightShelf .rating-slot{position:static;grid-column:2;grid-row:3;align-self:end;min-width:0}.home-discovery #spotlightShelf .rating-slot .source-rating{font-size:12px;padding:7px 8px;gap:6px}.hero-source-rating{margin:0 0 13px}.hero-source-rating .source-rating{background:#121722bd;font-size:12px}.hero-source-rating .rating-source{display:inline;font-size:8px;color:#b4bac6;margin-left:4px}.title-source-rating{margin:0 0 20px}.title-source-rating .source-rating{font-size:17px;padding:10px 14px;gap:10px}.title-source-rating .rating-star{font-size:23px}.title-source-rating .rating-votes{font-size:13px}.title-source-rating .rating-source{display:inline;color:#a0a7b3;font-size:10px;margin-left:6px}
/* Public schedule, never filtered to a visitor's personal library. */
.release-schedule{border:1px solid var(--line,#ffffff12);border-radius:17px;background:var(--surface,#15171b);overflow:hidden;min-width:0;padding:23px 20px 17px;box-shadow:0 12px 45px #0000000c}.release-schedule-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.schedule-eyebrow{display:flex;align-items:center;gap:6px;font-size:7px;letter-spacing:1.4px;font-weight:650;color:var(--muted,#8e94a1);margin:0 0 10px}.schedule-eyebrow i{height:5px;width:5px;background:var(--accent);border-radius:50%;box-shadow:0 0 11px #ff725b70}.release-schedule h2{font-size:22px;font-weight:650;letter-spacing:-.7px;line-height:1.1;margin:0;display:flex;align-items:center;gap:10px}.release-schedule h2 span{font-size:10px;letter-spacing:0;color:var(--accent);background:#ff725b12;padding:5px 7px;border-radius:6px}.schedule-icon{font-size:27px;color:var(--accent);opacity:.8}.schedule-days{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:3px;border-bottom:1px solid var(--line,#ffffff10);padding-bottom:14px}.schedule-days button{appearance:none;border:0;border-radius:7px;background:transparent;color:var(--muted,#9b9fa9);min-height:33px;font-size:10px;cursor:pointer;padding:0;position:relative;transition:background .2s,color .2s}.schedule-days button:hover{color:var(--text,#fff);background:#ffffff0a}.schedule-days button.active{background:var(--accent);color:#fff;font-weight:700;box-shadow:0 3px 13px #ff725b25}.schedule-days button.is-today:after{content:'';width:3px;height:3px;border-radius:50%;background:var(--accent);position:absolute;left:calc(50% - 1px);bottom:3px}.schedule-days button.is-today.active:after{background:#fff}.schedule-search{display:flex;align-items:center;gap:7px;margin:15px 0 12px;padding:9px 11px;background:var(--bg,#0d0f12);border:1px solid var(--line,#ffffff12);border-radius:9px}.schedule-search:focus-within{border-color:var(--accent)}.schedule-search svg{width:15px;height:15px;flex:none;color:var(--muted,#8e94a1)}.schedule-search input{width:100%;min-width:0;border:0!important;background:none!important;outline:0!important;color:var(--text,#e8e9ef);font:inherit;font-size:10px;padding:0!important;height:20px!important;box-shadow:none!important}.schedule-summary{font-size:9px;color:var(--muted,#8e94a1);margin:0 0 8px}.schedule-list{display:grid;gap:0;max-height:325px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff1c transparent;padding-right:3px}.schedule-entry{appearance:none;display:flex;align-items:center;gap:11px;width:100%;min-height:73px;padding:10px 0;background:none;color:inherit;border:0;border-bottom:1px solid var(--line,#ffffff0b);text-align:left;cursor:pointer;transition:background .2s}.schedule-entry:last-child{border-bottom:0}.schedule-entry:hover{background:#ff725b06}.schedule-entry img{width:37px;height:53px;object-fit:cover;border-radius:5px;flex:none;background:#23252c}.schedule-entry-copy{display:flex;flex-direction:column;gap:7px;min-width:0;flex:1}.schedule-entry strong{font-size:11px;line-height:1.5;font-weight:550;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.schedule-entry small{font-size:9px;color:var(--muted,#9297a3);line-height:1.4}.schedule-day{color:var(--muted,#999eab);font-size:9px;min-width:25px;text-align:right}.schedule-day.is-today{color:var(--accent)}.schedule-foot{padding-top:14px;border-top:1px solid var(--line,#ffffff10);margin-top:7px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;color:var(--muted,#858b97);font-size:8px}.schedule-foot a{color:var(--text,#d4d6de);font-size:9px}.schedule-foot p{flex-basis:100%;margin:3px 0 0;line-height:1.65;font-size:8px}.schedule-retry{border:0;background:none;color:var(--accent);padding:4px 0;cursor:pointer;font:inherit;font-size:9px}.schedule-empty{padding:50px 20px;text-align:center;color:var(--muted,#9297a3);font-size:11px;line-height:1.8}.release-schedule button:focus-visible,.source-rating:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(min-width:1600px){.home-discovery{grid-template-columns:minmax(0,1fr) 360px;gap:35px}}
@media(max-width:1100px){.home-discovery{width:calc(100% - 80px);grid-template-columns:minmax(0,1fr) 300px;gap:22px}.home-discovery #spotlightShelf .anime-card{grid-template-columns:80px minmax(0,1fr);gap:10px;min-height:145px}.home-discovery #spotlightShelf .card-cover{height:120px}.home-discovery .spotlight-poster-strip{grid-auto-columns:86%}.release-schedule{padding:20px 16px 16px}.home-discovery .row-actions a{display:none}.home-discovery .portal-heading h2{font-size:20px}}
@media(max-width:820px){.home-discovery{grid-template-columns:minmax(0,1fr);gap:25px}.home-discovery .spotlight-poster-strip{grid-auto-columns:calc((100% - 18px)/2)}.release-schedule{padding:23px}.schedule-list{max-height:365px}.schedule-entry img{width:40px;height:57px}.schedule-entry strong{font-size:12px}.schedule-entry small{font-size:10px}.schedule-days button{font-size:11px;min-height:38px}.schedule-search input{font-size:12px}.schedule-foot{font-size:9px}.schedule-foot p{font-size:9px}.home-discovery .row-actions a{display:block}.schedule-summary{font-size:10px}.hero-source-rating .rating-source{display:none}}
@media(max-width:580px){.home-discovery{width:calc(100% - 44px);margin-top:25px;gap:25px}.home-discovery .spotlight-shelf-heading h2,.home-discovery .portal-heading h2{font-size:18px}.home-discovery .spotlight-poster-strip{grid-auto-columns:90%;gap:12px}.home-discovery #spotlightShelf .anime-card{grid-template-columns:92px minmax(0,1fr);column-gap:14px;min-height:158px}.home-discovery #spotlightShelf .card-cover{height:138px}.home-discovery #spotlightShelf .card-title{font-size:12px}.home-discovery #spotlightShelf .card-meta{font-size:10px}.home-discovery #spotlightShelf .card-save{display:block}.home-discovery #recentStrip{grid-auto-columns:87%;gap:12px}.home-discovery #recentStrip .card-title{font-size:12px}.home-discovery .portal-heading p{font-size:9px}.home-discovery .row-actions a{font-size:9px}.release-schedule{padding:21px 17px 16px;border-radius:14px}.hero-source-rating{margin-bottom:9px}.hero-source-rating .source-rating{font-size:10px;padding:5px 8px}.hero-source-rating .rating-star{font-size:14px}.hero-source-rating .rating-votes{font-size:9px}.title-source-rating .source-rating{font-size:14px;gap:8px}.title-source-rating .rating-votes{font-size:11px}.title-source-rating .rating-source{font-size:8px}}
@media(prefers-reduced-motion:reduce){.home-discovery .anime-card,.schedule-days button,.schedule-entry,.source-rating{transition:none}}
.anime-card:has(>.rating-slot:not(:empty)) .cover-badge{display:none}

/* Portrait shelves: keep the standard anime card, with room for adjacent titles. */
.home-discovery .spotlight-poster-strip,.home-discovery #recentStrip{grid-auto-columns:calc((100% - 42px)/4);gap:14px}
.home-discovery #spotlightShelf .anime-card{display:block;grid-template-columns:none;grid-template-rows:none;padding:0;border:0;border-radius:0;background:transparent;min-height:0}
.home-discovery #spotlightShelf .anime-card:hover{background:transparent;border:0}
.home-discovery #spotlightShelf .card-cover,.home-discovery #recentStrip .card-cover{width:100%;height:auto;aspect-ratio:2/3;border-radius:9px}
.home-discovery #spotlightShelf .card-title-row,.home-discovery #recentStrip .card-title-row{margin-top:10px;gap:4px;align-items:start}
.home-discovery #spotlightShelf .card-title,.home-discovery #recentStrip .card-title{font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-discovery #spotlightShelf .card-meta{display:none}
.home-discovery #spotlightShelf .rating-slot{position:absolute;left:7px;top:7px;grid-column:auto;grid-row:auto}
.home-discovery #spotlightShelf .rating-slot .source-rating{font-size:11px;padding:6px 7px;gap:4px}
.home-discovery #spotlightShelf .rating-votes,.home-discovery #recentStrip .rating-votes{display:none}
@media(max-width:1100px){.home-discovery .spotlight-poster-strip,.home-discovery #recentStrip{grid-auto-columns:calc((100% - 24px)/3);gap:12px}}
@media(max-width:820px){.home-discovery .spotlight-poster-strip,.home-discovery #recentStrip{grid-auto-columns:calc((100% - 42px)/4.2);gap:14px}}
@media(max-width:580px){.home-discovery .spotlight-poster-strip,.home-discovery #recentStrip{grid-auto-columns:calc((100% - 20px)/2.35);gap:10px}.home-discovery #spotlightShelf .card-title,.home-discovery #recentStrip .card-title{font-size:11px}}

/* Shared Lucide carousel controls. */
.home-discovery .row-actions>button{box-sizing:border-box;display:grid;place-items:center;width:34px;height:34px;min-width:34px;min-height:34px;padding:0;border:1px solid #ffffff1c;border-radius:9px;background:#ffffff06;color:#d8dbe2;font-size:0;line-height:0;flex:none}
.home-discovery .row-actions>button>.leyvu-icon{display:block;width:16px;height:16px;flex:none}
.home-discovery .row-actions>button:hover{background:#ff725b18;border-color:#ff725b55;color:#fff;transform:translateY(-1px)}
.home-discovery .row-actions>a{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
/* title-polish.css */
/* Keep the global Leyvu mark; the title page has a small, useful back action. */
.title-page .dialog-top{height:38px;padding:0 0 12px;gap:12px;margin-bottom:20px;justify-content:space-between}.title-page .dialog-kicker[hidden]{display:none!important}.title-back{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:11px;line-height:1;text-decoration:none;letter-spacing:0;font-weight:500}.title-back:hover{color:var(--ink)}.title-back svg{width:17px;height:17px}.title-page .dialog-top .close-button{margin:0;width:32px;height:32px;display:grid;place-items:center;line-height:1;flex:none}.title-page .watch-title-row{display:flex;justify-content:flex-start;align-items:center;gap:18px;min-width:0}.title-page .watch-title-row>div:first-child{flex:0 1 auto;min-width:0}.title-page .watch-title-row #watchTitle{margin:0;max-width:none}.title-page .title-actions{display:flex;align-items:center;gap:7px;flex:none;margin:0}.title-page .title-actions button{display:grid;place-items:center;flex:none;width:36px;min-width:36px;height:36px;min-height:36px;border:1px solid var(--line);border-radius:9px;margin:0;padding:8px;background:var(--panel);color:var(--muted);cursor:pointer}.title-page .title-actions button:hover{border-color:var(--accent);color:var(--accent)}.title-page .title-actions button.saved{color:var(--accent);border-color:#ff725b55}.title-page .title-actions svg{display:block;width:17px;height:17px;max-width:none}.title-page .title-summary>#watchOriginal{margin:0 0 13px}.title-page .rating-select-legacy{display:none!important}.title-page .personal-controls{align-items:end}.title-page .personal-controls .title-link{margin:0}.title-page #sourceLink{display:none!important}.title-page .source-rating{border:0}.title-page .title-source-rating{position:relative;margin:14px 0 20px;max-width:100%;width:max-content;z-index:6}.rating-trigger{cursor:pointer;font-family:inherit}.source-rating.rating-trigger{display:inline-flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--ink);min-height:44px;transition:background .2s,border-color .2s}.source-rating.rating-trigger:hover,.rating-trigger[aria-expanded=true]{border-color:#ffce3566;background:color-mix(in srgb,var(--panel) 93%,#ffce35)}.rating-trigger>svg{width:14px;height:14px;flex:none;color:var(--muted);transition:rotate .2s}.rating-trigger[aria-expanded=true]>svg{rotate:180deg}.rating-personal{font-size:10px;font-weight:600;color:var(--accent);padding-left:8px;border-left:1px solid var(--line)}.rating-personal[hidden]{display:none}.source-rating:not(button){cursor:default}.anime-rating-panel{position:absolute;left:0;top:calc(100% + 10px);z-index:20;width:340px;max-width:calc(100vw - 32px);padding:15px 15px 12px;border:1px solid var(--line);border-radius:13px;background:var(--panel);box-shadow:0 15px 50px #0006;animation:rating-panel-in .18s cubic-bezier(.22,1,.36,1);color:var(--ink);font-size:12px}.anime-rating-panel[hidden]{display:none!important}.rating-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.rating-panel-head strong{font-size:13px;font-weight:650}.rating-panel-close{display:grid;place-items:center;background:transparent;border:0;color:var(--muted);padding:0;width:26px;height:26px;font-size:20px;line-height:1;cursor:pointer}.rating-stars{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:2px}.rating-stars button{border:0;background:none;color:#86806a;padding:3px 1px;min-width:0;height:33px;display:grid;place-items:center;cursor:pointer;transition:color .15s,transform .15s}.rating-stars svg{width:100%;max-width:26px;height:26px;fill:transparent;stroke:currentColor;stroke-width:1.35}.rating-stars button.filled{color:#ffce35}.rating-stars button.filled svg{fill:currentColor}.rating-stars button:hover{transform:translateY(-2px)}.rating-stars button:focus-visible,.rating-trigger:focus-visible,.title-actions button:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:5px}.rating-panel-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px;min-height:28px}.rating-choice{font-size:11px;color:var(--ink)}.rating-reset{font-size:10px;color:var(--muted);background:none;border:0;padding:5px 0;cursor:pointer}.rating-reset:disabled{opacity:.35;cursor:default}.rating-reset:not(:disabled):hover{color:var(--accent)}.anime-rating-panel>p{margin:9px 0 0;color:var(--muted);font-size:9px;line-height:1.6;white-space:normal}.title-page .title-summary{min-width:0}.title-page .title-hero{overflow:visible}
@keyframes rating-panel-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:580px){.title-page .dialog-top{height:32px;margin-bottom:16px;padding-bottom:10px}.title-back{font-size:10px}.title-page .watch-title-row{gap:9px;align-items:flex-start;flex-wrap:wrap}.title-page .watch-title-row>div:first-child{flex:1 1 100%}.title-page .title-actions{gap:6px}.title-page .title-actions button{width:30px;min-width:30px;height:30px;min-height:30px;padding:6px}.title-page .title-actions svg{width:15px;height:15px}.title-page .title-summary>#watchOriginal{margin:0 0 8px}.title-page .title-source-rating{margin:12px 0 13px}.title-page .source-rating.rating-trigger{font-size:14px;min-height:40px;padding:8px 10px;gap:7px;flex-wrap:wrap}.rating-trigger .rating-votes{font-size:10px}.rating-trigger .rating-personal{font-size:9px}.title-page .personal-controls{margin-top:19px}.anime-rating-panel{padding:14px}.rating-stars button{height:36px}.rating-panel-close{height:30px;width:30px}}
@media(prefers-reduced-motion:reduce){.anime-rating-panel{animation:none}.rating-stars button,.rating-trigger>svg{transition:none}}

.rating-external{display:flex;flex-wrap:wrap;gap:7px 12px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line);font-size:10px}.rating-external[hidden]{display:none}.rating-external a{color:var(--muted);text-decoration:none}.rating-external a:hover{color:var(--accent)}
/* title-match.css */
/* Proportions and placement from the supplied 1781 × 883 title concept. */
.page-content:has(.title-page[open]){max-width:1700px;padding:0 55px}.title-page .dialog-top{display:none}.watch-dialog.title-page[open]{margin-top:30px}.title-page .title-hero{grid-template-columns:292px minmax(0,1fr);gap:46px;padding:28px 14px 22px;border-radius:25px;background:#1b1d20;align-items:start}.title-page .title-hero>#watchPoster{width:292px;max-width:none;aspect-ratio:2/3;border-radius:16px}.title-page .title-summary{padding:10px 8px 0 0;min-width:0}.title-page .title-tagline{font-size:16px;margin:0 0 28px}.title-page .title-summary>#watchOriginal{font-size:14px;margin:0 0 16px;letter-spacing:.3px}.title-page .watch-title-row{gap:16px;align-items:center}.title-page .watch-title-row #watchTitle{font-size:48px;line-height:1.16;letter-spacing:-1.3px;font-weight:800;max-width:26ch;overflow-wrap:anywhere;text-wrap:balance}.title-page .title-actions{gap:0}.title-page .title-actions #watchSave{border:0;background:none;width:34px;height:40px;padding:2px;color:var(--accent)}.title-page .title-actions #watchSave svg{width:27px;height:31px}.title-page .title-source-rating{margin:8px 0 21px;z-index:2;max-width:100%;width:max-content}.title-page .source-rating.rating-trigger{border:1px solid var(--line);border-radius:11px;font-size:22px;padding:9px 15px;gap:12px;min-height:48px;background:#1b1d20}.title-page .rating-trigger .rating-star{font-size:28px}.title-page .rating-trigger .rating-votes{font-size:17px}.title-page .rating-trigger .rating-personal{display:none}.title-page .rating-trigger[aria-expanded=true]{border-color:var(--line);background:#1b1d20}.title-page .anime-rating-panel{position:relative;top:auto;margin-top:8px;padding:13px 17px 12px;border-radius:13px;box-shadow:0 8px 30px #0003;background:#1b1d20}.title-page .anime-rating-panel:before{content:'';position:absolute;width:10px;height:10px;left:143px;top:-6px;background:#1b1d20;rotate:45deg;border-left:1px solid var(--line);border-top:1px solid var(--line)}.title-page .rating-panel-head{margin-bottom:7px}.title-page .rating-panel-head strong{font-size:15px;color:var(--muted);font-weight:500}.title-page .rating-panel-close,.title-page .anime-rating-panel>p{display:none}.title-page .rating-stars{gap:4px}.title-page .rating-stars button{height:30px;padding:0}.title-page .rating-stars svg{width:26px;height:26px}.title-page .rating-panel-foot{margin-top:7px;min-height:24px}.title-page .rating-choice,.title-page .rating-reset{font-size:13px}.title-page .title-summary>#watchDescription{display:block;font-size:15px;line-height:1.8;max-width:none;margin:0 0 24px;color:var(--muted)}.title-page .title-tags{gap:8px;margin:0 0 25px}.title-page .title-tags span{font-size:12px;padding:10px 13px;border-radius:6px}.title-bottom-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.title-bottom-controls .personal-controls{margin:0;display:block}.title-bottom-controls .personal-controls>label{display:block;font-size:0;line-height:0}.title-bottom-controls .personal-controls select{width:216px;height:52px;border-radius:9px;font-size:13px;line-height:normal;padding:0 15px}.title-bottom-controls .follow-actions{display:flex;gap:13px;margin:0;flex-wrap:wrap}.title-bottom-controls .follow-actions .button{height:52px;min-height:52px;font-size:13px;padding:0 24px;border-radius:9px}.title-page .title-bottom-controls .title-link{margin-left:auto;white-space:nowrap;font-size:13px;padding:9px 0;min-height:44px;color:var(--accent);background:none;border:0}.title-page .title-facts{padding:23px 20px;border-radius:17px}.title-page .title-facts>div>span{font-size:12px}.title-page .title-facts strong{font-size:14px}.title-page .title-tabs{margin-top:33px;gap:31px}.title-page .title-tabs a{font-size:14px}
@media(max-width:1500px){.title-page .title-hero{grid-template-columns:240px minmax(0,1fr);gap:32px}.title-page .title-hero>#watchPoster{width:240px}.title-page .watch-title-row #watchTitle{font-size:45px}.title-page .title-tagline{font-size:14px;margin-bottom:24px}.title-page .title-summary>#watchOriginal{font-size:11px}.title-page .title-summary>#watchDescription{font-size:13px}.title-bottom-controls{gap:10px}.title-bottom-controls .personal-controls select{width:170px}.title-bottom-controls .follow-actions .button{padding:0 16px;font-size:11px}.title-page .title-bottom-controls .title-link{font-size:11px}}
@media(max-width:1000px){.page-content:has(.title-page[open]){padding:0 28px}.title-page .title-hero{grid-template-columns:180px minmax(0,1fr);gap:25px}.title-page .title-hero>#watchPoster{width:180px}.title-page .watch-title-row #watchTitle{font-size:36px}.title-page .title-summary{padding-top:3px}.title-page .title-tagline{margin-bottom:18px}.title-page .title-bottom-controls .title-link{margin-left:0}.title-page .title-tags{margin-bottom:18px}.title-page .source-rating.rating-trigger{font-size:18px}}
@media(max-width:580px){.page-content:has(.title-page[open]){padding:0 14px}.watch-dialog.title-page[open]{margin-top:14px}.title-page .title-hero{grid-template-columns:90px minmax(0,1fr);gap:16px;padding:14px 12px 20px;border-radius:16px}.title-page .title-hero>#watchPoster{width:90px;border-radius:8px}.title-page .title-summary{padding:0}.title-page .title-tagline{font-size:9px;line-height:1.6;margin:0 0 8px}.title-page .title-summary>#watchOriginal{font-size:7px;margin-bottom:8px;line-height:1.7}.title-page .watch-title-row{gap:5px;flex-wrap:nowrap;align-items:flex-start}.title-page .watch-title-row>div:first-child{flex:1 1 auto}.title-page .watch-title-row #watchTitle{font-size:24px;line-height:1.15;letter-spacing:-.7px}.title-page .title-actions #watchSave{width:24px;min-width:24px;height:30px;min-height:30px;padding:2px}.title-page .title-actions #watchSave svg{width:20px;height:23px}.title-page .title-source-rating{margin:12px 0 14px}.title-page .source-rating.rating-trigger{font-size:14px;gap:7px;min-height:38px;padding:7px 9px}.title-page .rating-trigger .rating-star{font-size:20px}.title-page .rating-trigger .rating-votes{font-size:10px}.title-page .anime-rating-panel{padding:13px 14px;max-width:calc(100vw - 32px)}.title-page .anime-rating-panel:before{display:none}.title-page .rating-stars{gap:2px}.title-page .rating-panel-head strong{font-size:13px}.title-page .rating-choice,.title-page .rating-reset{font-size:11px}.title-page .title-summary>#watchDescription{font-size:11px;line-height:1.8;margin:15px 0 17px 0}.title-page .title-tags{gap:5px;margin-bottom:14px}.title-page .title-tags span{font-size:8px;padding:6px 7px}.title-bottom-controls{margin-left:-106px;margin-top:18px;gap:9px}.title-bottom-controls .personal-controls select{height:42px;width:100%;font-size:11px}.title-bottom-controls .personal-controls{flex:1 1 100%}.title-bottom-controls .personal-controls>label{display:block;width:100%}.title-bottom-controls .follow-actions{gap:8px}.title-bottom-controls .follow-actions .button{height:40px;min-height:40px;font-size:10px;padding:0 12px}.title-page .title-bottom-controls .title-link{font-size:10px;min-height:34px}.title-page .title-facts{padding:18px 14px;gap:18px}.title-page .title-facts>div>span{font-size:9px}.title-page .title-facts strong{font-size:11px}.title-page .title-tabs{gap:18px;margin-top:19px}.title-page .title-tabs a{font-size:11px}}
/* profile-customize.css */
.header .avatar{overflow:hidden;display:grid;place-items:center;padding:0;flex-shrink:0}.header .avatar>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.pd-avatar-wrap{position:relative;width:176px;height:176px;flex:none}.pd-avatar-wrap .pd-avatar{width:100%;height:100%;border-width:5px}.pd-avatar-edit{position:absolute;bottom:2px;right:1px;width:46px;height:46px;border:1px solid #ffffff33;border-radius:50%;display:grid;place-items:center;color:#f6f6f7;background:#1b1d22;box-shadow:0 5px 18px #0005;cursor:pointer}.pd-avatar-edit svg{width:22px;height:22px}.pd-avatar-edit:hover,.pd-cover-edit:hover{border-color:var(--profile-accent);color:var(--profile-accent)}.pd-cover-edit{display:flex;align-items:center;gap:8px}.pd-cover-edit svg{width:17px;height:17px}.pd-cover{height:240px;background:radial-gradient(ellipse at 25% 0%,#59535e,#14151a 75%)}.pd-hero{align-items:center;margin:-98px 34px 0;gap:28px}.pd-identity{padding-top:65px}.pd-identity>.pd-eyebrow{display:none}.pd-badges>span:last-child{display:none}.pd-actions{margin:20px 0 27px}.pd-member[data-frame=coral] .pd-avatar{box-shadow:0 0 0 2px #ff725b,0 12px 45px #ff725b33}.pd-member[data-frame=gold] .pd-avatar{box-shadow:0 0 0 2px #e9b85e,0 12px 45px #e9b85e22}.pd-member[data-frame=mint] .pd-avatar{box-shadow:0 0 0 2px #73bda4,0 12px 45px #73bda433}.pd-member[data-effect=glow] .pd-cover{box-shadow:inset 0 -70px 130px -75px var(--profile-accent)}.pd-member[data-effect=snow] .pd-cover-lines{background:radial-gradient(circle at 15% 20%,#fffd 0 1px,transparent 2px),radial-gradient(circle at 70% 40%,#fffb 0 2px,transparent 3px),radial-gradient(circle at 43% 15%,#fff8 0 1px,transparent 2px);background-size:110px 120px,180px 150px,130px 100px;animation:profile-snow 16s linear infinite}.profile-privacy-settings{padding:0!important;border:0!important;background:none!important}.profile-privacy-options{display:grid;gap:8px}.profile-privacy-options label{display:flex;gap:12px;align-items:start;padding:13px 0;border-bottom:1px solid var(--line);cursor:pointer}.profile-privacy-options input{margin-top:3px;accent-color:var(--profile-accent)}.profile-privacy-options span{display:grid;gap:6px}.profile-privacy-options b{font-size:12px;font-weight:600}.profile-privacy-options small,.profile-privacy-settings>p{font-size:10px;color:var(--muted);line-height:1.8}.profile-customize-dialog{position:fixed;width:480px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);border:1px solid #ffffff1b;border-radius:20px;padding:21px;background:#1a1b1f;color:#f3f3f5;box-shadow:0 30px 100px #0008;overflow:auto;color-scheme:dark;animation:customize-in .18s ease-out}.profile-customize-dialog::backdrop{background:#0007;backdrop-filter:blur(3px)}.profile-customize-dialog[open]{display:block}.customize-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:23px}.customize-dialog-top h2{font-size:21px;letter-spacing:-.5px;line-height:1.3;margin:0}.customize-dialog-top>button{width:32px;height:32px;background:none;border:0;color:#999da8;font-size:26px;cursor:pointer;display:grid;place-items:center}.customize-upload{position:relative;display:flex;align-items:center;gap:12px;padding:16px 17px;border-radius:12px;background:#2a2b2f;cursor:pointer;margin-bottom:20px;overflow:hidden}.customize-upload input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.customize-upload svg{width:21px;height:21px;flex:none}.customize-upload>span{font-size:16px;font-weight:600}.customize-upload>small{margin-left:auto;font-size:9px;color:#a2a5ad}.customize-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.customize-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;background:#222328;color:#f3f3f5;border:1px solid transparent;padding:0 0 15px;border-radius:17px;overflow:hidden;cursor:pointer;min-width:0}.customize-card:hover,.customize-card:focus-visible{border-color:var(--accent);outline:0}.customize-card-art{height:155px;background:radial-gradient(ellipse,#30323b,#14151a);display:grid;place-items:center;overflow:hidden;margin-bottom:13px}.customize-avatar .customize-card-art>img,.customize-frame .customize-card-art>img{width:112px;height:112px;border-radius:50%;object-fit:cover;object-position:50% 20%;border:3px solid #111215}.customize-card-art>b{font-size:60px;line-height:1;color:#b1b3ba}.customize-card>strong{font-size:13px;margin:0 15px 7px;font-weight:650;line-height:1.5}.customize-card>small{font-size:11px;color:#9699a3;margin:0 15px}.customize-card.frame-coral img,.wardrobe-preview-avatar.frame-coral{box-shadow:0 0 0 2px #ff725b}.customize-card.frame-gold img,.wardrobe-preview-avatar.frame-gold{box-shadow:0 0 0 2px #e9b85e}.customize-card.frame-mint img,.wardrobe-preview-avatar.frame-mint{box-shadow:0 0 0 2px #73bda4}.customize-reset{border:0;background:none;color:#aaaeb8;padding:16px 0 0;cursor:pointer;font-size:11px}.customize-dialog-foot{display:flex;justify-content:center;padding:18px 0 1px;border-top:1px solid #ffffff0e}.customize-dialog-foot button{background:none;border:0;display:flex;gap:16px;align-items:center;color:#b5b8c3;font-size:12px;padding:9px;cursor:pointer}.customize-dialog-foot button:hover{color:var(--accent)}.customize-status{min-height:15px;font-size:10px;color:#bbbfc9;margin:13px 0;line-height:1.6}.customize-status:empty{min-height:0;margin:18px 0}.profile-customize-dialog.is-saving .customize-body{pointer-events:none;opacity:.6}.profile-customize-dialog.is-wardrobe{width:1120px;padding:25px}.wardrobe-preview{height:220px;border-radius:17px;border:1px solid #ffffff14;background-position:center;background-size:cover;display:flex;align-items:center;gap:23px;padding:28px;margin-bottom:22px}.wardrobe-preview-avatar{width:145px;height:145px;border:4px solid #13151b;border-radius:50%;background:#282b34;display:grid;place-items:center;flex:none;font-size:60px;color:var(--accent)}.wardrobe-preview-avatar>img{width:100%;height:100%;object-fit:cover;border-radius:50%}.wardrobe-preview>div:nth-child(2){display:grid;gap:9px;min-width:0}.wardrobe-preview strong{font-size:40px;letter-spacing:-1.4px;overflow-wrap:anywhere}.wardrobe-preview span{font-size:13px;color:#afb4c1}.wardrobe-preview>small{margin-left:auto;color:#bbbfc9;font-size:11px}.customize-tabs{display:flex;gap:6px;overflow:auto;margin-bottom:21px;scrollbar-width:none}.customize-tabs button{border:0;background:#25262d;color:#a6abb5;padding:11px 18px;border-radius:10px;white-space:nowrap;font-size:12px;cursor:pointer}.customize-tabs button[aria-pressed=true]{background:var(--accent);color:#151515;font-weight:700}.is-wardrobe .customize-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.is-wardrobe .customize-card-art{height:170px}.customize-body form{display:grid;gap:16px;max-width:600px}.customize-body form label{display:grid;gap:9px;font-size:12px;color:#b9bdc7}.customize-body input:not([type=file]){background:#111319;color:#f3f3f5;border:1px solid #ffffff21;border-radius:9px;padding:13px;font-size:12px;width:100%;min-width:0}.effect-preview-glow{text-shadow:0 0 30px var(--accent);color:var(--accent)!important}.effect-preview-snow{color:#cbd7e7!important;animation:profile-float 3s ease-in-out infinite}
@keyframes customize-in{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}@keyframes profile-snow{to{background-position:30px 240px,-25px 300px,10px 200px}}@keyframes profile-float{50%{translate:0 -8px}}
@media(max-width:700px){.pd-cover{height:190px;margin:0;border-radius:16px 16px 0 0}.pd-hero{margin:-64px 16px 0;display:flex;align-items:flex-start;gap:18px}.pd-avatar-wrap{width:112px;height:112px}.pd-avatar-wrap .pd-avatar{border-width:4px}.pd-avatar-edit{width:36px;height:36px;bottom:0;right:-2px}.pd-avatar-edit svg{width:18px;height:18px}.pd-identity{margin-left:0;padding-top:72px;min-width:0}.pd-identity h1{margin:0 0 8px;font-size:29px;letter-spacing:-.8px}.pd-handle{font-size:11px}.pd-badges{margin-left:-130px;margin-top:15px}.pd-tagline{margin-left:-130px!important;padding-top:13px}.pd-actions{margin-top:20px}.profile-customize-dialog{padding:18px;border-radius:17px}.customize-dialog-top h2{font-size:19px}.customize-upload{padding:14px 12px;gap:9px}.customize-upload>span{font-size:14px}.customize-upload>small{display:none}.customize-grid{gap:11px}.customize-card-art{height:132px}.customize-avatar .customize-card-art>img,.customize-frame .customize-card-art>img{width:93px;height:93px}.customize-card>strong{font-size:11px;margin-left:12px;margin-right:12px}.customize-card>small{font-size:10px;margin-left:12px}.profile-customize-dialog.is-wardrobe{padding:17px}.wardrobe-preview{height:165px;padding:17px;gap:16px}.wardrobe-preview-avatar{width:88px;height:88px;font-size:35px}.wardrobe-preview strong{font-size:27px;letter-spacing:-.8px}.wardrobe-preview>small{display:none}.is-wardrobe .customize-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.is-wardrobe .customize-card-art{height:132px}.customize-tabs button{font-size:11px;padding:10px 13px}}
@media(prefers-reduced-motion:reduce){.profile-customize-dialog,.effect-preview-snow,.pd-member[data-effect=snow] .pd-cover-lines{animation:none}}
/* anime4k.css */
.anime4k-panel{margin-top:18px;padding:17px 0 0;border-top:1px solid var(--line)}.upscale-kicker{font-size:8px;letter-spacing:1.8px;color:var(--accent);font-weight:700}.upscale-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}.upscale-heading strong{font-size:13px;font-weight:600}.upscale-heading button{width:36px;height:21px;border:1px solid #ffffff20;border-radius:15px;background:#3b3e46;padding:3px;cursor:pointer;flex:none}.upscale-heading button>i{display:block;height:13px;width:13px;border-radius:50%;background:#ccc;transition:translate .18s}.upscale-heading button[aria-checked=true]{background:var(--accent)}.upscale-heading button[aria-checked=true]>i{translate:14px 0;background:#fff}.upscale-heading button:disabled{opacity:.4;cursor:default}.anime4k-panel p{font-size:10px!important;line-height:1.7;color:var(--muted);margin:10px 0 6px}.anime4k-panel small{font-size:8px;color:var(--muted);line-height:1.5}.player-area.is-upscaled{position:relative;overflow:hidden;background:#000}.player-area.is-upscaled>video{opacity:0;pointer-events:none}.anime4k-canvas{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.is-upscaled .anime4k-canvas{display:block}.upscale-playback{position:absolute;bottom:0;left:0;right:0;z-index:4;display:flex;align-items:center;gap:10px;padding:10px 13px;background:linear-gradient(transparent,#000c);color:#fff}.upscale-playback button{display:grid;place-items:center;width:32px;height:32px;background:none;border:0;color:inherit;font-size:18px;cursor:pointer;padding:0;flex:none}.upscale-playback input{flex:1;min-width:10px;accent-color:var(--accent);height:4px}.upscale-playback span{font-size:11px;font-variant-numeric:tabular-nums}.player-area.is-upscaled:fullscreen{width:100vw;height:100vh;aspect-ratio:auto!important}.upscale-heading button:focus-visible,.upscale-playback button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media(max-width:760px){.anime4k-panel{padding:13px 0 7px;margin-top:13px}.upscale-heading strong{font-size:12px}.upscale-playback{gap:6px;padding:8px}.upscale-playback button{width:26px}.upscale-playback span{font-size:9px}}

.upscale-label{display:flex;align-items:center;gap:4px;margin-bottom:-4px}.upscale-info{display:grid;place-items:center;width:40px;height:36px;min-width:40px;padding:0;border:0;background:none;color:var(--muted);cursor:pointer}.upscale-info>span{display:grid;place-items:center;width:19px;height:19px;border:1px solid currentColor;border-radius:50%;font:600 12px/1 Georgia,serif}.upscale-info:hover{color:var(--accent)}.upscale-info:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-radius:7px}.upscale-guide{position:fixed;width:540px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);margin:auto;padding:27px;border:1px solid #ffffff20;border-radius:20px;background:#1b1d21;color:#f3f1ed;box-shadow:0 25px 100px #0009;overflow:auto;color-scheme:dark}.upscale-guide::backdrop{background:#000b;backdrop-filter:blur(5px)}.upscale-guide-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.upscale-guide-top>button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;background:none;color:#a5a7ad;font-size:26px;cursor:pointer}.upscale-guide h2{font-size:25px;line-height:1.3;letter-spacing:-.6px;margin:13px 0 10px}.upscale-guide>p{font-size:13px;line-height:1.8;color:#aaaeb7}.upscale-guide-steps{padding:0;margin:23px 0;list-style:none;display:grid;gap:20px}.upscale-guide-steps>li{display:flex;align-items:flex-start;gap:13px}.upscale-guide-steps>li>span{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:9px;background:#ff725b1c;color:#ff725b;font-size:13px;font-weight:700}.upscale-guide-steps strong{font-size:14px;line-height:1.7}.upscale-guide-steps p,.upscale-guide-troubleshoot p{font-size:13px;line-height:1.8;color:#aaaeb7;margin:5px 0 0}.upscale-guide-example{display:flex;align-items:center;justify-content:center;gap:12px;padding:14px 10px;border:1px solid #ffffff12;border-radius:10px;background:#101112;font-size:10px;color:#aaaeb7}.upscale-guide-example strong{font-size:10px;color:#f3f1ed}.guide-switch{width:32px;height:19px;border-radius:20px;background:#ff725b;flex:none;position:relative}.guide-switch:after{content:'';position:absolute;width:13px;height:13px;border-radius:50%;background:white;right:3px;top:3px}.upscale-guide-troubleshoot{margin:20px 0}.upscale-guide-troubleshoot summary{font-size:13px;line-height:1.7;color:#f3f1ed;cursor:pointer}.upscale-guide .upscale-guide-note{font-size:12px;color:#969ba5;line-height:1.8;border-top:1px solid #ffffff12;padding-top:16px}.upscale-guide-done{width:100%;margin-top:8px;min-height:44px;font-size:12px}.upscale-guide button:focus-visible,.upscale-guide summary:focus-visible{outline:2px solid #ff725b;outline-offset:3px;border-radius:7px}@media(max-width:580px){.upscale-guide{padding:20px;max-height:calc(100dvh - 28px)}.upscale-guide h2{font-size:22px}.upscale-guide-steps{gap:16px;margin:20px 0}.upscale-guide-example{gap:9px;font-size:9px}.upscale-guide-example strong{font-size:9px}}

.upscale-playback [data-upscale-seek]{flex:1 1 auto;min-width:30px}.upscale-volume{display:flex;align-items:center;gap:5px;flex:0 0 auto}.upscale-volume button svg{width:19px;height:19px}.upscale-playback .upscale-volume input{flex:0 0 76px;width:76px;min-width:0;max-width:76px;margin:0;height:4px;cursor:pointer}.upscale-playback input:focus-visible{outline:2px solid var(--accent);outline-offset:6px;border-radius:9px}.upscale-playback:fullscreen .upscale-volume input{width:90px}
@media(max-width:600px){.upscale-playback{gap:5px}.upscale-volume{gap:2px}.upscale-playback .upscale-volume input{flex-basis:48px;width:48px;max-width:48px}.upscale-playback [data-upscale-time]{font-size:10px}.upscale-volume button svg{width:17px;height:17px}}
/* seo.css */
/* Progressive HTML fallback; hidden when the existing application has initialized. */
.seo-readable.seo-summary{display:block;max-width:1200px;padding:28px 20px;margin:20px auto 40px}.seo-readable[hidden]{display:none!important}.seo-readable h1{font-size:32px;line-height:1.3}.seo-readable h2{font-size:23px}.seo-readable>nav{font-size:12px;color:var(--muted);margin-bottom:22px}.seo-anime{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px}.seo-anime>img{width:100%;height:auto;border-radius:12px}.seo-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 18px;margin:26px 0}.seo-cards>a{display:flex;flex-direction:column;gap:10px;font-size:12px}.seo-cards img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:9px}.seo-cards span{font-size:10px;color:var(--muted)}.seo-pagination{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:30px 0}.seo-pagination a,.seo-readable a:hover{color:var(--accent)}a.card-cover{display:block}a.card-title{color:inherit}.title-summary #watchTitle{margin:0}.region-links{display:inline-flex;gap:9px;align-items:center;white-space:nowrap}.region-links a{font-size:inherit}.region-suggestion{position:fixed;bottom:22px;left:22px;z-index:90;width:480px;max-width:calc(100vw - 44px);padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--ink);box-shadow:0 10px 45px #0006}.region-suggestion strong{font-size:16px}.region-suggestion p{font-size:12px;line-height:1.8;color:var(--muted);margin:10px 15px 16px 0}.region-actions{display:flex;gap:9px;flex-wrap:wrap}.region-actions .button{min-height:42px;font-size:11px;padding:0 15px}.region-dismiss{position:absolute;right:10px;top:10px;width:32px;height:32px;color:var(--muted);font-size:23px}.region-dismiss:focus-visible{outline:2px solid var(--accent)}@media(max-width:650px){.seo-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.seo-anime{grid-template-columns:90px minmax(0,1fr);gap:18px}.seo-readable h1{font-size:23px}.seo-readable p{font-size:12px}.region-suggestion{left:12px;right:12px;bottom:12px;width:auto;max-width:none;padding:19px}.region-actions{display:grid;grid-template-columns:1fr}.region-links{flex-wrap:wrap;white-space:normal}.seo-pagination{font-size:11px}}
/* catalog-feed.css */
.catalog-feed-controls{display:flex;align-items:center;justify-content:center;gap:18px;flex-direction:column;padding:30px 10px 40px;color:#8f979d;font-size:11px}.catalog-feed-controls .button{min-height:44px}.catalog-feed-sentinel{height:1px;width:100%}.back-to-top{position:fixed;right:25px;bottom:25px;z-index:45;display:flex;align-items:center;gap:8px;padding:13px 17px;border-radius:13px;border:1px solid #ffffff20;background:#292d30e8;backdrop-filter:blur(14px);color:#f2eee8;font-size:12px;box-shadow:0 7px 25px #0004;transition:transform .2s,background .2s}.back-to-top:hover{transform:translateY(-3px);background:#393e41;color:#ff927f}.back-to-top span:first-child{color:#ff927f;font-size:20px}.anime-card{position:relative}.poster-loading{background:#232629}.poster-loading:before{content:'';position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(110deg,transparent 20%,#ffffff0b 45%,transparent 70%);background-size:220% 100%;animation:poster-shimmer 1.4s linear infinite}.poster-loading img{opacity:.12}.card-cover img[data-poster-state=ready]{animation:poster-appear .25s ease both}.poster-retry{position:absolute;right:10px;top:50px;z-index:5;width:36px;height:36px;background:#30373be8;border:1px solid #ffffff28;border-radius:50%;color:#ff927f;font-size:23px}.poster-retry:hover{background:#414b51;color:#fff}@keyframes poster-shimmer{to{background-position:-220% 0}}@keyframes poster-appear{from{opacity:0}to{opacity:1}}@media(max-width:650px){.back-to-top{right:14px;bottom:18px;padding:10px 13px;font-size:11px}.catalog-feed-controls{padding-bottom:25px}}@media(prefers-reduced-motion:reduce){.poster-loading:before,.card-cover img[data-poster-state=ready]{animation:none}.back-to-top{transition:none}}
/* title-continuity.css */
/* Quiet, horizontal discovery below the viewing surface. */
#watchDialog .watch-body.watch-body-wide{display:block;min-width:0}#watchDialog .watch-info{min-width:0}#watchDialog .watch-side[hidden]{display:none!important}
.title-rail-section{min-width:0;margin:30px 0 34px;scroll-margin-top:90px}.title-rail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.title-rail-heading h2{font-size:20px;letter-spacing:-.5px;margin:0}.title-rail-arrows{display:flex;gap:7px}.title-rail-arrows button{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:9px;font-size:23px;line-height:1;transition:background .2s,color .2s}.title-rail-arrows button:hover:enabled{background:#ff725b12;color:var(--accent)}
#watchDialog .title-card-rail{display:flex;gap:18px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#ffffff25 transparent;overscroll-behavior-x:contain;padding:3px 2px 13px;margin:0;min-width:0}
.title-story-card{display:block;flex:0 0 160px;min-width:0;scroll-snap-align:start;transition:color .2s}.title-story-cover{display:block;aspect-ratio:2/3;border-radius:10px;overflow:hidden;background:var(--panel);border:1px solid var(--line)}.title-story-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}.title-story-card:hover img{transform:scale(1.035)}.title-story-card strong{font-size:12px;line-height:1.55;margin:11px 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:37px}.title-story-card small{display:block;font-size:10px;line-height:1.6;color:var(--muted)}
#watchDialog .title-collection-inline{display:grid;grid-template-columns:minmax(140px,1fr) minmax(150px,240px) auto;align-items:center;gap:12px;margin-top:24px;padding:20px 0;border-top:1px solid var(--line)}#watchDialog .title-collection-inline h3{margin:0;font-size:13px}#watchDialog .title-collection-inline .button{width:auto;min-height:40px}#watchDialog .title-collection-inline>a{grid-column:2/-1;font-size:11px;margin:0}
/* Voice and source tabs have independent, compact lists. */
.cinema-sidebar{overflow:hidden;min-width:0}#cinemaVoices,#cinemaSources{min-width:0;max-width:100%}#cinemaVoiceList,#cinemaSourceList{max-height:360px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#6d4b45 transparent;scrollbar-gutter:stable;padding-right:5px}#cinemaVoiceList::-webkit-scrollbar,#cinemaSourceList::-webkit-scrollbar{width:3px;height:3px}#cinemaVoiceList::-webkit-scrollbar-thumb,#cinemaSourceList::-webkit-scrollbar-thumb{background:#81574e;border-radius:9px}#cinemaVoiceList::-webkit-scrollbar-track,#cinemaSourceList::-webkit-scrollbar-track{background:transparent}#cinemaVoiceList::-webkit-scrollbar-button,#cinemaSourceList::-webkit-scrollbar-button{display:none;width:0;height:0}
.cinema-voice-group{font-size:9px;font-weight:600;letter-spacing:.5px;color:var(--muted);margin:16px 10px 8px}.cinema-voice-group:first-child{margin-top:2px}#cinemaVoiceList .cinema-voice{min-height:44px;padding:11px 10px;margin-bottom:4px;gap:8px;align-items:center}#cinemaVoiceList .cinema-voice strong{font-size:12px;line-height:1.5;min-width:0;overflow-wrap:anywhere}#cinemaVoiceList .cinema-voice-check{grid-row:1;line-height:1}#cinemaVoiceList .cinema-voice:hover{transform:none}#cinemaVoiceHint:empty{display:none}.cinema-side-foot{padding-top:14px}
@media(max-width:760px){.title-rail-heading h2{font-size:18px}.title-rail-section{margin:25px 0}.title-story-card{flex-basis:132px}#watchDialog .title-card-rail{gap:12px}#cinemaVoiceList,#cinemaSourceList{max-height:240px}#watchDialog .title-collection-inline{grid-template-columns:1fr auto;gap:12px}#watchDialog .title-collection-inline h3{grid-column:1/-1}#watchDialog .title-collection-inline>a{grid-column:1/-1}.title-rail-arrows button{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.title-story-cover img,.title-story-card,.title-rail-arrows button{transition:none}}


.title-rail-arrows button{box-sizing:border-box;line-height:0;font-size:0;padding:0}
.title-rail-arrows button>.leyvu-icon{display:block;width:17px;height:17px}

/* Title detail, discovery rails and player controls. */
.title-page .title-hero{grid-template-columns:minmax(210px,270px) minmax(0,1fr);gap:clamp(24px,4vw,48px);padding:clamp(24px,3.5vw,42px);border:1px solid #ffffff10;border-radius:24px;background:linear-gradient(112deg,#151820 0%,#171a22f2 58%,#171a22d9 100%);align-items:start;overflow:hidden}.title-page .title-hero>#watchPoster{width:100%;max-width:270px;border-radius:15px;box-shadow:0 18px 50px #0006}.title-page .title-summary{padding:8px 0 0;min-width:0}.title-page .title-tagline{font-size:clamp(17px,1.7vw,22px);line-height:1.45;margin:0 0 20px;color:#f4f5f7}.title-page .title-summary>#watchOriginal{font-size:13px;color:#b5bac4;margin-bottom:12px}.title-page .watch-title-row #watchTitle{font-size:clamp(32px,4vw,48px);line-height:1.12;letter-spacing:-1.5px;max-width:22ch}.title-page .title-summary>p{max-width:68ch;color:#c1c5cf;line-height:1.8}.title-page .title-tags{gap:8px;margin:18px 0 24px}.title-page .title-tags span{padding:7px 10px;border-radius:99px;background:#ffffff0a;border:1px solid #ffffff10}.title-page .title-banner{opacity:.075;mask-image:linear-gradient(90deg,transparent 3%,#000 78%);filter:saturate(.7)}.title-page .title-facts{margin-top:18px}.title-page .title-tabs{margin:24px 0}.title-page .title-story{max-width:1000px}.title-page .title-story>p{max-width:78ch;font-size:15px;line-height:1.9;color:#c1c5cf}.title-page .title-rail-section{padding-top:6px}.title-rail-arrows button{background:#ffffff05;border-color:#ffffff18}.title-rail-arrows button:disabled{opacity:.35;cursor:default}.cinema-player .stream-placeholder{padding:clamp(24px,5vw,64px);min-height:260px;box-sizing:border-box}.cinema-player .stream-placeholder h3{max-width:min(620px,90%);font-size:clamp(19px,2.2vw,29px);line-height:1.25;overflow-wrap:anywhere}.cinema-player .stream-placeholder p{max-width:min(520px,88%);font-size:13px;line-height:1.7}.cinema-player .stream-placeholder .button{display:grid;place-items:center;flex:none}.cinema-player .stream-placeholder .button>.leyvu-icon{width:24px;height:24px;margin:0}.cinema-transport button{display:grid;place-items:center}.cinema-transport button>.leyvu-icon{width:17px;height:17px}
@media(max-width:760px){.title-page .title-hero{grid-template-columns:96px minmax(0,1fr);gap:17px;padding:20px 18px;border-radius:17px}.title-page .title-hero>#watchPoster{width:96px;border-radius:10px}.title-page .title-summary{padding-top:0}.title-page .title-tagline{font-size:14px;line-height:1.45;margin-bottom:11px}.title-page .watch-title-row #watchTitle{font-size:clamp(21px,5.5vw,30px);line-height:1.16;letter-spacing:-.6px}.title-page .title-summary>#watchOriginal{font-size:10px;line-height:1.55}.title-page .title-summary>p{display:none}.title-page .title-tags{gap:5px;margin:11px 0}.title-page .title-tags span{font-size:8px;padding:5px 7px}.cinema-player .stream-placeholder{min-height:210px;padding:22px}.cinema-player .stream-placeholder h3{font-size:18px;max-width:100%}.cinema-player .stream-placeholder p{font-size:11px;max-width:100%}}
@media(max-width:420px){.title-page .title-hero{grid-template-columns:78px minmax(0,1fr);gap:13px;padding:16px 14px}.title-page .title-hero>#watchPoster{width:78px}.title-page .title-tagline{font-size:12px}.title-page .watch-title-row #watchTitle{font-size:20px}}
/* «Связанное»: счётчик, фильтр по типу, текущий тайтл и выпуски, которых нет в каталоге */
.title-rail-title{display:flex;align-items:baseline;gap:10px;min-width:0}
.title-rail-count{color:var(--muted);font-size:13px;white-space:nowrap}
.related-filters{display:flex;gap:6px;margin-left:auto;overflow-x:auto;scrollbar-width:none}
.related-filters[hidden]{display:none}
.related-filters::-webkit-scrollbar{display:none}
.related-filters button{flex:0 0 auto;height:32px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font:inherit;font-size:12.5px;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.related-filters button:hover{color:var(--text);border-color:#ffffff33}
.related-filters button[aria-pressed=true]{border-color:transparent;background:#ff725b24;color:var(--text);font-weight:600}
.title-story-card.is-current .title-story-cover{border-color:var(--accent);box-shadow:0 0 0 2px #ff725b55}
.title-story-card.is-current small{color:var(--accent)}
.title-story-missing{display:block;cursor:default}
.title-story-card.is-missing .title-story-cover{display:grid;place-items:center;background:repeating-linear-gradient(135deg,#ffffff05 0 10px,transparent 10px 20px),var(--panel);border-style:dashed}
.title-story-card.is-missing .title-story-cover em{padding:4px 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:11px;font-style:normal}
.title-story-card.is-missing strong{color:var(--muted)}
@media(max-width:760px){.title-rail-heading{flex-wrap:wrap}.related-filters{order:3;flex-basis:100%;margin-left:0}}
/* leyvu2.css */
:root{--bg:#101112;--panel:#1a1c1e;--ink:#f3f1ed;--muted:#97999d;--line:#2b2d30;--accent:#ff725b;--accent-strong:#ff644b;--v2-radius:10px;--v2-gap:16px;--v2-soft:color-mix(in srgb,var(--accent) 11%,var(--panel));--v2-error:#e4776b;--v2-success:#78bd9d}
:root[data-site-palette=ocean]{--bg:#0d1520;--panel:#152233;--ink:#edf4ff;--muted:#a1b3ca;--line:#293c53;--accent:#88bfff;--accent-strong:#a9d1ff;color-scheme:dark}
:root[data-site-palette=sakura]{--bg:#191319;--panel:#251d26;--ink:#f6edf4;--muted:#bca7b7;--line:#3c2e3b;--accent:#edabc9;--accent-strong:#f3c3d8;color-scheme:dark}
:root[data-site-palette=emerald]{--bg:#101a17;--panel:#192723;--ink:#eef7f1;--muted:#a0b8ac;--line:#2c4037;--accent:#88ccac;--accent-strong:#a6dfc2;color-scheme:dark}
:root[data-site-palette=crimson]{--bg:#191214;--panel:#281c20;--ink:#f9edf0;--muted:#c0a6ad;--line:#432e35;--accent:#ef9a9c;--accent-strong:#f3b4b6;color-scheme:dark}
:root[data-site-palette=light]{--bg:#f5f5f2;--panel:#ffffff;--ink:#23282e;--muted:#626a72;--line:#d5d9dd;--accent:#bb4936;--accent-strong:#a33c2c;--v2-error:#a83325;--v2-success:#226b48;color-scheme:light}
/* User-approved: hero accents follow the selected palette; its scene stays readable. */
#hero{--bg:#101112;--panel:#1a1c1e;--ink:#f3f1ed;--muted:#97999d;--line:#2b2d30;--accent:inherit;--accent-strong:inherit;color:#f3f1ed;color-scheme:dark}
body{background:var(--bg);color:var(--ink)}.header{background:var(--bg)}.header .brand-dot{color:#ff725b}.header .nav-link{color:var(--muted)}.header .nav-link.active{color:var(--ink)}
.page-content :is(.search-field,.advanced-panel,.plan-form,.history-item,.pd-box,.account-columns>details,.quick-result,.calendar-dialog),#quickSearch,dialog.small-dialog,#profileCustomizeDialog{background:var(--panel);border-color:var(--line);color:var(--ink)}
.page-content :is(input:not([type=range]):not([type=checkbox]):not([type=color]),textarea,select),dialog :is(input:not([type=range]):not([type=checkbox]):not([type=color]),textarea,select){background:var(--bg);color:var(--ink);border-color:var(--line);border-radius:var(--v2-radius)}
.page-content :is(button,a):focus-visible,dialog :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.page-content .card-title,.page-content .title-summary h1{color:var(--ink)}.page-content .card-meta,.page-content .pd-tagline,.page-content .pd-data-note{color:var(--muted)}
.page-content .button.secondary,.header .icon-button,.page-content .filter{border-color:var(--line);color:var(--ink);background:var(--panel)}.page-content .filter.active{background:var(--accent);color:var(--bg);border-color:var(--accent)}.page-content .button.primary{background:var(--accent);color:var(--bg)}
#watchDialog .watch-body,#watchDialog .title-story,#watchDialog .title-tabs,.page-content .personal-notes{color:var(--ink)}#watchDialog .title-hero{background-color:var(--panel)}#watchDialog .title-tabs{border-color:var(--line)}.page-content .pd-cover{height:184px}.page-content .pd-box{box-shadow:none;border-radius:var(--v2-radius)}.page-content .pd-welcome h2{font-size:22px}.page-content .pd-avatar{box-shadow:0 0 0 5px var(--bg)}
#watchDialog .cinema-player{background:var(--panel);border-color:var(--line);box-shadow:none}#watchDialog .cinema-sidebar{background:var(--panel);color:var(--ink)}#watchDialog .cinema-tabs button[aria-selected=true],#watchDialog .cinema-voice{color:var(--ink)}#watchDialog .cinema-voice[aria-pressed=true]{background:var(--v2-soft);border-color:var(--accent)}#watchDialog .cinema-voice-check{color:var(--accent)}
.v2-box{background:var(--panel);border:1px solid var(--line);border-radius:var(--v2-radius);padding:20px;margin:20px 0}.v2-box h2,.v2-box h3{margin:0 0 14px;letter-spacing:-.3px}.v2-box p{color:var(--muted);font-size:12px;line-height:1.7}.v2-status{font-size:12px;line-height:1.7;color:var(--muted);min-height:20px}.v2-status[role=alert]{color:var(--v2-error)}.v2-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.v2-row>label{flex:1;min-width:150px}.v2-row select,.v2-row input{max-width:100%;min-height:40px}.v2-muted{color:var(--muted);font-size:11px;line-height:1.7}
.v2-theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.v2-theme-option{border:1px solid var(--line);border-radius:var(--v2-radius);padding:10px;text-align:left;min-width:0;color:var(--ink);background:var(--panel)}.v2-theme-option[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:1px}.v2-theme-preview{height:43px;border-radius:6px;margin-bottom:8px;background:var(--preview-bg);padding:9px}.v2-theme-preview:before{display:block;width:40%;height:8px;background:var(--preview-accent);border-radius:3px;content:''}.v2-theme-preview:after{display:block;width:75%;height:5px;margin-top:8px;background:var(--preview-accent);opacity:.3;content:''}.v2-theme-option strong{font-size:11px}.v2-theme-dialog{width:540px;max-width:calc(100vw - 24px);padding:24px;border-radius:12px;background:var(--panel);color:var(--ink);border-color:var(--line)}.v2-theme-dialog header{display:flex;justify-content:space-between;gap:16px;margin-bottom:20px}.v2-theme-dialog header h2{font-size:20px;margin:0}.v2-theme-dialog header button{font-size:22px;min-width:32px}
.v2-profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v2-profile-stats>div{padding:14px;border:1px solid var(--line);border-radius:9px}.v2-profile-stats b{display:block;font-size:21px}.v2-profile-stats small{font-size:10px;color:var(--muted)}.v2-genre-row{display:flex;flex-wrap:wrap;gap:8px}.v2-genre-row span{font-size:11px;border:1px solid var(--line);padding:6px 9px;border-radius:6px}.v2-favorites{display:flex;gap:12px;overflow-x:auto;scrollbar-width:thin;padding-bottom:10px}.v2-favorites>a{flex:0 0 112px;font-size:11px}.v2-favorites img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:8px}.v2-favorites strong{display:block;margin-top:7px;line-height:1.5}.v2-favorite-pick{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:10px 0;font-size:12px}.v2-favorite-pick img{width:48px;height:64px;object-fit:cover;border-radius:5px}.v2-favorite-pick button{min-width:40px;min-height:40px;color:var(--accent)}.v2-favorite-results{max-height:340px;overflow:auto}.v2-privacy{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.7;margin:12px 0}.v2-privacy input{accent-color:var(--accent);width:17px;height:17px;flex:none;margin-top:2px}.v2-activity{list-style:none;margin:0;padding:0}.v2-activity li{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px;line-height:1.6}.v2-activity time{font-size:10px;color:var(--muted);white-space:nowrap}.v2-notice-trigger{min-height:36px;font-size:12px;color:var(--muted);padding:5px 8px}.v2-online{font-size:11px;color:var(--muted);white-space:nowrap}.v2-online:before{content:'';display:inline-block;width:5px;height:5px;background:var(--v2-success);border-radius:50%;margin-right:6px}
.v2-loading{min-height:80px;background:linear-gradient(100deg,var(--panel),var(--v2-soft),var(--panel));background-size:200% 100%;animation:v2-loading 1.4s linear infinite;border-radius:var(--v2-radius)}@keyframes v2-loading{to{background-position:-200% 0}}.toast{background:var(--ink);color:var(--bg);border-color:var(--line);border-radius:var(--v2-radius);box-shadow:none}
@media(max-width:760px){.v2-box{padding:16px}.v2-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.v2-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v2-activity li{display:block}.v2-activity time{display:block;margin-top:4px}.v2-notice-trigger{font-size:11px}.header-actions{gap:8px}.page-content .pd-cover{height:145px}}
@media(prefers-reduced-motion:reduce){.v2-loading{animation:none}.v2-theme-option{transition:none}}
.v2-media-url{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.v2-media-url input{margin:10px 0}.quick-result[aria-selected=true]{outline:1px solid var(--accent);background:var(--panel)}.v2-notice-trigger{display:grid;place-items:center;width:34px;flex:none}.v2-notice-trigger[hidden]{display:none}.v2-notices p{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.7}.pd-cover[data-preset=sunset],.world-cover[data-preset=sunset]{background-image:linear-gradient(125deg,#663c38,#bd6e61,#292436)}.pd-cover[data-preset=ocean],.world-cover[data-preset=ocean]{background-image:linear-gradient(125deg,#24435b,#3c7889,#11222e)}.pd-cover[data-preset=mist],.world-cover[data-preset=mist]{background-image:linear-gradient(125deg,#41444c,#92969b,#272832)}.pd-cover[data-preset=forest],.world-cover[data-preset=forest]{background-image:linear-gradient(125deg,#193c32,#4d7b60,#162821)}
.profile-world{background-color:var(--bg,#101112);color:var(--ink,#f3f1ed)}.profile-world .world-card{border-radius:14px;background:var(--panel,#1a1c1e);border-color:var(--line,#2b2d30);box-shadow:0 20px 65px #0002}.profile-world .world-bio,.profile-world .world-handle,.profile-world .world-tagline,.profile-world .world-side p{color:var(--muted,#97999d)}.profile-world .world-cover{height:170px}.profile-world .world-initial{position:relative;overflow:hidden;margin:0}.profile-world .world-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.profile-world .world-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-world .world-stats>div{background:var(--bg,#101112);border-color:var(--line,#2b2d30);border-radius:8px}.profile-world .world-stats small,.profile-world .world-showcase small{color:var(--muted,#97999d)}.profile-world .world-showcase strong{color:var(--ink,#f3f1ed)}.profile-world .world-showcase small{display:block;margin-top:5px;font-size:10px;line-height:1.6}.profile-world .world-showcase img{height:auto;aspect-ratio:2/3;object-fit:cover}.profile-world .world-section-status{font-size:11px;color:var(--muted,#97999d);line-height:1.7;grid-column:1/-1}.world-activity article,.world-activity>p{border-bottom:1px solid var(--line,#2b2d30);padding:14px 0;font-size:12px;line-height:1.7}.world-activity a{color:inherit;text-decoration:none}.world-activity time{display:block;font-size:10px;color:var(--muted,#97999d);margin-top:4px}.world-activity article>p{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted,#97999d)}
@media(max-width:600px){.profile-world .world-cover{height:130px}.profile-world .world-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-world .world-showcase{grid-template-columns:repeat(3,minmax(0,1fr))}}

.profile-world *{box-sizing:border-box}.profile-world .world-about,.profile-world .world-music,.profile-world .world-side{background:var(--panel);border-color:var(--line);border-radius:10px}.profile-world .world-cover:after{background:linear-gradient(0deg,var(--panel),transparent)}.profile-world .world-layout{padding:0 24px 16px}.profile-world .world-avatar{border-color:var(--panel)}
@media(max-width:650px){.profile-world .world-layout{padding:0 12px 8px}}
/* Existing cinematic page classes use fixed backgrounds; scope palette overrides outside the hero. */
html[data-site-palette]:not([data-site-palette=original]) body.home-cinematic,html[data-site-palette]:not([data-site-palette=original]) .home-cinematic .header{background:var(--bg);color:var(--ink)}

html[data-site-palette]:not([data-site-palette=original]) :is(.page-content,.home-discovery,dialog){--surface:var(--panel);--text:var(--ink)}
#watchDialog :is(.rating-trigger,.anime-rating-panel){background:var(--panel);color:var(--ink);border-color:var(--line)}

.profile-world{background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:fixed}.profile-world .world-link{background:var(--bg);border-color:var(--line);color:var(--ink)}

/* Header presence: search | real online | notifications | profile. */
.header-actions .v2-online{display:inline-flex;align-items:center;gap:4px;flex:none;white-space:nowrap;font-size:11px;color:var(--ink);padding:0 16px;min-height:24px;border-inline:1px solid var(--line);font-variant-numeric:tabular-nums}.header-actions .v2-online[hidden]{display:none}.header-actions .v2-online:before{width:6px;height:6px;margin-right:3px;flex:none;background:#79cf52;box-shadow:0 0 8px #79cf5225}.v2-online b{font-weight:650}.v2-online-label{font-weight:500}
#hero .hero-preview.active{border-color:color-mix(in srgb,var(--accent) 65%,transparent);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 9%,transparent),0 10px 28px #0005}#hero .hero-edge:hover{background:color-mix(in srgb,var(--accent) 26%,transparent);border-color:color-mix(in srgb,var(--accent) 34%,transparent)}#hero .button.primary{box-shadow:0 6px 30px color-mix(in srgb,var(--accent) 14%,transparent)}#hero .spotlight-topline b{box-shadow:0 0 18px color-mix(in srgb,var(--accent) 46%,transparent)}
html[data-site-palette]:not([data-site-palette=original]) #hero{background-color:color-mix(in srgb,var(--accent) 10%,#14171d);border-color:color-mix(in srgb,var(--accent) 20%,transparent)}html[data-site-palette]:not([data-site-palette=original]) #hero:after{background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 8%,transparent),transparent 55%)}html[data-site-palette=light] #hero .button.primary{color:#fff}
@media(max-width:760px){.header-actions .v2-online{padding:0 9px;font-size:10px}}@media(max-width:480px){.header-actions .v2-online{padding:0 7px;gap:3px}.header-actions .v2-online-label{display:none}.header-actions .v2-online:before{margin-right:1px}.header-actions .v2-online b{font-size:11px}}

.release-schedule .schedule-days{display:flex;gap:3px;overflow-x:auto;scrollbar-width:thin}.release-schedule .schedule-days button{flex:1;min-width:24px;padding:9px 4px;font-size:10px}.release-schedule .schedule-days button[data-schedule-day=recent]{flex:0 0 94px;white-space:normal;line-height:1.25}.release-schedule .schedule-entry{grid-template-columns:37px minmax(0,1fr) 83px;gap:10px;padding-block:11px}.schedule-when{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:5px;font-size:10px;color:var(--ink);text-align:right;font-variant-numeric:tabular-nums}.schedule-when small{display:flex;align-items:center;justify-content:flex-end;gap:5px;color:var(--muted);font-size:10px;line-height:1.35}.schedule-when svg{width:13px;height:13px;flex:none}.schedule-entry-copy{min-width:0}.release-schedule .schedule-entry-copy strong{font-size:11px;line-height:1.45}.release-schedule .schedule-entry-copy small{font-size:9px;line-height:1.5}.release-schedule .schedule-foot{gap:8px;align-items:center}.release-schedule #scheduleTimezone{font-size:9px;color:var(--muted)}
@media(max-width:480px){.header-actions{gap:5px}.release-schedule .schedule-entry{gap:8px;grid-template-columns:32px minmax(0,1fr) 75px}.release-schedule .schedule-entry>img{width:32px;height:46px}}

/* Detail-page scene is independent of the selected video provider. */
#watchDialog .title-hero{isolation:isolate;position:relative}
#watchDialog .title-hero>.title-banner{z-index:0;opacity:.48;mask-image:none;object-position:center 35%;border-radius:inherit;pointer-events:none}
#watchDialog .title-hero:after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:inherit;background:linear-gradient(90deg,var(--panel) 0%,color-mix(in srgb,var(--panel) 88%,transparent) 32%,color-mix(in srgb,var(--panel) 46%,transparent) 100%)}
#watchDialog .title-hero>:not(.title-banner){position:relative;z-index:1;min-width:0}
/* Match the existing hero edges without changing the hero itself. */
.home-cinematic .home-discovery,.home-cinematic #home>.page-content{width:calc(100% - 64px);max-width:1390px;padding-left:0;padding-right:0}
.release-schedule .schedule-entry{display:grid}
@media(min-width:821px){.home-discovery>.release-schedule{align-self:stretch;display:flex;flex-direction:column}.release-schedule .schedule-results{display:flex;flex:1;min-height:0;flex-direction:column}.release-schedule .schedule-list{max-height:510px}.release-schedule .schedule-foot{margin-top:auto;padding-top:16px}}
@media(max-width:1100px){.home-cinematic .home-discovery,.home-cinematic #home>.page-content{width:calc(100% - 40px)}}
@media(max-width:580px){.home-cinematic .home-discovery,.home-cinematic #home>.page-content{width:calc(100% - 24px)}#watchDialog .title-hero>.title-banner{opacity:.3}}

/* Official schedule: let the scroll area fill its panel instead of leaving a blank gap. */
@media(min-width:821px){.release-schedule .schedule-results{flex:1 1 0;overflow:hidden;min-height:240px}.release-schedule .schedule-list{flex:1;max-height:none;min-height:0;align-content:start}.release-schedule .schedule-foot{margin-top:12px}}
/* ecosystem.css */
.ecosystem-page{min-width:320px}.ecosystem-page .header{gap:36px}.ecosystem-page .header nav{gap:24px}.ecosystem-page .header-actions{gap:16px}.v3-page{width:calc(100% - 64px);max-width:1040px;margin:42px auto 70px;min-height:50vh}.v3-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 28px}.v3-heading h1{font-size:32px;letter-spacing:-1px;margin:8px 0 12px}.v3-heading p{font-size:13px;color:var(--muted);line-height:1.8}.v3-heading .tiny-label{font-size:9px;color:var(--accent);letter-spacing:1.7px}.v3-filters{display:flex;gap:12px;padding:16px 0 24px;border-bottom:1px solid var(--line)}.v3-filters>label:first-child{flex:1;min-width:0}.v3-page :is(input:not([type=checkbox]):not([type=hidden]),select,textarea),.v3-dialog :is(input:not([type=checkbox]):not([type=hidden]),select,textarea){background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:11px 12px;color:var(--ink);font:inherit;width:100%;min-width:0;font-size:13px;line-height:1.5}.v3-page textarea,.v3-dialog textarea{resize:vertical}.v3-page label,.v3-dialog label{display:block;font-size:12px;line-height:1.7}.v3-panel label,.v3-dialog form>label{margin:16px 0}.v3-panel label>input,.v3-panel label>select,.v3-panel label>textarea,.v3-dialog label>input,.v3-dialog label>select,.v3-dialog label>textarea{margin-top:7px}.v3-filters select{min-width:170px}.v3-page button,.v3-dialog button{min-height:40px}.v3-idea{display:grid;grid-template-columns:40px minmax(0,1fr);gap:16px;border-bottom:1px solid var(--line);padding:28px 0;min-width:0}.v3-author-avatar{display:grid;place-items:center;width:40px;height:40px;overflow:hidden;border-radius:50%;background:var(--v2-soft);color:var(--accent);font-size:15px;font-weight:700;flex:none}.v3-author-avatar img{width:100%;height:100%;object-fit:cover}.v3-idea-content{min-width:0}.v3-byline{display:flex;flex-wrap:wrap;align-items:center;gap:9px;font-size:11px;color:var(--muted);line-height:1.6}.v3-byline>a{font-weight:700;color:var(--ink);overflow-wrap:anywhere}.v3-byline>time{font-size:10px}.v3-team{font-size:9px;color:var(--accent);border:1px solid var(--line);border-radius:4px;padding:1px 5px}.v3-idea h2{font-size:17px;line-height:1.5;margin:12px 0 8px;overflow-wrap:anywhere}.v3-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9;margin:8px 0 14px}.v3-assessment{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:15px 0 6px}.v3-badge{background:var(--v2-soft);color:var(--accent);border:1px solid color-mix(in srgb,var(--accent) 30%,var(--line));border-radius:6px;padding:5px 8px;font-size:10px;line-height:1.6}.v3-badge[data-state=implemented]{color:var(--v2-success)}.v3-badge[data-state=declined]{color:var(--muted);background:var(--panel);border-color:var(--line)}.v3-team-score{font-size:11px;color:var(--muted)}.v3-team-note{margin:15px 0 0;padding:14px 16px;background:var(--panel);border-left:2px solid var(--accent);border-radius:0 8px 8px 0}.v3-team-note strong{font-size:10px;color:var(--accent)}.v3-team-note p{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0}.v3-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;font-size:11px;color:var(--muted);margin-top:6px}.v3-actions button{padding:5px 0;font-size:11px}.v3-actions [aria-pressed=true]{color:var(--accent)}.v3-update-link{display:inline-block;margin-top:12px;color:var(--accent);font-size:11px}.v3-muted{color:var(--muted);font-size:11px;line-height:1.8}.v3-status{font-size:12px;line-height:1.8;min-height:24px;overflow-wrap:anywhere}.v3-status[data-error=true]{color:var(--v2-error)}.v3-empty{font-size:13px;line-height:1.8;color:var(--muted);padding:26px 0}.v3-back{font-size:12px;color:var(--muted);display:inline-block;margin-bottom:12px;min-height:32px}.v3-panel{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:20px;margin:24px 0}.v3-panel summary{font-size:13px;cursor:pointer;min-height:24px}.v3-stars{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;margin:9px 0}.v3-stars button{font-size:23px;background:var(--bg);border:1px solid var(--line);border-radius:7px;color:var(--muted);padding:7px 0}.v3-stars button small{display:block;font-size:9px}.v3-stars button[aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--v2-soft)}.v3-section-heading{display:flex;align-items:center;gap:18px;margin:32px 0 20px}.v3-section-heading h2{font-size:20px;margin:0}.v3-section-heading>span{font-size:11px;color:var(--muted)}.v3-reply-form{padding-bottom:20px}.v3-reply{padding:20px 0;display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;border-bottom:1px solid var(--line);min-width:0}.v3-reply .v3-author-avatar{width:34px;height:34px}.v3-reply .v3-body{margin:6px 0;font-size:12px}.v3-reply-branch{margin:0 0 0 46px;min-width:0}.v3-reply-target{font-size:10px;color:var(--accent)}.v3-dialog{padding:24px;width:640px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;border-radius:12px;border:1px solid var(--line);background:var(--panel);color:var(--ink)}.v3-dialog header{display:flex;align-items:center;justify-content:space-between;gap:15px}.v3-dialog h2{font-size:20px;margin:0}.v3-dialog header button{font-size:25px;width:40px}.v3-dialog .v3-check,.v3-page .v3-check{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.8}.v3-check input{width:17px;height:17px;flex:none;accent-color:var(--accent);margin-top:3px}.v3-preview{padding:14px;border:1px solid var(--line);border-radius:8px;margin-top:10px}.v3-preview strong{font-size:14px}.v3-preview p{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.v3-similar{display:grid;gap:8px;font-size:11px;padding:10px 0}.v3-similar a{color:var(--accent);line-height:1.7}.v3-footer-links{display:flex;flex-wrap:wrap;gap:15px;font-size:11px;color:var(--muted);margin-left:auto}.v3-history-item{border-top:1px solid var(--line);padding:12px 0;font-size:11px;line-height:1.8}.v3-notice{border-bottom:1px solid var(--line);padding:18px 0;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;line-height:1.8}.v3-notice[data-unread=true]>a{font-weight:700;color:var(--ink)}.v3-notice time{font-size:10px;color:var(--muted);display:block}.v3-notice-badge{font-size:9px;background:var(--accent);color:var(--bg);border-radius:8px;padding:1px 5px;margin-left:4px}.v3-page :is(button,a,input,select,textarea):focus-visible,.v3-dialog :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.v3-page details>summary{overflow-wrap:anywhere}.v3-more{margin-top:20px}
@media(max-width:900px){.ecosystem-page .header{padding:0 20px;gap:24px}.ecosystem-page .header nav{gap:16px}.v3-page{width:calc(100% - 40px)}}
@media(max-width:620px){.ecosystem-page .header{height:auto;min-height:76px;flex-wrap:wrap;gap:15px;padding:15px 12px}.ecosystem-page .header .brand{font-size:28px}.ecosystem-page .header nav{order:3;width:100%;font-size:11px;gap:22px;overflow-x:auto;min-height:36px}.ecosystem-page .nav-link{min-height:36px}.v3-page{width:calc(100% - 24px);margin-top:24px}.v3-heading{align-items:flex-start;flex-direction:column;gap:10px}.v3-heading h1{font-size:27px}.v3-filters{flex-wrap:wrap}.v3-filters>label:first-child{flex-basis:100%}.v3-filters>label:nth-child(2){flex:1;min-width:0}.v3-filters select{min-width:0}.v3-idea{gap:11px;grid-template-columns:32px minmax(0,1fr)}.v3-idea>.v3-author-avatar{width:32px;height:32px}.v3-idea h2{font-size:15px}.v3-body{font-size:12px}.v3-panel,.v3-dialog{padding:16px}.v3-actions{gap:3px 12px}.v3-reply-branch{margin-left:18px}.v3-footer-links{margin:0}.ecosystem-page footer{align-items:flex-start;flex-direction:column;padding-left:12px;padding-right:12px}.v3-notice{align-items:flex-start}.v3-notice>button{flex:none}}
@media(max-width:480px){.v3-stars{grid-template-columns:repeat(5,minmax(0,1fr))}.v3-stars button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.ecosystem-page *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.v3-admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}.v3-admin-tabs button{padding:8px 12px;border:1px solid var(--line);border-radius:7px;font-size:11px;color:var(--muted)}.v3-admin-tabs button[aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--v2-soft)}.v3-admin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.v3-admin-grid>div{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:18px;min-width:0}.v3-admin-grid span{font-size:10px;line-height:1.7;color:var(--muted)}.v3-admin-grid strong{display:block;font-size:22px;margin-top:14px}.v3-admin-row{border-bottom:1px solid var(--line);padding:18px 0;min-width:0}.v3-admin-row strong{font-size:13px}.v3-admin-row code,.v3-dialog code{overflow-wrap:anywhere;word-break:break-word;font-size:11px}.v3-admin-row a{font-size:13px}.v3-admin-row button{color:var(--accent);font-size:11px}.v3-admin-row>.v3-actions{margin-top:12px}@media(max-width:700px){.v3-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v3-admin-grid>div{padding:14px}.v3-admin-grid strong{font-size:19px}}@media(max-width:360px){.v3-admin-tabs{gap:5px}.v3-admin-tabs button{font-size:10px;padding:6px 8px}}
.v3-collection-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 16px;margin:30px 0}.v3-collection-grid>a{min-width:0}.v3-collection-grid img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:9px;background:var(--panel)}.v3-collection-grid strong{display:block;font-size:12px;line-height:1.6;margin-top:10px;overflow-wrap:anywhere}.v3-profile-social{padding:20px 0 0;margin:24px 0 0;border-top:1px solid var(--line);color:var(--ink);min-width:0}.v3-profile-social .v3-actions{justify-content:center}.v3-profile-social .v3-badge{display:inline-flex;margin:4px}.v3-profile-social p{font-size:12px;line-height:1.8}.v3-profile-social h2{font-size:16px}.v3-review-card{padding:18px 0;border-bottom:1px solid var(--line)}.v3-review-card h3{font-size:13px}.v3-review-score{font-size:13px;color:var(--accent);font-weight:700}.v3-spoiler-cover{padding:16px;background:var(--v2-soft);border:1px dashed var(--line);border-radius:8px;font-size:12px;line-height:1.7}.v3-reviews-summary{font-size:12px;color:var(--muted);line-height:1.8}@media(max-width:650px){.v3-collection-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px}}@media(max-width:420px){.v3-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.v3-discussion-context{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:0 0 20px}.v3-discussion-context label{display:grid;gap:7px;font-size:10px;color:var(--muted)}.v3-discussion-context :is(select,input){background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:7px;padding:9px;font-size:11px;min-height:40px;max-width:100%}.v3-discussion-context input{width:90px}.v3-discussion-context button{border:1px solid var(--line);border-radius:7px;padding:9px;font-size:11px;min-height:40px}.v2-comment-compose-actions{flex-wrap:wrap}.v2-comment-compose-actions>label{white-space:normal;line-height:1.6}@media(max-width:480px){.v3-discussion-context button{flex:1}.v3-discussion-context label:first-child{flex:1;min-width:150px}}
.v3-calendar-notices{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:11px;border:1px solid var(--line);border-radius:9px;padding:14px;margin:12px 0 22px;background:var(--panel)}.v3-calendar-notices label{display:flex;align-items:flex-start;gap:9px;line-height:1.7}.v3-calendar-notices input{accent-color:var(--accent);flex:none}.v3-calendar-notices button{padding:8px 10px;border:1px solid var(--line);border-radius:7px;min-height:38px}.v3-calendar-notices p{flex-basis:100%;margin:0}.v3-calendar-notices a{color:var(--accent)}
#worldCard[data-v3-frame=coauthor] .world-avatar{outline:2px solid var(--accent);outline-offset:5px;box-shadow:0 0 24px color-mix(in srgb,var(--accent) 18%,transparent)}#worldCard[data-v3-frame=supporter-test] .world-avatar{outline:2px dashed var(--accent);outline-offset:5px}.v3-cosmetic-badge{display:inline-flex;margin:12px 4px 0}

/* Inline Connect composer: no overlay, natural height, shared theme tokens. */
.v31-composer{padding:20px 0;margin:0 0 24px;border-bottom:1px solid var(--line);animation:v31-enter .18s ease-out}.v31-composer form{display:grid;gap:12px;max-width:760px}.v31-composer label,.v31-inline-reply label{display:grid;gap:6px}.v31-composer textarea{resize:vertical;min-height:64px;max-height:360px}.v31-composer input,.v31-composer select,.v31-composer textarea,.v31-inline-reply textarea{width:100%;min-width:0;box-sizing:border-box;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:10px;font:inherit}.v31-inline-reply{display:grid;gap:10px;margin-top:16px}.v31-inline-reply button{justify-self:start}.v31-composer .v3-actions{flex-wrap:wrap}.v3-idea{border-radius:0;box-shadow:none;background:transparent}.v3-team-score{overflow-wrap:anywhere}.v3-reply-branch{min-width:0}@keyframes v31-enter{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.v31-composer{animation:none}}@media(max-width:480px){.v31-composer{padding:14px 0}.v31-composer .button{min-height:44px}.v3-assessment{flex-wrap:wrap}}

body[data-section=admin] .v3-page{max-width:1440px}.v31-admin-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start}.v31-admin-layout .v3-admin-tabs{display:flex;flex-direction:column;position:sticky;top:90px;border:1px solid var(--line);border-radius:16px;padding:16px;gap:8px}.v31-admin-layout .v3-admin-tabs button,.v31-admin-layout .v3-admin-tabs a{display:block;text-align:left;padding:12px;border-radius:9px;min-height:44px}.v31-admin-layout .v3-admin-tabs [aria-pressed=true]{background:var(--accent);color:#111}.v31-admin-work{min-width:0}.v31-admin-layout.is-collapsed{grid-template-columns:140px minmax(0,1fr)}.v31-admin-layout .v3-admin-row{padding:18px;border-radius:12px;margin-bottom:12px}.v31-admin-work .v3-admin-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}@media(max-width:760px){.v31-admin-layout,.v31-admin-layout.is-collapsed{grid-template-columns:1fr}.v31-admin-layout .v3-admin-tabs{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.v31-admin-layout.is-collapsed .v3-admin-tabs>:not(#adminCollapse){display:none}.v31-admin-layout .v3-admin-tabs #adminCollapse{grid-column:1/-1}}
.v31-profile-menu{position:fixed;top:76px;right:20px;z-index:150;width:min(280px,calc(100vw - 24px));max-height:calc(100dvh - 100px);overflow:auto;background:var(--panel,var(--bg,#16181b));color:var(--ink,#eee);border:1px solid var(--line,#333);border-radius:15px;padding:10px;box-shadow:0 12px 40px #0006}.v31-profile-menu[hidden]{display:none}.v31-profile-menu a,.v31-profile-menu button{display:flex;gap:10px;align-items:center;padding:12px;width:100%;box-sizing:border-box;border:0;border-radius:8px;text-decoration:none;background:transparent;color:inherit;text-align:left;font:inherit;min-height:44px}.v31-profile-menu a:hover,.v31-profile-menu button:hover{background:var(--surface,#ffffff0d)}.v31-profile-menu [data-staff-link]{border-top:1px solid var(--line);border-radius:0}.v31-profile-menu :focus-visible{outline:2px solid var(--accent);outline-offset:-2px}

.collection-design-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid var(--line);border-radius:12px;margin:16px 0;padding:12px}.collection-design-controls label{display:grid;gap:8px}.collection-presets{grid-column:1/-1;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:8px}.collection-presets button{min-width:0;width:100%;aspect-ratio:1;border:2px solid #ffffff35;border-radius:50%;cursor:pointer}.collection-presets button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}.collection-design-controls input[type=color]{width:100%;min-height:40px;border:0;padding:0;background:none}.collection-tile.custom-designed{position:relative;isolation:isolate}.collection-tile.custom-designed::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#000c,#0009);border-radius:inherit;z-index:-1;pointer-events:none}.collection-tile.custom-designed>button{color:#fff}.collection-tile .collection-edit{position:absolute;right:38px;top:8px;width:auto;padding:6px 10px;font-size:11px;z-index:2}.collection-tile.custom-designed p,.collection-tile.custom-designed .tiny-label{color:#ffffffdb}.collection-tile.custom-designed .collection-remove{color:white}#collectionPreview{margin:14px 0}#collectionPreview .collection-tile{margin:0}#collectionPreview .collection-actions{display:none}#collectionDialog{max-height:calc(100dvh - 24px);overflow:auto}@media(max-width:420px){.collection-presets{grid-template-columns:repeat(6,minmax(0,1fr))}.collection-design-controls{grid-template-columns:1fr}.collection-presets{grid-column:1}}

.v31-public-cover{isolation:isolate;position:relative;border-radius:18px;padding:28px;overflow:hidden}.v31-public-cover::before{content:"";position:absolute;inset:0;background:#000b;z-index:-1}.v31-public-cover a{color:inherit}

.v31-theme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px}.v31-theme-tile{display:grid;gap:14px;padding:15px;min-height:140px;text-align:left;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:14px;cursor:pointer}.v31-theme-tile[aria-pressed=true]{outline:2px solid var(--accent);outline-offset:2px}.v31-theme-tile:focus-visible{outline:3px solid var(--ink);outline-offset:3px}.v31-theme-sample{display:block;min-height:75px;border:7px solid;border-radius:9px}

.leyvu-icon{display:inline-block;vertical-align:middle;flex:0 0 auto;width:1.125rem;height:1.125rem;overflow:visible;pointer-events:none}.leyvu-stars{display:inline-flex;align-items:center;gap:2px;color:var(--accent);vertical-align:middle;max-width:100%}.leyvu-stars .leyvu-icon{width:12px;height:12px}.v3-actions button,.v3-actions a{display:inline-flex;align-items:center;gap:5px}button .leyvu-icon:only-child{margin:auto}@media(forced-colors:active){.leyvu-icon{stroke:ButtonText}}

.v31-collections-feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.v31-collection-card{padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel);min-width:0}.v31-collection-card h2{font-size:17px;line-height:1.5;overflow-wrap:anywhere}.v31-collection-card .v3-body{max-height:9em;overflow:hidden}.v31-reply-editor{display:grid;gap:10px;margin:12px 0;min-width:0}.v31-reply-editor label{display:grid;gap:6px}.v31-reply-editor .button{min-height:44px}.v31-reply-editor textarea{box-sizing:border-box;max-height:360px}@media(max-width:620px){.v31-collections-feed{grid-template-columns:1fr}.v31-collection-card{padding:16px}}

.v31-admin-work .v3-filters{align-items:end;flex-wrap:wrap}.v31-admin-work .v3-filters>label{flex:1 1 150px;min-width:0}.v31-admin-work .v3-filters>button{flex:0 0 auto;min-height:44px}.v31-admin-work .v3-filters select{min-width:0}.v31-admin-work .v3-filters input{box-sizing:border-box}

.collection-tile.custom-designed::after,.v31-public-cover::after{content:'';position:absolute;inset:var(--collection-image-inset,0 0 0 auto);width:48%;background-image:var(--collection-image,none);background-size:cover;background-repeat:no-repeat;background-position:var(--collection-image-position,50% 50%);border-radius:inherit;z-index:-2;pointer-events:none}.collection-cover-controls{border:1px solid var(--line);border-radius:12px;margin:14px 0;padding:12px;display:grid;gap:12px}.collection-cover-controls label{display:grid;gap:8px;font-size:12px}.collection-cover-controls .collection-rights{display:flex;align-items:flex-start;gap:10px;line-height:1.6}.collection-cover-controls input[type=checkbox]{flex:none;accent-color:var(--accent)}.collection-cover-controls input[type=file]{max-width:100%;min-width:0}.collection-cover-position{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.collection-cover-position input{width:100%;accent-color:var(--accent)}.collection-cover-controls .v3-status{margin:0;min-height:0}@media(max-width:480px){.collection-cover-position{grid-template-columns:1fr}}

.collection-tile.custom-designed::after,.v31-public-cover::after{mask-image:var(--collection-image-mask,none)}.v31-collection-card .v3-byline,.v31-collection-card .v3-body{color:#ffffffd9}.v31-collection-card h2,.v31-collection-card .v3-byline>a{color:inherit}.v31-collection-card .v3-byline img{border-radius:50%;object-fit:cover;flex:none}

.collection-tile.custom-designed::after,.v31-public-cover::after{transform:scale(var(--collection-image-zoom,1));transform-origin:var(--collection-image-origin,right center)}.collection-cover-position{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:480px){.collection-cover-position{grid-template-columns:1fr}}

.has-cover-image::after{content:none!important}.collection-cover-image{position:absolute;inset:var(--collection-image-inset,0 0 0 auto);width:48%;height:100%;object-fit:cover;object-position:var(--collection-image-position,50% 50%);mask-image:var(--collection-image-mask,none);transform:scale(var(--collection-image-zoom,1));transform-origin:var(--collection-image-origin,right center);z-index:-2;pointer-events:none;border-radius:inherit}
.connect-write{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);font:inherit;font-size:13px;text-decoration:none;cursor:pointer}.connect-write:hover{border-color:var(--accent);background:var(--v2-soft)}.connect-filter-tools{margin:10px 0 18px;color:var(--muted);font-size:12px}.connect-filter-tools>summary{display:inline-flex;align-items:center;min-height:36px;cursor:pointer}.connect-filter-tools[open] .v3-filters{margin:10px 0 18px}
.legal-draft{border-color:var(--accent);background:var(--panel)}.legal-draft strong{color:var(--accent);font-size:12px;letter-spacing:.04em}.legal-draft p{line-height:1.8}.legal-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;margin:22px 0 32px}.legal-index a{display:block;padding:12px 14px;border:1px solid var(--line);border-radius:8px;color:var(--ink);font-size:12px;text-decoration:none}.legal-index a:hover{border-color:var(--accent);background:var(--v2-soft)}.legal-section{padding:20px 0;border-top:1px solid var(--line);scroll-margin-top:24px}.legal-section h2{margin:0 0 10px;font-size:18px;line-height:1.5}.legal-section p{max-width:780px;font-size:13px;line-height:1.85}.legal-section a{color:var(--accent)}
/* Keep navigation glyphs optically aligned and make Connect easy to spot. */
body.ecosystem-page .header nav .nav-link{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;line-height:1.2}
body.ecosystem-page .header nav .nav-link .leyvu-icon{width:17px;height:17px;flex:none;vertical-align:middle;stroke-width:1.8}
body.ecosystem-page .header nav .nav-link.connect-link{font-weight:650}
body.ecosystem-page .header nav .nav-link.connect-link.active{color:var(--ink)}
body.ecosystem-page .header nav .nav-link.connect-link.active .leyvu-icon{color:var(--accent);stroke-width:2}
.v31-profile-menu a .leyvu-icon,.v31-profile-menu button .leyvu-icon{width:18px;height:18px;flex:none;stroke-width:1.8}
.v31-profile-menu [aria-current=page]{color:var(--accent)}
.legal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}
.legal-card{display:grid;gap:8px;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:var(--panel);text-decoration:none;color:var(--ink)}
.legal-card:hover{border-color:var(--accent)}.legal-card strong{font-size:14px}.legal-card span{font-size:12px;color:var(--muted);line-height:1.6}
.legal-index{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:thin}
.legal-index a{flex:none;padding:8px 11px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:11px;text-decoration:none}
.legal-index a[aria-current=page]{border-color:var(--accent);color:var(--ink)}
.legal-document{max-width:820px;margin:12px auto 40px;line-height:1.8}
.legal-document p{margin:0 0 16px;color:var(--ink);font-size:14px}
.legal-sources{padding:16px;border:1px solid var(--line);border-radius:12px;color:var(--muted);font-size:12px}
.legal-sources p{font-size:12px;margin:8px 0 0}.legal-sources a{color:var(--accent)}
@media(max-width:620px){.legal-grid{grid-template-columns:1fr}.legal-document p{font-size:13px}}


/* Editorial footer shared by Leyvu community and legal pages. */
.ecosystem-page footer.leyvu-footer,footer.leyvu-footer{box-sizing:border-box;width:min(1240px,calc(100% - 64px));max-width:1240px;margin:72px auto 0;padding:34px 0 18px;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(170px,1.2fr) repeat(3,minmax(125px,.8fr)) minmax(150px,.9fr);align-items:start;gap:30px 24px;color:var(--ink)}
.leyvu-footer__brand{display:grid;justify-items:start;gap:12px}
.leyvu-footer__brand .brand{font-size:30px;line-height:1;font-weight:800}
.leyvu-footer__brand p{margin:0;color:var(--muted);font-size:12px;line-height:1.8}
.leyvu-footer__group{display:grid;justify-items:start;align-content:start;gap:10px}
.leyvu-footer__group h2{margin:3px 0 4px;color:var(--muted);font-size:9px;letter-spacing:1.3px;font-weight:700}
.leyvu-footer__group a,.leyvu-footer__contact a,.leyvu-footer__bottom a{color:var(--muted);font-size:11px;line-height:1.55;text-decoration:none;transition:color .18s ease}
.leyvu-footer__group a:hover,.leyvu-footer__contact a:hover,.leyvu-footer__bottom a:hover{color:var(--ink)}
.leyvu-footer__contact{display:grid;justify-items:start;gap:12px}
.leyvu-footer__region{display:inline-flex;align-items:center;gap:7px;color:var(--ink)!important}
.leyvu-footer__region span,.leyvu-footer__mail span{color:var(--accent)}
.leyvu-footer__bottom button{appearance:none;background:none;border:0;padding:0;color:var(--muted);font:inherit;cursor:pointer;text-decoration:underline}.leyvu-footer__bottom button:hover{color:var(--ink)}.leyvu-footer__bottom{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:15px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}
@media(max-width:960px){.ecosystem-page footer.leyvu-footer,footer.leyvu-footer{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 20px}.leyvu-footer__brand{grid-column:span 1}}
@media(max-width:680px){.ecosystem-page footer.leyvu-footer,footer.leyvu-footer{width:calc(100% - 40px);margin-top:48px;padding-top:25px;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.leyvu-footer__brand{grid-column:1/-1}.leyvu-footer__brand .brand{font-size:28px}.leyvu-footer__group{gap:9px}.leyvu-footer__group a,.leyvu-footer__contact a{font-size:11px}.leyvu-footer__bottom{align-items:flex-start;flex-direction:column;gap:8px}}

.connect-welcome{max-width:640px;margin:8px 0 0;padding:28px;border:1px solid #ffffff1a;border-radius:18px;background:linear-gradient(160deg,#ffffff0d,#ffffff05)}
.connect-welcome h2{margin:0 0 10px;font-size:22px}.connect-welcome>p{margin:0 0 18px;color:#b8bdc8;font-size:14px;line-height:1.7}
.connect-welcome ul{display:grid;gap:10px;margin:0 0 22px;padding:0;list-style:none}
.connect-welcome li{display:grid;gap:2px;padding:12px 14px;border-radius:12px;background:#ffffff0a}
.connect-welcome li strong{font-size:14px}.connect-welcome li span{font-size:13px;color:#9aa0ad}

/* the footer button «О просмотре и источниках» looks like the footer links */
.leyvu-footer__group button{margin:0;padding:0;border:0;background:none;color:var(--muted);font:inherit;font-size:11px;line-height:1.55;text-align:left;cursor:pointer;transition:color .18s ease}
.leyvu-footer__group button:hover{color:var(--ink)}
.leyvu-footer__group button:focus-visible,.leyvu-footer__group a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
html body .leyvu-footer__group button{font-size:13px!important}
/* legal drafts: unknown facts and defaults to confirm (owner preview only) */
mark.legal-fill{background:#ffd54a;color:#1a1a1a;padding:0 4px;border-radius:4px}
mark.legal-default{background:#ff725b33;color:inherit;padding:0 3px;border-radius:4px}
.legal-sources ul{margin:8px 0 0;padding-left:18px}.legal-sources li{margin:4px 0}

.account-consent{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:10px;line-height:1.45}.account-consent input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--accent,#7c5cff)}.account-consent a,.identity-consent a{color:inherit;text-decoration:underline}.identity-consent{margin:10px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
.account-danger label{display:grid;gap:6px;margin-top:12px}.account-danger #accountDelete{margin-top:12px;border-color:#e5484d;color:#e5484d}

/* Connect: compact ideas, deliberate disclosure, shared Leyvu/Lucide language. */
body[data-section=connect] .v3-page{max-width:1000px}body[data-section=connect] .v3-heading{padding:30px;border:1px solid var(--line);border-radius:22px;background:radial-gradient(ellipse at top left,#ff725b18,transparent 70%);margin-bottom:24px}body[data-section=connect] .v3-heading h1{letter-spacing:-1.5px}body[data-section=connect] .connect-write{background:var(--accent);color:#151515;border:0;border-radius:12px;padding:14px 20px;font-weight:700}
.connect-filter-tools{margin:20px 0!important;padding:0!important;border:0!important}.connect-filter-tools .v3-filters{display:flex;gap:10px;align-items:center;margin:0}.connect-filter-tools label:first-child{flex:1}.connect-filter-tools input,.connect-filter-tools select{min-height:44px;border-radius:12px}
#connectIdeas{display:grid;gap:16px}body[data-section=connect] .v3-idea{padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--panel);margin:0;align-items:start}.v3-idea-content{min-width:0}.v3-idea h2{font-size:17px;line-height:1.5;margin:12px 0 8px;overflow-wrap:anywhere}.connect-copy.is-collapsible .v3-body{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;max-height:8.5em;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.v3-idea.is-expanded .connect-copy .v3-body{-webkit-line-clamp:unset;max-height:none}.connect-read-more{display:inline-flex;align-items:center;gap:6px;color:var(--accent);padding:6px 0;font-size:12px}.v3-idea .v3-team-note{border-radius:0 12px 12px 0;padding:12px 16px;margin:14px 0;max-height:160px;overflow:auto}.v3-idea .v3-assessment{gap:10px;font-size:11px;margin:12px 0}.v3-idea .v3-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.v3-idea .v3-actions>button,.v3-idea .v3-actions>a,.connect-post-menu>summary{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;min-height:38px;border-radius:10px;cursor:pointer}.v3-idea .v3-actions>[aria-pressed=true]{background:#ff725b16;color:var(--accent)}.v3-idea [data-action=idea-thread]{color:var(--accent)}.v3-idea [data-action=idea-thread][aria-expanded=true] svg:last-child{transform:rotate(180deg)}.v3-idea .v3-actions>button:hover,.v3-idea .v3-actions>a:hover,.connect-post-menu>summary:hover{background:#8881}.connect-post-menu{position:relative;margin-left:auto}.connect-post-menu>summary{list-style:none}.connect-post-menu>summary::-webkit-details-marker{display:none}.connect-post-menu>div{position:absolute;right:0;top:100%;z-index:5;display:grid;min-width:160px;padding:6px;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:0 12px 35px #0004}.connect-post-menu button{text-align:left;padding:12px;border-radius:8px}.connect-post-menu button:hover{background:#8882}
body[data-section=connect] .v3-reply-branch{margin:14px 0 0;padding:12px 0 0 14px;border-left:2px solid var(--line)}body[data-section=connect] .v3-reply-branch[hidden]{display:none}.v31-thread-items{max-height:440px;overflow:auto;overscroll-behavior:contain}.v31-thread-items .v3-reply{padding:16px 0}.v31-thread-items .v3-body{max-height:180px;overflow:auto;overflow-wrap:anywhere}.v31-thread-items .v3-reply-branch{max-height:320px;overflow:auto}.v31-inline-reply textarea{max-height:160px;resize:vertical}.v31-inline-reply{padding:14px;border-radius:12px;background:#8881}.v31-inline-reply label{font-size:12px}.v31-inline-reply .button{padding:10px 18px}
body[data-section=connect] .v31-composer{padding:26px;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));border-radius:18px;background:var(--panel);margin-bottom:20px}.v31-composer h2{display:flex;gap:10px;align-items:center;font-size:20px;margin:0 0 8px}.v31-composer h2 svg{color:var(--accent)}.v31-composer form{max-width:none}.v31-composer .connect-body-label textarea{min-height:115px;font-size:14px;line-height:1.6}.connect-composer-options{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:14px}.connect-composer-options label{font-size:12px;color:var(--muted)}.connect-composer-options label:has([name=extra]),.connect-composer-options .v3-check,.connect-composer-options .v3-similar{grid-column:1/-1}.connect-composer-options .v3-similar:empty{display:none}.connect-composer-options .v3-check{display:flex;align-items:center;gap:10px}.connect-composer-options input[type=checkbox]{width:16px;height:16px;flex:none}.v31-composer .v3-actions{justify-content:flex-end}.v31-composer .button{padding:12px 20px}body[data-section=connect] :is(button,a,summary,input,textarea,select):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:620px){body[data-section=connect] .v3-heading{padding:20px;gap:16px;align-items:stretch}body[data-section=connect] .v3-idea{padding:16px;gap:10px}.connect-filter-tools .v3-filters{flex-wrap:wrap}.connect-filter-tools label:first-child{flex-basis:100%}.connect-filter-tools label:nth-child(2){flex:1}.connect-composer-options{grid-template-columns:1fr}.connect-composer-options>*{grid-column:1!important}body[data-section=connect] .v31-composer{padding:18px}body[data-section=connect] .v3-reply-branch{padding-left:8px}.v3-idea .v3-actions{gap:2px}.v3-idea .v3-actions>button,.v3-idea .v3-actions>a{padding:8px}.v31-thread-items{max-height:360px}}
.connect-explainer{display:flex;align-items:flex-start;gap:18px;padding:24px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(120deg,#ff725b0b,transparent);margin-bottom:24px}.connect-explainer-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:14px;color:var(--accent);background:#ff725b16}.connect-explainer-icon svg{width:23px;height:23px}.connect-explainer h2{margin:0 0 8px;font-size:18px;letter-spacing:-.4px}.connect-explainer p{margin:0;color:var(--muted);font-size:13px;line-height:1.7;max-width:720px}.connect-explainer-steps{display:flex;flex-wrap:wrap;gap:10px 22px;margin:18px 0}.connect-explainer-steps span{display:inline-flex;gap:8px;align-items:center;font-size:12px}.connect-explainer-steps svg{color:var(--accent);width:16px;height:16px}.connect-explainer .connect-explainer-note{font-size:11px}@media(max-width:620px){.connect-explainer{padding:18px;gap:12px}.connect-explainer-icon{width:32px;height:32px;border-radius:10px}.connect-explainer-steps{display:grid;gap:12px}.connect-explainer h2{font-size:17px}}
.connect-board{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:24px;align-items:start}.connect-feed{min-width:0}.connect-status-nav{position:sticky;top:100px;display:grid;gap:5px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.connect-status-nav h2{font-size:12px;color:var(--muted);margin:0 10px 10px}.connect-status-nav a{display:flex;gap:10px;align-items:center;padding:12px 10px;border-radius:10px;font-size:12px;text-decoration:none;transition:background .18s,color .18s}.connect-status-nav svg{flex:none;color:var(--muted)}.connect-status-nav a:hover{background:#8881}.connect-status-nav a[aria-current=page]{background:#ff725b16;color:var(--accent)}.connect-status-nav a[aria-current=page] svg{color:var(--accent)}body[data-section=connect] .v3-page:has(.connect-board){max-width:1180px}.connect-board .connect-filter-tools{margin-top:0!important}@media(max-width:800px){.connect-board{display:flex;flex-direction:column;gap:18px}.connect-feed{width:100%}.connect-status-nav{order:-1;position:static;display:flex;overflow:auto;max-width:100%;box-sizing:border-box;padding:8px;gap:4px;scrollbar-width:thin}.connect-status-nav h2{display:none}.connect-status-nav a{white-space:nowrap;flex:none;padding:11px}.connect-status-nav svg{width:16px;height:16px}}
.connect-status-nav .connect-status-count{margin-left:auto;flex:none;min-width:24px;padding:3px 7px;border-radius:7px;background:#8882;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums;text-align:center;line-height:1.4}.connect-status-nav a[aria-current=page] .connect-status-count{background:#ff725b22;color:var(--accent)}
@media(max-width:640px){.connect-explainer{padding:14px 16px;gap:12px;margin-bottom:16px}.connect-explainer-icon{display:none}.connect-explainer h2{font-size:16px;margin:0 0 4px}.connect-explainer p{font-size:13px;line-height:1.5;margin:0}.connect-explainer-steps,.connect-explainer-note{display:none}}
.leyvu-footer__seller{color:var(--muted,#a1a1aa)}
/* переключатель платных услуг: Leyvu Plus · Магазин · Пакеты коинов (на /plus и /shop) */
.store-nav{display:flex;gap:6px;width:max-content;max-width:100%;margin:0 auto 22px;padding:5px;border:1px solid var(--line,#ffffff1a);border-radius:999px;background:color-mix(in srgb,var(--panel,#16161a) 85%,transparent);overflow-x:auto;scrollbar-width:none}
.store-nav a{display:inline-flex;align-items:center;gap:7px;padding:9px 16px;border-radius:999px;color:var(--muted,#a1a1aa);font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap;transition:background .3s,color .3s}
.store-nav a svg{width:16px;height:16px}
.store-nav a:hover{color:var(--text,#f3f1ed)}
.store-nav a[aria-current]{background:var(--accent,#ff654f);color:#141416}
.ph-store-head{margin:0 0 18px}.ph-store-head h1{margin:4px 0 6px;font-size:clamp(28px,4vw,40px);letter-spacing:-.02em}.ph-store-head p{margin:0;color:var(--muted,#a1a1aa)}
.leyvu-footer__region .leyvu-icon,.leyvu-footer__mail .leyvu-icon{width:14px;height:14px;flex:none;color:var(--accent);vertical-align:-2px}
.leyvu-footer__mail{display:inline-flex;align-items:center;gap:6px}
/* Награды за идеи Connect */
.connect-rewards{position:relative;overflow:hidden;margin:0 0 26px;padding:22px 24px;border:1px solid color-mix(in srgb,#f2c94c 28%,var(--line));border-radius:20px;background:radial-gradient(120% 90% at 0% 0%,#f2c94c1f,transparent 55%),radial-gradient(90% 80% at 100% 100%,color-mix(in srgb,var(--accent) 16%,transparent),transparent 60%),var(--panel)}
.connect-rewards .cr-head{display:flex;gap:14px;align-items:flex-start}.connect-rewards h2{margin:2px 0 4px;font-size:19px}.connect-rewards .cr-head p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.cr-badge{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#f2c94c,#ff8a3d);color:#2a1600;box-shadow:0 10px 26px -6px #f2c94c88}.cr-badge svg{width:22px;height:22px}
.cr-tiers{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 12px;padding:0}
.cr-tiers li{display:flex;gap:11px;align-items:flex-start;padding:13px 14px;border:1px solid var(--line);border-radius:15px;background:#ffffff06;transition:transform .2s,border-color .2s}.cr-tiers li:hover{transform:translateY(-2px);border-color:color-mix(in srgb,#f2c94c 40%,var(--line))}
.cr-ico{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:color-mix(in srgb,#f2c94c 16%,transparent);color:#f2c94c}.cr-ico svg{width:18px;height:18px}.cr-tiers li:last-child .cr-ico{background:color-mix(in srgb,#b18cff 18%,transparent);color:#c7a8ff}
.cr-tiers b{display:block;font-size:14px;margin-bottom:3px}.cr-tiers small{color:var(--muted);font-size:12.5px;line-height:1.45}
.cr-note{display:flex;gap:7px;align-items:flex-start;margin:0;color:var(--muted);font-size:12.5px;line-height:1.5}.cr-note svg{flex:none;width:14px;height:14px;margin-top:2px}
.connect-reward-won{display:flex;gap:14px;align-items:center;margin:16px 0;padding:16px 18px;border:1px solid color-mix(in srgb,#f2c94c 35%,var(--line));border-radius:18px;background:radial-gradient(100% 120% at 0% 50%,#f2c94c1c,transparent 60%),var(--panel);box-shadow:0 0 40px -18px #f2c94c88}
.connect-reward-won .tiny-label{margin:0 0 4px;color:#f2c94c}.connect-reward-won strong{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:16px}.connect-reward-won strong span{display:inline-flex;align-items:center;gap:6px}.connect-reward-won strong svg{width:18px;height:18px}.cr-plus{color:#c7a8ff}.cr-coins{color:#f2c94c}.connect-reward-won small{display:block;margin-top:5px;color:var(--muted)}
.connect-reward-panel summary{display:flex;align-items:center;gap:8px}.connect-reward-panel summary svg{width:18px;height:18px;color:#f2c94c}
.cr-pick{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0;border:0}.cr-pick legend{margin-bottom:8px;font-size:13px;font-weight:700}
.cr-pick label{cursor:pointer}.cr-pick input{position:absolute;opacity:0;pointer-events:none}.cr-pick span{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:#ffffff06;font-size:13.5px;font-weight:600;transition:border-color .15s,background .15s}.cr-pick span svg{width:15px;height:15px}
.cr-pick input:checked+span{border-color:#f2c94c;background:#f2c94c1f;color:#ffe08a}.cr-pick input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
#connectRewardForm>label{display:grid;gap:7px;margin-bottom:14px;font-size:13px;font-weight:600}#connectRewardForm .button{display:inline-flex;align-items:center;gap:8px}#connectRewardForm .button svg{width:17px;height:17px}
@media(max-width:760px){.cr-tiers{grid-template-columns:1fr}.connect-rewards{padding:18px}}
.cr-cos{color:#ffe08a}
.cr-cos-pick{display:block;margin:0 0 14px;cursor:pointer}.cr-cos-pick input{position:absolute;opacity:0}
.cr-cos-pick>span{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#ffffff06;transition:border-color .15s,background .15s}.cr-cos-pick svg{grid-row:1/3;width:22px;height:22px;color:#f2c94c}.cr-cos-pick b{font-size:14px}.cr-cos-pick small{color:var(--muted);font-size:12.5px}
.cr-cos-pick input:checked+span{border-color:#f2c94c;background:#f2c94c14;box-shadow:0 0 22px -10px #f2c94c}.cr-cos-pick input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
/* comments.css */
/* Обсуждение на странице аниме (comments.js). Селекторы через #titleComments, чтобы старые слои стилей не мешали. */
#titleComments.cm{margin:32px 0 0;padding:28px 0 8px;border-top:1px solid var(--line);scroll-margin-top:90px;color:var(--text,var(--ink))}
#titleComments .cm-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 18px;margin:0 0 16px}
#titleComments .cm-head h2{display:flex;align-items:center;gap:10px;margin:0;font-size:24px;letter-spacing:-.02em}
#titleComments .cm-count:not(:empty){display:inline-grid;place-items:center;min-width:28px;height:26px;padding:0 9px;border-radius:999px;background:#ffffff12;color:#c9ced8;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
#titleComments .cm-sort,#titleComments .cm-tabs{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:12px;background:#ffffff06}
#titleComments .cm-sort button,#titleComments .cm-tabs button{height:32px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer;transition:background .18s,color .18s}
#titleComments .cm-sort button:hover,#titleComments .cm-tabs button:hover{color:var(--text)}
#titleComments .cm-sort button[aria-pressed=true],#titleComments .cm-tabs button[aria-selected=true]{background:#ffffff14;color:var(--text);box-shadow:0 1px 0 #ffffff10 inset}
#titleComments .cm-scope{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 16px}
#titleComments .cm-scope[hidden],#titleComments .cm-episode[hidden]{display:none}
#titleComments .cm-episode{display:flex;align-items:center;gap:6px;margin:0;animation:cm-in .25s cubic-bezier(.22,1,.36,1)}
#titleComments .cm-episode label{display:flex;align-items:center;gap:8px;margin:0;color:var(--muted);font-size:13px;font-weight:600}
#titleComments .cm-episode input{width:64px;height:36px;margin:0;padding:0 8px!important;border:1px solid var(--line)!important;border-radius:10px;background:#ffffff0a!important;color:var(--text);font:inherit;font-weight:700;text-align:center;box-shadow:none!important}
#titleComments .cm-episode button{height:36px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--text);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
#titleComments .cm-episode button[type=submit]{border-color:transparent;background:#ff725b24}
/* поле ввода */
#titleComments .cm-composer{margin:0 0 18px;padding:12px;border:1px solid var(--line);border-radius:18px;background:var(--panel,#16161a);transition:border-color .2s,box-shadow .2s}
#titleComments .cm-composer.is-active{border-color:#ff725b55;box-shadow:0 0 0 4px #ff725b12}
#titleComments .cm-composer.is-reply{margin:10px 0 4px;padding:10px;border-radius:14px;animation:cm-in .25s cubic-bezier(.22,1,.36,1)}
#titleComments .cm-compose-row{display:flex;align-items:flex-start;gap:12px}
#titleComments .cm-me{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border-radius:50%;overflow:hidden;background:#ffffff14;color:var(--text);font-weight:700}
#titleComments .cm-me img{width:100%;height:100%;object-fit:cover}
#titleComments .cm-composer textarea{flex:1;min-width:0;min-height:38px;max-height:320px;margin:0;padding:8px 2px!important;border:0!important;border-radius:0;background:transparent!important;color:var(--text);font:inherit;font-size:15px;line-height:1.5;resize:none;box-shadow:none!important;outline:none}
#titleComments .cm-composer textarea::placeholder{color:#ffffff66}
#titleComments .cm-compose-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;max-height:0;margin-left:50px;opacity:0;overflow:hidden;transition:max-height .3s cubic-bezier(.22,1,.36,1),opacity .2s,margin .3s}
#titleComments .cm-composer.is-active .cm-compose-tools,#titleComments .cm-composer.is-reply .cm-compose-tools{max-height:120px;margin-top:8px;opacity:1}
#titleComments .cm-toggles{display:flex;flex-wrap:wrap;gap:6px;flex:1}
#titleComments .cm-toggle{position:relative;display:inline-flex;align-items:center;gap:6px;height:32px;margin:0;padding:0 11px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12.5px;font-weight:600;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
#titleComments .cm-toggle input{position:absolute;opacity:0;pointer-events:none}
#titleComments .cm-toggle svg{width:15px;height:15px}
#titleComments .cm-toggle:has(input:checked){border-color:#f2b84b66;background:#f2b84b1a;color:#f6cb72}
#titleComments .cm-toggle:has(input:focus-visible){outline:2px solid var(--accent,#ff725b);outline-offset:2px}
#titleComments .cm-counter{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
#titleComments .cm-send{display:inline-flex;align-items:center;gap:8px;height:36px;margin-left:auto;padding:0 16px;border:0;border-radius:11px;background:var(--accent,#ff725b);color:#141416;font:inherit;font-size:13.5px;font-weight:800;cursor:pointer;transition:opacity .18s,transform .18s,box-shadow .18s;box-shadow:0 6px 18px #ff725b40}
#titleComments .cm-send svg{width:16px;height:16px}
#titleComments .cm-send:disabled{opacity:.4;box-shadow:none;cursor:default}
#titleComments .cm-send:active:not(:disabled){transform:scale(.96)}
#titleComments .cm-composer.is-sending .cm-send{opacity:.6}
#titleComments .cm-reply-chip{display:inline-flex;align-items:center;gap:4px;margin:0 0 8px 50px;padding:3px 4px 3px 10px;border-radius:999px;background:#7c5cff26;color:#c6b8ff;font-size:12.5px;font-weight:700}
#titleComments .cm-reply-chip[hidden]{display:none}
#titleComments .cm-reply-chip button{display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}
#titleComments .cm-reply-chip svg{width:14px;height:14px}
#titleComments .cm-signin{display:flex;align-items:center;gap:14px;margin:0 0 18px;padding:16px;border:1px dashed #ffffff26;border-radius:18px;background:#ffffff05}
#titleComments .cm-signin-icon{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:14px;background:#ff725b1f;color:var(--accent,#ff725b)}
#titleComments .cm-signin-icon svg{width:22px;height:22px}
#titleComments .cm-signin div{flex:1;min-width:0}
#titleComments .cm-signin strong{font-size:15px}
#titleComments .cm-signin p{margin:2px 0 0;color:var(--muted);font-size:13px}
#titleComments .cm-status:empty{display:none}
#titleComments .cm-status.is-error{padding:10px 12px;border-radius:12px;background:#ff725b14;color:#ffb0a3}
/* карточка */
#titleComments .cm-list{display:grid;gap:2px}
#titleComments .cm-card{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;margin:0;padding:14px 10px;border:0;border-radius:16px;background:transparent;transition:background .2s,opacity .2s,transform .2s;animation:cm-in .3s cubic-bezier(.22,1,.36,1) both}
#titleComments .cm-card:hover{background:#ffffff05}
#titleComments .cm-card.is-fresh{background:#ff725b10}
#titleComments .cm-card.is-leaving{opacity:0;transform:translateX(-8px)}
#titleComments .cm-card.lv-comment-art{padding-left:14px;padding-right:14px;margin:6px 0;border:1px solid color-mix(in srgb,var(--line) 70%,transparent)}
#titleComments .v2-comment-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#ffffff14;color:var(--text);font-weight:700;text-decoration:none;overflow:hidden}
#titleComments .v2-comment-avatar img{width:100%;height:100%;object-fit:cover}
#titleComments .v2-comment-main{min-width:0}
#titleComments .cm-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 3px}
#titleComments .cm-author{color:var(--text);font-size:14.5px;font-weight:700;text-decoration:none}
#titleComments .cm-author:hover{text-decoration:underline}
#titleComments .cm-time,#titleComments .cm-edited{color:var(--muted);font-size:12.5px}
#titleComments .cm-time:before{content:'·';margin-right:8px;color:#ffffff40}
#titleComments .cm-team{padding:1px 8px;border-radius:999px;background:#ff725b24;color:#ff9a85;font-size:11px;font-weight:700}
#titleComments .cm-replyto{display:block;margin:0 0 2px;color:#b9a6ff;font-size:12px;font-weight:600}
#titleComments .cm-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:8;overflow:hidden;margin:0;color:#e2e4ea;font-size:15px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
#titleComments .cm-text.is-open{display:block;-webkit-line-clamp:none}
#titleComments .cm-expand{margin:4px 0 0;padding:0;border:0;background:none;color:var(--accent,#ff725b);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
#titleComments .cm-deleted{margin:0;color:var(--muted);font-size:14px;font-style:italic}
#titleComments .cm-spoiler{position:relative;border-radius:12px;overflow:hidden}
#titleComments .cm-spoiler .cm-text{filter:blur(7px);user-select:none;transition:filter .35s}
#titleComments .cm-spoiler.is-open .cm-text{filter:none;user-select:auto}
#titleComments .cm-spoiler-cover{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:8px;border:0;border-radius:12px;background:#0d0e11a8;color:#f6cb72;font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:opacity .25s}
#titleComments .cm-spoiler-cover svg{width:17px;height:17px}
#titleComments .cm-spoiler.is-open .cm-spoiler-cover{opacity:0;pointer-events:none}
#titleComments .cm-actions{display:flex;align-items:center;gap:2px;margin:6px 0 0 -8px}
#titleComments .cm-action,#titleComments .cm-like,#titleComments .cm-icon{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .18s,color .18s}
#titleComments .cm-action svg,#titleComments .cm-like svg,#titleComments .cm-icon svg{width:17px;height:17px}
#titleComments .cm-action:hover:not(:disabled),#titleComments .cm-like:hover:not(:disabled),#titleComments .cm-icon:hover{background:#ffffff0f;color:var(--text)}
#titleComments .cm-action:disabled,#titleComments .cm-like:disabled{opacity:.4;cursor:default}
#titleComments .cm-like[aria-pressed=true]{color:#ff6b8a}
#titleComments .cm-like[aria-pressed=true] svg{fill:currentColor}
#titleComments .cm-like span:empty{display:none}
#titleComments .cm-icon{width:32px;padding:0;justify-content:center}
#titleComments .cm-menu{position:relative;margin-left:auto}
#titleComments .cm-pop{position:absolute;right:0;top:calc(100% + 4px);z-index:20;display:grid;min-width:190px;padding:6px;border:1px solid var(--line);border-radius:14px;background:var(--panel,#16161a);box-shadow:0 18px 40px #000a;animation:cm-pop .18s cubic-bezier(.22,1,.36,1)}
#titleComments .cm-pop[hidden]{display:none}
#titleComments .cm-pop button{height:38px;padding:0 12px;border:0;border-radius:9px;background:transparent;color:var(--text);font:inherit;font-size:14px;text-align:left;cursor:pointer}
#titleComments .cm-pop button:hover,#titleComments .cm-pop button:focus-visible{background:#ffffff10;outline:none}
#titleComments .cm-pop .is-danger{color:#ff8a7a}
/* ветки ответов */
#titleComments .cm-thread-toggle{display:inline-flex;align-items:center;gap:8px;height:30px;margin:4px 0 0;padding:0 8px 0 0;border:0;background:none;color:#b9a6ff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
#titleComments .cm-thread-toggle[hidden]{display:none}
#titleComments .cm-thread-toggle i{width:22px;height:2px;border-radius:2px;background:currentColor;opacity:.5}
#titleComments .cm-thread-toggle svg{width:16px;height:16px;transition:transform .25s}
#titleComments .cm-thread-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
#titleComments .cm-replies{margin:6px 0 0;padding-left:14px;border-left:2px solid #ffffff12}
#titleComments .cm-replies[hidden]{display:none}
#titleComments .cm-card.is-reply{grid-template-columns:32px minmax(0,1fr);gap:10px;padding:10px 8px}
#titleComments .cm-card.is-reply .v2-comment-avatar{width:32px;height:32px;font-size:13px}
#titleComments .cm-more-replies,#titleComments .cm-more{display:block;height:36px;margin:6px 0 0;padding:0 14px;border:1px solid var(--line);border-radius:11px;background:transparent;color:var(--text);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
#titleComments .cm-more{width:100%;height:44px;margin-top:12px;border-radius:14px}
#titleComments .cm-more[hidden]{display:none}
#titleComments .cm-more:hover,#titleComments .cm-more-replies:hover{background:#ffffff0a}
/* загрузка и пусто */
#titleComments .cm-skeleton{display:grid;gap:14px;padding:8px 10px}
#titleComments .cm-skel{height:64px;border-radius:14px;background:linear-gradient(90deg,#ffffff08 25%,#ffffff12 50%,#ffffff08 75%) 0 0/200% 100%;animation:cm-shimmer 1.3s linear infinite}
#titleComments .cm-empty{display:grid;justify-items:center;gap:4px;padding:28px 16px;border:1px dashed #ffffff1f;border-radius:18px;text-align:center}
#titleComments .cm-empty span{display:grid;place-items:center;width:48px;height:48px;margin-bottom:6px;border-radius:16px;background:#ffffff0a;color:var(--muted)}
#titleComments .cm-empty svg{width:24px;height:24px}
#titleComments .cm-empty p{margin:0;color:var(--muted);font-size:13.5px}
.cm-dialog .cm-reasons{display:grid;gap:6px;margin:0 0 12px;padding:0;border:0}
.cm-dialog .cm-reasons legend{margin-bottom:6px;color:var(--muted);font-size:13px}
.cm-dialog .cm-reasons label{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;cursor:pointer}
.cm-dialog .cm-reasons label:has(input:checked){border-color:#ff725b66;background:#ff725b12}
.cm-dialog .cm-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
@keyframes cm-in{from{opacity:0;transform:translateY(6px)}}
@keyframes cm-pop{from{opacity:0;transform:translateY(-4px) scale(.98)}}
@keyframes cm-shimmer{to{background-position:-200% 0}}
@media(max-width:600px){
 #titleComments .cm-head h2{font-size:20px}
 #titleComments .cm-sort{width:100%}
 #titleComments .cm-sort button{flex:1}
 #titleComments .cm-card{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px 4px}
 #titleComments .v2-comment-avatar{width:34px;height:34px}
 #titleComments .cm-compose-tools{margin-left:0}
 #titleComments .cm-reply-chip{margin-left:0}
 #titleComments .cm-toggle span{font-size:12px}
 #titleComments .cm-replies{padding-left:8px}
 #titleComments .cm-time:before{display:none}
 #titleComments .cm-time{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){#titleComments .cm-card,#titleComments .cm-episode,#titleComments .cm-pop,#titleComments .cm-composer.is-reply{animation:none}#titleComments .cm-skel{animation:none}}
/* interface-polish.css */
/* Shared interaction rhythm. Protected homepage hero and schedule remain untouched. */
:root{--control-radius:12px;--control-height:44px;--control-line:color-mix(in srgb,var(--ink,#f5f5f5) 13%,transparent);--control-hover:color-mix(in srgb,var(--ink,#f5f5f5) 7%,var(--bg,#101112))}
:where(.title-page,.ecosystem-page,.small-dialog,#catalog,#portalPages,#libraryNav,.v31-profile-menu) :is(button,a.button,select,input,textarea){font-family:inherit}
:where(.title-page,.ecosystem-page,.small-dialog,#catalog,#portalPages) :is(.button,.filter,.text-button,.icon-button){min-height:var(--control-height);border-radius:var(--control-radius);font-size:13px;font-weight:600;line-height:1.3;letter-spacing:0;cursor:pointer;transition:background-color .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s}
:where(.title-page,.ecosystem-page,.small-dialog,#catalog,#portalPages) .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border:1px solid var(--control-line);text-decoration:none;white-space:nowrap}
:where(.title-page,.ecosystem-page,.small-dialog,#catalog,#portalPages) .button.secondary{background:color-mix(in srgb,var(--bg,#101112) 84%,var(--ink,#fff) 5%);color:var(--ink);box-shadow:inset 0 1px 0 #ffffff07}
:where(.title-page,.ecosystem-page,.small-dialog,#catalog,#portalPages) .button.primary{background:var(--accent,#ff725b);color:#171310;border-color:transparent;box-shadow:inset 0 1px 0 #ffffff24}
:where(.title-page,.ecosystem-page,.small-dialog,#catalog,#portalPages) :is(.button,.filter,.text-button,.icon-button):hover:not(:disabled){border-color:color-mix(in srgb,var(--ink) 28%,transparent);background:var(--control-hover)}
:where(.title-page,.ecosystem-page,.small-dialog,#catalog,#portalPages) .button.primary:hover:not(:disabled){background:color-mix(in srgb,var(--accent) 90%,white)}
:where(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
:where(.title-page,.ecosystem-page,.small-dialog,#catalog,#portalPages) button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
:where(.title-page,.ecosystem-page,.small-dialog,#catalog,#portalPages) button:active:not(:disabled){transform:translateY(1px)}
.library-nav{display:flex;align-items:center;gap:6px;border-bottom:1px solid var(--line);padding:16px 0;margin:0 0 28px;flex-wrap:wrap}.library-nav[hidden]{display:none}.library-nav button,.library-nav>a{border:0;border-radius:10px;color:var(--muted);background:transparent;padding:12px 16px;min-height:44px;display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:13px;font-weight:600}.library-nav [aria-selected=true]{color:var(--ink);background:var(--control-hover)}.library-nav>a{margin-left:auto}.library-discover{margin-top:36px;border-top:1px solid var(--line);padding-top:22px}.library-discover>summary{cursor:pointer;font-size:14px;color:var(--muted);margin-bottom:20px}.library-nav~#portalPages{padding-top:0}.list-tabs .filter{border-radius:20px;font-size:12px;padding:9px 14px;min-height:38px;gap:8px}.list-tabs small{font-size:11px}.personal-collection-heading{margin-top:24px}
.title-page .title-hero{border:1px solid #ffffff0a;box-shadow:0 18px 70px #00000015}.title-page .title-bottom-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-top:24px}.title-page .personal-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:0}.title-page .personal-controls>label{display:grid;gap:8px;font-size:11px;color:var(--muted);letter-spacing:.02em}.title-page .personal-controls select,.title-page .add-to-collection select{height:44px;min-width:160px;border:1px solid var(--control-line);border-radius:12px;padding:0 34px 0 13px;font-size:13px;font-weight:500;background-color:color-mix(in srgb,var(--bg) 90%,transparent);color:var(--ink);box-shadow:inset 0 1px 0 #ffffff05}.title-page .follow-actions{display:flex;align-items:center;gap:10px;margin:0;flex-wrap:wrap}.title-page .follow-actions .button{height:44px;margin:0}.title-page .add-to-collection{display:grid;grid-template-columns:minmax(130px,190px) auto;gap:8px;align-items:center;margin:0}.title-page .add-to-collection>label{grid-column:1/-1;color:var(--muted);font-size:11px}.title-page .add-to-collection select{min-width:0;width:100%;max-width:190px}.title-page .add-to-collection .wide{width:auto;min-width:44px;min-height:44px;font-size:12px}.title-page .add-to-collection>a{grid-column:1/-1;font-size:11px;display:inline-flex;align-items:center;gap:5px;color:var(--muted);text-decoration:none;padding-top:2px;width:fit-content}.title-page .add-to-collection>a:hover{color:var(--ink)}.title-page .title-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid var(--control-line);border-radius:12px;background:color-mix(in srgb,var(--bg) 75%,transparent);font-size:12px;font-weight:600;color:var(--ink)}.title-page .title-actions{display:flex;align-items:center;gap:8px;position:static;margin-left:auto}.title-page .title-actions .save-watch{width:42px;height:42px;border:1px solid var(--control-line);border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--bg) 75%,transparent)}.title-page .watch-title-row{gap:18px}.title-page .title-summary .title-tags span{border-radius:7px;font-size:11px;padding:7px 10px;background:#ffffff04;border-color:#ffffff0c}.title-page .source-explainer{margin-top:24px}.title-page .personal-notes{display:none}

@media(max-width:760px){.library-nav{gap:2px;margin-bottom:20px}.library-nav button,.library-nav>a{font-size:12px;padding:10px 12px}.library-nav>a{margin-left:0}.title-page .title-hero{gap:20px}.title-page .title-bottom-controls{gap:10px}.title-page .personal-controls{width:100%;gap:10px}.title-page .personal-controls>label{flex:1}.title-page .personal-controls select{width:100%;min-width:0}.title-page .add-to-collection{width:100%;grid-template-columns:minmax(0,1fr) auto}.title-page .add-to-collection select{max-width:none}.title-page .follow-actions{width:100%}.title-page .follow-actions .button{flex:1;font-size:12px;padding:10px}.title-page .title-actions{margin-left:0}.title-page .title-link{font-size:12px}.title-page .title-summary .title-tags span{font-size:10px}.title-page .title-summary>p{display:block;font-size:12px}.title-page .title-summary .watch-title-row h1{font-size:clamp(23px,5vw,34px)}}
@media(prefers-reduced-motion:reduce){:where(.title-page,.ecosystem-page,.small-dialog,#catalog,#portalPages) :is(.button,.filter,.text-button,.icon-button){transition:none}}
.title-page [hidden]{display:none!important}.title-page .title-actions #watchSave{width:42px;min-width:42px;height:42px;min-height:42px;padding:10px;border-radius:50%}
.title-page .title-bottom-controls .personal-controls{align-items:flex-start}.title-page .personal-controls>label{line-height:1.4}.title-page .add-to-collection{padding:0;border:0}.title-page .title-bottom-controls :is(button,a)>span{font:inherit;line-height:inherit}.title-page .title-bottom-controls .button{font-size:13px;min-height:44px;height:44px;padding:10px 14px;box-sizing:border-box}.title-page .title-bottom-controls .leyvu-icon{flex:none;width:17px;height:17px}.title-page .add-to-collection>a{min-height:24px}
.title-page .title-bottom-controls>.personal-controls{flex:1 0 100%}.title-page .title-bottom-controls .title-link{margin-left:auto;padding:10px 14px;border:1px solid var(--control-line);background:color-mix(in srgb,var(--bg) 75%,transparent);color:var(--ink);font-size:12px}
@media(max-width:580px){.title-page .title-bottom-controls .follow-actions{width:100%}.title-page .title-bottom-controls .title-link{margin-left:0}.title-page .title-bottom-controls .button{font-size:12px;padding:10px}.title-page .personal-controls>label{flex-basis:100%}}
.header nav .connect-link{display:inline-flex;align-items:center;gap:7px;font-weight:650}
.header nav .connect-link .leyvu-icon{width:17px;height:17px;flex:none;color:var(--accent);stroke-width:1.8}
.header nav .nav-link{gap:8px}
.header nav .nav-link .leyvu-icon{width:18px;height:18px;flex:none;vertical-align:middle;color:var(--muted);stroke-width:1.8}
.header nav .connect-link .leyvu-icon{color:var(--accent)}
.header nav .nav-label,.ecosystem-page .header nav .nav-link>span{display:inline-block;font-size:15px;line-height:1.3;padding:0;border:0;border-radius:0;background:transparent;color:var(--muted);transition:color .16s}
.header nav .nav-link:hover .nav-label,.ecosystem-page .header nav .nav-link:hover>span{color:var(--ink)}
.header nav .nav-link.active .nav-label,.ecosystem-page .header nav .nav-link.active>span{color:var(--ink);font-weight:700}
.header nav .nav-link.active .leyvu-icon{color:var(--ink)}
.header nav .connect-link .leyvu-icon{color:var(--accent)}
.header nav .nav-link .nav-count{font-size:11px;line-height:1.2;padding:3px 6px}
.header-actions{display:flex;align-items:center;gap:8px}
.header-actions :is(#newRandom,#themeSwitch,#searchToggle,.v2-notice-trigger){position:relative;box-sizing:border-box;display:inline-grid;place-items:center;width:40px;min-width:40px;height:40px;min-height:40px;flex:none;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;color:var(--muted);line-height:1}
.header-actions :is(#newRandom,#themeSwitch,#searchToggle,.v2-notice-trigger) .leyvu-icon{display:block;width:18px;height:18px;margin:0;flex:none}
.header-actions #newRandom .random-label{display:none}
.header-actions :is(#newRandom,#themeSwitch,#searchToggle,.v2-notice-trigger):hover{background:color-mix(in srgb,var(--ink) 7%,transparent);color:var(--ink)}
.header-actions :is(#newRandom,#themeSwitch,#searchToggle,.v2-notice-trigger):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.header-actions .v2-notice-trigger[hidden]{display:none}
.v31-notice-menu{position:fixed;z-index:160;width:min(380px,calc(100vw - 24px));max-height:calc(100dvh - 105px);overflow:auto;padding:10px;border:1px solid var(--line,#333);border-radius:15px;background:var(--panel,#1a1c1e);color:var(--ink,#f3f1ed);box-shadow:0 14px 42px #0007}
.v31-notice-menu[hidden]{display:none}
.v31-notice-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 8px 10px;border-bottom:1px solid var(--line,#333)}
.v31-notice-header h2{margin:0;font-size:16px;font-weight:700}
.v31-notice-header button{border:0;background:transparent;color:var(--accent);font:inherit;font-size:11px;cursor:pointer}
.v31-notice-header button[hidden]{display:none}
.v31-notice-list{padding:3px 0}
.v31-notice-item{display:grid;gap:4px;padding:11px 9px;border-radius:8px;color:var(--muted);text-decoration:none;font-size:12px;line-height:1.55}
.v31-notice-item:hover{background:color-mix(in srgb,var(--ink) 6%,transparent);color:var(--ink)}
.v31-notice-item[data-unread=true]{color:var(--ink);background:color-mix(in srgb,var(--accent) 7%,transparent)}
.v31-notice-item time{font-size:10px;color:var(--muted)}
.v31-notice-empty{margin:0;padding:24px 10px;color:var(--muted);font-size:12px;text-align:center}
.v31-notice-all{display:block;padding:11px 9px;border-top:1px solid var(--line,#333);color:var(--accent);font-size:12px;text-align:center;text-decoration:none}
@media(max-width:1100px){.header nav .nav-label,.ecosystem-page .header nav .nav-link>span{font-size:14px}.header nav .nav-link .leyvu-icon{width:16px;height:16px}}
@media(max-width:800px){.header nav{gap:14px}.header nav .nav-label,.ecosystem-page .header nav .nav-link>span{font-size:13px}}
@media(max-width:580px){.header nav{overflow-x:auto;scrollbar-width:none;gap:12px}.header nav::-webkit-scrollbar{display:none}.header nav .nav-link{gap:5px}.header nav .nav-label,.ecosystem-page .header nav .nav-link>span{font-size:12px}.header nav .nav-link .leyvu-icon{width:15px;height:15px}}

/* Title page personal controls: keep each label/control pair on one baseline. */
.title-page .title-bottom-controls>.personal-controls{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(300px,1.2fr);align-items:start;gap:14px;flex:1 1 100%;width:100%;}
.title-page .personal-controls>label{align-content:start;min-width:0;}
.title-page .personal-controls>label select{width:100%;min-width:0;}
.title-page .personal-controls>.add-to-collection{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 10px;min-width:0;}
.title-page .personal-controls>.add-to-collection>label{grid-column:1/-1;line-height:1.4;}
.title-page .personal-controls>.add-to-collection select{width:100%;min-width:0;max-width:none;}
.title-page .personal-controls>.add-to-collection .wide{min-width:146px;white-space:nowrap;}
.title-page .personal-controls>.add-to-collection>a{grid-column:1/-1;padding-top:0;min-height:24px;}
.title-page .title-source-rating{display:flex;align-items:center;gap:11px;width:max-content;max-width:100%;}
.title-page .title-actions[hidden]{display:none!important;}
.title-page #watchSave.save-watch-label{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:0;height:42px;min-height:42px;padding:0 15px;border-radius:12px;background:color-mix(in srgb,var(--accent) 13%,var(--bg));border:1px solid color-mix(in srgb,var(--accent) 38%,transparent);color:var(--ink);font-size:12px;font-weight:650;white-space:nowrap;}
.title-page #watchSave.save-watch-label svg{width:16px;height:16px;flex:none;}
.title-page #watchSave.save-watch-label.saved{background:color-mix(in srgb,var(--accent) 20%,var(--bg));color:var(--accent);}
@media(max-width:760px){.title-page .title-bottom-controls>.personal-controls{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:10px;width:100%;}.title-page .personal-controls>.add-to-collection .wide{min-width:120px;padding-inline:10px;}}
@media(max-width:560px){.title-page .title-bottom-controls>.personal-controls{grid-template-columns:minmax(0,1fr);}.title-page .personal-controls>.add-to-collection{grid-template-columns:minmax(0,1fr) auto;}.title-page .title-source-rating{flex-wrap:wrap;gap:8px;}.title-page .title-source-rating .save-watch-label{height:40px;min-height:40px;padding-inline:12px;font-size:11px;}}

.title-page .personal-controls>.add-to-collection .wide{margin:0;align-self:start;}

.library-nav>a[href="/community/collections"]{margin-left:0;}
.collection-tile .collection-publish{position:absolute;right:116px;top:8px;width:auto;min-height:30px;padding:6px 10px;border:1px solid #ffffff52;border-radius:8px;background:#090a0bc9;color:#fff;font-size:11px;font-weight:650;line-height:1;z-index:3;backdrop-filter:blur(8px);}
.collection-tile .collection-publish:hover{background:color-mix(in srgb,var(--accent) 30%,#090a0b);border-color:var(--accent);}
@media(max-width:560px){.collection-tile .collection-publish{right:108px;top:7px;min-height:27px;padding:5px 8px;font-size:10px;}}
/* «Своя тема» Leyvu Plus: --bg и --accent задаёт site-themes.js, остальное выводится из них */
:root[data-site-palette=custom]{--panel:color-mix(in srgb,var(--bg) 90%,#fff);--line:color-mix(in srgb,var(--bg) 80%,#fff);--ink:#f3f1ed;--muted:color-mix(in srgb,#f3f1ed 60%,var(--bg));--accent-strong:color-mix(in srgb,var(--accent) 80%,#fff);--surface:var(--panel);--text:var(--ink);color-scheme:dark}
:root[data-site-palette=custom] body{background:var(--bg)}
:root[data-site-palette=custom] :is(.button.primary,.dock-claim,.fm-like.is-on){box-shadow:0 10px calc(34px * var(--lv-glow,.5)) calc(-8px + 6px * var(--lv-glow,.5)) color-mix(in srgb,var(--accent) calc(90% * var(--lv-glow,.5)),transparent)}
.v2-theme-custom{text-decoration:none;color:inherit}
.header-actions .v2-notice-trigger .v3-notice-badge{position:absolute;top:2px;right:0;min-width:16px;height:16px;margin:0;padding:0 4px;border-radius:8px;box-sizing:border-box;display:grid;place-items:center;font-size:10px;font-weight:700;line-height:1;background:var(--accent);color:#fff;box-shadow:0 0 0 2px var(--bg)}
.header-actions .v2-notice-trigger .v3-notice-badge[hidden]{display:none}
/* Каталог на ПК — 6 колонок (решение владельца 27.10.2026), на узких экранах — как раньше. */
@media (min-width:1151px){.catalog-layout .anime-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px 14px}}
.hero-more{display:inline-flex;align-items:center;gap:6px;margin:-16px 0 22px;font-size:13px;font-weight:700;color:var(--accent,#ff725b);text-decoration:none;text-shadow:0 1px 10px #000a}.hero-more::after{content:'→';transition:transform .15s}.hero-more:hover::after{transform:translateX(3px)}.hero-more[hidden]{display:none}
/* поиск в шапке страниц сообщества, форума, профиля и админки — ведёт в каталог */
.eco-search label{display:flex;align-items:center;gap:8px;width:clamp(180px,18vw,260px);height:40px;padding:0 14px;border:1px solid color-mix(in srgb,var(--ink,#fff) 12%,transparent);border-radius:12px;background:color-mix(in srgb,var(--panel,#1a1c1e) 70%,transparent);color:var(--muted,#9a9da4);transition:border-color .15s,box-shadow .15s}
.eco-search label:focus-within{border-color:color-mix(in srgb,var(--accent,#ff725b) 60%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent,#ff725b) 15%,transparent)}
.eco-search svg{flex:none;width:17px;height:17px}.eco-search input{flex:1;min-width:0;height:100%;padding:0;border:0!important;outline:0;background:transparent!important;color:var(--ink,#f3f1ed);font:inherit;font-size:14px;box-shadow:none!important}
@media(max-width:1100px){.eco-search{display:none}}
/* Аудит 27.10: на телефоне кнопки не меньше 32×32 px — «В список» на карточке и ссылки-кнопки подвала. */
@media (max-width:640px){.anime-card .card-save{min-width:34px;min-height:34px;display:inline-grid;place-items:center}
 :is(#aboutSources,[data-cookie-settings]){min-height:32px;padding:6px 4px}}
/* иконки у заголовков рядов главной */
h2.has-row-ic:before{display:none!important;content:none!important}
h2.has-row-ic{display:flex;align-items:center;gap:10px}
.row-ic{flex:none;display:inline-grid;place-items:center;width:32px;height:32px;border-radius:10px;background:color-mix(in srgb,var(--tone) 16%,transparent);color:var(--tone);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tone) 28%,transparent),0 0 18px -8px var(--tone)}
.row-ic svg{width:17px;height:17px}
@media(max-width:640px){.row-ic{width:26px;height:26px;border-radius:8px}.row-ic svg{width:14px;height:14px}}
/* cosmetics.css */
/* Оформление Leyvu: баннеры, рамки, фоны комментариев, эффекты и титулы. Только CSS, без внешних картинок. */
.lv-art{position:relative;overflow:hidden;background:#17181c;isolation:isolate}
.lv-art::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:0}
.lv-art>*{position:relative;z-index:1}
[data-art=banner-dusk],[data-art=comment-ember]{background:radial-gradient(circle at 78% 70%,#ffb38a55 0 9%,transparent 30%),linear-gradient(160deg,#2a1d2b 0%,#8d4a4a 48%,#ff8a5c 78%,#ffd2a1 100%)}
[data-art=banner-ocean],[data-art=comment-wave]{background:radial-gradient(120% 60% at 50% 120%,#3d7fbf66,transparent 60%),repeating-radial-gradient(ellipse at 50% 140%,#ffffff0c 0 2px,transparent 3px 22px),linear-gradient(180deg,#0d1424,#173a66 70%,#2a6aa0)}
[data-art=banner-sakura],[data-art=comment-sakura]{background:radial-gradient(circle at 12% 30%,#ffd1e2 0 3px,transparent 4px),radial-gradient(circle at 34% 68%,#ffc0d6 0 2px,transparent 3px),radial-gradient(circle at 63% 22%,#ffe3ee 0 3px,transparent 4px),radial-gradient(circle at 86% 58%,#ffb3cf 0 2px,transparent 3px),radial-gradient(circle at 80% 10%,#ff9ec4aa,transparent 40%),linear-gradient(170deg,#2b1830,#7a3f63 55%,#e895b4)}
[data-art=banner-city]{background:linear-gradient(0deg,#07080d 0 18%,transparent 18%),repeating-linear-gradient(90deg,#0b0d16 0 26px,#111425 26px 30px,#0b0d16 30px 64px,#151834 64px 70px),radial-gradient(60% 50% at 70% 100%,#ff3fa466,transparent 70%),radial-gradient(50% 40% at 20% 100%,#30c8ff55,transparent 70%),linear-gradient(180deg,#090a18,#1d1840);background-size:auto,100% 46%,auto,auto,auto;background-position:0 0,0 100%,0 0,0 0,0 0;background-repeat:no-repeat}
[data-art=banner-city]::after{background:radial-gradient(circle,#ffe58f 0 1px,transparent 1.5px) 0 0/34px 22px;opacity:.35;mask-image:linear-gradient(0deg,#000 0 46%,transparent 46%);-webkit-mask-image:linear-gradient(0deg,#000 0 46%,transparent 46%)}
[data-art=comment-night]{background:radial-gradient(40% 120% at 85% 100%,#ff3fa455,transparent 70%),radial-gradient(35% 120% at 65% 0%,#30c8ff44,transparent 70%),radial-gradient(circle at 92% 30%,#ffe58f 0 1.5px,transparent 2px),radial-gradient(circle at 78% 70%,#ffe58f 0 1px,transparent 1.5px),linear-gradient(180deg,#0b0c1a,#1d1840)}
[data-art=banner-aurora],[data-art=comment-aurora]{background:radial-gradient(70% 60% at 20% 10%,#3cf0b866,transparent 60%),radial-gradient(60% 70% at 80% 0%,#9b6bff77,transparent 60%),radial-gradient(50% 50% at 50% 60%,#2ab7d544,transparent 70%),linear-gradient(180deg,#061019,#101a33)}
[data-art=banner-winter]{background:radial-gradient(circle at 20% 25%,#fff 0 1.5px,transparent 2px),radial-gradient(circle at 70% 40%,#fff 0 1px,transparent 1.5px),radial-gradient(circle at 45% 70%,#fff 0 1.5px,transparent 2px),linear-gradient(170deg,#18263a,#5c7fa8 60%,#d8e8f6)}
[data-art=banner-ink]{background:radial-gradient(40% 70% at 82% 40%,#00000099,transparent 70%),radial-gradient(30% 50% at 70% 70%,#2a2a2a,transparent 70%),radial-gradient(circle at 18% 35%,#c9362b 0 26px,transparent 27px),linear-gradient(180deg,#efe7d6,#d7cbb3)}
[data-art=banner-ghoul]{background:radial-gradient(30% 80% at 85% 50%,#d9192b88,transparent 70%),repeating-conic-gradient(from 200deg at 90% 50%,#5a0a12 0 4deg,transparent 4deg 13deg),linear-gradient(120deg,#070607 40%,#3a0910)}
[data-art=banner-patron],[data-art=comment-patron]{background:radial-gradient(60% 80% at 75% 0%,#ffd77a77,transparent 60%),linear-gradient(160deg,#1a1022,#4b2b46 55%,#c99a4b)}
[data-art=banner-default]{background:radial-gradient(70% 90% at 0 0,color-mix(in srgb,var(--accent) 30%,transparent),transparent 60%),linear-gradient(180deg,#1c1d22,#141518)}

/* Рамки аватара */
.lv-avatar{--size:96px;position:relative;width:var(--size);height:var(--size);flex:none;border-radius:50%;display:grid;place-items:center;background:var(--panel,#1a1c1e);color:var(--accent,#ff725b);font-weight:800;font-size:calc(var(--size)*.42);line-height:1}
.lv-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.lv-avatar::before{content:"";position:absolute;inset:-4px;border-radius:50%;pointer-events:none;z-index:1}
.lv-avatar[data-frame=frame-coral]::before{border:3px solid var(--accent,#ff725b)}
.lv-avatar[data-frame=frame-mint]::before{border:3px solid #73bda4}
.lv-avatar[data-frame=frame-gold]::before{padding:3px;background:linear-gradient(135deg,#fff1b8,#d5a13c 40%,#8a5a14 60%,#ffe08a);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.lv-avatar[data-frame=frame-sakura]::before{inset:-6px;padding:4px;background:conic-gradient(#ffb3cf,#ff7aa8,#ffe0ec,#ff9ec4,#ffb3cf);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.lv-avatar[data-frame=frame-sakura]::after{content:"";position:absolute;width:30%;height:30%;right:-6%;bottom:-2%;z-index:2;background:radial-gradient(circle at 50% 30%,#ffd1e2 0 22%,transparent 23%),radial-gradient(circle at 30% 60%,#ff9ec4 0 22%,transparent 23%),radial-gradient(circle at 70% 60%,#ffb3cf 0 22%,transparent 23%)}
.lv-avatar[data-frame=frame-neon]::before{inset:-5px;padding:3px;background:conic-gradient(from var(--lv-spin,0deg),#30c8ff,#b06bff,#ff3fa4,#30c8ff);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;filter:drop-shadow(0 0 6px #b06bffaa);animation:lv-spin 8s linear infinite}
.lv-avatar[data-frame=frame-ghoul]::before{inset:-5px;border:3px solid #1b0306;box-shadow:0 0 0 2px #d9192b,0 0 14px #d9192b88}
.lv-avatar[data-frame=frame-ghoul]::after{content:"";position:absolute;right:-8%;top:-6%;width:34%;height:34%;z-index:2;border-radius:50%;background:radial-gradient(circle at 40% 40%,#ff2b3d 0 18%,#2a0004 19% 60%,transparent 61%)}
.lv-avatar[data-frame=frame-patron]::before{inset:-5px;padding:3px;background:linear-gradient(135deg,#ffe9a8,#c99a4b,#fff3cc,#b07a2a);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;filter:drop-shadow(0 0 8px #ffd77a88)}
.lv-avatar[data-frame=frame-patron]::after{content:"";position:absolute;top:-22%;left:50%;width:38%;height:24%;translate:-50% 0;z-index:2;background:linear-gradient(135deg,#ffe9a8,#c99a4b);clip-path:polygon(0 100%,0 20%,25% 60%,50% 0,75% 60%,100% 20%,100% 100%)}
@property --lv-spin{syntax:"<angle>";inherits:false;initial-value:0deg}
@keyframes lv-spin{to{--lv-spin:360deg}}

/* Титул под ником */
.lv-title{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:3px 11px;border-radius:999px;border:1px solid color-mix(in srgb,var(--lv-rarity) 55%,transparent);background:color-mix(in srgb,var(--lv-rarity) 16%,#0008);color:color-mix(in srgb,var(--lv-rarity) 35%,#fff);font-size:12px;font-weight:700;letter-spacing:.02em;line-height:1.2;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.lv-title svg{width:14px;height:14px;flex:none}
[data-rarity=common]{--lv-rarity:#a9adb5}[data-rarity=rare]{--lv-rarity:#5aa9ff}[data-rarity=epic]{--lv-rarity:#b77bff}[data-rarity=legendary]{--lv-rarity:#ffb547}[data-rarity=exclusive]{--lv-rarity:#ff6fae}
.lv-rarity{display:inline-flex;align-items:center;gap:6px;color:var(--lv-rarity);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.lv-rarity::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor}

/* Фон комментария: картинка затемняется слева, чтобы текст оставался читаемым на любой ширине */
.lv-comment-art{position:relative;isolation:isolate;border-radius:12px;overflow:hidden}
.lv-comment-art::before{content:"";position:absolute;inset:0;z-index:-2;background:inherit}
.lv-comment-art[data-art]{background-size:cover;background-position:center}
.lv-comment-art[data-art]::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,color-mix(in srgb,var(--bg,#101112) 92%,transparent) 0%,color-mix(in srgb,var(--bg,#101112) 80%,transparent) 55%,color-mix(in srgb,var(--bg,#101112) 45%,transparent) 100%)}
@media(max-width:640px){.lv-comment-art[data-art]::after{background:color-mix(in srgb,var(--bg,#101112) 84%,transparent)}}
@media(prefers-contrast:more){.lv-comment-art[data-art]::after{background:var(--bg,#101112)}}

/* Эффекты профиля: частицы над баннером, не перехватывают клики */
.lv-effect{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}
.lv-effect i{position:absolute;top:-10%;left:var(--x);width:var(--s);height:var(--s);border-radius:50%;background:#fff;opacity:.8;animation:lv-fall var(--d) linear var(--delay) infinite}
.lv-effect[data-effect=effect-rain] i{width:1.5px;height:calc(var(--s)*4);border-radius:1px;background:linear-gradient(#fff0,#cfe6ffcc);animation-duration:calc(var(--d)/3)}
.lv-effect[data-effect=effect-sakura] i{width:calc(var(--s)*1.8);height:var(--s);border-radius:80% 0 80% 0;background:#ffb3cf;animation-name:lv-drift}
.lv-effect[data-effect=effect-fireflies] i{top:auto;bottom:var(--y);background:#ffe58f;box-shadow:0 0 10px 3px #ffd54f88;animation:lv-glow var(--d) ease-in-out var(--delay) infinite alternate}
.lv-effect[data-effect=effect-stars] i{width:2px;height:2px;box-shadow:0 0 6px 2px #fff;animation:lv-shoot calc(var(--d)*.6) ease-in var(--delay) infinite}
@keyframes lv-fall{to{transform:translate3d(20px,360px,0)}}
@keyframes lv-drift{to{transform:translate3d(60px,360px,0) rotate(540deg)}}
@keyframes lv-glow{0%{opacity:.1;transform:translate(0,0)}100%{opacity:.9;transform:translate(14px,-18px)}}
@keyframes lv-shoot{0%{opacity:0;transform:translate(0,0)}10%{opacity:1}60%,100%{opacity:0;transform:translate(-120px,90px)}}

@media(prefers-reduced-motion:reduce){.lv-effect i{animation:none!important;opacity:.35}.lv-effect[data-effect=effect-rain] i,.lv-effect[data-effect=effect-stars] i{display:none}.lv-avatar[data-frame=frame-neon]::before{animation:none}}
html[data-reduce-effects] .lv-effect{display:none}

/* Мини-профиль */
.pv-mini{width:min(340px,100%);border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--panel);box-shadow:0 22px 60px #000a}
.pv-mini-banner{height:84px}
.pv-mini-body{display:flex;align-items:flex-end;gap:12px;padding:0 16px;margin-top:-30px;position:relative}
.pv-mini-body .lv-avatar{box-shadow:0 0 0 4px var(--panel)}
.pv-mini-names{display:grid;gap:2px;min-width:0;padding-bottom:2px}
.pv-mini-names strong{font-size:17px;overflow-wrap:anywhere}.pv-mini-names>span{color:var(--muted);font-size:13px}
.pv-mini-names .lv-title{justify-self:start;margin-top:4px}
.pv-mini-bio{margin:12px 16px 0;color:var(--ink);font-size:13px;line-height:1.5}
.pv-mini-bio.is-muted{color:var(--muted);display:flex;align-items:center;gap:6px}
.pv-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 16px 0}
.pv-mini-stats div{display:flex;flex-direction:column-reverse;align-items:center;padding:8px 4px;border-radius:10px;background:var(--bg)}
.pv-mini-stats dt{color:var(--muted);font-size:11px}.pv-mini-stats dd{margin:0;font-weight:800;font-size:16px}
.pv-mini-actions{display:flex;gap:8px;padding:14px 16px 16px}
.pv-mini-actions .button{flex:1;justify-content:center;display:inline-flex;align-items:center;gap:8px}

.pv-mini :is(a,button).button{font-size:14px;line-height:1.2}.pv-mini .button>span{font-size:inherit}.pv-mini .button svg{width:17px;height:17px}
.lv-mini-pop{position:fixed;z-index:950;width:340px;max-width:calc(100vw - 24px);animation:lv-mini-in .2s cubic-bezier(.2,.8,.2,1)}
.lv-mini-pop .pv-mini{width:100%}
.lv-mini-pop.is-sheet{left:0!important;right:0;bottom:0;top:auto!important;width:auto;max-width:none;padding:0 8px calc(8px + env(safe-area-inset-bottom));animation-name:lv-sheet-in}
.lv-mini-pop.is-leaving{animation:lv-mini-out .18s ease-in forwards}
.lv-mini-close{position:absolute;top:8px;right:8px;z-index:3;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:10px;background:#0009;color:#fff;cursor:pointer}
.lv-mini-pop.is-sheet .lv-mini-close{right:16px}
.pv-mini.is-loading .pv-mini-bio{padding-bottom:16px;color:var(--muted,#97999d)}
@keyframes lv-mini-in{from{opacity:0;transform:translateY(-6px) scale(.98)}}
@keyframes lv-sheet-in{from{transform:translateY(100%)}}
@keyframes lv-mini-out{to{opacity:0;transform:translateY(-4px)}}
@media(prefers-reduced-motion:reduce){.lv-mini-pop,.lv-mini-pop.is-leaving{animation:none}}
[data-mini-profile]{cursor:pointer}
.v2-comment.lv-comment-art{padding-left:14px;padding-right:14px;margin:8px 0;border:1px solid color-mix(in srgb,var(--line,#2b2d30) 70%,transparent)}
.v2-comment .lv-title{min-height:22px;padding:1px 8px;font-size:11px}
.v2-comment-avatar[data-frame]{overflow:visible;border:0;box-shadow:0 0 0 2px var(--accent,#ff725b)}.v2-comment-avatar[data-frame] img{border-radius:50%}
.v2-comment-avatar[data-frame=frame-coral]{box-shadow:0 0 0 2px var(--accent,#ff725b)}.v2-comment-avatar[data-frame=frame-mint]{box-shadow:0 0 0 2px #73bda4}.v2-comment-avatar[data-frame=frame-gold]{box-shadow:0 0 0 2px #d5a13c,0 0 8px #d5a13c66}.v2-comment-avatar[data-frame=frame-sakura]{box-shadow:0 0 0 2px #ff9ec4}.v2-comment-avatar[data-frame=frame-neon]{box-shadow:0 0 0 2px #b06bff,0 0 10px #30c8ff88}.v2-comment-avatar[data-frame=frame-ghoul]{box-shadow:0 0 0 2px #d9192b,0 0 10px #d9192b88}.v2-comment-avatar[data-frame=frame-patron]{box-shadow:0 0 0 2px #ffd77a,0 0 10px #ffd77a88}
.v3-supporter{display:inline-flex;align-items:center;min-height:22px;padding:0 8px;border-radius:999px;border:1px solid #ffd77a66;color:#ffd77a;font-size:11px;font-weight:700}
/* Достижения тайтла на странице аниме */
.ta-section .title-rail-heading{display:flex;align-items:center;gap:12px}
.ta-count{padding:2px 10px;border-radius:999px;background:color-mix(in srgb,var(--accent,#ff725b) 16%,transparent);font-size:13px;font-weight:700}
.ta-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.ta-item{display:grid;grid-template-columns:auto 1fr;gap:12px;padding:14px;border:1px solid var(--line,#2b2d30);border-radius:12px;background:var(--panel,#1a1c1e)}
.ta-item.is-earned{border-color:color-mix(in srgb,var(--lv-rarity) 50%,var(--line,#2b2d30))}
.ta-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--lv-rarity) 14%,transparent);color:var(--muted,#97999d)}
.ta-item.is-earned .ta-icon{color:var(--lv-rarity)}
.ta-item strong{font-size:15px}.ta-item p{margin:4px 0 8px;color:var(--muted,#97999d);font-size:13px;line-height:1.45}
.ta-item small{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted,#97999d)}.ta-item small svg{width:14px;height:14px}
.ta-reward{color:#ffc857!important;margin-top:4px}.ta-done{color:var(--v2-success,#78bd9d)!important}
.ta-bar{display:block;height:6px;border-radius:999px;background:var(--line,#2b2d30);overflow:hidden;margin-bottom:4px}.ta-bar i{display:block;height:100%;background:var(--accent,#ff725b)}
.ta-hint{color:var(--muted,#97999d);font-size:13px}.ta-hint a{color:var(--accent,#ff725b)}
/* Предметы с палитрой (до появления картинки) и рамки-картинки */
.lv-avatar.has-ring::before{inset:-5px;padding:3px;background:var(--lv-ring);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.lv-avatar.has-frame-img::before,.lv-avatar.has-frame-img::after{display:none}
.lv-avatar .lv-frame-img{position:absolute;inset:-16%;width:132%;height:132%;max-width:none;border-radius:0;object-fit:contain;z-index:2;pointer-events:none}
/* эффекты Leyvu Plus: цвет из палитры предмета (--fx), движение — data-fx */
.lv-effect[data-fx] i{background:var(--fx,#fff)}
.lv-effect[data-fx=drift] i{width:calc(var(--s)*1.8);height:var(--s);border-radius:80% 0 80% 0;animation-name:lv-drift}
.lv-effect[data-fx=glow] i{top:auto;bottom:var(--y);box-shadow:0 0 10px 3px color-mix(in srgb,var(--fx,#fff) 55%,transparent);animation:lv-glow var(--d) ease-in-out var(--delay) infinite alternate}
.lv-effect[data-fx=shoot] i{width:2px;height:2px;box-shadow:0 0 6px 2px var(--fx,#fff);animation:lv-shoot calc(var(--d)*.6) ease-in var(--delay) infinite}
.lv-effect[data-fx=rain] i{width:1.5px;height:calc(var(--s)*4);border-radius:1px;background:linear-gradient(transparent,var(--fx,#cfe6ff));animation-duration:calc(var(--d)/3)}
.lv-effect[data-fx=rain] i:nth-child(2n){background:linear-gradient(transparent,#ff2a6d)}
@media(prefers-reduced-motion:reduce){.lv-effect[data-fx=rain] i,.lv-effect[data-fx=shoot] i{display:none}}
/* Титулы в цветах своего аниме: градиент букв (--ink) и рамки, свой фон для раздвоенных (--ink-bg) */
.lv-title.has-ink{border:1px solid transparent;background:var(--ink-bg,linear-gradient(#141418eb,#141418eb)) padding-box,var(--ink) border-box;color:#fff}
.lv-title.has-ink svg{color:color-mix(in srgb,#fff 30%,transparent)}
.lv-title.has-ink>span{background:var(--ink);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.lv-title.is-split{padding:3px 14px}
.lv-title.is-split>span{flex:1;text-align:center}
@media(prefers-contrast:more){.lv-title.has-ink>span{background:none;color:#fff;-webkit-text-fill-color:#fff}}

/* Generated artwork keeps real title text and decorative effects accessible. */
.lv-title.has-title-img{border:0;border-radius:0;padding:8px 18px 5px 30px;min-height:36px;background:var(--lv-title-image) center/100% 100% no-repeat;color:#24172e;text-shadow:0 1px #ffffff55}
.lv-effect-img{position:absolute;inset:-12%;width:124%;height:124%;max-width:none;object-fit:cover;opacity:.7;animation:lv-art-drift 12s ease-in-out infinite alternate}
@keyframes lv-art-drift{from{transform:translate3d(-2%,-3%,0)}to{transform:translate3d(3%,5%,0)}}
@media(prefers-reduced-motion:reduce){.lv-effect-img{animation:none;opacity:.35}}
html[data-reduce-effects] .lv-effect-img{animation:none}

/* Light paper needs its own ink, including comment metadata and mobile overlays. */
.lv-comment-art[data-art=comment-plus-ink-wash]{color:#211e19;color-scheme:light}
.lv-comment-art[data-art=comment-plus-ink-wash]::after{background:linear-gradient(90deg,#e9e3d6f5 0%,#e9e3d6df 55%,#e9e3d670 100%)}
#titleComments .lv-comment-art[data-art=comment-plus-ink-wash]>.v2-comment-main>:is(.cm-meta,.v2-comment-body) :is(.cm-text,.cm-author){color:#211e19}
#titleComments .lv-comment-art[data-art=comment-plus-ink-wash]>.v2-comment-main>:is(.cm-meta,.v2-comment-body,.cm-actions) :is(.cm-action,.cm-time,.cm-edited,.cm-deleted){color:#5b554c}
#titleComments .lv-comment-art[data-art=comment-plus-ink-wash]>.v2-comment-main>:is(.cm-replyto,.cm-thread-toggle){color:#68452d}
#titleComments .lv-comment-art[data-art=comment-plus-ink-wash]>.v2-comment-main>.cm-meta .cm-time::before{color:#6a6258}
#titleComments .lv-comment-art[data-art=comment-plus-ink-wash]>.v2-comment-main>.cm-actions .cm-pop{background:#f4eee1;--text:#211e19}
.ph-comment-sample[data-art=comment-plus-ink-wash] p{color:#5b554c}
#titleComments .v2-comment-avatar.has-cosmetic-avatar{overflow:visible;background:transparent}
#titleComments .v2-comment-avatar .lv-frame-img{width:132%;height:132%;object-fit:contain}
@media(max-width:640px){.lv-comment-art[data-art=comment-plus-ink-wash]::after{background:#e9e3d6eb}}
@media(prefers-contrast:more){.lv-comment-art[data-art=comment-plus-ink-wash]::after{background:#e9e3d6}}

/* Титулы 27.10.2026: эпические светятся цветом своего градиента, легендарные — ещё и с бегущим бликом. */
.lv-title{position:relative;isolation:isolate;font-weight:700;letter-spacing:.1px}
.lv-title.has-ink[data-rarity=epic]{box-shadow:0 0 14px -4px color-mix(in srgb,var(--ink-glow,var(--lv-rarity,#b18cff)) 75%,transparent)}
.lv-title.has-ink[data-rarity=legendary]{overflow:hidden;box-shadow:0 0 18px -4px color-mix(in srgb,var(--ink-glow,var(--lv-rarity,#f2c94c)) 85%,transparent),0 0 0 1px #ffffff10 inset}
.lv-title.has-ink[data-rarity=legendary]::after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(110deg,transparent 35%,#ffffff40 50%,transparent 65%);transform:translateX(-120%);animation:lv-title-shine 4.2s ease-in-out infinite;pointer-events:none}
@keyframes lv-title-shine{0%,62%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
@media (prefers-reduced-motion:reduce){.lv-title.has-ink[data-rarity=legendary]::after{animation:none;display:none}}
.lv-title.has-ink{border-color:color-mix(in srgb,var(--ink-glow,var(--lv-rarity)) 55%,transparent)}
/* ui-feedback.css */
/* Уведомления, подсказки и анимация окон Leyvu */
.lv-toasts{position:fixed;z-index:1000;right:20px;bottom:20px;display:grid;gap:10px;width:min(380px,calc(100vw - 32px));pointer-events:none}
.lv-toast{pointer-events:auto;display:flex;align-items:flex-start;gap:10px;padding:12px 12px 12px 16px;border:1px solid var(--line,#2b2d30);border-left:4px solid var(--lv-tone);border-radius:12px;background:color-mix(in srgb,var(--panel,#1a1c1e) 94%,#000);color:var(--ink,#f3f1ed);box-shadow:0 16px 40px #0008;--lv-tone:var(--accent,#ff725b);animation:lv-toast-in .32s cubic-bezier(.2,.8,.2,1)}
.lv-toast[data-tone=success]{--lv-tone:var(--v2-success,#78bd9d)}.lv-toast[data-tone=error]{--lv-tone:var(--v2-error,#e4776b)}
.lv-toast p{flex:1;margin:2px 0;font-size:14px;line-height:1.45}
.lv-toast-close{flex:none;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--muted,#97999d);cursor:pointer}
.lv-toast-close:hover{color:var(--ink,#f3f1ed);background:#ffffff10}
.lv-toast.is-leaving{animation:lv-toast-out .24s ease-in forwards}
@keyframes lv-toast-in{from{opacity:0;transform:translateY(12px) scale(.98)}}
@keyframes lv-toast-out{to{opacity:0;transform:translateX(24px)}}
@media(max-width:760px){.lv-toasts{left:16px;right:16px;width:auto;bottom:calc(76px + env(safe-area-inset-bottom))}@keyframes lv-toast-out{to{opacity:0;transform:translateY(12px)}}}
.lv-tip{position:fixed;z-index:1001;max-width:260px;padding:7px 11px;border-radius:8px;background:var(--ink,#f3f1ed);color:var(--bg,#101112);font-size:12px;font-weight:600;line-height:1.4;pointer-events:none;opacity:0;transform:translateY(-4px);transition:opacity .16s ease,transform .16s ease}
.lv-tip[data-side=top]{transform:translateY(4px)}
.lv-tip.is-visible{opacity:1;transform:none}
/* Диалоги: появление с лёгким масштабом и затемнение фона */
dialog.v3-dialog[open],dialog.lv-confirm[open]{animation:lv-dialog-in .26s cubic-bezier(.2,.8,.2,1)}
dialog.v3-dialog::backdrop,dialog.lv-confirm::backdrop{background:#0009;backdrop-filter:blur(3px);animation:lv-fade .26s ease}
dialog.lv-confirm{width:min(460px,calc(100vw - 32px));border:1px solid var(--line,#2b2d30);border-radius:16px;background:var(--panel,#1a1c1e);color:var(--ink,#f3f1ed);padding:22px}
dialog.lv-confirm h2{margin:0 0 10px;font-size:19px}dialog.lv-confirm p{color:var(--muted,#97999d);line-height:1.55}
dialog.lv-confirm .v3-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
@keyframes lv-dialog-in{from{opacity:0;transform:translateY(10px) scale(.97)}}
@keyframes lv-fade{from{opacity:0}}
/* Видимый фокус для клавиатуры и пульта */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--accent,#ff725b);outline-offset:3px;border-radius:8px}
@media(prefers-reduced-motion:reduce){.lv-toast,.lv-toast.is-leaving,dialog.v3-dialog[open],dialog.lv-confirm[open],dialog::backdrop{animation:none!important}.lv-tip{transition:none}}
.lv-feedback #toast{display:none!important}
/* Режим телевизора: отступы от краёв экрана (overscan), крупные зоны и заметный фокус */
html.tv-mode body{padding:2.5vh 3.5vw}
html.tv-mode :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible,html.tv-mode :where(a,button,input,select,textarea,summary,[tabindex]):focus{outline:4px solid var(--accent,#ff725b);outline-offset:4px;box-shadow:0 0 0 8px color-mix(in srgb,var(--accent,#ff725b) 25%,transparent)}
html.tv-mode :where(.button,button,.nav-link,.ph-tabs a,.ph-filters a){min-height:52px}
html.tv-mode :where(.ph-item,.pv-posters a,.tv-card,.catalog-card,.anime-card):focus-within{transform:scale(1.03)}
html.tv-mode .lv-tip{display:none}
@media(prefers-reduced-motion:reduce){html.tv-mode :where(.ph-item,.pv-posters a,.tv-card,.catalog-card,.anime-card):focus-within{transform:none}}
/* Меню аккаунта: мягкое появление из-под аватара */
.v31-profile-menu:not([hidden]){animation:lv-menu-in .18s cubic-bezier(.2,.8,.2,1);transform-origin:top right}
@keyframes lv-menu-in{from{opacity:0;transform:translateY(-6px) scale(.97)}}
@media(prefers-reduced-motion:reduce){.v31-profile-menu:not([hidden]){animation:none}}
/* Пока приложение дорисовывает страницу, подвал остаётся ниже первого экрана — без скачка вёрстки;
   flow-root: отступ первого блока страницы не «выталкивает» main, когда приложение меняет раздел */
main#home{min-height:100vh;min-height:100svh;display:flow-root}
/* Единый вид всплывающих окон (27.10.2026): мягкое свечение цветом оформления, крупные кнопки и поля, мобильная версия. */
dialog:is(.lv-confirm,.v3-dialog,.small-dialog,.lb-dialog,.leyvu-auth-dialog,.v2-theme-dialog,.lc-dialog){--dlg-glow:color-mix(in srgb,var(--accent,#ff725b) 14%,transparent);box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;border:1px solid color-mix(in srgb,var(--ink,#fff) 10%,transparent);border-radius:22px;background:radial-gradient(120% 60% at 0% 0%,var(--dlg-glow),transparent 62%),radial-gradient(80% 50% at 100% 100%,color-mix(in srgb,#7c5cff 9%,transparent),transparent 60%),var(--panel,#1a1c1e);color:var(--ink,#f3f1ed);box-shadow:0 30px 90px #000a,0 0 0 1px #ffffff05 inset,0 0 60px -20px var(--dlg-glow);padding:26px}
dialog:is(.lv-confirm,.v3-dialog,.small-dialog,.lb-dialog,.leyvu-auth-dialog,.v2-theme-dialog,.lc-dialog)::backdrop{background:#05050799;backdrop-filter:blur(8px) saturate(1.1)}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog)[open]{animation:lv-dialog-in .26s cubic-bezier(.2,.8,.2,1)}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) h2{margin:0 0 14px;font-size:21px;line-height:1.25;letter-spacing:-.3px}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) :is(.button,button.button,a.button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 20px;border-radius:14px;border:1px solid transparent;font:inherit;font-size:14.5px;font-weight:700;line-height:1;cursor:pointer;text-decoration:none;transition:transform .15s,box-shadow .15s,background .15s,border-color .15s}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) .button.primary{background:linear-gradient(135deg,var(--accent,#ff725b),color-mix(in srgb,var(--accent,#ff725b) 70%,#ff4fd8));color:#160f0c;box-shadow:0 10px 26px -8px color-mix(in srgb,var(--accent,#ff725b) 70%,transparent)}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) .button.primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 32px -8px color-mix(in srgb,var(--accent,#ff725b) 80%,transparent)}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) .button.secondary{background:color-mix(in srgb,var(--ink,#fff) 6%,transparent);border-color:color-mix(in srgb,var(--ink,#fff) 12%,transparent);color:var(--ink,#f3f1ed)}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) .button.secondary:hover:not(:disabled){background:color-mix(in srgb,var(--ink,#fff) 10%,transparent)}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) .button:disabled{opacity:.5;cursor:not-allowed;transform:none}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) .v3-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) .v3-actions .button{flex:1 1 140px}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) label:not(.lb-search):not(:has(>input[type=checkbox])):not(:has(>input[type=radio])){display:grid;gap:8px;margin:0 0 14px;font-size:13.5px;font-weight:600;color:var(--ink,#f3f1ed)}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select){box-sizing:border-box;width:100%;min-height:46px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--ink,#fff) 12%,transparent);border-radius:13px;background:color-mix(in srgb,var(--bg,#0f1011) 80%,#000);color:var(--ink,#f3f1ed);font:inherit;font-size:15px;font-weight:400;outline:none;transition:border-color .15s,box-shadow .15s}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) textarea{min-height:92px;resize:vertical;line-height:1.5}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) :is(input,textarea,select):focus-visible{border-color:color-mix(in srgb,var(--accent,#ff725b) 70%,transparent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent,#ff725b) 16%,transparent)}
dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent,#ff725b)}
@media (max-width:560px){dialog:is(.lv-confirm,.v3-dialog,.small-dialog,.lb-dialog){width:calc(100vw - 20px)!important;padding:20px 18px;border-radius:20px}dialog:is(.lv-confirm,.lb-dialog,.v3-dialog,.small-dialog) .v3-actions .button{flex:1 1 100%}}
@media (prefers-reduced-motion:reduce){dialog:is(.lv-confirm,.lb-dialog,.v3-dialog)[open]{animation:none}}
/* Поиск внутри окна «Добавить аниме»: одна рамка, значок внутри поля. */
dialog.lb-dialog{width:min(560px,calc(100vw - 24px))}
dialog.lb-dialog .lb-search{display:flex;align-items:center;gap:10px;min-height:50px;margin:0 0 12px;padding:0 16px;border:1px solid color-mix(in srgb,var(--ink,#fff) 12%,transparent);border-radius:14px;background:color-mix(in srgb,var(--bg,#0f1011) 80%,#000);transition:border-color .15s,box-shadow .15s}
dialog.lb-dialog .lb-search:focus-within{border-color:color-mix(in srgb,var(--accent,#ff725b) 70%,transparent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent,#ff725b) 16%,transparent)}
dialog.lb-dialog .lb-search>svg{flex:none;width:18px;height:18px;color:var(--muted,#97999d)}
dialog.lb-dialog .lb-search input{flex:1;min-width:0;min-height:48px!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
dialog.lb-dialog .lb-results{display:grid;gap:8px;max-height:min(52vh,460px);overflow:auto;padding:2px;margin:0 -2px}
dialog.lb-dialog .lb-results>*{border-radius:14px}
/* Всплывающие панели (меню аккаунта, уведомления, быстрый поиск) в одном стиле с окнами: стекло, свечение, мягкое появление. */
:is(.v31-profile-menu,.v31-notice-menu){border:1px solid color-mix(in srgb,var(--ink,#fff) 10%,transparent)!important;border-radius:20px!important;background:radial-gradient(120% 50% at 0% 0%,color-mix(in srgb,var(--accent,#ff725b) 12%,transparent),transparent 60%),color-mix(in srgb,var(--panel,#1a1c1e) 94%,transparent)!important;backdrop-filter:blur(14px) saturate(1.1);box-shadow:0 26px 70px #000a,0 0 50px -24px color-mix(in srgb,var(--accent,#ff725b) 60%,transparent)!important}
:is(.v31-profile-menu,.v31-notice-menu):not([hidden]){animation:lv-pop-in .2s cubic-bezier(.2,.8,.2,1)}
@keyframes lv-pop-in{from{opacity:0;transform:translateY(-6px) scale(.98)}}
.v31-notice-menu .v31-notice-item{border-radius:12px;transition:background .15s}.v31-notice-menu .v31-notice-item:hover{background:color-mix(in srgb,var(--ink,#fff) 6%,transparent)}
.v31-notice-menu .v31-notice-item[data-unread=true]{background:color-mix(in srgb,var(--accent,#ff725b) 10%,transparent);box-shadow:inset 3px 0 0 var(--accent,#ff725b)}
dialog.quick-search{border-radius:22px;box-shadow:0 30px 90px #000a,0 0 60px -24px color-mix(in srgb,var(--accent,#ff725b) 60%,transparent)}
@media (prefers-reduced-motion:reduce){:is(.v31-profile-menu,.v31-notice-menu):not([hidden]){animation:none}}
/* кнопка выбора файла — в стиле сайта, а не системная */
input[type=file]{max-width:100%;color:var(--muted,#9a9da4);font:inherit;font-size:13px}
input[type=file]::file-selector-button{margin-right:12px;min-height:38px;padding:0 16px;border:1px solid color-mix(in srgb,var(--ink,#fff) 14%,transparent);border-radius:11px;background:color-mix(in srgb,var(--ink,#fff) 7%,transparent);color:var(--ink,#f3f1ed);font:inherit;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s}
input[type=file]::file-selector-button:hover{background:color-mix(in srgb,var(--ink,#fff) 12%,transparent);border-color:color-mix(in srgb,var(--accent,#ff725b) 45%,transparent)}
dialog.small-dialog label+label{margin-top:2px}
/* ===== Уведомления 2.0 (колокольчик и /notifications): иконка по типу, цвет раздела, группы по дням ===== */
.nv-item{position:relative;display:flex;align-items:stretch;border-radius:14px;transition:background .15s,opacity .18s,transform .18s}
.nv-item.is-leaving{opacity:0;transform:translateX(12px)}
.nv-link{flex:1;min-width:0;display:flex;gap:12px;align-items:flex-start;padding:11px 12px;border-radius:14px;color:inherit;text-decoration:none}
.nv-item:hover{background:color-mix(in srgb,var(--ink,#fff) 5%,transparent)}
.nv-item[data-unread=true]{background:linear-gradient(90deg,color-mix(in srgb,var(--tone) 12%,transparent),transparent 70%)}
.nv-icon{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:color-mix(in srgb,var(--tone) 16%,transparent);color:var(--tone);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tone) 22%,transparent)}
.nv-icon svg{width:18px;height:18px}
.nv-item[data-unread=true] .nv-icon{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tone) 40%,transparent),0 0 18px -6px var(--tone)}
.nv-body{flex:1;min-width:0;display:grid;gap:3px}
.nv-title{font-size:14px;font-weight:650;line-height:1.35;color:var(--ink,#f3f1ed);overflow-wrap:anywhere}
.nv-item:not([data-unread=true]) .nv-title{font-weight:500;color:color-mix(in srgb,var(--ink,#f3f1ed) 82%,transparent)}
.nv-meta{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12px;color:var(--muted,#9a9da4)}.nv-kind{color:var(--tone)}
.nv-dot{flex:none;width:9px;height:9px;margin-top:6px;border-radius:50%;background:var(--tone);box-shadow:0 0 10px var(--tone)}
.nv-hide{flex:none;align-self:center;display:grid;place-items:center;width:34px;height:34px;margin-right:6px;border:0;border-radius:10px;background:transparent;color:var(--muted,#9a9da4);cursor:pointer;opacity:0;transition:opacity .15s,background .15s}
.nv-item:hover .nv-hide,.nv-hide:focus-visible{opacity:1}.nv-hide:hover{background:color-mix(in srgb,var(--ink,#fff) 8%,transparent);color:var(--ink,#fff)}.nv-hide svg{width:16px;height:16px}
@media (hover:none){.nv-hide{opacity:.7}}
.nv-day{margin:12px 12px 4px;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted,#9a9da4)}.nv-day:first-child{margin-top:4px}
.nv-empty{display:grid;justify-items:center;gap:8px;padding:34px 18px;text-align:center;color:var(--muted,#9a9da4)}.nv-empty>span{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:color-mix(in srgb,var(--accent,#ff725b) 12%,transparent);color:var(--accent,#ff725b)}.nv-empty>span svg{width:26px;height:26px}.nv-empty strong{color:var(--ink,#f3f1ed);font-size:16px}.nv-empty.is-compact{padding:22px 12px}
.nv-skel{display:grid;gap:8px;padding:8px}.nv-skel span{height:52px;border-radius:12px;background:linear-gradient(90deg,#ffffff08,#ffffff12,#ffffff08);background-size:200% 100%;animation:nv-shimmer 1.1s linear infinite}@keyframes nv-shimmer{to{background-position:-200% 0}}
/* колокольчик */
.v31-notice-menu{padding:8px!important;width:min(400px,calc(100vw - 20px))!important}
.v31-notice-menu .v31-notice-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px 10px;border-bottom:1px solid color-mix(in srgb,var(--ink,#fff) 8%,transparent)}
.v31-notice-menu .v31-notice-header h2{margin:0;font-size:16px}
.v31-notice-menu [data-read-all]{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--accent,#ff725b);font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}.v31-notice-menu [data-read-all]:hover{background:color-mix(in srgb,var(--accent,#ff725b) 12%,transparent)}.v31-notice-menu [data-read-all] svg{width:16px;height:16px}
.v31-notice-menu .v31-notice-list{max-height:min(62vh,520px);overflow:auto;padding:4px 0}
.v31-notice-foot{display:flex;gap:6px;padding:8px 2px 2px;border-top:1px solid color-mix(in srgb,var(--ink,#fff) 8%,transparent)}
.v31-notice-foot a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;border-radius:11px;color:var(--ink,#f3f1ed);font-size:13px;font-weight:700;text-decoration:none;background:color-mix(in srgb,var(--ink,#fff) 5%,transparent);transition:background .15s}.v31-notice-foot a:hover{background:color-mix(in srgb,var(--ink,#fff) 10%,transparent)}
.v31-notice-all{flex:1}.v31-notice-settings{width:38px}.v31-notice-foot svg{width:16px;height:16px}
/* страница */
.nv-page{max-width:880px;margin:0 auto}
.nv-hero{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:8px 0 18px;padding:20px 22px;border:1px solid color-mix(in srgb,var(--ink,#fff) 9%,transparent);border-radius:22px;background:radial-gradient(120% 90% at 0% 0%,color-mix(in srgb,var(--accent,#ff725b) 14%,transparent),transparent 60%),var(--panel,#1a1c1e)}
.nv-hero>div{flex:1;min-width:220px}.nv-hero h1{margin:0 0 4px;font-size:28px;letter-spacing:-.6px}.nv-hero p{margin:0;color:var(--muted,#9a9da4)}.nv-hero p b{color:var(--accent,#ff725b)}
.nv-hero-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:linear-gradient(135deg,var(--accent,#ff725b),#7c5cff);color:#fff;box-shadow:0 14px 30px -12px var(--accent,#ff725b)}.nv-hero-icon svg{width:26px;height:26px}
.nv-hero-actions{display:flex;flex-wrap:wrap;gap:8px}.nv-hero-actions .button{display:inline-flex;align-items:center;gap:7px}.nv-hero-actions svg{width:16px;height:16px}
.nv-filters{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 0 12px;padding:2px}.nv-filters::-webkit-scrollbar{display:none}
.nv-filters button{flex:none;display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 14px;border:1px solid color-mix(in srgb,var(--ink,#fff) 10%,transparent);border-radius:999px;background:transparent;color:var(--muted,#9a9da4);font:inherit;font-size:13px;font-weight:650;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.nv-filters button svg{width:15px;height:15px}
.nv-filters button:hover{color:var(--ink,#fff)}.nv-filters button[aria-pressed=true]{color:var(--ink,#fff);border-color:color-mix(in srgb,var(--accent,#ff725b) 55%,transparent);background:color-mix(in srgb,var(--accent,#ff725b) 16%,transparent)}
.nv-list{display:grid;gap:2px;padding:8px;border:1px solid color-mix(in srgb,var(--ink,#fff) 8%,transparent);border-radius:20px;background:var(--panel,#1a1c1e)}
.nv-page .nv-link{padding:14px}.nv-page .nv-icon{width:42px;height:42px;border-radius:13px}.nv-page .nv-title{font-size:15px}
.nv-filter-empty{margin:12px 0;text-align:center;color:var(--muted,#9a9da4)}.nv-more{display:flex;margin:14px auto 0}
.nv-prefs{margin-top:18px;border:1px solid color-mix(in srgb,var(--ink,#fff) 8%,transparent);border-radius:20px;background:var(--panel,#1a1c1e)}
.nv-prefs summary{display:flex;align-items:center;gap:12px;padding:16px 18px;cursor:pointer;list-style:none}.nv-prefs summary::-webkit-details-marker{display:none}.nv-prefs summary>svg{width:20px;height:20px;color:var(--accent,#ff725b)}.nv-prefs summary span{display:grid;gap:2px}.nv-prefs summary small{color:var(--muted,#9a9da4);font-size:12.5px}
.nv-pref-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px;padding:0 14px 16px}
.nv-pref{position:relative;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--ink,#fff) 8%,transparent);border-radius:14px;cursor:pointer}.nv-pref .nv-icon{width:32px;height:32px;border-radius:10px}.nv-pref-name{flex:1;font-size:13.5px;font-weight:600}
.nv-pref input{position:absolute;opacity:0;pointer-events:none}.nv-switch{flex:none;position:relative;width:38px;height:22px;border-radius:999px;background:color-mix(in srgb,var(--ink,#fff) 14%,transparent);transition:background .18s}.nv-switch::after{content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .18s}
.nv-pref input:checked~.nv-switch{background:var(--tone);box-shadow:0 0 12px -3px var(--tone)}.nv-pref input:checked~.nv-switch::after{transform:translateX(16px)}.nv-pref input:focus-visible~.nv-switch{outline:2px solid var(--accent,#ff725b);outline-offset:2px}
@media(max-width:560px){.nv-hero{padding:16px}.nv-hero h1{font-size:23px}.nv-hero-actions{width:100%}.nv-hero-actions .button{flex:1;justify-content:center}}
@media (prefers-reduced-motion:reduce){.nv-skel span{animation:none}.nv-item{transition:none}}
/* 18+ перед просмотром (age-gate.js) */
.age-badge{display:inline-grid;min-width:2.4em;font-size:max(11px,.42em)!important;place-items:center;vertical-align:middle;margin-left:10px;padding:3px 8px;border-radius:8px;font-weight:800;letter-spacing:.02em;line-height:1.2;color:#ff5f6d;background:#ff5f6d1f;box-shadow:inset 0 0 0 1px #ff5f6d55}
.age-gate{position:absolute;inset:0;z-index:30;display:grid;place-items:center;padding:16px;background:radial-gradient(circle at 50% 35%,#ff5f6d26,transparent 60%),#07080bf0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);animation:ageGateIn .25s ease both}
.age-gate.is-leaving{animation:ageGateOut .22s ease both}
.age-gate-card{max-width:440px;text-align:center;display:grid;justify-items:center;gap:12px;color:#f3f4f8}
.age-gate-mark{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;font-size:21px;font-weight:800;color:#fff;background:linear-gradient(145deg,#ff5f6d,#d72d4b);box-shadow:0 0 0 6px #ff5f6d26,0 12px 34px -10px #ff5f6d}
.age-gate h2{margin:4px 0 0;font-size:20px;line-height:1.25;letter-spacing:-.3px}
.age-gate p{margin:0;font-size:13.5px;line-height:1.55;color:#c3c6d1}
.age-gate-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:6px}
.age-gate-actions button{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 18px;border-radius:12px;border:0;font:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:transform .15s,filter .15s,background .15s}
.age-gate-actions svg{width:17px;height:17px}
.age-gate-yes{background:#fff;color:#111}
.age-gate-yes:hover{filter:brightness(.92)}
.age-gate-no{background:#ffffff14;color:#f3f4f8;box-shadow:inset 0 0 0 1px #ffffff24}
.age-gate-no:hover{background:#ffffff22}
.age-gate-actions button:active{transform:scale(.97)}
.age-gate-actions button:focus-visible{outline:2px solid #ff5f6d;outline-offset:3px}
.age-gate small{font-size:11.5px;color:#8c90a0}
@media (max-width:520px){.age-gate{padding:10px}.age-gate h2{font-size:15px;margin:0}.age-gate p{display:none}.age-gate-mark{width:44px;height:44px;font-size:15px;box-shadow:0 0 0 4px #ff5f6d26}.age-gate-card{gap:8px}.age-gate-actions{margin-top:2px}.age-gate-actions button{min-height:38px;padding:0 14px;font-size:13px}.age-gate small{display:none}}
@keyframes ageGateIn{from{opacity:0}to{opacity:1}}
@keyframes ageGateOut{to{opacity:0;transform:scale(.98)}}
@media (prefers-reduced-motion:reduce){.age-gate,.age-gate.is-leaving{animation:none}}
/* Полосы прокрутки по всему сайту: тонкие, скруглённые, без стрелок; цвет от текста темы */
html{scrollbar-color:color-mix(in srgb,var(--text,#e9eaef) 24%,transparent) transparent}
*{scrollbar-width:thin}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background:transparent}
::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--text,#e9eaef) 22%,transparent);border-radius:999px;border:3px solid transparent;background-clip:padding-box}
::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb,var(--text,#e9eaef) 38%,transparent);background-clip:padding-box;border:2px solid transparent}
::-webkit-scrollbar-button{display:none;width:0;height:0}
input[type=range]{accent-color:var(--accent,#ff725b)}
/* library.css */
/* На /list каталог не показываем даже до запуска библиотеки — без скачка вёрстки */
html[data-route=list] #catalog,html[data-route=list] #libraryNav,html[data-route=collections] #catalog{display:none!important}
html[data-route=list] .lb-app:not([hidden]){display:block}
/* Библиотека Leyvu */
.lb-app{max-width:1240px;margin:0 auto;padding:28px 0 60px}
.lb-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:22px}
.lb-kicker{margin:0 0 8px;color:var(--muted);font-size:11px;letter-spacing:.12em;font-weight:700}
.lb-head h1{margin:0;font-size:clamp(28px,4vw,40px);line-height:1.1}
.lb-sync{margin:10px 0 0;color:var(--muted);font-size:14px;line-height:1.5}.lb-sync svg{width:16px;height:16px;vertical-align:-3px;margin-right:6px}.lb-sync a{color:var(--accent)}
.lb-tabs{display:flex;gap:6px;padding:6px;border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow-x:auto;scrollbar-width:none}
.lb-tabs button,.lb-tab-link{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-weight:700;font-size:14px;cursor:pointer;text-decoration:none}
.lb-tabs button[aria-selected=true]{color:var(--ink);background:color-mix(in srgb,var(--accent) 18%,var(--bg));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 40%,transparent)}
.lb-tabs button:hover,.lb-tab-link:hover{color:var(--ink)}
.lb-tabs svg{width:17px;height:17px}
.lb-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 14px;scrollbar-width:none}
.lb-chip{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--muted);font:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:border-color .2s,color .2s,background .2s}
.lb-chip small{min-width:22px;padding:1px 7px;border-radius:999px;background:var(--bg);font-size:12px;text-align:center}
.lb-chip[aria-pressed=true]{color:var(--ink);border-color:var(--accent);background:color-mix(in srgb,var(--accent) 14%,var(--panel))}
.lb-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:18px;flex-wrap:wrap}
.lb-search{flex:1 1 260px;display:flex;align-items:center;gap:10px;min-height:46px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.lb-search:focus-within{border-color:var(--accent)}
.lb-search svg{width:18px;height:18px;color:var(--muted);flex:none}
.lb-search input{flex:1;min-width:0;border:0;background:transparent;color:var(--ink);font:inherit;font-size:15px;outline:none}
.lb-select select,.lb-controls select{min-height:46px;padding:0 36px 0 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2397999d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;color:var(--ink);font:inherit;font-size:14px;appearance:none;-webkit-appearance:none;cursor:pointer}
.lb-layout{display:flex;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.lb-layout button{width:46px;height:44px;display:grid;place-items:center;border:0;background:var(--panel);color:var(--muted);cursor:pointer}
.lb-layout button[aria-pressed=true]{background:color-mix(in srgb,var(--accent) 18%,var(--panel));color:var(--ink)}
.lb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px}
.lb-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel);transition:transform .2s,border-color .2s}
.lb-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}
.lb-poster{position:relative;display:block;aspect-ratio:2/3;background:var(--bg)}
.lb-poster img{width:100%;height:100%;object-fit:cover;display:block}
.lb-progress{position:absolute;left:0;right:0;bottom:0;height:4px;background:#0007}.lb-progress i{display:block;height:100%;background:var(--accent)}
.lb-info{display:flex;flex-direction:column;gap:8px;padding:12px;flex:1}
.lb-title{color:var(--ink);font-weight:800;font-size:15px;line-height:1.3;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lb-title:hover{color:var(--accent)}
.lb-meta{margin:0;color:var(--muted);font-size:12px}
.lb-controls{display:grid;grid-template-columns:minmax(0,1fr) 78px;gap:6px}
.lb-controls select{width:100%;min-width:0}
.lb-controls select{min-height:38px;padding:0 28px 0 10px;border-radius:10px;font-size:13px;background-color:var(--bg);background-position:right 8px center}
.lb-status[data-status=watching]{border-color:#73bda466;color:#9fe0c6}.lb-status[data-status=completed]{border-color:#81a9d866;color:#b7d3f3}.lb-status[data-status=paused]{border-color:#e9b85e66;color:#f2d08e}.lb-status[data-status=dropped]{border-color:#e4776b66;color:#f0a59b}
.lb-actions{display:flex;align-items:center;gap:6px;margin-top:auto}
.lb-continue{white-space:nowrap;display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 12px;border-radius:10px;background:var(--accent);color:#1b0b08;font-weight:800;font-size:13px;text-decoration:none;margin-right:auto}
.lb-continue svg{width:15px;height:15px}
.lb-icon{width:38px;height:38px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--muted);cursor:pointer;margin-left:auto}
.lb-icon+.lb-icon{margin-left:0}
.lb-icon:hover{color:var(--ink);border-color:var(--accent)}.lb-icon:disabled{opacity:.35;cursor:default}
.lb-icon svg{width:17px;height:17px}
.lb-grid.is-list{grid-template-columns:1fr;gap:10px}
.lb-grid.is-list .lb-card{flex-direction:row}
.lb-grid.is-list .lb-poster{width:84px;flex:none}
.lb-grid.is-list .lb-info{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px 14px}
.lb-grid.is-list .lb-title{flex:1 1 220px}.lb-grid.is-list .lb-meta{flex:1 1 160px}
.lb-grid.is-list .lb-controls{flex:0 1 280px}.lb-grid.is-list .lb-actions{margin-top:0}
.lb-empty{display:grid;justify-items:center;gap:12px;padding:56px 20px;text-align:center;border:1px dashed var(--line);border-radius:16px;color:var(--muted)}
.lb-empty svg{width:34px;height:34px;color:var(--accent)}.lb-empty h2{margin:0;color:var(--ink);font-size:20px}.lb-empty p{margin:0;max-width:440px;line-height:1.55}
.lb-empty.is-small{padding:32px 16px}
.lb-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.lb-section-head h2{margin:0;font-size:22px}.lb-section-head p{margin:4px 0 0;color:var(--muted);font-size:14px}
.lb-app .button{display:inline-flex;align-items:center;gap:8px;font-size:14px}.lb-app .button>span{font-size:inherit}.lb-app .button svg{width:17px;height:17px}
.lb-collections{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}
.lb-collection{display:flex;flex-direction:column;gap:6px;padding:0 0 14px;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--ink);font:inherit;text-align:left;cursor:pointer;overflow:hidden;transition:transform .2s,border-color .2s}
.lb-collection:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}
.lb-collection strong{padding:6px 14px 0;font-size:16px}.lb-collection>span{padding:0 14px;color:var(--muted);font-size:13px}
.lb-collection p{margin:0;padding:0 14px;color:var(--muted);font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lb-cover{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;aspect-ratio:16/10;background:var(--bg);gap:2px}
.lb-cover img{width:100%;height:100%;object-fit:cover;display:block}
.lb-cover.n1 img{grid-column:1/-1;grid-row:1/-1}.lb-cover.n2 img{grid-row:1/-1}.lb-cover.n3 img:first-child{grid-row:1/-1}
.lb-cover.n0 span{grid-column:1/-1;grid-row:1/-1;display:grid;place-items:center;color:var(--muted)}.lb-cover.n0 svg{width:32px;height:32px}
.lb-detail-head{display:grid;gap:16px;margin-bottom:18px}
.lb-back{justify-self:start;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 10px;border:0;background:none;color:var(--muted);font:inherit;cursor:pointer}.lb-back:hover{color:var(--ink)}
.lb-detail-title{display:flex;gap:18px;align-items:center}
.lb-detail-title .lb-cover{width:200px;flex:none;border-radius:12px;overflow:hidden}
.lb-detail-title h2{margin:0 0 6px;font-size:26px}.lb-detail-title p{margin:0 0 6px;color:var(--muted);line-height:1.55}.lb-detail-title small{color:var(--muted)}
.lb-detail-actions{display:flex;flex-wrap:wrap;gap:8px}
.lb-detail-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.lb-detail-list li{display:flex;align-items:center;gap:12px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.lb-num{width:28px;text-align:center;color:var(--muted);font-weight:800}
.lb-detail-list a{flex:1;display:flex;align-items:center;gap:12px;min-width:0;color:var(--ink);text-decoration:none}
.lb-detail-list img{width:44px;height:64px;object-fit:cover;border-radius:8px;flex:none;background:var(--bg)}
.lb-detail-list a>span{display:grid;min-width:0}.lb-detail-list strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lb-detail-list small{color:var(--muted)}
.lb-order{display:flex;gap:4px}.lb-order .lb-icon{margin:0}
.lb-dialog label{display:grid;gap:6px;margin:12px 0;font-size:13px;font-weight:700}
.lb-dialog input:not([type=checkbox]),.lb-dialog textarea{min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font:inherit;font-size:15px}
.lb-dialog .lb-search input{border:0;min-height:auto;padding:0;background:transparent}
.lb-pick{display:grid;gap:6px;max-height:320px;overflow:auto}
.lb-pick label{display:flex;align-items:center;gap:10px;margin:0;padding:10px 12px;border:1px solid var(--line);border-radius:10px;cursor:pointer;font-weight:600}
.lb-pick input{width:20px;height:20px;accent-color:var(--accent)}.lb-pick span{flex:1}.lb-pick small{color:var(--muted)}
.lb-results{display:grid;gap:6px;max-height:min(420px,55vh);overflow:auto;margin-top:10px}
.lb-results button{display:flex;align-items:center;gap:10px;padding:6px 10px 6px 6px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.lb-results button[aria-selected=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--bg))}
.lb-results img{width:36px;height:52px;object-fit:cover;border-radius:6px;flex:none}.lb-results span{flex:1;display:grid;min-width:0}.lb-results small{color:var(--muted)}
.lb-results svg{width:18px;height:18px;color:var(--accent)}
dialog.lb-dialog{width:min(520px,calc(100vw - 32px))}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:640px){.lb-app{padding:16px 0 90px}.lb-head{align-items:stretch}.lb-tabs{width:100%}.lb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lb-info{padding:10px}.lb-controls{grid-template-columns:1fr}.lb-toolbar .lb-select{flex:1}.lb-select select{width:100%}.lb-detail-title{flex-direction:column;align-items:flex-start}.lb-detail-title .lb-cover{width:100%}.lb-grid.is-list .lb-controls{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.lb-card,.lb-collection,.lb-chip{transition:none}.lb-card:hover,.lb-collection:hover{transform:none}}
.lb-search input{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;min-height:0!important;border-radius:0!important}
@media(max-width:640px){.lb-toolbar .lb-search{flex-basis:100%}.lb-toolbar .lb-select{flex:1 1 auto;min-width:0}.lb-toolbar .lb-select select{width:100%}}
/* catalog-filters.css */
/* Фильтры каталога: панель, всплывающие окна, чипы и шторка на телефоне */
#filters,.advanced-panel,#mobileFilters{display:none!important}
.catalog-layout{grid-template-columns:minmax(0,1fr)!important}
.cf-skeleton{min-height:42px;margin:0 0 18px}
.cf{margin:0 0 18px}
.cf-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cf-pill-wrap{position:relative}
.cf-pill,.cf-toggle,.cf-all{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--ink);font:inherit;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap;transition:border-color .2s,background .2s}
.cf-pill svg,.cf-toggle svg,.cf-all svg{width:16px;height:16px;flex:none;color:var(--muted)}
.cf-pill>span{max-width:180px;overflow:hidden;text-overflow:ellipsis}
.cf-pill svg:last-child{width:14px;height:14px;transition:transform .2s}
.cf-pill[aria-expanded=true] svg:last-child{transform:rotate(180deg)}
.cf-pill:hover,.cf-toggle:hover,.cf-all:hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}
.cf-pill.is-set,.cf-toggle[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 15%,var(--panel))}
.cf-pill.is-set svg,.cf-toggle[aria-pressed=true] svg{color:var(--accent)}
.cf-all{display:none}.cf-all b{min-width:20px;height:20px;display:grid;place-items:center;border-radius:999px;background:var(--accent);color:#1b0b08;font-size:12px}
.cf-pop{position:absolute;top:calc(100% + 8px);left:0;z-index:40;width:min(340px,calc(100vw - 32px));max-height:min(460px,70vh);display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--panel);box-shadow:0 18px 50px #0009;animation:cf-in .16s ease-out}
@keyframes cf-in{from{opacity:0;transform:translateY(-4px)}}
.cf-find{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}
.cf-find svg{width:16px;height:16px;color:var(--muted)}.cf-find input{flex:1;min-width:0;border:0!important;background:transparent!important;color:var(--ink);font:inherit;font-size:14px;outline:none;padding:0!important;box-shadow:none!important}
.cf-note{margin:0;color:var(--muted);font-size:12px;line-height:1.45}
.cf-options{display:grid;gap:2px;overflow:auto;min-height:0}
.cf-options.is-compact{overflow:visible}
.cf-option{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 8px;border-radius:8px;cursor:pointer;font-size:14px}
.cf-option:hover{background:var(--bg)}
.cf-option input{width:18px;height:18px;accent-color:var(--accent);flex:none}
.cf-option span{flex:1}.cf-option small{color:var(--muted);font-size:12px}
.cf-presets{display:flex;flex-wrap:wrap;gap:6px}
.cf-presets button{display:inline-flex;align-items:center;gap:4px;min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:var(--bg);color:var(--ink);font:inherit;font-size:13px;cursor:pointer}
.cf-presets button svg{width:14px;height:14px;color:#ffc857}
.cf-presets button[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 16%,var(--bg))}
.cf-range{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cf-range label{display:grid;gap:4px;font-size:12px;color:var(--muted);font-weight:600}
.cf-range select{min-height:40px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font:inherit}
.cf-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.cf-chip{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 8px 0 12px;border:0;border-radius:999px;background:color-mix(in srgb,var(--accent) 16%,var(--panel));color:var(--ink);font:inherit;font-size:13px;cursor:pointer}
.cf-chip svg{width:14px;height:14px}.cf-chip:hover{background:color-mix(in srgb,var(--accent) 26%,var(--panel))}
.cf-reset{min-height:32px;padding:0 10px;border:0;background:none;color:var(--accent);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
dialog.cf-sheet{position:fixed;inset:auto 0 0 0;width:100%;max-width:none;max-height:88dvh;margin:0;padding:0;border:0;border-radius:18px 18px 0 0;background:var(--panel);color:var(--ink);animation:cf-sheet .22s ease-out}
dialog.cf-sheet::backdrop{background:#000a}
@keyframes cf-sheet{from{transform:translateY(100%)}}
.cf-sheet form{display:flex;flex-direction:column;max-height:88dvh}
.cf-sheet header{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid var(--line)}
.cf-sheet h2{margin:0;font-size:18px}
.cf-x{width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:10px;background:var(--bg);color:var(--ink);cursor:pointer}
.cf-sheet-body{overflow:auto;padding:6px 18px 12px}
.cf-sheet details{border-bottom:1px solid var(--line);padding:4px 0 12px}
.cf-sheet summary{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:48px;font-weight:800;cursor:pointer}
.cf-sheet summary small{color:var(--accent);font-weight:600;font-size:13px;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cf-sheet details>*:not(summary){margin-top:8px}
.cf-sheet .cf-options{max-height:260px}
.cf-sheet-toggles{display:flex;flex-wrap:wrap;gap:8px;padding:14px 0}
.cf-sheet footer{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}
.cf-sheet footer .button{min-height:48px;justify-content:center}
@media(max-width:760px){.cf-bar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.cf-bar::-webkit-scrollbar{display:none}.cf-all{display:inline-flex;order:-1}.cf-pill-wrap,.cf-bar>.cf-toggle{flex:none}.cf-pop{display:none}}
@media(prefers-reduced-motion:reduce){.cf-pop,dialog.cf-sheet{animation:none}.cf-pill svg:last-child{transition:none}}
.cf-find:focus-within{border-color:var(--accent)}.cf-find input:focus-visible,.lb-search input:focus-visible{outline:none}
/* шторка фильтров на телефоне: прокрутка не уходит на страницу под ней */
html.cf-sheet-open,html.cf-sheet-open body{overflow:hidden}
.cf-sheet-body,.cf-sheet .cf-options{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
/* поиск каталога: поле внутри рамки прозрачное (общий стиль полей красил его тёмной полосой), мягкая подсветка по бокам */
html body .page-content .search-field input{background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;height:100%}
html body .page-content .catalog-toolbar .search-field{position:relative;border-radius:14px;transition:border-color .25s,box-shadow .35s,background-color .25s}
html body .page-content .catalog-toolbar .search-field:hover{border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}
html body .page-content .catalog-toolbar .search-field:focus-within{border-color:var(--accent);box-shadow:-18px 0 34px -22px var(--accent),18px 0 34px -22px var(--accent),0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent)}
html body .page-content .catalog-toolbar .search-field:focus-within>span:first-child svg{color:var(--accent)}
html body .page-content .catalog-toolbar .search-key{display:none}
@media(prefers-reduced-motion:reduce){html body .page-content .catalog-toolbar .search-field{transition:none}}
html body .page-content .search-field input:focus,html body .page-content .search-field input:focus-visible{outline:none!important;box-shadow:none!important}
/* analytics.css */
.analytics-consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:90;max-width:560px;margin:0 auto;display:grid;gap:12px;padding:16px;border:1px solid var(--line,rgba(255,255,255,.14));border-radius:14px;background:var(--panel,#16161c);color:var(--ink,#f4f4f6);box-shadow:0 12px 40px rgba(0,0,0,.45)}
.analytics-consent p{margin:0;line-height:1.45}
.analytics-consent a{color:inherit;text-decoration:underline}
.analytics-consent__actions{display:flex;flex-wrap:wrap;gap:8px}
.analytics-consent__actions .button{min-height:44px}
@media(max-width:700px){.analytics-consent{bottom:calc(76px + env(safe-area-inset-bottom,0px))}}
/* mobile-dock.css */
/* Нижняя панель телефона и шторка «Меню» (mobile-dock.js) */
@media(max-width:820px){
 html body .bottom-nav.dock{grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;min-height:66px;padding:8px 6px max(8px,env(safe-area-inset-bottom));background:linear-gradient(180deg,#0c0d11e6,#08090cf7);border-top:1px solid #ffffff12;box-shadow:0 -10px 30px #0006}
 html body .bottom-nav.dock .nav-link,.dock .dock-search,.dock .dock-menu{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;min-width:0;padding:4px 2px 2px;border-radius:12px;color:#9aa0ad;font-size:11px;font-weight:600;text-decoration:none;background:none!important;-webkit-tap-highlight-color:transparent;transition:color .2s}
 html body .bottom-nav.dock .nav-link>svg{width:24px;height:24px}
 html body .bottom-nav.dock .nav-link.active,html body .bottom-nav.dock .nav-link[aria-current=page],.dock .dock-menu.active,.dock .dock-menu[aria-expanded=true]{color:var(--accent,#ff725b);background:none!important}
 html body .bottom-nav.dock .nav-link:active,.dock .dock-menu:active{transform:scale(.94)}
 .dock .dock-search{position:relative;color:#c9ced8}
 .dock-search-orb{display:grid;place-items:center;width:58px;height:58px;margin-top:-30px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ff9a85,var(--accent,#ff725b) 55%,#e2533d);color:#141416;box-shadow:0 8px 24px #ff725b55,0 0 0 5px #0b0c10;transition:transform .2s cubic-bezier(.22,1,.36,1),box-shadow .2s}
 .dock-search-orb svg{width:26px;height:26px;stroke-width:2.1}
 .dock .dock-search:active .dock-search-orb{transform:scale(.92)}
 .dock .dock-menu{position:relative}
 .dock-avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;overflow:hidden;background:#ffffff10;color:#c9ced8}
 .dock-avatar svg{width:22px;height:22px}
 .dock-avatar.is-user{box-shadow:0 0 0 2px #ffffff26}
 .dock-avatar img{width:100%;height:100%;object-fit:cover}
 .dock-avatar b{font-size:13px;color:var(--text,#fff)}
 .dock .dock-menu[aria-expanded=true] .dock-avatar,.dock .dock-menu.active .dock-avatar{box-shadow:0 0 0 2px var(--accent,#ff725b)}
 .dock-badge{position:absolute;top:0;left:calc(50% + 6px);min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--accent,#ff725b);color:#141416;font-size:10.5px;font-weight:800;line-height:18px;text-align:center;box-shadow:0 0 0 2px #0b0c10}
 .dock-badge[hidden]{display:none}
 /* в шапке на телефоне остаются логотип и быстрые кнопки: профиль, уведомления и поиск переехали вниз */
 html body:has(.bottom-nav.dock) .header-actions .avatar,html body:has(.bottom-nav.dock) .header-actions .v2-notice-trigger,html body:has(.bottom-nav.dock) .header-actions #searchToggle{display:none!important}
 html body:has(.bottom-nav.dock){padding-bottom:calc(80px + env(safe-area-inset-bottom))}
 html body:has(.bottom-nav.dock) .back-to-top{bottom:calc(90px + env(safe-area-inset-bottom))}
}
/* шторка меню */
.dock-sheet{position:fixed;inset:auto 0 0 0;width:100%;max-width:560px;max-height:88dvh;margin:0 auto;padding:0;border:0;border-radius:22px 22px 0 0;background:var(--panel,#15161a);color:var(--text,#f4f4f5);display:none;flex-direction:column;overflow:hidden;box-shadow:0 -20px 60px #000a;transition:translate .2s}
.dock-sheet[open]{display:flex;animation:dock-in .28s cubic-bezier(.22,1,.36,1)}
.dock-sheet::backdrop{background:#000000a6;backdrop-filter:blur(4px)}
@keyframes dock-in{from{transform:translateY(60px);opacity:.3}}
.dock-grip{flex:0 0 auto;width:42px;height:5px;margin:10px auto 2px;border-radius:999px;background:#ffffff33}
.dock-sheet-body{overflow:auto;overscroll-behavior:contain;padding:0 0 calc(14px + env(safe-area-inset-bottom))}
.dock-profile{display:flex;align-items:center;gap:14px;padding:16px 18px 14px;background:radial-gradient(120% 140% at 0 0,#ff725b40,transparent 60%),radial-gradient(100% 120% at 100% 0,#7c5cff33,transparent 60%)}
.dock-profile-avatar{display:grid;place-items:center;width:64px;height:64px;flex:0 0 auto;border-radius:50%;overflow:hidden;background:#ffffff14;box-shadow:0 0 0 3px #ffffff22;color:var(--text);font-size:24px;font-weight:700;text-decoration:none}
.dock-profile-avatar img{width:100%;height:100%;object-fit:cover}
.dock-profile-names{min-width:0}
.dock-profile-names strong{display:flex;align-items:center;gap:6px;overflow:hidden;font-size:19px;text-overflow:ellipsis;white-space:nowrap}
.dock-profile-names small{display:block;margin-top:2px;color:var(--muted,#a1a1aa);font-size:13px}
.dock-crown{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#7c5cff;color:#fff}
.dock-crown svg{width:13px;height:13px}
.dock-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0 16px 14px;background:linear-gradient(#ffffff00,#ffffff00)}
.dock-stats div{display:grid;justify-items:center;gap:2px;padding:10px 4px;border-radius:14px;background:#ffffff0a}
.dock-stats b{font-size:19px}
.dock-stats span{display:flex;align-items:center;gap:4px;color:var(--muted,#a1a1aa);font-size:11.5px}
.dock-stats svg{width:13px;height:13px}
.dock-sub{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 16px 8px;padding:12px 14px;border:1px solid #7c5cff66;border-radius:16px;background:linear-gradient(120deg,#7c5cff26,#ff725b14);color:var(--text);text-decoration:none}
.dock-sub strong{display:block;background:linear-gradient(90deg,#ff8ab0,#b79cff);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:16px;font-weight:800}
.dock-sub small{display:block;margin-top:2px;color:var(--muted,#a1a1aa);font-size:12.5px}
.dock-sub-go{display:inline-flex;align-items:center;gap:4px;flex:0 0 auto;padding:8px 12px;border-radius:11px;background:#7c5cff;color:#fff;font-size:13px;font-weight:700}
.dock-sub-go svg{width:15px;height:15px}
.dock-list{display:grid;padding:4px 8px}
.dock-row{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:0 10px;border:0;border-radius:12px;background:none;color:var(--text);font:inherit;font-size:15.5px;text-align:left;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.dock-row:active{background:#ffffff0d}
.dock-row-icon{display:grid;place-items:center;width:24px;flex:0 0 auto;color:#c9ced8}
.dock-row-icon svg{width:21px;height:21px}
.dock-row-label{flex:1;min-width:0}
.dock-row-label small{display:block;margin-top:1px;color:var(--muted,#a1a1aa);font-size:12px}
.dock-row-meta{display:inline-flex;align-items:center;gap:8px;color:var(--muted,#a1a1aa);font-size:13.5px;font-variant-numeric:tabular-nums}
.dock-row-go{color:#ffffff40}
.dock-row-go svg{width:16px;height:16px}
.dock-coins{display:inline-flex;align-items:center;gap:5px;color:#f2b84b;font-weight:700}
.dock-coins svg{width:16px;height:16px}
.dock-dots{display:inline-flex;gap:4px}
.dock-dots i{width:7px;height:7px;border-radius:50%;background:#ffffff26}
.dock-dots i.on{background:#7c5cff}
.dock-pill{min-width:20px;padding:1px 7px;border-radius:999px;background:var(--accent,#ff725b);color:#141416;font-size:12px;font-weight:800;text-align:center}
.dock-claim{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border:0;border-radius:11px;background:linear-gradient(90deg,#7c5cff,#9b7bff);color:#fff;font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;box-shadow:0 6px 18px #7c5cff55}
.dock-claim svg{width:16px;height:16px}
.dock-claim:disabled{opacity:.6}
.dock-logout{margin-top:4px;color:#ff8a7a}
.dock-logout .dock-row-icon{color:#ff8a7a}
.dock-guest{display:grid;justify-items:center;gap:8px;padding:18px 22px 10px;text-align:center}
.dock-guest-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#ffffff10;color:#c9ced8}
.dock-guest-icon svg{width:30px;height:30px}
.dock-guest h2{margin:6px 0 0;font-size:20px}
.dock-guest p{margin:0 0 6px;color:var(--muted,#a1a1aa);font-size:14px;line-height:1.5}
.dock-guest .button{width:100%;justify-content:center}
@media(prefers-reduced-motion:reduce){.dock-sheet[open]{animation:none}.dock-search-orb{transition:none}}
/* всплывающее меню аккаунта у аватара (profile-menu.js), содержимое общее со шторкой */
.v31-profile-menu.acct-pop{position:fixed;inset:auto;z-index:160;display:block;width:min(360px,calc(100vw - 16px));max-height:calc(100dvh - 90px);padding:0;overflow:visible;border:1px solid #ffffff1c;border-radius:22px;background:var(--panel,#15161a);box-shadow:0 24px 70px #000c,0 0 0 1px #00000040;color:var(--text,#f4f4f5)}
.v31-profile-menu.acct-pop[hidden]{display:none}
.v31-profile-menu.acct-pop:not([hidden]){animation:acct-in .22s cubic-bezier(.22,1,.36,1);transform-origin:var(--arrow-x,90%) 0}
@keyframes acct-in{from{opacity:0;transform:translateY(-6px) scale(.97)}}
.acct-pop-arrow{position:absolute;top:-7px;left:calc(var(--arrow-x,90%) - 7px);width:14px;height:14px;border-left:1px solid #ffffff1c;border-top:1px solid #ffffff1c;border-radius:3px 0 0 0;background:var(--panel,#15161a);transform:rotate(45deg)}
.acct-pop-body.dock-sheet-body{max-height:inherit;overflow:auto;overscroll-behavior:contain;border-radius:22px;padding:0 0 8px;scrollbar-width:thin}
.acct-pop .dock-profile{border-radius:22px 22px 0 0}
.acct-pop .dock-profile-avatar{width:56px;height:56px;font-size:22px}
.acct-pop .dock-profile-names strong{font-size:17px}
.acct-pop .dock-stats b{font-size:17px}
.acct-pop .dock-row{min-height:44px;font-size:14.5px}
.acct-pop .dock-row:hover{background:#ffffff0a}
.acct-pop .dock-row:focus-visible{outline:2px solid var(--accent,#ff725b);outline-offset:-2px}
.acct-pop .dock-row-icon svg{width:19px;height:19px}
.dock-sep{height:1px;margin:6px 10px;border:0;background:#ffffff12}
.dock-sub.is-active{border-color:#b79cff88;background:linear-gradient(120deg,#7c5cff33,#ff8ab01f)}
.dock-sub{transition:transform .2s,box-shadow .2s}
.dock-sub:hover{transform:translateY(-1px);box-shadow:0 10px 26px #7c5cff33}
.dock-pill.is-soft{background:#f2b84b24;color:#f6cb72;font-weight:700}
@media(prefers-reduced-motion:reduce){.v31-profile-menu.acct-pop:not([hidden]){animation:none}}
.acct-pop .dock-sub{margin:0 12px 8px;padding:11px 12px}
.dock-sub>span:first-child{min-width:0}
.acct-pop .dock-sub small{font-size:12px}
/* «Наверх» на телефоне — круглая кнопка без подписи: подпись перекрывала карточки и расписание */
@media(max-width:820px){html body .back-to-top{width:46px;height:46px;padding:0;justify-content:center}html body .back-to-top>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
/* Ежедневная награда: подпись и кнопка в одну строку (во всплывашке у аватара кнопка растягивалась на всю ширину и наезжала
   на текст), кнопка светится цветом выбранного оформления */
html body .dock-row.dock-daily{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
html body .dock-daily .dock-row-label{min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.25}
html body .dock-daily .dock-row-label small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .dock-row.dock-daily .dock-claim{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:0;height:36px;margin:0;padding:0 14px;border:0;border-radius:11px;white-space:nowrap;
 background:linear-gradient(120deg,var(--accent,#ff725b),color-mix(in srgb,var(--accent,#ff725b) 62%,#fff));color:#141416;font-size:13.5px;font-weight:800;
 box-shadow:0 0 0 1px color-mix(in srgb,var(--accent,#ff725b) 60%,transparent),0 6px 22px -4px color-mix(in srgb,var(--accent,#ff725b) 75%,transparent);animation:dock-glow 2.6s ease-in-out infinite}
html body .dock-row.dock-daily .dock-claim svg{width:16px;height:16px;flex:none;color:currentColor}
html body .dock-row.dock-daily .dock-claim:hover{filter:brightness(1.07);transform:translateY(-1px)}
@keyframes dock-glow{50%{box-shadow:0 0 0 1px color-mix(in srgb,var(--accent,#ff725b) 80%,transparent),0 8px 30px -2px color-mix(in srgb,var(--accent,#ff725b) 95%,transparent)}}
@media(prefers-reduced-motion:reduce){html body .dock-row.dock-daily .dock-claim{animation:none}}
/* шапка меню — мини-профиль: баннер на всю ширину, круглый аватар с рамкой поверх края баннера, ник и титул */
html body .dock-profile-avatar,html body .dock-profile-avatar img{border-radius:50%!important}
html body .dock-profile.is-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;gap:12px;padding:66px 18px 14px;background:none;overflow:hidden}
html body .acct-pop .dock-profile.is-card{border-radius:22px 22px 0 0}
html body .dock-profile-banner{position:absolute;inset:0 0 auto 0;height:86px;background-size:cover;background-position:center;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}
html body .dock-profile-avatar.is-card{position:relative;z-index:1;width:auto;height:auto;overflow:visible;background:none;box-shadow:none;border-radius:50%}
html body .dock-profile-avatar.is-card .lv-avatar{box-shadow:0 0 0 3px var(--panel,#18191c)}
html body .dock-profile.is-card .dock-profile-names{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding-bottom:2px}
html body .dock-profile.is-card .dock-profile-names small{margin:0}
html body .dock-profile.is-card .lv-title{margin-top:3px;font-size:11.5px}
html body .header-actions .avatar,html body .header-actions .avatar img{border-radius:50%}
html body .dock-profile.is-card .lv-avatar{display:grid;place-items:center;width:var(--size,58px);height:var(--size,58px);border-radius:50%;overflow:visible;background:linear-gradient(135deg,color-mix(in srgb,var(--accent,#ff725b) 55%,#000),#2a2d33);color:#fff;font-size:24px;font-weight:800}
html body .dock-profile.is-card .lv-avatar>img:not(.lv-frame-img){width:100%;height:100%;border-radius:50%;object-fit:cover}
html body .dock-profile-banner[data-art="banner-default"],html body .dock-profile-banner:not([style]){background:radial-gradient(120% 160% at 0 0,color-mix(in srgb,var(--accent,#ff725b) 55%,transparent),transparent 60%),radial-gradient(100% 140% at 100% 0,#7c5cff66,transparent 60%),#1c1e22}
/* карточка Plus в меню не вылезает за край: текст переносится, кнопка не сжимается */
html body .dock-sub{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;box-sizing:border-box;max-width:calc(100% - 24px)}
html body .dock-sub>span:first-child{min-width:0}
html body .dock-sub .dock-sub-go{white-space:nowrap}
html body .dock-row.dock-daily{box-sizing:border-box;max-width:100%;overflow:visible}
html body .dock-row.dock-daily .dock-claim{padding:0 12px;font-size:13px}
html body .acct-pop .dock-row.dock-daily{margin-right:4px}
/* calendar-v2.css */
/* Календарь выхода серий v2 (growth.js calendarRender) */
#growthPage .cal2-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:28px 0 22px}
.cal2-eyebrow{margin:0 0 6px;color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.cal2-head h1{margin:0;font-size:clamp(28px,4vw,42px);line-height:1.1;letter-spacing:-.02em}
.cal2-lead{margin:10px 0 0;max-width:640px;color:var(--muted);font-size:15px;line-height:1.5}
.cal2-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.cal2-period{display:flex;align-items:center;gap:8px}
.cal2-period strong{min-width:150px;text-align:center;font-size:15px}
.cal2-arrow{display:inline-grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:transparent;color:var(--text);font-size:20px;line-height:1;cursor:pointer;transition:background .18s,border-color .18s}
.cal2-arrow:hover{background:#ffffff0d;border-color:#ffffff33}
.cal2-today{height:40px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:transparent;color:var(--text);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.cal2-switches{display:flex;gap:8px;flex-wrap:wrap}
.cal2-switches .segmented{display:inline-flex;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.cal2-switches .segmented button{height:34px;padding:0 14px;border:0;border-radius:9px;background:transparent;color:var(--muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .18s,color .18s}
.cal2-switches .segmented button[aria-pressed=true]{background:var(--accent);color:#141416}
.cal2-switches .segmented small{margin-left:4px;font-size:11px;opacity:.8}
/* полоса дней */
.cal2-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:0 0 18px}
.cal2-weekday{padding:0 0 2px;color:var(--muted);font-size:12px;text-align:center}
.cal2-day{position:relative;display:grid;justify-items:center;gap:2px;min-height:86px;padding:10px 4px;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--text);font:inherit;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}
.cal2-day:hover{border-color:#ffffff33;transform:translateY(-1px)}
.cal2-dw{color:var(--muted);font-size:12px}
.cal2-day b{font-size:22px;line-height:1.2}
.cal2-day small{color:var(--muted);font-size:11.5px;white-space:nowrap}
.cal2-day.is-empty small{opacity:.6}
.cal2-day.is-today .cal2-dw,.cal2-day.is-today b{color:var(--accent)}
.cal2-day.is-picked{border-color:var(--accent);background:color-mix(in srgb,var(--panel) 88%,var(--accent))}
.cal2-day.is-other{opacity:.45}
.cal2-marks{position:absolute;top:8px;right:8px;display:flex;gap:3px}
.cal2-marks em{width:6px;height:6px;border-radius:50%}
.cal2-marks .mine{background:var(--accent)}
.cal2-marks .plan{background:#6fa8ff}
.cal2-days.month .cal2-day{min-height:62px;padding:8px 2px}
.cal2-days.month .cal2-day b{font-size:16px}
/* день */
.cal2-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}
.cal2-day-panel,.cal2-plans{padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
.cal2-day-head,.cal2-side-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px}
.cal2-day-head h2,.cal2-side-head h2{margin:0;font-size:20px}
.cal2-day-head h2::first-letter{text-transform:uppercase}
.cal2-day-head h2 span{margin-left:10px;color:var(--muted);font-size:14px;font-weight:500;text-transform:none}
.cal2-day-head small,.cal2-side-head small{color:var(--muted);font-size:13px}
.cal2-list{display:grid;gap:4px}
.cal2-item{display:grid;grid-template-columns:52px 48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px;border-radius:12px;transition:background .18s}
.cal2-item:hover{background:#ffffff08}
.cal2-time{color:var(--text);font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.cal2-item.is-out .cal2-time{color:var(--muted);font-weight:600}
.cal2-poster{display:block;width:48px;height:68px;padding:0;border:0;border-radius:8px;overflow:hidden;background:#ffffff0a;cursor:pointer}
.cal2-poster img{display:block;width:100%;height:100%;object-fit:cover}
.cal2-info{min-width:0}
.cal2-title{display:-webkit-box;max-width:100%;padding:0;border:0;background:none;color:var(--text);font:inherit;font-size:15px;font-weight:600;line-height:1.3;text-align:left;cursor:pointer;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cal2-title:hover{color:var(--accent)}
.cal2-info p{display:flex;flex-wrap:wrap;gap:6px 10px;margin:5px 0 0;color:var(--muted);font-size:12.5px}
.cal2-ep{color:var(--text);font-weight:600}
.cal2-status{color:#73bda4}
.cal2-status:not(.is-out){color:#f2b84b}
.cal2-mine{color:var(--accent)}
.cal2-follow{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.cal2-follow svg{width:16px;height:16px}
.cal2-follow:hover{color:var(--text);border-color:#ffffff33}
.cal2-follow[aria-pressed=true]{border-color:transparent;background:#ff725b22;color:var(--accent)}
.cal2-now{display:flex;align-items:center;gap:10px;margin:6px 0;color:var(--accent);font-size:12px;font-weight:700}
.cal2-now:before,.cal2-now:after{content:'';flex:1;height:1px;background:var(--accent);opacity:.5}
.cal2-now span{flex:0 0 auto}
.cal2-empty{display:grid;justify-items:center;gap:6px;padding:34px 16px;text-align:center}
.cal2-empty b{font-size:16px}
.cal2-empty p{margin:0 0 8px;color:var(--muted);font-size:14px}
.cal2-skeleton{display:grid;gap:10px}
.cal2-skeleton i{height:76px;border-radius:12px;background:linear-gradient(90deg,#ffffff08,#ffffff12,#ffffff08) 0 0/200% 100%;animation:cal2-shimmer 1.2s linear infinite}
@keyframes cal2-shimmer{to{background-position:-200% 0}}
.cal2-note,.cal2-muted{margin:14px 0 0;color:var(--muted);font-size:12.5px;line-height:1.5}
.cal2-side{display:grid;gap:10px;position:sticky;top:88px}
.cal2-plans details summary{margin-top:12px;cursor:pointer;color:var(--accent);font-weight:600}
.cal2-zone a{color:var(--accent)}
#growthPage .v3-calendar-notices{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:var(--panel);font-size:13px}
#growthPage .v3-calendar-notices[hidden]{display:none}
#growthPage .v3-calendar-notices .v3-status:empty{display:none}
@media(max-width:980px){.cal2-layout{grid-template-columns:minmax(0,1fr)}.cal2-side{position:static}}
@media(max-width:600px){
 .cal2-toolbar{align-items:stretch}
 .cal2-period{width:100%;justify-content:space-between}.cal2-period strong{min-width:0;flex:1;font-size:14px}
 .cal2-scope .cal2-long{display:none}
 .cal2-switches{width:100%}.cal2-switches .segmented{flex:1}.cal2-switches .segmented button{flex:1;padding:0 8px}
 .cal2-days:not(.month){display:flex;overflow-x:auto;gap:8px;margin-inline:-16px;padding:2px 16px 4px;scroll-snap-type:x mandatory;scrollbar-width:none}
 .cal2-days:not(.month)::-webkit-scrollbar{display:none}
 .cal2-days:not(.month) .cal2-day{flex:0 0 74px;scroll-snap-align:start}
 .cal2-days.month{gap:4px}.cal2-days.month .cal2-day small{font-size:10px}
 .cal2-day-panel,.cal2-plans{padding:14px;border-radius:16px}
 .cal2-item{grid-template-columns:44px 42px minmax(0,1fr);gap:10px;padding:8px 4px}
 .cal2-poster{width:42px;height:60px}
 .cal2-follow{grid-column:3;justify-self:start;height:32px}
 .cal2-follow span{display:inline}
}
@media(prefers-reduced-motion:reduce){.cal2-skeleton i{animation:none}.cal2-day{transition:none}}
/* home-motion.css */
/* Плавность главной (home-motion.js). Только transform/opacity/mask — без сдвигов вёрстки. */
@property --fade-l{syntax:'<length>';inherits:false;initial-value:0px}
@property --fade-r{syntax:'<length>';inherits:false;initial-value:0px}
/* ленты: мягкие края там, где есть продолжение */
.spotlight-poster-strip,.poster-strip{--fade-l:44px;--fade-r:44px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 var(--fade-l),#000 calc(100% - var(--fade-r)),transparent);mask-image:linear-gradient(90deg,transparent,#000 var(--fade-l),#000 calc(100% - var(--fade-r)),transparent);transition:--fade-l .3s ease,--fade-r .3s ease;scroll-behavior:smooth}
.spotlight-poster-strip.rail-start,.poster-strip.rail-start{--fade-l:0px}
.spotlight-poster-strip.rail-end,.poster-strip.rail-end,.rail-static{--fade-r:0px}
.spotlight-poster-strip:not(.rail-start):not(.rail-end):not(.rail-static),.poster-strip:not(.rail-start):not(.rail-end):not(.rail-static){scroll-snap-type:x proximity}
[data-scroll][disabled]{opacity:.35;cursor:default;pointer-events:none;transition:opacity .2s}
[data-scroll]{transition:opacity .2s,transform .2s,background .2s,border-color .2s}
[data-scroll]:not([disabled]):active{transform:scale(.92)}
@media(hover:hover) and (pointer:fine){
 .hero-preview{overflow:hidden}
 .hero-preview img{transition:scale .7s cubic-bezier(.22,1,.36,1)}
 .hero-preview:hover img,.hero-preview:focus-visible img{scale:1.07}
 .home-quick-link svg{transition:translate .25s cubic-bezier(.22,1,.36,1)}
 .home-quick-link:hover svg{translate:0 -2px}
}
.home-quick-link{transition:background .2s,border-color .2s,color .2s,transform .2s}
.home-quick-link:active{transform:scale(.96)}
/* hero: фон чуть следует за мышью (переменные --hx/--hy от home-motion.js) */
.hero-cinematic .hero-art:not(.hero-art-previous){translate:calc(var(--hx,0)*-14px) calc(var(--hy,0)*-8px);transition:opacity .3s,translate .9s cubic-bezier(.22,1,.36,1)}
.hero-cinematic .spotlight-previews{translate:calc(var(--hx,0)*5px) calc(var(--hy,0)*3px);transition:translate .9s cubic-bezier(.22,1,.36,1)}
/* расписание: строки мягко подсвечиваются */
.home-schedule li,.schedule-item{transition:background .2s}
@media(prefers-reduced-motion:reduce){
 .spotlight-poster-strip,.poster-strip{scroll-behavior:auto;transition:none}
 .hero-preview img,.home-quick-link svg,.hero-cinematic .spotlight-previews{transition:none!important;scale:none!important;translate:none!important}
 .hero-cinematic .hero-art{scale:none!important;translate:none!important}
}
/* player-v2.css */
/* Панель плеера v2: одна строка управления над видео, серии сеткой с диапазонами, поиск озвучек,
   на телефоне озвучки свёрнуты под видео. Поверх cinema.css, логика — player-experience.js. */
.cinema-player .cinema-top{gap:12px;padding:12px 14px 12px 20px}
.cinema-now{display:flex;align-items:baseline;gap:10px;min-width:0}
.cinema-now .cinema-current{overflow:hidden;font-size:15px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.cinema-voice-now{overflow:hidden;color:var(--muted);font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.cinema-voice-now:not(:empty):before{content:'·';margin-right:8px}
.cinema-top-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.cinema-step{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;min-width:38px;padding:0 10px;border:1px solid var(--line);border-radius:11px;background:transparent;color:var(--text);font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:background .18s,border-color .18s,transform .18s,opacity .18s}
.cinema-step svg{width:16px;height:16px;flex:0 0 auto}
.cinema-step:hover:not(:disabled){border-color:#ff725b80;background:#ff725b14}
.cinema-step:active:not(:disabled){transform:scale(.96)}
.cinema-step:disabled{opacity:.38;cursor:default}
#cinemaNext{padding:0 12px 0 14px;border-color:#ff725b66;background:#ff725b1a}
.cinema-screen-label{display:none!important}
/* боковая панель: прокрутка внутри, высота — по видео */
@media(min-width:761px){
 /* contain:size: панель не растягивает строку, а занимает высоту видео; лишнее прокручивается внутри */
 .cinema-player .cinema-layout{grid-template-rows:auto auto}
 .cinema-player .cinema-sidebar{grid-column:2;grid-row:1;contain:size;align-self:stretch;min-height:0;max-height:none;overflow:hidden}
 .cinema-player .cinema-bottom{grid-column:1/-1;grid-row:2;border-top:1px solid var(--line)}
 .cinema-side-body{display:flex;flex-direction:column;min-height:0;flex:1}
 #cinemaVoices:not([hidden]),#cinemaSources:not([hidden]){min-height:0;flex:1;overflow:auto;scrollbar-width:thin;scrollbar-color:#ff725b55 transparent;margin-right:-8px;padding-right:8px}
 .cinema-side-toggle{display:none!important}
}
.cinema-search{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:8px;margin:10px 0 6px;padding:0 10px;height:38px;border:1px solid var(--line);border-radius:10px;background:var(--panel,#16161a);color:var(--muted)}
.cinema-search[hidden]{display:none}
.cinema-search svg{width:15px;height:15px;flex:0 0 auto}
.cinema-search input{flex:1;min-width:0;height:100%;margin:0;padding:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none!important;color:var(--text);font:inherit;font-size:13px;outline:none}
.cinema-search:focus-within{border-color:#ff725b88}
.cinema-player .cinema-voice{min-height:40px;transition:background .16s,border-color .16s,transform .16s}
.cinema-player .cinema-voice:active{transform:scale(.985)}
.cinema-player .cinema-voice[hidden],.cinema-voice-group[hidden]{display:none}
/* серии */
#cinemaEmbeddedEpisodes{padding:16px 20px 18px}
.cinema-episode-caption{flex-wrap:wrap;row-gap:8px}
.cinema-episode-caption strong{font-size:14px}
.cinema-episode-caption span{font-size:12px}
.cinema-ranges{display:flex;gap:6px;margin-left:auto;overflow-x:auto;scrollbar-width:none}
.cinema-ranges[hidden]{display:none}
.cinema-ranges::-webkit-scrollbar{display:none}
.cinema-ranges button{flex:0 0 auto;height:30px;padding:0 10px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--muted);font:inherit;font-size:12px;cursor:pointer;transition:background .16s,color .16s,border-color .16s}
.cinema-ranges button[aria-pressed=true]{border-color:transparent;background:#ff725b22;color:var(--text);font-weight:600}
.cinema-player #cinemaEmbeddedRail.stream-episode-rail,.cinema-player .stream-episode-rail{display:grid;grid-template-columns:repeat(auto-fill,minmax(46px,1fr));gap:8px;max-height:none;overflow:visible;padding:2px 0 0}
.cinema-player .stream-episode-rail button{min-width:0;width:100%;height:40px;border-radius:10px;font-size:13px;font-variant-numeric:tabular-nums}
.cinema-player .stream-episode-rail button[aria-pressed=true]{animation:cinema-pick .28s cubic-bezier(.2,.8,.2,1)}
@keyframes cinema-pick{from{transform:scale(.9)}}
/* телефон: видео → серии → свёрнутые озвучки */
@media(max-width:760px){
 .cinema-player .cinema-top{padding:10px 10px 10px 14px}
 .cinema-now{flex-direction:column;align-items:flex-start;gap:2px}
 .cinema-now .cinema-dot{display:none}
 .cinema-voice-now:not(:empty):before{display:none}
 .cinema-voice-now{font-size:12px}
 #cinemaNext span{display:none}
 #cinemaNext{padding:0 10px}
 .cinema-mode span{display:none}
 .cinema-player .cinema-sidebar{order:2;padding:0;border-top:0}
 .cinema-player .cinema-bottom{order:3;border-top:1px solid var(--line)}
 .cinema-side-toggle{display:flex;align-items:center;gap:8px;width:100%;min-height:52px;padding:0 14px;border:0;border-top:1px solid var(--line);background:transparent;color:var(--text);font:inherit;font-size:14px;font-weight:600;text-align:left;cursor:pointer}
 .cinema-side-toggle b{flex:1;overflow:hidden;color:var(--muted);font-weight:500;text-overflow:ellipsis;white-space:nowrap;text-align:right}
 .cinema-side-toggle svg{width:18px;height:18px;flex:0 0 auto;transition:transform .2s}
 .cinema-player .cinema-side-body{display:none}
 .cinema-side-toggle{border:1px solid var(--line)!important;border-radius:12px;width:calc(100% - 28px);margin:12px 14px;min-height:50px;background:#ffffff08}
 .cinema-side-toggle b{color:var(--text);font-weight:600}
 .cinema-side-toggle svg{transform:rotate(-90deg)}
 #cinemaEmbeddedEpisodes{padding:14px}
 .cinema-player .stream-episode-rail{grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:7px}
}
@keyframes cinema-open{from{opacity:0;transform:translateY(-4px)}}
@media(prefers-reduced-motion:reduce){.cinema-player .stream-episode-rail button[aria-pressed=true],.cinema-player.cinema-side-open .cinema-side-body{animation:none}}
/* Anime4K — компактный блок внизу панели: заголовок, переключатель и одна строка подсказки */
.cinema-player .anime4k-panel{flex:0 0 auto;margin-top:8px;padding-top:12px}
.cinema-player .anime4k-panel>small{display:none}
.cinema-player .anime4k-panel .upscale-heading strong{font-size:13px}
.cinema-player .anime4k-panel p{margin:6px 0 0;font-size:11.5px;line-height:1.4}
.cinema-player .anime4k-panel #anime4kSource{justify-content:flex-start;margin-top:6px;padding:0;font-size:12.5px;text-align:left}
/* шторка выбора озвучки на телефоне */
.cinema-sheet{position:fixed;inset:auto 0 0 0;width:100%;max-width:none;max-height:82dvh;margin:0;padding:0;border:0;border-radius:18px 18px 0 0;background:var(--panel,#16161a);color:var(--text);display:none;flex-direction:column;overflow:hidden}
.cinema-sheet[open]{display:flex;animation:cinema-sheet-in .24s cubic-bezier(.22,1,.36,1)}
.cinema-sheet::backdrop{background:#000a;backdrop-filter:blur(3px)}
@keyframes cinema-sheet-in{from{transform:translateY(40px);opacity:.4}}
.cinema-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 14px 10px 18px;border-bottom:1px solid var(--line)}
.cinema-sheet-head strong{font-size:16px}
.cinema-sheet-body{overflow:auto;padding:4px 16px calc(16px + env(safe-area-inset-bottom));overscroll-behavior:contain}
.cinema-sheet .cinema-side-body{display:block!important}
.cinema-sheet #cinemaVoices:not([hidden]),.cinema-sheet #cinemaSources:not([hidden]){max-height:none;overflow:visible}
.cinema-sheet .cinema-voice{min-height:48px}
.cinema-sheet #cinemaVoiceList,.cinema-sheet #cinemaSourceList{max-height:none!important;overflow:visible!important}
@media(prefers-reduced-motion:reduce){.cinema-sheet[open]{animation:none}}
/* Выбор серии одной строкой: «Серия №», лента номеров со стрелками, «В просмотренное», колокольчик */
.ep-bar{display:flex;align-items:center;gap:10px;min-width:0;padding:8px 8px 8px 14px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(180deg,#ffffff08,#ffffff03)}
.ep-bar[hidden]{display:none}
.ep-jump{flex:0 0 auto;margin:0}
.ep-jump label{display:flex;align-items:center;gap:10px;margin:0;color:var(--muted);font-size:13px;font-weight:600;white-space:nowrap}
.ep-jump label span{border-bottom:1px dashed #ffffff40;padding-bottom:1px}
.ep-jump input{width:64px;height:38px;margin:0;padding:0 8px!important;border:1px solid transparent!important;border-radius:12px;background:#ffffff12!important;color:var(--text);font:inherit;font-size:15px;font-weight:700;text-align:center;font-variant-numeric:tabular-nums;box-shadow:none!important;outline:none;transition:background .18s,border-color .18s,width .25s cubic-bezier(.22,1,.36,1)}
.ep-jump input::placeholder{color:#ffffff55}
.ep-jump input:focus{width:78px;border-color:#ff725b88!important;background:#ff725b14!important}
.ep-track{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding-left:12px;border-left:1px solid var(--line)}
.ep-track-label{flex:0 0 auto;color:var(--muted);font-size:13px;font-weight:600}
.ep-viewport{flex:1;min-width:0;position:relative;overflow:hidden}
.ep-viewport:before,.ep-viewport:after{content:'';position:absolute;top:0;bottom:0;z-index:1;width:28px;pointer-events:none;transition:opacity .2s}
.ep-viewport:before{left:0;background:linear-gradient(90deg,var(--panel,#16161a),transparent)}
.ep-viewport:after{right:0;background:linear-gradient(270deg,var(--panel,#16161a),transparent)}
.ep-bar:has([data-ep-step="-1"]:disabled) .ep-viewport:before,.ep-bar:has([data-ep-step="1"]:disabled) .ep-viewport:after{opacity:0}
html body .cinema-player .ep-bar .ep-rail,html body .ep-bar .ep-rail{display:flex!important;flex-wrap:nowrap!important;gap:4px;width:100%;max-height:none;margin:0;padding:2px 0!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;scrollbar-width:none;overscroll-behavior-x:contain}
.ep-bar .ep-rail::-webkit-scrollbar{display:none}
html body .ep-bar .ep-rail button{position:relative;flex:0 0 auto;width:auto!important;min-width:46px;height:40px;padding:0 12px;border:0!important;border-radius:12px;background:transparent!important;color:#c9ced8;font:inherit;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;scroll-snap-align:center;cursor:pointer;box-shadow:none!important;transition:background .18s,color .18s,transform .18s}
html body .ep-bar .ep-rail button:hover{background:#ffffff0f!important;color:var(--text)}
html body .ep-bar .ep-rail button[aria-pressed=true]{background:var(--accent,#ff725b)!important;color:#141416;font-weight:800;box-shadow:0 6px 18px #ff725b40!important;animation:cinema-pick .28s cubic-bezier(.2,.8,.2,1)}
html body .ep-bar .ep-rail button.is-watched:not([aria-pressed=true]){color:#8a8f9b}
html body .ep-bar .ep-rail button.is-watched:after{content:'';position:absolute;left:50%;top:auto;right:auto;bottom:4px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:#5fe08f}
html body .ep-bar .ep-rail button[aria-pressed=true].is-watched:after{background:#141416}
html body .ep-bar .ep-rail button[hidden]{display:none}
.ep-arrows{display:flex;gap:2px;flex:0 0 auto;padding-left:6px;border-left:1px solid var(--line)}
.ep-arrow,.ep-bell{display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:11px;background:transparent;color:var(--text);cursor:pointer;transition:background .18s,opacity .18s,transform .18s}
.ep-arrow svg,.ep-bell svg,.ep-mark svg{width:20px;height:20px}
.ep-arrow:hover:not(:disabled),.ep-bell:hover{background:#ffffff12}
.ep-arrow:active:not(:disabled),.ep-bell:active,.ep-mark:active{transform:scale(.94)}
.ep-arrow:disabled{opacity:.3;cursor:default}
.ep-bar.is-short .ep-arrows{display:none}
.ep-mark{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;height:40px;padding:0 14px;border:0;border-radius:12px;background:transparent;color:var(--text);font:inherit;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer;transition:background .18s,color .18s}
.ep-mark:hover:not(:disabled){background:#ffffff0f}
.ep-mark[aria-pressed=true]{color:#8fe8b0;background:#5fe08f14}
.ep-mark:disabled{opacity:.4}
.ep-bell{flex:0 0 auto;width:44px;height:44px;border:1px solid var(--line);border-radius:13px;background:#ffffff08}
.ep-bell[hidden]{display:none}
.ep-bell[aria-pressed=true]{border-color:#ff725b66;background:#ff725b1f;color:var(--accent,#ff725b)}
.ep-bell[aria-pressed=true] svg{fill:currentColor}
/* старые элементы, которые заменила строка: подпись, диапазоны, поиск AniLiberty */
#cinemaEmbeddedEpisodes:has(.ep-bar) .cinema-episode-caption,#cinemaEmbeddedEpisodes:has(.ep-bar) .cinema-ranges{display:none!important}
.stream-episodes:has(.ep-bar)>label,#streamControls:has(.ep-bar) #streamWatched{display:none!important}
#cinemaEmbeddedEpisodes:has(.ep-bar){padding:14px 16px}
@media(max-width:760px){
 .ep-bar{flex-wrap:wrap;gap:8px;padding:8px}
 .ep-track{order:-1;flex:1 1 100%;padding-left:0;border-left:0}
 .ep-track-label{display:none}
 .ep-jump label span{display:none}
 .ep-jump input{width:72px}
 .ep-arrows{display:none}
 .ep-mark{flex:1;justify-content:center;background:#ffffff08}
 .ep-viewport:before,.ep-viewport:after{width:18px}
}
@media(prefers-reduced-motion:reduce){html body .ep-bar .ep-rail button[aria-pressed=true]{animation:none}}
/* title-head.css */
/* Шапка страницы аниме: оригинальное название, заголовок, одна строка фактов (статус, год, формат, серии, студия),
   жанры, слоган и описание, кнопки действий в один ряд. Подробности без повторов — в разделе «Сюжет». */
#watchDialog .title-summary{display:flex;flex-direction:column;align-items:stretch;min-width:0}
#watchDialog .title-summary>#watchOriginal{margin:0 0 8px;color:var(--muted,#a1a1aa);font-size:13px;font-weight:600;letter-spacing:.01em;text-transform:none;line-height:1.4}
#watchDialog .title-summary>#watchOriginal:empty{display:none}
#watchDialog .title-summary .watch-title-row h2,#watchDialog .title-summary .watch-title-row h1{margin:0;letter-spacing:-.02em;line-height:1.06;text-wrap:balance}
#watchDialog .title-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px 0;margin:14px 0 0;padding:0;border:0;background:none}
#watchDialog .title-chips[hidden]{display:none}
#watchDialog .title-chips>span{display:inline-flex;align-items:center;min-height:0;height:auto;padding:0;border:0;border-radius:0;background:none;color:#d7dae1;font-size:14.5px;font-weight:600;line-height:1.3;white-space:nowrap}
#watchDialog .title-chips>span+span:before{content:'';flex:0 0 auto;width:4px;height:4px;margin:0 11px;border-radius:50%;background:#ffffff3d}
#watchDialog .title-chips>.status{padding:5px 11px 5px 9px;border-radius:999px;background:#ffffff0f;box-shadow:inset 0 0 0 1px #ffffff14;margin-right:3px}
#watchDialog .title-chips>.status:before{content:'';width:7px;height:7px;margin:0 7px 0 0;border-radius:50%;background:currentColor}
#watchDialog .title-chips>.status+span:before{display:none}
#watchDialog .title-chips>.status+span{margin-left:8px}
#watchDialog .title-chips>.status.is-on{color:#5fe08f;background:#5fe08f14;box-shadow:inset 0 0 0 1px #5fe08f33}
#watchDialog .title-chips>.status.is-on:before{animation:title-live 2.4s ease-in-out infinite}
#watchDialog .title-chips>.status.is-soon{color:#f2c05b;background:#f2c05b14;box-shadow:inset 0 0 0 1px #f2c05b33}
#watchDialog .title-chips>.status.is-done{color:#c9ced8}
#watchDialog .title-chips>.studio{color:var(--muted,#a1a1aa)}
@keyframes title-live{50%{box-shadow:0 0 0 5px #5fe08f00;opacity:.55}0%{box-shadow:0 0 0 0 #5fe08f66}}
#watchDialog .title-summary>#titleTags{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 0}
#watchDialog .title-summary>#titleTags span{height:28px;padding:0 11px;border:0;border-radius:8px;background:#ffffff0d;color:#c4c8d1;font-size:12.5px;font-weight:600;line-height:28px}
#watchDialog .title-summary>#titleTagline{margin:20px 0 6px;padding:0;color:var(--text,#f4f4f5);font-size:16.5px;font-weight:700;line-height:1.35;letter-spacing:0;text-transform:none}
#watchDialog .title-summary>#titleTagline:empty{display:none}
#watchDialog .title-summary>#watchDescription{max-width:72ch;margin:0;color:#b9bdc7;font-size:15px;line-height:1.6}
#watchDialog .title-summary>#titleTagline+#watchDescription{margin-top:0}
#watchDialog .title-summary>.title-more{align-self:flex-start}
/* действия: «Смотреть», «Следить», «В календарь», «Поделиться» */
#watchDialog .title-cta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0 0}
#watchDialog .title-cta[hidden]{display:none}
#watchDialog .title-cta>#followActions{display:contents}
#watchDialog .title-cta>#followActions[hidden]{display:none}
#watchDialog .title-cta .follow-actions .button,#watchDialog .title-cta>#shareTitle{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;height:48px;min-height:48px;margin:0;padding:0 18px;border:1px solid #ffffff1f;border-radius:14px;background:#ffffff0d;color:var(--text,#f4f4f5);font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background .18s,border-color .18s,transform .18s;box-sizing:border-box}
#watchDialog .title-cta .follow-actions .button[hidden]{display:none}
#watchDialog .title-cta .button>span{font:inherit;line-height:inherit}
#watchDialog .title-cta .button svg{width:18px;height:18px;flex:0 0 auto}
#watchDialog .title-cta .follow-actions .button:hover,#watchDialog .title-cta>#shareTitle:hover{background:#ffffff17;border-color:#ffffff33}
#watchDialog .title-cta .follow-actions .button:active,#watchDialog .title-cta>#shareTitle:active{transform:scale(.97)}
#watchDialog .title-cta .follow-actions .button[aria-pressed=true]{border-color:#5fe08f55;background:#5fe08f14;color:#9ff0bd}
#watchDialog .title-cta>#shareTitle{width:48px;padding:0}
#watchDialog .title-cta>#shareTitle svg{width:19px;height:19px}
#watchDialog .title-cta .title-watch-button{height:48px;min-height:48px;border-radius:14px}
/* личный статус и подборки — спокойной строкой под чертой */
#watchDialog .title-summary>.title-bottom-controls{margin-top:22px;padding-top:18px;border-top:1px solid #ffffff12}
/* Подробности рядом с сюжетом */
#watchDialog #titleStory{position:relative;margin-top:28px}
#watchDialog #titleFacts.title-facts{display:block;margin:22px 0 0;padding:0;border:0;background:none;box-shadow:none}
#watchDialog #titleFacts[hidden]{display:none}
#watchDialog #titleFacts h3{margin:0 0 10px;color:var(--muted,#a1a1aa);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
#watchDialog #titleFacts dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;margin:0}
#watchDialog #titleFacts dl>div{min-width:0;padding:12px 14px;border:1px solid #ffffff0f;border-radius:14px;background:#ffffff08}
#watchDialog #titleFacts dt{margin:0 0 3px;color:var(--muted,#a1a1aa);font-size:12px}
#watchDialog #titleFacts dd{margin:0;color:var(--text,#f4f4f5);font-size:14.5px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:760px){
 /* телефон: постер и заголовок рядом, всё остальное — на всю ширину карточки */
 #watchDialog .title-hero:not(.custom-title){grid-template-columns:96px minmax(0,1fr);column-gap:16px;row-gap:0;align-items:start}
 #watchDialog .title-hero:not(.custom-title)>#watchPoster{grid-column:1;grid-row:1/span 3;width:96px;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:12px}
 #watchDialog .title-hero:not(.custom-title)>.title-summary{display:contents}
 #watchDialog .title-hero:not(.custom-title) .title-summary>*{grid-column:1/-1;position:relative;z-index:1}
 #watchDialog .title-hero:not(.custom-title) .title-summary>:is(#watchOriginal,.watch-title-row,.title-chips){grid-column:2}
 #watchDialog .title-hero:not(.custom-title) .title-summary>#watchOriginal{grid-row:1;align-self:end}
 #watchDialog .title-hero:not(.custom-title) .title-summary>.watch-title-row{grid-row:2}
 #watchDialog .title-hero:not(.custom-title) .title-summary>.title-chips{grid-row:3;align-self:start;margin-top:10px}
 #watchDialog .title-hero:not(.custom-title) .title-summary>#titleTags{margin-top:16px}
 #watchDialog .title-hero:not(.custom-title) .title-summary>.title-bottom-controls,#watchDialog .title-hero:not(.custom-title) .title-bottom-controls .personal-controls{width:auto;margin-left:0}
 #watchDialog .title-hero:not(.custom-title) .title-summary>.title-source-rating+#watchDescription{margin-top:14px}
 #watchDialog .title-hero:not(.custom-title) .title-summary>.title-source-rating{display:flex;flex-wrap:nowrap;align-items:stretch;gap:8px;margin:16px 0 0}
 #watchDialog .title-hero:not(.custom-title) .title-summary>.title-source-rating>*{flex:1 1 0;min-width:0;margin:0}
 #watchDialog .title-hero:not(.custom-title) .title-summary>.title-source-rating #watchSave{width:auto}
 #watchDialog .title-hero:not(.custom-title) .title-source-rating :is(.rating-slot,.rating-trigger){width:100%;white-space:nowrap}
 #watchDialog .title-summary>#watchOriginal{font-size:12px;margin-bottom:6px}
 #watchDialog .title-chips{margin-top:12px}
 #watchDialog .title-chips>span{font-size:13px}
 #watchDialog .title-chips>span+span:before{margin:0 8px}
 #watchDialog .title-summary>#titleTagline{margin-top:16px;font-size:15px}
 #watchDialog .title-summary>#watchDescription{font-size:14.5px}
 #watchDialog .title-cta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 48px;gap:8px}
 #watchDialog .title-cta .title-watch-button{grid-column:1/-1}
 #watchDialog .title-cta .follow-actions .button{min-width:0;padding:0 10px;font-size:13px;line-height:1.15;white-space:normal;text-align:center}
 #watchDialog .title-cta .follow-actions #followAnime[hidden]+#scheduleAnime{grid-column:1/3}
 #watchDialog .title-cta>#shareTitle{grid-column:3}
 #watchDialog .title-hero:not(.custom-title) .title-source-rating .rating-trigger{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center}
}
@media(prefers-reduced-motion:reduce){#watchDialog .title-chips>.status.is-on:before{animation:none}}
/* «Достижения тайтла» — раскрывающийся блок (title-achievements.js) */
.ta-section .ta-heading{margin:0}
.ta-toggle{display:flex;align-items:center;gap:14px;width:100%;padding:14px 16px;border:1px solid #ffffff14;border-radius:18px;background:linear-gradient(120deg,#ffc85712,#ffffff06 45%);color:var(--text,#f4f4f5);font:inherit;text-align:left;cursor:pointer;transition:border-color .2s,background .2s,border-radius .3s}
.ta-toggle:hover{border-color:#ffc85740}
.ta-section.is-open .ta-toggle{border-color:#ffc8573d;border-radius:18px 18px 8px 8px}
.ta-toggle-icon{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:14px;background:#ffc8571f;color:#ffc857}
.ta-toggle-icon svg{width:22px;height:22px}
.ta-toggle-text{display:grid;flex:1;min-width:0;gap:2px}
.ta-title{font-size:18px;font-weight:800;letter-spacing:-.01em}
.ta-toggle-text small{color:var(--muted,#a1a1aa);font-size:13px;font-weight:500}
.ta-ring{--p:0;position:relative;display:grid;place-items:center;flex:0 0 auto;width:46px;height:46px;border-radius:50%;background:conic-gradient(#ffc857 calc(var(--p)*1%),#ffffff14 0)}
.ta-ring:before{content:'';position:absolute;inset:4px;border-radius:50%;background:var(--panel,#16161a)}
.ta-ring b{position:relative;font-size:11.5px;font-weight:800;font-variant-numeric:tabular-nums}
.ta-chevron{display:grid;place-items:center;flex:0 0 auto;width:32px;height:32px;border-radius:50%;background:#ffffff0d;color:#c9ced8;transition:transform .35s cubic-bezier(.22,1,.36,1),background .2s}
.ta-chevron svg{width:18px;height:18px}
.ta-section.is-open .ta-chevron{transform:rotate(180deg);background:#ffc8571f;color:#ffc857}
.ta-panel{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .42s cubic-bezier(.22,1,.36,1),opacity .3s}
.ta-section.is-open .ta-panel{grid-template-rows:1fr;opacity:1}
.ta-panel-inner{min-height:0;overflow:hidden}
.ta-panel .ta-list{padding-top:10px}
.ta-panel .ta-item{transform:translateY(8px);opacity:0;transition:transform .4s cubic-bezier(.22,1,.36,1),opacity .3s}
.ta-section.is-open .ta-panel .ta-item{transform:none;opacity:1}
.ta-section.is-open .ta-panel .ta-item:nth-child(2){transition-delay:.04s}
.ta-section.is-open .ta-panel .ta-item:nth-child(3){transition-delay:.08s}
.ta-section.is-open .ta-panel .ta-item:nth-child(4){transition-delay:.12s}
.ta-section.is-open .ta-panel .ta-item:nth-child(n+5){transition-delay:.16s}
.ta-panel .ta-hint{margin:12px 2px 0}
@media(max-width:600px){.ta-toggle{gap:11px;padding:12px}.ta-toggle-icon{width:40px;height:40px}.ta-title{font-size:16px}.ta-ring{width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){.ta-panel,.ta-panel .ta-item,.ta-chevron{transition:none}}
/* Шапка тайтла: рейтинг и «В мой список» сразу под постером, отступ у описания, порядок кнопок не зависит от загрузки скриптов */
html body .title-page .title-hero{row-gap:16px}
html body .title-page .title-hero>.title-source-rating{margin:0;align-self:start}
html body .title-page .title-hero>.title-source-rating>.rating-slot{order:1}
html body .title-page .title-hero>.title-source-rating>#animeRatingPanel{order:2}
html body .title-page .title-hero>.title-source-rating>#watchSave{order:3}
#watchDialog.title-page .title-summary>#watchDescription{margin-top:12px!important}
/* Подборка: выбор и кнопка в одном ряду, подпись и «Создать подборку» на всю ширину; на узких экранах блоки статуса и подборки друг под другом */
html body .title-page .title-bottom-controls .personal-controls .add-to-collection{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
html body .title-page .title-bottom-controls .personal-controls .add-to-collection>label,html body .title-page .title-bottom-controls .personal-controls .add-to-collection>a{grid-column:1/-1}
html body .title-page .title-bottom-controls .personal-controls .add-to-collection>select{width:100%;min-width:0}
@media(max-width:1180px){html body .title-page .title-bottom-controls,html body .title-page .title-bottom-controls .personal-controls{grid-template-columns:minmax(0,1fr)!important}html body .title-page .title-bottom-controls .personal-controls>label{grid-column:1/-1}html body .title-page .title-bottom-controls .add-to-collection{grid-column:1/-1!important}}
@media(max-width:560px){html body .title-page .title-bottom-controls .personal-controls .add-to-collection{grid-template-columns:minmax(0,1fr)}html body .title-page .title-bottom-controls .personal-controls .add-to-collection>button{width:100%}}
