 :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:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}img{max-width:100%;display:block;object-fit:cover}h1,h2,h3{line-height:1.25;color:var(--title);letter-spacing:-.025em}h1{font-size:clamp(2rem,4vw,3.5rem)}h2{font-size:clamp(1.45rem,2.4vw,2.2rem)}p{margin:.65em 0 1em}.skip{position:absolute;left:-9999px}.skip:focus{left:20px;z-index:1000;background:white}.rail{position:fixed;inset:0 auto 0 0;width:76px;background:var(--bg-deep);color:#fff;z-index:30;padding:18px 10px;transition:width .25s;overflow:hidden}.rail.expanded{width:210px}.rail a,.rail button{display:flex;align-items:center;gap:15px;padding:12px;border-radius:14px;white-space:nowrap;color:white;width:100%;background:none;border:0;text-align:left}.rail .rail-brand{font-size:22px;color:#e9b85e}.rail span{display:none}.rail.expanded span{display:inline}.rail nav{display:grid;gap:7px;margin-top:40px}.rail a:hover,.rail button:hover,.rail a:focus-visible{background:#365b50}.shell{margin-left:76px;min-width:0;transition:margin-left .25s}.rail.expanded~.shell{margin-left:210px}.topbar{height:76px;display:flex;align-items:center;gap:18px;justify-content:flex-end;padding:12px clamp(18px,4vw,58px);border-bottom:1px solid var(--border);background:#fffdf6;position:relative}.topbar>button{border:1px solid var(--border);background:var(--surface);padding:8px 13px;border-radius:12px}.search{display:flex;max-width:470px;width:100%;border:1px solid var(--border);background:white;border-radius:30px;overflow:hidden}.search input{padding:8px 16px;border:0;min-width:0;flex:1;outline-offset:-3px}.search button{border:0;background:var(--pine);color:#fff;padding:6px 18px}.history-link{font-size:14px;white-space:nowrap}.mobile-brand{display:none}main{padding:26px clamp(18px,4vw,58px);max-width:1600px;margin:auto}.eyebrow{font-size:12px;letter-spacing:.17em;text-transform:uppercase;font-weight:800;color:var(--sakura-deep)}.hero-grid{display:grid;grid-template-columns:43% 57%;min-height:450px;background:#e5eddf;border-radius:27px;overflow:hidden}.hero-copy{padding:clamp(27px,5vw,65px);align-self:center}.hero-copy h1{max-width:520px}.hero-copy em{color:var(--pine);font-style:normal}.hero-copy>p{max-width:500px}.hero-image{min-height:430px}.hero-image img,.hero-image .art-placeholder{height:100%;width:100%}.actions{display:flex;gap:13px;flex-wrap:wrap;margin:20px 0}.button{display:inline-flex;justify-content:center;align-items:center;background:var(--pine);color:#fff;border-radius:12px;border:1px solid var(--pine);padding:9px 20px;font-weight:700}.button.ghost{background:transparent;color:var(--pine)}.button:hover{background:var(--pine-deep);color:#fff}.section{margin:70px 0}.section-head{margin-bottom:24px}.section-head p{max-width:680px}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.category-tile{border:1px solid var(--border);border-radius:16px;padding:24px;min-height:170px;transition:transform .2s}.category-tile:hover{transform:translateY(-4px)}.category-tile:nth-child(3n){grid-column:span 2}.category-tile h3{margin:15px 0 5px}.category-tile p{font-size:14px}.tone-1{background:#dfeee5}.tone-2{background:#fff1cc}.tone-3{background:#e7ecf5}.tone-4{background:#f8e7ea}.editorial{display:grid;grid-template-columns:minmax(220px,36%) 1fr;align-items:center;gap:clamp(25px,5vw,75px)}.editorial-poster{width:100%;max-height:550px;aspect-ratio:3/4;border-radius:20px;overflow:hidden}.text-link{font-weight:800;color:var(--pine-deep);display:inline-block;margin-top:12px}.art-placeholder{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:24px;background:linear-gradient(145deg,#dfeee5,#f8e7ea);color:#326b59;text-align:center;font-size:64px;min-height:160px;line-height:1.3}.art-placeholder span{font-size:14px;letter-spacing:.04em}.feature-green,.feature-dark{border-radius:26px;padding:clamp(22px,4vw,52px)}.feature-green{background:#e4f3eb;display:grid;grid-template-columns:38% 1fr;gap:30px}.feature-dark{background:var(--bg-deep);color:var(--light-text)}.feature-dark h2{color:#fff}.feature-dark .anime-card{background:#284a41;color:#fff}.feature-dark .anime-card strong{color:#fff}.two-cards,.three-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.three-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.anime-card{display:flex;flex-direction:column;gap:8px;background:white;border:1px solid var(--border);padding:14px;border-radius:17px;min-width:0;transition:transform .2s}.anime-card:hover{transform:translateY(-3px)}.anime-card .poster{width:100%;aspect-ratio:2/3;border-radius:10px;overflow:hidden;max-height:330px}.anime-card strong{font-size:19px;color:var(--title)}.anime-card>span:last-child{font-size:13px}.card-meta{font-size:12px;color:var(--sakura-deep);font-weight:700}.character-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.character{padding:23px;background:white;border-left:4px solid var(--sakura);border-radius:12px}.empty-note{background:#fffdf6;border:1px dashed #a5b7a5;border-radius:17px;padding:25px;margin:14px 0}.atelier{display:grid;grid-template-columns:1fr 45%;gap:35px;align-items:center}.atelier-img{border-radius:20px;min-height:270px;max-height:400px;width:100%}.collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.collection-grid>a{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px;min-width:0}.collection-grid>a:nth-child(even){background:var(--amber-soft)}.collection-grid h3{margin:12px 0}.footer{margin-top:70px;padding:40px clamp(18px,4vw,58px);background:#e8efe5;display:flex;gap:25px;justify-content:space-between;flex-wrap:wrap}.footer>div:first-child{max-width:500px}.footer>div:nth-child(2){display:flex;gap:14px;flex-wrap:wrap}.footer small{width:100%}.bottom-nav{display:none}.category-dialog[hidden]{display:none}.category-dialog{position:fixed;inset:10% 6% auto;max-width:900px;margin:auto;background:#fffdf6;border:1px solid var(--border);box-shadow:0 0 0 200vmax #0009;z-index:100;padding:25px;border-radius:22px;max-height:80vh;overflow:auto}.dialog-top{display:flex;justify-content:space-between;align-items:center}.dialog-top button{font-size:30px;border:0;background:transparent}.dialog-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dialog-cards a{padding:18px;background:#e4f3eb;border-radius:13px;display:grid}.dialog-cards small{font-size:13px}.page-intro{max-width:860px;margin:30px 0 36px}.page-intro p{font-size:18px}.breadcrumbs{margin:8px 0 28px;color:var(--muted);font-size:14px}.detail-hero{display:grid;grid-template-columns:minmax(230px,32%) 1fr;gap:40px;background:#e7efe6;border-radius:22px;padding:clamp(16px,3vw,35px)}.detail-poster{aspect-ratio:2/3;width:100%;max-height:560px;border-radius:14px;overflow:hidden}.detail-tags{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.detail-tags>*{padding:5px 13px;background:white;border-radius:40px;font-size:13px}.lead{font-size:21px}.detail-body,.about-layout{display:grid;grid-template-columns:1fr 270px;gap:40px;margin-top:40px}.detail-body section,.about-layout section{margin-bottom:35px}.side-note{padding:25px;background:white;border-radius:18px;align-self:start}.side-note a{display:block;margin-bottom:15px;color:var(--pine)}.not-found{text-align:center;padding:100px 15px}.not-found>span{font-size:100px;color:var(--sakura)}
@media(max-width:1100px){.category-grid,.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-tile:nth-child(3n){grid-column:span 1}.hero-grid{grid-template-columns:1fr 1fr}.feature-green{grid-template-columns:1fr}.rail.expanded~.shell{margin-left:76px}}
@media(max-width:760px){body{font-size:15px}.rail{display:none}.shell,.rail.expanded~.shell{margin-left:0}.mobile-brand{display:inline;white-space:nowrap;font-weight:800;color:var(--pine)}.topbar{padding:12px 15px;height:auto;flex-wrap:wrap;justify-content:space-between}.topbar .search{order:3;max-width:none}.history-link{display:none}main{padding:18px 15px 80px}.hero-grid{grid-template-columns:1fr}.hero-image{min-height:200px;max-height:320px}.hero-copy{padding:28px}.section{margin:45px 0}.category-grid,.collection-grid,.three-cards,.character-row{grid-template-columns:repeat(2,minmax(0,1fr))}.editorial,.atelier,.detail-hero,.detail-body,.about-layout{grid-template-columns:1fr}.feature-green .two-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-dark .three-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.footer{padding:28px 15px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fffdf6;border-top:1px solid var(--border);justify-content:space-around;padding:10px 6px calc(10px + env(safe-area-inset-bottom));z-index:70}.bottom-nav a{padding:6px 10px;font-weight:700}.category-dialog{inset:6% 3% auto;padding:18px;max-height:88vh}}
@media(max-width:430px){.category-grid,.collection-grid{grid-template-columns:1fr 1fr}.category-tile{padding:14px;min-height:155px}.category-tile h3{font-size:18px}.three-cards,.character-row{grid-template-columns:1fr 1fr}.anime-card{padding:9px}.anime-card strong{font-size:16px}.anime-card .poster{max-height:none}.dialog-cards{grid-template-columns:1fr}.page-intro p{font-size:16px}}
