:root {
    --bg: #FBF8F1;
    --bg-soft: #F3EEE4;
    --bg-paper: #F8F1E5;
    --bg-dark: #203949;
    --bg-deep: #142733;

    --surface: #FFFFFF;
    --surface-paper: #FFFDF8;
    --surface-blue: #EAF1F3;

    --ink: #203949;
    --ink-deep: #142733;
    --ink-soft: #DDE7EA;

    --orange: #E77D5D;
    --orange-deep: #A8462F;
    --orange-soft: #FBEAE2;

    --sage: #8FB9A5;
    --sage-deep: #3F7662;
    --sage-soft: #E8F2EC;

    --gold: #E7C977;
    --gold-deep: #886318;
    --gold-soft: #FBF2D7;

    --blue: #8EB9D1;
    --blue-deep: #376C8B;
    --blue-soft: #E9F2F7;

    --purple: #B6A4D0;
    --purple-deep: #70538E;
    --purple-soft: #F1ECF7;

    --title: #243541;
    --text: #475661;
    --muted: #677581;

    --white: #FFFFFF;
    --border: #E2DDD3;
    --border-dark: #526570;
}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.75 system-ui,sans-serif}a{color:var(--ink);text-decoration:none}a:hover{text-decoration:underline}button,.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;border:0;border-radius:6px;background:var(--orange-deep);color:white;font:inherit;cursor:pointer}input,select{font:inherit;min-height:44px;border:1px solid var(--border);border-radius:5px;padding:8px;max-width:100%;background:white;color:var(--ink)}header{background:var(--ink);color:var(--bg);display:flex;align-items:center;gap:24px;padding:12px max(20px,calc((100vw - 1400px)/2));min-height:74px}header a{color:var(--bg)}.brand{font-weight:800;font-size:24px;white-space:nowrap}.brand small{display:block;font-size:10px;letter-spacing:3px}nav{display:flex;gap:18px;align-items:center}header nav{flex:1;flex-wrap:wrap}.topsearch{display:flex;gap:4px}.topsearch input{width:140px}.spines{display:flex;overflow-x:auto;gap:8px;padding:12px max(20px,calc((100vw - 1400px)/2));background:var(--bg-soft)}.spines a{flex:none;padding:10px 16px;background:var(--gold-soft);border-left:5px solid var(--gold-deep);border-radius:3px}.spines a:nth-child(2n){background:var(--sage-soft);border-color:var(--sage-deep)}main{max-width:1440px;margin:auto;padding:28px 24px 60px}section{margin-bottom:44px}h1,h2,h3{color:var(--ink);line-height:1.3}h1{font-size:clamp(28px,4vw,46px);margin:12px 0 20px}h2{font-size:clamp(23px,3vw,30px);margin:0 0 20px}h3{font-size:20px}p{overflow-wrap:anywhere}.picture{display:grid;place-items:center;background:linear-gradient(135deg,var(--bg-soft),var(--surface-blue));border:1px solid var(--border);color:var(--muted);text-align:center;overflow:hidden;border-radius:8px}.picture span{padding:12px}.picture img{width:100%;height:100%;object-fit:contain;display:block}.cover{aspect-ratio:2/3}.landscape{aspect-ratio:16/9}.banner{aspect-ratio:2.5/1}.hero{display:grid;grid-template-columns:2fr 3fr;align-items:center;gap:30px;padding:35px;background:var(--ink);color:var(--bg);min-height:450px;border-radius:12px}.hero h1{color:var(--bg)}.hero small{color:var(--gold)}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.comic-card,.paper,.category-grid>a,.article-list article{background:var(--surface-paper);border:1px solid var(--border);padding:16px;border-radius:8px}.comic-card h3{margin:12px 0 5px}.comic-card small{color:var(--sage-deep)}.comic-card p{font-size:14px}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.category-grid>a:nth-child(3n){background:var(--gold-soft)}.category-grid>a:nth-child(3n+1){background:var(--sage-soft)}.theme{display:grid;grid-template-columns:1fr 1.2fr;gap:24px;background:var(--gold-soft);padding:25px;border-radius:12px;align-items:start}.theme:nth-of-type(even){background:var(--blue-soft)}.theme:nth-of-type(odd)>div:first-child{order:2}.theme-6{background:var(--sage-soft)!important}.workshop{display:grid;grid-template-columns:1fr 1fr;gap:20px;background:var(--bg-soft);padding:25px}.workshop h2{grid-column:1/-1}.detail{display:grid;grid-template-columns:minmax(150px,300px) 1fr;gap:32px;align-items:center}.paper{padding:clamp(18px,4vw,44px);max-width:950px;margin:0 auto 35px}.paper h2{margin-top:24px}.story{white-space:pre-line}.filters{display:flex;flex-wrap:wrap;gap:10px}.pagination{display:flex;gap:12px;margin:25px 0}.pagination a{padding:10px 16px;background:var(--bg-soft)}.pagination a[aria-current]{background:var(--ink);color:white}.empty{padding:30px;background:var(--bg-soft);border:1px dashed var(--border)}.article-list{display:grid;gap:16px}.article-list article{display:grid;grid-template-columns:minmax(100px,240px) 1fr;gap:20px;align-items:center}footer{background:var(--ink);color:var(--bg);padding:35px;text-align:center}footer a{color:var(--gold)}#menu,.mobilebar{display:none}@media(max-width:1100px){.topsearch{display:none}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){header{min-height:64px;justify-content:space-between;padding:10px 16px}.brand{font-size:20px}#menu{display:block}header nav{display:none;position:fixed;inset:64px 0 0;background:var(--ink);z-index:20;flex-direction:column;align-items:stretch;padding:24px}header nav.open{display:flex}header nav a{padding:12px}.mobilebar{display:flex;position:fixed;bottom:0;left:0;right:0;background:var(--surface);justify-content:space-around;padding:8px;z-index:10;border-top:1px solid var(--border)}.mobilebar a{padding:8px}main{padding:20px 12px 40px}footer{padding-bottom:90px}.hero,.theme,.workshop{grid-template-columns:1fr;min-height:0;padding:20px}.theme:nth-of-type(odd)>div:first-child{order:0}.grid,.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.comic-card,.category-grid>a{padding:10px}.detail{grid-template-columns:minmax(0,1fr)}.detail .cover{max-width:240px;width:100%}.article-list article{grid-template-columns:1fr}.filters>*{flex:1 1 130px}section{margin-bottom:30px}}.edition{display:grid;grid-template-columns:1fr 1.2fr;gap:28px;align-items:center;background:var(--ink);color:var(--bg);padding:clamp(20px,4vw,48px);border-radius:4px;border-bottom:8px solid var(--orange)}.edition h1{color:var(--bg)}.edition small{color:var(--gold);letter-spacing:2px}.sectionline{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.routecards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.routecards>article{background:var(--gold-soft);padding:12px;border-top:5px solid var(--gold)}.routecards>article:nth-child(2){background:var(--purple-soft);border-color:var(--purple)}.routecards>article:nth-child(3){background:var(--sage-soft);border-color:var(--sage)}.routecards .cover{max-height:300px}.edition-strip{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:18px;padding:22px;background:var(--bg-paper);border-top:2px solid var(--ink);align-items:start}.edition-strip .cover{max-height:310px}.strip-1{background:var(--surface-blue)}.strip-2{background:var(--sage-soft)}.strip-1>div:first-child{order:3}.reading-notes,.closing,.about-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.note-index{display:grid;gap:8px}.note-index a{padding:12px;border-bottom:1px solid var(--border);background:var(--surface-paper)}.note-index small{color:var(--orange-deep);margin-right:10px}.closing{padding:24px;background:var(--gold-soft)}@media(max-width:760px){.edition,.reading-notes,.closing,.about-layout{grid-template-columns:1fr}.routecards{grid-template-columns:1fr}.routecards .comic-card{display:grid;grid-template-columns:100px 1fr;gap:10px}.routecards .comic-card>a:first-child{grid-row:span 3}.edition-strip{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:10px}.edition-strip>div:first-child{grid-column:1/-1;order:0}.edition-strip .comic-card{min-width:0}}
