.companion-dock{--buddy:#dfbd83;position:fixed;right:22px;bottom:22px;z-index:45;font-size:12px;line-height:1.6;color:#eee8da}.companion-dock[data-tone=lilac]{--buddy:#c8b0df}.companion-dock button,.companion-dock a{font:inherit}.companion-launcher{position:relative}.companion-launch{display:flex;align-items:center;gap:12px;padding:10px 25px 10px 10px;background:transparent;border:1px solid transparent;border-radius:45px;box-shadow:none}.companion-pair{display:flex;align-items:center;padding-left:3px}.companion-avatar{display:block;overflow:hidden;border-radius:50%;width:60px;height:60px;background:#f1e2c8;flex-shrink:0}.companion-avatar.lilac{background:#ddd2e9}.companion-avatar img{width:100%;height:100%;object-fit:cover}.companion-pair .companion-avatar{width:44px;height:44px;border:2px solid #e8ddc8;transition:transform .2s}.companion-pair .companion-avatar+span{margin-left:-9px;border-color:#d5c4e4}.companion-launch:hover .companion-avatar:first-child{transform:rotate(-9deg)}.companion-launch:hover .companion-avatar:last-child{transform:rotate(8deg)}.companion-launch-copy{text-align:left;font-size:12px}.companion-launch-copy small{display:block;font-size:9px;color:#bdb8b0}.companion-minimize{position:absolute;right:-5px;top:-5px;border:1px solid #55514c;background:#222222;width:25px;height:25px;border-radius:50%;font-size:15px!important;color:#e2ddd5}.companion-restore{background:#242424f5;border:1px solid #55514c;border-radius:30px;padding:8px 13px;color:#ddd8d0;box-shadow:0 4px 20px #0004}.companion-restore span{color:#d6c098;margin-right:3px}.companion-panel{position:absolute;right:0;bottom:84px;width:320px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 130px);overflow:auto;background:#202020fc;border:1px solid #55514c;border-radius:20px;padding:20px;box-shadow:0 16px 65px #0007}.companion-panel header{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1.6px;color:#bdb8b0}.companion-panel-close{width:30px;height:30px;border-radius:50%;border:1px solid #55514c;font-size:19px!important;line-height:1!important}.companion-choice{display:flex;gap:10px;margin:17px 0 22px}.companion-choice button{flex:1;border:1px solid #44413d;border-radius:15px;padding:12px 8px;display:grid;justify-items:center;gap:8px;background:#191919}.companion-choice button[aria-pressed=true]{border-color:var(--buddy);background:#33302d}.companion-choice .companion-avatar{width:68px;height:68px}.companion-greeting small{font-size:8px;letter-spacing:1.4px;color:var(--buddy)}.companion-greeting h3{font-size:21px;font-weight:400;margin:6px 0 10px}.companion-greeting p{font-size:12px;line-height:1.9;color:#c9c3bb}.companion-panel nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0 12px}.companion-panel nav a{padding:10px 9px;border:1px solid #4a4641;border-radius:7px;display:flex;justify-content:space-between;gap:10px}.companion-panel nav a:hover{background:#302d2a}.companion-wander{width:100%;background:var(--buddy);color:#29291f;display:flex;justify-content:space-between;padding:10px 12px;border-radius:7px}.companion-panel footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:16px;color:#bab4ac;font-size:9px}.companion-panel footer button{font-size:9px}.companion-dock [hidden]{display:none!important}body:has(dialog[open]) .companion-dock{visibility:hidden;pointer-events:none}.companions-home{display:grid;grid-template-columns:1fr 1.1fr;gap:65px;align-items:center;border-top:1px solid #3c3935}.companions-intro h2{font-weight:400;font-size:clamp(30px,3.8vw,52px);line-height:1.35}.companions-intro h2 em{font-style:normal;font-family:var(--serif);color:#d6cdc1}.companions-intro>p{margin-top:24px;color:#bbb4aa;font-size:13px;line-height:1.9}.companions-home-note{display:block;font-size:10px;color:#aaa197;margin-top:20px}.companions-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}.companion-home-card{border:1px solid #675c43;background:#262421;border-radius:120px 120px 15px 15px;overflow:hidden}.companion-home-card.lilac{border-color:#645771;background:#29262e;margin-top:40px}.companion-home-card>button{display:block;padding:24px 18px 16px;width:100%;text-align:center}.companion-home-art{display:block;border-radius:50%;overflow:hidden;margin:0 auto 24px;max-width:230px}.companion-home-art>.companion-avatar{width:100%;height:auto;aspect-ratio:1}.companion-home-art img{transition:transform .3s}.companion-home-card>button:hover img{transform:scale(1.04) rotate(-3deg)}.companion-home-name{display:block;font-size:22px;color:#eee4cf}.lilac .companion-home-name{color:#e0d3ec}.companion-home-name small{display:block;font-size:8px;letter-spacing:1.4px;color:#a99c7f;margin-top:8px}.lilac .companion-home-name small{color:#b3a4c2}.companion-home-action{display:block;border-top:1px solid #5a5341;margin-top:22px;padding-top:14px;font-size:11px;color:#dbc69d}.lilac .companion-home-action{border-color:#51465c;color:#c7b3da}.companion-credit{display:block;text-align:center;font-size:8px;color:#9d9b8b;padding:0 15px 17px}.companion-summon{font-size:inherit;color:inherit;padding:0}.companions-home button:focus-visible{outline-offset:-4px}@media(max-width:760px){.companions-home{grid-template-columns:1fr;gap:32px}.companions-intro h2 br{display:none}.companions-cards{max-width:540px;width:100%;margin:auto}.companion-home-card>button{padding:22px 15px 15px}.companion-dock{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}.companion-launch{gap:0;padding:6px 14px 6px 6px}.companion-launch-copy{display:none}.companion-pair .companion-avatar{width:38px;height:38px}.companion-minimize{width:22px;height:22px;font-size:13px!important}.companion-panel{bottom:64px;width:310px;max-height:calc(100dvh - 100px)}.companion-home-name{font-size:20px}}html[data-reduced-motion="true"] .companion-dock *,html[data-reduced-motion="true"] .companions-home *{transition:none!important;animation:none!important}html[data-reduced-motion="true"] .companion-home-card>button:hover img,html[data-reduced-motion="true"] .companion-launch:hover .companion-avatar{transform:none!important}
.companion-panel{width:370px}.companion-bio{border-top:1px solid #4b583e;border-bottom:1px solid #4b583e;padding:12px 0;margin:15px 0}.companion-bio summary{cursor:pointer;color:var(--buddy);font-size:12px}.companion-bio p{font-size:12px;line-height:1.9;color:#c4cdb9}.companion-bio a{color:var(--buddy);font-size:10px}.companion-shortcuts{display:flex;gap:8px}.companion-shortcuts button{flex:1;border:1px solid #576546;padding:10px 7px;border-radius:8px;font-size:11px}.companion-shortcuts button:disabled{opacity:.45;cursor:default}.buddy-recommendation{display:flex;gap:13px;margin:15px 0;padding:12px;background:#131c10;border:1px solid #46413c;border-radius:10px}.buddy-recommendation>img{width:80px;height:100px;object-fit:cover;border-radius:5px}.buddy-recommendation>span{display:flex;flex:1;min-width:0;flex-direction:column;justify-content:center;gap:8px}.buddy-recommendation small{font-size:9px;color:var(--buddy)}.buddy-recommendation b{font-size:12px;font-weight:400;line-height:1.6}.buddy-recommendation em{font-size:10px;font-style:normal;color:#bdb8b0}.buddy-favorites{margin-top:15px;padding:15px;background:#222120;border-radius:10px}.buddy-favorites>a{display:flex;justify-content:space-between;border-top:1px solid #49433c;padding:12px 0;font-size:11px}.buddy-favorites strong{display:block;margin-bottom:10px;color:var(--buddy);font-weight:400}.buddy-favorites p{line-height:1.9;color:#bcb2a5}.companion-home-bio,.companion-home-duty{padding:0 20px;font-size:12px;line-height:1.9;color:#ccc7b6}.companion-home-duty{color:#dbc69d;font-size:11px}.companion-home-duty small{display:block;font-size:9px;color:#aaa197;margin:8px 0 16px}.lilac .companion-home-duty{color:#c7b3da}.companion-home-card .companion-credit{font-size:10px}

.companion-shortcuts button small{display:block;font-size:9px;line-height:1.5;color:#bab3aa;margin-top:5px;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media(min-width:900px){.companions-home{grid-template-columns:.75fr 1.25fr;gap:45px}.companion-home-bio{font-size:13px}.companion-home-duty{margin-top:15px}}
@media(max-width:560px){.companions-cards{grid-template-columns:1fr;max-width:430px;gap:16px}.companion-home-card,.companion-home-card.lilac{margin-top:0;border-radius:26px}.companion-home-card>button{display:grid;grid-template-columns:82px minmax(0,1fr);grid-template-rows:auto auto;column-gap:18px;align-items:center;padding:20px 20px 14px;text-align:left}.companion-home-art,.companion-home-card.lilac .companion-home-art{grid-row:1/3;width:82px;max-width:82px;margin:0}.companion-home-name{font-size:20px}.companion-home-action{margin-top:12px;padding-top:10px}.companion-home-bio,.companion-home-duty{padding-inline:22px;font-size:13px!important;line-height:1.85!important}.companion-home-duty{margin-top:12px}.companion-home-card .companion-credit{text-align:left;padding:4px 22px 18px}}
.buddy-together{background:#1b1b1b;border:1px solid #46413c;border-radius:12px;padding:14px;margin:15px 0}.buddy-together h4{font-weight:400;font-size:13px;margin:0 0 12px;color:var(--buddy)}.buddy-actions{display:flex;gap:7px}.buddy-actions button{padding:8px 10px;border:1px solid #5b554e;border-radius:20px}.buddy-actions button[aria-pressed=true]{background:#39342f}.buddy-response{min-height:44px;line-height:1.8;color:#e4ddd3}.buddy-day{display:flex;gap:7px;flex-wrap:wrap;font-size:10px;color:#c8c0b6}.buddy-together>small{display:block;font-size:9px;color:#aaa197;margin-top:12px}.buddy-bubble{max-width:270px;padding:13px 17px;margin-bottom:12px;border:1px solid #60584f;background:#282624;border-radius:18px 18px 4px 18px;box-shadow:0 8px 30px #0004;color:#e5dfd7}.companion-panel:not([hidden])~.companion-launcher{opacity:.8}.buddy-wave .companion-avatar:first-child img{animation:buddy-nod .65s ease 2}.buddy-dialog{display:flex;align-items:center;gap:12px;margin-top:25px;padding:12px 16px;background:#252321;border:1px solid #504b44;border-radius:13px}.buddy-dialog .companion-avatar{width:44px;height:44px}.buddy-dialog button{border:0;background:none;padding:0;flex-shrink:0}.buddy-dialog small{color:#d2b888;font-size:10px}.buddy-dialog p{font-size:12px!important;line-height:1.7;margin:5px 0 0!important;color:#cec6bb}.buddy-dialog button:active img{transform:rotate(-12deg)}@keyframes buddy-nod{50%{transform:translateY(-5px) rotate(-8deg)}}html[data-reduced-motion="true"] .buddy-wave img{animation:none!important}
.buddy-dialog{position:sticky;top:0;z-index:4;margin:0 34px 20px 0;background:#252321f5;box-shadow:0 5px 15px #0002}.buddy-dialog .companion-avatar{width:36px;height:36px}.buddy-dialog p{margin:2px 0 0!important}.buddy-dialog small{font-size:9px}
/* A small aside beside the memory, never a sticky banner over the image. */
.buddy-dialog{position:relative;top:auto;z-index:auto;display:flex;align-items:center;gap:11px;width:fit-content;max-width:calc(100% - 48px);margin:8px 24px 24px;padding:0;background:none;border:0;border-radius:0;box-shadow:none}.buddy-dialog>div{position:relative;background:#eee9e2;color:#35312d;border-radius:16px 16px 16px 4px;padding:11px 16px;box-shadow:0 3px 15px #0002;max-width:330px}.buddy-dialog small{font-size:9px;color:#766b60}.buddy-dialog p{color:#403931;font-size:12px!important;line-height:1.8;margin-top:3px!important}.buddy-dialog .companion-avatar{width:45px;height:45px;box-shadow:none}.buddy-dialog button{align-self:end;margin-bottom:3px}.buddy-dialog.buddy-pet img{animation:buddy-nod .65s ease 2}.buddy-bubble{border:0;background:#eee9e2;color:#403931;box-shadow:0 5px 25px #0002}.companion-launcher{background:transparent;box-shadow:none}.companion-launch-copy{display:none}@media(max-width:600px){.buddy-dialog{margin:5px 16px 20px;max-width:calc(100% - 32px)}.buddy-dialog>div{padding:9px 13px}.buddy-dialog .companion-avatar{width:38px;height:38px}}

/* Readable supporting copy and a consistent neutral panel. */
.companion-panel{border-radius:12px}.companion-choice button{border-radius:8px}.companion-panel :is(header,footer,.companion-greeting small,.companion-shortcuts button small,.buddy-together>small){font-size:11px}.companion-panel footer button{font-size:11px}.companion-panel :is(button,a):focus-visible{outline:2px solid var(--buddy);outline-offset:3px}
