@charset "UTF-8";
:root{--bg:#F8F5ED;--bg-secondary:#ECEFE7;--bg-dark:#24483F;--bg-deep:#172E2A;--surface:#FFFFFF;--surface-paper:#FFFDF6;--surface-soft:#F1F3EB;--surface-dark:#365B50;--pine:#326B59;--pine-deep:#245144;--pine-soft:#DFEEE5;--sakura:#C65D70;--sakura-deep:#9B3E51;--sakura-soft:#F8E7EA;--amber:#E9B85E;--amber-soft:#FFF1CC;--indigo:#526A91;--indigo-soft:#E7ECF5;--mint:#79B5A0;--mint-soft:#E4F3EB;--title:#293630;--text:#40524A;--muted:#62736B;--light-title:#FFFFFF;--light-text:#E8F1EC;--border:#DCE3D9;--border-dark:#47685D}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.75 system-ui,-apple-system,"Microsoft YaHei",sans-serif}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}button,a,input,select{outline-offset:3px}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--title);line-height:1.32}h1{font-size:clamp(30px,4vw,48px)}h2{font-size:clamp(24px,2.5vw,31px)}h3{font-size:20px}.skip,.sr-only{position:absolute;left:-9999px}.skip:focus{left:20px;top:10px;z-index:1000;padding:12px;background:#fff}.rail{position:fixed;inset:0 auto 0 0;width:76px;background:var(--bg-dark);color:white;z-index:30;padding:15px 10px;transition:width .22s;display:flex;flex-direction:column;gap:30px}.rail.open{width:210px}.rail-brand{font-size:25px;text-align:center;white-space:nowrap;font-weight:800;color:#fff}.rail-brand span,.rail nav a span{display:none}.rail.open .rail-brand span,.rail.open nav a span{display:inline}.rail.open .rail-brand{font-size:17px}.rail-toggle{border:1px solid #6a8b7d;background:none;color:white;border-radius:10px;min-height:44px;font-size:25px}.rail nav{display:grid;gap:10px}.rail nav a{padding:10px;border-radius:9px;font-size:21px;min-height:45px;text-align:center}.rail.open nav a{text-align:left;font-size:17px}.rail nav a:hover,.rail nav a:focus-visible{background:#466b5c}.app-shell{margin-left:76px;transition:margin-left .22s}.rail.open+.app-shell{margin-left:210px}.topbar{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px clamp(16px,3vw,42px);background:var(--surface-paper);border-bottom:1px solid var(--border)}.topbar-label{display:flex;flex-direction:column;line-height:1.3;max-width:260px}.topbar-label strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:15px}.topbar-label small{font-size:10px;letter-spacing:1.3px;color:var(--muted)}.search{display:flex;background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;max-width:410px;flex:1}.search input{min-width:0;width:100%;border:0;padding:9px 13px;background:none;outline:0}.search button{border:0;background:var(--pine);color:white;padding:0 16px;font-size:23px}.top-actions{display:flex;gap:7px}.top-actions button{background:#fff;border:1px solid var(--border);color:var(--pine-deep);border-radius:9px;padding:7px 12px;min-height:44px}.main-wrap{max-width:1380px;margin:auto;padding:30px clamp(16px,3vw,42px) 70px;min-height:74vh}.footer{padding:34px clamp(16px,3vw,42px);display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;background:var(--bg-dark);color:var(--light-text)}.footer b{color:white}.footer p{margin:4px 0}.footer a{margin-right:18px}.footer small{width:100%}.mobile-nav{display:none}.eyebrow{color:var(--sakura-deep);font-weight:750;font-size:11px;letter-spacing:1.5px;text-transform:uppercase}.section{margin-top:64px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:23px}.section-head h2{margin:7px 0 0}.section-head p{max-width:380px;margin:0;color:var(--muted);font-size:14px}.btn{background:var(--pine-deep);color:#fff;border:1px solid var(--pine-deep);padding:11px 22px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;font-weight:650;min-height:46px}.btn.secondary{background:transparent;color:var(--pine-deep)}.btn.disabled{opacity:.7;cursor:not-allowed;background:#6b7d72;border-color:#6b7d72}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.micro-note{font-size:12px;color:var(--muted)}.picture-placeholder{min-height:170px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:linear-gradient(125deg,#e0e9df,#f4dfe2,#f4edd9);color:var(--pine-deep);text-align:center;padding:24px;overflow:hidden}.picture-placeholder span{font-size:clamp(48px,8vw,120px);line-height:1}.picture-placeholder small{font-size:12px;font-weight:700;max-width:240px}.hero{min-height:470px;display:grid;grid-template-columns:42% 58%;background:var(--surface-paper);border:1px solid var(--border);border-radius:20px;overflow:hidden}.hero-copy{padding:clamp(28px,4vw,64px);align-self:center}.hero h1{font-size:clamp(34px,4.5vw,62px);margin:13px 0 18px}.hero h1 em,.page-intro h1 em{font-style:normal;color:var(--sakura-deep)}.hero-art{position:relative;min-height:440px}.hero-image{width:100%;height:100%;object-fit:cover}.hero-mini{position:absolute;right:20px;bottom:20px;display:flex;flex-direction:column;background:#fffefaed;padding:16px 22px;border:1px solid #fff;border-radius:10px;box-shadow:0 12px 35px #243b2d25}.hero-mini span,.hero-mini small{font-size:12px}.hero-mini b{color:var(--pine-deep)}.category-mosaic{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px}.category-tile{min-height:230px;grid-column:span 3;position:relative;overflow:hidden;border-radius:13px;background:var(--pine-soft)}.category-tile:nth-child(1),.category-tile:nth-child(6){grid-column:span 5}.category-tile:nth-child(2),.category-tile:nth-child(5){grid-column:span 4}.category-tile:nth-child(3),.category-tile:nth-child(8){grid-column:span 3}.category-tile:nth-child(4),.category-tile:nth-child(7){grid-column:span 5}.category-tile .tile-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.6}.category-tile:after{content:"";background:linear-gradient(0deg,#112f27e0,transparent);position:absolute;inset:20% 0 0}.category-tile>div:last-child{position:absolute;bottom:0;left:0;width:100%;z-index:2;padding:18px;color:#fff}.category-tile h3{color:white;margin:3px 0}.category-tile p{font-size:12px;margin:0;max-width:360px}.category-tile small{font-size:11px}.category-tile:nth-child(2n){background:#cba7a9}.category-tile:nth-child(3n){background:#8499b0}.category-tile:nth-child(4n){background:#c8b27a}.editorial{display:grid;grid-template-columns:35% 1fr;background:#f0e9dc;gap:clamp(20px,6vw,90px);padding:30px;border-radius:18px;align-items:center}.editorial-poster{height:380px;overflow:hidden;border:10px solid white;transform:rotate(-2deg);box-shadow:0 13px 32px #40524a30}.poster{width:100%;aspect-ratio:2/3;object-fit:cover}.editorial-poster .poster{height:100%}.editorial-copy{max-width:640px}.editorial-copy h2{font-size:clamp(31px,3.5vw,50px);margin:13px 0}.tag-row{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.tag-row span{background:#fff;padding:4px 12px;border-radius:30px;color:var(--pine-deep);font-size:12px}.text-link,.landscape-feature a,.character-info a,.dark-feature a{color:var(--sakura-deep);font-weight:750}.landscape-feature{display:grid;grid-template-columns:62% 1fr;border-radius:15px;overflow:hidden;background:var(--surface-soft)}.landscape-feature>div:first-child{height:330px}.landscape-img{width:100%;height:100%;object-fit:cover}.landscape-feature article{padding:40px 34px;align-self:center}.cards-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}.anime-card{background:white;border-radius:12px;overflow:hidden;border:1px solid var(--border);display:flex;flex-direction:column;min-width:0;transition:transform .15s}.anime-card:hover{transform:translateY(-3px)}.anime-card>.poster{aspect-ratio:2/2.45}.anime-card-body{padding:17px;flex:1}.anime-card h3{margin:5px 0 8px;font-size:19px}.anime-card p{font-size:13px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.status{font-size:11px;color:var(--muted);border-top:1px solid var(--border);padding-top:9px;display:block}.character-section{background:var(--sakura-soft);border-radius:17px;padding:30px}.character-grid{display:grid;grid-template-columns:35% 1fr;gap:35px}.character-grid>div:first-child{height:330px;overflow:hidden;border-radius:12px}.character-photo{height:100%;width:100%;object-fit:cover}.character-info{align-self:center}.relation{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:20px 0}.relation strong,.relation span,.relation b{background:white;border:1px solid #edc8cf;padding:8px 13px;border-radius:9px;font-size:12px}.relation b{background:var(--sakura-deep);color:white}.empty-state{display:flex;align-items:center;gap:23px;background:var(--surface-paper);border:1px dashed var(--border-dark);border-radius:12px;padding:24px}.empty-state>span{font-size:35px;color:var(--sakura-deep)}.empty-state p{margin:0}.empty-state h3{margin:0 0 6px}.empty-state>a{margin-left:auto;color:var(--pine-deep);white-space:nowrap}.dark-section{background:var(--bg-dark);color:var(--light-text);border-radius:18px;padding:32px}.dark-section h2,.dark-section h3{color:white}.dark-section .section-head p{color:var(--light-text)}.dark-feature{display:grid;grid-template-columns:60% 1fr;gap:25px;align-items:center}.dark-feature>div:first-child{height:275px;overflow:hidden;border-radius:12px}.dark-feature a{color:#ffd3a8}.dark-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:25px}.dark-cards .anime-card{background:#ecf0e9;color:var(--text)}.dark-cards h3{color:var(--title)}.shorts{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.shorts a{padding:23px;border:1px solid var(--border);border-radius:13px;background:#fffdf6;min-height:245px;display:flex;flex-direction:column}.shorts a:nth-child(2){background:var(--indigo-soft)}.shorts a:nth-child(3){background:var(--amber-soft)}.shorts a:nth-child(4){background:var(--mint-soft)}.shorts a p{font-size:13px}.shorts a b{margin-top:auto;font-size:13px;color:var(--pine-deep)}.studio{display:grid;grid-template-columns:49% 1fr;gap:35px;align-items:center}.studio>div:first-child{height:390px;overflow:hidden;border-radius:15px}.workshop-links{display:grid;grid-template-columns:1fr 1fr;gap:11px}.workshop-links a{border-bottom:1px solid var(--border-dark);padding:10px 0;display:flex;justify-content:space-between}.workshop-links span{color:var(--sakura-deep)}.collection-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.collection-preview a{min-height:255px;border-radius:13px;padding:24px;display:flex;flex-direction:column;background:#e3ede6}.collection-preview a:nth-child(2){background:#f6e6d1}.collection-preview a:nth-child(3){background:#e5e9f3}.collection-preview a:nth-child(4){background:#f6e3e6}.collection-preview span{font-size:11px;letter-spacing:1px}.collection-preview h3{margin:20px 0 9px}.collection-preview p{font-size:13px}.collection-preview b{margin-top:auto;font-size:13px}.page-intro{padding:36px 0 42px;border-bottom:1px solid var(--border);margin-bottom:32px;max-width:900px}.page-intro h1{margin:12px 0}.page-intro p{font-size:17px;max-width:760px}.breadcrumbs{font-size:13px;color:var(--muted);margin:0 0 22px}.detail-hero{display:grid;grid-template-columns:minmax(200px,32%) 1fr;gap:clamp(20px,4vw,55px);padding:30px;background:var(--surface-paper);border-radius:17px}.detail-hero>div:first-child{max-height:520px;overflow:hidden;border-radius:12px}.detail-poster{width:100%;height:100%;object-fit:cover}.detail-hero .lead{font-size:19px}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:26px 0}.info-grid div{border-top:1px solid var(--border);padding-top:9px}.info-grid small{display:block;color:var(--muted)}.info-grid strong{font-size:14px}.section-index{display:flex;gap:8px;flex-wrap:wrap;padding:16px 0;margin:20px 0;border-bottom:1px solid var(--border)}.section-index a{padding:6px 13px;background:#e8eee6;border-radius:30px;font-size:13px}.detail-columns{display:grid;grid-template-columns:1fr 270px;gap:35px}.detail-article>section{background:#fffdf6;margin-bottom:16px;padding:27px;border:1px solid var(--border);border-radius:13px;scroll-margin-top:24px}.detail-article>section h2{margin:6px 0 15px}.detail-article p{max-width:780px}.detail-aside{background:var(--pine-soft);padding:20px;border-radius:12px;height:max-content}.aside-image{height:200px;width:100%;object-fit:cover}.detail-aside p{font-size:13px}.related-note{padding:30px;background:var(--amber-soft);border-radius:13px}.related-note small{color:var(--sakura-deep)}.not-found{min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.not-found>span{font-size:50px;color:var(--sakura-deep)}.modal{border:0;border-radius:18px;max-width:min(840px,94vw);width:100%;max-height:85vh;padding:26px;background:var(--surface-paper);color:var(--text)}.modal::backdrop{background:#142a259c}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head button{border:0;background:none;font-size:28px;min-width:44px;min-height:44px}.category-dialog-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.category-dialog-grid a{padding:16px;background:var(--pine-soft);border-radius:10px}.category-dialog-grid strong,.category-dialog-grid small{display:block}.category-dialog-grid small{font-size:12px}.history-modal button#clearHistory{padding:8px 16px;border:1px solid var(--border);background:#fff;border-radius:8px}.history-modal a{display:block;padding:9px}.back-link{margin:20px 0;color:var(--sakura-deep);font-weight:700}
body.night{--bg:#1a2b28;--surface:#283c37;--surface-paper:#243933;--surface-soft:#29443c;--title:#f0f4ec;--text:#e6eee9;--muted:#c4d2c9;--border:#547264;--pine-soft:#365c50;--sakura-soft:#533b48;--amber-soft:#524a31;--indigo-soft:#303c58;--mint-soft:#315b4b}body.night .hero-mini,body.night .anime-card,body.night .top-actions button,body.night .shorts a,body.night .relation span,body.night .relation strong{background:var(--surface-paper)}body.night .dark-cards .anime-card{background:#344d43}body.night .dark-cards h3{color:#fff}
@media(max-width:1100px){.topbar-label{display:none}.category-tile{grid-column:span 4!important}.collection-preview{grid-template-columns:1fr 1fr}.shorts{grid-template-columns:1fr 1fr}}@media(max-width:760px){.rail{display:none}.app-shell,.rail.open+.app-shell{margin-left:0}.topbar{padding:10px 14px;flex-wrap:wrap}.top-actions button{padding:7px;font-size:12px}.top-actions button:nth-child(2){display:none}.search{order:3;flex-basis:100%;max-width:none}.main-wrap{padding:16px 14px 86px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:25;justify-content:space-around;background:var(--bg-dark);color:white;padding:8px 0 max(8px,env(safe-area-inset-bottom))}.mobile-nav>*{border:0;background:none;color:white;min-height:44px;display:grid;place-items:center;min-width:20%;font-size:13px}.footer{padding:24px 16px 90px}.hero{grid-template-columns:1fr}.hero-copy{padding:27px}.hero-art{min-height:270px;max-height:310px}.hero-mini{right:10px;bottom:10px;padding:10px}.section{margin-top:40px}.section-head{display:block}.section-head p{margin-top:8px}.category-tile{grid-column:span 6!important;min-height:215px}.category-tile p{display:none}.editorial,.landscape-feature,.character-grid,.dark-feature,.studio,.detail-hero,.detail-columns{grid-template-columns:1fr}.editorial{padding:21px}.editorial-poster{max-width:320px;width:78%;margin:auto}.landscape-feature>div:first-child{height:240px}.landscape-feature article{padding:22px}.cards-three,.dark-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.character-grid>div:first-child{height:270px}.empty-state{flex-wrap:wrap}.empty-state>a{margin:0}.dark-section{padding:20px}.shorts{grid-template-columns:1fr 1fr}.studio>div:first-child{height:270px}.detail-hero>div:first-child{max-width:350px;max-height:450px}.detail-hero{padding:18px}.info-grid{grid-template-columns:repeat(2,1fr)}.detail-aside{display:none}.page-intro{padding:22px 0}.category-dialog-grid{grid-template-columns:1fr}.modal{padding:18px}}@media(max-width:420px){.category-tile{grid-column:span 6!important;min-height:170px}.category-tile h3{font-size:16px}.cards-three,.dark-cards,.shorts,.collection-preview{grid-template-columns:1fr}.anime-card{display:grid;grid-template-columns:37% 1fr}.anime-card>.poster{height:100%;aspect-ratio:auto}.anime-card-body{padding:12px}.anime-card h3{font-size:17px}.hero h1{font-size:35px}.workshop-links{grid-template-columns:1fr}.top-actions{gap:4px}}
