:root{color-scheme:light;--paper:#f7f7f2;--ink:#2c2c28;--muted:#85857b;--line:#e5e5dc;--orange:#f6a124}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;-webkit-font-smoothing:antialiased}.page{max-width:1480px;min-height:100svh;margin:auto;padding:32px 54px 24px;display:flex;flex-direction:column}.masthead{display:flex;justify-content:space-between;align-items:center;gap:20px}.masthead a{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-size:19px;font-weight:700;letter-spacing:.06em}.brand-dot{height:13px;width:13px;background:#f6a124;border-radius:50%;box-shadow:6px 0 0 -1px #f6a124,-6px 0 0 -1px #f6a124;margin-right:3px}.brand-en{font-size:9px;letter-spacing:.19em;font-weight:500;color:var(--muted);margin-left:9px;padding-left:16px;border-left:1px solid #d8d8d0}.edition{font-size:10px;letter-spacing:.09em;color:var(--muted)}.hero{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:55px}.eyebrow{font-size:9px;letter-spacing:.24em;margin:0 0 18px;color:#919186}h1{font-size:clamp(31px,3.1vw,44px);font-weight:560;line-height:1.22;letter-spacing:.06em;margin:0}.mobile-break{display:none}.subtitle{font-size:13px;letter-spacing:.045em;color:var(--muted);margin:18px 0 0}.character-space{position:relative;width:min(560px,73vh,83vw);aspect-ratio:1;margin-top:-7px;margin-bottom:-30px}.logo-button{display:block;position:relative;appearance:none;border:0;padding:0;width:100%;height:100%;background:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;border-radius:40%}.logo-button canvas,.logo-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.logo-button[data-ready="true"] .logo-fallback{visibility:hidden}.logo-button:focus-visible{outline:2px dashed #6e9bb4;outline-offset:-12px}.tap-hint{position:absolute;bottom:8%;left:50%;transform:translateX(-50%);white-space:nowrap;color:#96958a;font-size:10px;letter-spacing:.12em;pointer-events:none}.hint-dot{display:inline-block;width:4px;height:4px;background:#e8af51;border-radius:50%;margin:0 7px 2px 0}.controls{display:flex;align-items:center;gap:8px;position:relative;z-index:1}.control{display:flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:0 18px;border:1px solid var(--line);border-radius:24px;background:transparent;color:#626256;font:inherit;font-size:11px;cursor:pointer;transition:background .15s,transform .15s,border-color .15s;touch-action:manipulation}.control:hover{background:#eeeeE5;border-color:#d4d4c5;transform:translateY(-1px)}.control:active{transform:translateY(1px)}.control:focus-visible{outline:2px solid #7aa5bc;outline-offset:3px}.control.primary{background:#32332e;border-color:#32332e;color:#fffdf6;padding-inline:22px}.control.primary:hover{background:#505247}.control.primary span{font-size:21px;line-height:1}.control.pause{margin-left:6px;border-color:transparent;color:#929286;min-width:73px;padding:0 9px}.pause-icon{font-size:13px}.motion-note{font-size:10px;letter-spacing:.1em;color:#a09f94;margin:19px 0 27px}footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:19px;margin-top:24px;color:#919187;font-size:10px;letter-spacing:.05em}.footer-detail{font-size:8px;letter-spacing:.16em}.sr-only{position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}@media(max-width:600px){.page{padding:25px 23px 23px}.masthead a{font-size:17px}.brand-en{font-size:8px;letter-spacing:.12em;padding-left:12px;margin-left:3px}.edition{display:none}.hero{padding-top:49px}.eyebrow{font-size:8px;letter-spacing:.16em;margin-bottom:18px}h1{font-size:32px}.subtitle{font-size:11px;margin-top:14px}.character-space{width:min(440px,100vw);margin-top:10px;margin-bottom:-15px}.controls{gap:5px}.control{font-size:10px;min-height:38px;padding:0 11px;gap:6px}.control.primary{padding-inline:16px}.control.pause{margin-left:0;min-width:57px;padding:0 4px}.tap-hint{font-size:9px;bottom:7.5%}.motion-note{font-size:9px;margin-top:17px}footer{font-size:9px;margin-top:35px}.footer-detail{font-size:7px;max-width:155px;text-align:right;line-height:1.5}}@media(max-height:780px) and (min-width:601px){.hero{padding-top:25px}.character-space{width:min(450px,65vh);margin-bottom:-25px}.subtitle{margin-top:12px}.eyebrow{margin-bottom:12px}.motion-note{margin-bottom:10px}footer{margin-top:15px}}@media(prefers-reduced-motion:reduce){.control{transition:none}.control:hover{transform:none}}

.downloads{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:-5px 0 25px;font-size:10px}.downloads a{color:#78796b;text-underline-offset:3px;text-decoration-color:#c6c8b9}.downloads a:hover{color:#30332b}.downloads span{color:#a3a395;font-size:9px;margin-left:4px}

.control.follow[aria-pressed="true"]{background:#f8e8ca;border-color:#e5bd7c;color:#835a21}.control.follow[aria-pressed="true"]:hover{background:#f2ddb3}.control.follow span{font-size:15px}.controls{flex-wrap:wrap;justify-content:center}@media(max-width:600px){.controls{max-width:350px;gap:7px 5px}.control.follow{min-width:96px}.control.pause{min-width:59px}}

.speech-bubble{position:absolute;top:5%;left:50%;z-index:3;max-width:82%;width:max-content;margin:0;padding:10px 16px;border:1px solid #e8dfce;border-radius:18px;background:#fffdf8;color:#695b42;box-shadow:0 5px 20px #6453300d;font-size:13px;font-weight:500;line-height:1.45;letter-spacing:.025em;text-wrap:balance;pointer-events:none;opacity:0;visibility:hidden;transform:translate(-50%,6px);transition:opacity .16s ease,transform .16s ease,visibility 0s .16s}.speech-bubble:after{content:"";position:absolute;left:calc(50% - 4px);bottom:-5px;width:8px;height:8px;background:#fffdf8;border-right:1px solid #e8dfce;border-bottom:1px solid #e8dfce;transform:rotate(45deg)}.speech-bubble[data-visible="true"]{opacity:1;visibility:visible;transform:translate(-50%,0);transition-delay:0s}@media(max-width:600px){.speech-bubble{top:2%;font-size:clamp(10px,2.9vw,12px);padding:9px 13px;border-radius:16px}}@media(prefers-reduced-motion:reduce){.speech-bubble,.speech-bubble[data-visible="true"]{transition:none;transform:translateX(-50%)}}

.control.sound[aria-pressed="true"]{background:#f8e8ca;border-color:#e5bd7c;color:#835a21}.control.sound span:first-child{font-size:14px}.control.sound:disabled{opacity:.55;cursor:default}

/* Three independent layers: background, stationary SVG ground, animated body. */
body{background:transparent;isolation:isolate}.page-background{position:fixed;inset:0;z-index:-1;background:var(--paper);pointer-events:none}.logo-button .furry-ground-shadow{z-index:0}.logo-fallback{z-index:1}.logo-button .furry-logo-canvas{z-index:1}

.furry-star-layer{position:absolute;inset:0;z-index:2;pointer-events:none}.furry-star-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform-origin:76.04% 23.92%;pointer-events:none}.furry-star-button{position:absolute;left:67.5%;top:15%;width:17.5%;height:18%;background:transparent;border:0;border-radius:40%;cursor:pointer;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.furry-star-button:focus-visible{outline:2px dashed #5887a7;outline-offset:2px}.furry-star-sparkles{position:absolute;left:83%;top:13%;color:#b4e3fa;font-size:22px;opacity:0;transform:scale(.6);transition:opacity .15s,transform .35s;pointer-events:none}.furry-star-layer[data-sparkling="true"] .furry-star-sparkles{opacity:1;transform:scale(1.15) rotate(18deg)}.sound-options{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:14px;color:var(--muted);font-size:10px}.sound-options label{min-width:63px;text-align:left}.sound-options input{width:110px;accent-color:#b17a30;cursor:pointer}.sound-preview{border:1px solid var(--line);background:transparent;border-radius:16px;padding:6px 12px;color:#777767;font:inherit;font-size:10px;cursor:pointer}.sound-preview:focus-visible,.sound-options input:focus-visible{outline:2px solid #7aa5bc;outline-offset:3px}.sound-status{font-size:10px;color:var(--muted);margin:9px 12px 0;max-width:400px;line-height:1.5;min-height:1.5em}.sound-status+.motion-note{margin-top:12px}@media(prefers-reduced-motion:reduce){.furry-star-sparkles{transition:none}}
/* Companion editions: the original character and its four planes stay intact. */
.companion-page{max-width:1220px;padding:28px 38px 22px}.companion-intro{text-align:center;margin:49px auto 4px}.companion-intro .subtitle{line-height:1.6}.companion-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(315px,.85fr);gap:35px;align-items:start;margin-top:13px}.companion-stage{display:flex;align-items:center;flex-direction:column;min-width:0}.companion-stage .character-space{width:100%;max-width:610px;margin:-24px auto -29px}.companion-stage .speech-bubble{z-index:6;top:9%}.companion-stage .tap-hint{bottom:7.2%;letter-spacing:.07em}.furry-star-layer{z-index:4}.wardrobe-layers{position:absolute;inset:0;z-index:3;pointer-events:none}.wardrobe-layer{will-change:transform}.companion-sidebar{display:flex;flex-direction:column;gap:18px;padding-top:30px}.companion-card,.wardrobe-card{background:rgba(255,255,255,.57);border:1px solid #e4e4da;border-radius:22px;padding:24px 25px}.card-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.card-kicker{color:#96978a;font-size:8px;letter-spacing:.17em}.state-chip{font-size:10px;border:1px solid #dddcc9;border-radius:14px;padding:4px 9px;background:#f0f1e7;color:#777e58}.state-chip[data-state=sleeping]{color:#77869b;border-color:#dce3eb;background:#eff3f8}.companion-card h2,.wardrobe-card h2{font-size:21px;font-weight:570;margin:0 0 10px;letter-spacing:.025em}.daily-hint{font-size:11px;color:#919283;line-height:1.6;margin:0 0 18px}.nickname-form{padding:14px 0 16px;border-top:1px solid #eeeee5}.nickname-form label{display:block;font-size:10px;color:#74786b;margin-bottom:8px}.nickname-form>div{display:flex;gap:7px}.nickname-form input{min-width:0;flex:1;width:100%;background:#fafaf6;border:1px solid #ddded1;border-radius:10px;padding:10px 12px;font:inherit;font-size:13px;color:#494e3f}.nickname-form button{background:#eeeedd;border:1px solid #dbddc9;color:#747955;border-radius:10px;font:inherit;font-size:10px;padding:0 13px;cursor:pointer}.nickname-form>span{display:block;font-size:9px;color:#a0a192;line-height:1.6;margin-top:6px}.stat-list{display:flex;flex-direction:column;gap:10px;padding:0 0 17px}.stat{display:flex;align-items:center;gap:13px;font-size:10px;color:#7e8074}.stat>span{width:25px}.stat>output{width:24px;text-align:right;font-variant-numeric:tabular-nums;font-size:9px;color:#989b8b}.stat meter{width:100%;height:6px;border:0;border-radius:5px;background:#eceee4;appearance:none}.stat meter::-webkit-meter-bar{background:#eceee4;border:0;border-radius:5px}.stat meter::-webkit-meter-optimum-value{background:#c4cfaa;border-radius:5px}.stat meter::-moz-meter-bar{background:#c4cfaa;border-radius:5px}#stat-energy::-webkit-meter-optimum-value{background:#e6c288}#stat-affinity::-webkit-meter-optimum-value{background:#b4ced8}.mode-picker{margin:0;padding:12px 0 0;border:0;border-top:1px solid #eeeee5;display:flex;gap:6px}.mode-picker legend{font-size:10px;color:#909283;padding-right:8px}.mode-picker button{flex:1;min-height:34px;border:1px solid #e3e5d7;border-radius:10px;background:transparent;color:#919782;font:inherit;font-size:10px;cursor:pointer}.mode-picker button[aria-pressed=true]{background:#e9ecdd;border-color:#cad3b0;color:#687948}.mode-note{color:#939786;font-size:10px;line-height:1.6;margin:11px 0 0}.last-interaction{color:#aaaC9d;font-size:9px;margin:13px 0 0}.care-controls{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;position:relative;z-index:5}.care-button{font:inherit;font-size:12px;min-height:43px;padding:0 19px;display:flex;gap:8px;align-items:center;border-radius:25px;border:1px solid #dbdfd0;color:#6e765f;background:#f0f2e7;cursor:pointer;transition:background .15s,transform .15s}.care-button:hover{background:#e9eddc;transform:translateY(-1px)}.care-button[data-care=feed]{background:#fbefd8;color:#997534;border-color:#eaddbc}.care-button[data-care=sleep]{background:#eaf0f4;color:#728695;border-color:#d4e0e6}.care-button>span:first-child{font-size:18px}.care-note{font-size:10px;line-height:1.65;color:#969c87;min-height:18px;text-align:center;margin:12px 10px 16px;max-width:410px}.motion-tools{width:100%;max-width:575px;border-top:1px solid #e7e8df;padding:12px 8px 0;text-align:center}.motion-tools>summary{list-style:none;display:flex;justify-content:center;gap:14px;color:#9b9d8d;letter-spacing:.04em;font-size:10px;cursor:pointer}.motion-tools>summary::-webkit-details-marker{display:none}.motion-tools[open]>summary{margin-bottom:15px}.motion-tools[open]>summary>span{transform:rotate(45deg)}.motion-tools .controls{gap:6px}.motion-tools .control{font-size:10px;padding-inline:10px;min-height:34px;gap:6px}.motion-tools .control.primary{padding-inline:16px}.motion-tools .control.follow{min-width:auto}.motion-tools .control.pause{min-width:55px;margin-left:0}.motion-tools .sound-status{margin-inline:auto;font-size:9px;max-width:360px}.motion-tools .motion-note{font-size:9px;margin-bottom:0}.wardrobe-count{font-size:9px;color:#a0a38e}.wardrobe-intro{font-size:10px;color:#999d8e;line-height:1.6;margin:0 0 17px}.wardrobe-slots{display:grid;grid-template-columns:1fr 1fr;gap:14px 10px}.wardrobe-slots fieldset{padding:0;margin:0;border:0;display:flex;gap:5px;flex-wrap:wrap;align-content:start}.wardrobe-slots legend{padding:0;margin-bottom:7px;font-size:9px;color:#a0a490}.wardrobe-slots button{background:#fafaf5;color:#919781;border:1px solid #e1e5d4;border-radius:10px;padding:8px 10px;font:inherit;font-size:10px;cursor:pointer}.wardrobe-slots button[aria-pressed=true]{background:#fae8c9;border-color:#e5c78f;color:#987333}.wardrobe-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:19px;padding-top:15px;border-top:1px solid #e9ebdf}.wardrobe-actions button{border:0;background:none;font:inherit;font-size:10px;padding:5px 5px;color:#919975;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#c6ceae;cursor:pointer}.wardrobe-actions button:first-child{background:#edf0e1;padding:7px 11px;border-radius:10px;text-decoration:none;color:#7e8a60}.wardrobe-actions button:disabled{opacity:.45;cursor:default;text-decoration:none}.wardrobe-status{font-size:9px;color:#aaaC9b;line-height:1.6;min-height:29px;margin:10px 0 0}.local-memory{position:relative;padding:0 5px 0 17px;color:#a2a694;font-size:9px;line-height:1.8}.memory-dot{position:absolute;left:3px;top:12px;width:4px;height:4px;border-radius:50%;background:#b9c4a4}.local-memory>p{margin:6px 0}.local-memory details{font-size:9px}.local-memory summary{cursor:pointer;list-style:none;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#cdd2be}.text-button{font:inherit;font-size:9px;color:#9b8876;background:none;border:0;padding:3px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.download-section{margin-top:43px;padding-top:20px;border-top:1px solid #e3e5d9;text-align:center}.download-caption{font-size:10px;color:#929b7f;letter-spacing:.04em}.download-section .downloads{margin:13px 0 0;gap:10px 19px}.download-section>p{font-size:9px;color:#afb49f;line-height:1.7;margin:12px 0 0}.companion-page footer{margin-top:24px;padding-top:16px;border-top:0}.sleep-cloud{position:absolute;top:19%;left:20%;z-index:5;pointer-events:none;transform:rotate(-12deg);color:#7898b0}.sleep-cloud span{display:inline-block;font:600 17px Georgia,serif;margin-left:7px;animation:sleep-drift 3s ease-in-out infinite}.sleep-cloud span:nth-child(2){font-size:24px;animation-delay:.35s;transform:translateY(-13px)}.sleep-cloud span:nth-child(3){font-size:31px;animation-delay:.7s;transform:translateY(-29px)}@keyframes sleep-drift{50%{opacity:.35;translate:0 -9px}}.character-space[data-paused=true] .sleep-cloud span{animation-play-state:paused}.inspiration-candy{position:absolute;z-index:5;width:30px;height:30px;left:calc(50% - 15px);top:68%;border-radius:9px;background:#efb6ab;border:1px solid #e3a395;box-shadow:inset 0 3px 4px #ffffff80,inset 0 -3px 4px #b7857540;pointer-events:none;color:#fff5d9;text-align:center;line-height:28px;transform:rotate(-12deg)}.inspiration-candy:before,.inspiration-candy:after{content:"";position:absolute;top:9px;width:10px;height:13px;background:#e8a899;z-index:-1}.inspiration-candy:before{left:-7px;clip-path:polygon(0 0,100% 20%,100% 80%,0 100%,20% 50%)}.inspiration-candy:after{right:-7px;clip-path:polygon(100% 0,0 20%,0 80%,100% 100%,80% 50%)}.inspiration-candy[data-feeding=true]{animation:candy-offer .95s ease both}@keyframes candy-offer{0%{opacity:0;translate:0 72px;scale:.65}20%{opacity:1}70%{opacity:1;translate:0 0;scale:1}100%{opacity:0;translate:0 -8px;scale:.3}}input:focus-visible,.care-button:focus-visible,.mode-picker button:focus-visible,.nickname-form button:focus-visible,.wardrobe-card button:focus-visible,.text-button:focus-visible,summary:focus-visible{outline:2px solid #80a6bc;outline-offset:3px}
@media(max-width:900px){.companion-page{padding-inline:25px}.companion-workspace{grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:20px}.companion-card,.wardrobe-card{padding:21px 20px}.care-button{font-size:11px;padding-inline:14px}.companion-stage .character-space{margin-top:0}.companion-sidebar{padding-top:23px}}
@media(max-width:700px){.companion-page{padding:24px 19px 20px}.companion-intro{margin-top:33px}.companion-intro h1{font-size:29px}.companion-intro .subtitle{max-width:270px;font-size:11px;margin:13px auto 0}.companion-workspace{display:flex;flex-direction:column;gap:14px;margin-top:5px}.companion-stage,.companion-sidebar{width:100%}.companion-stage .character-space{width:calc(100% + 32px);max-width:490px;margin:-6px -16px -24px}.companion-stage .speech-bubble{top:7%}.companion-stage .tap-hint{font-size:8px}.care-controls{gap:6px}.care-button{min-height:42px;padding-inline:15px;font-size:11px}.care-note{font-size:9px;margin-top:10px;margin-bottom:13px}.motion-tools{max-width:450px;padding-inline:0}.motion-tools .controls{max-width:100%;gap:7px 5px}.motion-tools .control{padding-inline:8px;font-size:9px}.motion-tools .control.primary{padding-inline:14px}.companion-sidebar{padding-top:8px;max-width:500px;margin:auto;gap:15px}.companion-card,.wardrobe-card{padding:23px}.card-topline{margin-bottom:14px}.nickname-form{padding-top:13px}.download-section{margin-top:29px;padding-top:18px}.download-section .downloads{font-size:9px;gap:10px 14px}.companion-page footer{font-size:9px;margin-top:19px}.companion-page .footer-detail{max-width:180px}.local-memory{padding-left:16px;font-size:9px}.edition{display:block!important;font-size:9px}.brand-en{display:none}.sleep-cloud{top:18%;left:17%}.sleep-cloud span{font-size:14px}.sleep-cloud span:nth-child(2){font-size:18px}.sleep-cloud span:nth-child(3){font-size:23px}}
@media(prefers-reduced-motion:reduce){.care-button{transition:none}.care-button:hover{transform:none}.sleep-cloud span{animation:none}.inspiration-candy[data-feeding=true]{animation:none;opacity:0}.wardrobe-layer{will-change:auto}}

/* Readable supporting copy without changing the soft visual hierarchy. */
.daily-hint,.mode-note,.care-note,.wardrobe-intro,.last-interaction{color:#737d66;font-size:11px}.local-memory,.local-memory details,.local-memory summary{color:#727c63;font-size:10px}.wardrobe-status,.nickname-form>span{color:#7d876f;font-size:10px}.stat{color:#6f7864}.stat>output{color:#7b856d}.sound-status{color:#767f6a}.motion-tools .sound-status{font-size:10px;color:#7c856f}.download-section>p{color:#879178;font-size:10px}.inspiration-candy span{display:block;position:absolute;left:8px;top:8px;width:12px;height:12px;font-size:0;line-height:0;background:#fff5d9;clip-path:polygon(50% 0,64% 35%,100% 50%,64% 65%,50% 100%,35% 65%,0 50%,35% 35%)}

/* Functional copy and controls meet a readable contrast level on the warm paper. */
.daily-hint,.mode-note,.care-note,.wardrobe-intro,.last-interaction,.local-memory,.local-memory details,.local-memory summary,.wardrobe-status,.nickname-form>span,.nickname-form label,.stat,.stat>output,.sound-status,.motion-tools .sound-status,.download-section>p{color:#657057}.nickname-form button{color:#606a40}.mode-picker legend,.mode-picker button{color:#67744e}.mode-picker button[aria-pressed=true]{color:#58663c}.wardrobe-slots legend,.wardrobe-slots button{color:#667157}.wardrobe-slots button[aria-pressed=true]{color:#835a21}.wardrobe-actions button,.wardrobe-actions button:first-child{color:#637248}.care-button{color:#5f6e4d}.care-button[data-care=feed]{color:#825d21}.care-button[data-care=sleep]{color:#577080}.state-chip{color:#657047}.state-chip[data-state=sleeping]{color:#607487}.control.pause,.motion-tools>summary,.sound-options,.sound-preview{color:#68725b}.nickname-form label,.mode-picker legend,.mode-picker button,.wardrobe-slots button,.wardrobe-actions button{font-size:11px}.wardrobe-actions button:disabled{color:#7f8772}
.state-chip[data-state=sleeping]{color:#5b6f81}.wardrobe-actions button:first-child{color:#627047}.companion-page .subtitle,.companion-page .tap-hint,.companion-page .downloads a,.companion-page .downloads span{color:#68725b}

.companion-page .eyebrow,.companion-page .edition,.companion-page .brand-en,.companion-page .footer-detail,.companion-page footer,.companion-page .card-kicker,.companion-page .wardrobe-count,.companion-page .download-caption,.companion-page .motion-note{color:#667057}
.companion-page .masthead a{min-width:0}.companion-page #brand-name{min-width:0;max-width:10em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.companion-page .edition{flex-shrink:0}

/* B / compact companion: the character stays in front; details open on demand. */
.companion-page{max-width:1120px}
.companion-intro{margin-top:42px}
.companion-workspace{display:flex;align-items:center;gap:42px;margin:4px auto 0;width:100%;max-width:970px}
.companion-stage{flex:1 1 0;min-width:0}
.companion-stage .character-space{width:100%;max-width:570px;aspect-ratio:auto;margin:-10px auto -26px}
.companion-stage .character-space::before{content:"";display:block;padding-top:100%;pointer-events:none}
.companion-stage .logo-button{position:absolute;inset:0}
.companion-sidebar{flex:0 0 248px;width:248px;gap:12px;padding:0;margin-top:-25px}
.welcome-card{padding:22px 21px;background:#fffdf7b8;border-color:#e5e2d5;border-radius:21px}
.welcome-card .card-topline{margin-bottom:21px;gap:7px}
.welcome-card .card-kicker{font-size:8px;letter-spacing:.13em}
.welcome-card h2{font-size:22px;line-height:1.45;overflow-wrap:anywhere}
.welcome-card .daily-hint{margin:9px 0 0;font-size:12px;line-height:1.75}
.tool-launchers{display:flex;flex-direction:column;gap:8px}
.tool-launcher{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #e4e2d5;background:#fffdf87a;border-radius:15px;padding:12px 14px;color:#485541;font:inherit;cursor:pointer;transition:background .16s,border-color .16s,transform .16s;touch-action:manipulation;min-height:65px}
.tool-launcher:hover{background:#fffdf8;border-color:#cdd3bd;transform:translateY(-1px)}
.tool-launcher[aria-expanded=true]{border-color:#b4bd9d;background:#f0f2e6}
.launcher-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#f0eee1;color:#7b805e;font-size:21px;flex:0 0 30px}
.tool-launcher:nth-child(2) .launcher-icon{background:#edf0e5;color:#6a7a50}
.tool-launcher.settings-launcher .launcher-icon{background:#eaf0f1;color:#617885}
.launcher-copy{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.launcher-title{font-size:13px;font-weight:600;letter-spacing:.04em}
.launcher-note{font-size:10px;line-height:1.5;color:#68705f;overflow-wrap:anywhere}
.launcher-arrow{font-size:14px;color:#838c74}
.tool-launcher:focus-visible,.dialog-close:focus-visible,.companion-dialog button:focus-visible,.companion-dialog input:focus-visible,.companion-dialog summary:focus-visible{outline:2px solid #537e91;outline-offset:3px}
.companion-page .download-section{margin-top:23px}
.companion-page .care-note{margin-bottom:0}

/* Native dialogs use the top layer. The fixed fallback is used only if showModal is absent/fails. */
.companion-dialog{box-sizing:border-box;width:calc(100% - 32px);max-width:470px;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);padding:27px 28px 28px;margin:auto;border:1px solid #e1ddcc;border-radius:24px;background:#fffdf7;color:#41483b;box-shadow:0 18px 80px #4c453129;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;font:inherit}
.companion-dialog:not([open]),.companion-dialog[hidden],.dialog-backdrop[hidden]{display:none!important}
.companion-dialog::backdrop{background:#343c303b;backdrop-filter:blur(4px)}
.companion-dialog[data-dialog-fallback=true]{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:101;margin:0}
.dialog-backdrop{position:fixed;inset:0;z-index:100;background:#343c304d;backdrop-filter:blur(4px)}
body[data-dialog-active] #companion-page{pointer-events:none;user-select:none}
.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.dialog-kicker{font-size:8px;letter-spacing:.17em;color:#7c846c;margin:0 0 10px}
.dialog-header h2{font-weight:580;letter-spacing:.04em;line-height:1.4;font-size:24px;margin:0}
.dialog-header h2:focus{outline:none}
.dialog-close{appearance:none;flex:0 0 44px;width:44px;height:44px;margin:-8px -10px 0 0;border:1px solid transparent;border-radius:50%;background:none;color:#6e775f;font:inherit;font-size:26px;line-height:1;cursor:pointer;touch-action:manipulation}
.dialog-close:hover{background:#f0f1e6;border-color:#e4e6d7}
.dialog-description{font-size:12px;line-height:1.75;color:#657057;margin:12px 0 24px}
.dialog-body h3{font-size:13px;font-weight:600;margin:0 0 13px;color:#5d674f}
.companion-dialog .wardrobe-card{background:none;border:0;border-radius:0;padding:0}
.companion-dialog .wardrobe-card .card-topline{display:none}
.companion-dialog .wardrobe-card h2{font-size:15px;font-weight:550;margin-bottom:8px}
.companion-dialog .wardrobe-intro{font-size:11px;margin-bottom:21px}
.companion-dialog .wardrobe-slots{gap:21px 16px}
.companion-dialog .wardrobe-slots legend{font-size:11px;margin-bottom:9px}
.companion-dialog .wardrobe-slots button{font-size:12px;min-height:44px;padding:10px 12px}
.companion-dialog .wardrobe-actions{gap:5px;justify-content:space-between;margin-top:23px;padding-top:14px}
.companion-dialog .wardrobe-actions button{font-size:11px;min-height:44px;padding:8px}
.companion-dialog .wardrobe-actions button:first-child{padding:8px 12px}
.companion-dialog .wardrobe-status{font-size:11px;line-height:1.7;margin-top:13px;min-height:0}
.companion-dialog .stat-list{gap:17px;padding:4px 0 0}
.companion-dialog .stat{font-size:12px;gap:15px}
.companion-dialog .stat>span{width:30px;flex-shrink:0}
.companion-dialog .stat>output{width:30px;flex-shrink:0;font-size:11px}
.companion-dialog .stat meter{height:8px}
.companion-dialog .last-interaction{font-size:11px;margin:20px 0}
.companion-dialog .nickname-form{padding:20px 0}
.companion-dialog .nickname-form label{font-size:12px;margin-bottom:12px}
.companion-dialog .nickname-form input{font-size:16px;min-height:44px}
.companion-dialog .nickname-form button{min-width:60px;font-size:12px;min-height:44px}
.companion-dialog .nickname-form>span{font-size:11px;line-height:1.7;margin-top:9px}
.companion-dialog .local-memory{padding:13px 0 0 15px;border-top:1px solid #e8e8dc;font-size:11px}
.companion-dialog .local-memory .memory-dot{left:1px;top:28px}
.companion-dialog .local-memory details,.companion-dialog .local-memory summary{font-size:11px}
.companion-dialog .local-memory summary{min-height:44px;display:flex;align-items:center;width:fit-content}
.companion-dialog .local-memory details>p{margin-top:0}
.companion-dialog .text-button{font-size:11px;min-height:44px;text-align:left;color:#856755}
.sound-actions{display:flex;gap:9px;align-items:center}
.companion-dialog .sound-actions .control,.companion-dialog .sound-preview{min-height:44px;font-size:12px;padding:0 18px}
.companion-dialog .sound-options{justify-content:flex-start;gap:16px;margin-top:20px;font-size:12px}
.companion-dialog .sound-options label{min-width:88px}
.companion-dialog .sound-options input{flex:1;min-width:0;width:auto;min-height:44px;margin:0;accent-color:#a2702c}
.companion-dialog .sound-status{margin:3px 0 23px;font-size:11px;line-height:1.7;max-width:none}
.companion-dialog .mode-picker{padding-top:18px;gap:9px}
.companion-dialog .mode-picker legend{font-size:12px}
.companion-dialog .mode-picker button{min-height:44px;font-size:12px}
.companion-dialog .mode-note{font-size:11px;margin:12px 0 22px}
.companion-dialog .motion-tools{max-width:none;text-align:left;padding:0;border-top-color:#e8e8dc}
.companion-dialog .motion-tools>summary{min-height:48px;align-items:center;justify-content:space-between;font-size:12px;padding:4px 1px;letter-spacing:0}
.companion-dialog .motion-tools[open]>summary{margin-bottom:7px}
.companion-dialog .motion-tools .controls{justify-content:flex-start;gap:8px;max-width:none}
.companion-dialog .motion-tools .control{min-height:44px;font-size:11px;padding:0 13px}
.companion-dialog .motion-tools .control.pause{padding:0 13px;border-color:var(--line)}
.companion-dialog .motion-note{font-size:10px;line-height:1.7;margin:16px 0 0;color:#667057}
.no-script-note{padding:16px 24px;margin:0;text-align:center;font-size:12px;color:#657057}
@media(max-width:900px){.companion-workspace{gap:24px}.companion-sidebar{flex-basis:230px;width:230px}.welcome-card{padding:20px 18px}.companion-stage .character-space{margin-top:0}.companion-intro{margin-top:35px}}
@media(max-width:700px){.companion-page{padding:24px 20px 20px}.companion-intro{margin-top:34px}.companion-workspace{flex-direction:column;gap:17px;margin-top:4px}.companion-stage{flex:none;width:100%}.companion-stage .character-space{width:100%;max-width:440px;margin:-6px auto -20px}.companion-sidebar{flex:none;width:100%;max-width:440px;margin:0 auto;gap:10px}.welcome-card{padding:15px 17px;border-radius:17px}.welcome-card .card-topline{margin:0 0 7px}.welcome-card h2{font-size:18px;margin-bottom:4px}.welcome-card .daily-hint{font-size:11px;margin:0;line-height:1.65}.tool-launchers{flex-direction:row;gap:7px}.tool-launcher{flex:1 1 0;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:7px;padding:12px 11px;min-height:97px}.launcher-icon{display:none}.launcher-copy{gap:6px}.launcher-title{font-size:12px}.launcher-note{font-size:9px;line-height:1.55}.launcher-arrow{position:absolute;align-self:flex-end;font-size:12px}.companion-page .download-section{margin-top:27px}.companion-dialog{padding:24px 22px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);border-radius:22px}.dialog-description{margin-bottom:22px}.companion-dialog .wardrobe-actions{justify-content:flex-start}.companion-dialog .wardrobe-slots{gap:20px 12px}.companion-dialog .wardrobe-slots button{padding-inline:10px}}
@media(max-width:360px){.companion-page{padding-inline:15px}.care-button{padding-inline:11px}.tool-launcher{padding-inline:9px}.companion-dialog{padding:22px 18px;width:calc(100% - 20px)}.companion-dialog .wardrobe-slots{gap:18px 10px}.companion-dialog .wardrobe-actions button{padding-inline:6px}.companion-dialog .sound-actions .control,.companion-dialog .sound-preview{padding-inline:15px}}
@media(prefers-reduced-motion:reduce){.tool-launcher{transition:none}.tool-launcher:hover{transform:none}.companion-dialog,.dialog-backdrop{scroll-behavior:auto}}
@media print{.companion-dialog,.dialog-backdrop{display:none!important}}

/* Approved two-entry layout: volume is the only sound setting; personal details stay folded. */
.companion-dialog .sound-options{margin-top:0}
.voice-settings{display:flex;align-items:center;gap:12px;margin:16px 0;font-size:12px;color:#68725b}
.voice-settings select{flex:1;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:8px;background:#fffdf7;color:inherit;padding:0 10px;font:inherit}
.voice-settings select:focus-visible{outline:2px solid #7aa5bc;outline-offset:2px}
.sound-preview-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:1px 0 6px}
.sound-preview-row>span{font-size:11px;color:#68705f;line-height:1.6}
.companion-dialog .sound-preview{min-height:44px;min-width:88px}
.companion-details{border-top:1px solid #e8e8dc;margin-top:8px}
.companion-details>summary{display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:48px;padding:4px 1px;list-style:none;font-size:12px;color:#68725b;cursor:pointer}
.companion-details>summary::-webkit-details-marker{display:none}
.companion-details[open]>summary>span{transform:rotate(45deg)}
.companion-details-body{padding-top:16px}
@media(max-width:700px){.tool-launcher{min-height:78px;position:relative}.tool-launchers{gap:10px}.launcher-arrow{right:12px;top:13px}.launcher-note{font-size:10px}.launcher-copy{padding-right:12px}.launcher-title{font-size:13px}}

/* Wardrobe: an in-flow side panel. It never owns a backdrop or covers the mascot. */
.companion-panel[hidden]{display:none!important}
.wardrobe-panel{width:100%;min-width:0;margin:0;padding:20px 18px 16px;border:1px solid #e1ddcc;border-radius:22px;background:#fffdf7;box-shadow:0 8px 26px #4c45310b;color:#41483b;display:flex;flex-direction:column}
.wardrobe-panel .dialog-header{gap:12px;flex:none}
.wardrobe-panel .dialog-kicker{font-size:8px;margin-bottom:6px}
.wardrobe-panel .dialog-header h2{font-size:21px}
.wardrobe-panel .dialog-close{margin:-5px -7px 0 0}
.wardrobe-panel .dialog-description{font-size:11px;line-height:1.7;margin:9px 0 15px;flex:none}
.wardrobe-panel .dialog-body{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;padding:4px 4px 5px}
.wardrobe-panel .wardrobe-card{background:none;border:0;border-radius:0;padding:0}
.wardrobe-panel .wardrobe-card .card-topline{display:none}
.wardrobe-panel .wardrobe-card h2{font-size:13px;font-weight:550;margin:0 0 5px}
.wardrobe-panel .wardrobe-intro{font-size:10px;line-height:1.7;margin:0 0 13px}
.wardrobe-panel .wardrobe-slots{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px 10px}
.wardrobe-panel .wardrobe-slots fieldset{display:block;min-width:0}
.wardrobe-panel .accessory-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.wardrobe-panel [data-wardrobe-slot=eyes] .accessory-options,.wardrobe-panel [data-wardrobe-slot=companion] .accessory-options{grid-template-columns:minmax(0,1fr)}
.wardrobe-panel [data-wardrobe-slot=body]{grid-column:1 / -1}
.wardrobe-panel [data-wardrobe-slot=body] .accessory-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.wardrobe-panel .wardrobe-slots legend{font-size:11px;margin:0 0 7px}
.wardrobe-slots .accessory-choice{position:relative;display:flex;flex:1 1 0;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:92px;padding:6px 4px 8px;border:1px solid #dfe4d2;border-radius:13px;background:#f8f9f1;color:#536046;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.accessory-thumbnail{display:flex;align-items:center;justify-content:center;width:100%;height:57px;pointer-events:none}
.accessory-thumbnail img{display:block;width:74px;height:74px;max-width:100%;object-fit:contain;pointer-events:none;user-select:none}
.accessory-name{display:block;font-size:11px;line-height:1.45;white-space:nowrap;pointer-events:none}
.accessory-selected{position:absolute;top:5px;right:5px;display:flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:#926226;color:#fffdf7;font-size:11px;line-height:1;opacity:0;transform:scale(.65);transition:opacity .15s ease,transform .25s cubic-bezier(.2,1.45,.4,1);pointer-events:none}
.wardrobe-slots .accessory-choice[aria-pressed=true]{border-color:#c8994c;background:#faebcf;color:#805519;box-shadow:inset 0 0 0 1px #d7ad65}
.accessory-choice[aria-pressed=true] .accessory-selected{opacity:1;transform:scale(1)}
.accessory-choice[aria-pressed=true] .accessory-thumbnail img{animation:accessory-selected-pop .3s cubic-bezier(.2,.8,.3,1)}
@keyframes accessory-selected-pop{0%{transform:scale(.94)}60%{transform:scale(1.08)}100%{transform:scale(1)}}
.wardrobe-panel .wardrobe-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px 6px;margin-top:16px;padding-top:11px}
.wardrobe-panel .wardrobe-actions button{min-height:38px;font-size:11px;padding:7px 6px;border-radius:10px}
.wardrobe-panel .wardrobe-status{font-size:10px;line-height:1.7;min-height:0;margin:10px 0 0}
.wardrobe-panel button:focus-visible{outline:2px solid #537e91;outline-offset:3px}
.companion-page[data-wardrobe-open=true] .companion-workspace{align-items:center;gap:28px}
.companion-page[data-wardrobe-open=true] .companion-sidebar{flex:0 0 350px;width:350px;margin-top:0;gap:10px}
.companion-page[data-wardrobe-open=true] .welcome-card{display:none}
.companion-page[data-wardrobe-open=true] .tool-launchers{flex-direction:row;gap:8px}
.companion-page[data-wardrobe-open=true] .tool-launcher{min-height:52px;padding:10px 12px;gap:8px}
.companion-page[data-wardrobe-open=true] .launcher-note{display:none}
.companion-page[data-wardrobe-open=true] .launcher-arrow{margin-left:auto}
@media(min-width:701px){.wardrobe-panel .dialog-body{max-height:470px;max-height:min(470px,calc(100dvh - 245px))}}
@media(min-width:701px) and (max-width:900px){.companion-page[data-wardrobe-open=true] .companion-sidebar{flex-basis:320px;width:320px}.companion-page[data-wardrobe-open=true] .companion-workspace{gap:18px}.wardrobe-panel{padding-inline:14px}}
@media(max-width:700px){
 .companion-page[data-wardrobe-open=true] .companion-intro{display:none}
 .companion-page[data-wardrobe-open=true] .companion-workspace{gap:11px;margin-top:5px;scroll-margin-top:8px}
 .companion-page[data-wardrobe-open=true] .companion-stage .character-space{width:clamp(175px,29vh,235px);width:clamp(175px,29dvh,235px);max-width:100%;margin:0 auto -7px}
 .companion-page[data-wardrobe-open=true] .tap-hint,.companion-page[data-wardrobe-open=true] .care-note{display:none}
 .companion-page[data-wardrobe-open=true] .care-button{min-height:42px}
 .companion-page[data-wardrobe-open=true] .speech-bubble{font-size:10px;padding:7px 10px;max-width:100%;top:2%}
 .companion-page[data-wardrobe-open=true] .companion-sidebar{flex:none;width:100%;max-width:440px;gap:8px}
 .companion-page[data-wardrobe-open=true] .tool-launcher{min-height:44px;flex-direction:row;align-items:center;justify-content:space-between;padding:9px 12px}
 .companion-page[data-wardrobe-open=true] .launcher-arrow{position:static;align-self:center}
 .companion-page[data-wardrobe-open=true] .launcher-copy{padding-right:0}
 .wardrobe-panel{padding:13px 14px 9px;border-radius:18px;max-height:42vh;max-height:42dvh}
 .wardrobe-panel .dialog-kicker{display:none}
 .wardrobe-panel .dialog-header{align-items:center}
 .wardrobe-panel .dialog-header h2{font-size:18px}
 .wardrobe-panel .dialog-close{margin:-5px -6px -5px 0}
 .wardrobe-panel .dialog-description{font-size:10px;line-height:1.6;margin:3px 0 6px}
 .wardrobe-panel .dialog-body{flex:1 1 auto;max-height:none;padding-top:4px}
 .wardrobe-panel .wardrobe-card h2,.wardrobe-panel .wardrobe-intro{display:none}
 .wardrobe-panel .wardrobe-slots{gap:12px 9px}
 .wardrobe-panel .wardrobe-slots legend{font-size:10px;margin-bottom:5px}
 .wardrobe-slots .accessory-choice{min-height:80px;gap:2px;padding:4px 3px 7px}
 .accessory-thumbnail{height:50px}
 .accessory-thumbnail img{width:64px;height:64px}
 .accessory-name{font-size:10px}
 .wardrobe-panel .wardrobe-actions{margin-top:12px;padding-top:8px}
 .wardrobe-panel .wardrobe-actions button{min-height:42px}
}

/* One gentle lift, a quick press, and a soft spring on release. No click delays. */
:is(.care-button,.tool-launcher,.dialog-close,.accessory-choice,.wardrobe-actions button,.companion-dialog button){touch-action:manipulation;transform:translateY(0) scale(1);transform-origin:center;transition:transform .3s cubic-bezier(.2,1.4,.38,1),background-color .16s ease,border-color .16s ease,box-shadow .16s ease}
:is(.care-button,.tool-launcher,.dialog-close,.accessory-choice,.wardrobe-actions button,.companion-dialog button):hover{transform:translateY(0) scale(1)}
@media(hover:hover) and (pointer:fine){
 :is(.care-button,.tool-launcher,.dialog-close,.accessory-choice,.wardrobe-actions button,.companion-dialog button):not(:disabled):hover{transform:translateY(-2px) scale(1.015)}
 .accessory-choice:not(:disabled):hover{border-color:#babf9f}
}
:is(.care-button,.tool-launcher,.dialog-close,.accessory-choice,.wardrobe-actions button,.companion-dialog button):not(:disabled):active{transform:translateY(1px) scale(.955);transition-duration:.08s;transition-timing-function:ease-out}
:is(.care-button,.tool-launcher,.dialog-close,.accessory-choice,.wardrobe-actions button,.companion-dialog button):disabled{transform:none;animation:none}
@media(prefers-reduced-motion:reduce){
 :is(.care-button,.tool-launcher,.dialog-close,.accessory-choice,.wardrobe-actions button,.companion-dialog button),:is(.care-button,.tool-launcher,.dialog-close,.accessory-choice,.wardrobe-actions button,.companion-dialog button):not(:disabled):hover,:is(.care-button,.tool-launcher,.dialog-close,.accessory-choice,.wardrobe-actions button,.companion-dialog button):not(:disabled):active{transition:none;transform:none;animation:none}
 .accessory-selected{transition:none}
 .accessory-choice[aria-pressed=true] .accessory-thumbnail img{animation:none;transform:none}
 .wardrobe-panel .dialog-body{scroll-behavior:auto}
}
@media print{.companion-panel{display:none!important}}

/* The two entry icons share a rounded, quiet hand-drawn line. */
.launcher-icon,.tool-launcher:nth-child(2) .launcher-icon,.tool-launcher.settings-launcher .launcher-icon{display:flex;color:#7d7768;background:#f2f0e6;width:30px;height:30px;flex:0 0 30px;border-radius:10px;transition:color .16s ease,background-color .16s ease}
.launcher-icon svg{display:block;width:24px;height:24px;pointer-events:none}
@media(hover:hover) and (pointer:fine){.tool-launcher:not(:disabled):hover .launcher-icon{color:#bd781c;background:#fbedd5}}
@media(max-width:700px){.tool-launcher{flex-direction:row;align-items:center;gap:9px}.launcher-copy{padding-right:10px}.launcher-icon{width:28px;height:28px;flex-basis:28px}.launcher-icon svg{width:23px;height:23px}.companion-page[data-wardrobe-open=true] .tool-launcher{padding:7px 10px}.companion-page[data-wardrobe-open=true] .launcher-title{font-size:12px}}
@media(prefers-reduced-motion:reduce){.launcher-icon{transition:none}}

/* Expressions are a separate look choice; accessory cards and counts stay intact. */
.wardrobe-slots [data-wardrobe-slot=expression]{grid-column:1 / -1;display:block;min-width:0}
.wardrobe-panel .expression-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.wardrobe-slots .expression-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:76px;padding:10px 1px 8px;border:1px solid #dfe4d2;border-radius:12px;background:#f8f9f1;color:#536046;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color .16s,border-color .16s,transform .2s}
.expression-thumbnail{display:flex;align-items:center;justify-content:center;gap:3px;width:100%;height:33px;pointer-events:none}
.expression-mini-eye{position:relative;display:block;flex:0 1 20px;width:20px;height:25px;overflow:hidden;border-radius:50%;background:#fffef8;box-shadow:inset 0 0 0 1px #ded9ce;color:#292722}
.expression-mini-eye svg{position:absolute;inset:2px 0;width:100%;height:21px;display:block}
.expression-original .expression-mini-eye::before,.expression-sleepy .expression-mini-eye::before{content:"";position:absolute;width:12px;height:16px;left:4px;top:5px;border-radius:50%;background:#292722}
.expression-original .expression-mini-eye::after{content:"";position:absolute;width:4px;height:5px;left:6px;top:7px;border-radius:50%;background:#fffef8;box-shadow:5px 7px 0 -1px #fffef8}
.expression-sleepy .expression-mini-eye::after{content:"";position:absolute;inset:0 0 50%;background:#e9b956;border-bottom:1.5px solid #886d35}
.expression-name{display:block;font-size:10px;line-height:1.45;white-space:nowrap;pointer-events:none}
.expression-selected{position:absolute;top:3px;right:3px;width:13px;height:13px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#926226;color:#fffdf7;font-size:9px;line-height:1;opacity:0;pointer-events:none}
.wardrobe-slots .expression-choice[aria-pressed=true]{border-color:#c8994c;background:#faebcf;color:#805519;box-shadow:inset 0 0 0 1px #d7ad65}
.expression-choice[aria-pressed=true] .expression-selected{opacity:1}
.expression-note{margin:7px 0 0;color:#667057;font-size:10px;line-height:1.7;overflow-wrap:anywhere}
@media(hover:hover) and (pointer:fine){.wardrobe-slots .expression-choice:hover{transform:translateY(-2px);border-color:#babf9f}}
.wardrobe-slots .expression-choice:active{transform:translateY(1px) scale(.955)}
@media(max-width:700px){.wardrobe-slots .expression-choice{min-height:70px;padding-block:7px;gap:3px}.expression-thumbnail{height:30px}.expression-note{font-size:10px;line-height:1.6}}
@media(prefers-reduced-motion:reduce){.wardrobe-slots .expression-choice,.wardrobe-slots .expression-choice:hover,.wardrobe-slots .expression-choice:active{transition:none;transform:none}}

/* Five small status charms share one independent, editable layer. */
.wardrobe-panel .charm-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.wardrobe-panel .charm-choice .accessory-thumbnail{height:60px}.music-settings{border-top:1px solid var(--line);padding-top:20px;margin-top:18px}

.none-thumbnail{display:grid;place-items:center}.none-circle{display:block;width:24px;height:24px;border:1.8px solid currentColor;border-radius:50%;opacity:.7}.wardrobe-panel [data-wardrobe-slot=eyes] .accessory-options,.wardrobe-panel [data-wardrobe-slot=companion] .accessory-options{grid-template-columns:repeat(2,minmax(0,1fr))}

/* A compact desktop heading leaves the first screen for the companion. */
@media(min-width:701px){
 .companion-page .companion-intro{margin:16px auto 0}
 .companion-page .companion-intro h1{font-size:26px;line-height:1.35;font-weight:560}
}

/* B v9: the three approved, mutually exclusive in-flow companion panels.
   These layout rules are deliberately shared by chat, wardrobe, and music. */
.companion-page{max-width:1220px}
.companion-page .companion-workspace,.companion-page[data-panel-open=true] .companion-workspace{display:flex;align-items:flex-start;gap:28px;width:100%;max-width:1040px;margin:10px auto 0}
.companion-page .companion-stage{flex:1 1 0;min-width:0}
.companion-page .companion-stage .character-space{width:100%;max-width:610px;margin:-18px auto -24px}
.companion-page .companion-sidebar,.companion-page[data-panel-open=true] .companion-sidebar{flex:0 0 364px;width:364px;max-width:100%;min-width:0;align-self:flex-start;gap:10px;margin:0;padding:0}
.sidebar-top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:0 3px;color:#657057;font-size:11px}
.settings-gear{appearance:none;display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid transparent;border-radius:13px;background:transparent;color:#657057;font:inherit;cursor:pointer;touch-action:manipulation;transition:background-color .16s ease,border-color .16s ease,transform .2s ease}
.settings-gear svg{display:block;flex:none}
.settings-gear:hover,.settings-gear[aria-expanded=true]{background:#eeeee3;border-color:#dedfcd}
.companion-page .tool-launchers,.companion-page[data-panel-open=true] .tool-launchers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;min-width:0}
.companion-page .tool-launcher,.companion-page[data-panel-open=true] .tool-launcher{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:70px;min-width:0;width:100%;padding:10px 4px;border:1px solid #e2e1d4;border-radius:15px;background:#fcfbf6;color:#657057;text-align:center}
.companion-page .tool-launcher .launcher-icon,.companion-page[data-panel-open=true] .tool-launcher .launcher-icon{display:flex;align-items:center;justify-content:center;flex:0 0 25px;width:25px;height:25px;border-radius:0;background:transparent;color:inherit}
.companion-page .tool-launcher .launcher-icon svg{display:block;width:24px;height:24px}
.companion-page .tool-launcher .launcher-title,.companion-page[data-panel-open=true] .tool-launcher .launcher-title{font-size:12px;line-height:1.4;letter-spacing:.03em;font-weight:500;white-space:nowrap}
.companion-page .tool-launcher[aria-expanded=true]{background:#f8e8cd;border-color:#dbbb88;color:#835a21;box-shadow:inset 0 0 0 .5px #dbbb88}
.companion-page .tool-launcher[aria-expanded=true] .launcher-icon{background:transparent;color:inherit}
.companion-page[data-panel-open=true] .welcome-card{display:none}
.companion-page .welcome-card{margin-top:1px;padding:23px 22px}
.companion-page .companion-sidebar > .companion-panel{position:relative;inset:auto;display:flex;flex-direction:column;flex:none;width:100%;min-width:0;min-height:0;max-height:660px;max-height:max(320px,min(660px,calc(100dvh - 170px)));margin:0;padding:23px 22px 16px;border:1px solid #e2e1d4;border-radius:23px;background:#fffdf7;color:#34392f;box-shadow:0 8px 26px #4c453108;overflow:hidden}
.companion-page .companion-panel .dialog-header{align-items:flex-start;gap:10px;flex:none}
.companion-page .companion-panel .dialog-kicker{font-size:8px;line-height:1.5;letter-spacing:.15em;color:#667057;margin:0 0 7px}
.companion-page .companion-panel .dialog-header h2{font-size:22px;line-height:1.4;letter-spacing:.025em;font-weight:580;margin:0;overflow-wrap:anywhere}
.companion-page .companion-panel .dialog-close{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin:-5px -8px 0 0;padding:0;border-radius:12px;color:#657057}
.companion-page .companion-panel .dialog-close svg{display:block;flex:none;width:22px;height:22px}
.companion-page .companion-panel > .dialog-description{flex:none;margin:10px 0 15px;font-size:11px;line-height:1.7;color:#657057}
.companion-page .companion-panel > .dialog-body{flex:1 1 auto;min-height:0;min-width:0;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch;padding:3px 4px 5px}
.companion-page .companion-panel .dialog-body{scrollbar-width:thin;scrollbar-color:#c7cbb9 transparent}
.companion-page .companion-panel .wardrobe-status,.companion-page .companion-panel .expression-note,.companion-page .companion-panel .wardrobe-intro{color:#657057}
.settings-gear:focus-visible,.companion-panel button:focus-visible,.companion-panel input:focus-visible,.companion-panel textarea:focus-visible,.companion-panel summary:focus-visible,.companion-panel [data-dialog-title]:focus-visible,.companion-dialog [data-dialog-title]:focus-visible{outline:2px solid #537e91;outline-offset:3px}
@media(hover:hover) and (pointer:fine){
 .companion-page .tool-launcher:not(:disabled):hover{background:#f5f1e5;border-color:#c9cbb8}
 .companion-page .tool-launcher[aria-expanded=true]:not(:disabled):hover{background:#f6e3c0;border-color:#d6b174}
 .companion-page .tool-launcher:not(:disabled):hover .launcher-icon{color:inherit;background:transparent}
 .settings-gear:hover{transform:translateY(-1px)}
}
.settings-gear:active{transform:scale(.95)}
@media(min-width:701px) and (max-width:1000px){
 .companion-page .companion-sidebar,.companion-page[data-panel-open=true] .companion-sidebar{flex-basis:330px;width:330px}
 .companion-page .companion-workspace,.companion-page[data-panel-open=true] .companion-workspace{gap:18px}
 .companion-page .companion-sidebar > .companion-panel{padding-inline:17px}
 .companion-page .care-controls{gap:6px}
 .companion-page .care-button{padding-inline:11px}
}
@media(max-width:700px){
 .companion-page{padding:22px 20px 20px}
 .companion-page .companion-intro,.companion-page[data-panel-open=true] .companion-intro{display:block;margin:26px auto 3px}
 .companion-page .companion-intro h1{font-size:28px}
 .companion-page .companion-workspace,.companion-page[data-panel-open=true] .companion-workspace{flex-direction:column;gap:9px;width:100%;max-width:440px;margin:4px auto 0;scroll-margin-top:10px}
 .companion-page .companion-stage{flex:none;width:100%}
 .companion-page .companion-stage .character-space{width:min(260px,68vw);max-width:100%;margin:0 auto -15px}
 .companion-page[data-panel-open=true] .companion-stage .character-space{width:min(260px,68vw);max-width:100%;margin:0 auto -15px}
 .companion-page .tap-hint,.companion-page .care-note{display:none}
 .companion-page .care-controls{gap:7px;flex-wrap:nowrap;max-width:100%;width:100%}
 .companion-page .care-button{justify-content:center;min-width:0;min-height:42px;gap:6px;padding-inline:13px;font-size:11px;white-space:nowrap}
 .companion-page[data-panel-open=true] .speech-bubble{font-size:10px;max-width:100%;padding:7px 10px;top:2%}
 .companion-page .companion-sidebar,.companion-page[data-panel-open=true] .companion-sidebar{flex:none;width:100%;max-width:440px;gap:8px;margin:0 auto;padding:0;align-self:auto}
 .sidebar-top{position:relative;min-height:28px;padding-right:48px;font-size:10px}
 .settings-gear{position:absolute;right:0;top:-8px;width:44px;height:44px}
 .companion-page .tool-launchers,.companion-page[data-panel-open=true] .tool-launchers{gap:6px}
 .companion-page .tool-launcher,.companion-page[data-panel-open=true] .tool-launcher{flex-direction:row;align-items:center;justify-content:center;min-height:46px;gap:6px;padding:8px 3px;border-radius:12px}
 .companion-page .tool-launcher .launcher-icon,.companion-page[data-panel-open=true] .tool-launcher .launcher-icon{flex-basis:21px;width:21px;height:21px}
 .companion-page .tool-launcher .launcher-icon svg{width:21px;height:21px}
 .companion-page .tool-launcher .launcher-title,.companion-page[data-panel-open=true] .tool-launcher .launcher-title{font-size:11px}
 .companion-page .companion-sidebar > .companion-panel{max-height:42vh;max-height:42dvh;min-height:0;padding:15px 16px 10px;border-radius:20px}
 .companion-page .companion-panel .dialog-header{align-items:center}
 .companion-page .companion-panel .dialog-kicker{display:block;font-size:7px;letter-spacing:.1em;margin-bottom:3px}
 .companion-page .companion-panel .dialog-header h2{font-size:19px}
 .companion-page .companion-panel .dialog-close{margin:-5px -8px -5px 0}
 .companion-page .companion-panel > .dialog-description{font-size:10px;line-height:1.6;margin:5px 0 8px}
 .companion-page .companion-panel > .dialog-body{flex:1 1 auto;min-height:0;max-height:none;padding:3px 3px 4px}
 .companion-page .welcome-card{padding:18px;border-radius:20px}
}
@media(max-width:360px){
 .companion-page{padding-inline:15px}
 .companion-page .companion-intro h1{font-size:25px}
 .companion-page .care-controls{gap:5px}
 .companion-page .care-button{gap:4px;padding-inline:10px;font-size:10px}
 .companion-page .companion-sidebar > .companion-panel{padding-inline:12px}
 .companion-page .tool-launcher .launcher-title,.companion-page[data-panel-open=true] .tool-launcher .launcher-title{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
 .settings-gear,.settings-gear:hover,.settings-gear:active,.companion-page .tool-launcher,.companion-page .tool-launcher:not(:disabled):hover,.companion-page .tool-launcher:not(:disabled):active{transition:none;transform:none;animation:none}
 .companion-page .companion-panel > .dialog-body{scroll-behavior:auto}
}

/* Chat-only rules. Panel placement, visibility and shared headings belong to the companion controller. */
.chat-panel { min-width: 0; }
.chat-panel .chat-header { margin-bottom: 0; }
.chat-panel .chat-collapse { align-self: flex-start; color: #7d806e; }
.chat-panel .chat-collapse svg { display: block; width: 24px; height: 24px; }
.chat-panel .chat-body { min-width: 0; }
.chat-panel .chat-connection { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 11px; line-height: 1.6; color: #657057; }
.chat-panel .chat-connection-dot { width: 5px; height: 5px; flex: none; border-radius: 50%; background: #b6b19a; }
.chat-panel[data-chat-state="success"] .chat-connection-dot { background: #80936d; }
.chat-panel .chat-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 215px; padding: 28px 0; text-align: center; }
.chat-panel .chat-empty-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 18px; background: #f6eddb; color: #b58a46; }
.chat-panel .chat-empty h3 { margin: 18px 0 0; font-size: 15px; line-height: 1.6; font-weight: 500; color: #4b5043; }
.chat-panel .chat-empty p { margin: 7px 0 0; font-size: 12px; line-height: 1.6; color: #657057; }
.chat-panel .chat-composer { position: relative; margin: 0; padding: 13px 13px 10px; border: 1px solid #e4e0ce; border-radius: 16px; background: #faf9f1; }
.chat-panel .chat-composer textarea { display: block; resize: vertical; min-height: 62px; max-height: 180px; width: 100%; min-width: 0; padding: 0; border: 0; background: none; color: #34392f; font: inherit; font-size: 13px; line-height: 1.6; outline-offset: 3px; }
.chat-panel .chat-composer textarea::placeholder { color: #657057; opacity: 1; }
.chat-panel .chat-composer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.chat-panel .chat-status { min-width: 0; font-size: 10px; line-height: 1.6; color: #657057; overflow-wrap: anywhere; }
.chat-panel .chat-actions { display: flex; align-items: center; justify-content: flex-end; gap: 5px; flex-shrink: 0; }
.chat-panel .chat-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 7px 12px; border: 1px solid #e0c493; border-radius: 10px; background: #f8e8cd; color: #865d23; font: inherit; font-size: 12px; line-height: 1.4; cursor: pointer; touch-action: manipulation; }
.chat-panel .chat-actions .chat-secondary { padding: 7px 9px; background: transparent; border-color: #dedecd; color: #6a745e; }
.chat-panel .chat-actions button:disabled { border-color: #ede8d8; background: #ede8d8; color: #9a9784; cursor: not-allowed; }
.chat-panel .chat-send svg { display: block; flex: none; }
.chat-panel .chat-count { display: block; margin-top: 6px; color: #657057; text-align: right; font-size: 10px; line-height: 1.4; }
.chat-panel .chat-count:empty { display: none; }
.chat-panel .chat-foot { margin: 11px 0 0; font-size: 10px; line-height: 1.6; text-align: center; color: #657057; }
.chat-panel .chat-log { min-height: 215px; max-height: 360px; margin: 15px -3px 17px; padding: 2px 3px 8px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.chat-panel .chat-message { display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 15px; }
.chat-panel .chat-message-user { align-items: flex-end; }
.chat-panel .chat-message-speaker { margin: 0 3px 5px; color: #657057; font-size: 10px; line-height: 1.4; }
.chat-panel .chat-message-content { max-width: 94%; margin: 0; padding: 10px 12px; border: 1px solid #e9e8da; border-radius: 14px 14px 14px 4px; background: #f4f4e9; color: #3e4735; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-wrap; text-align: left; }
.chat-panel .chat-message-user .chat-message-content { border-color: #eddbb8; border-radius: 14px 14px 4px 14px; background: #fbefd8; color: #675333; }
.chat-panel :is(button, textarea, [tabindex="0"]):focus-visible { outline: 2px solid #7194a5; outline-offset: 3px; }
.chat-panel [hidden] { display: none !important; }
@media (max-width: 700px) {
 .chat-panel .chat-empty { min-height: 145px; padding: 16px 0; }
 .chat-panel .chat-empty-icon { width: 46px; height: 46px; border-radius: 15px; }
 .chat-panel .chat-empty-icon svg { width: 26px; height: 26px; }
 .chat-panel .chat-empty h3 { font-size: 14px; margin-top: 13px; }
 .chat-panel .chat-empty p { font-size: 11px; }
 .chat-panel .chat-composer textarea { min-height: 56px; font-size: 16px; }
 .chat-panel .chat-actions button { min-height: 44px; }
 .chat-panel .chat-log { min-height: 158px; max-height: min(340px, 48dvh); }
}
@media (max-width: 360px) {
 .chat-panel .chat-composer-bottom { flex-wrap: wrap; }
 .chat-panel .chat-actions { margin-left: auto; }
}

/* Approved cream music-box styling. The shared panel owns outer sizing. */
.music-panel { color: #42483b; }
.music-box-header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 1px 0 17px; }
.music-box-eyebrow { margin: 0 0 9px; color: #68715d; font-size: 9px; font-weight: 500; letter-spacing: .025em; }
.music-box-header h2 { margin: 0; font-size: 23px; line-height: 1.3; font-weight: 650; letter-spacing: .01em; }
.music-box-close { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; color: #68715d; border: 0; background: transparent; border-radius: 50%; cursor: pointer; }
.music-box-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.music-box-body { padding-bottom: 1px; }
.music-box-record { position: relative; display: grid; place-items: center; width: 128px; aspect-ratio: 1; margin: 16px auto 22px; border: 5px solid #e8e8dc; border-radius: 50%; background: repeating-radial-gradient(circle at center, #eaeadf 0, #eaeadf 5px, #dcddcd 5.8px, #eaeadf 6.8px); }
.music-box-record-center { display: grid; place-items: center; width: 53px; height: 53px; border: 6px solid #f9f4e1; border-radius: 50%; color: #b28a45; background: #f4d8a6; }
.music-box-record-center svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.music-box-record.is-playing .music-box-record-center { animation: music-box-sway 5s ease-in-out infinite; }
.music-box-spark { position: absolute; right: -22px; top: 0; color: #d7a25c; font-size: 25px; font-weight: 400; }
.music-box-track-info { text-align: center; }
.music-box-track-info h3 { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }
.music-box-track-info p { margin: 7px 0 0; color: #68715d; font-size: 12px; line-height: 1.65; }
.music-box-progress { height: 3px; margin: 28px 0 9px; overflow: hidden; border-radius: 4px; background: #e7e7db; }
.music-box-progress > span { display: block; width: 0; height: 100%; border-radius: inherit; background: #c8ac79; transition: width .1s linear; }
.music-box-times { display: flex; justify-content: space-between; color: #68715d; font-size: 10px; font-variant-numeric: tabular-nums; }
.music-box-controls { display: grid; grid-template-columns: 1fr 1.15fr 1fr 1fr; align-items: center; gap: 9px; margin: 8px 10px 0; }
.music-box-control { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; min-width: 40px; min-height: 44px; padding: 7px 2px; color: #68715d; border: 0; border-radius: 16px; background: transparent; cursor: pointer; }
.music-box-control svg { display: block; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.music-box-control svg[hidden] { display: none; }
.music-box-play { width: 56px; height: 56px; min-height: 56px; justify-self: center; color: #85672f; border-radius: 50%; background: #eee9d9; }
.music-box-loop { color: #835a21; }
.music-box-loop span { font-size: 10px; line-height: 1.2; white-space: nowrap; }
.music-box-status { min-height: 18px; margin: 13px 0 16px; color: #68715d; font-size: 10px; line-height: 1.6; text-align: center; }
.music-box-playlist-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 43px; padding: 11px 13px; color: #68715d; border: 1px solid #e4e5d8; border-radius: 13px; background: #f5f5ec; font: inherit; font-size: 12px; cursor: pointer; }
.music-box-playlist-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; }
.music-box-count { margin-left: auto; font-size: 11px; }
.music-box-list-wrap[hidden] { display: none; }
.music-box-list { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.music-box-track { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px 12px; width: 100%; min-height: 44px; padding: 11px 12px; color: #70795f; border: 1px solid #e9e9dc; border-radius: 11px; background: #fbfaf4; font: inherit; text-align: left; cursor: pointer; }
.music-box-track.is-current { border-color: #decba5; background: #f8efdc; }
.music-box-track-title { font-size: 12px; overflow-wrap: anywhere; }
.music-box-track-kind { color: #68715d; font-size: 10px; white-space: nowrap; }
.music-box-footnote { margin: 12px 0 0; color: #68715d; font-size: 10px; line-height: 1.65; text-align: center; }
.music-box-control:hover, .music-box-close:hover { background-color: #f1ebdc; }
.music-box-control:focus-visible, .music-box-close:focus-visible, .music-box-playlist-toggle:focus-visible, .music-box-track:focus-visible { outline: 2px solid #cda45d; outline-offset: 3px; }
@keyframes music-box-sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@media (max-width: 700px) { .music-box-record { width: 100px; margin-top: 9px; margin-bottom: 15px; } .music-box-progress { margin-top: 19px; } .music-box-header { padding-bottom: 11px; } }
@media (prefers-reduced-motion: reduce) { .music-box-record.is-playing .music-box-record-center { animation: none; } .music-box-progress > span { transition: none; } }

.music-box-control:disabled { color: #b7bca9; cursor: default; background: transparent; }

/* Small category pages inside the existing nonmodal wardrobe panel. */
.collection-wardrobe [hidden]{display:none!important}
.avatar-open{background:#f7e6eb;border-color:#e7cdd5;color:#866371}
.avatar-open svg{display:block;flex:none;width:17px;height:17px;stroke-width:1.7;pointer-events:none}
.care-button.avatar-open:hover,.care-button.avatar-open:active,.care-button.avatar-open[aria-expanded=true]{background:#f4dce4;border-color:#dfbdca;color:#805469}
.care-button.avatar-open:focus-visible{outline-color:#b67a91}
.collection-wardrobe [data-accessory=brass-badge] .accessory-thumbnail{overflow:hidden}
.collection-wardrobe [data-accessory=brass-badge] .accessory-thumbnail img{transform:translateY(-11px) scale(4);transform-origin:50% 65.63%;animation:none}
.collection-wardrobe [data-accessory=glasses] .accessory-thumbnail{overflow:hidden}
.collection-wardrobe [data-accessory=glasses] .accessory-thumbnail img{transform:scale(1.6);transform-origin:50% 50.9%;animation:none}
.collection-wardrobe [data-accessory=minibag] .accessory-thumbnail img{transform:scaleX(-1);animation:none}
.shell-pearl-glow{position:absolute;pointer-events:none;border-radius:50%;background:#fff1c7;filter:blur(9px);opacity:0}
.avatar-dialog{width:min(430px,calc(100vw - 32px))}
#avatar-preview{display:block;width:100%;max-width:310px;height:auto;aspect-ratio:1;margin:0 auto 20px;border:1px solid #e2e1d4;border-radius:8px;background:repeating-conic-gradient(#e9e9e9 0% 25%,#fff 0% 50%) 0 0 / 20px 20px}
.avatar-background{border:0;padding:0;margin:0}
.avatar-background legend{font-size:12px;margin-bottom:12px;color:#657057}
.avatar-swatches{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.avatar-swatches button,.avatar-custom-color{flex:none;width:34px;height:34px;border-radius:50%;border:1px solid #cdcec4;background:var(--swatch);padding:0;cursor:pointer}
.avatar-swatches button[aria-pressed=true]{outline:2px solid #657c65;outline-offset:3px}
.avatar-custom-color{overflow:hidden;display:flex;align-items:center;justify-content:center;border-radius:6px}
.avatar-custom-color input{width:44px;height:44px;padding:0;border:0;cursor:pointer}
.avatar-transparent{display:flex;align-items:center;gap:8px;margin-top:16px;font-size:12px;color:#657057}
.avatar-transparent input{accent-color:#657c65;width:16px;height:16px}
.avatar-status{font-size:11px;min-height:18px;color:#657057;margin:15px 0 10px}
.avatar-save{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px;border:1px solid #c6d4c3;background:#e5eee1;color:#4f664b;border-radius:8px;font:inherit;font-size:13px;cursor:pointer}
.avatar-save:disabled{opacity:.5;cursor:default}
.avatar-dialog :is(button,input):focus-visible{outline:2px solid #537e91;outline-offset:3px}
@media(max-width:700px){.companion-page .care-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:340px}.avatar-dialog{padding:22px 20px}.avatar-swatches{gap:10px}}
.collection-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;padding:4px;margin:0 0 12px;border:1px solid #e7e4d6;border-radius:8px;background:#f4f3e9}
.wardrobe-panel > .collection-tabbar{flex:none;min-width:0;margin-top:8px}
.collection-tabs [role=tab]:focus-visible{outline:2px solid #537e91;outline-offset:3px}
.collection-tabs [role=tab]{display:flex;align-items:center;justify-content:center;min-width:0;height:44px;padding:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#647056;font:inherit;font-size:11px;line-height:1.4;cursor:pointer;touch-action:manipulation;transition:background-color .16s ease,border-color .16s ease}
.collection-tabs svg{display:block;flex:none;width:20px;height:20px;stroke-width:1.7;pointer-events:none}
.collection-tabs [aria-selected=true]{border-color:#dbc393;background:#fffaf0;color:#775121;box-shadow:0 2px 5px #7765440a}
.collection-tabs [role=tab]:hover{background:#fffdf7}
.wardrobe-panel .collection-wardrobe .wardrobe-slots{display:block}
.collection-category{min-width:0;outline-offset:3px}
.collection-category fieldset{min-width:0;margin:0;padding:0;border:0}
.wardrobe-panel .collection-wardrobe .wardrobe-slots legend{font-size:11px;margin-bottom:8px}
.wardrobe-panel .collection-wardrobe .accessory-options,.wardrobe-panel .collection-wardrobe .charm-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.collection-wardrobe .accessory-choice{min-height:100px;padding:7px 4px 8px}
.collection-wardrobe .accessory-name{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;font-size:10px;line-height:1.45}
.collection-wardrobe .accessory-thumbnail{height:64px}
.collection-wardrobe .accessory-thumbnail img{width:72px;height:72px}
.collection-note,.collection-current{margin:0 0 10px;color:#657057;font-size:10px;line-height:1.7;overflow-wrap:anywhere}
.collection-current{margin:9px 0 0;padding:7px 9px;border-radius:9px;background:#f5eedf;color:#785c2f}
.collection-set-note{margin:10px 0 0}
.outfit-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.collection-wardrobe .outfit-preset-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;min-width:0;min-height:167px;padding:7px 6px 10px;border:1px solid #e1e1cf;border-radius:15px;background:#f8f9f1;color:#536046;font:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background-color .16s ease,border-color .16s ease,transform .2s ease}
.outfit-preset-thumbnail{display:flex;align-items:center;justify-content:center;width:100%;height:108px;pointer-events:none}
.outfit-preset-thumbnail img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;pointer-events:none}
.outfit-preset-name{font-size:12px;line-height:1.5;pointer-events:none}
.outfit-preset-description{max-width:100%;color:#69735f;font-size:9px;line-height:1.55;text-align:center;overflow-wrap:anywhere;pointer-events:none}
.collection-wardrobe .outfit-preset-choice[aria-pressed=true]{border-color:#c8994c;background:#faebcf;color:#805519;box-shadow:inset 0 0 0 1px #d7ad65}
.outfit-preset-choice[aria-pressed=true] .accessory-selected{opacity:1;transform:scale(1)}
.outfit-preset-choice[aria-pressed=true] .outfit-preset-description{color:#775925}
.collection-wardrobe :is(button,[role=tabpanel]):focus-visible{outline:2px solid #537e91;outline-offset:3px}
@media(hover:hover) and (pointer:fine){.collection-wardrobe .outfit-preset-choice:hover{transform:translateY(-2px);border-color:#b9bc9f}}
.collection-wardrobe .outfit-preset-choice:active{transform:translateY(1px) scale(.98)}
@media(max-width:700px){
 .wardrobe-panel .collection-tabs{gap:4px;padding:4px;margin-bottom:10px}
 .collection-tabs [role=tab]{min-height:40px;font-size:11px}
 .collection-wardrobe .accessory-choice{min-height:94px}
 .collection-wardrobe .outfit-preset-choice{min-height:151px;padding:5px 5px 8px}
 .outfit-preset-thumbnail{height:93px}
 .outfit-preset-name{font-size:11px}
 .collection-note{margin-bottom:8px}
 .wardrobe-panel:has(.collection-wardrobe) .dialog-body{overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
}
@media(max-width:360px){.collection-wardrobe .accessory-name{font-size:9px}.outfit-preset-description{font-size:9px}.outfit-options{gap:6px}}
@media(prefers-reduced-motion:reduce){
 .collection-wardrobe :is(.outfit-preset-choice,.outfit-preset-choice:hover,.outfit-preset-choice:active,.collection-tabs [role=tab],.accessory-selected){transition:none;transform:none;animation:none}
 .collection-wardrobe .accessory-choice[aria-pressed=true] .accessory-thumbnail img{animation:none}
}

.accessory-hit-button{position:absolute;min-width:24px;min-height:24px;padding:0;border:0;border-radius:24%;background:transparent;cursor:pointer;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.accessory-hit-button[hidden]{display:none!important}.accessory-hit-button:focus-visible{outline:2px dashed #956c36;outline-offset:3px}.camera-soft-glint{position:absolute;pointer-events:none;border-radius:50%;background:radial-gradient(circle,#fff8dd 0%,#fff8dd88 48%,transparent 72%);opacity:0}.coffee-steam{position:absolute;pointer-events:none;border-left:2px solid #aa9e88;border-radius:60% 0 0 40%;opacity:0;filter:blur(.4px)}@media(prefers-reduced-motion:reduce){.wardrobe-motion-layer{will-change:auto}.camera-soft-glint,.coffee-steam{display:none}}
/* Genuine rear geometry, mascot, front wearables and independent charm planes. */
.wardrobe-back-layers{position:absolute;inset:0;z-index:0;pointer-events:none}
.companion-stage .logo-button{z-index:1}

.icon-flow{opacity:0;pointer-events:none;color:#d59432}
.icon-flow>*{stroke:currentColor;stroke-dasharray:22 78;stroke-dashoffset:0;stroke-width:2.2;fill:none}
.companion-page .tool-launcher:not(:disabled):is(:hover,:active),.companion-page .music-box-loop:not(:disabled):is(:hover,:active){transform:none}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .tool-launcher:not(:disabled):hover .icon-flow,.music-box-loop:not(:disabled):hover .icon-flow{opacity:1}
 .tool-launcher:not(:disabled):hover .icon-flow>*,.music-box-loop:not(:disabled):hover .icon-flow>*{animation:icon-line-flow 1.35s linear infinite}
}
@media(prefers-reduced-motion:no-preference){
 .tool-launcher:focus-visible .icon-flow,.music-box-loop:focus-visible .icon-flow{opacity:1}
 .tool-launcher:focus-visible .icon-flow>*,.music-box-loop:focus-visible .icon-flow>*{animation:icon-line-flow 1.35s linear infinite}
}
@keyframes icon-line-flow{to{stroke-dashoffset:-100}}

.tool-launcher .icon-flow{display:none}
.tool-launcher .launcher-icon svg{overflow:visible;transform-origin:50% 30%;transform-box:view-box}
@media(prefers-reduced-motion:no-preference){
 .tool-launcher[data-panel-open=chat-dialog]:focus-visible svg>path:first-child{animation:launcher-draw .75s ease both}
 .tool-launcher[data-panel-open=chat-dialog]:focus-visible svg>path:last-of-type{animation:launcher-dots 1.2s ease-in-out 2}
 .tool-launcher[data-panel-open=wardrobe-dialog]:focus-visible .launcher-icon svg{animation:launcher-hanger 1.1s ease-in-out 2}
 .tool-launcher[data-panel-open=music-dialog]:focus-visible svg>ellipse{animation:launcher-note 1s ease-in-out 2}
 .tool-launcher[data-panel-open=music-dialog]:focus-visible svg>ellipse:last-of-type{animation-delay:.16s}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .tool-launcher[data-panel-open=chat-dialog]:hover svg>path:first-child{animation:launcher-draw .75s ease both}
 .tool-launcher[data-panel-open=chat-dialog]:hover svg>path:last-of-type{animation:launcher-dots 1.2s ease-in-out 2}
 .tool-launcher[data-panel-open=wardrobe-dialog]:hover .launcher-icon svg{animation:launcher-hanger 1.1s ease-in-out 2}
 .tool-launcher[data-panel-open=music-dialog]:hover svg>ellipse{animation:launcher-note 1s ease-in-out 2}
 .tool-launcher[data-panel-open=music-dialog]:hover svg>ellipse:last-of-type{animation-delay:.16s}
 .tool-launcher[data-panel-open=music-dialog]:hover svg>path{animation:launcher-draw .75s ease both}
}
@keyframes launcher-draw{0%{stroke-dasharray:100;stroke-dashoffset:100}100%{stroke-dasharray:100;stroke-dashoffset:0}}
@keyframes launcher-dots{0%,100%{opacity:1}35%{opacity:.25}65%{opacity:1}}
@keyframes launcher-hanger{0%,100%{transform:rotate(0)}20%{transform:rotate(-9deg)}45%{transform:rotate(7deg)}70%{transform:rotate(-4deg)}}
@keyframes launcher-note{0%,100%{transform:translateY(0)}35%{transform:translateY(-1.6px)}70%{transform:translateY(.5px)}}

.music-box-control{border:1px solid transparent;box-sizing:border-box;transition:background-color .18s,border-color .18s,color .18s}
.music-box-control[aria-pressed=true],.music-box-playlist-toggle[aria-expanded=true]{background:#f8e9cd;border-color:#ddb56f;color:#875b21}
.music-box-control:disabled{background:transparent;border-color:transparent;opacity:.45;cursor:default}
.music-box-control:focus-visible,.music-box-playlist-toggle:focus-visible{outline:2px solid #7aa5bc;outline-offset:3px}
.music-box-loop .icon-flow{display:none}
.music-box-loop svg{overflow:visible;transform-box:view-box;transform-origin:50% 50%}
@media(hover:hover) and (pointer:fine){
 .music-box-control:not(:disabled):hover,.music-box-playlist-toggle:hover{background:#f6f0e3;border-color:#d9c69f;color:#875b21}
 .music-box-control[aria-pressed=true]:hover,.music-box-playlist-toggle[aria-expanded=true]:hover{background:#f4dfb7;border-color:#d5a757}
}
@media(prefers-reduced-motion:no-preference){
 .music-box-loop:focus-visible svg>path{animation:launcher-draw .7s ease both}
 .music-box-loop:focus-visible svg{animation:music-loop-turn .95s ease-in-out}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .music-box-loop:hover svg>path{animation:launcher-draw .7s ease both}
 .music-box-loop:hover svg{animation:music-loop-turn .95s ease-in-out}
}
@keyframes music-loop-turn{0%,100%{transform:rotate(0)}40%{transform:rotate(18deg)}70%{transform:rotate(-5deg)}}
.music-box-record{isolation:isolate;border:0;background:transparent;overflow:visible}
.music-box-record::before{content:"";position:absolute;inset:0;z-index:1;border:3px solid #414541;border-radius:50%;box-sizing:border-box;background:conic-gradient(from 25deg,transparent 0deg,#ffffff18 35deg,transparent 75deg,transparent 180deg,#ffffff12 220deg,transparent 260deg),repeating-radial-gradient(circle,#303530 0px,#303530 3px,#474c45 3.5px,#292e29 4.5px);box-shadow:0 3px 7px #242d2018;animation:music-vinyl-spin 9s linear infinite;animation-play-state:paused}
.music-box-record-center{position:relative;z-index:2;border-color:#f9f0d9;background:#f1cf89}
.music-box-record.is-playing .music-box-record-center{animation:none}
.music-box-wave{position:absolute;inset:0;z-index:0;border:1px solid #b79b61;border-radius:50%;opacity:0;pointer-events:none;animation:music-sound-wave 2.7s ease-out infinite;animation-play-state:paused;visibility:hidden}
.music-box-wave:nth-child(2){animation-delay:-.9s;border-color:#8caa9b}
.music-box-wave:nth-child(3){animation-delay:-1.8s}
.music-box-record.is-playing::before,.music-box-record.is-playing .music-box-wave{animation-play-state:running}
.music-box-record.is-playing .music-box-wave{visibility:visible}
.music-box-spark{z-index:2}
@keyframes music-vinyl-spin{to{transform:rotate(360deg)}}
@keyframes music-sound-wave{0%{transform:scale(1);opacity:.38}100%{transform:scale(1.32);opacity:0}}
@media(prefers-reduced-motion:reduce){.music-box-record::before{animation:none}.music-box-wave{display:none}}
@media(prefers-reduced-motion:reduce){.music-box-control{transition:none}}

.music-box-seek{--seek-progress:0%;display:block;appearance:none;-webkit-appearance:none;width:100%;height:28px;margin:15px 0 0;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;overflow:visible}
.music-box-seek::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(to right,#b99452 var(--seek-progress),#e7e7db var(--seek-progress))}
.music-box-seek::-moz-range-track{height:4px;border-radius:2px;background:#e7e7db}
.music-box-seek::-moz-range-progress{height:4px;background:#b99452}
.music-box-seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;margin-top:-4px;border:2px solid #fffdf7;border-radius:50%;background:#a78042;box-shadow:0 0 0 1px #c8b68b}
.music-box-seek::-moz-range-thumb{width:8px;height:8px;border:2px solid #fffdf7;border-radius:50%;background:#a78042;box-shadow:0 0 0 1px #c8b68b}
.music-box-seek:focus-visible{outline:2px solid #7aa5bc;outline-offset:2px}
.music-box-seek:disabled{opacity:.45;cursor:default}
.companion-page :is(.music-box-control,.music-box-playlist-toggle):not(:disabled):is(:hover,:active){transform:none}
@media(prefers-reduced-motion:no-preference){
 :is(.music-box-control,.music-box-playlist-toggle):not(:disabled):focus-visible .icon-flow{opacity:1}
 :is(.music-box-control,.music-box-playlist-toggle):not(:disabled):focus-visible .icon-flow>*{animation:icon-line-flow 1.1s linear infinite}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 :is(.music-box-control,.music-box-playlist-toggle):not(:disabled):hover .icon-flow{opacity:1}
 :is(.music-box-control,.music-box-playlist-toggle):not(:disabled):hover .icon-flow>*{animation:icon-line-flow 1.1s linear infinite}
}

/* Quiet, shared header controls: background music, settings, and invitation. */
.header-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}
.header-action,.header-actions .settings-gear{appearance:none;position:relative;inset:auto;display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;min-height:40px;padding:0;border:1px solid transparent;border-radius:13px;background:transparent;color:#657057;font:inherit;cursor:pointer;touch-action:manipulation;transition:background-color .16s,border-color .16s}
.header-action svg{display:block;flex:none}
.header-action:hover,.header-action[aria-expanded=true]{background:#eeeee3;border-color:#dedfcd}
.header-action:focus-visible{outline:2px solid #537e91;outline-offset:3px}
.header-action:disabled{opacity:.45;cursor:default}
.header-actions .share-trigger{width:auto;gap:7px;padding:0 11px;border-color:#e2e1d4;font-size:11px;background:#fcfbf6}
.header-actions .music-toggle{color:#929888}
.header-actions .music-toggle[data-playing=true]{color:#657f4e;background:#ecefdf}
.music-bars{display:flex;align-items:center;justify-content:center;gap:3px;width:22px;height:22px}
.music-bars i{display:block;width:3px;height:5px;border-radius:2px;background:currentColor;transform-origin:center}
.music-bars i:nth-child(2){height:13px}.music-bars i:nth-child(3){height:19px}.music-bars i:nth-child(4){height:10px}
.music-toggle[data-playing=true] .music-bars i{animation:header-music-wave .9s ease-in-out infinite alternate}
.music-toggle[data-playing=true] .music-bars i:nth-child(2){animation-delay:-.6s}.music-toggle[data-playing=true] .music-bars i:nth-child(3){animation-delay:-.3s}.music-toggle[data-playing=true] .music-bars i:nth-child(4){animation-delay:-.75s}
.music-toggle[data-playing=false] .music-bars{opacity:.65}
@keyframes header-music-wave{from{transform:scaleY(.35)}to{transform:scaleY(1)}}
.companion-sidebar .sidebar-top{min-height:26px;padding:0 3px}
.share-dialog{max-width:440px}
.share-dialog .dialog-header h2{font-size:24px}
#share-link-area label{display:block;font-size:11px;color:#657057;margin-bottom:9px}
#share-url{width:100%;min-width:0;padding:12px;border:1px solid #dedfcd;border-radius:10px;background:#f7f7ef;color:#46533d;font:inherit;font-size:12px}
.share-options{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.share-options button,.share-picture{min-height:44px;border:1px solid #dedfcd;border-radius:13px;padding:10px 16px;background:#f2f3e8;color:#526246;font:inherit;font-size:12px;cursor:pointer}
.share-picture{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;background:#fff9ed;border-color:#e8dcc4;color:#7e6238}
.share-status{font-size:11px;line-height:1.7;color:#657057;margin:14px 0 0}
.share-status:empty{display:none}
@media(max-width:700px){.header-actions{gap:3px}.header-action,.header-actions .settings-gear{width:40px;height:40px}.header-actions .share-trigger{width:40px;padding:0}.share-label{display:none}.companion-sidebar .sidebar-top{padding-right:3px}.share-dialog .dialog-header h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){.music-toggle[data-playing=true] .music-bars i{animation:none}.header-action{transition:none}}

/* P0: a small welcome and a take-away moment, within the existing quiet palette. */
.tool-launcher[hidden],.first-meeting[hidden]{display:none!important}
.tool-launchers:has([data-panel-open="chat-dialog"]:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr))}
.first-meeting{display:flex;align-items:center;justify-content:space-between;gap:22px;max-width:1040px;margin:18px auto 22px;padding:18px 22px;background:#f2efdf;border:1px solid #e3dfca;border-radius:18px}
.first-meeting h2{font-size:18px;font-weight:550;margin:6px 0}.first-meeting p{font-size:12px;line-height:1.7;margin:0;color:#6c755f}.first-meeting .dialog-kicker{font-size:9px}
.first-meeting-actions{display:flex;flex-direction:column;gap:6px;flex-shrink:0}
.first-meeting button{min-height:40px;border-radius:12px;border:1px solid #d7dcc5;background:#e5e9d5;color:#566343;font:inherit;font-size:12px;padding:8px 14px;cursor:pointer}
.first-meeting #first-meeting-skip{border-color:transparent;background:transparent;color:#737a66}
.inspiration-candy{animation:none!important;pointer-events:none;z-index:5}
.original-downloads{font-size:12px;color:#69765d;border-top:1px solid #e4e3d7;padding:16px 0}.original-downloads summary{cursor:pointer}.original-downloads p{font-size:11px}.original-downloads .downloads{flex-wrap:wrap;gap:14px;justify-content:flex-start}
.share-picture+.share-picture{margin-top:10px}
.mood-dialog{width:min(840px,calc(100vw - 32px));max-width:840px;padding:26px;border-radius:26px;max-height:calc(100dvh - 32px);overflow:auto;scrollbar-width:thin;scrollbar-color:#bdc3ad transparent}
.mood-dialog .dialog-header{margin-bottom:20px}.mood-dialog .dialog-header h2{font-size:25px}
.mood-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,1fr);gap:28px;align-items:start}
#mood-preview{display:block;width:100%;height:auto;border-radius:14px;box-shadow:0 8px 25px #50563f12}
.mood-editor{padding:6px 0;min-width:0}.mood-editor fieldset{border:0;padding:0;margin:0 0 24px}.mood-editor legend,.mood-editor>label{font-size:12px;color:#596449;display:block;margin-bottom:12px}.mood-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mood-options button{min-height:42px;padding:10px 8px;border:1px solid #e0e1d4;background:#fbfaf5;color:#69765b;border-radius:12px;font:inherit;font-size:12px;cursor:pointer}.mood-options button[aria-pressed=true]{background:#ece5d3;border-color:#c6b48e;color:#745a31}
#mood-message{box-sizing:border-box;width:100%;resize:vertical;min-height:100px;max-height:180px;padding:12px;border:1px solid #dedfce;border-radius:12px;background:#fcfbf6;color:#444f3c;font:inherit;font-size:14px;line-height:1.8}
.mood-hint,#mood-status{font-size:11px;color:#788069;line-height:1.8}.mood-hint{margin:10px 0 16px}#mood-status{min-height:40px;margin:18px 0 8px}
.mood-editor .avatar-save{width:100%;min-height:46px}.mood-editor button:focus-visible,.first-meeting button:focus-visible,#mood-message:focus-visible{outline:2px solid #537e91;outline-offset:3px}
@media(max-width:600px){.first-meeting{margin:14px 0 20px;padding:16px;display:block}.first-meeting h2{font-size:17px}.first-meeting-actions{margin-top:10px;flex-direction:row;flex-wrap:wrap}.mood-dialog{padding:20px;border-radius:22px}.mood-dialog .dialog-header h2{font-size:21px}.mood-layout{grid-template-columns:1fr;gap:20px}#mood-preview{max-width:220px;margin:auto}.mood-editor{padding:0}.mood-editor fieldset{margin-bottom:16px}}
