:root{--bg:#F8F5ED;--surface:#fff;--paper:#FFFDF6;--pine:#326B59;--deep:#24483F;--sakura:#C65D70;--gold:#E9B85E;--text:#293630;--muted:#53665B;--line:#DCE3D9;--radius:22px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.72 system-ui,-apple-system,'Microsoft YaHei',sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}img{display:block;max-width:100%;height:100%;object-fit:cover}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.25}h1{font-size:clamp(30px,3.3vw,48px)}h2{font-size:clamp(24px,2.5vw,32px)}h3{font-size:21px}p{color:var(--muted)}.layout{display:flex;min-height:100vh}.sidebar{width:76px;flex:0 0 76px;background:var(--deep);color:#fff;position:sticky;top:0;align-self:flex-start;height:100vh;z-index:20;display:flex;flex-direction:column;align-items:center;transition:width .25s,flex-basis .25s}.sidebar.expanded{width:210px;flex-basis:210px;align-items:stretch}.brand{margin:22px auto 20px;display:flex;align-items:center;gap:10px;white-space:nowrap}.brand-mark{display:grid;place-items:center;background:var(--sakura);border-radius:17px;width:46px;height:46px;font-size:24px}.brand-name{display:none;font-weight:800}.sidebar.expanded .brand-name{display:block}.side-toggle{background:transparent;border:1px solid #58776A;color:#fff;border-radius:12px;padding:7px 14px;margin:0 auto 22px}.sidebar nav{width:100%;padding:0 12px;display:grid;gap:12px}.sidebar nav a{height:50px;display:flex;align-items:center;justify-content:center;gap:12px;border-radius:14px;font-size:21px}.sidebar nav a.current,.sidebar nav a:hover{background:#507466}.sidebar nav b{display:none;font-size:14px;font-weight:600}.sidebar.expanded nav a{justify-content:flex-start;padding-left:15px}.sidebar.expanded nav b{display:block}.side-caption{display:none;margin:auto 15px 25px;font-size:12px;color:#D7E7DB}.sidebar.expanded .side-caption{display:block}.main-wrap{min-width:0;width:100%;display:flex;flex-direction:column}.topbar{height:76px;background:#FFFEFA;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px;padding:0 32px;position:relative;z-index:10}.top-title{font-weight:800;min-width:160px;color:var(--deep)}.search{display:flex;align-items:center;gap:4px;background:#F0F2EB;border-radius:100px;padding:5px 6px 5px 17px;max-width:500px;flex:1}.search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:14px}.search button,.top-actions button{border:0;background:var(--deep);color:white;border-radius:30px;padding:8px 17px;font-size:13px}.top-actions{display:flex;gap:8px}.top-actions button{background:#F0F3ED;color:var(--deep);white-space:nowrap;font-weight:650}.top-actions button:hover{background:#DCEAE0}main{flex:1;min-width:0}.page{max-width:1380px;padding:48px clamp(20px,4.5vw,70px) 90px;margin:auto}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.15em;color:var(--sakura);text-transform:uppercase}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--deep);border:0;color:#fff;border-radius:100px;padding:12px 25px;font-weight:750}.btn:hover{background:var(--pine)}.btn.ghost{background:transparent;color:var(--deep);border:1px solid var(--pine)}.text-link{font-weight:750;color:var(--pine);text-decoration:underline;text-underline-offset:6px}.section-head{margin:75px 0 24px}.section-head h2{margin:7px 0}.section-head p{max-width:670px;margin:0}.hero{display:grid;grid-template-columns:43% 57%;min-height:470px;background:linear-gradient(118deg,#EAF0E7,#FFF8EF);border-radius:30px;overflow:hidden}.hero-copy{padding:clamp(28px,4vw,60px);align-self:center}.hero h1{font-size:clamp(33px,3.5vw,53px);margin:14px 0 22px}.hero h1 em{display:block;color:var(--pine);font-style:normal}.hero-copy p{font-size:17px}.hero-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}.hero-memo{margin-top:33px;color:var(--muted);font-size:12px}.hero-art{position:relative;min-height:420px;background:#CDDCD0}.hero-art img{position:absolute;width:100%;height:100%}.art-label{position:absolute;bottom:20px;right:20px;background:#fffdf4e8;padding:9px 18px;border-radius:90px;font-size:12px}.placeholder{display:flex;align-items:center;justify-content:center;min-height:100%;height:100%;width:100%;background:linear-gradient(135deg,#DDEBDE,#F3DDE0 55%,#F5E9CA);color:#50665A;font-size:13px;padding:25px;text-align:center}.hero-art>.placeholder{min-height:420px}.category-mosaic{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}.category-tile{grid-column:span 3;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;position:relative;padding-bottom:17px}.category-tile:nth-child(1),.category-tile:nth-child(7){grid-column:span 4}.category-tile:nth-child(2),.category-tile:nth-child(6){grid-column:span 5}.category-tile:nth-child(3),.category-tile:nth-child(8){grid-column:span 3}.category-tile:nth-child(4),.category-tile:nth-child(5){grid-column:span 6}.cat-art{height:120px;background:#E5EEE5}.category-tile:nth-child(even) .cat-art{background:#F3E1E5}.cat-art img{width:100%}.category-tile>span,.category-tile h3,.category-tile p{margin-left:18px;margin-right:18px}.category-tile>span{color:var(--sakura);font-size:11px;font-weight:800}.category-tile h3{font-size:20px;margin-bottom:5px}.category-tile p{font-size:13px;margin-bottom:0}.editor-grid{display:grid;grid-template-columns:37% 1fr;gap:40px;align-items:center;background:#fff;border-radius:25px;padding:30px}.editor-art{aspect-ratio:2/3;max-height:430px;border-radius:18px;overflow:hidden}.editor-grid>div:last-child{max-width:610px}.editor-grid h3{font-size:36px;margin-top:12px}.landscape-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:17px}.landscape-visual{background:#EAF0E7;border-radius:22px;overflow:hidden}.landscape-visual>img,.landscape-visual>.placeholder{height:240px;min-height:240px}.landscape-visual>div:last-child{padding:20px}.landscape-visual h3{font-size:26px}.anime-card{background:#fff;border:1px solid var(--line);border-radius:19px;overflow:hidden;display:block;transition:transform .2s,box-shadow .2s}.anime-card:hover{transform:translateY(-3px);box-shadow:0 10px 26px #2b493c18}.anime-card .art{aspect-ratio:2/3;background:#E9ECE4;overflow:hidden}.anime-card .art img{width:100%}.anime-card .card-info{padding:16px}.anime-card small{color:var(--pine);font-size:11px;font-weight:750}.anime-card h3{font-size:18px;margin:6px 0}.anime-card p{font-size:13px;line-height:1.6;margin:0}.character-grid{display:grid;grid-template-columns:33% 1fr;gap:36px;align-items:center;background:#F7E7E9;border-radius:28px;padding:30px}.character-portrait{aspect-ratio:4/5;border-radius:17px;overflow:hidden}.character-grid h3{font-size:33px}.chips{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.chips span{border:1px solid #D4DFD7;background:#fffdf9;border-radius:50px;padding:5px 14px;font-size:13px}.empty{background:#fff;border:1px dashed #BFCFC3;padding:35px;border-radius:20px}.empty p{margin:5px 0 0}.mechanical{background:#24483F;border-radius:28px;padding:20px 28px 30px;margin-top:80px}.mechanical .section-head{margin-top:20px}.mechanical h2,.mechanical .section-head p{color:#fff}.mechanical-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.short-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.short-list>a{display:grid;grid-template-columns:115px 1fr;gap:17px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:20px;padding:12px}.short-list>a>span{aspect-ratio:2/3;overflow:hidden;border-radius:12px}.short-list small,.short-list b{font-size:12px;color:var(--pine)}.short-list h3{margin:5px 0}.short-list p{font-size:13px;margin-bottom:7px}.workshop-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:14px}.workshop-visual{min-height:290px;border-radius:18px;overflow:hidden}.work-note{background:#FFFDF6;border:1px solid var(--line);padding:22px;border-radius:18px;display:flex;flex-direction:column}.work-note b{margin-top:auto;font-size:13px;color:var(--pine)}.album-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.album-grid a{padding:25px 20px;background:#E5ECE4;border-radius:20px;min-height:220px}.album-grid a:nth-child(2){background:#F3E3DC}.album-grid a:nth-child(3){background:#F6EACF}.album-grid a:nth-child(4){background:#E5E9F1}.album-grid span{font-size:12px;color:var(--pine);font-weight:800}.album-grid h3{margin:17px 0 8px}.final-note{margin-top:75px;padding:55px 20px;text-align:center;background:#F1E4E6;border-radius:25px}.final-note p{max-width:570px;margin:0 auto 25px}.page-intro{border-bottom:1px solid var(--line);padding:12px 0 32px;margin-bottom:30px}.page-intro h1{margin:10px 0 15px}.page-intro p{font-size:17px;max-width:800px}.footer{background:#EAF0E7;border-top:1px solid var(--line);padding:30px clamp(20px,4vw,60px);display:grid;grid-template-columns:1fr auto;gap:12px;font-size:13px}.footer strong{color:var(--deep)}.footer p{font-size:12px}.footer>div:nth-child(2){display:flex;gap:20px}.footer small{grid-column:1/-1;color:var(--muted)}.drawer-backdrop{position:fixed;inset:0;background:#1028209a;z-index:50}.drawer{display:none;position:fixed;z-index:51;right:0;top:0;bottom:0;width:min(700px,100%);background:#FFFEFA;padding:30px;overflow-y:auto;box-shadow:-12px 0 40px #1113}.drawer.open{display:block}.drawer-head{display:flex;justify-content:space-between;align-items:center}.drawer-head button{background:var(--deep);color:white;border:0;border-radius:50%;width:45px;height:45px}.drawer-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.drawer-grid a{display:flex;flex-direction:column;padding:23px;border-radius:17px;background:#EBF0E8;gap:6px}.drawer-grid a:nth-child(even){background:#F7E7E9}.drawer-grid span{font-size:13px;color:var(--muted)}#historyEntries a{display:block;padding:12px;border-bottom:1px solid var(--line)}#clearHistory{border:0;background:#F4E1E5;padding:10px 18px;border-radius:30px;margin-top:20px}.mobile-nav{display:none}body.theme-dark{--bg:#172E2A;--surface:#25463C;--paper:#25463C;--text:#F3F5EF;--muted:#D6E4DA;--line:#47685D;background:var(--bg)}body.theme-dark .topbar,body.theme-dark .anime-card,body.theme-dark .filters,body.theme-dark .empty,body.theme-dark .drawer,body.theme-dark .editor-grid,body.theme-dark .short-list>a,body.theme-dark .work-note,body.theme-dark .journal-card,body.theme-dark .detail-sections article{background:#25463C;color:var(--text)}body.theme-dark .top-title,body.theme-dark .top-actions button{color:#24483F}body.theme-dark .anime-card small,body.theme-dark .text-link{color:#B5DBCA}body.theme-dark .chips span{color:#24483F}@media(max-width:1100px){.topbar{padding:0 15px;gap:8px}.top-title{display:none}.workshop-grid{grid-template-columns:repeat(2,1fr)}.album-grid{grid-template-columns:repeat(2,1fr)}.landscape-grid{grid-template-columns:1fr 1fr}.landscape-visual{grid-column:1/-1}.mechanical-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.sidebar{display:none}.page{padding:25px 16px 90px}.topbar{height:auto;min-height:65px;flex-wrap:wrap;padding:10px;gap:8px}.top-actions{order:1}.top-actions button{padding:7px 10px}.topbar .search{order:2;min-width:100%;max-width:none}.hero{grid-template-columns:1fr}.hero-copy{padding:30px 22px}.hero-art{min-height:260px}.hero-art>.placeholder{min-height:260px}.category-mosaic{grid-template-columns:repeat(2,1fr)}.category-tile,.category-tile:nth-child(n){grid-column:span 1}.category-tile h3{font-size:17px}.cat-art{height:100px}.editor-grid,.character-grid{grid-template-columns:1fr;gap:20px}.editor-art{max-height:340px}.landscape-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.landscape-visual{grid-column:1/-1}.short-list{grid-template-columns:1fr}.workshop-grid{grid-template-columns:1fr 1fr}.workshop-visual{grid-column:1/-1;min-height:200px}.album-grid{grid-template-columns:1fr 1fr}.album-grid a{padding:17px;min-height:180px}.footer{grid-template-columns:1fr}.footer>div:nth-child(2){flex-wrap:wrap}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;background:#24483F;color:#fff;justify-content:space-around;padding:10px 5px max(10px,env(safe-area-inset-bottom));font-size:13px}.mobile-nav a,.mobile-nav button{display:grid;place-items:center;min-width:55px;min-height:44px;background:none;color:white;border:0}.section-head{margin-top:50px}.hero h1{font-size:34px}.drawer{padding:18px}.drawer-grid{grid-template-columns:1fr 1fr}}@media(max-width:390px){.top-actions button{font-size:12px}.category-mosaic{gap:8px}.category-tile p{font-size:12px}.category-tile h3{font-size:16px}.workshop-grid,.album-grid{grid-template-columns:1fr}.short-list>a{grid-template-columns:90px 1fr}.drawer-grid{grid-template-columns:1fr}}:focus-visible{outline:3px solid var(--sakura);outline-offset:2px}
