/* Pet-first interface: a quiet stage, one choice, and a small view dock. */
.focus-app{background:#f7f5fa;min-height:100dvh;color:#30273f;--ink:#30273f;--muted:#746b80;--deep:#66508a;--purple:#8066aa}
.focus-app [hidden]{display:none!important}.focus-app .grain{opacity:.018}.focus-header{height:78px;width:calc(100% - 64px);max-width:1280px;border:0}.focus-header .brand{font-size:20px;gap:9px;letter-spacing:2px}.focus-header .brand-mark{font-size:36px;color:#8d75ae}.focus-header .brand small{font-size:7px;letter-spacing:1.4px}.mode-badge{font-size:10px;color:#736781;display:flex;gap:7px;align-items:center;border:1px solid #dfd8e8;padding:8px 12px;border-radius:30px;background:#ffffff70}.mode-badge i{width:5px;height:5px;border-radius:50%;background:#9ba97e}.skip-link{position:fixed;left:20px;top:-70px;z-index:300;background:#fff;padding:14px;border-radius:14px;color:var(--ink)}.skip-link:focus{top:12px}
.focus-main{width:min(620px,calc(100% - 36px));padding:0 0 112px;min-height:calc(100dvh - 78px)}.focus-stage{height:330px;position:relative;display:flex;justify-content:center}.focus-stage .pet-scene{width:500px;max-width:100%;height:330px;margin:0}.focus-stage .pet-scene:before{width:350px;height:310px;max-width:100%;opacity:.4}.focus-stage .pet-fallback{width:216px;height:202px;top:50%;border-radius:47% 46% 44% 43%}.focus-stage .pet-fallback:before,.focus-stage .pet-fallback:after{width:68px;height:68px;top:-13px}.focus-stage .pet-face{top:52%;scale:.88;transform:translate(-57%,-57%)}.focus-stage .pet-shadow{top:83%;width:158px;opacity:.16}.focus-stage .speech{top:0;left:50%;padding:11px 18px;border-radius:18px 18px 18px 5px;transform:translateX(-50%) rotate(-3deg);font-size:12px;text-align:center;box-shadow:0 7px 35px #6c538207}.focus-stage .speech span{font-size:10px;color:#7d718c}.focus-stage .speech .pet-greeting{font-size:12px;color:#4b3d60}.focus-stage .pet-label{bottom:13px;font-size:9px;letter-spacing:1.4px}.focus-stage .pet-mood{bottom:35px;font-size:10px;color:#81728f}.focus-stage .spark-one{right:16%;top:24%;font-size:28px;color:#b4a4c9}.focus-stage .spark-two{left:17%;top:65%;font-size:18px;color:#bcc5a1}.focus-stage .pet-touch{top:19%;left:26%;width:48%;height:58%}
.focus-game{max-width:520px;margin:8px auto 0;position:relative}.focus-game .game-main{padding:0;min-height:0}.focus-game .panel-top{min-height:25px;margin-bottom:12px}.focus-game .section-label{color:#8d819b;font-size:9px;letter-spacing:1.4px}.focus-game .welcome{padding:0;text-align:center}.focus-game .welcome h2,.welcome-title h2{font-size:26px;letter-spacing:-.8px;margin:0 0 8px;font-weight:600}.focus-game .welcome>p,.welcome-title p{font-size:12px;color:#796e86;margin:0 0 22px}.welcome-title{text-align:center;padding:3px 0 0}.focus-game:has(#welcome:not(.hidden))>.game-main>.panel-top{display:none}.focus-game .small-note{justify-content:center;font-size:10px;color:#8b7d98;margin-top:12px;line-height:1.8}.focus-game .small-note span{display:none}
.focus-app input{border:1px solid #ddd6e6;border-radius:18px;padding:17px 20px;font-size:16px;background:#fff;min-height:56px;box-shadow:0 7px 25px #55436604}.focus-app input::placeholder{font-size:13px;color:#9b90a5}.focus-app .primary{background:#655080;border-radius:18px;font-size:13px;min-height:56px;padding:16px 22px;justify-content:center;white-space:normal;box-shadow:0 7px 20px #59466e0c}.focus-app .primary:hover{background:#75608f;transform:translateY(-1px)}.focus-app .primary:active{transform:translateY(1px)}.focus-app .secondary{color:#766389;font-size:12px;padding:12px 14px;min-height:44px;border-radius:12px}.focus-app .secondary:hover{background:#eee8f4}.focus-app .start-form,.focus-app .word-form{gap:10px}.focus-game .progress-track{position:relative;height:2px;margin:22px auto 0;background:#eae3f0;border-radius:10px;max-width:150px}.focus-game .progress-track span{border-radius:10px}.focus-game .game{padding:0}.focus-game .game-head{margin-bottom:10px;font-size:11px}.focus-game .game-tools{gap:8px}.focus-game .game-tools button{min-height:35px;padding:7px;font-size:11px}.focus-game .prompt{font-size:15px;text-align:center;margin:5px 0 14px}.focus-game .prompt small{font-size:10px;color:#7e708e;margin-top:4px}.focus-game .pair{grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);margin:12px 0}.focus-game .word-card{min-height:84px;border:1px solid #e7deef;border-radius:20px;background:#f0ebf5;box-shadow:inset 0 1px 0 #fff9;padding:10px 15px}.focus-game .ai-card{background:#eef1e7;border-color:#e2e7d8}.focus-game .word-card>strong{font-size:25px;color:#534269}.focus-game .word-card>span{font-size:10px;color:#81718e}.focus-game .ai-card>strong{color:#66764d}.focus-game .ai-card>span{color:#7e896d}.focus-game .pair-link{color:#a999b8}.focus-game .bot-status,.focus-game .main-reason{font-size:12px;color:#6e5c7e;line-height:1.85;text-align:center;margin:12px 0 15px;overflow-wrap:anywhere}.focus-game .bot-status:before{display:none}.focus-game .input-help{font-size:10px;text-align:center;line-height:1.8;color:#897c96;margin:12px 10px 0}.focus-game .pause-cover{inset:25px -15px 0;border-radius:22px;background:#f7f5faf5}.focus-game .pause-cover h3{font-size:21px}.focus-game .round-label{font-size:10px;padding:6px 10px;background:#ede6f3;color:#7d649c}.focus-game .field-error{text-align:center}
.view-dock{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);display:flex;gap:4px;background:#ffffffeb;border:1px solid #e6dfec;backdrop-filter:blur(20px);box-shadow:0 7px 35px #5847670a;border-radius:25px;padding:6px;z-index:40}.view-dock button{border:0;background:none;border-radius:19px;min-width:89px;min-height:50px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#8c7d9a;padding:10px 17px;transition:background .2s,color .2s}.view-dock button span{font-size:20px;line-height:1}.view-dock button[aria-selected=true]{background:#ede7f3;color:#604a79}.view-dock button:hover{background:#f2edf7}.view-panel{animation:soft-entry .32s ease both}.view-panel[hidden]{display:none}.secondary-view{padding-top:48px}.page-heading{margin-bottom:28px}.page-heading h1{font-size:30px;letter-spacing:-.8px;margin:12px 0}.page-heading p{font-size:12px;color:#87798f;line-height:1.9;margin:8px 0}.secondary-view .journey{border:1px solid #e6deef;border-radius:24px;padding:26px;background:#fffc;min-height:250px}.secondary-view .history{max-height:none;overflow:visible}.secondary-view .empty-history{padding:25px 0;display:block}.secondary-view .journey-footer{margin-top:24px}.secondary-view .history-row{min-height:52px;font-size:14px}.menu-list{border:1px solid #e4ddeb;border-radius:24px;padding:6px 22px;background:#fffc}.menu-list>button,.menu-setting{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;background:none;border:0;border-bottom:1px solid #ede7f2;padding:21px 0;color:#82718f;font-size:20px}.menu-list b{display:block;font-size:14px;font-weight:500;color:#584765}.menu-list small{display:block;font-size:11px;color:#93839e;margin-top:5px}.menu-setting{border:0}.quiet-note{font-size:11px;line-height:2;color:#8c7c99;margin:24px 5px}.text-link{font-size:12px;color:#765c91;text-underline-offset:4px}.focus-app .toast{bottom:98px}.focus-app dialog{font-size:13px}.focus-app .dialog-body{font-size:13px;color:#786786}.focus-app .close-dialog{min-width:44px;min-height:44px;top:6px;right:8px}
/* The private game uses the same stage. All diagnostics live in their own view. */
.private-app .focus-game{margin-top:13px}.lab-explainer{font-size:12px;line-height:1.9;color:#7c6a8a;overflow-wrap:anywhere}.lab-note{font-size:12px;line-height:1.9;color:#84738f}.lab-status{font-size:12px;line-height:1.8;color:#796985}.focus-game #instruction{text-align:center;font-size:14px;margin:7px 0 12px}.lab-box{border:1px solid #e4dcea;border-radius:23px;background:#fffc;padding:25px;margin:16px 0}.lab-box h2{font-size:18px;margin-bottom:13px}.lab-budget{font-family:inherit;font-size:11px;color:#80708d;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}.lab-actions{display:flex;gap:9px;flex-wrap:wrap}.focus-game .lab-actions>.primary{flex:1}.lab-tools{display:flex;justify-content:center;gap:12px;margin:12px 0 0}.lab-tools button{background:none;border:0;color:#8d7b98;font-size:11px;padding:10px;min-height:40px}.verification{font-size:10px;color:#93839e;line-height:1.8;text-align:center;margin:5px 0}.lab-error{background:#f9e8ed;border:1px solid #efd3de;border-radius:15px;padding:14px;color:#9c4b67;font-size:12px;line-height:1.8;margin-bottom:14px}.lab-error:empty{display:none}.lab-row{padding:16px 0;border-bottom:1px solid #e9e1ef;font-size:14px;line-height:1.8}.lab-row b{font-weight:500}.lab-row small{font-size:10px;color:#9c88a9}.lab-history{max-height:none;overflow:visible}.consent-note{font-size:10px;line-height:1.8;text-align:center;color:#8f7e9c;margin:12px 0}.association-details{font-size:10px;color:#9785a3;text-align:center;margin:4px 0 16px}.association-details summary{cursor:pointer;min-height:30px;line-height:30px;list-style:none}.association-details summary:after{content:' ＋';font-size:13px}.association-details[open] summary:after{content:' −'}.association-details .lab-explainer{font-size:11px;margin:6px 0}.lab-box details>summary{cursor:pointer;font-size:13px;color:#6f5c7e;min-height:30px;line-height:1.8}.busy .focus-game{opacity:.65;pointer-events:none}.busy{cursor:progress}#syntheticReport:empty,#diagnosticResult:empty{display:none}.main-reason:empty{display:none}#view-test .secondary{border:1px solid #e7deef;margin:3px 0}#view-test .lab-actions{gap:8px}
@keyframes soft-entry{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1100px) and (min-height:850px){.focus-stage{height:390px}.focus-stage .pet-scene{height:390px}.focus-stage .pet-fallback{width:240px;height:226px}.focus-stage .pet-fallback:before,.focus-stage .pet-fallback:after{width:78px;height:78px}.focus-stage .pet-face{scale:1;transform:translate(-50%,-50%)}.focus-stage .speech{top:20px}.focus-game{margin-top:12px}}
@media(max-width:600px){.focus-header{width:calc(100% - 36px);height:67px}.focus-header .brand{font-size:18px}.focus-header .brand-mark{font-size:31px}.focus-header .brand small{font-size:6px}.mode-badge{font-size:9px;padding:7px 9px;gap:5px}.focus-main{width:calc(100% - 36px);padding-bottom:112px;min-height:calc(100dvh - 67px)}.focus-stage,.focus-stage .pet-scene{height:286px}.focus-stage .pet-fallback{width:190px;height:180px}.focus-stage .pet-fallback:before,.focus-stage .pet-fallback:after{width:62px;height:62px;top:-10px}.focus-stage .pet-scene:before{width:280px;height:270px}.focus-stage .pet-face{scale:.78;transform:translate(-64%,-64%)}.focus-stage .speech{top:3px;font-size:11px;padding:10px 14px}.focus-stage .speech span{font-size:9px}.focus-stage .pet-label{bottom:9px}.focus-stage .pet-mood{bottom:29px;font-size:9px}.focus-stage .spark-one{right:12%;font-size:23px}.focus-stage .spark-two{left:11%;font-size:16px}.focus-stage .pet-touch{left:20%;width:60%}.focus-game{margin-top:9px}.focus-game .welcome h2,.welcome-title h2{font-size:23px}.focus-game .welcome>p,.welcome-title p{font-size:11px;margin-bottom:20px}.focus-app .primary{font-size:12px;padding:15px 17px;gap:10px;min-height:54px}.focus-app input{padding:15px 16px;min-height:54px;font-size:16px}.focus-app input::placeholder{font-size:11px}.focus-game .word-form .primary{font-size:12px;padding:15px 14px}.focus-game .word-form input{font-size:16px}.focus-game .start-form{gap:8px}.focus-game .word-card{min-height:75px;border-radius:17px}.focus-game .word-card strong{font-size:23px}.focus-game .prompt{font-size:14px}.focus-game .pair{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr)}.focus-game .bot-status,.focus-game .main-reason{font-size:11px}.view-dock{bottom:max(13px,env(safe-area-inset-bottom));padding:5px;border-radius:22px}.view-dock button{min-width:82px;min-height:48px;padding:9px 12px;font-size:10px;border-radius:17px}.private-app .view-dock button{min-width:73px;padding:9px 10px}.view-dock button span{font-size:18px}.secondary-view{padding-top:27px}.page-heading h1{font-size:26px}.page-heading{margin-bottom:22px}.lab-box{padding:21px;margin:14px 0}.lab-actions .secondary{font-size:11px}.focus-game .lab-tools{margin-top:5px}.verification{font-size:9px}.lab-row{font-size:13px}.lab-budget{font-size:10px}.private-app .focus-game{margin-top:4px}.focus-game #instruction{font-size:12px}.association-details{margin-bottom:12px}.focus-app .notice{font-size:12px;line-height:1.9}.focus-app .dialog-body{font-size:12px}.focus-app .toast{bottom:92px}}
@media(max-height:740px) and (min-width:601px){.focus-header{height:65px}.focus-stage,.focus-stage .pet-scene{height:275px}.focus-stage .pet-fallback{width:181px;height:172px}.focus-stage .pet-fallback:before,.focus-stage .pet-fallback:after{width:58px;height:58px}.focus-stage .pet-face{scale:.75;transform:translate(-67%,-67%)}.focus-stage .speech{top:0}.focus-stage .pet-mood{bottom:26px}.focus-stage .pet-label{bottom:6px}}
@media(prefers-reduced-motion:reduce){.view-panel{animation:none}.focus-app *, .focus-app *:before,.focus-app *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.focus-header .brand-mark svg{width:35px;height:35px;display:block;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round}
.focus-app:has(#game:not(.hidden)) .focus-stage,.focus-app:has(#game:not(.hidden)) .focus-stage .pet-scene,.private-app:has(#gameSection:not(.hidden)) .focus-stage,.private-app:has(#gameSection:not(.hidden)) .focus-stage .pet-scene{height:clamp(195px,28dvh,250px)}
.focus-app:has(#game:not(.hidden)) .focus-stage .pet-fallback,.private-app:has(#gameSection:not(.hidden)) .focus-stage .pet-fallback{width:153px;height:146px;top:48%}
.focus-app:has(#game:not(.hidden)) .focus-stage .pet-fallback:before,.focus-app:has(#game:not(.hidden)) .focus-stage .pet-fallback:after,.private-app:has(#gameSection:not(.hidden)) .focus-stage .pet-fallback:before,.private-app:has(#gameSection:not(.hidden)) .focus-stage .pet-fallback:after{width:48px;height:48px;top:-9px}
.focus-app:has(#game:not(.hidden)) .focus-stage .pet-face,.private-app:has(#gameSection:not(.hidden)) .focus-stage .pet-face{scale:.63;transform:translate(-79%,-79%);top:50%}
.focus-app:has(#game:not(.hidden)) .focus-stage .speech,.private-app:has(#gameSection:not(.hidden)) .focus-stage .speech{top:-9px;font-size:10px;padding:8px 13px}
.focus-app:has(#game:not(.hidden)) .focus-stage .speech span{display:none}
.focus-app:has(#game:not(.hidden)) .focus-stage .pet-mood,.private-app:has(#gameSection:not(.hidden)) .focus-stage .pet-mood{bottom:24px;font-size:9px}
.focus-app:has(#game:not(.hidden)) .focus-stage .pet-label,.private-app:has(#gameSection:not(.hidden)) .focus-stage .pet-label{bottom:4px;font-size:8px}
.focus-app:has(#game:not(.hidden)) .focus-stage .pet-scene:before,.private-app:has(#gameSection:not(.hidden)) .focus-stage .pet-scene:before{width:260px;height:230px}
.focus-app:has(#game:not(.hidden)) .focus-stage .pet-shadow,.private-app:has(#gameSection:not(.hidden)) .focus-stage .pet-shadow{width:116px;top:81%}

.focus-game .main-reason{font-size:13px}.focus-app input{scroll-margin-bottom:100px}@media(max-width:600px){.focus-game .main-reason{font-size:12px}}

.connection-status{font-size:12px;color:#87768f;text-align:center;line-height:1.9}.connection-status:empty{display:none}

/* Slightly bigger companion, without pushing the answer behind the dock. */
.focus-stage,.focus-stage .pet-scene{height:350px}.focus-stage .pet-fallback{width:248px;height:232px}.focus-stage .pet-fallback:before,.focus-stage .pet-fallback:after{width:78px;height:78px}.focus-stage .pet-face{scale:1;transform:translate(-50%,-50%)}.focus-stage .speech{max-width:90%;white-space:normal;min-width:180px;line-height:1.6}.focus-stage .pet-mood{color:#796984}
.focus-app:has(#game:not(.hidden)) .focus-stage,.focus-app:has(#game:not(.hidden)) .focus-stage .pet-scene,.private-app:has(#gameSection:not(.hidden)) .focus-stage,.private-app:has(#gameSection:not(.hidden)) .focus-stage .pet-scene{height:clamp(215px,31dvh,280px)}
.focus-app:has(#game:not(.hidden)) .focus-stage .pet-fallback,.private-app:has(#gameSection:not(.hidden)) .focus-stage .pet-fallback{width:178px;height:169px;top:46%}
.focus-app:has(#game:not(.hidden)) .focus-stage .pet-fallback:before,.focus-app:has(#game:not(.hidden)) .focus-stage .pet-fallback:after,.private-app:has(#gameSection:not(.hidden)) .focus-stage .pet-fallback:before,.private-app:has(#gameSection:not(.hidden)) .focus-stage .pet-fallback:after{width:56px;height:56px;top:-10px}
.focus-app:has(#game:not(.hidden)) .focus-stage .pet-face,.private-app:has(#gameSection:not(.hidden)) .focus-stage .pet-face{scale:.73;transform:translate(-68.5%,-68.5%);top:48%}
@media(min-width:1100px) and (min-height:850px){.focus-stage,.focus-stage .pet-scene{height:410px}.focus-stage .pet-fallback{width:276px;height:260px}.focus-stage .pet-face{scale:1.12;transform:translate(-44.6%,-44.6%)}}
@media(max-width:600px){.focus-stage,.focus-stage .pet-scene{height:304px}.focus-stage .pet-fallback{width:220px;height:207px}.focus-stage .pet-fallback:before,.focus-stage .pet-fallback:after{width:70px;height:70px}.focus-stage .pet-face{scale:.9;transform:translate(-55.6%,-55.6%)}.focus-stage .speech{font-size:11px}.focus-app:has(#game:not(.hidden)) .focus-stage .speech,.private-app:has(#gameSection:not(.hidden)) .focus-stage .speech{font-size:10px;top:-5px}}
#confetti.confetti-layer{position:fixed;inset:0;margin:0;padding:0;border:0;background:transparent;width:100vw;height:100dvh;max-width:none;max-height:none;overflow:hidden;pointer-events:none;z-index:2000}#confetti.confetti-layer::backdrop{background:transparent;pointer-events:none}.match-confetti{position:absolute;top:-20px;display:block;background:var(--confetti-colour);border-radius:1px;opacity:.95;animation:confetti-fall 2.7s ease-in both;will-change:transform}.confetti-dot{border-radius:50%}.confetti-diamond{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}#confetti[data-motion=reduced] .match-confetti{top:12%;animation:none;transform:rotate(var(--confetti-turn));opacity:.85;will-change:auto}
@keyframes confetti-fall{0%{transform:translate3d(0,0,0) rotate(var(--confetti-turn)) rotateY(0deg);opacity:0}8%{opacity:.95}100%{transform:translate3d(var(--confetti-drift),calc(100dvh + 70px),0) rotate(var(--confetti-spin)) rotateY(540deg);opacity:.25}}
@media(prefers-reduced-motion:reduce){.match-confetti{animation:none!important;top:12%;transform:rotate(var(--confetti-turn));will-change:auto}}

/* The pet's explanation is the primary revealed-round voice, separate from banter. */
.pet-reason-wrap{width:min(520px,100%);margin:0 auto 20px;position:relative;min-width:0}.reason-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 4px 7px;font-size:10px;color:#796987}.reason-toolbar button{background:none;border:0;padding:10px 12px;min-height:44px;min-width:88px;color:#66507f;font-size:12px;border-radius:12px;cursor:pointer}.reason-toolbar button:hover{background:#ede6f4}.reason-toolbar button:focus-visible{outline:2px solid #735595;outline-offset:2px}.pet-reason-bubble{position:relative;background:#fff;border:1px solid #ded1ed;border-radius:23px;padding:20px 24px;box-shadow:0 10px 32px #70528c0c;overflow-wrap:anywhere}.pet-reason-bubble:before{content:'';position:absolute;top:-7px;left:calc(50% - 7px);width:12px;height:12px;background:#fff;border-top:1px solid #ded1ed;border-left:1px solid #ded1ed;transform:rotate(45deg)}.pet-reason-bubble h2{font-size:18px;line-height:1.5;font-weight:600;letter-spacing:-.3px;color:#614378;margin:0 0 9px}.pet-reason-bubble p{font-size:15px;line-height:1.9;color:#594a67;margin:0}.pet-reason-bubble .reason-basis{font-size:11px;color:#8b7998;margin:0 0 9px}.history-reason{grid-column:1/-1;font-size:11px;color:#7f6b8e;padding:0 0 7px}.history-reason summary{cursor:pointer;padding:7px 0;min-height:32px}.history-reason p{line-height:1.8;margin:0 0 5px;overflow-wrap:anywhere}.focus-app:has(#petReasonWrap:not([hidden])) .focus-stage .speech{opacity:.75}
@media(max-width:600px){.pet-reason-wrap{margin:0 auto 15px}.reason-toolbar{font-size:9px;padding-bottom:5px}.reason-toolbar button{font-size:11px}.pet-reason-bubble{padding:17px 19px;border-radius:20px}.pet-reason-bubble h2{font-size:16px}.pet-reason-bubble p{font-size:14px;line-height:1.85}.pet-reason-bubble .reason-basis{font-size:10px}}
.result-reason{margin:10px 0 20px;text-align:left}.result-reason .pet-reason-bubble{padding:16px 19px}.result-reason .pet-reason-bubble p{font-size:13px;line-height:1.85}

/* Sound is visible on the play screen, never starts before interaction. */
.sound-control{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:84px;border:1px solid #dfd8e8;background:#ffffff90;border-radius:24px;padding:8px 12px;color:#655371;font-size:11px;white-space:nowrap}.focus-header{gap:12px}.focus-header .mode-badge{margin-left:auto}.sound-control[aria-pressed=false]{color:#8b7f93;background:transparent}.sound-control:focus-visible{outline:3px solid #b79bea;outline-offset:3px}@media(max-width:600px){.focus-header{gap:7px}.focus-header .mode-badge{font-size:8px;padding:7px 8px}.focus-header .sound-control{min-width:72px;padding:8px;font-size:10px}}

/* Keep the facial expression aligned with the WebGL body during thought and joy. */
.pet-scene[data-mood=thinking] .pet-face{animation:ponder 1.4s ease-in-out infinite}.pet-scene[data-mood=win] .pet-face{animation:joy .8s ease-in-out 3}.pet-scene[data-mood=thinking] .pet-shadow{animation:thought-shadow 1.4s ease-in-out infinite}.pet-scene[data-mood=win] .pet-shadow{animation:happy-shadow .8s ease-in-out 3}.pet-scene[data-mood=thinking] .pet-mood:after{content:' · · ·';display:inline-block;animation:thought-dots 1.2s ease-in-out infinite}.request-feedback{max-width:520px;margin:8px auto 12px;padding:12px 15px;border-radius:16px;background:#eee8f7;color:#6e5d7e;font-size:12px;line-height:1.7;text-align:center}.request-feedback[hidden]{display:none}
@keyframes thought-shadow{50%{scale:.92;opacity:.11}}@keyframes happy-shadow{50%{scale:.75;opacity:.09}}@keyframes thought-dots{50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.pet-scene[data-mood] .pet-face,.pet-scene[data-mood] .pet-shadow,.pet-scene[data-mood] .pet-mood:after{animation:none!important;translate:0 0!important;rotate:0!important;scale:1!important}}
