/* Original generated raster artwork supplies every contour, tail and accent. */
.art-balloon{isolation:isolate;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;min-width:0;position:relative;display:block}
.art-balloon::before,.art-balloon::after{content:none!important;display:none!important}
.balloon-art{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:fill!important;pointer-events:none;user-select:none;z-index:-1}
.balloon-copy{position:absolute;left:13%;right:13%;top:23%;bottom:22%;display:flex;align-items:center;justify-content:center;white-space:pre-line;text-align:center;word-break:keep-all;overflow-wrap:break-word;font:500 20px/1.65 Pretendard,sans-serif;letter-spacing:-.025em;color:#2b2228}
.balloon-copy strong,.confession em,.caught em{font-weight:700}
[data-balloon="calm"]{width:280px;max-width:100%;height:210px;min-height:0!important}
[data-balloon="calm"][data-direction="up"]>.balloon-art{transform:scaleY(-1)}
[data-balloon="calm"][data-direction="up"]>.balloon-copy{top:28%;bottom:17%}
[data-balloon="firm"]{width:288px;max-width:100%;height:195px;min-height:0!important}
[data-balloon="firm"][data-direction="up"]>.balloon-art{transform:rotate(180deg)}
[data-balloon="firm"]>.balloon-copy{top:25%;bottom:18%;font-weight:650;font-size:21px}
[data-balloon="thought"]{width:265px;max-width:100%;height:165px;min-height:0!important}
[data-balloon="thought"]>.balloon-copy{left:14%;right:12%;top:18%;bottom:25%;font-size:19px;font-weight:450}
.first-thought .narration.art-balloon{display:block;width:260px;height:100px;max-width:100%;margin:0;transform:none}
.first-thought .narration.left{width:165px;height:77px}
[data-balloon="narration"]>.balloon-copy{left:12%;right:12%;top:20%;bottom:20%;font:18px/1.6 Gowun,serif;color:#fff1e5;letter-spacing:0}
.interrupt .balloon.art-balloon{width:300px;height:218px;min-width:0;transform:none}
.reaction .balloon.art-balloon,.cup-line .balloon.art-balloon{transform:none}
.reply.art-balloon,#answers button.art-balloon{width:100%;height:112px;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
[data-balloon="reply"]>.balloon-copy{top:18%;bottom:22%;left:13%;right:15%;font:500 17px/1.6 Pretendard,sans-serif;text-align:center}
.reply-arrow{position:absolute;right:7%;top:40%;float:none!important;margin:0!important;font:18px Pretendard;color:#73545f;pointer-events:none}
.reply.art-balloon:active,#answers button.art-balloon:active{transform:translateY(2px)}
.motto-pause{min-height:780px;justify-content:flex-start;padding:75px 26px 110px;gap:75px}
.motto-panel{width:calc(100% + 52px);margin:0 -26px;height:500px;position:relative}
.motto-panel img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 38%;mask-image:linear-gradient(transparent,#000 13%,#000 76%,transparent)}
.dialogue > .art-balloon{width:288px;max-width:84%;height:216px;min-height:0;bottom:188px;left:6%;right:auto;padding:0}
.dialogue.reader > .art-balloon{left:auto;right:7%;background:none;border:0;height:174px}
.dialogue.book > .art-balloon{bottom:302px;width:264px;height:183px}
.dialogue.touch > .art-balloon{bottom:55px;width:260px;height:190px}
#answers{bottom:max(22px,env(safe-area-inset-bottom))}
#answers form button.art-balloon{height:96px}
#answers button.art-balloon{position:relative;bottom:auto;left:auto;right:auto;max-width:100%}
#answers input{margin-bottom:4px}
.touch-label{background:transparent url(balloons/reply.webp) center/100% 100% no-repeat;border:0;border-radius:0;padding:19px 25px 23px;box-shadow:none}
@media(max-width:350px){.balloon-copy{font-size:19px}[data-balloon="firm"]>.balloon-copy{font-size:20px}.dialogue > .art-balloon{height:202px;bottom:164px}.dialogue.reader > .art-balloon{height:160px}.dialogue.book > .art-balloon{height:173px;bottom:288px}.dialogue.touch > .art-balloon{bottom:46px;height:184px}.motto-panel{height:430px}.motto-pause{min-height:700px;gap:58px}}
@media(max-height:700px){.dialogue > .art-balloon{bottom:155px;height:190px}.dialogue.book > .art-balloon{bottom:271px;height:176px}.dialogue.touch > .art-balloon{bottom:38px;height:176px}#answers{bottom:16px}#answers button.art-balloon{height:102px}}

/* v8: breathing room, visible action and shot-specific lettering. */
.confession{min-height:820px;padding-bottom:230px;margin-bottom:155px;background:linear-gradient(to bottom,#050505 0%,#050505 84%,var(--paper) 100%)}
.sfx-cup{font-size:50px;right:15%;bottom:-5px;color:#fff3df;-webkit-text-stroke:.9px #40202a;paint-order:stroke fill;transform:rotate(-12deg);text-shadow:2px 3px 0 #40202a30}
.sfx-glance{font-size:28px}
.motto-panel{height:560px}
.motto-panel img{object-position:50% 42%;mask-image:linear-gradient(transparent,#000 13%,#000 73%,transparent)}
.reply.art-balloon,#answers button.art-balloon{animation:reply-heartbeat 2.8s ease-in-out infinite;transform-origin:50% 65%;will-change:transform}
.reply-arrow{font-size:21px;color:#875364;animation:reply-arrow-cue 2.8s ease-in-out infinite}
@keyframes reply-heartbeat{0%,46%,100%{transform:scale(1);filter:drop-shadow(0 0 0 #d8a2b000)}50%{transform:scale(1.018);filter:drop-shadow(0 0 8px #d8a2b04d)}56%{transform:scale(1.003)}62%{transform:scale(1.012);filter:drop-shadow(0 0 5px #d8a2b033)}70%{transform:scale(1)}}
@keyframes reply-arrow-cue{0%,45%,100%{opacity:.75;translate:0 0}56%,65%{opacity:1;translate:3px 0}}
[data-balloon="night"]{width:260px;max-width:100%;height:178px;min-height:0!important}
[data-balloon="night"][data-direction="up"]>.balloon-art{transform:rotate(180deg)}
[data-balloon="night"]>.balloon-copy{color:#fff0db;top:25%;bottom:19%;font:450 19px/1.75 Gowun,serif;letter-spacing:0}
[data-balloon="amber"]{width:280px;max-width:100%;height:202px;min-height:0!important}
[data-balloon="amber"][data-direction="up"]>.balloon-art{transform:scaleY(-1)}
[data-balloon="amber"]>.balloon-copy{color:#66352f;top:28%;bottom:17%;font:500 20px/1.7 Pretendard,sans-serif}
.stage[data-shot^="cafe-"] .dialogue > .art-balloon{top:7%;bottom:auto;left:3%;right:auto;width:clamp(205px,54vw,232px);height:clamp(126px,18svh,164px)}
.stage[data-shot^="cafe-"] .balloon-copy{font-size:18px;line-height:1.55}
.stage[data-shot="pond-intro"] .dialogue > .art-balloon{left:4%;right:auto;bottom:176px;width:250px;height:184px}
.stage[data-shot="pond-intro"] .balloon-copy{font-size:18px}
.stage[data-shot="pond-secret"] .dialogue > .art-balloon{left:4%;right:auto;bottom:174px;width:240px;height:163px}
.stage[data-shot="talisman"] .dialogue > .art-balloon{bottom:43px;left:5%;width:280px;height:202px}
.stage[data-shot="shrine-entry"] .dialogue > .art-balloon{right:6%;left:auto;bottom:190px;width:245px;height:162px}
.stage[data-shot="shrine-entry"] .balloon-copy{font-size:18px}
.stage[data-shot="shrine-left"] #shade{opacity:.45}
.touch-label{font-size:15px;padding:21px 26px 25px;animation:touch-caption 2.8s ease-in-out infinite}
@keyframes touch-caption{0%,46%,100%{filter:drop-shadow(0 0 0 #f5c58100)}55%,62%{filter:drop-shadow(0 0 8px #f5c58166)}}
@media(max-width:350px){.motto-panel{height:495px}.stage[data-shot="pond-intro"] .dialogue > .art-balloon{width:232px;height:174px}.stage[data-shot="pond-secret"] .dialogue > .art-balloon{width:228px;height:161px}.stage[data-shot="talisman"] .dialogue > .art-balloon{width:266px;height:190px}}
@media(max-height:650px){.stage[data-shot^="cafe-"] .dialogue > .art-balloon{top:20px;left:60px;width:205px;height:126px}}
@media(max-height:700px){.stage[data-shot^="cafe-"] #still{object-fit:contain;object-position:center}}
