/* Water artwork belongs to the scene; reading areas always have clean paper. */
.voice-game{background-image:none!important;background-color:transparent}.voice-game .game-status{background:#f7f2e8;border:0}.voice-game .game-console{position:relative;isolation:isolate;background:#f7f2e8 url('assets/ink-continuum.svg') center 720px/100% auto no-repeat;border:0;padding-top:7px}.voice-game .phase-caption,.voice-game .meter-caption{position:relative;z-index:2;background:#f7f2e8;color:#474f3e;line-height:1.9;padding:5px 8px;font-size:15px}.voice-game .phase-caption{min-height:43px}.voice-game .practice-actions{background:#f7f2e8}.voice-game .game-options,.voice-game .learning-summary{background:#f7f2e8}.voice-game .progress-track{height:2px;background:#c9bea5;margin-top:11px}.voice-game .round-dots{background:#f7f2e8;z-index:2;padding:0 9px}
.voice-game .practice-scene{height:370px;position:relative;isolation:isolate;background:none;overflow:hidden}.voice-game .practice-scene:before{content:'';position:absolute;inset:0;background:url('assets/ink-water-v2.png') center 62%/cover no-repeat;opacity:.22;mask-image:linear-gradient(transparent,#000 34%,#000 73%,transparent 100%);z-index:0;pointer-events:none}.voice-game .practice-scene:after{content:'';position:absolute;bottom:0;left:0;right:0;height:37px;background:linear-gradient(transparent,#f7f2e8 62%);z-index:7;pointer-events:none}.voice-game .physical-water{height:50%;bottom:31px;opacity:1;background:none;mask-image:none;z-index:1}.voice-game .physical-water svg{opacity:1}.shore-bank{position:absolute;left:0;bottom:52px;width:49%;height:59px;z-index:2;pointer-events:none}.shore-bank svg{width:100%;height:100%}.voice-game .bird-perch{width:125px;height:58px;left:7.5%;bottom:42px;opacity:1;z-index:3}.voice-game .bird{left:10%;width:33%;height:155px;bottom:75px;z-index:4}.voice-game .bird>svg{overflow:hidden}.voice-game .crab,.voice-game .crab:has([aria-label="奶蟹水墨蟹宠"]){right:11%;bottom:60px;width:29%;height:108px;z-index:4;transition:transform .4s ease,opacity .4s ease;mix-blend-mode:normal}.voice-game .crab:has([aria-label="奶蟹水墨蟹宠"]){width:25%;height:101px;right:13%}.voice-game .crab[data-motion="submerge"]{transform:translateY(18px);opacity:1;clip-path:none;filter:none}.voice-game .crab[data-motion="submerge"]>svg{mask-image:linear-gradient(#000 0%,#000 62%,#0009 77%,#0002 100%)}.voice-game .crab[data-motion="submerge"]:after{display:none}.voice-game .crab[data-motion="singing"]{transform:translateY(-3px);opacity:1;clip-path:none}.voice-game .crab[data-motion="singing"]>svg{mask-image:none}.crab-contact-shadow{position:absolute;right:12%;bottom:50px;width:25%;height:20px;border-radius:50%;background:#627e6d26;filter:blur(4px);z-index:2;pointer-events:none}.water-foreground{position:absolute;right:6%;bottom:34px;width:40%;height:56px;z-index:5;pointer-events:none}.water-foreground svg{width:100%;height:100%}.voice-game .speaker-ripple.right{right:6%;width:40%;bottom:58px;height:32px;z-index:6;opacity:.64;color:#719888}.voice-game .speaker-ripple.left{left:4%;width:40%;bottom:41px;height:25px;z-index:3;opacity:.38;color:#80967c}.voice-game .speaker-ripple.active{color:#d27d38;opacity:1}.voice-game .turn-cue{z-index:8;bottom:0;min-height:32px;padding:6px 12px;background:#f7f2e8;color:#5c634f;font-size:14px}.voice-game .lyric-bubble{z-index:7;max-height:none;background:#fbf7edfa;box-shadow:0 4px 10px #5c51300a}.voice-game .lyric-bubble p{overflow-wrap:anywhere}.voice-game .bubble-response{top:67px}.voice-game .practice-scene:has(.lyric-bubble p:nth-child(2)){margin-bottom:0}
@media(max-height:760px){.voice-game .practice-scene{height:335px}.voice-game .bird{height:145px}.voice-game .crab:has([aria-label="奶蟹水墨蟹宠"]){height:94px}.voice-game .game-status{padding-top:10px;padding-bottom:10px}.voice-game .phase-caption{font-size:14px}}
@media(max-width:380px){.voice-game .bird-perch{width:105px;left:7%}.voice-game .lyric-bubble p{font-size:16px}.voice-game .crab,.voice-game .crab:has([aria-label="奶蟹水墨蟹宠"]){right:11%;width:27%}.voice-game .phase-caption{font-size:14px}}
@media(prefers-reduced-motion:reduce){.voice-game .crab{transition:none}}
.voice-game .water-foreground{mask-image:radial-gradient(ellipse at 50% 35%,#000 15%,#0009 51%,transparent 76%)}.voice-game .practice-scene{height:calc(370px + var(--lyric-room,0px))}
@media(max-height:760px){.voice-game .practice-scene{height:calc(335px + var(--lyric-room,0px))}}
/* Keep the surfaced crab in contact with its waterline, rather than suspended above it. */
.voice-game .crab[data-motion="singing"]{transform:translateY(8px)}.voice-game .crab[data-motion="singing"]>svg{animation:water-contact-bob 1.2s ease-in-out infinite alternate}@keyframes water-contact-bob{to{transform:translateY(-1px)}}
