: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;--nav:76px}
:root[data-theme=dark]{--bg:#172E2A;--bg-secondary:#24483F;--surface:#25443c;--surface-paper:#25443c;--surface-soft:#30534a;--title:#f5f8f3;--text:#e0ebe3;--muted:#c7d7cc;--border:#48665e;--pine:#a5d9be;--pine-deep:#b9e5ce;--pine-soft:#385a50}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,'Microsoft YaHei',sans-serif;line-height:1.7}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--sakura);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--title);line-height:1.3}h1{font-size:clamp(28px,3vw,46px)}h2{font-size:clamp(24px,2.4vw,30px)}h3{font-size:21px}.site-shell{display:flex}.rail{position:fixed;inset:0 auto 0 0;width:var(--nav);background:var(--bg-dark);color:white;z-index:30;transition:width .2s;overflow:hidden}.rail.expanded{width:210px}.brand{display:flex;align-items:center;gap:16px;padding:16px}.brand-mark{background:#fff0e0;color:#24483F;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;font-size:26px;flex:none}.brand-words{white-space:nowrap;font-size:19px;font-weight:750}.rail-toggle{background:transparent;color:white;border:1px solid #638a7d;border-radius:10px;margin:8px 16px 24px;width:44px;height:44px}.rail nav a{display:flex;gap:18px;padding:15px 22px;align-items:center;white-space:nowrap;font-size:19px}.rail nav span{font-size:15px}.rail nav a:hover,.rail nav a[aria-current]{background:#47685d}.site-body{margin-left:var(--nav);width:calc(100% - var(--nav));min-width:0}.topbar{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px clamp(16px,3vw,42px);background:var(--surface-paper);border-bottom:1px solid var(--border);flex-wrap:wrap}.top-title{font-weight:750;color:var(--title);white-space:nowrap}.top-title span{font-size:12px;color:var(--muted);font-weight:400}.topbar form{display:flex;flex:1;max-width:440px}.topbar input{min-width:0;flex:1;border:1px solid var(--border);border-radius:24px 0 0 24px;padding:9px 14px;background:var(--surface);color:var(--text)}.topbar form button{border:0;border-radius:0 24px 24px 0;padding:0 15px;background:var(--pine-deep);color:#fff}.top-actions{display:flex;gap:7px;flex-wrap:wrap}.top-actions button,.top-actions a{font-size:13px;border:1px solid var(--border);background:var(--surface);padding:8px 11px;border-radius:20px;color:var(--text)}.category-panel{position:fixed;z-index:40;top:85px;left:calc(var(--nav) + 3%);right:3%;max-height:75vh;overflow:auto;background:var(--surface-paper);padding:24px;box-shadow:0 25px 70px #15271e50;border:1px solid var(--border);border-radius:20px}.category-panel[hidden]{display:none}.panel-head{display:flex;justify-content:space-between}.panel-head button{background:var(--bg-dark);color:white;border:0;padding:8px 15px;border-radius:20px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.category-grid>a{padding:14px;background:var(--surface-soft);border-radius:12px;display:grid;gap:6px}.category-grid>a>span{height:85px}.category-grid img{width:100%;height:100%;object-fit:cover}.category-grid small{color:var(--muted)}.section{max-width:1380px;margin:0 auto;padding:60px clamp(20px,4vw,64px)}.eyebrow{display:block;color:var(--sakura-deep);letter-spacing:.11em;text-transform:uppercase;font-size:12px;font-weight:800;margin-bottom:9px}.section-head{margin-bottom:24px}.section-head p{max-width:680px}.hero{display:grid;grid-template-columns:42% 58%;align-items:center;min-height:460px;gap:0}.hero-copy{padding:32px 38px 32px 0}.hero-copy h1{font-family:serif;letter-spacing:.015em}.hero-copy p{max-width:510px}.hero-visual{min-height:400px;position:relative;background:var(--pine-soft);border-radius:56% 12px 12px 12px;overflow:hidden}.hero-visual img{width:100%;height:420px;object-fit:cover}.hero-note{position:absolute;bottom:20px;left:20px;background:#fffdf1;padding:8px 15px;border-radius:30px;color:#24483F;font-size:12px}.picture-empty{display:grid;width:100%;height:100%;min-height:85px;place-items:center;background:repeating-linear-gradient(135deg,var(--pine-soft) 0 14px,var(--surface-soft) 14px 28px);color:var(--muted);font-size:13px}.buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.btn{display:inline-block;background:#245144;color:white;border:1px solid #245144;padding:10px 19px;border-radius:8px;font-size:15px}.btn.secondary{background:transparent;color:var(--text);border-color:var(--border-dark)}.text-link{font-weight:700;color:var(--pine-deep);text-decoration:underline;text-underline-offset:4px}.categories-home{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.category-card{display:flex;flex-direction:column;min-height:220px;padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:12px}.category-card:nth-child(3n+1){grid-column:span 2}.category-card:nth-child(5n){background:var(--amber-soft);color:#293630}.category-card:nth-child(6n){background:var(--indigo-soft);color:#293630}.category-card .count{font-family:serif;font-size:20px;color:var(--sakura-deep)}.category-card img{height:110px;width:100%;object-fit:cover;border-radius:8px}.category-card>strong{font-size:20px;margin-top:8px}.category-card small{color:inherit;opacity:.76}.editorial{display:grid;grid-template-columns:33% 1fr;gap:50px;align-items:center;background:var(--bg-secondary);border-radius:22px}.editorial-image{max-height:500px;aspect-ratio:2/3;overflow:hidden}.editorial-image img{width:100%;height:100%;object-fit:cover}.landscape{display:grid;grid-template-columns:1fr 1fr;gap:36px}.wide-photo{height:400px;background:var(--surface-soft)}.wide-photo img{height:100%;width:100%;object-fit:cover}.mini-stack .anime-card{margin:12px 0;max-width:590px}.relationship{background:var(--sakura-soft);color:#40524a;border-radius:24px}.relationship h2,.relationship h3{color:#293630}.relationship-inner{display:grid;grid-template-columns:32% 1fr;gap:35px;align-items:center}.relationship-inner>div:first-child{height:290px}.relationship-inner img{width:100%;height:100%;object-fit:cover}.pills{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.pills span{padding:5px 12px;background:var(--surface);color:var(--text);border-radius:25px;border:1px solid var(--border);font-size:13px}.empty-info{background:var(--surface-soft);border:1px dashed var(--border-dark);padding:24px;border-radius:10px;color:var(--text)}.dark-panel{background:#24483f;border-radius:24px;color:#e8f1ec}.dark-panel h2{color:white}.dark-panel .eyebrow{color:#ffc985}.dark-panel .anime-card{color:#40524a}.journal-teaser{display:grid;grid-template-columns:48% 1fr;gap:45px;align-items:center}.journal-teaser>div:first-child{height:310px}.journal-teaser img{width:100%;height:100%;object-fit:cover}.closing{text-align:center;background:var(--bg-secondary);border-radius:25px;margin-bottom:50px}.closing p{max-width:680px;margin:0 auto 20px}.footer{padding:25px 5%;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;border-top:1px solid var(--border);font-size:13px}.footer a{text-decoration:underline}.mobile-nav{display:none}.skip,.sr-only{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;background:white;z-index:100;padding:10px}.not-found{min-height:70vh;display:grid;place-content:center;text-align:center;padding:25px}
@media(max-width:1100px){.top-title{display:none}.topbar form{max-width:none}.category-grid{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr 1fr}.categories-home{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.rail{display:none}.site-body{margin-left:0;width:100%}.topbar{padding:12px 15px}.topbar form{order:2;flex-basis:100%}.top-actions{width:100%;justify-content:space-between}.category-panel{top:10px;left:10px;right:10px;max-height:90vh;padding:15px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero,.landscape,.editorial,.relationship-inner,.journal-teaser{grid-template-columns:1fr}.hero{padding-top:25px}.hero-copy{padding:0 0 20px}.hero-visual{min-height:240px;border-radius:20px}.hero-visual img{height:290px}.categories-home{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-card:nth-child(3n+1){grid-column:span 1}.category-card{min-height:200px;padding:10px}.section{padding:32px 15px}.editorial{gap:20px}.editorial-image{height:350px;width:min(250px,100%)}.journal-teaser>div:first-child{height:220px}.mobile-nav{display:flex;position:fixed;z-index:35;bottom:0;left:0;right:0;background:#24483F;padding:8px 10px max(8px,env(safe-area-inset-bottom));justify-content:space-around;color:#fff}.mobile-nav a{padding:10px;min-width:50px;text-align:center;font-size:14px}body{padding-bottom:65px}.footer{display:block}.category-grid>a>span{height:65px}}
