: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-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;line-height:1.72}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--title);line-height:1.23;letter-spacing:-.04em}h1{font-size:clamp(30px,4vw,51px)}h2{font-size:clamp(24px,2.6vw,32px)}h3{font-size:22px}.layout{display:flex;min-height:100vh}.rail{width:76px;flex-shrink:0;background:var(--bg-deep);color:white;position:sticky;top:0;height:100vh;z-index:30;transition:width .24s;overflow:hidden}.rail.expanded{width:210px}.brand-mark{display:grid;place-items:center;font-size:36px;color:#fff;height:78px}.rail-toggle{margin:7px 15px 24px;background:#365B50;color:#fff;border:1px solid #47685D;border-radius:9px;width:45px;height:43px}.rail nav{display:grid;gap:6px}.rail nav a{height:53px;display:flex;align-items:center;gap:23px;padding:0 26px;white-space:nowrap;color:#e8f1ec}.rail nav a span{width:24px;flex-shrink:0;font-size:22px}.rail nav a b{font-size:14px;font-weight:550}.rail nav a:hover,.rail nav a.active{background:#365B50}.site-shell{flex:1;min-width:0;overflow:hidden}main{width:min(1380px,calc(100% - 76px));margin:0 auto;min-height:60vh}.topbar{height:74px;display:flex;gap:18px;align-items:center;padding:0 38px;border-bottom:1px solid var(--border);background:var(--surface-paper)}.wordmark{font-weight:850;font-size:20px;color:var(--pine-deep);white-space:nowrap}.wordmark span{font-size:12px;font-weight:450;color:var(--muted)}.top-search{margin-left:auto;display:flex;width:min(370px,34vw);min-width:140px;border:1px solid var(--border);border-radius:30px;overflow:hidden;background:#fff}.top-search input{width:100%;min-width:0;border:0;padding:9px 14px;outline-offset:-2px}.top-search button{background:var(--pine-deep);color:#fff;border:0;padding:7px 18px}.plain-btn{border:1px solid var(--border);background:transparent;border-radius:9px;padding:9px 14px;color:var(--title);white-space:nowrap}.plain-btn:hover,.button:hover{filter:brightness(.94)}.footer{border-top:1px solid var(--border);padding:38px clamp(20px,5vw,75px) 28px;display:flex;flex-wrap:wrap;gap:30px;justify-content:space-between;background:var(--surface-paper)}.footer p,.footer small{color:var(--muted);margin-bottom:0}.footer>div:nth-child(2){display:flex;gap:16px;flex-wrap:wrap}.footer small{flex-basis:100%}.bottom-nav{display:none}.section{margin:92px 0}.eyebrow{font-size:11px;letter-spacing:.19em;font-weight:800;color:var(--sakura-deep);text-transform:uppercase}.section-title{margin-bottom:26px;max-width:690px}.section-title>p:last-child{color:var(--muted)}.hero{margin-top:30px;min-height:450px;border-radius:22px;background:var(--pine-soft);display:grid;grid-template-columns:42% 58%;overflow:hidden}.hero-copy{padding:clamp(32px,5vw,70px);align-self:center}.hero-copy h1{font-size:clamp(31px,3.9vw,56px)}.hero-copy>p:not(.eyebrow){max-width:490px}.hero-art{position:relative;min-height:450px;background:linear-gradient(135deg,#c8dacb,#f5dfb3);display:grid;place-items:center}.hero-art .no-image{height:100%;width:100%;min-height:450px}.hero-art img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.hero-stamp{position:absolute;right:24px;bottom:24px;width:90px;height:90px;display:grid;place-items:center;border-radius:50%;border:1px solid #fff;color:white;background:#245144b8;text-align:center;font-size:12px;letter-spacing:.13em;transform:rotate(10deg)}.actions{display:flex;gap:12px;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;background:var(--pine-deep);border:1px solid var(--pine-deep);color:#fff;font-weight:700;padding:12px 22px;border-radius:9px}.button.secondary{background:transparent;color:var(--pine-deep)}.text-link{color:var(--sakura-deep);font-weight:750;display:inline-block;margin:14px 0}.no-image{display:grid;place-items:center;text-align:center;padding:20px;background:linear-gradient(145deg,#e4eee3,#f7e9df);color:#59766a;font-size:13px;min-height:140px;border-radius:inherit}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.cat-tile{border-radius:16px;overflow:hidden;background:#fff;min-height:245px;display:flex;flex-direction:column;border:1px solid var(--border)}.cat-tile:nth-child(3n+1){grid-column:span 2;flex-direction:row}.category-image{height:145px;flex-shrink:0;background:#f1f3eb}.category-image img,.category-image .no-image{height:100%;width:100%;object-fit:cover}.cat-tile:nth-child(3n+1) .category-image{width:48%;height:auto}.cat-tile>div:last-child{padding:16px;display:flex;flex-direction:column;gap:5px}.cat-tile span{font-size:12px;color:var(--sakura-deep);font-weight:800}.cat-tile strong{font-size:21px;color:var(--title)}.cat-tile small{color:var(--muted)}.cat-tile:nth-child(4n+2){background:var(--amber-soft)}.cat-tile:nth-child(4n+3){background:var(--indigo-soft)}.cat-tile:nth-child(4n){background:var(--sakura-soft)}.editor-feature{display:grid;grid-template-columns:37% 1fr;gap:8%;align-items:center}.feature-art{height:470px;border:14px solid white;transform:rotate(-2deg);box-shadow:0 13px 40px #1a473314}.feature-art img,.feature-art .no-image{width:100%;height:100%;object-fit:cover}.feature-text{max-width:650px}.landscape-panel{height:330px;border-radius:16px;overflow:hidden;position:relative;background:#e5eee6}.landscape-panel>img,.landscape-panel>.no-image{width:100%;height:100%;object-fit:cover}.landscape-note{position:absolute;bottom:20px;left:20px;background:#fffdf6ef;max-width:400px;border-radius:13px;padding:18px 25px}.landscape-note strong{color:var(--title);font-size:22px}.landscape-note p{margin:8px 0}.landscape-note a{color:var(--sakura-deep);font-weight:bold}.duo-cards,.trio-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:20px}.trio-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.anime-card{display:flex;flex-direction:column;gap:9px;border-radius:13px;background:white;overflow:hidden;padding:12px;border:1px solid var(--border);min-width:0}.anime-card img,.anime-card .no-image{height:270px;width:100%;object-fit:cover;border-radius:8px}.anime-card strong{color:var(--title);font-size:19px}.anime-card small{color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.card-meta{color:var(--sakura-deep);font-size:12px}.duo-cards .anime-card{flex-direction:row;flex-wrap:wrap}.duo-cards .anime-card img,.duo-cards .anime-card .no-image{width:38%;height:155px}.duo-cards .anime-card strong,.duo-cards .anime-card small,.duo-cards .anime-card .card-meta{width:56%;margin-left:auto}.relationship{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:18px;align-items:stretch}.person,.relationship-center{padding:30px;border-radius:16px;background:var(--sakura-soft)}.person:last-child{background:var(--mint-soft)}.person span,.relationship-center small{font-size:12px;color:var(--muted)}.relationship-center{background:var(--bg-dark);text-align:center;color:white;display:flex;justify-content:center;flex-direction:column;align-items:center}.relationship-center strong{font-size:22px}.relationship-center small{color:#e8f1ec}.empty-board{padding:42px;border:1px dashed var(--border-dark);background:var(--surface-soft);border-radius:14px;text-align:center}.empty-board strong{display:block;font-size:22px;color:var(--title)}.empty-board p{color:var(--muted)}.empty-board a{color:var(--sakura-deep);font-weight:bold}.dark-exhibit{background:var(--bg-dark);padding:40px;border-radius:18px}.dark-exhibit h2,.dark-exhibit .section-title p:not(.eyebrow){color:white}.dark-exhibit .eyebrow{color:#f0bd85}.studio-section{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.studio-section img,.studio-section .no-image{width:100%;height:320px;object-fit:cover;border-radius:16px}.collection-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.collection-preview a{min-height:235px;padding:22px;background:#fff;border:1px solid var(--border);border-radius:14px;display:flex;flex-direction:column;gap:10px}.collection-preview a:nth-child(2){background:var(--amber-soft)}.collection-preview a:nth-child(3){background:var(--indigo-soft)}.collection-preview a:nth-child(4){background:var(--mint-soft)}.collection-preview span{font-size:10px;letter-spacing:.13em;color:var(--sakura-deep)}.collection-preview strong{font-size:21px;color:var(--title)}.collection-preview small{color:var(--muted)}.collection-preview em{margin-top:auto;font-size:13px;color:var(--pine-deep);font-style:normal;font-weight:bold}.endnote{text-align:center;padding:45px 20px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.page-head{padding:64px 0 40px;max-width:850px}.page-head h1{margin-bottom:14px}.page-head>p:last-child{font-size:18px;color:var(--muted)}.breadcrumbs{margin:34px 0 25px;color:var(--muted);font-size:13px}.not-found{text-align:center;padding:120px 10px}.category-dialog,.history-dialog{position:fixed;z-index:100;left:50%;top:50%;transform:translate(-50%,-50%);width:min(830px,calc(100vw - 30px));max-height:calc(100vh - 30px);overflow:auto;padding:26px;background:var(--surface-paper);color:var(--text);border:2px solid var(--pine);border-radius:18px;box-shadow:0 0 0 100vmax #172e2ac9}.category-dialog[hidden],.history-dialog[hidden]{display:none}.dialog-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.dialog-bar strong{font-size:24px;color:var(--title)}.dialog-bar button{border:0;border-radius:8px;padding:10px 15px;background:var(--pine-deep);color:#fff}.category-tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.category-tiles a{background:var(--surface-soft);border-radius:10px;padding:17px;display:flex;flex-direction:column}.category-tiles strong{color:var(--pine-deep)}.category-tiles small{color:var(--muted)}.history-dialog{width:min(520px,calc(100vw - 30px))}body.dialog-open{overflow:hidden}body.night{--bg:#1c2927;--surface:#253b36;--surface-paper:#253b36;--surface-soft:#32463f;--title:#f6f3e8;--text:#ecf1e9;--muted:#cadad0;--border:#466255;--pine-soft:#38594e;--sakura-soft:#573b44;--amber-soft:#504631;--indigo-soft:#374359;--mint-soft:#2e5148}.night .anime-card,.night .cat-tile,.night .collection-preview a{background:var(--surface)}.night .top-search,.night .top-search input{background:var(--surface);color:var(--text)}.night .landscape-note{background:#253b36ee}.night .hero-art .no-image{color:#40524a}@media(max-width:1160px){main{width:calc(100% - 48px)}.topbar{padding:0 24px;gap:10px}.top-search{width:200px}.wordmark span{display:none}.collection-preview{grid-template-columns:repeat(2,1fr)}.category-grid{grid-template-columns:repeat(3,1fr)}.cat-tile:nth-child(3n+1){grid-column:span 1;flex-direction:column}.cat-tile:nth-child(3n+1) .category-image{width:100%;height:145px}}@media(max-width:800px){.rail{display:none}main{width:calc(100% - 34px)}.topbar{height:66px;padding:0 14px}.wordmark{font-size:17px}.top-search{flex:1;max-width:240px}.top-search input{font-size:13px}.top-search button{padding:5px 10px}.topbar .plain-btn:nth-last-child(2){display:none}.hero{grid-template-columns:1fr}.hero-art{min-height:270px}.hero-art .no-image{min-height:270px}.hero-copy{padding:32px}.category-grid{grid-template-columns:repeat(2,1fr)}.editor-feature{gap:28px}.feature-art{height:350px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:60px;z-index:40;background:var(--bg-deep);color:white;align-items:center;justify-content:space-around;padding-bottom:env(safe-area-inset-bottom)}.bottom-nav a,.bottom-nav button{padding:12px;color:white;background:none;border:0}.footer{padding-bottom:90px}.section{margin:65px 0}.trio-cards{grid-template-columns:repeat(2,1fr)}.studio-section{gap:20px}}@media(max-width:540px){.topbar{gap:7px}.topbar #themeToggle{display:none}.topbar #categoryOpen{font-size:12px;padding:8px}.top-search button{font-size:12px}.top-search input{padding:7px;width:70px}.hero{margin-top:16px}.hero-art{min-height:230px}.hero-art .no-image{min-height:230px}.category-grid{gap:10px}.cat-tile{min-height:220px}.category-image{height:115px!important}.cat-tile>div:last-child{padding:10px}.cat-tile strong{font-size:17px}.cat-tile small{font-size:11px}.editor-feature,.studio-section{grid-template-columns:1fr}.feature-art{width:min(280px,90%);height:340px;margin:auto}.landscape-panel{height:300px}.landscape-note{left:10px;right:10px;bottom:10px;padding:12px}.duo-cards,.trio-cards{gap:9px}.duo-cards .anime-card{display:flex;flex-direction:column}.duo-cards .anime-card img,.duo-cards .anime-card .no-image{width:100%;height:180px}.duo-cards .anime-card strong,.duo-cards .anime-card small,.duo-cards .anime-card .card-meta{width:100%;margin:0}.trio-cards .anime-card img,.trio-cards .anime-card .no-image{height:185px}.anime-card strong{font-size:16px}.anime-card small{font-size:12px}.dark-exhibit{padding:18px}.relationship{grid-template-columns:1fr}.collection-preview{grid-template-columns:1fr 1fr;gap:8px}.collection-preview a{padding:14px}.collection-preview strong{font-size:17px}.category-tiles{grid-template-columns:1fr}.studio-section img,.studio-section .no-image{height:210px}}
