/* 1.20: the animated model owns its joints. Legacy sprite transforms are disabled. */
.living-mascot .ember-travel,.living-mascot .ember-sprite,.living-mascot .ember-shadow{animation:none!important;transform:none!important;transition:none!important}
.yumio-rig-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.living-mascot[data-rig-ready=true]>.ember-travel,.living-mascot[data-rig-ready=true]>.ember-shadow,.living-mascot[data-rig-ready=true]>.think-bubbles{visibility:hidden}
.living-mascot .ember-sprite{background-image:url('/assets/yumio-amber-idle.webp');background-size:contain;background-position:center;background-repeat:no-repeat}
.living-mascot[data-mood=thinking] .ember-sprite{background-image:url('/assets/yumio-amber-thinking.webp')}
.living-mascot[data-mood=remembered] .ember-sprite{background-image:url('/assets/yumio-memory-hug-v118.webp')}
.living-mascot[data-mood=happy] .ember-sprite,.living-mascot[data-mood=joy] .ember-sprite{background-image:url('/assets/yumio-amber-happy.webp')}
.living-mascot[data-mood=hello] .ember-sprite{background-image:url('/assets/yumio-amber-wave.webp')}
.message-avatar-mascot .ember-sprite{background-image:url('/assets/yumio-amber-avatar.webp');transform:none!important}
.thinking-companion .ember-sprite{background-image:url('/assets/yumio-amber-thinking.webp')}
.hero-original-stage{width:min(44vw,610px);height:min(44vw,610px);right:3%;bottom:50px;z-index:3;transform:none!important}
.hero-original-stage .hero-canonical{height:100%;width:100%}
.ref-hero{background:radial-gradient(ellipse at 72% 27%,#34565866,transparent 48%),linear-gradient(160deg,#111d23,#142829 55%,#1b302c);height:880px}
.ref-hero-copy{padding-top:177px}
.ref-hero-copy h1{font-size:96px;line-height:.98;max-width:590px}
.ref-hero-copy>p{max-width:440px;font-size:18px;color:#c4d0c8}
.ref-landscape{opacity:.22}
.ref-beam{display:none}
.night-sky{opacity:.8}.night-sky .sky-moon,.night-sky .sky-haze,.night-sky .sky-mist{display:none}
.orbital-sky{position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.92}
.orbital-sky canvas{width:100%;height:100%;display:block}
.hero-original-stage:before{content:'';position:absolute;width:78%;height:8%;bottom:8%;left:11%;border-radius:50%;background:radial-gradient(ellipse,#afb6a838,#556e5d30 55%,transparent 73%);border-top:1px solid #e9caa538;transform:perspective(300px) rotateX(24deg)}
.ref-speech{left:auto;right:5%;bottom:594px;width:229px;box-shadow:0 8px 30px #050e1033;border:1px solid #f3d7a842;border-radius:18px;font-size:14px;background:#f3eadb;color:#233b31;transform:none}
.ref-speech:after{border-width:1px;bottom:-9px;width:16px;height:16px}
.ref-speech small{color:#69766b;font-size:10px;letter-spacing:.03em}
.ref-panels{gap:24px;align-items:stretch}
.ref-panel{overflow:hidden;min-height:445px;border:1px solid #f0e8d3;border-radius:24px;box-shadow:none!important;padding:24px 22px}
.ref-panel-number{font-family:var(--mono);font-size:12px;opacity:.5}
.ref-panel .ref-user,.ref-panel .ref-assistant{position:relative;z-index:2;font-size:14px;line-height:1.5;border-radius:13px;padding:12px 14px;min-height:0}
.ref-panel .ref-assistant{background:#243b30;color:#fff3df}
.ref-panel .panel-portrait{height:220px;width:220px;right:-4px;bottom:-13px;pointer-events:none}
.ref-panel:nth-child(1) .panel-portrait{right:8px}
.ref-panel .panel-mascot{width:100%;height:100%}
.ref-panel .ref-receipt{position:relative;z-index:2;max-width:58%;font-size:12px;margin-top:22px}
.ref-caption{max-width:85%;font-size:13px;position:relative;z-index:2}
.ref-preview-stage{position:relative;background:radial-gradient(ellipse at 50% 30%,#73897522,transparent 60%),linear-gradient(165deg,#1b3032,#274236);overflow:hidden}
.ref-preview-stage:after{content:'';position:absolute;bottom:5%;left:18%;right:18%;height:1px;background:linear-gradient(90deg,transparent,#dfc8a655,transparent)}
.ref-preview-stage .preview-mascot{width:100%;height:100%;min-height:330px;transform:none}
.ref-night{background:radial-gradient(ellipse at 75% 50%,#36525266,transparent 45%),linear-gradient(#151918,#16292a)}
.ref-closing .closing-mascot{width:390px;height:390px;transform:none;margin:-20px 0}
.feature-buddy{display:block;width:124px;height:124px}
.memory-page .feature-buddy{display:block;width:145px;height:145px}
.welcome-mascot{display:block;width:145px;height:145px;margin:0 auto -3px}
.chat-welcome{padding-top:10px}
.chat-welcome>h2{font-size:34px}
.chat-welcome .welcome-enable{margin-top:18px}
.companion-card{position:relative;background:radial-gradient(ellipse at 50% 45%,#73897522,transparent 64%),linear-gradient(165deg,#1b3032,#254035);border:1px solid #c8d7b522;border-radius:24px;overflow:hidden;min-height:310px}
.companion-hill{opacity:.12}
.companion-stage-clip{position:absolute;inset:0;overflow:hidden;display:flex;align-items:center;justify-content:center}
.companion-stage-clip .chat-mascot{width:100%;height:100%;max-width:370px;max-height:370px;transform:none!important}
.companion-card:after{content:'';position:absolute;bottom:16px;left:34%;right:34%;height:1px;background:#e6d3af44}
.settings-peek{position:relative;min-height:190px;overflow:hidden;border-radius:20px}
.settings-peek .settings-mascot{position:relative;width:190px;height:190px;margin:auto;display:block;transform:none}
.activity-detail-stage .living-mascot{transform:none!important}
.portfolio-title{display:flex;align-items:center;gap:16px}
.portfolio-title .feature-buddy{width:126px;height:126px}
.voice-pending{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;color:var(--muted);font-size:13px}
.voice-pending i{width:5px;height:5px;border-radius:50%;background:var(--accent);animation:voice-wait 1s ease-in-out infinite}
.voice-pending i:nth-child(2){animation-delay:.15s}.voice-pending i:nth-child(3){animation-delay:.3s}
.message.voice-preparing .msg-text{color:var(--muted);font-size:13px}
@keyframes voice-wait{50%{opacity:.35;transform:translateY(-2px)}}
@media(max-width:1000px) and (min-width:701px){.ref-hero-copy h1{font-size:80px}.ref-hero-copy>p{max-width:380px}.hero-original-stage{right:-5%;bottom:70px;width:53vw;height:53vw}.ref-speech{right:6%;bottom:535px}.ref-panel .panel-portrait{width:185px;height:185px}.ref-panel{min-height:460px}.ref-panel .ref-receipt{max-width:72%}}
@media(max-width:700px){.ref-hero{height:950px}.ref-hero-copy{padding-top:115px}.ref-hero-copy h1{font-size:66px;line-height:.98;letter-spacing:-2px}.ref-hero-copy>p{font-size:16px;max-width:360px}.hero-original-stage{width:365px;height:365px;max-width:100vw;max-height:100vw;right:calc(50% - 182px);bottom:28px}.ref-speech{bottom:355px;right:6%;width:190px;font-size:12px;padding:10px 13px}.ref-speech small{font-size:9px}.ref-hero .ref-ctas{margin-top:23px;gap:10px}.ref-cta{padding:11px 16px}.ref-panels{gap:22px}.ref-panel{min-height:380px;padding:22px}.ref-panel .panel-portrait{height:215px;width:215px}.ref-panel .ref-receipt{max-width:55%;margin-top:25px}.ref-closing .closing-mascot{width:275px;height:275px;margin:auto}.companion-card{min-height:235px}.ref-preview-stage .preview-mascot{min-height:250px}.portfolio-title .feature-buddy{width:85px;height:85px}.welcome-mascot{width:120px;height:120px}}
@media(prefers-reduced-motion:reduce){.voice-pending i{animation:none}}
.no-motion .voice-pending i{animation:none}

html[data-sky-fallback=true] .sky-moon{display:block;right:12%;top:12%;left:auto;width:125px;height:125px;opacity:.7;filter:drop-shadow(0 0 35px #c2cba833)}
html[data-sky-fallback=true] .sky-haze{display:block;opacity:.5}

.ref-panels>.ref-panel{position:relative;display:block;min-height:515px;padding-bottom:245px}
.ref-panel .panel-portrait{position:absolute;display:block;flex:none;min-height:0!important;width:240px;height:240px!important;margin:0;right:calc(50% - 120px);bottom:0}
.ref-panel .panel-portrait>.panel-mascot{position:relative;inset:auto;width:240px;height:240px;margin:0}
.ref-panel .ref-receipt{max-width:100%;font-size:11px;line-height:1.6;margin-top:15px;padding:9px 11px;border:1px solid #76806d55;background:#ffffff66}
.ref-panel .ref-receipt code{font-size:10px}.ref-panel .ref-caption{max-width:100%}
@media(max-width:700px){.ref-panels>.ref-panel{min-height:465px;padding-bottom:225px}.ref-panel .panel-portrait,.ref-panel .panel-portrait>.panel-mascot{width:225px;height:225px!important}.ref-panel .panel-portrait{right:calc(50% - 112px)}}


.ref-hero .ref-landscape,.ref-hero .sky-moon,.ref-hero .sky-haze,.ref-hero .sky-mist{display:none!important}
.ref-hero:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#0e1e21a3,transparent 65%)}
.hero-original-stage:before{display:none}.ref-hero .site-nav{z-index:10}.ref-speech{z-index:4;bottom:610px}
@media(max-width:700px){.ref-hero:after{background:linear-gradient(#101f24bb,transparent 72%)}.ref-speech{bottom:350px}}
.no-motion 
.chat-log>.message{margin:0;flex-shrink:0}.chat-log>:first-child{margin-top:0}.chat-log{justify-content:flex-start}
@media(prefers-reduced-motion:reduce){}

@media(max-width:700px){
 .chat-view{grid-template-rows:150px minmax(0,1fr)}
 .companion-panel{height:150px;min-height:150px}
 .companion-card{height:150px;min-height:150px;border-radius:0;border:0}
 .companion-stage-clip .chat-mascot{width:160px;height:160px}
 .companion-info-card{display:none}
 .chat-welcome .welcome-mascot{display:none}
 .chat-welcome>h2{font-size:26px}
 .settings-menu{display:block}
 .settings-menu nav{display:none}
 .settings-peek{min-height:130px;height:130px}
 .settings-peek .settings-mascot{height:130px;width:130px}
}
@media(max-width:700px){.ref-speech{left:auto}.ref-preview-stage{display:block;height:260px}}
