.bar nav{display:flex;align-items:center;gap:clamp(8px,2vw,24px)}
.bar #passButton[hidden]{display:none}
.bar #passButton{min-height:44px;font-family:var(--book);font-weight:750;text-decoration:underline;text-underline-offset:.25em}
.bar #passButton:before{content:'券';border-radius:1px;border:1px solid;font:700 13px var(--book);width:1.45em;height:1.4em}
.affinity{margin:1.15rem 0;max-width:40rem}
.affinityLabel{display:flex;align-items:baseline;justify-content:space-between;gap:1em;color:inherit}
.affinityLabel strong{font-family:var(--book)}
.affinityLabel span{font:600 1rem var(--body);font-variant-numeric:tabular-nums}
.affinityLabel b{font-size:1.4em}
.affinityLabel em{display:inline-block;padding:.14em .45em;background:#9c361c;color:#fff5df;font:700 .92rem var(--body)}
.affinity meter{display:block;appearance:none;width:100%;height:8px;margin-top:.4rem;border:0;background:#d5bf9e}
.affinity meter::-webkit-meter-bar{background:#d5bf9e;height:8px;border:0;border-radius:0}
.affinity meter::-webkit-meter-optimum-value{background:#b84827;transition:width .35s}
.affinity meter::-moz-meter-bar{background:#b84827}
.replyChoice{border-left:3px solid #b4482e;padding:.4rem .85rem;margin:0 0 .9rem;font-family:var(--book);font-weight:700}
.rewardPrint{position:relative;margin:0;background:#142538;color:#fff0ce}
.rewardPrint button{display:block;padding:0;width:100%;background:transparent}
.rewardPrint img,.closingScene{display:block;width:100%;height:auto}
.rewardPrint figcaption{padding:.55rem 1rem .7rem;line-height:1.5;border-bottom:2px solid #b64428}
.rewardPrint figcaption span{font:600 .88rem var(--body);color:#f0c9a1}
.rewardPrint figcaption strong{display:block;font:700 clamp(1.25rem,3vw,1.75rem) var(--book)}
.rewardNote,.passNote{font-size:.95rem;line-height:1.65;margin:.65rem 0 1rem}
.lastChoices{display:grid;gap:.5em}
.page-ending,.page-parting,.page-after{background:#101e2d var(--grain);padding:clamp(0px,2vw,24px) 0}
.dateEnding{width:min(100%,1040px);margin:auto;background:#f7e8cd var(--grain);color:#192c3a;border-bottom:4px double #a83e24}
.endArt{align-self:start;background:#172637;min-width:0}
.endHeading,.endBody{max-width:48rem;margin-inline:auto;padding:clamp(18px,3vw,32px);font:500 1rem/1.8 var(--body)}
.endBody{padding-top:0}
.endHeading h1{font:850 clamp(2rem,5.5vw,3.75rem)/1.15 var(--book);margin:.5rem 0 .35rem;color:#192b3a}
.endStamp{display:inline-block;font:800 .95rem var(--book);letter-spacing:.1em;color:#8e3021;border:3px double currentColor;padding:.2rem .55rem;transform:rotate(-2deg)}
.endTitle{color:#963c25;font:750 clamp(1.18rem,3vw,1.55rem)/1.6 var(--book)}
.endHeading blockquote{margin:1rem 0 0;padding:.8rem 1rem;background:#1b2e43;color:#fff2d7;font:650 clamp(1.1rem,3vw,1.5rem)/1.55 var(--book)}
.endHeading cite{display:block;text-align:right;color:#f2c6a1;font:600 .95rem var(--body)}
.endBody p+p{margin-top:.5em}
.endActions{display:flex;align-items:stretch;flex-wrap:wrap;gap:.55rem}
.endActions button,.passStillLink{min-height:44px}
.passPaper{background:#f7e6c9 var(--grain);color:#192d42;padding:clamp(12px,3vw,26px);border:1px solid #a58863}
.passStub{display:flex;align-items:center;justify-content:space-between;gap:.6em;padding-bottom:.6rem;margin-bottom:.75rem;border-bottom:3px double #263a49;font:750 1.25rem var(--book)}
.passStub strong{font:700 .86rem var(--body);padding:.2rem .4rem;border:2px solid #963a22;color:#963a22}
.passTotal{margin:1rem 0 .45rem;font:750 1.2rem var(--book)}
.passTotal span{font:650 1rem var(--body);white-space:nowrap}
.passEntry{padding:.7rem 0;border-top:1px solid #bda582}
.passEntry h3{font:800 1.3rem var(--book)}
.passEntry details{margin-top:.35rem}
.passEntry summary{min-height:44px;padding:.5em 0;cursor:pointer;font-weight:700}
.passEntry summary span{font-size:.9rem;font-weight:500}
.passStillLink{background:#1b3044;color:#fff0d3;padding:.4rem .85rem;font-weight:700;margin:.5em 0}
.stillSheet{margin:.5rem 0 1rem}.stillSheet img{width:100%;height:auto}.stillSheet figcaption{margin:.4rem 0}
@media(min-width:760px){
 .endBody{border-top:3px double #b39169;padding-top:1.1rem}
 .endBody .affinity{max-width:none}
}
@media(max-width:500px){.bar{padding-inline:8px;gap:5px}.bar .brand,.bar nav button{white-space:nowrap;gap:5px}.bar nav{gap:4px}.bar nav button{padding-inline:3px}.bar:has(#passButton:not([hidden])) .edition{display:none}.endActions button:not(.textbtn){width:100%}}

.dateSpread,.page-opening .cinema{display:block;min-height:0;max-width:100%;margin:auto}
.dateSpread{padding-bottom:clamp(28px,4vw,60px)}
.dateVisual,.page-opening .actPrint,.dateEnding .closingScene{width:min(100%,485px,calc((100svh - 108px)*.6));margin-inline:auto}
.dateVisual{margin-bottom:8px}
.page-opening .actPrint{height:auto;aspect-ratio:3/5}
.page-opening .actPrint .cinemaArt{position:static;display:block;width:100%;height:auto;object-fit:contain}
.dateSpread .dateHeading,.dateSpread .dateBody,.page-opening .cinemaCopy{box-sizing:border-box;width:min(100%,48rem);margin-inline:auto;padding-inline:clamp(18px,4vw,44px)}
.page-opening .cinemaCopy{padding-block:clamp(18px,3vw,36px)}
.chapterPrint{display:block;width:100%;height:auto;aspect-ratio:3/5;object-fit:contain;background:#182a3e;outline:1px solid #bc976755;outline-offset:3px}
.dateHeading{min-width:0;padding-block:1.1rem .75rem;margin-bottom:.9rem;border-bottom:1px solid #ad8b615e}
.dateHeading h2{margin:.3em 0;font:700 clamp(1.45rem,3vw,2.45rem)/1.33 var(--book);line-break:strict}
.datePlace{font:600 .9rem/1.5 var(--body);color:#ebc798}
.dateBody{min-width:0}
.dateBody .replyChoice{scroll-margin-top:78px}
@media(max-width:740px){
 .dateHeading .kicker{font-size:.77rem}
}
.stillReveal{
  --still-width:min(100%,1254px,calc((100svh - 70px)*1.5));
}
.stillReveal{background:#101a25;color:#fff0d9;padding-bottom:clamp(32px,5vw,68px)}
.stillReveal .rewardPrint{background:#0c141e}
.stillReveal .stillCanvas{
  width:var(--still-width);margin-inline:auto;aspect-ratio:3/2;cursor:zoom-in;
}
.stillCanvas:focus-visible{outline-offset:-4px}
.stillReveal .rewardPrint figcaption{
  box-sizing:border-box;margin:auto;width:var(--still-width);padding:clamp(16px,2.3vw,28px) clamp(18px,4vw,52px);
  border-block:1px solid #b79a686b;background:linear-gradient(100deg,#17232e,#101923);
}
.stillReveal figcaption h1{
  margin:.18em 0 0;font:750 clamp(1.75rem,4vw,3.2rem)/1.24 var(--book);color:#fff0d4;
}
.stillReveal figcaption span{letter-spacing:.08em}
.stillAfterword{box-sizing:border-box;width:min(100%,46rem);margin:auto;padding:clamp(22px,3vw,42px) clamp(18px,4vw,40px) 0}
.stillAfterword .rewardNote{color:#e6cead}
dialog:has(.stillSheet){width:min(98vw,1260px);max-width:100%;max-height:96svh}
#modal:has(.stillSheet) #modalBody{padding:0 0 .75rem}
#modal:has(.stillSheet) .modal-title,#modal:has(.stillSheet) .stillSheet figcaption,#modal:has(.stillSheet) #modalBody>.soft{margin-inline:1rem}
#modal:has(.stillSheet) .stillSheet{margin:0 0 .5rem}
#modal:has(.stillSheet) .stillSheet img{display:block}
