@font-face{font-family:'Exo 2';src:url('assets/fonts/exo2.woff2') format('woff2'),url('assets/fonts/exo2.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--bg:#131416;--panel:#1a1b1e;--secondary:#18191b;--caption:#ffffffc4;--motion:cubic-bezier(.4,0,.2,1);--raised:#27272a;--hover:#27272a;--text:#fafafa;--muted:#a6a7ad;--soft:#e4e4e7;--line:#27272a;--accent:#3c83f6;--accent-hover:#3375e4;--accent-bg:#1d3356;--green:#24c253;--red:#ef7f7f;--glass:#13141680;--shadow:0 15px 60px #0008;--width:1296px}
:root[data-theme=light]{color-scheme:light;--bg:#f1f1f4;--panel:#fff;--secondary:#fff;--caption:#424248;--raised:#e4e4e7;--hover:#e4e4e7;--text:#26262e;--muted:#62626b;--soft:#424248;--line:#e4e4e7;--accent:#2563eb;--accent-hover:#2058d3;--accent-bg:#dbeafe;--green:#16883f;--red:#be4444;--glass:#ffffff80;--shadow:0 15px 60px #1b23352b}
*{box-sizing:border-box}html{scrollbar-gutter:stable}::-webkit-scrollbar{width:10px;height:5px}::-webkit-scrollbar-thumb{background:#424348;border-radius:8px;border:2px solid var(--bg)}::-webkit-scrollbar-track{background:var(--bg)}body{margin:0;padding-top:60px;background:var(--bg);color:var(--text);font:16px/24px 'Exo 2',system-ui,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{background:none;border:0;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.5}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:700;letter-spacing:0}h1{font-size:24px;line-height:32px}h2{font-size:18px;line-height:28px}h3{font-size:14px;line-height:20px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.icon{width:20px;height:20px;display:inline-block;flex:none;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.sprite{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip{position:fixed;z-index:2000;left:16px;top:-70px;background:var(--accent);padding:10px;border-radius:14px}.skip:focus{top:10px}.container{max-width:var(--width);padding:0 24px;margin:0 auto}main{min-height:72vh;isolation:isolate;position:relative}main:focus{outline:none}.brand{display:inline-flex;align-items:center;gap:9px;font-size:24px;font-weight:700;line-height:32px}.brand img{width:32px;height:32px}.brand-dot{color:var(--accent)}:root[data-theme=light] .brand img,:root[data-theme=light] .mobile-home img{filter:invert(1)}
/* The reference uses a compact fixed header and an icon-only wordmark. */
.header{position:fixed;left:0;right:0;top:0;height:60px;z-index:50;background:var(--bg);border-bottom:1px solid var(--line);transition:transform .6s var(--motion)}.header.header-hidden{transform:translateY(-100%)}.header-inner{max-width:var(--width);height:60px;padding:0 24px;margin:auto;display:flex;align-items:center;gap:20px}.header .brand>span{display:none}.desktop-nav{display:flex;align-items:center;gap:8px}.desktop-nav>a{height:36px;display:flex;align-items:center;background:var(--panel);border-radius:999px;padding:0 20px;font-size:14px;line-height:20px;font-weight:500}.desktop-nav>a:hover{background:var(--raised)}.header-right{margin-left:auto;display:flex;align-items:center;gap:8px}.icon-button{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;flex:none;color:var(--soft)}.icon-button:hover{background:var(--raised)}.header-more{background:var(--panel)}.header-more>.icon{transform:rotate(90deg);width:20px;height:20px}.search-trigger{width:280px;height:36px;display:flex;align-items:center;justify-content:flex-start;gap:12px;background:var(--panel);color:var(--text);border-radius:999px;font-size:14px;padding:0 16px;white-space:nowrap}.search-trigger .icon{width:18px;height:18px}.search-trigger span{overflow:hidden;text-overflow:ellipsis}.search-trigger kbd{display:none}.profile-button{height:36px;padding:0 16px;border-radius:999px;background:var(--accent);color:#fff;font-size:14px;line-height:20px;font-weight:500;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-button:hover,.primary-button:hover{background:var(--accent-hover)}.desktop-save{display:none}
/* Shared cards keep the original 2:3 proportions, 14px corners and caption scale. */
.poster-card{min-width:0;position:relative}.poster-link{display:block}.poster-wrap{aspect-ratio:2/3;position:relative;overflow:hidden;border-radius:14px;background:var(--panel);margin-bottom:12px}.poster-wrap>img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--motion)}.poster-link:hover .poster-wrap>img{transform:scale(1.045)}.poster-meta{font-size:12px;line-height:18px;color:var(--caption);display:flex;gap:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 4px 4px}.poster-card :is(h3,:where(.kadr-item-title)){font-size:14px;line-height:16.1px;font-weight:600;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:36px;margin:0 4px}.rating-badge{position:absolute;right:4px;bottom:4px;display:flex;align-items:center;gap:5px;border-radius:15px;background:#11111180;color:#fff;padding:1px 7px;font-size:14px;line-height:20px;font-weight:700;backdrop-filter:blur(4px)}.rating-badge .icon{width:13px;height:13px;fill:currentColor;stroke:none}.save-overlay{position:absolute;z-index:2;top:8px;right:8px;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#111b;color:#fff;opacity:0;transition:opacity .15s}.save-overlay .icon{width:16px;height:16px}.poster-card:hover .save-overlay,.poster-card:focus-within .save-overlay,.save-overlay.saved{opacity:1}.save-overlay.saved{background:var(--accent)}.status-badge{position:absolute;left:6px;top:6px;background:#131416b3;color:#fff;padding:2px 7px;border-radius:14px;font-size:11px;line-height:16px}.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#94ddb2;margin-right:4px}.poster-rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 6 * 16px)/7);gap:16px;overflow:auto;scrollbar-width:none;overscroll-behavior-x:contain;user-select:none;padding:0 0 8px}.poster-rail::-webkit-scrollbar{display:none}.poster-rail.dragging{cursor:grabbing}.section{margin-bottom:48px}.section-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.section-head h1,.section-head h2{font-size:24px;line-height:32px}.section-all{margin-left:auto;border:1px solid var(--line)}.rail-buttons{display:flex;gap:8px;margin-left:auto}.section-all+.rail-buttons{margin-left:0}.rail-buttons .icon-button{border:1px solid var(--line);width:34px;height:34px}.rail-buttons .icon{width:16px;height:16px}.text-link{display:inline-flex;align-items:center;gap:5px;color:var(--accent);font-size:13px;line-height:20px}.text-link .icon{width:16px;height:16px}.text-button{font-size:13px;line-height:20px;color:var(--muted);padding:0}.text-button:hover{color:var(--accent)}.chip{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 16px;border-radius:999px;font-size:14px;line-height:20px;font-weight:500;background:var(--panel);color:var(--text);white-space:nowrap}.chip:hover{background:var(--raised)}.chip.active{background:var(--accent);color:#fff}.chip .icon{width:16px;height:16px}.primary-button{height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 24px;border-radius:999px;background:var(--accent);color:#fff;font-size:16px;line-height:24px;font-weight:600}.primary-button .icon{width:18px;height:18px}.outline-button,.subtle-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:0 18px;border-radius:999px;font-size:14px;line-height:20px;font-weight:500;background:var(--raised)}.outline-button{background:transparent;border:1px solid var(--line)}.outline-button:hover,.subtle-button:hover{background:var(--hover)}.outline-button .icon,.subtle-button .icon{width:16px;height:16px}
/* Homepage: edge-to-edge opening shelf and seven-column catalogue rails. */
.home-opening{margin-top:16px}.home-opening .poster-rail{grid-auto-columns:154px;gap:16px}.mini-banner{max-width:600px;min-height:92px;margin:36px auto 48px;padding:16px 18px;display:flex;align-items:center;gap:15px;background:var(--panel);border:1px solid var(--line);border-radius:18px}.mini-banner h2{font-size:16px;line-height:24px}.mini-banner p{font-size:14px;line-height:20px;color:var(--soft);margin-top:4px}.banner-symbol{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;color:var(--accent);flex:none}.banner-symbol .icon{width:34px;height:34px}.mini-banner .outline-button{flex:none;margin-left:auto;background:var(--raised);border:0;font-size:14px;height:40px}.home-lists{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.module-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:16px}.module-heading .text-link{color:var(--text)}.rank-item{display:flex;align-items:center;gap:12px;padding:9px 0;min-width:0}.rank-item>img{width:70px;height:105px;object-fit:cover;border-radius:14px;flex:none}.rank-number{display:none}.rank-info{min-width:0;flex:1}.rank-info :is(h3,:where(.kadr-item-title)){font-size:14px;font-weight:600;line-height:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.rank-info p{font-size:12px;line-height:16px;color:var(--muted);margin-top:5px}.rank-score{font-size:13px;color:var(--text);padding-right:5px}.updates-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}.update-item{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);min-width:0}.update-item img{width:50px;height:75px;object-fit:cover;border-radius:10px;flex:none}.update-body{min-width:0;flex:1}.update-body h3{font-size:14px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.update-body p{font-size:12px;color:var(--muted);line-height:18px;margin-top:4px}.episode-label{display:flex;align-items:center;gap:5px;color:var(--accent);font-size:12px;line-height:20px;margin-top:5px}.episode-label .icon{width:12px;height:12px}.update-time{font-size:11px;color:var(--muted);white-space:nowrap;align-self:flex-start;padding-top:5px}.type-tabs{display:flex;gap:8px;overflow:auto;scrollbar-width:none;white-space:nowrap}.type-tabs::-webkit-scrollbar{display:none}
/* Catalogue: measurements match the reference toolbar and grid. */
.catalog-headline{height:120px;display:flex;align-items:flex-start;justify-content:center;padding-top:30px;position:relative}.catalog-headline h1{font-size:36px;line-height:44px;font-weight:600}.catalog-query{position:absolute;bottom:12px;color:var(--muted);font-size:13px}.catalog-toolbar-wrap{border-bottom:1px solid var(--line)}.catalog-toolbar{display:flex;align-items:center;gap:24px;padding-top:8px;padding-bottom:16px}.catalog-toolbar .type-tabs{flex:1;justify-content:center}.sort-trigger{width:181px;min-width:181px;justify-content:space-between}.sort-trigger>.icon{width:16px;height:16px}.filter-trigger{padding:0 20px 0 16px;min-width:123px;gap:10px}.filter-trigger .icon{width:17px;height:17px}.filter-count{width:18px;height:18px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:11px}.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr)}.catalog-layout.with-filters{grid-template-columns:minmax(0,1fr) 400px}.catalog-results{min-width:0}.with-filters .catalog-results{padding-right:24px}.catalog-presets{padding:16px 0;height:68px;display:flex;gap:8px;align-items:center;overflow:auto;scrollbar-width:none;white-space:nowrap}.catalog-presets::-webkit-scrollbar{display:none}.preset-settings{width:36px;height:36px;background:var(--panel)}.catalog-presets>.chip{font-size:14px;flex:none}.catalog-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:48px 24px;padding:8px 0}.with-filters .catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-filter-chips{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 15px}.catalog-filter-chips .chip{font-size:12px;height:28px}.catalog-filter-chips .icon{width:11px;height:11px}.inline-filters{border-left:1px solid var(--line);padding:16px;min-width:0}.filter-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 16px}.filter-tools .text-button{display:inline-flex;gap:6px;align-items:center;font-size:12px;white-space:nowrap}.filter-tools .text-button:first-child{border:1px solid var(--line);border-radius:999px;padding:3px 10px}.filter-tools .icon{width:15px;height:15px}.filter-search{display:flex;align-items:center;gap:9px;background:var(--panel);border-radius:999px;height:40px;padding:0 14px;margin-bottom:12px;color:var(--muted)}.filter-search input{min-width:0;width:100%;border:0;outline:0;background:none;color:var(--text);font-size:16px}.filter-search .icon{width:20px;height:20px}.filter-group{border:0;margin:0 0 12px;background:var(--panel);border-radius:22px;overflow:hidden}.filter-group>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;padding:10px 20px;font-size:14px;line-height:20px;font-weight:500;min-height:40px}.filter-group>summary::-webkit-details-marker{display:none}.filter-group>summary>.icon{width:16px;height:16px;transition:transform .15s}.filter-group[open]>summary>.icon{transform:rotate(90deg)}.filter-group-body{padding:5px 14px 14px}.filter-options{display:flex;flex-wrap:wrap;gap:7px}.filter-options .chip{height:29px;font-size:12px;background:var(--raised);padding:0 11px}.filter-options .chip.active{background:var(--accent);color:#fff}.filter-panel select{height:36px;background:var(--raised);color:var(--text);border:0;border-radius:999px;padding:0 14px;width:100%;font-size:14px}.rating-filter{border-radius:22px;background:var(--panel);padding:16px;margin-bottom:24px}.filter-label{display:block;font-size:14px;font-weight:500;margin-bottom:10px}.rating-filter select{margin-bottom:8px}.rating-presets{display:flex;gap:5px}.rating-presets button{border:1px solid var(--line);border-radius:999px;padding:2px 8px;font-size:12px;line-height:20px}.rating-presets button:hover{background:var(--raised)}.inline-filters .filter-footer{margin-top:24px}.filter-footer .primary-button{height:36px;width:100%;font-size:14px}.empty-state{text-align:center;padding:70px 20px;border-radius:22px;background:var(--panel);margin:8px 0 32px}.empty-state>.icon{width:32px;height:32px;color:var(--muted);margin-bottom:16px}.empty-state h2{font-size:22px;line-height:32px}.empty-state p{max-width:400px;margin:12px auto 22px;color:var(--muted);font-size:14px}.empty-copy{font-size:14px;line-height:22px;color:var(--muted)}
/* Title: blurred poster, 20% / flexible / 23.4% columns and capsule tabs. */
.title-wallpaper{position:absolute;top:0;left:0;right:0;height:600px;z-index:-1;pointer-events:none;overflow:hidden;mask-image:linear-gradient(#0009 0%,#0005 40%,transparent 100%)}.title-wallpaper img{width:100%;height:100%;object-fit:cover;filter:blur(10px);opacity:.7}.title-page{position:relative;padding:65px 44px 0}.title-layout{display:grid;grid-template-columns:20% minmax(0,1fr) 23.4%;column-gap:20px;row-gap:20px;align-items:start}.title-sidebar{grid-column:1;grid-row:1/3;min-width:0}.main-poster{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:14px}.desktop-title-actions{display:flex;flex-direction:column;gap:8px;margin-top:16px}.desktop-title-actions>.primary-button,.desktop-title-actions>.subtle-button{width:100%}.title-save{background:var(--accent);color:#fff}.title-save:hover{background:var(--accent-hover)}.title-subscribe{min-height:36px;font-size:14px;font-weight:500;color:var(--text);padding:2px 0}.title-share{width:100%;font-size:14px}.title-heading{grid-column:2;grid-row:1;padding-left:8px;min-width:0}.eyebrow{display:flex;align-items:center;gap:4px;font-size:14px;line-height:20px;margin-bottom:4px}.eyebrow a:hover{color:var(--accent)}.title-heading h1{font-size:24px;line-height:32px;font-weight:700;margin:0}.social-stats{display:flex;gap:24px;flex-wrap:wrap;font-size:14px;line-height:20px;margin-top:12px;row-gap:8px}.social-stats span{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.social-stats .icon{width:16px;height:16px;color:var(--soft)}.title-score{grid-column:3;grid-row:1;display:flex;flex-direction:column;align-items:flex-end;gap:3px;padding-top:4px}.big-score{font-size:24px;line-height:32px;color:var(--green);font-weight:750}.title-score>span{font-size:12px;line-height:16px}.title-score>button{font-size:12px;line-height:16px;background:var(--panel);border-radius:999px;padding:2px 9px;margin-top:3px}.title-details{grid-column:2;grid-row:2;padding-left:8px;min-width:0}.title-tabs{display:flex;align-items:center;gap:8px;overflow:auto;scrollbar-width:none;margin-bottom:20px;white-space:nowrap;width:max-content;max-width:100%;padding:4px;background:var(--glass);border-radius:999px;min-height:40px}.title-tabs::-webkit-scrollbar{display:none}.title-tabs button{font-size:14px;font-weight:500;line-height:20px;border-radius:999px;padding:4px 16px;height:32px;white-space:nowrap;flex:none}.title-tabs button:hover{background:var(--raised)}.title-tabs button.active{background:var(--accent);color:#fff}.plot-panel{position:relative;background:var(--glass);border-radius:22px;padding:16px 12px;margin-bottom:8px}.plot{font-size:16px;line-height:24px;color:var(--soft);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;padding-right:9px}.plot-panel.expanded .plot{-webkit-line-clamp:unset;display:block}.plot-expand{position:absolute;right:8px;bottom:8px;width:26px;height:26px;background:var(--panel)}.plot-expand .icon{width:16px;height:16px;transform:rotate(90deg)}.plot-panel.expanded .plot-expand .icon{transform:rotate(-90deg)}.genre-tags{background:var(--glass);border-radius:22px;display:flex;align-items:center;gap:4px 16px;flex-wrap:wrap;padding:12px;margin-bottom:20px}.genre-link{font-size:14px;line-height:20px;padding:4px 10px;font-weight:500}.genre-link:hover{color:var(--accent)}.fact-grid{margin:0;padding:0 12px}.fact-grid>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:0;margin-bottom:8px;font-size:14px;line-height:21px}.fact-grid dt{font-weight:400;color:var(--soft);padding-right:12px}.fact-grid dd{margin:0;color:var(--text);min-width:0}.fact-grid .alternate-title{margin-top:25px;margin-bottom:38px}.copy-name{width:24px;height:24px;vertical-align:middle}.copy-name>.icon{width:16px;height:16px}.title-rightbar{grid-column:3;grid-row:2;min-width:0;padding-top:4px}.similar-side>.module-heading{margin-bottom:12px}.similar-side h2{font-size:18px;line-height:28px}.similar-side .text-button{color:var(--accent);font-size:12px}.similar-item{display:flex;gap:12px;padding:8px;border-radius:22px;background:var(--glass);margin-bottom:8px;min-height:121px}.similar-poster{width:70px;flex:none}.similar-poster img{width:70px;height:105px;object-fit:cover;border-radius:14px}.similar-info{padding-top:5px;min-width:0;flex:1}.similar-info h3{font-size:14px;line-height:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.similar-info p{font-size:12px;line-height:16px;margin-top:3px}.similar-votes{display:flex;align-items:center;gap:10px;margin-top:8px;font-size:12px}.similar-votes button{display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--panel);width:25px;height:25px;color:var(--accent);font-size:18px}.similar-votes button:last-child{color:#d47575}.similar-votes button.chosen{background:var(--accent-bg)}.similar-more{display:flex;width:100%;height:30px;font-size:12px;background:var(--panel);margin-top:15px}.title-module{margin-top:34px;padding:0 12px}.title-module>.module-heading{margin-bottom:16px}.title-module h2{font-size:18px;line-height:28px}.title-module .chip{font-size:14px}.cast-rail{display:flex;gap:16px;overflow:auto;scrollbar-width:none;padding-bottom:6px}.cast-card{width:130px;height:150px;flex:none;border-radius:22px;position:relative;overflow:hidden;background:var(--raised)}.cast-card>img{width:100%;height:100%;object-fit:cover}.cast-initials{display:flex;align-items:center;justify-content:center;height:100%;font-size:32px;color:var(--muted);background:linear-gradient(140deg,var(--raised),var(--panel))}.cast-card:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#000c);pointer-events:none}.cast-name{position:absolute;left:9px;right:9px;bottom:10px;z-index:1;color:#fff;font-size:13px;line-height:16px;font-weight:600}.cast-role{display:none}.title-collections{display:flex;gap:16px;overflow:auto;scrollbar-width:none;padding:0 0 6px}.collection-card{width:280px;flex:none;padding:16px;background:var(--panel);border-radius:22px;position:relative;overflow:hidden}.collection-card strong{display:block;font-size:15px;line-height:20px;margin-top:10px}.collection-card small{font-size:12px;color:var(--muted)}.collection-images{display:flex;justify-content:center;align-items:center;height:110px}.collection-images img{width:75px;height:110px;object-fit:cover;border-radius:12px;border:3px solid var(--panel);margin-left:-12px}.collection-images img:first-child{transform:rotate(-8deg);margin-left:0}.collection-images img:nth-child(2){position:relative;z-index:1;height:120px;width:82px}.collection-images img:last-child{transform:rotate(8deg)}.title-statistics{margin:34px 12px 0}.title-statistics>h2{font-size:18px;line-height:28px;margin-bottom:8px}.statistics-caption{font-size:12px;line-height:18px;color:var(--muted);margin-bottom:18px}.statistics-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}.histogram-row{display:grid;grid-template-columns:16px minmax(0,1fr) 27px;align-items:center;gap:6px;font-size:12px;line-height:20px}.histogram-row>div{height:14px;position:relative;overflow:hidden;background:var(--panel);border-radius:4px}.histogram-row i{height:100%;background:var(--accent);display:block;border-radius:4px}.histogram-row>span:last-child{text-align:right}.watch-statistics{display:flex;flex-direction:column;gap:6px}.watch-statistics button{display:flex;gap:7px;align-items:center;font-size:14px;line-height:20px;padding:0;text-align:left}.watch-statistics strong{font-size:13px;font-weight:400;margin-left:auto}.status-square{width:12px;height:12px;display:inline-block;flex:none;background:#3c83f6}.status-square.s1{background:#7d5ee3}.status-square.s2{background:#21a174}.status-square.s3{background:#e6b854}.status-square.s4{background:#d56b6b}.status-square.s5{background:#e486bd}.mobile-watch-actions{display:none}
/* Episodes and comments remain interactive prototype data. */
.season-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:12px;color:var(--muted)}.season-select{border:0;border-radius:999px;background:var(--panel);color:var(--text);height:36px;padding:0 15px;font-size:14px}.episode-row{width:100%;display:flex;gap:15px;align-items:center;text-align:left;padding:16px 12px;border-bottom:1px solid var(--line)}.episode-row:hover{background:var(--panel)}.episode-number{color:var(--muted);font-size:14px;width:20px}.episode-name{font-size:14px;flex:1}.episode-date{font-size:12px;color:var(--muted)}.episode-row>.icon{width:17px;height:17px;color:var(--accent)}.comments-section{margin:34px 12px 0}.comments-section>h2{font-size:18px;line-height:28px;margin-bottom:16px}.small-count{font-size:13px;font-weight:400;color:var(--muted);margin-left:5px}.comment-form{margin-bottom:18px}.comment-form textarea{display:block;width:100%;min-height:96px;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:12px;color:var(--text);resize:vertical;font-size:14px;line-height:22px}.comment-form-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}.comment-form-bottom p{font-size:11px;line-height:16px;color:var(--muted);max-width:300px}.comment-form-bottom .primary-button{height:36px;font-size:14px;padding:0 18px}.comment{display:flex;gap:12px;padding:18px 0;border-bottom:1px solid var(--line)}.avatar{height:36px;width:36px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#343845;color:#bad0ff;font-size:14px;font-weight:600}.avatar.orange{background:#4c382c;color:#ffcfb1}.comment-content{min-width:0;flex:1}.comment-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:13px;line-height:20px;margin-bottom:5px}.comment-meta>span{font-size:12px;color:var(--muted)}.comment-content>p{font-size:14px;line-height:22px;color:var(--soft);overflow-wrap:anywhere}.comment-likes{display:flex;align-items:center;gap:6px;color:var(--muted);padding:0;margin-top:9px;font-size:12px}.comment-likes .icon{width:15px;height:15px}.comment-likes.active{color:var(--accent)}.comment-spoiler{background:var(--panel);padding:1px 5px;border-radius:6px;font-size:11px!important}.bottom-related{margin:40px 0}.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin-bottom:25px}.calendar-day{padding:15px 0;background:var(--panel);border-radius:18px;text-align:center}.calendar-day>span{display:block;font-size:12px;color:var(--muted)}.calendar-day>strong{font-size:20px;line-height:30px}.calendar-day.active{background:var(--accent);color:#fff}.calendar-day.active>span{color:#fff}.calendar-label{color:var(--muted);font-size:13px;margin-bottom:15px}.calendar-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.time-tag{font-size:13px;color:var(--accent);white-space:nowrap}.breadcrumbs{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px;padding:25px 0}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:20px}.page-head h1{font-size:30px;line-height:40px}.page-head p{font-size:14px;color:var(--muted);margin-top:6px}.page-head .text-link{white-space:nowrap}
/* Native dialogs: full-screen filters on mobile; bottom sheets for sort and menus. */
dialog{padding:0;border:1px solid var(--line);border-radius:22px;background:var(--bg);color:var(--text);box-shadow:var(--shadow);max-height:calc(100dvh - 40px)}dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}body:has(dialog[open]){overflow:hidden}.dialog-close{position:absolute;right:14px;top:14px;z-index:3}.app-dialog{width:450px;max-width:calc(100vw - 32px);padding:28px}.app-dialog h2{font-size:22px;line-height:30px;padding-right:30px;margin-bottom:10px}.dialog-subtitle{font-size:14px;line-height:22px;color:var(--soft);margin-bottom:22px}.app-dialog label{display:block;font-size:13px;margin:15px 0 7px}.dialog-input{width:100%;height:42px;padding:0 14px;color:var(--text);border:1px solid var(--line);background:var(--panel);border-radius:14px;font-size:14px}.dialog-submit{width:100%;margin-top:20px;height:40px;font-size:14px}.dialog-note{font-size:12px;line-height:18px;color:var(--muted);margin-top:16px}.profile-avatar{width:54px;height:54px;font-size:24px;margin-bottom:18px}.profile-link,.menu-entry{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:13px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:20px}.profile-link>.icon:last-child,.menu-entry>.icon:last-child{margin-left:auto;width:16px;height:16px}.profile-link>span{margin-left:auto}.search-dialog{width:600px;max-width:calc(100vw - 24px);margin:90px auto auto;border-radius:22px;background:var(--bg)}.search-top{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}.search-top>input{border:0;outline:0;background:none;color:var(--text);flex:1;min-width:0;font-size:16px}.search-top>input:focus-visible{outline:0}.search-top>.icon{width:20px;height:20px}.search-body{padding:12px;max-height:470px;overflow:auto}.search-label{font-size:13px;color:var(--muted);margin:2px 8px 12px}.search-result{display:flex;align-items:center;gap:12px;padding:9px;border-radius:14px}.search-result:hover,.search-result.selected{background:var(--panel)}.search-result img{width:40px;height:60px;object-fit:cover;border-radius:9px}.search-result h3{font-size:14px;line-height:20px}.search-result p{font-size:12px;line-height:18px;color:var(--muted);margin-top:2px}.result-score{margin-left:auto;font-size:13px;color:var(--green)}.search-help{display:flex;gap:16px;align-items:center;padding:10px 20px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.search-help span{display:flex;align-items:center;gap:5px}kbd{font:11px 'Exo 2',sans-serif;border:1px solid var(--line);padding:0 4px;border-radius:4px;color:var(--muted)}.search-empty{font-size:14px;text-align:center;color:var(--muted);padding:40px 10px}.sort-sheet{position:fixed;margin:0;width:320px;padding:18px;border-radius:22px}.sort-sheet::backdrop{background:transparent;backdrop-filter:none}.sort-sheet h2{font-size:18px;line-height:26px;text-align:center;padding:0;margin-bottom:14px}.sort-sheet .dialog-close{display:none}.sheet-grip{display:none}.sort-choice{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;height:43px;padding:0 8px;font-size:15px;line-height:22px}.sort-choice:hover{background:var(--panel);border-radius:12px}.sort-choice>span{border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;width:27px;height:27px;flex:none}.sort-choice.selected>span{background:var(--accent);border-color:var(--accent);color:#fff}.sort-choice .icon{width:15px;height:15px}.sort-order{display:flex;gap:10px;margin-top:18px;justify-content:center}.sort-order .chip{font-size:13px;padding:0 14px}.sort-apply{display:flex;width:100%;height:36px;font-size:14px;margin-top:16px}.bookmark-sheet h2{font-size:21px}.bookmark-options{display:flex;flex-direction:column}.bookmark-options>button{display:flex;justify-content:space-between;align-items:center;text-align:left;height:43px;border-radius:10px;padding:0 12px;font-size:15px}.bookmark-options>button:hover{background:var(--panel)}.bookmark-options>button.selected{color:var(--accent)}.bookmark-options .bookmark-remove{color:var(--red);margin-top:10px}.rating-options{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.rating-options button{padding:12px 0;background:var(--panel);border-radius:12px;font-size:16px}.rating-options button:hover{background:var(--accent);color:#fff}.player-dialog{width:960px;padding:22px;max-width:calc(100vw - 24px)}.player-head{padding-right:35px;margin-bottom:16px}.player-head h2{font-size:20px;line-height:28px;margin:0 0 5px}.player-head p{font-size:13px;color:var(--muted)}.demo-video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;border-radius:14px;background:#090a0d}.player-options{display:flex;align-items:center;gap:9px;margin-top:13px;flex-wrap:wrap}.player-options select{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:999px;padding:6px 12px;font-size:13px;max-width:100%}.player-options .text-button{margin-left:auto}.video-caption{font-size:12px;line-height:18px;color:var(--muted);margin-top:12px}.toast{position:fixed;left:50%;bottom:24px;max-width:calc(100vw - 24px);z-index:1000;border:1px solid var(--line);border-radius:18px;background:var(--raised);box-shadow:var(--shadow);font-size:14px;line-height:20px;padding:12px 20px;opacity:0;transform:translate(-50%,20px);pointer-events:none;transition:opacity .2s,transform .2s;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.mobile-nav{display:none}
/* Footer columns and collapsible mobile service navigation. */
.footer{max-width:var(--width);padding:0 24px 24px;margin:80px auto 0}.footer-main{display:grid;grid-template-columns:210px repeat(4,minmax(0,1fr));gap:30px;padding:32px 0 52px;border-bottom:1px solid var(--line)}.footer-brand .brand{font-size:28px}.footer-brand .brand img{height:54px;width:54px}.footer-brand p{font-size:14px;line-height:22px;color:var(--muted);margin-top:16px}.footer-group summary{list-style:none;font-size:16px;line-height:24px;font-weight:600;margin-bottom:24px;pointer-events:none}.footer-group summary::-webkit-details-marker{display:none}.footer-group>div{display:flex;flex-direction:column;gap:15px;font-size:14px;line-height:22px;color:var(--soft)}.footer-group a,.footer-group button{font-size:14px;text-align:left;line-height:22px;padding:0}.footer-group a:hover,.footer-group button:hover{color:var(--accent)}.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:12px;line-height:20px;color:var(--muted);padding-top:30px}.footer-bottom strong{display:block;font-size:18px;font-weight:700;color:var(--text);line-height:28px}.footer-bottom p{max-width:700px}.footer-bottom>a{white-space:nowrap}
@media(min-width:1600px){:root{--width:1296px}}
@media(max-width:1200px){.header-inner{gap:15px}.desktop-nav>a{padding:0 16px}.header-right{gap:6px}.search-trigger{width:250px}.catalog-toolbar{gap:16px}.catalog-toolbar .chip{padding:0 13px}.catalog-layout.with-filters{grid-template-columns:minmax(0,1fr) 330px}.with-filters .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.title-layout{grid-template-columns:22% minmax(0,1fr) 25%;gap:20px}.title-page{padding-left:32px;padding-right:32px}.social-stats{gap:12px;font-size:12px}.fact-grid>div{grid-template-columns:132px minmax(0,1fr)}.similar-item{gap:10px}.similar-info h3{font-size:13px}.similar-poster,.similar-poster img{width:60px}.similar-poster img{height:90px}.similar-item{min-height:106px}.poster-rail{grid-auto-columns:calc((100% - 5 * 16px)/6)}.home-lists{gap:24px}.rank-item>img{width:55px;height:82px}}
@media(max-width:1050px){.header .desktop-nav>a:nth-child(3){display:none}.search-trigger{width:220px}.profile-button{max-width:156px}.title-layout{grid-template-columns:225px minmax(0,1fr)}.title-score{grid-column:2;grid-row:1;align-self:start;justify-self:end;padding-top:0}.title-heading{padding-right:85px}.title-heading .social-stats{margin-top:15px;margin-right:-80px}.title-details{grid-column:2;grid-row:2}.title-rightbar{grid-column:2;grid-row:3;padding-left:8px}.title-sidebar{grid-row:1/4}.similar-side>.similar-item{display:inline-flex;width:calc(50% - 7px);vertical-align:top}.similar-side>.similar-item:nth-of-type(2n){margin-left:10px}.similar-more{max-width:100%}.catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.poster-rail{grid-auto-columns:calc((100% - 4 * 16px)/5)}}
@media(max-width:899px){.desktop-nav>a{padding:0 14px}.desktop-nav>a:nth-child(2),.header-more{display:none}.search-trigger{width:210px}.catalog-toolbar .type-tabs{justify-content:flex-start}.catalog-layout.with-filters{display:block}.inline-filters{display:none}.catalog-grid,.with-filters .catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.with-filters .catalog-results{padding-right:0}.title-page{padding-left:24px;padding-right:24px}.title-layout{grid-template-columns:200px minmax(0,1fr);gap:20px}.title-heading{padding-right:0}.title-score{display:none}.title-heading .social-stats{margin-right:0}.title-heading h1{font-size:23px}.title-tabs{gap:4px}.title-tabs button{padding:4px 12px}.title-rightbar{display:none}.fact-grid>div{grid-template-columns:128px minmax(0,1fr)}.home-lists{grid-template-columns:1fr 1fr}.home-lists>section:last-child{display:none}.poster-rail{grid-auto-columns:calc((100% - 3 * 16px)/4)}.footer-bottom{flex-wrap:wrap;gap:10px}.footer-bottom>a{margin-left:0}}
@media(max-width:767px){
 body{padding-top:50px}.container{padding:0 12px}.header{height:50px;border:0}.header-inner{height:50px;padding:8px;gap:0}.header .brand,.desktop-nav,.profile-button,.theme-toggle{display:none}.header-right{width:100%;margin:0;gap:0}.search-trigger{width:100%;height:40px;padding:0 16px;justify-content:center;font-size:14px;gap:8px}.search-trigger>.icon{width:16px;height:16px}.header-hidden{transform:none!important}.home-opening{margin-top:16px}.home-opening .poster-rail{margin-right:0;grid-auto-columns:128px;gap:8px;padding-left:12px;padding-right:12px}.poster-rail{grid-auto-columns:calc((100vw - 30px)/3);gap:8px;margin-right:-12px;padding-right:12px}.poster-wrap{border-radius:14px;margin-bottom:8px}.poster-meta{font-size:12px;line-height:16px;margin:0 4px 4px;gap:3px}.poster-card :is(h3,:where(.kadr-item-title)){font-size:14px;line-height:16px;min-height:32px;margin:0 4px}.rating-badge{font-size:14px;line-height:20px;padding:0 6px}.rating-badge .icon{width:13px;height:13px}.save-overlay{width:25px;height:25px;top:7px;right:7px;opacity:0}.poster-card:focus-within .save-overlay,.save-overlay.saved{opacity:1}.section{margin-bottom:38px}.section-head{margin-bottom:16px;padding:0 12px;gap:12px}.section-head h1,.section-head h2{font-size:24px;line-height:32px}.rail-buttons{display:none}.section-all{width:36px;height:36px}.mini-banner{margin:26px 16px 38px;min-height:90px;gap:12px;padding:12px 16px;border-radius:18px}.banner-symbol{width:55px;height:55px}.mini-banner>div{min-width:0;flex:1}.mini-banner h2{font-size:16px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-banner p{font-size:14px;line-height:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mini-banner .outline-button{font-size:13px;padding:0 15px;max-width:130px}.home-lists{grid-template-columns:1fr;gap:32px;padding:0 12px}.home-lists>section:last-child{display:block}.rank-item>img{width:70px;height:105px}.rank-info :is(h3,:where(.kadr-item-title)){font-size:14px;line-height:20px}.updates-list{grid-template-columns:1fr}.home-updates{padding:0 12px}.home-updates>.section-head{padding:0}.episode-label{font-size:12px;flex-wrap:wrap}.update-time{font-size:10px}.update-body h3{font-size:14px}.footer{padding:0 16px 90px;margin-top:55px}.footer-top{flex-wrap:wrap;gap:15px;padding-bottom:24px}.footer-top p{font-size:13px}.footer-top>.text-button{display:none}.footer-bottom{font-size:11px;line-height:18px;gap:10px}.footer-bottom>span:nth-child(2){order:3;flex-basis:100%}.footer-bottom>a{margin-left:auto}
 /* Mobile catalogue preserves the original left heading, two-button toolbar and 3 cards. */
 .catalog-headline{height:78px;padding-top:18px;justify-content:flex-start;padding-left:24px}.catalog-headline h1{font-size:24px;line-height:32px;font-weight:700}.catalog-query{font-size:11px;bottom:6px;left:24px}.catalog-toolbar{padding:8px 8px 10px;gap:8px;justify-content:space-between}.catalog-toolbar .type-tabs{display:none}.sort-trigger{width:170px;min-width:170px;font-size:14px}.filter-trigger{font-size:14px;padding:0 18px 0 16px;min-width:123px}.catalog-presets{padding:16px 0;height:68px;gap:8px;margin-right:-1px}.catalog-presets .chip{height:36px;font-size:14px;padding:0 16px}.catalog-grid,.with-filters .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:8px;row-gap:24px;padding:8px 0}.catalog-grid .poster-card :is(h3,:where(.kadr-item-title)){font-size:14px;line-height:16px;min-height:32px}.catalog-filter-chips{padding-bottom:12px;gap:6px}.catalog-filter-chips .chip{height:26px;font-size:11px;padding:0 9px}.empty-state{padding:45px 18px}.empty-state h2{font-size:20px}.empty-state p{font-size:14px}
 /* Large centered poster and the persistent watch bar are essential to the reference. */
 .title-page{padding:59px 20px 0}.title-layout{display:flex;flex-direction:column;gap:0;align-items:stretch}.title-sidebar{display:block;align-self:center;width:min(260px,60vw);order:1}.main-poster{width:100%;height:auto;border-radius:14px}.desktop-title-actions{display:none}.title-heading{order:2;padding:24px 0 0;text-align:center;min-width:0}.eyebrow{justify-content:center;font-size:14px;line-height:20px;margin-bottom:4px}.title-heading h1{font-size:24px;line-height:32px;overflow-wrap:anywhere;font-weight:700;margin:0 4px}.social-stats{justify-content:center;gap:12px 24px;font-size:14px;line-height:20px;margin-top:12px}.social-stats span{gap:7px}.social-stats .icon{width:16px;height:16px}.title-score{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:7px;order:3;align-self:stretch;justify-self:auto;margin:12px 0 10px;padding:0}.title-score .big-score{font-size:24px;line-height:32px}.title-score>span{font-size:12px;line-height:16px}.title-score>button{font-size:12px;line-height:16px;padding:2px 9px;margin:0}.title-details{display:block;order:4;padding:0;min-width:0;width:100%}.title-tabs{padding:4px 0;background:none;border-radius:0;width:auto;gap:8px;margin-bottom:14px;margin-right:-10px;min-height:40px}.title-tabs button{font-size:14px;line-height:20px;height:32px;padding:4px 16px;border-radius:999px}.title-rightbar{display:block;order:5;padding:0;margin-top:35px}.similar-side>.similar-item{display:flex;width:100%;margin:0 0 8px}.similar-poster,.similar-poster img{width:70px}.similar-poster img{height:105px}.similar-item{min-height:121px}.similar-info h3{font-size:14px;line-height:20px}.similar-more{margin-top:12px}.title-wallpaper{height:calc(90vw + 155px);max-height:600px;mask-image:linear-gradient(#0009,#0008 40%,transparent)}.title-wallpaper img{filter:blur(6px);opacity:1}.plot-panel{background:none;border-radius:0;padding:14px 4px 4px;margin-bottom:10px}.plot{font-size:16px;line-height:24px;-webkit-line-clamp:3;padding-right:8px}.plot-expand{width:26px;height:26px;right:0;bottom:5px}.genre-tags{background:none;border-radius:0;padding:0;gap:4px 8px;margin-bottom:24px}.genre-link{padding:4px 6px;font-size:14px;line-height:20px}.fact-grid{padding:0 4px}.fact-grid>div{grid-template-columns:150px minmax(0,1fr);font-size:14px;line-height:21px;margin-bottom:8px}.fact-grid .alternate-title{margin-top:26px;margin-bottom:40px;display:block}.alternate-title dt{margin-bottom:8px}.title-module{margin:34px 12px 0}.title-module>.module-heading{gap:8px}.title-module h2{font-size:18px;line-height:28px}.title-module .chip{font-size:13px;height:36px}.cast-rail{margin-right:-20px;padding-right:20px}.cast-card{width:130px;height:150px}.title-collections{margin-right:-20px;padding-right:20px}.collection-card{width:260px}.title-statistics{margin:34px 12px 0}.statistics-grid{gap:16px}.watch-statistics button{font-size:13px;gap:6px}.watch-statistics strong{font-size:12px}.statistics-caption{font-size:12px}.comments-section{margin:34px 4px 0}.comment-form textarea{font-size:14px;line-height:22px;min-height:100px}.comment-form-bottom p{font-size:10px;line-height:15px;max-width:180px}.comment-form-bottom .primary-button{height:36px;font-size:13px;padding:0 15px}.comment-content>p{font-size:14px;line-height:22px}.comment-meta{gap:7px}.comment-meta>span{font-size:11px}.comment .avatar{width:32px;height:32px;font-size:13px}.small-count{font-size:13px}.season-toolbar{flex-wrap:wrap;gap:8px;font-size:12px;margin-top:12px}.season-select{font-size:14px}.episode-row{gap:10px;padding:15px 5px}.episode-name{font-size:14px}.episode-date{font-size:10px}.episode-number{font-size:12px;width:18px}.page-head{align-items:flex-start;margin-bottom:23px}.page-head h1{font-size:25px;line-height:34px}.page-head p{font-size:13px;line-height:20px}.page-head>.text-link{display:none}.breadcrumbs{padding:20px 0;font-size:12px}.calendar-days{gap:6px}.calendar-day{border-radius:14px;padding:12px 0}.calendar-day strong{font-size:18px}.calendar-grid{grid-template-columns:1fr}.calendar-label{font-size:12px;line-height:20px}
 .mobile-nav{position:fixed;z-index:70;left:0;right:0;bottom:0;display:flex;align-items:stretch;background:var(--bg);border-top:1px solid var(--line);height:54px;padding:5px 0 calc(5px + env(safe-area-inset-bottom))}.mobile-nav a,.mobile-nav button{width:20%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding:0;font-size:12px;line-height:16px;color:var(--soft)}.mobile-nav .icon{width:16px;height:16px}.mobile-nav a.active{color:var(--text)}.mobile-nav .mobile-home>img{width:34px;height:34px}.mobile-nav .mobile-home{padding-bottom:3px}.mobile-watch-actions{display:flex;position:fixed;z-index:65;left:0;right:0;bottom:62px;gap:8px;padding:0 8px;pointer-events:none}.mobile-watch-actions>*{pointer-events:auto}.mobile-watch-actions>.icon-button{height:48px;width:48px;background:var(--panel);border:1px solid var(--line);color:var(--text)}.mobile-watch-actions>.mobile-save{background:var(--accent);border:0;color:#fff}.mobile-watch-actions>.primary-button{height:48px;flex:1;font-size:16px;font-weight:600}.mobile-watch-actions .icon{width:19px;height:19px}body[data-page=title] .footer{padding-bottom:150px}.toast{bottom:75px;font-size:13px;padding:10px 16px}body[data-page=title] .toast{bottom:125px}
 .app-dialog{max-width:calc(100vw - 24px);padding:24px;border-radius:22px}.app-dialog h2{font-size:21px;line-height:28px}.dialog-subtitle{font-size:14px;line-height:21px}.dialog-note{font-size:11px;line-height:18px}.search-dialog{margin:6px auto auto;max-width:calc(100vw - 12px);width:600px;border-radius:18px;max-height:calc(100dvh - 65px)}.search-top{padding:11px 10px 11px 14px;gap:10px}.search-top>input{font-size:14px}.search-top>.icon{width:18px;height:18px}.search-body{max-height:calc(100dvh - 190px);padding:9px}.search-help{font-size:10px;padding:10px 12px;gap:12px}.search-result h3{font-size:14px}.search-result p{font-size:12px}.search-result>img{width:35px;height:53px}.filter-sheet{position:fixed;inset:0!important;width:100%!important;max-width:none!important;height:100dvh;max-height:none!important;padding:0;margin:0;border-radius:0;border:1px solid var(--line);overflow:hidden}.filter-sheet> .dialog-close{top:14px;right:14px;border:1px solid var(--line);width:40px;height:40px}.filter-sheet #dialog-content{height:100%;display:flex;flex-direction:column}.filter-sheet h2{margin:0;height:68px;min-height:68px;padding:20px 24px;border-bottom:1px solid var(--line);font-size:18px;line-height:28px}.filter-sheet .filter-panel{overflow:auto;padding:16px 16px 100px;height:100%}.filter-sheet .filter-tools{margin-bottom:12px}.filter-sheet .filter-tools .text-button{font-size:12px}.filter-sheet .filter-search{height:40px;margin-bottom:12px}.filter-sheet .filter-group{margin-bottom:12px}.filter-sheet .filter-group>summary{height:40px}.filter-sheet .rating-filter{margin-top:12px;padding:16px}.filter-sheet .filter-footer{position:fixed;left:0;right:0;bottom:0;margin:0;height:85px;padding:24px;border-top:1px solid var(--line);background:var(--bg)}.filter-footer .primary-button{height:36px;font-size:14px}.sort-sheet{left:0!important;right:0!important;top:auto!important;bottom:0;margin:0!important;width:100%;max-width:none;max-height:85dvh;border-radius:26px 26px 0 0;padding:16px 24px 24px;overflow:auto}.sort-sheet::backdrop{background:#000b;backdrop-filter:none}.sheet-grip{display:block;width:64px;height:6px;background:var(--raised);border-radius:9px;margin:0 auto 16px}.sort-sheet h2{font-size:18px;line-height:26px;margin-bottom:16px}.sort-choice{height:48px;font-size:16px;padding:0 16px}.sort-order{margin-top:16px;gap:16px}.sort-order .chip{font-size:14px}.sort-apply{margin-top:16px}.sort-sheet .sort-choices{overflow:auto;max-height:45dvh}.menu-sheet,.bookmark-sheet{margin:auto 0 54px!important;width:100%;max-width:none;max-height:75dvh;border-radius:22px 22px 0 0;padding:24px}.bookmark-options>button{font-size:16px;height:44px}.menu-entry{font-size:15px;padding:13px 0}.player-dialog{max-width:100vw;width:100vw;border-radius:0;padding:18px 12px}.player-head h2{font-size:19px;line-height:26px}.player-head p{font-size:12px}.demo-video{border-radius:10px}.player-options{gap:6px}.player-options select{font-size:12px;padding:6px 10px}.video-caption{font-size:11px;line-height:17px}
}
@media(max-width:1050px){.footer-main{grid-template-columns:170px repeat(4,minmax(0,1fr));gap:16px}.footer-group summary{font-size:14px}.footer-group a,.footer-group button{font-size:13px}}
@media(min-width:768px) and (max-width:899px){.title-score{display:flex;grid-column:2;grid-row:2;flex-direction:row;align-items:center;justify-self:start;gap:8px}.title-details{grid-row:3}.title-sidebar{grid-row:1/4}}
@media(max-width:767px){.footer-main{display:flex;flex-direction:column;gap:0;padding:0 0 24px}.footer-brand{display:none}.footer-group{border-bottom:1px solid var(--line)}.footer-group summary{position:relative;pointer-events:auto;font-size:16px;line-height:24px;cursor:pointer;margin:0;padding:15px 8px}.footer-group summary:after{content:'+';position:absolute;right:8px;top:14px;font-size:20px;color:var(--muted)}.footer-group[open] summary:after{content:'−'}.footer-group>div{padding:4px 8px 21px;gap:15px}.footer-group a,.footer-group button{font-size:14px}.footer-bottom{display:flex;align-items:flex-start;flex-direction:column;padding-top:24px;font-size:12px;line-height:19px;gap:22px}.footer-bottom>a{margin-left:0}.footer-bottom strong{margin-bottom:7px}}
@media(max-width:370px){.sort-trigger{min-width:158px;width:158px;font-size:13px}.filter-trigger{min-width:112px;padding:0 14px;font-size:13px}.title-page{padding-left:16px;padding-right:16px}.social-stats{gap:10px 13px;font-size:13px}.title-heading h1{font-size:23px}.title-tabs{gap:4px;margin-right:-12px}.title-tabs button{font-size:13px;padding:4px 14px}.fact-grid>div{grid-template-columns:136px minmax(0,1fr)}.title-module{margin-left:8px;margin-right:8px}.title-module .module-heading>h2{font-size:17px}.mini-banner{gap:8px;padding:12px}.banner-symbol{width:38px}.mini-banner .outline-button{max-width:105px;font-size:12px;padding:0 12px}.mini-banner h2{font-size:14px}.mini-banner p{font-size:13px}.poster-card :is(h3,:where(.kadr-item-title)){font-size:13px!important}.poster-meta{font-size:11px}.statistics-grid{gap:12px}.watch-statistics button{font-size:12px}.comment-form-bottom p{max-width:145px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* v3: measured reference colors, controls, icon weights and motion. */
.search-trigger{font-weight:500}
.rating-badge{padding:8px 12px;gap:8px;font:600 14px/14px 'Exo 2',sans-serif;border-radius:22px;background:#0008;backdrop-filter:none}
.rating-badge .icon{width:12px;height:12px}
@media(max-width:639px){.rating-badge{font-size:12px;line-height:12px;padding:6px 10px}.rating-badge .icon{width:10px;height:10px}}

button,.chip,.desktop-nav>a,.menu-entry,.profile-link{transition:background-color .15s var(--motion),color .15s var(--motion),border-color .15s var(--motion),transform .15s var(--motion)}
button:not(:disabled):active,.chip:active{transform:scale(.97)}
.header{transition:transform .2s var(--motion)}
.desktop-nav>a,.header-more,.search-trigger,.theme-toggle,.type-tabs>.chip,.catalog-presets>.chip,.preset-settings,.mobile-nav,.title-subscribe{background:var(--secondary)}
.theme-toggle{color:var(--text)}
.sort-down{stroke:var(--accent)}
.chip.active{background:var(--accent);color:#fafafa}
.poster-link:hover .poster-wrap>img{transform:scale(1.05)}
.poster-meta{color:var(--caption)}
.cast-card>img,.collection-card .collection-images{transition:transform .6s var(--motion)}
.cast-card:hover>img{transform:scale(1.05)}
.collection-card:hover .collection-images{transform:translateY(-3px)}
.title-tabs{position:relative;isolation:isolate}
.title-tabs button{position:relative;z-index:1}
.title-tabs button.active,.title-tabs button.active:hover{background:transparent}
.title-tab-indicator{position:absolute;left:0;top:4px;height:32px;background:var(--accent);border-radius:999px;pointer-events:none;transition:transform .2s var(--motion),width .2s var(--motion)}
.plot-panel{overflow:hidden}.plot-expand .icon{transition:transform .15s var(--motion)}
dialog{overflow:auto}
dialog::backdrop{background:#000b;backdrop-filter:none;animation:backdrop-in .15s var(--motion)}
dialog.is-closing::backdrop{animation:backdrop-out .14s var(--motion) forwards}
@keyframes backdrop-in{from{background:#0000}to{background:#000b}}
@keyframes backdrop-out{from{background:#000b}to{background:#0000}}
.search-dialog{width:672px;margin:16px auto auto;border-radius:28px;border:0;max-height:calc(100dvh - 32px)}
.search-top{gap:8px;padding:8px;border:0}
.search-input-wrap{display:flex;align-items:center;gap:9px;flex:1;min-width:0;height:48px;border:1px solid var(--line);border-radius:999px;background:var(--panel);padding:0 20px}
.search-input-wrap>.icon{width:20px;height:20px;flex:none}
.search-input-wrap>input{width:100%;border:0;background:none;color:var(--text);outline:0;font:400 16px/24px 'Exo 2',sans-serif;min-width:0}
.search-input-wrap>input:focus-visible{outline:none}
.search-top [data-close]{width:48px;height:48px;background:var(--secondary);color:var(--text)}
.search-body{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 16px 16px;min-height:160px}
.search-label{grid-column:1/-1;font-size:14px;line-height:20px;color:var(--text);margin:0 4px 4px}
.search-result{padding:8px;gap:8px;background:var(--secondary);border-radius:22px;min-width:0;min-height:76px}
.search-result:hover,.search-result.selected{background:var(--raised)}
.search-result>div{min-width:0}
.search-result h3{font-weight:600;line-height:18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.search-result img{width:40px;height:60px;border-radius:14px;flex:none}
.search-result .result-score{font-size:12px}
.search-help{justify-content:center;margin:0 8px;padding:10px 4px;border-color:var(--secondary)}
.search-help kbd{border:0;background:var(--raised);border-radius:999px;padding:0 5px;color:var(--text)}
.search-empty{grid-column:1/-1;align-self:center;line-height:22px;padding:50px 10px}
.profile-dialog{width:380px;padding:24px}
.profile-dialog h2{text-align:center;font-size:16px;line-height:24px;padding:0;margin:0 16px 24px}
.profile-dialog .dialog-close{top:8px;right:8px;width:28px;height:28px;background:var(--secondary)}
.profile-field{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:999px;background:var(--panel);padding:0 12px;height:40px;margin:12px 0}
.profile-field .icon{width:16px;height:16px;flex:none}
.profile-field .dialog-input{height:100%;padding:0;border:0;background:none;border-radius:0}
.profile-field:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.profile-field .dialog-input:focus-visible{outline:none}
.profile-dialog .dialog-submit{margin:12px 0 0;height:40px}
.profile-divider{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:13px;line-height:20px;margin:20px 0}
.profile-divider:before,.profile-divider:after{content:'';height:1px;background:var(--line);flex:1}
.profile-browse{width:100%;height:40px;font-size:14px}
.profile-dialog .dialog-note{text-align:center;font-size:11px;line-height:16px;margin-top:20px}
.profile-dialog .profile-avatar{margin:0 auto 16px}
.profile-dialog .dialog-subtitle{text-align:center;font-size:13px}
.saved-folders{display:flex;gap:8px;overflow:auto;scrollbar-width:none;width:100%;padding-bottom:2px}
.saved-folders>.chip{flex:none;background:var(--secondary)}
.saved-folders>.chip.active{background:var(--accent)}
.saved-folders .chip>span{font-size:12px;opacity:.75;margin-left:4px}
.saved-count{font-size:13px;line-height:20px;color:var(--muted);padding:24px 0 12px}
.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-top:8px;padding-bottom:16px}
.calendar-days{display:flex;gap:8px;margin:0;overflow:auto;scrollbar-width:none}
.calendar-day{height:36px;min-width:84px;padding:0 16px;gap:8px;background:var(--secondary);flex:none}
.calendar-day>span,.calendar-day>strong{display:inline;font-size:14px;line-height:20px;color:inherit;font-weight:500}
.calendar-week{font-size:14px;color:var(--muted);white-space:nowrap}
.calendar-content{padding-top:24px}
.calendar-label{font-size:13px;line-height:20px;margin-bottom:16px}
.calendar-grid{gap:16px 24px}
.calendar-grid .update-item{background:var(--secondary);padding:16px;border-radius:22px;border:0;align-items:flex-start}
.calendar-grid .update-item img{width:70px;height:105px;border-radius:14px}
.calendar-grid .update-body{padding-top:4px}
.calendar-grid .update-body h3{white-space:normal;line-height:20px;font-weight:600}
.calendar-grid .time-tag{font-size:12px;line-height:20px;padding:2px 8px;border-radius:999px;background:var(--raised);color:var(--text)}
.calendar-note{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;line-height:20px;margin-top:24px}
.calendar-note .icon{width:16px;height:16px;flex:none}
@media(min-width:768px){
 .sort-sheet{width:244px;padding:4px;background:var(--panel);border-radius:22px;max-height:calc(100dvh - 32px);transform-origin:top left}
 .sort-sheet h2,.sort-choice>span,.sort-sheet .sort-apply{display:none}
 .sort-choice{height:32px;font-size:14px;line-height:20px;font-weight:400;padding:6px 16px;border-radius:999px}
 .sort-choice:hover{border-radius:999px;background:var(--raised)}
 .sort-choice.selected{background:var(--accent);color:#fafafa}
 .sort-order-label{border-top:1px solid var(--line);margin:8px 4px 0;padding:14px 12px 4px;font-size:12px;line-height:16px;color:var(--muted)}
 .sort-order{display:flex;flex-direction:column;gap:0;align-items:stretch;margin:0;padding:0 8px 8px}
 .sort-order .chip{justify-content:flex-start;height:30px;font-size:12px;font-weight:500;line-height:16px;padding:0 12px;background:transparent}
 .sort-order .chip.active{color:var(--accent)}
 .sort-sheet::backdrop,.sort-sheet.is-closing::backdrop{background:transparent;animation:none}
}
@media(max-width:767px){
 .search-dialog{margin:4px auto auto;width:100%;max-width:calc(100vw - 8px);border-radius:22px;max-height:calc(100dvh - 12px)}
 .search-input-wrap{height:40px;padding:0 14px}
 .search-input-wrap>input{font-size:14px;line-height:20px}
 .search-input-wrap>.icon{width:16px;height:16px}
 .search-top [data-close]{width:40px;height:40px}
 .search-body{grid-template-columns:1fr;gap:8px;padding:8px 12px 16px;max-height:calc(100dvh - 125px)}
 .search-result{padding:8px 12px}
 .search-result img{width:40px;height:60px}
 .search-help{font-size:10px;gap:10px;padding:8px 4px}
 .profile-dialog{max-width:calc(100vw - 32px);padding:24px}
 .profile-dialog h2{font-size:16px;line-height:24px}
 .sort-order-label{display:none}
 .sort-sheet{background:var(--bg)}
 .saved-page .catalog-toolbar{display:block;padding-bottom:14px}
 .saved-folders{margin-right:-12px;width:calc(100% + 12px);padding-right:12px}
 .saved-count{padding:16px 0 8px}
 .calendar-page .catalog-headline{justify-content:flex-start;padding-left:24px}
 .calendar-page .catalog-headline h1{font-size:24px;line-height:32px}
 .calendar-toolbar{gap:0;display:block;padding-top:8px;padding-bottom:16px}
 .calendar-days{margin-right:-12px;padding-right:12px}
 .calendar-day{min-width:72px;height:36px;padding:0 12px;border-radius:999px}
 .calendar-week{display:none}
 .calendar-content{padding-top:16px}
 .calendar-grid{gap:12px}
 .calendar-grid .update-item{padding:12px;gap:12px}
 .calendar-grid .update-item img{width:60px;height:90px}
 .calendar-grid .update-body p{font-size:11px}
 .calendar-grid .episode-label{font-size:11px;line-height:17px}
 .calendar-grid .time-tag{font-size:11px;padding:0 6px}
 .mobile-nav{height:calc(54px + env(safe-area-inset-bottom));padding-bottom:calc(5px + env(safe-area-inset-bottom))}
 .mobile-watch-actions{bottom:calc(62px + env(safe-area-inset-bottom))}
 .footer{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
 body[data-page=title] .footer{padding-bottom:calc(155px + env(safe-area-inset-bottom))}
 .menu-sheet,.bookmark-sheet{margin-bottom:calc(54px + env(safe-area-inset-bottom))!important}
 .filter-sheet .filter-footer{height:calc(85px + env(safe-area-inset-bottom));padding-bottom:calc(24px + env(safe-area-inset-bottom))}
}
@media(hover:none){.poster-link:hover .poster-wrap>img,.cast-card:hover>img,.collection-card:hover .collection-images{transform:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
/* v4: reference mobile navigation, sticky controls and the complete home hierarchy. */
.stroke-primary{stroke:var(--accent)}
.catalog-headline{height:112px}
.catalog-toolbar-wrap{position:sticky;top:60px;z-index:60;background:var(--bg)}
.catalog-toolbar{padding-top:16px;padding-bottom:16px}
.home-page .section{margin-bottom:32px}
.home-page .section-head h1,.home-page .section-head h2,.home-page .module-heading h2{font-size:25.6px;line-height:35.84px;font-weight:600}
.home-page .section-head{align-items:flex-end;margin-bottom:16px}
.home-page .section-all{flex:none;width:36px;height:36px;background:none;border:1px solid var(--line)}
.section-all>.icon{width:20px;height:20px}
.home-page .poster-rail{grid-auto-columns:calc(100% / 7 - 16px);gap:16px;padding-bottom:0}
.home-opening .poster-rail{grid-auto-columns:154px}
.home-page .mini-banner{margin:32px auto;min-height:92px}
.home-page .mini-banner h2{font-size:16px;font-weight:600;line-height:24px}
.home-feature-wrap{max-width:750px;margin:32px auto;color:var(--muted)}
.home-feature{display:block;position:relative;aspect-ratio:2.5;overflow:hidden;border-radius:14px;background:var(--panel);color:#fff}
.home-feature>img{width:100%;height:100%;object-fit:cover}
.home-feature:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#000c,transparent)}
.home-feature>div{position:absolute;z-index:1;left:32px;top:25%;max-width:70%}
.home-feature small{font-size:12px;line-height:18px}
.home-feature strong{display:block;font-size:28px;line-height:34px;font-weight:600;margin-top:8px}
.home-feature>div>span{display:flex;align-items:center;gap:8px;font-size:13px;margin-top:12px}
.home-feature .icon{width:16px;height:16px}
.feature-caption{font-size:11px;line-height:18px}
.home-lists{display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity;user-select:none}
.home-lists::-webkit-scrollbar,.home-collection-rail::-webkit-scrollbar,.home-news-rail::-webkit-scrollbar{display:none}
.home-lists>.rank-section{display:block;flex:0 0 calc((100% - 32px)/3);min-width:0;scroll-snap-align:start;padding:8px 0 32px}
.home-lists .module-heading{height:36px;margin-bottom:16px;white-space:nowrap}
.home-lists .module-heading h2{overflow:hidden;text-overflow:ellipsis}
.rank-rows{display:flex;flex-direction:column;gap:8px}
.rank-item{position:relative;padding:8px;gap:16px;min-height:124px;background:var(--panel);border-radius:22px;overflow:hidden;align-items:center}
.rank-item>img{width:72px;height:108px;border-radius:14px;object-fit:cover;flex:none}
.rank-info{display:flex;flex-direction:column;gap:6px;min-width:0}
.rank-info>p{order:0;font-size:12px;line-height:16px;margin:0;padding-right:45px;color:var(--caption)}
.rank-info>:is(h3,:where(.kadr-item-title)){font-size:14px;line-height:17.5px;order:1;font-weight:600;min-height:0}
.rank-likes{display:flex;align-items:center;gap:6px;font-size:12px;line-height:16px;color:var(--caption);order:2}
.rank-likes>.icon{width:14px;height:14px;fill:currentColor;stroke:none}
.rank-score{position:absolute;right:8px;top:8px;display:flex;align-items:center;gap:6px;padding:3px 8px;border-radius:22px;background:#0004;color:#fff;font-size:12px;line-height:12px;font-weight:600}
.rank-score>.icon{width:10px;height:10px;fill:currentColor;stroke:none}
.inline-rating{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;color:var(--text);margin-left:auto;white-space:nowrap}
.inline-rating .icon{width:10px;height:10px;fill:currentColor;stroke:none}
.home-collection-rail{display:flex;gap:16px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;user-select:none}
.home-collection-card{width:calc((100% - 64px)/5);height:210px;min-width:152px;position:relative;flex:none;overflow:hidden;border-radius:22px;background:var(--panel);display:block;color:#fff}
.home-collection-card>strong{position:absolute;z-index:2;top:14px;left:16px;right:12px;font-size:16px;line-height:22px;font-weight:600}
.home-collection-card>img{width:100%;height:100%;object-fit:cover;object-position:50% 35%;transition:transform .6s var(--motion)}
.home-collection-card:after{position:absolute;content:'';inset:0;background:linear-gradient(#000b,transparent 80%)}
.home-collection-card:hover>img{transform:scale(1.05)}
.home-country-tabs{display:flex;gap:4px;background:var(--secondary);width:max-content;max-width:100%;border-radius:999px;padding:4px;margin-bottom:24px;overflow:auto;white-space:nowrap;scrollbar-width:none}
.home-country-tabs .chip{height:32px;background:none;padding:0 16px;flex:none}
.home-country-tabs .chip.active{background:var(--accent)}
.home-news-rail{display:flex;gap:16px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;user-select:none}
.news-card{display:block;text-align:left;flex:0 0 calc((100% - 32px)/3);padding:0;min-width:0;border-radius:14px;overflow:hidden}
.news-card>img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px}
.news-card>:is(h3,:where(.kadr-item-title)){font-size:16px;line-height:22px;font-weight:600;margin-top:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-card>time{display:block;font-size:12px;line-height:18px;color:var(--muted);margin-top:8px}
.home-updates .section-head{justify-content:space-between}
.home-updates .section-head>h2{max-width:calc(100% - 116px)}
.home-updates .section-head>.chip{margin-left:auto;flex:none;background:var(--secondary)}
.latest-updates-list{display:flex;flex-direction:column;gap:8px}
.latest-update{display:flex;align-items:center;gap:16px;background:var(--panel);border-radius:22px;padding:12px;min-width:0}
.latest-update>img{width:64px;height:96px;object-fit:cover;border-radius:14px;flex:none}
.latest-update>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.latest-update :is(h2,h3,:where(.kadr-item-title)){font-size:16px;line-height:24px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.latest-update p{font-size:14px;line-height:20px;color:var(--caption)}
.latest-update time{font-size:12px;line-height:16px;white-space:nowrap;color:var(--caption);padding-right:8px;flex:none}
.latest-more{align-self:center;margin:16px auto;gap:8px}
.latest-more .icon{height:16px;width:16px;transform:rotate(90deg)}
.latest-filter-options{display:flex;flex-direction:column;gap:4px}
.bookmark-option{display:flex;align-items:center;justify-content:space-between;height:44px;text-align:left;border-radius:999px;padding:0 12px;font-size:14px}
.bookmark-option:hover{background:var(--panel)}
.bookmark-option.selected{color:var(--accent)}
.bookmark-option .icon{width:16px;height:16px}
.updates-page-tools{display:flex;justify-content:flex-end;padding:16px 0}
.collections-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.collections-grid .home-collection-card{width:100%;min-width:0}
.news-page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.news-dialog{width:700px}
.news-dialog-cover{width:100%;max-height:300px;object-fit:cover;border-radius:14px;margin:16px 0}
.news-dialog-text{font-size:16px;line-height:25px}
/* Right-hand mobile drawer: full height, 80% width, no bottom-sheet layout. */
.menu-drawer{position:fixed;inset:0 0 0 auto!important;margin:0!important;width:80vw!important;max-width:420px!important;height:100dvh!important;max-height:100dvh!important;padding:0!important;border:0;border-radius:0!important;overflow:hidden;touch-action:pan-y;box-shadow:none}
.menu-drawer #dialog-content{height:100%;overflow-y:auto;padding:16px 24px 32px}
.menu-drawer>.dialog-close{position:fixed;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
.menu-drawer>.dialog-close:focus-visible{width:28px;height:28px;clip-path:none;top:4px;right:4px;background:var(--panel)}
.menu-drawer h2.sr-only{margin:0;padding:0;width:1px;height:1px}
.drawer-login{width:100%;height:36px;font-size:14px;font-weight:500}
.drawer-list{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.drawer-entry,.drawer-group summary{display:flex;align-items:center;gap:8px;width:100%;height:36px;padding:0 12px;text-align:left;font-size:14px;line-height:20px;font-weight:500;border-radius:999px;list-style:none;cursor:pointer}
.drawer-entry:hover,.drawer-group summary:hover{background:var(--panel)}
.drawer-entry>.icon,.drawer-group summary>.icon{width:16px;height:16px;flex:none}
.drawer-group{margin:0;padding:0;border:0}
.drawer-group summary::-webkit-details-marker{display:none}
.drawer-group summary>.icon:last-child{margin-left:auto;transform:rotate(90deg);width:12px;height:12px;transition:transform .2s var(--motion)}
.drawer-group[open] summary>.icon:last-child{transform:rotate(-90deg)}
.drawer-group>div{display:flex;flex-direction:column;padding:8px 12px 0 36px;gap:4px}
.drawer-group>div>a{font-size:14px;line-height:20px;border-radius:999px;padding:6px 10px}
.drawer-group>div>a:hover{background:var(--panel)}
.drawer-divided{border-top:1px solid var(--line);padding-top:8px;margin-top:8px}
.drawer-theme{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:24px 0;font-size:14px;line-height:20px;font-weight:500}
.theme-switch{width:36px;height:20px;border-radius:999px;background:var(--secondary);padding:2px;flex:none}
.theme-switch>span{display:block;width:16px;height:16px;border-radius:50%;background:var(--text);transition:transform .2s var(--motion)}
.theme-switch[aria-checked=true]{background:var(--accent)}
.theme-switch[aria-checked=true]>span{transform:translateX(16px);background:var(--bg)}
@media(max-width:1279px){.home-page .poster-rail{grid-auto-columns:calc(100% / 6 - 16px)}.home-opening .poster-rail{grid-auto-columns:154px}.home-lists>.rank-section{flex-basis:calc((100% - 16px)/2)}.home-collection-card{width:calc((100% - 48px)/4)}}
@media(max-width:1023px){.home-page .poster-rail{grid-auto-columns:calc(100% / 5 - 16px)}.home-opening .poster-rail{grid-auto-columns:154px}.home-lists>.rank-section{flex-basis:66.666%}.rank-item{min-height:100px}.rank-item>img{width:56px;height:84px}.collections-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-collection-card{width:calc((100% - 32px)/3)}}
@media(max-width:767px){
 .header-inner{align-items:flex-start}
 .header.header-hidden{transform:translateY(-100%)!important}
 .catalog-headline{height:73.6px;padding-top:16px;padding-bottom:24px}
 .catalog-headline h1{font-weight:600;line-height:33.6px}
 .catalog-toolbar-wrap{top:0;z-index:60}
 .catalog-toolbar{padding:12px 8px;gap:12px}
 .catalog-toolbar .sort-trigger{width:170px;min-width:170px}
 .mobile-nav{height:calc(56px + env(safe-area-inset-bottom));padding:0 0 env(safe-area-inset-bottom);border-top:0;border-bottom:1px solid color-mix(in srgb,var(--line) 50%,transparent);background:var(--bg);z-index:1000}
 .mobile-nav-inner{height:56px;width:100%;margin:auto;display:flex;align-items:center;justify-content:center;gap:4px;padding:0 8px}
 .mobile-nav-inner>a,.mobile-nav-inner>button{display:flex;flex:1 1 0;width:20%;min-width:0;height:100%;padding:0;gap:2px;font-size:12px;line-height:16px;color:var(--caption);justify-content:center;align-items:center}
 .mobile-nav .icon{width:16px;height:16px}
 .mobile-nav .mobile-home{padding:0}
 .mobile-nav .mobile-home>img{width:36px;height:36px}
 .mobile-watch-actions{bottom:calc(64px + env(safe-area-inset-bottom))}
 .home-page .home-section{padding:0;max-width:100%}
 .home-page .section-head{padding:0 24px;gap:16px;align-items:flex-end}
 .home-page .section-head h1,.home-page .section-head h2,.home-page .module-heading h2{font-size:24px;line-height:33.6px;font-weight:600}
 .home-page .section-head .section-all{margin-right:-12px}
 .home-page .poster-rail{margin:0;padding:0 0 0 16px;grid-auto-columns:calc((100vw - 16px)*.25 - 16px);gap:16px;scroll-padding-left:16px}
 .home-opening .poster-rail{grid-auto-columns:calc(100vw/3 - 3px);gap:8px;padding:0 16px}
 .poster-wrap{margin-bottom:8px}
 .poster-meta{font-size:12px;line-height:18px;margin-bottom:4px}
 .poster-card :is(h3,:where(.kadr-item-title)),.catalog-grid .poster-card :is(h3,:where(.kadr-item-title)){font-size:13px!important;line-height:14.95px;min-height:29.9px;font-weight:600}
 .home-opening .poster-wrap{margin-bottom:12px}
 .home-page .mini-banner{margin:32px 16px;min-height:92px;padding:12px 16px;gap:12px}
 .home-page .mini-banner h2{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:16px}
 .home-page .mini-banner>div{min-width:0}
 .home-page .mini-banner .banner-symbol{width:64px;height:64px}
 .home-page .mini-banner .banner-symbol .icon{width:40px;height:40px}
 .home-page .mini-banner .outline-button{max-width:126px;padding:0 20px;font-size:14px}
 .home-page .section{margin-bottom:32px}
 .home-feature-wrap{margin:32px 8px}
 .home-feature{height:150px;aspect-ratio:auto}
 .home-feature>div{top:20px;left:20px}
 .home-feature strong{font-size:20px;line-height:24px;margin-top:4px}
 .home-feature>div>span{margin-top:8px;font-size:12px}
 .feature-caption{font-size:10px;line-height:16px;display:block}
 .home-rank-wrap{padding:0;max-width:100%}
 .home-lists{padding:0 8px;gap:16px;margin:0 0 32px;scroll-padding-left:8px}
 .home-lists>.rank-section{display:block;flex:0 0 85vw;padding:8px 0 32px}
 .home-lists .module-heading{padding:0 8px 0 24px;height:36px;gap:16px;margin-bottom:16px}
 .rank-item{padding:8px;gap:16px;min-height:100px}
 .rank-item>img{width:56px;height:84px}
 .rank-info{gap:6px}
 .rank-info :is(h3,:where(.kadr-item-title)){font-size:14px;line-height:17.5px}
 .rank-info p{margin:0;font-size:12px;line-height:16px}
 .rank-score{font-size:12px;line-height:12px}
 .home-collection-rail{padding:0 16px;gap:16px}
 .home-collection-card{width:152px;height:160px;min-width:152px}
 .home-collection-card>strong{top:14px;left:16px;right:10px;font-size:16px;line-height:22px}
 .home-country-tabs{margin-left:16px;margin-right:16px;margin-bottom:24px}
 .home-country-tabs .chip{padding:0 16px;font-size:14px}
 .home-news-rail{padding:0 16px;gap:16px}
 .news-card{flex-basis:80vw}
 .news-card>:is(h3,:where(.kadr-item-title)){font-size:16px;line-height:22px;margin-top:10px}
 .home-updates .section-head{padding-left:24px;padding-right:12px}
 .home-updates .section-head h2{max-width:calc(100% - 110px)}
 .home-updates .section-head>.chip{font-size:14px;height:36px}
 .latest-update{padding:12px;gap:16px;border-radius:22px}
 .latest-update>img{width:48px;height:72px}
 .latest-update :is(h2,h3,:where(.kadr-item-title)){font-size:16px;line-height:24px}
 .latest-update p{font-size:14px;line-height:20px}
 .latest-update time{font-size:12px;line-height:16px;max-width:110px;white-space:normal;text-align:right}
 .latest-update>div{gap:8px}
 .collections-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-top:16px}
 .collections-grid .home-collection-card{height:200px}
 .news-page-grid{grid-template-columns:1fr;padding-top:16px}
 .menu-drawer{max-width:none!important}
 .menu-drawer #dialog-content{padding:16px 24px 32px}
 .menu-drawer .drawer-list,.menu-drawer .drawer-theme{border-radius:0}
 .news-dialog{max-width:calc(100vw - 24px);padding:24px}
}
@media(max-width:639px){.home-page .poster-rail{grid-auto-columns:calc((100vw - 16px)*.33 - 8px);gap:8px}.home-opening .poster-rail{grid-auto-columns:calc(100vw/3 - 3px)}}
@media(max-width:370px){.home-page .section-head{padding-left:20px}.home-page .mini-banner{padding:12px;gap:8px}.home-page .mini-banner .banner-symbol{width:40px}.home-page .mini-banner .outline-button{padding:0 14px;font-size:13px}.home-page .mini-banner h2{font-size:14px}.latest-update{gap:12px}.latest-update time{font-size:11px;max-width:78px;padding-right:0}.latest-update :is(h2,h3,:where(.kadr-item-title)){font-size:14px;line-height:21px}.latest-update p{font-size:12px;line-height:18px}.drawer-entry,.drawer-group summary{padding-left:8px}.menu-drawer #dialog-content{padding-left:20px;padding-right:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}


@media(max-width:767px){.menu-drawer{right:calc(100% - 100vw)!important}.home-page .banner-symbol>img{width:64px;height:64px}:root[data-theme=light] .home-page .banner-symbol>img{filter:invert(1)}}
@media(min-width:640px) and (max-width:767px){.catalog-toolbar-wrap{top:50px}.catalog-toolbar{flex-wrap:wrap}.catalog-toolbar .type-tabs{display:flex;order:3;flex:1 0 100%;justify-content:flex-start;margin-top:4px}.filter-trigger{margin-left:auto}.catalog-headline{height:112px;padding:30px 24px 0;justify-content:center}.catalog-headline h1{font-size:36px;line-height:44px}}

.home-lists>section.rank-section{display:block}
@media(max-width:1279px) and (min-width:768px){.home-lists>section.rank-section{flex-basis:66.666%}}
.header-more>.icon{transform:none;width:20px;height:20px}


.filter-trigger>.icon{width:16px;height:16px}
.dialog-close>.icon{width:16px;height:16px}
.footer-group summary>.icon{display:none}
@media(max-width:767px){.mobile-watch-actions .icon{width:20px;height:20px}.footer-group summary:after{content:none}.footer-group summary{display:flex;align-items:center;justify-content:space-between}.footer-group summary>.icon{display:block;width:12px;height:12px;transition:transform .2s var(--motion)}.footer-group[open] summary>.icon{transform:rotate(180deg)}}
/* Title v5: measured ReManga panels, chapters, comment bubbles and collections. */
:root{--title-panel:#13141680;--episode-surface:#18191b80;--comment-bubble:#131416;--comment-border:#27272a80}
:root[data-theme=light]{--title-panel:#fff;--episode-surface:#ffffff80;--comment-bubble:#fff;--comment-border:#dedee4}
.title-details{padding-left:4px;overflow-anchor:none}
.title-tab-area{margin-right:-4px}
.title-sidebar{position:sticky;top:76px;align-self:start}
.title-subscribe{background:transparent}
.title-tabs{padding:4px;background:var(--title-panel);border-radius:999px;margin-bottom:16px;min-height:40px;scrollbar-width:none;scroll-snap-type:none;user-select:none;overscroll-behavior-x:contain}
.title-tab-indicator{top:4px}
#title-content{overflow-anchor:none;min-width:0}
.plot-panel{padding:16px;background:var(--title-panel);border-radius:22px;overflow:hidden}
.plot{padding-right:8px}
.genre-tags{background:var(--title-panel);padding:12px 16px}
.title-module{background:var(--title-panel);border-radius:22px;padding:16px;margin:8px 0 0}
.title-module h2{font-size:18px;line-height:22.5px;font-weight:600}
.title-module>.module-heading{margin-bottom:16px;gap:12px}
.module-actions{display:flex;gap:8px;flex:none}
.module-actions .chip,.title-module .chip{height:36px;font-size:14px;padding:0 16px;white-space:nowrap}
.module-actions .chip:first-child{border:1px solid var(--line);background:var(--secondary)}
.cast-rail{scroll-snap-type:none;overscroll-behavior-x:contain;scrollbar-width:none;user-select:none;gap:16px}
.cast-card{width:130px;height:150px}
.title-collections{gap:16px;padding:0;overscroll-behavior-x:contain;scroll-snap-type:none;user-select:none}
.collection-card{width:210px;height:210px;flex:none;position:relative;border:1px solid var(--line);border-radius:22px;background:var(--secondary);padding:0;overflow:hidden}
.collection-card:hover{border-color:var(--accent)}
.collection-card>strong{position:absolute;left:16px;right:16px;top:14px;z-index:3;font-size:15px;line-height:22.5px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:0}
.collection-card>.collection-images{position:absolute;left:0;right:0;bottom:-8px;height:165px;display:flex;align-items:flex-end;justify-content:center;gap:0;transition:transform .3s var(--motion)}
.collection-images>img{width:100px;height:150px;border-radius:14px;border:0;margin-left:-48px;box-shadow:0 0 0 1px #fff3;object-fit:cover}
.collection-images>img:first-child{transform:rotate(-10deg) translateY(5px);margin-left:0}
.collection-images>img:nth-child(2){width:100px;height:150px;z-index:1;transform:rotate(2deg)}
.collection-images>img:last-child{transform:rotate(12deg) translateY(9px);z-index:2}
.collection-card>small{position:absolute;z-index:4;bottom:0;left:0;right:0;padding:24px 16px 10px;background:linear-gradient(transparent,#000a);color:#fff;font-size:11px;line-height:16px;text-align:left}
.collection-card:hover>.collection-images{transform:translateY(-3px)}
.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;overflow:visible}
.collection-grid>.collection-card{width:100%;height:auto;aspect-ratio:1;min-width:0}
.collection-grid .collection-images>img{width:clamp(65px,8vw,100px);height:clamp(100px,12vw,150px)}
.title-collections-panel{margin-top:0}
.title-collections-panel>.module-heading{align-items:flex-start}
.title-statistics{background:var(--title-panel);padding:16px;border-radius:22px;margin:8px 0 0}
.title-statistics>h2{font-size:18px;line-height:28px;font-weight:600;margin:0}
.statistics-caption{display:flex;align-items:center;gap:4px;font-size:14px;line-height:20px;margin:0 0 24px;color:var(--soft)}
.statistics-caption>.icon{width:12px;height:12px;fill:#ffc500;stroke:none;color:#ffc500}
.statistics-preview{height:92px;overflow:hidden;mask-image:linear-gradient(#000 65%,transparent);margin:0}
.title-statistics.expanded .statistics-preview{height:auto;mask-image:none}
.title-statistics:not(.expanded) .watch-statistics button:nth-child(n+4){visibility:hidden}
.statistics-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.histogram-row{grid-template-columns:16px 16px minmax(0,1fr) 28px;gap:6px;line-height:28px;font-size:14px}
.histogram-row>.icon{color:#ffc500;fill:currentColor;stroke:none;width:16px;height:16px}
.histogram-row>div{height:8px;background:var(--secondary);border-radius:999px}
.histogram-row i{background:#ffc500;border-radius:999px}
.histogram-row>span:last-child{font-size:12px;font-weight:600}
.watch-statistics{gap:0}
.watch-statistics button{height:28px;gap:8px;font-size:13px;line-height:20px;display:flex;align-items:center}
.watch-statistics .icon{width:16px;height:16px;flex:none}
.watch-statistics button>span{width:100px;flex:none;white-space:nowrap}
.watch-statistics button>i{height:8px;flex:1;background:var(--secondary);position:relative;display:block;border-radius:999px;overflow:hidden;min-width:10px}
.watch-statistics button>i:after{content:'';display:block;height:100%;width:var(--bar-width);background:#52a0ff}
.watch-statistics strong{min-width:32px;text-align:right;font-size:12px;font-weight:600;margin-left:0}
.statistics-more{display:block;margin:16px auto 0;font-size:14px;line-height:20px;color:var(--accent)}
.title-rightbar{padding-top:0}
:root[data-theme=light] .similar-side{background:#fff;border-radius:22px;padding:16px}
:root[data-theme=light] .similar-side>.similar-item{background:none;padding:0;min-height:105px;border-radius:0}
.episodes-section{margin:0}
.season-toolbar{margin:0 0 8px;gap:12px}
.season-toolbar>.season-select{background:var(--episode-surface)}
.season-toolbar>span{font-size:12px;color:var(--caption)}
.episode-toolbar{display:flex;gap:8px;align-items:center;margin-bottom:8px}
.episode-search{height:40px;display:flex;align-items:center;gap:8px;padding:0 16px;background:var(--episode-surface);border:1px solid var(--comment-border);border-radius:999px;flex:1;min-width:0}
.episode-search>.icon{width:16px;height:16px;color:var(--muted);flex:none}
.episode-search>input{min-width:0;width:100%;border:0;outline:0;background:none;color:var(--text);font-size:14px;line-height:20px}
.episode-search:focus-within{outline:2px solid var(--accent);outline-offset:1px}
.episode-order{height:40px;width:190px;gap:8px;font-size:14px;font-weight:400;background:var(--episode-surface);flex:none}
.episode-order>.icon{width:16px;height:16px}
.episode-list{display:flex;flex-direction:column;gap:8px}
.episode-row{display:flex;align-items:center;width:100%;padding:8px 16px;background:var(--episode-surface);border:1px solid var(--comment-border);border-radius:22px;gap:8px;min-height:60px;overflow:hidden}
.episode-row:hover{background:var(--panel)}
.episode-open{display:flex;align-items:center;gap:16px;flex:1;min-width:0;text-align:left;padding:0;background:none}
.episode-open:active{transform:none}
.episode-number{font-size:18px;line-height:28px;font-weight:700;flex:none;width:8px;color:var(--muted)}
.episode-description{display:flex;flex-direction:column;min-width:0;gap:8px}
.episode-name{font-size:16px;line-height:19.2px;overflow-wrap:anywhere}
.unread-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:var(--accent);margin:0 4px 3px 8px}
.episode-voice{font-size:12px;line-height:16px;color:var(--caption)}
.episode-date{margin-left:auto;font-size:12px;line-height:16px;color:var(--caption);white-space:nowrap;flex:none}
.episode-date-mobile{display:none}
.episode-like{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:64px;height:36px;border-radius:999px;padding:0 8px;font-size:14px;line-height:20px;flex:none}
.episode-like>.icon{width:16px;height:16px}
.episode-like:hover{background:var(--raised)}
.episode-like.active{color:var(--accent)}
.episode-like.active>.icon{fill:currentColor}
.episode-empty{padding:40px 16px;text-align:center;font-size:14px;line-height:22px;color:var(--muted)}
/* Comment compose button, collapsed editor, sorting and reply threads. */
.comments-section{margin:32px 0 0;overflow-anchor:none}
.title-details #title-content>.comments-section{margin-top:8px}
.comments-section>h2.sr-only{margin:0;width:1px;height:1px;padding:0}
.comment-composer{margin-bottom:16px}
.comment-compose-trigger{height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--comment-border);border-radius:14px;width:100%;padding:0 16px;text-align:left;font-size:14px;line-height:20px}
.comment-send-circle{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;color:#fff;background:var(--accent);border-radius:50%;flex:none}
.comment-send-circle>.icon{width:16px;height:16px}
.comment-sort{display:flex;align-items:center;gap:4px;padding:4px;background:var(--secondary);border-radius:999px;width:max-content;margin-bottom:20px}
.comment-sort>button{height:28px;padding:0 12px;border-radius:999px;font-size:14px;line-height:20px;font-weight:500}
.comment-sort>button.active{background:var(--accent);color:#fff}
.comments-list{display:flex;flex-direction:column;gap:16px;overflow-anchor:none}
.comment{display:flex;align-items:flex-start;gap:12px;padding:0;border:0;margin:0;width:100%;overflow-anchor:none}
.comment-avatar{width:50px;height:50px;padding:5px;flex:none}
.comment-avatar>.avatar{width:40px;height:40px;border-radius:12px;font-size:18px;line-height:24px;font-weight:600;background:#8ebd80;color:#fff}
.comment-avatar>.avatar.orange{background:#a88e74;color:#fff}
.comment-content{flex:1;min-width:0}
.comment-bubble{padding:8px 12px;border:1px solid var(--comment-border);border-radius:14px;background:var(--comment-bubble)}
.comment-meta{display:flex;align-items:center;gap:6px;min-height:20px;margin:0 0 4px;font-size:14px;line-height:20px;position:relative;padding-right:20px}
.comment-meta>strong{font-size:14px;line-height:20px;font-weight:600;overflow-wrap:anywhere}
.own-comment-label{font-size:11px!important;line-height:16px;color:var(--muted)}
.comment-more{position:absolute;right:-4px;top:-1px;width:20px;height:20px;flex:none}
.comment-more .icon{width:16px;height:16px}
.comment-text-wrap{position:relative;min-width:0}
.comment-text{font-size:15px;line-height:22.5px;color:var(--text);overflow-wrap:anywhere}
.comment-text strong{font-weight:700}
.comment-text-wrap.is-spoiler>.comment-text{filter:blur(5px);user-select:none;pointer-events:none}
.spoiler-reveal{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--comment-bubble) 55%,transparent);border-radius:8px;color:var(--accent);font-size:12px;font-weight:500}
.comment-footer{display:flex;align-items:center;gap:4px;padding:0 4px;min-height:32px;width:100%}
.comment-footer>time{font-size:12px;line-height:16px;color:var(--caption);white-space:nowrap}
.comment-reply-button{height:30px;padding:0 12px;color:var(--muted);font-size:12px;line-height:16px;font-weight:600;letter-spacing:.1px;border-radius:999px}
.comment-reply-button:hover{text-decoration:underline}
.comment-votes{display:flex;align-items:center;gap:0;margin-left:auto;flex:none;font-size:12px;line-height:16px}
.comment-votes>button{height:30px;min-width:28px;display:flex;align-items:center;justify-content:center;border-radius:999px;padding:0 5px}
.comment-votes .icon{width:14px;height:14px}
.comment-votes>button[aria-pressed=true]{color:var(--accent)}
.comment-votes>button[aria-pressed=true] .icon{fill:currentColor}
.comment-votes>span{min-width:16px;text-align:center;font-weight:500}
.comment-votes>button:hover{background:var(--panel)}
.view-replies{display:flex;align-items:center;gap:8px;margin:4px 0 8px;padding:0 4px;min-height:24px;font-size:12px;line-height:16px;color:var(--accent);font-weight:600;text-align:left}
.view-replies>span{width:24px;height:1px;background:var(--line);flex:none}
.comment-replies{display:flex;flex-direction:column;gap:16px;margin:12px 0 0;padding-left:12px;border-left:1px solid var(--line)}
.comment-replies[hidden]{display:none}
.comment-is-reply .comment-avatar{width:36px;height:36px;padding:2px}
.comment-is-reply .comment-avatar>.avatar{width:32px;height:32px;border-radius:10px;font-size:14px}
.comment-is-reply .comment-footer{flex-wrap:wrap}
.comment-is-reply .comment-footer>time{font-size:11px}
.comments-more{align-self:center;gap:8px;font-size:14px;margin:12px 0}
.comments-more .icon{width:14px;height:14px;transform:rotate(90deg)}
.comment-form{border:1px solid var(--comment-border);border-radius:14px;background:var(--comment-bubble);overflow:hidden;margin:0 0 12px}
.comment-content>.comment-form{margin-top:8px}
.comment-editor-tools{display:flex;align-items:center;gap:2px;padding:6px 8px;border-bottom:1px solid var(--line)}
.comment-editor-tools>button{height:28px;min-width:28px;padding:0 8px;font-size:15px;line-height:20px;border-radius:8px}
.comment-editor-tools>button:hover{background:var(--panel)}
.comment-editor-tools>.spoiler-toggle{display:flex;align-items:center;gap:6px;font-size:12px;line-height:16px;margin-left:auto}
.spoiler-toggle>.icon{width:14px;height:14px}
.spoiler-toggle.active{color:var(--accent);background:var(--accent-bg)}
.comment-form textarea{border:0;border-radius:0;min-height:110px;padding:12px;resize:vertical;background:none;font-size:15px;line-height:22.5px;color:var(--text);scroll-margin-top:100px;scroll-margin-bottom:150px}
.comment-form textarea:focus-visible{outline:none}
.comment-form:focus-within{border-color:var(--accent)}
.comment-form-bottom{padding:8px 12px;margin:0;gap:8px;display:flex;align-items:center}
.comment-form-bottom>span{font-size:11px;line-height:16px;color:var(--muted);margin-right:auto}
.comment-form-bottom>.text-button{font-size:12px;line-height:16px;padding:0 6px}
.comment-form-bottom .primary-button{height:32px;font-size:12px;padding:0 12px;gap:6px}
.comment-form-bottom .primary-button>.icon{width:16px;height:16px}
.comment-actions-dialog h2{font-size:18px;line-height:26px}
.delete-comment{color:var(--red)}
.poster-rail,[data-drag-scroll],.cast-rail,.title-collections,.title-tabs{scroll-snap-type:none;overscroll-behavior-x:contain}
.is-pointer-scrolling{scroll-behavior:auto!important;scroll-snap-type:none!important}
.dragging,.dragging *{cursor:grabbing!important;user-select:none!important}
.title-wallpaper{contain:paint}
@media(max-height:650px) and (min-width:768px){.title-sidebar{position:static}}
@media(max-width:1050px){.watch-statistics button>span{width:80px}.watch-statistics .icon{width:13px;height:13px}.statistics-grid{gap:16px}.watch-statistics button{gap:5px}}
@media(max-width:767px){
 .title-page{padding-left:16px;padding-right:16px}
 .title-sidebar{position:static;top:auto;align-self:center}
 .title-heading{padding-top:24px}
 .title-details{padding:0}
 .title-tab-area{margin-right:0}
 .title-tabs{margin-left:0;margin-right:0;padding:4px;width:max-content;max-width:100%;border-radius:999px;min-height:40px;gap:8px;background:var(--title-panel);margin-bottom:16px}
 .title-tabs button{font-size:14px;line-height:20px;height:32px;padding:4px 16px}
 .plot-panel{padding:8px;border-radius:22px;margin-bottom:8px;background:var(--title-panel)}
 .plot{font-size:16px;line-height:24px;padding-right:8px}
 .plot-expand{bottom:5px;right:5px}
 .genre-tags{background:var(--title-panel);border-radius:22px;padding:8px;gap:4px 8px;margin-bottom:24px}
 .genre-link{padding:4px 8px}
 .fact-grid{padding:0 8px}
 .title-module{margin:8px 0 0;padding:16px}
 .title-module h2{font-size:18px;line-height:22.5px}
 .title-module>.module-heading{align-items:flex-start;gap:8px}
 .module-actions{gap:6px}
 .module-actions .chip,.title-module .chip{font-size:12px;line-height:16px;height:32px;padding:0 12px}
 .collections-module .module-actions>.chip:first-child{display:none}
 .cast-rail{margin:0;padding:0 0 4px;gap:16px}
 .title-collections{margin:0;padding:0 0 4px;gap:16px}
 .collection-card{width:190px;height:190px}
 .collection-card>strong{font-size:14px;line-height:20px}
 .collection-card>.collection-images{height:145px;bottom:-10px}
 .collection-images>img,.collection-images>img:nth-child(2){width:90px;height:135px}
 .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:visible}
 .collection-grid>.collection-card{width:100%;height:auto;aspect-ratio:1;min-width:0;border-radius:18px}
 .collection-grid .collection-images>img,.collection-grid .collection-images>img:nth-child(2){width:78px;height:117px;margin-left:-48px}
 .collection-grid .collection-images>img:first-child{margin-left:0}
 .collection-grid .collection-card>strong{left:10px;right:10px;top:10px;font-size:13px;line-height:18px}
 .title-collections-panel>.module-heading{align-items:center;flex-wrap:wrap}
 .title-statistics{margin:8px 0 0;padding:16px}
 .statistics-grid{gap:16px;grid-template-columns:1fr 1fr}
 .statistics-caption{font-size:12px;line-height:18px;margin-bottom:20px}
 .histogram-row{font-size:12px;grid-template-columns:13px 12px minmax(0,1fr) 23px;gap:4px}
 .histogram-row>.icon{width:12px;height:12px}
 .histogram-row>span:last-child{font-size:11px}
 .watch-statistics button{font-size:12px;gap:5px}
 .watch-statistics button>span{width:auto;flex:1}
 .watch-statistics button>i{display:none}
 .watch-statistics strong{font-size:11px;min-width:25px}
 .watch-statistics .icon{width:13px;height:13px}
 .comments-section{margin:32px 0 0}
 .comment-compose-trigger{height:58px;padding:0 16px;font-size:14px}
 .comment-avatar{width:50px;height:50px}
 .comment .avatar{width:40px;height:40px;font-size:18px}
 .comment-meta{gap:6px;font-size:14px;line-height:20px}
 .comment-meta>strong{font-size:14px;line-height:20px}
 .comment-text{font-size:15px;line-height:22.5px}
 .comment-footer{gap:0;flex-wrap:wrap}
 .comment-footer>time{font-size:11px;line-height:16px}
 .comment-reply-button{padding:0 10px;font-size:11px;line-height:16px}
 .comment-votes>button{min-width:26px;padding:0 4px}
 .comment-votes>span{min-width:12px}
 .comment-votes .icon{width:13px;height:13px}
 .comment-is-reply{gap:8px}
 .comment-is-reply .comment-avatar{width:30px;height:30px;padding:0}
 .comment-is-reply .comment-avatar>.avatar{width:30px;height:30px;font-size:13px}
 .comment-is-reply .comment-bubble{padding:8px}
 .comment-is-reply .comment-text{font-size:14px;line-height:21px}
 .comment-replies{padding-left:8px}
 .comment-form textarea{font-size:15px;line-height:22.5px}
 .comment-form-bottom>span{display:none}
 .comment-form-bottom>.text-button{margin-right:auto}
 .comment-form-bottom .primary-button{font-size:12px;height:32px;padding:0 12px}
 :root[data-theme=light] .similar-side{padding:16px}
}
@media(max-width:370px){.title-page{padding-left:12px;padding-right:12px}.title-tabs button{font-size:13px;padding:4px 14px}.title-module,.title-statistics{padding:12px}.title-module h2{font-size:17px}.comment-avatar{width:40px;height:40px;padding:2px}.comment .comment-avatar>.avatar{width:36px;height:36px}.comment{gap:8px}.comment-bubble{padding:8px}.comment-meta>strong{font-size:13px}.comment-text{font-size:14px;line-height:21px}.comment-more{right:-3px}.comment-footer>time{font-size:10px}.comment-reply-button{font-size:10px;padding:0 6px}.comment-votes .icon{width:12px;height:12px}.comment-votes>button{min-width:22px;padding:0 3px}.comment-votes>span{font-size:11px}.episode-row{padding:8px 12px}.episode-open{gap:12px}.episode-name{font-size:14px}.episode-like{min-width:52px;font-size:12px;gap:5px;padding:0 4px}.episode-toolbar{gap:6px}.episode-order{width:174px;font-size:13px;padding:0 12px}.episode-search{padding:0 12px}.episode-search>.icon{display:none}.collection-grid .collection-images>img,.collection-grid .collection-images>img:nth-child(2){width:65px;height:98px}.collection-card>.collection-images{bottom:-20px}.collection-grid .collection-card>strong{font-size:12px}.statistics-grid{gap:12px}}
@media(max-width:639px){.episode-date{display:none}.episode-date-mobile{display:inline}.episode-order{font-size:13px}.episode-search>input{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

:root{--action-bg:#2864ce;--action-hover:#2259bc}
:root[data-theme=light]{--action-bg:#2563eb;--action-hover:#2058d3}
.primary-button,.profile-button,.drawer-login,.title-save,.mobile-save,
.title-tab-indicator,.comment-sort>button.active,.comment-send-circle{background-color:var(--action-bg)}
.primary-button:hover,.profile-button:hover,.title-save:hover,.mobile-save:hover{background-color:var(--action-hover)}
.episode-row.is-highlighted{
  border-color:var(--accent);
  background:color-mix(in srgb,var(--panel) 88%,var(--accent));
  box-shadow:inset 3px 0 var(--accent);
}
.search-all{display:flex;align-items:center;gap:8px;width:max-content;margin:8px 12px 12px;padding:6px 4px}
.search-all .icon{width:16px;height:16px}
.menu-drawer>.dialog-close,.menu-drawer>.dialog-close:focus-visible{
  clip-path:none;
  width:36px;
  height:36px;
  top:16px;
  right:16px;
  background:var(--panel);
}
.menu-drawer .drawer-login{width:calc(100% - 44px)}
.title-tabs [role=tab]:focus-visible{outline-offset:-2px}
@media(hover:none){
  .title-tabs [role=tab]:hover{background:transparent}
}
@media(max-width:767px){
  html{scroll-padding-bottom:calc(72px + env(safe-area-inset-bottom))}
  html:has(body[data-page=title]){scroll-padding-bottom:calc(130px + env(safe-area-inset-bottom))}
  .header.header-hidden:focus-within{transform:none!important;z-index:65}
}

.home-collection-card::after {
  background: linear-gradient(180deg, #080b12dd 0%, #080b1226 55%, #080b12c9 100%);
}
.home-collection-card > small {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 16px;
  right: 12px;
  color: #fff;
  font-size: 13px;
  line-height: 18px;
}
@media (min-width: 1280px) {
  .home-collection-rail .home-collection-card { width: calc((100% - 80px) / 6); }
}
.collections-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 8px;
}
.collections-grid .home-collection-card {
  height: auto;
  aspect-ratio: 16 / 10;
}
.collections-grid .home-collection-card > img { position: absolute; inset: 0; }
.collections-grid .home-collection-card > strong { font-size: 19px; line-height: 25px; }
.collection-detail { padding-top: 24px; }
.collection-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 12px;
  padding: 0 12px 0 8px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--soft);
}
.collection-back:hover { color: var(--accent); }
.collection-back .icon { width: 18px; height: 18px; }
.collection-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}
.collection-hero-copy {
  align-self: center;
  padding: clamp(22px, 3.7vw, 54px);
}
.collection-hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
.collection-hero-copy p { max-width: 48ch; color: var(--soft); font-size: 16px; line-height: 1.6; }
.collection-hero-image {
  position: relative;
  min-height: 260px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(ellipse at 53% 48%, var(--accent-bg), var(--secondary));
}
.collection-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.collection-hero-image.has-wide-cover img { object-fit: cover; }
.collection-lineup { margin: 30px 0 12px; }
.collection-lineup-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  justify-content: space-between;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}
.collection-lineup-heading h2 { font-size: 23px; line-height: 30px; }
.collection-lineup-heading > span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.collection-title-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.collection-title-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 126px;
  height: 100%;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.collection-title-link:hover { border-color: var(--accent); }
.collection-title-link img { display: block; width: 68px; height: 102px; object-fit: cover; border-radius: 7px; }
.collection-title-copy h3 { font-size: 17px; line-height: 22px; overflow-wrap: anywhere; }
.collection-title-copy p, .collection-title-copy > span { display: block; color: var(--muted); font-size: 13px; line-height: 18px; }
.collection-title-copy p { margin: 5px 0 2px; }
.collection-title-link .inline-rating { align-self: start; margin: 3px 3px 0 0; }
@media (max-width: 767px) {
  .collections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collections-grid .home-collection-card { aspect-ratio: 1; }
  .collections-grid .home-collection-card > strong { font-size: 16px; line-height: 21px; }
  .collection-detail { padding-top: 12px; }
  .collection-hero { display: flex; flex-direction: column; }
  .collection-hero-copy { width: 100%; padding: 18px 16px 20px; }
  .collection-hero-copy h1 { margin-bottom: 10px; }
  .collection-hero-copy p { font-size: 15px; line-height: 1.52; }
  .collection-hero-image { order: -1; min-height: 0; max-height: 250px; }
  .collection-lineup { margin-top: 24px; }
  .collection-title-list { grid-template-columns: 1fr; gap: 8px; }
  .collection-title-link { min-height: 100px; padding: 9px; gap: 11px; }
  .collection-title-link img { width: 52px; height: 78px; }
  .collection-title-copy h3 { font-size: 15px; line-height: 19px; }
  .collection-title-copy p, .collection-title-copy > span { font-size: 12px; line-height: 16px; }
}
@media (hover: none) {
  .home-collection-card:hover > img { transform: none; }
}


.latest-update-date{display:grid;justify-items:end;gap:3px;flex:0 0 min(100px,24vw);min-width:0;text-align:right}
.latest-update .latest-update-date time{padding:0;white-space:nowrap}
.latest-update-date small{font-size:11px;line-height:1.25;color:var(--caption)}
.notifications-page .latest-updates-list{margin-bottom:16px}
.kadr-series-follow>.icon{flex:none;width:18px;height:18px}

.kadr-site-footer {
  margin-block-start: clamp(42px, 6vw, 72px);
}

.kadr-site-footer .footer-main {
  grid-template-columns: minmax(168px, 1.15fr) repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.3vw, 28px);
  padding-block: 28px 30px;
  border-top: 1px solid var(--line);
}

.kadr-site-footer .footer-brand .brand {
  gap: 7px;
  font-size: 22px;
  line-height: 1.2;
}

.kadr-site-footer .footer-brand p {
  margin-top: 7px;
  max-width: 22ch;
}

.kadr-site-footer .footer-group > summary {
  display: none;
}

.kadr-site-footer .footer-heading {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}

.kadr-site-footer .footer-group > div,
.kadr-site-footer .footer-contact > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.kadr-site-footer :is(.footer-group, .footer-contact) a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.kadr-site-footer :is(.footer-group, .footer-contact) a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.kadr-site-footer .footer-bottom {
  flex-direction: row;
  align-items: center;
  gap: 8px 16px;
  padding-block-start: 14px;
}

.kadr-site-footer .footer-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  font-size: 13px;
  color: var(--text);
}

.kadr-site-footer .footer-theme-track {
  position: relative;
  width: 27px;
  height: 16px;
  flex: none;
  border-radius: 999px;
  background: var(--muted);
}

.kadr-site-footer .footer-theme-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s var(--motion);
}

.kadr-site-footer .footer-theme-toggle[aria-checked="true"] .footer-theme-track {
  background: var(--action-bg);
}

.kadr-site-footer .footer-theme-toggle[aria-checked="true"] .footer-theme-track::after {
  transform: translateX(11px);
}

@media (min-width: 900px) {
  html[data-kadr-tv="on"] .kadr-site-footer {
    padding-inline: var(--tv-safe);
  }

  html[data-kadr-tv="on"] .kadr-site-footer > :is(.footer-main, .footer-bottom) {
    padding-inline: 0;
  }
}

@media (min-width: 768px) and (max-width: 1079px) {
  .kadr-site-footer .footer-main {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .kadr-site-footer .footer-brand {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 16px;
  }

  .kadr-site-footer .footer-brand p {
    margin: 0;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .kadr-site-footer .footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block: 18px 12px;
  }

  .kadr-site-footer .footer-brand {
    display: block;
    margin-block-end: 14px;
  }

  .kadr-site-footer .footer-brand p {
    margin: 3px 4px 0;
    max-width: none;
  }

  .kadr-site-footer .footer-group > .footer-heading {
    display: none;
  }

  .kadr-site-footer .footer-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    padding: 8px 4px;
  }

  .kadr-site-footer .footer-group > summary::after {
    content: none;
  }

  .kadr-site-footer .footer-group summary > .icon {
    display: block;
    width: 18px;
    height: 18px;
    color: var(--muted);
    transition: transform .18s var(--motion);
  }

  .kadr-site-footer .footer-group[open] summary > .icon {
    transform: rotate(180deg);
  }

  .kadr-site-footer .footer-group > div {
    padding: 0 4px 10px;
  }

  .kadr-site-footer :is(.footer-contact, .footer-group) a {
    min-height: 44px;
  }

  .kadr-site-footer .footer-contact {
    padding: 13px 4px 0;
  }

  .kadr-site-footer .footer-contact .footer-heading {
    margin: 0;
  }

  .kadr-site-footer .footer-contact > div {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 16px;
  }

  .kadr-site-footer .footer-theme-toggle {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kadr-site-footer .footer-theme-track::after,
  .kadr-site-footer .footer-group summary > .icon {
    transition: none;
  }
}
