/* Feedback release: art keeps its aspect; the surrounding stage uses the same place. */
#cg-stage{background:radial-gradient(ellipse,#080c1000 45%,#080c104d)}
#game-shell[data-visual="cg"] #room{opacity:1;filter:blur(20px) saturate(.65) brightness(.38);transform:scale(1.06)}
#game-shell[data-chapter="c11"][data-visual="cg"] #room,#game-shell[data-chapter="c12"][data-visual="cg"] #room{opacity:.25;filter:blur(28px) saturate(.3) brightness(.22)}
#scene,#game-shell{--film-matte:#101419}
#game-shell[data-screen="title"] #room{opacity:1}
#lens-streak i{left:47.88%;top:29.12%;width:2px;height:2px;box-shadow:0 0 4px 2px #fff,0 0 12px 5px #ff483b8c}
#lens-streak i:nth-child(2){left:53.25%;top:29.12%}
#lens-streak i:first-child::after{transform:none;left:-130cqw;top:0;height:1px;box-shadow:0 0 3px 1px #fff8ee;opacity:.95}
#game-shell[data-effect="cold"] #lens-streak{animation:feedbackPupil 3.3s ease both}
@keyframes feedbackPupil{0%,8%{opacity:0}18%{opacity:1}35%{opacity:.72}65%{opacity:.95}100%{opacity:.65}}
#sticker{filter:drop-shadow(0 5px 6px #18252a45)}
.story-term{font-family:GalgameUI;color:#f0c184;font-size:.92em}
.story-term.search-term{color:#e79a94}
#dialogue-translation{font:13px/1.45 GalgameUI;color:#c9d5d2;min-height:0;margin:0;flex:0 0 auto}
#dialogue-translation:empty{display:none}
#dialogue[data-translated="true"] #dialogue-advance{font-family:GalgameUI;font-size:20px}
#dialogue[data-translated="true"] .reading-controls{margin-top:4px}
.chapter-continue{display:block;margin-top:16px;font:12px GalgameUI;letter-spacing:.12em;color:#eed9b8;opacity:.8}
#chapter-intro{background:#11191e}
#chapter-intro>img{background:#11191e}
.notion-mark{box-shadow:none!important;display:inline-flex;background:none!important;border:0!important;transform:none!important}
.notion-mark img{width:32px;height:32px;object-fit:contain}
.memory-page header{gap:12px}
.memory-page header>span:last-child{font-family:GalgameWenKai;font-size:25px}
.phone-frame{width:min(100cqw,177.68cqh);height:min(100cqh,56.28cqw)}
.phone-response{left:36%;right:auto;width:8%;top:57%;color:#594235}
.phone-response .pixel-crab{display:none}
.phone-response p{font:2cqw GalgameWenKai;margin:0;animation:phoneReply .6s .5s both}
.ban-notice{width:min(90%,440px);max-height:96%;padding:28px 34px;background:#fffcf3;color:#30251e;box-shadow:0 12px 70px #0009;transform:rotate(-1deg);border:1px solid #e9e0ce;font:clamp(12px,1.25vw,16px)/1.5 GalgameUI;overflow:hidden}
.ban-notice header{display:flex;align-items:center;gap:9px;font:32px GalgameWenKai;margin-bottom:20px}.ban-notice header span{font-size:38px;color:#ca774b}.ban-notice p{margin:13px 0}
.ban-notice .ban-subject{font-size:1.18em;border-bottom:1px solid #d1c3ae;padding-bottom:13px;color:#903c30}
.ban-notice header img{width:35px;height:35px;object-fit:contain}
.whale-reveal{width:min(55%,370px);aspect-ratio:1;background:#142738;border:5px solid #667378;border-radius:20px;box-shadow:0 16px 50px #0008,inset 0 0 40px #020a11;display:grid;place-items:center;animation:reactionIn .5s ease both}
.whale-reveal svg{width:74%;height:74%;filter:drop-shadow(0 0 20px #4796e333)}
.pelican-window{width:min(96%,1250px);aspect-ratio:16/9;background:#f4ecd9;box-shadow:0 15px 65px #0008;border:1px solid #dccfb3;position:relative;overflow:hidden}
.pelican-window>svg{width:100%;height:100%;display:block}
.pelican-window .pelican-label{position:absolute;left:5%;top:5%;color:#805333;font:clamp(12px,1.6vw,24px) GalgameWenKai;letter-spacing:.1em}
.bike-spokes{transform-box:fill-box;transform-origin:center;animation:bikeSpin 1.8s linear infinite}
.pelican-bird{animation:pelicanBob .65s ease-in-out infinite alternate}
.pelican-wing{transform-origin:620px 290px}
.pelican-window[data-action="wave"] .bike-spokes,.still .bike-spokes{animation:none}
.pelican-window[data-action="wave"] .pelican-bird{animation:none}
.pelican-window[data-action="wave"] .pelican-wing{animation:pelicanWave .8s ease-in-out 3}
.pelican-window[data-action="wave"] .pelican-ground{animation:none}
.pelican-ground{animation:roadMove 1.8s linear infinite}
@keyframes bikeSpin{to{transform:rotate(360deg)}}@keyframes pelicanBob{to{transform:translateY(-4px)}}
@keyframes pelicanWave{0%,100%{transform:rotate(0)}45%,65%{transform:rotate(-75deg)}}
@keyframes roadMove{to{transform:translateX(-100px)}}
.postlude-art,.postlude-art-next{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .8s ease;animation:none!important}
.postlude-art-next{opacity:0}
#postlude[data-phase="black"] .postlude-art,#postlude[data-phase="black"] .postlude-art-next{opacity:0!important}
#postlude[data-phase="black"]{background:#0b0d0d;transition:background 1s}
@media(max-width:700px) and (orientation:portrait){
 #dialogue[data-translated="true"] #dialogue-advance{font-size:18px;line-height:1.5}
 #dialogue-translation{font-size:12px;padding-right:8px;margin-top:5px}
 .chapter-continue{font-size:11px;margin-top:12px}
 .ban-notice{padding:20px 22px;font-size:12px;max-height:96%;width:88%}.ban-notice header{font-size:26px;margin-bottom:13px}.ban-notice p{margin:9px 0}
 .pelican-window{width:95%;aspect-ratio:4/3}.pelican-window>svg{object-fit:contain}.pelican-window .pelican-label{font-size:14px}
 .phone-response p{font-size:3cqw}
}
@media(orientation:landscape) and (max-height:560px){
 .ban-notice{font-size:8px;width:255px;padding:11px 15px}.ban-notice header{font-size:17px;margin-bottom:6px}.ban-notice header span{font-size:22px}.ban-notice p{margin:5px 0}.ban-notice .ban-subject{padding-bottom:5px}
 #dialogue[data-translated="true"] #dialogue-advance{font-size:16px}#dialogue-translation{font-size:10px}
 .chapter-continue{margin-top:7px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){.bike-spokes,.pelican-bird,.pelican-wing,.pelican-ground{animation:none!important}}
.reduce-motion .bike-spokes,.reduce-motion .pelican-bird,.reduce-motion .pelican-wing,.reduce-motion .pelican-ground{animation:none!important}
.photo-print{width:min(84cqw,calc((88cqh - 52px) * var(--photo-aspect,1.3333)));height:auto;max-width:none;max-height:none;padding:10px 10px 16px;flex:none}
.photo-print img{width:100%;height:auto;max-width:none;max-height:none;flex:none}
.photo-print figcaption{flex:none}
@media(max-width:700px) and (orientation:portrait){
 .photo-print{width:min(89cqw,calc((88cqh - 43px) * var(--photo-aspect,1.3333)));padding:8px 8px 12px}
 #game-shell[data-cg="doorway-welcome"] #cg-frame,#game-shell[data-cg="consort-evening"] #cg-frame{position:absolute;top:0;height:100cqh;width:calc(100cqh * var(--cg-aspect));left:calc(50% - 100cqh * var(--cg-aspect) * .66)}
 #game-shell.ui-hidden[data-cg="doorway-welcome"] #cg-frame,#game-shell.ui-hidden[data-cg="consort-evening"] #cg-frame{position:relative;left:auto;top:auto;width:min(100cqw,calc(100cqh * var(--cg-aspect)));height:min(100cqh,calc(100cqw / var(--cg-aspect)))}
}
@media(orientation:landscape) and (max-height:560px){.photo-print{width:min(84cqw,calc((90cqh - 35px) * var(--photo-aspect,1.3333)));padding:6px 6px 10px}}
.reduce-motion #game-shell[data-effect="cold"] #lens-streak{animation:none;opacity:.65}
@media(prefers-reduced-motion:reduce){#game-shell[data-effect="cold"] #lens-streak{animation:none;opacity:.65}}

