: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}a{color:var(--pine-deep);text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}h1,h2,h3{color:var(--title);line-height:1.3}h1{font-size:clamp(1.7rem,3vw,2.8rem)}h2{font-size:clamp(1.4rem,2vw,1.9rem)}.skip,.sr{position:absolute;left:-9999px}.skip:focus{position:fixed;left:1rem;top:1rem;z-index:90;background:white;padding:1rem}.sidebar{position:fixed;top:0;bottom:0;left:0;z-index:30;width:76px;background:var(--bg-dark);color:white;padding:16px 10px;transition:width .25s}.sidebar.expanded{width:210px}.sidebar .brand{display:block;color:white;font-size:25px;text-align:center;line-height:1.3;font-weight:800;padding:8px 0 22px}.sidebar-button{display:block;width:100%;background:transparent;color:white;border:1px solid #88a79d;border-radius:9px;padding:6px}.sidebar nav{display:grid;gap:9px;margin-top:20px}.sidebar nav a{color:#fff;white-space:nowrap;overflow:hidden;padding:9px;border-radius:9px}.sidebar nav a:hover{background:#47685D;text-decoration:none}.sidebar nav span{display:none}.sidebar.expanded nav span{display:inline}.layout{margin-left:76px;transition:margin-left .25s}.sidebar.expanded~.layout{margin-left:210px}.topbar{height:auto;min-height:72px;display:flex;align-items:center;gap:18px;padding:10px clamp(16px,3vw,40px);background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}.topbar .current{font-size:14px;flex:1;min-width:0}.top-search{display:flex;flex:2;max-width:430px;gap:6px}.top-search input{min-width:0;flex:1;padding:9px 12px;border:1px solid var(--border);border-radius:10px}.top-search button,.plain{border:1px solid var(--border-dark);color:var(--pine-deep);background:#fff;border-radius:10px;padding:8px 11px}.main{max-width:1380px;margin:auto;padding:30px clamp(18px,4vw,54px) 60px;min-height:70vh}.page-intro{margin:8px 0 32px}.page-intro h1{margin:8px 0}.page-intro p{max-width:850px;color:var(--muted);margin:0}.eyebrow{font-size:.72rem;letter-spacing:.2em;font-weight:800;color:var(--sakura-deep)}.hero{display:grid;grid-template-columns:42% 58%;min-height:450px;background:#e7eee6;border-radius:20px;overflow:hidden}.hero>div:first-child{padding:clamp(22px,4vw,60px);align-self:center}.hero h2{font-size:clamp(2rem,4.4vw,4.1rem);margin:12px 0}.hero p{max-width:410px}.hero-image>*{height:100%;width:100%;object-fit:cover}.btn{display:inline-block;background:var(--pine-deep);color:#fff;border:0;border-radius:9px;padding:11px 21px;font-weight:700}.btn:hover{color:white}.section{margin-top:68px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.picture{display:flex;align-items:center;justify-content:center;min-height:120px;background:linear-gradient(130deg,#DFEEE5,#F8E7EA);color:#52665d;text-align:center;padding:18px}.missing{border:1px dashed #a0b6ad}.categories-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.categories-preview>a{display:block;padding:24px;border-radius:15px;min-height:180px}.categories-preview h3{margin:15px 0 6px}.categories-preview p{margin:0}.color-0{background:#DFEEE5}.color-1{background:#FFF1CC}.color-2{background:#E7ECF5}.color-3{background:#F8E7EA}.editorial{display:grid;grid-template-columns:minmax(180px,35%) 1fr;gap:36px;align-items:center;background:#fffdf6;padding:25px;border-radius:20px}.editorial .picture,.editorial img{height:440px;width:100%;object-fit:cover}.editorial article{padding:15px}.scenic{display:grid;grid-template-columns:1fr 1.6fr;gap:24px;align-items:start}.mini-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.character-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.character-list>div{border-top:4px solid var(--sakura);background:white;border-radius:10px;padding:20px}.updates{padding:32px;border:1px solid var(--border);border-radius:18px;background:#fff}.dark-section{background:var(--bg-dark);padding:32px;border-radius:20px}.dark-section h2{color:#fff}.dark-section .anime-card{background:#fff}.journal-teaser{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:35px}.journal-teaser img,.journal-teaser .picture{height:280px;object-fit:cover;width:100%;border-radius:18px}.collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.collection-grid>a{background:#fff;padding:23px;border:1px solid var(--border);border-radius:14px;min-height:150px}.collection-grid>a:nth-child(3n){background:#edf2e8}.collection-grid>a:nth-child(4n){background:#f8e7ea}.site-footer{background:var(--bg-deep);color:#dce8e2;padding:32px clamp(24px,5vw,80px);font-size:.88rem}.site-footer p{margin:2px 0}.site-footer a{color:white;margin-right:20px}.mobile-brand,.mobile-bottom{display:none}.cat-overlay{position:fixed;inset:0;z-index:60;background:#11251fce;overflow:auto;padding:5vh 4vw}.cat-overlay[hidden]{display:none}.cat-panel{max-width:1060px;background:var(--bg);margin:auto;padding:28px;border-radius:19px}.cat-panel .close-panel{float:right}.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.cat-card{border-radius:12px;padding:10px;color:#293630}.cat-card .picture,.cat-card img{height:106px;width:100%;object-fit:cover;border-radius:8px}.cat-card strong,.cat-card small{display:block}.cat-card strong{font-size:1.05rem}.cat-card small{font-size:.78rem}.empty{background:#fff;border-radius:16px;padding:45px 24px;text-align:center}.about-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:25px}.about-layout section{background:white;padding:28px;border-radius:15px}.about-note{background:#dfefe4!important}.mobile-bottom button{border:none;background:none;color:inherit}.notice{padding:15px;background:var(--amber-soft);border-radius:10px;margin:20px 0}body.night{--bg:#172e2a;--title:#eaf5ef;--text:#d7e7de;--surface:#24483f;--border:#47685d;--muted:#c2d0c8}body.night .page-intro,body.night .page-intro p{color:#ebf3ed}body.night .section:not(.dark-section),body.night .section:not(.dark-section) h2{color:#d8e7dd}body.night .topbar,body.night .anime-card,body.night .collection-grid>a,body.night .about-layout section,body.night .character-list>div{background:#24483f;color:#f0f6f1}body.night .anime-card h3,body.night .collection-grid h3{color:#fff}
@media(max-width:1100px){.categories-preview{grid-template-columns:repeat(2,1fr)}.cat-grid{grid-template-columns:repeat(2,1fr)}.topbar .current{display:none}}@media(max-width:760px){.sidebar{display:none}.layout,.sidebar.expanded~.layout{margin-left:0}.mobile-brand{display:block;font-weight:900;white-space:nowrap}.topbar{gap:7px;padding:8px 12px}.top-search{flex:1;min-width:0}.top-search input{font-size:14px;width:100%}.topbar .plain{padding:7px;font-size:13px}.main{padding:20px 14px 85px}.hero{grid-template-columns:1fr}.hero-image{height:240px;order:-1}.section{margin-top:42px}.editorial,.scenic,.journal-teaser,.about-layout{grid-template-columns:1fr}.character-list{grid-template-columns:1fr}.categories-preview{gap:9px}.categories-preview>a{padding:14px;min-height:150px}.cat-panel{padding:16px}.cat-grid{gap:8px}.site-footer{padding:30px 20px 85px}.mobile-bottom{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#24483f;color:white;padding:12px;z-index:35}.mobile-bottom a{color:white}.section-head{align-items:start;flex-direction:column;gap:0}}@media(max-width:370px){.topbar #theme-toggle{display:none}.cat-grid{grid-template-columns:1fr}.top-search button{padding:6px}.mini-cards{grid-template-columns:1fr}}
