@charset "UTF-8";
:root{--ink:#29282d;--muted:#85838b;--accent:#b9404c;--line:#e8e5df;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#faf9f6;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{touch-action:manipulation;transition:background .18s,transform .18s}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #c76b77;outline-offset:4px}button:not(:disabled):active{transform:translateY(1px)}[hidden]{display:none!important}.shell{max-width:1320px;margin:0 auto;padding:0 48px}.header{height:88px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center;font-size:24px;font-weight:750;letter-spacing:1px}.brand-mark{background:var(--accent);color:white;border-radius:13px 13px 5px 13px;width:44px;height:44px;display:grid;place-items:center;font-size:25px;transform:rotate(-5deg)}.brand small{display:block;font-size:10px;letter-spacing:3px;color:var(--muted);font-weight:400;margin-top:3px}.header nav{display:flex;align-items:center;gap:38px;font-size:14px}.nav-active{position:relative;font-weight:600}.nav-active:after{content:"";position:absolute;bottom:-15px;left:calc(50% - 10px);width:20px;height:3px;border-radius:2px;background:var(--accent)}.local-badge{font-size:12px;border:1px solid var(--line);border-radius:24px;padding:9px 13px;color:#78767c;display:flex;align-items:center;gap:7px}.local-badge i{width:6px;height:6px;background:#73977c;border-radius:50%}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--accent);font-weight:650;margin:0 0 13px}.library{padding:18px 0 50px;scroll-margin-top:25px}.section-title{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px}.section-title .eyebrow{font-size:9px;margin-bottom:9px}.section-title h1{font-size:25px;margin:0;letter-spacing:.5px}.subtle{font-size:12px;line-height:1.7;color:var(--muted)}.search-bar{display:flex;align-items:stretch;background:#fff;border:1px solid var(--line);border-radius:14px;padding:7px;box-shadow:0 4px 16px #2d242403}.source-field{width:165px;flex-shrink:0;display:flex;flex-direction:column;padding:3px 20px;border-right:1px solid var(--line)}.source-field label{font-size:9px;color:var(--muted);letter-spacing:1px;margin-bottom:2px}.source-field select{border:0;background:transparent;width:100%;font-size:14px;font-weight:600;cursor:pointer;padding:0}.query-field{flex:1;display:flex;align-items:center;gap:12px;padding:0 20px;min-width:0}.query-field>span{font-size:28px;color:#8d8790;line-height:1}.query-field input{border:0;background:transparent;width:100%;height:45px;color:var(--ink);font-size:14px;min-width:0}.query-field input::placeholder{color:#a5a0a6}.primary-button{background:var(--accent);color:#fff;border-radius:10px;padding:0 23px;font-size:13px;white-space:nowrap;display:flex;align-items:center;gap:26px}.primary-button:hover{background:#9e303d}.primary-button span{font-size:20px}.clear-button{background:transparent;font-size:21px;color:var(--muted)}.search-options{display:flex;align-items:center;justify-content:space-between;margin-top:16px;gap:10px}.quick-search{display:flex;gap:10px;align-items:center;font-size:11px;color:var(--muted)}.quick-search button{background:#eeeae5;border-radius:30px;color:#777078;font-size:11px;padding:6px 13px}.quick-search button:hover{background:#e8d8d8;color:var(--accent)}.text-button{background:transparent;font-size:12px;color:#79707b;padding:8px 0}.text-button:hover{color:var(--accent)}.source-hint{font-size:12px;color:var(--accent);margin:12px 0 0;line-height:1.7}.source-hint:empty{display:none}.results-heading{display:flex;align-items:center;justify-content:space-between;margin:32px 0 20px}.results-heading h2{font-size:15px;margin:0}.status{font-size:13px;color:#716a73;line-height:1.8;white-space:pre-line}.status:empty{display:none}.status.error{color:#b33d47;padding:15px 18px;border:1px solid #edced0;border-radius:10px;background:#fff3f3}.cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:27px 20px}.card{text-align:left;padding:0;background:transparent;min-width:0}.poster{height:230px;border-radius:12px;padding:22px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;color:#fff4e9;background:linear-gradient(145deg,#706f7b,#404053);transition:transform .2s,box-shadow .2s}.poster:after{content:"";position:absolute;width:200px;height:200px;right:-90px;top:5%;border:1px solid #fff2;box-shadow:0 0 0 25px #ffffff04,0 0 0 50px #ffffff03;border-radius:50%}.tone-1{background:linear-gradient(135deg,#8e766b,#5d514d)}.tone-2{background:linear-gradient(135deg,#6d877c,#3b5b55)}.tone-3{background:linear-gradient(135deg,#b57279,#743e53)}.tone-4{background:linear-gradient(135deg,#6a829a,#425167)}.poster-title{font-family:serif;font-size:24px;font-weight:600;line-height:1.6;letter-spacing:2px;position:relative;z-index:1;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical}.poster-top{display:flex;justify-content:space-between;font-size:9px;letter-spacing:2px;opacity:.7;margin-bottom:16px}.poster-bottom{font-size:10px;margin-top:10px;display:flex;align-items:center;justify-content:space-between}.poster-play{width:25px;height:25px;border:1px solid #fff7;border-radius:50%;display:grid;place-items:center;font-size:9px}.card:hover .poster{transform:translateY(-4px);box-shadow:0 10px 25px #45334518}.card h4{font-size:13px;line-height:1.7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:12px 0 3px}.card>p{font-size:11px;color:var(--muted);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-state{border:1px dashed #dfd9d3;border-radius:16px;padding:46px 20px;text-align:center;color:var(--muted)}.empty-state>span{display:grid;place-items:center;margin:0 auto 20px;border:1px solid #dfd9d3;border-radius:50%;width:40px;height:40px;font-size:12px;color:#ae9392}.empty-state h3{font-size:14px;font-weight:500;color:#777078}.empty-state p{font-size:12px;line-height:1.8}.outline-button{border:1px solid #ddd6d2;background:transparent;border-radius:9px;padding:10px 17px;color:#6c626b;font-size:12px}.outline-button:hover:not(:disabled){background:#eee7e2}.outline-label{font-size:11px;border:1px solid var(--line);padding:8px 14px;border-radius:20px;color:var(--muted);white-space:nowrap}#load-more{display:block;margin:30px auto 0}.detail{padding:15px 0 50px}.back-button{background:transparent;color:#837984;font-size:13px;padding:8px 0;margin-bottom:28px}.detail-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:24px}.detail-heading h1{font-size:28px;line-height:1.6;margin:0 0 8px}.detail-heading .subtle{margin:0}.watch-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.watch-main{min-width:0}.video-stage{position:relative;aspect-ratio:16/10;max-height:68vh;background:#16181e;border-radius:16px;overflow:hidden}.video-stage video{width:100%;height:100%;display:block;background:#111318;object-fit:contain}.player-cover{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(circle at 50% 20%,#33303a,#191a21 70%);padding:30px;text-align:center;color:#e7dde0}.play-symbol{width:60px;height:60px;display:grid;place-items:center;border:1px solid #d7bcc440;border-radius:50%;margin-bottom:15px;font-size:18px;color:#cf939b}.player-cover h2{font-size:19px;font-weight:500;letter-spacing:1px}.player-cover p{font-size:12px;color:#aaa0aa;max-width:420px;line-height:1.8;margin-top:0}.light-button{background:#efd9dd;color:#71313e;border-radius:8px;font-size:12px;padding:10px 18px;margin-top:12px}.playback-bar{display:flex;gap:14px;align-items:center;justify-content:space-between;margin:16px 0 14px;font-size:11px;color:var(--muted)}.playback-bar>div{display:flex;align-items:center;gap:8px}.playback-bar strong{font-size:12px;font-weight:500;color:#675762}.live-dot{width:5px;height:5px;background:var(--accent);border-radius:50%}.episode-controls{display:flex;align-items:center;justify-content:space-between;padding-bottom:22px;border-bottom:1px solid var(--line)}.synopsis{padding-top:22px}.synopsis summary{font-size:14px;font-weight:600;cursor:pointer}.synopsis p{font-size:13px;line-height:2;color:#867d85;white-space:pre-line;overflow-wrap:anywhere}.tags{display:flex;flex-wrap:wrap;gap:8px}.tags span{padding:5px 10px;background:#eee9e4;color:#8b747d;border-radius:4px;font-size:10px}.episodes-panel{background:#fff;border:1px solid var(--line);padding:23px;border-radius:16px}.episode-header{display:flex;align-items:center;justify-content:space-between}.episode-header h2{font-size:17px;margin:0}.episodes-panel>p{font-size:11px;color:#aaa1a8;margin:9px 0 20px}.episodes{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;max-height:495px;overflow-y:auto;padding:3px;scrollbar-width:thin}.episodes button{background:#f5f2ee;color:#8a7d85;border:1px solid transparent;border-radius:7px;min-height:42px;font-size:12px}.episodes button:hover{border-color:#dab5bc;color:var(--accent)}.episodes button.active{background:var(--accent);color:white;box-shadow:0 3px 8px #ba495131}.footer{border-top:1px solid var(--line);padding-top:26px;padding-bottom:30px;display:flex;justify-content:space-between;font-size:10px;color:#a39ba2;gap:20px}.footer b{font-weight:550;color:#86727b}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.loading .search-bar{box-shadow:0 0 0 2px #bb72731a}.loading #search-button{opacity:.65}.loading .empty-state>span{animation:breathe 1s infinite alternate}@keyframes breathe{to{opacity:.3}}
@media(min-width:1400px){.poster{height:260px}}
@media(max-width:1100px){.shell{padding-left:30px;padding-right:30px}.cards{grid-template-columns:repeat(4,minmax(0,1fr))}.watch-layout{grid-template-columns:minmax(0,1fr) 260px}.episodes-panel{padding:18px}}
@media(max-width:800px){.shell{padding-left:22px;padding-right:22px}.header{height:88px}.header nav{gap:24px}.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 16px}.poster{height:240px}.source-field{width:140px;padding:3px 12px}.query-field{padding:0 12px;gap:8px}.primary-button{padding:0 18px;gap:8px}.watch-layout{grid-template-columns:1fr}.episodes-panel{order:2}.episodes{grid-template-columns:repeat(8,1fr);max-height:240px}.watch-main{display:contents}.video-stage{grid-row:1;aspect-ratio:16/10}.playback-bar{grid-row:2;margin:0}.episode-controls{grid-row:3;padding:0 0 18px}.episodes-panel{grid-row:4}.synopsis{grid-row:5;padding-top:0}.detail-heading h1{font-size:24px}.detail-heading .outline-label{display:none}}
@media(max-width:560px){.shell{padding-left:18px;padding-right:18px}.header{height:80px}.brand{font-size:21px}.brand-mark{width:36px;height:36px;font-size:22px;border-radius:10px 10px 4px 10px}.brand small{font-size:8px;letter-spacing:2px}.header nav .nav-active{display:none}.local-badge{font-size:10px;padding:7px 9px}.library{padding-top:14px}.section-title h1{font-size:21px}.section-title{margin-bottom:19px}.subtle{font-size:10px}.search-bar{flex-wrap:wrap;padding:5px;border-radius:11px}.source-field{width:100px;padding:4px 8px}.source-field label{font-size:8px}.source-field select{font-size:12px}.query-field{padding:0 10px}.query-field input{font-size:12px;height:38px}.query-field>span{display:none}.primary-button{width:100%;justify-content:center;height:38px;margin-top:7px;font-size:12px}.search-options{align-items:flex-start;flex-direction:column;gap:8px;margin-top:14px}.quick-search{gap:8px;font-size:10px}.quick-search button{font-size:10px;padding:5px 11px}.text-button{font-size:11px}.source-hint{font-size:11px}.results-heading{margin-top:24px}.results-heading h2{font-size:13px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 14px}.poster{height:226px;padding:19px}.poster-title{font-size:23px}.card h4{font-size:12px}.card>p{font-size:10px}.footer{font-size:9px;flex-direction:column;gap:12px;padding-top:22px;padding-bottom:25px}.back-button{margin-bottom:18px;font-size:12px}.detail-heading h1{font-size:21px}.detail-heading .eyebrow{font-size:10px}.video-stage{aspect-ratio:4/3;border-radius:11px;max-height:none}.player-cover{padding:20px}.player-cover h2{font-size:17px}.player-cover p{font-size:11px}.episodes{grid-template-columns:repeat(5,1fr)}.playback-bar{font-size:10px;align-items:flex-start}.playback-bar>span{max-width:50%;text-align:right;line-height:1.7}.episode-controls .outline-button{padding:9px 13px;font-size:11px}.watch-layout{gap:17px}.synopsis p{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.poster-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .2s}.poster.has-cover .poster-image{opacity:1}.poster.has-cover .poster-title{visibility:hidden}.poster.has-cover:after{inset:0;width:auto;height:auto;border:0;box-shadow:none;border-radius:0;background:linear-gradient(180deg,#0006,transparent 30%,transparent 60%,#0008)}.poster-top,.poster-bottom{position:relative;z-index:1}.poster.has-cover .poster-top{opacity:1;text-shadow:0 1px 3px #000}.poster.has-cover .poster-bottom{text-shadow:0 1px 3px #000}
.metadata-only{display:flex;align-items:flex-start;gap:24px;padding:24px;border:1px solid var(--line);border-radius:14px;background:#fff}.metadata-only>img{width:160px;height:auto;max-height:280px;object-fit:contain;border-radius:9px;flex-shrink:0}.metadata-only>div{min-width:0;flex:1}.metadata-only h2{font-size:17px;margin:0 0 12px}.metadata-only p{font-size:14px;line-height:2;white-space:pre-line;overflow-wrap:anywhere;color:#716a73;margin:0 0 16px}.metadata-only .outline-button{margin-top:22px}@media(max-width:560px){.metadata-only{padding:18px;gap:16px;flex-wrap:wrap}.metadata-only>img{width:110px;max-height:175px}.metadata-only>div{flex-basis:100%}.metadata-only p{font-size:13px}}

/* Mitao branding and a full-width mobile source selector. */
.brand-mark{background:transparent;transform:none;object-fit:contain;box-shadow:none;border-radius:14px}
.source-field{width:205px;flex-shrink:0;position:relative;padding:8px 16px}.source-field label{font-size:11px;display:flex;justify-content:space-between;gap:12px;color:#786f70}.source-field label span{color:#b94f68;font-weight:700}.source-field select{font-size:17px;min-height:30px;font-weight:750;cursor:pointer;width:100%;color:#32272c}.source-field:focus-within{outline:2px solid #d97b90;outline-offset:2px;border-radius:12px}
.announcements{display:grid;gap:10px;margin:0 0 18px}.announcements[hidden]{display:none}.notice{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid #efd9dd;border-radius:16px;background:#fff6f6}.notice strong{font-size:15px}.notice p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;margin:5px 0 0;color:#71636a}.notice-label{display:inline-block;margin-right:10px;color:#b44361;font-size:12px;font-weight:700}.notice-close{border:0;background:transparent;font-size:24px;min-width:32px;min-height:32px;cursor:pointer;color:#8c747b}
@media(max-width:560px){.search-bar{gap:10px;padding:10px;flex-wrap:wrap}.source-field{width:100%;flex:0 0 100%;min-height:66px;border:1px solid #ead4dc;border-radius:12px;background:#fff5f7;padding:11px 14px}.source-field label{font-size:13px;color:#78636a}.source-field label span{font-size:13px}.source-field select{font-size:20px;min-height:34px;padding-top:3px}.query-field{min-height:45px;flex:1 1 0;width:auto}.search-bar>.primary-button{width:auto;flex:0 0 auto;min-height:45px;font-size:13px;padding:0 14px}.notice{padding:12px}.notice strong{font-size:14px}.section-title{gap:10px}.section-title .subtle{font-size:11px}.brand-mark{width:40px;height:40px}}

.pagination{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin:24px 0}.page-label{font-size:14px;white-space:nowrap}.page-jump{display:flex;align-items:center;gap:10px}.page-jump input{width:66px;border:1px solid var(--line);border-radius:8px;padding:10px;background:#fff;color:var(--ink)}.back-hint{font-size:12px;color:var(--muted);margin-left:18px}#results-title{scroll-margin-top:20px}.back-button{position:sticky;top:8px;z-index:4;background:#faf9f6f5;border:1px solid var(--line);border-radius:10px;padding:10px 14px;min-height:44px}@media(max-width:560px){.pagination{gap:10px}.pagination .outline-button{min-height:44px;font-size:14px}.back-hint{display:block;margin:0 0 18px}.back-button{margin-bottom:10px}.page-jump{justify-content:center}.page-label{font-size:13px}}

.catalog-refresh{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}.catalog-refresh .outline-button{min-height:44px;font-size:14px}.catalog-refresh .subtle{font-size:12px;line-height:1.6}
