:root{--bg:#F8F5ED;--bg-secondary:#ECEFE7;--bg-dark:#24483F;--bg-deep:#172E2A;--surface:#fff;--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:#fff;--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;overflow-x:hidden}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}img{display:block;max-width:100%;object-fit:cover}.sr-only{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--title);line-height:1.25;letter-spacing:-.025em}h1{font-size:clamp(2rem,4.1vw,3.15rem)}h2{font-size:clamp(1.55rem,2.6vw,2.1rem)}h3{font-size:1.21rem}p{line-height:1.85}.eyebrow{font-size:.76rem;letter-spacing:.13em;font-weight:800;color:var(--pine)}.rail{position:fixed;inset:0 auto 0 0;width:76px;z-index:30;background:var(--bg-deep);color:#fff;display:flex;flex-direction:column;align-items:stretch;padding:18px 9px;transition:width .25s}.rail.expanded{width:210px}.rail a,.rail button{color:inherit;display:flex;gap:14px;align-items:center;min-height:49px;padding:8px 15px;border:0;background:none;border-radius:12px;white-space:nowrap}.rail nav a{font-size:19px}.rail nav a .rail-label{font-size:14px}.rail a:hover,.rail a.selected,.rail button:hover{background:#365B50}.brand{margin-bottom:24px}.brand-icon{background:var(--sakura);border-radius:12px;padding:1px 8px;font-weight:800}.rail-label{display:none}.rail.expanded .rail-label{display:inline}.shell{margin-left:76px;min-width:0;transition:margin-left .25s}body.rail-expanded .shell{margin-left:210px}.topbar{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--surface);border-bottom:1px solid var(--border);padding:12px clamp(16px,3vw,40px)}.top-title{font-weight:800;white-space:nowrap}.topbar form{display:flex;flex:1;max-width:470px}.topbar input,.filter-panel input,.filter-panel select{width:100%;min-width:0;padding:11px 14px;border:1px solid var(--border);background:#fff;border-radius:12px;color:#243c35}.topbar form button{margin-left:6px;background:var(--pine);color:#fff;border:0;border-radius:12px;padding:8px 16px}.top-actions{display:flex;gap:8px;align-items:center;white-space:nowrap}.top-actions>*{padding:8px 10px;border:1px solid var(--border);border-radius:9px;background:#fff;font-size:13px;color:var(--pine-deep)}main{max-width:1380px;margin:auto;padding:24px clamp(16px,3vw,44px) 60px}.site-footer{border-top:1px solid var(--border);background:var(--surface-paper);display:flex;gap:28px;justify-content:space-between;align-items:start;flex-wrap:wrap;padding:35px clamp(20px,4vw,50px);font-size:14px}.site-footer div:nth-child(2){display:flex;gap:20px;flex-wrap:wrap}.site-footer small{flex-basis:100%;color:var(--muted)}.section{margin:68px 0}.section-head{margin-bottom:24px;max-width:730px}.section-head p{color:var(--muted)}.hero{display:grid;grid-template-columns:42% 58%;min-height:440px;border-radius:24px;overflow:hidden;background:var(--pine-soft)}.hero>div:first-child{padding:clamp(25px,5vw,68px)}.hero h1{font-size:clamp(2.5rem,5.2vw,4.4rem);margin:20px 0}.hero h1 em{color:var(--sakura);font-style:normal}.hero small{display:block;margin-top:20px;color:var(--muted)}.hero-art{position:relative;min-height:360px;background:#bed3c5}.hero-img{width:100%;height:100%;min-height:440px;object-fit:cover}.hero-bubble{position:absolute;right:20px;bottom:20px;background:rgba(255,255,255,.91);padding:14px 19px;border-radius:15px;color:var(--title)}.button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.btn{display:inline-block;background:var(--pine);border:1px solid var(--pine);color:#fff;border-radius:12px;padding:11px 19px;font-weight:700;text-align:center}.btn:hover{background:var(--pine-deep)}.btn.ghost{background:transparent;color:var(--pine-deep)}.text-link{display:inline-block;color:var(--pine-deep);font-weight:800;padding:10px 0}.placeholder{background:linear-gradient(135deg,#dfece3,#f8e6e6);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#346353;gap:9px;min-height:150px;padding:20px}.placeholder span{font-size:2.8rem;color:var(--sakura)}.placeholder small{font-size:.78rem;line-height:1.65}.home-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.home-cat{padding:22px;border-radius:18px;min-height:180px;background:var(--pine-soft)}.home-cat:nth-child(3n){grid-column:span 2}.home-cat:nth-child(4n+2){background:var(--sakura-soft)}.home-cat:nth-child(4n+3){background:var(--amber-soft)}.home-cat:nth-child(4n+4){background:var(--indigo-soft)}.home-cat b{color:var(--sakura)}.home-cat p{font-size:14px}.home-cat span{font-size:13px;font-weight:800}.two-col,.studio{display:grid;grid-template-columns:42% 1fr;gap:40px;align-items:center}.feature{background:#fff;padding:30px;border-radius:22px}.feature-poster{width:100%;aspect-ratio:5/4;object-fit:cover;border-radius:16px}.landscape{display:grid;grid-template-columns:60% 1fr;border-radius:20px;overflow:hidden;background:var(--amber-soft)}.landscape>div:first-child{aspect-ratio:16/8}.landscape .placeholder{height:100%}.landscape>div:last-child{padding:30px}.relations{display:grid;grid-template-columns:1fr 1fr;gap:14px}.relations>div{background:var(--sakura-soft);border-radius:16px;padding:32px}.relations>div+div{background:var(--surface);border:1px solid var(--border)}.empty-state{padding:34px;background:var(--surface-paper);border:1px dashed var(--border-dark);border-radius:16px;text-align:center}.empty-state a{font-weight:800;color:var(--pine)}.dark-section{background:var(--bg-dark);padding:30px;border-radius:22px}.dark-section h2,.dark-section p,.dark-section .eyebrow{color:#fff}.studio>div:first-child .placeholder{height:260px}.mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.mini-grid>a,.character-note{background:#fff;border:1px solid var(--border);padding:24px;border-radius:15px;display:flex;flex-direction:column;gap:10px;min-width:0}.mini-grid>a span{color:var(--sakura);font-size:27px}.mini-grid small{font-size:12px}.collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.collection-grid a{background:#fff;border:1px solid var(--border);border-radius:17px;padding:26px}.collection-grid a:nth-child(3n){background:var(--amber-soft)}.collection-grid a:nth-child(4n){background:var(--sakura-soft)}.collection-grid span{font-size:11px;color:var(--muted)}.collection-grid b{font-size:13px}.page-intro{padding:28px 4px 32px;max-width:830px}.page-intro p{font-size:17px;color:var(--muted)}.breadcrumbs{font-size:13px;margin:10px 0 22px;color:var(--muted)}.breadcrumbs a{color:var(--pine)}.modal[hidden]{display:none}.modal{position:fixed;inset:0;z-index:80}.modal-overlay{position:absolute;inset:0;background:#10251ebd}.modal-body{position:absolute;right:0;top:0;bottom:0;max-width:820px;width:90%;padding:28px;background:var(--surface-paper);overflow:auto}.modal-heading{display:flex;justify-content:space-between;align-items:center}.modal-heading button{background:var(--pine);color:#fff;border:0;padding:10px 16px;border-radius:8px}.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category-tile{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.category-tile .placeholder,.category-tile img{height:112px;width:100%;min-height:0}.category-tile strong,.category-tile small{padding:4px 13px}.category-tile small{padding-bottom:12px}.mobile-nav{display:none}body.dark{--bg:#172e2a;--surface:#24483f;--surface-paper:#24483f;--text:#e8f1ec;--title:#fff;--muted:#d8e7df;--border:#47685d;--pine:#a6dfc7;--pine-deep:#b9efdb;--pine-soft:#294a41;--sakura-soft:#583844;--amber-soft:#5c4b2b;--indigo-soft:#34445b;background:var(--bg)}body.dark .top-actions>*{background:var(--surface);color:#fff}body.dark .btn{background:#326b59;color:#fff}body.dark .btn.ghost{background:transparent;color:#fff}body.dark .placeholder{color:#234a39}body.dark .filter-panel input,body.dark .filter-panel select{background:#eee;color:#243c35}
@media(max-width:1100px){.top-actions a{display:none}.home-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.home-cat:nth-child(3n){grid-column:auto}.mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.rail{display:none}.shell,body.rail-expanded .shell{margin-left:0}.topbar{padding:10px 14px;flex-wrap:wrap}.top-title{font-size:13px}.topbar form{order:3;flex-basis:100%;max-width:none}.top-actions{margin-left:auto}.top-actions>*{padding:7px}.top-actions a{display:none}main{padding:16px 14px 76px}.hero{grid-template-columns:1fr}.hero>div:first-child{padding:24px}.hero-art{min-height:240px}.hero-img{min-height:240px}.hero-bubble{font-size:12px}.section{margin:48px 0}.two-col,.studio,.landscape,.relations{grid-template-columns:1fr}.feature{padding:16px;gap:18px}.home-categories{gap:9px}.home-cat{padding:15px;min-height:160px}.mini-grid,.collection-grid{grid-template-columns:1fr 1fr}.modal-body{width:100%;padding:16px}.category-grid{grid-template-columns:1fr 1fr}.site-footer{padding:22px 18px 88px}.mobile-nav{position:fixed;z-index:50;display:grid;grid-template-columns:repeat(4,1fr);bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--border);padding:9px 0 max(9px,env(safe-area-inset-bottom));text-align:center}.mobile-nav a{font-size:13px;color:#245144;min-height:44px;display:grid;place-items:center}.dark .mobile-nav{background:#24483f}.dark .mobile-nav a{color:#fff}}
@media(max-width:370px){.category-grid,.collection-grid{grid-template-columns:1fr}.top-actions>*{font-size:11px}}

/* Independent edition: asymmetric editorial covers and varied content rhythm */
.new-hero{background:linear-gradient(110deg,var(--surface-paper),var(--bg-secondary));border-radius:26px;overflow:hidden;padding:2.5rem;position:relative}
.new-hero h1{letter-spacing:-.045em;line-height:1.12}.new-hero .hero-actions{display:flex;flex-wrap:wrap;gap:1.2rem;align-items:center;margin:1.4rem 0}
.new-hero .hero-art{min-width:0}.new-hero .hero-mini{max-width:220px}.home-categories .category-tile:nth-child(3n+1){border-top:4px solid var(--pine)}.home-categories .category-tile:nth-child(3n+2){border-top:4px solid var(--sakura)}.home-categories .category-tile:nth-child(3n){border-top:4px solid var(--amber)}
.section .section-head p{max-width:760px}.section .relations>div{border:1px solid var(--border);border-radius:18px;padding:1.4rem;background:var(--surface-paper)}
@media(max-width:720px){.new-hero{padding:1.15rem}.new-hero h1{font-size:2rem}.new-hero .hero-mini{display:none}}
