/* Edition 2.1 — the paper cover, running heads and ruled index derive from Prototype 01. */
:root{--gray:#77736b;--body:"Source Han Serif TC","思源宋體 TC","Noto Serif TC","Songti TC","PMingLiU",serif;--sans:Arial,"Microsoft JhengHei",sans-serif}
html:lang(ja){--serif:"Source Han Serif JP","源ノ明朝","Yu Mincho","MS Mincho",serif;--body:var(--serif);line-break:strict}
html:lang(en){--serif:"Source Serif 4",Georgia,serif;--body:var(--serif);hyphens:auto}
body{font-size:17px;line-height:1.75}html:lang(ja) body{line-height:1.85;letter-spacing:.018em}html:lang(en) body{line-height:1.52;letter-spacing:0}
html:lang(en) .cover h1 small{letter-spacing:-.03em}a,button,select{touch-action:manipulation}.wrap{width:min(1380px,calc(100% - clamp(32px,7.5vw,124px)))}.bar{min-height:66px}.bar .mark{margin-right:auto;font-size:28px}.bar select{background:transparent;border:0;border-left:1px solid var(--rule);padding:8px .3rem 8px 1rem;margin-left:1rem;font:14px var(--sans)}.front{padding:0}.cover{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:5%;padding:clamp(26px,4vw,58px) 0;align-items:center}.edition{font-size:14px;letter-spacing:.12em;margin-bottom:2.2rem}.cover h1{font-size:clamp(74px,11.5vw,176px);letter-spacing:-.1em}.cover h1 small{font-size:clamp(24px,2.65vw,39px);letter-spacing:.09em;margin:.6em 0 .8em .09em}.author{border-top:1px solid var(--ink);padding-top:.8rem}.byline{font-size:25px;padding:0}.role,.entry p.role,.credits dt.role{font-size:clamp(18px,1.5vw,21px);color:var(--red);font-weight:700}.intro{max-width:35em;margin:.4rem 0 1.25rem;text-wrap:pretty}.primary,.tape-actions button:last-child{background:var(--ink);color:var(--paper)}.primary{display:inline-block;padding:.48rem 1.3rem;text-decoration:none}.primary:hover,.tape-actions button:last-child:hover{background:var(--red);color:var(--paper)}
.feature{background:#2624200b;padding:1rem clamp(.75rem,2vw,2rem) .9rem;min-width:0}.feature-meta{display:flex;justify-content:space-between;border-bottom:1px solid #26242050;padding-bottom:.5rem}.scene{perspective:950px;min-height:290px;display:grid;place-items:center;padding:2rem 0}.scene #tilt{width:min(83%,370px);transform:rotateX(7deg) rotateY(-12deg);transform-style:preserve-3d;transition:transform .12s ease-out}
#case{position:relative;aspect-ratio:1.27;transform-style:preserve-3d;transition:transform .46s ease}#case.flipped{transform:rotateY(180deg)}.face{position:absolute;inset:0;background:var(--paper);border:1px solid var(--ink);backface-visibility:hidden;display:flex;flex-direction:column}.frontface{transform:translateZ(9px);box-shadow:8px 13px 15px #26242025}.frontface:after{content:"";pointer-events:none;position:absolute;inset:0;background:linear-gradient(115deg,transparent 25%,#fff2 45%,transparent 61%)}.backface{transform:rotateY(180deg) translateZ(9px)}.tape-strip{display:flex;justify-content:space-between;align-items:center;padding:.22rem .65rem;background:var(--ink);color:var(--paper);font-size:13px}.tape-strip b{font:bold 18px Arial;letter-spacing:-.08em}.face img{width:100%;height:0;min-height:0;flex:1;object-fit:contain;background:#262420}.tape-label{border-left:8px solid var(--red);padding:.35rem .65rem;line-height:1.2}.tape-label strong,.liner strong{font:700 clamp(18px,2vw,26px)/1.2 var(--serif)}.tape-label small{display:block;font:13px/1.5 var(--mono)}.liner{padding:.7rem 1rem;overflow:auto}.liner p{font-size:15px;margin:.25rem 0}.sidewall,.edge{position:absolute;background:#b9b4a9;border:1px solid var(--ink)}.sidewall{height:100%;width:18px;left:-9px;transform:rotateY(90deg)}.sidewall.opposite{left:auto;right:-9px}.edge{height:18px;width:100%;bottom:-9px;transform:rotateX(90deg)}.cassette{position:absolute;inset:5%;display:flex;align-items:center;justify-content:space-around;background:var(--ink);border:3px double #77736b;transform:translateZ(-1px);pointer-events:none}.cassette i{border:7px double var(--gray);width:21%;aspect-ratio:1;border-radius:50%}.eject .cassette{animation:eject .5s forwards}@keyframes eject{70%{transform:translate3d(74%,-10%,0) rotate(4deg)}100%{transform:translate3d(135%,-20%,0) rotate(10deg);opacity:0}}.feature{overflow:hidden}.tape-actions{border-top:1px solid #26242050;display:flex;flex-wrap:wrap;gap:.5rem;padding-top:.65rem}.tape-actions button{font:14px var(--sans);background:transparent;border:1px solid var(--rule);padding:.55rem .75rem}.tape-actions button:last-child{margin-left:auto}.contents{display:none}.chapter{margin-top:3.4rem}#works{margin-top:.5rem}.chapter-head h2{font-size:clamp(30px,3.1vw,40px)}.chapter-head .mono{color:var(--gray)}.chapter-head{align-items:center}.chapter-head .action{font-size:14px}.controls{align-items:center}.controls label{display:flex;align-items:center;gap:.5rem}.controls select,.controls button{font-size:15px}.entry .figure-line span,.record .red{color:var(--gray)}.entry h3,.entry.lead h3{font-size:clamp(22px,2vw,28px)}.category-title h3{font-size:22px}.cover-image{width:100%;height:auto}.entry .cover-image{max-height:26rem;object-fit:contain;background:var(--ink)}.grid{row-gap:1.6rem}.placeholder{display:grid;place-items:center;background:#26242008;min-height:4rem;font-size:14px;color:#625e55}.entry:has(.placeholder){grid-column:span 4}.entry .placeholder{min-height:2.8rem}.placeholder:before,.placeholder:after,.plate:before,.plate:after{display:none}.plate,.plate.warm{background:#26242008}.credits div{grid-template-columns:minmax(6rem,42%) 1fr}.detail-body,.extras{align-items:start}.extras{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}.extras img,.extras video{width:100%}.extras figure{min-width:0}.extras figcaption{font-size:14px}.profile-grid{grid-template-columns:minmax(120px,210px) 1fr}.profile-grid h3{font-size:30px}.profile-grid .plate{aspect-ratio:4/3}.folio,.mono{font-size:13px}.folio.muted{display:block}.detail-body li{overflow-wrap:anywhere}.record,.detail-body,.profile-grid{overflow-wrap:break-word}
@media(max-width:760px){.cover{grid-template-columns:1fr;gap:1.6rem}.cover h1{font-size:clamp(84px,20vw,150px)}.edition{margin-bottom:1.2rem}.scene{min-height:0}.scene #tilt{width:min(75%,340px)}.bar{flex-wrap:wrap;gap:.4rem .7rem;padding:.5rem 0}.bar nav{gap:.8rem}.bar select{margin:0;padding-left:.4rem}.entry:has(.placeholder){grid-column:span 6}.detail-body{grid-template-columns:1fr}.controls{gap:.4rem .7rem}.profile-grid{grid-template-columns:1fr}.profile-grid figure{display:none}.feature-meta{gap:.5rem}.credits div{grid-template-columns:1fr 1.2fr}}
@media(max-width:480px){.bar nav{order:3;width:100%;justify-content:space-between}.entry,.entry.lead,.entry.side,.entry:has(.placeholder){grid-column:1/-1}.feature{padding:.7rem}.scene #tilt{width:85%}#case{aspect-ratio:1.15}.chapter-head{grid-template-columns:1fr auto}.chapter-head h2{font-size:30px}.record{grid-template-columns:1fr;gap:.3rem}html{scroll-padding-top:6rem}.tape-actions button{padding:.6rem}.cover-copy .intro{margin-bottom:.8rem}}
@media(prefers-reduced-motion:reduce){.scene #tilt{transform:none!important}#case,.scene #tilt{transition:none}.eject .cassette{animation:none}}
@media print{.feature,.primary,.edition,.intro{display:none}.cover h1{font-size:40pt}.chapter{margin:1rem 0}.cover{padding:0}.chapter-head h2{font-size:22pt}.author{border:0}}

@font-face{font-family:"Archive TC";src:url("assets/fonts/ArchiveTC.woff2") format("woff2");font-display:swap}
@font-face{font-family:"Archive JP";src:url("assets/fonts/ArchiveJP.woff2") format("woff2");font-display:swap}
@font-face{font-family:"Archive English";src:url("assets/fonts/ArchiveEnglish.woff2") format("woff2");font-weight:200 900;font-display:swap}
html:lang(zh){--body:"Archive TC","Source Han Serif TC","Noto Serif TC","Songti TC","PMingLiU",serif;--serif:var(--body)}
html:lang(ja){--body:"Archive JP","Source Han Serif JP","Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif;--serif:var(--body)}
html:lang(en){--body:"Archive English",Georgia,"Archive TC","Songti TC",serif;--serif:var(--body)}
span[lang=ja]{font-family:"Archive JP","Hiragino Mincho ProN",serif}
.frontface:after{background:linear-gradient(var(--gloss-angle,115deg),transparent 25%,#fff2 45%,transparent 61%)}
