/* URBI V7: responsive companion-first experience, bubble launcher, PWA install */
:root{--v7-ink:#133c61;--v7-cyan:#0bbde8;--v7-blue:#087bdd;--v7-ice:#e9f9ff;--v7-shadow:0 18px 48px #18588923}
body{background:#eaf6ff!important}
[hidden]{display:none!important}
.topbar{background:rgba(249,253,255,.94)!important;border-bottom:1px solid #e3eff7!important;box-shadow:0 3px 25px #1b60890d!important;min-height:65px!important;padding-inline:clamp(14px,3vw,44px)!important}
.brand .wordmark{letter-spacing:-.085em;font-weight:950!important}
.top-actions{display:flex;align-items:center;gap:8px}
.v7-install-link{border-radius:999px;border:1px solid #bde3f7!important;background:#e6f8ff!important;color:#0764a8!important;font-weight:850;font-size:12px;padding:10px 15px;box-shadow:none!important}
.v7-install-link:hover{background:#c9eeff!important}
.edition{color:#527ea5!important}.status{border:1px solid #f1dfbb!important;background:#fffaf1!important;color:#81642b!important}
.experience{height:calc(100dvh - 65px)!important;min-height:580px}
.world{background:radial-gradient(ellipse at 49% 38%,#fff 0%,#eaf9ff 38%,#dbeefe 79%,#d8ebff 100%)!important}
.ambient-a{background:#bbf8ff85!important;filter:blur(26px)!important}.ambient-b{background:#d2d4ff80!important;filter:blur(28px)!important}
.orbit{border-color:#a5dff45a!important}
.hello .eyebrow{color:#438fb7!important}.hello h1{color:#14456c!important;text-shadow:none!important}
.hello p:not(.eyebrow){color:#5d819b!important}
.companion-meta{color:#14456c}
.bubble{border-color:#d3eaf7!important;box-shadow:0 9px 29px #2775b318!important;color:#205b83!important}
.tool-button{border:1px solid #e2eff9!important;box-shadow:0 9px 24px #205a8e12!important;transition:transform .15s ease,background .15s ease}
.tool-button:focus-visible,.v7-phone-dock button:focus-visible,.v7-chat-launcher:focus-visible,.v7-install-link:focus-visible{outline:3px solid #008af6;outline-offset:3px}
.tool-button:hover{transform:translateY(-2px)}
.conversation{box-shadow:0 17px 65px #124f8622!important;border:1px solid #daebf6!important}
.v7-chat-launcher,.v7-phone-dock,.v7-more-menu,.v7-chat-shade,.v7-chat-close{display:none}
.v7-install-backdrop{position:fixed;inset:0;background:#102b4775;backdrop-filter:blur(8px);z-index:96}
.v7-install-sheet{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:97;width:min(440px,calc(100vw - 28px));background:#fff;border-radius:30px;padding:28px;text-align:center;box-shadow:0 25px 80px #05264750;border:1px solid #d1e8f5}
.v7-install-sheet img{border-radius:28px;box-shadow:0 8px 18px #1876b42c}
.v7-install-overline{letter-spacing:.14em!important;font-size:10px!important;color:#1387bf!important;font-weight:800!important;margin:17px 0 4px!important}
.v7-install-sheet h2{font-size:29px;letter-spacing:-.05em;color:#133c61;margin:5px 0 8px}
.v7-install-sheet p{font-size:14px;line-height:1.5;color:#62849e}
.v7-install-sheet small{display:block;margin-top:15px;color:#7790a4;font-size:11px;line-height:1.5}
.v7-install-primary{display:block;width:100%;border:0;background:linear-gradient(115deg,#008fea,#05c5e4);color:white;border-radius:15px;padding:14px;font-weight:850;font-size:15px}
.v7-install-hint{background:#eff8ff;padding:12px;border-radius:14px;text-align:left;font-size:12px!important;color:#255778!important}
.v7-install-close{position:absolute;right:16px;top:15px;border:0;background:#eef6fb;border-radius:12px;width:34px;height:34px;padding:0;font-size:17px}
@media(max-width:720px){
 .topbar{min-height:59px!important;height:59px!important;padding:6px 15px!important}
 .brand .wordmark{font-size:26px!important}.brand small{font-size:8px!important}
 .top-actions{gap:5px}.edition,.top-actions .status,.top-actions #install,.top-actions #betaLogin{display:none!important}
 .v7-install-link{font-size:11px!important;padding:8px 11px!important}
 .experience{height:calc(100dvh - 59px)!important;min-height:490px!important;overflow:hidden}
 .hello{top:22px!important;left:17px!important}.hello .eyebrow{display:none!important}.hello h1{font-size:23px!important}.hello p:not(.eyebrow){display:none!important}
 .companion-meta{top:22px!important;right:13px!important;background:#ffffffe0!important;border:1px solid #e3eff7!important;border-radius:14px;padding:8px!important;flex-wrap:wrap;max-width:44vw}
 .companion-meta strong{font-size:11px!important;max-width:90px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
 .companion-meta .level{padding:3px 6px;font-size:10px}
 .evo-hud{display:none!important}
 .orbit-a{width:300px!important;height:300px!important}.orbit-b{width:425px!important;height:425px!important}
 .orbit{top:42%!important}
 .pet{--pet-scale:1.14!important;top:43%!important;filter:drop-shadow(0px 16px 17px #37a8ee1e)}
 .ground{top:67%!important}
 .bubble{top:18.4%!important;max-width:calc(100vw - 55px)!important;font-size:12px!important;padding:10px 13px!important}
 .quick-health{position:absolute!important;left:12px!important;top:29%!important;display:flex!important;flex-direction:column!important;gap:6px!important;z-index:11}
 .quick-health span{padding:7px 9px!important;border-radius:999px!important;font-size:11px!important;background:#ffffffdb!important}
 .side-tools{display:none!important}
 .want-card{top:auto!important;bottom:166px!important;left:12px!important;right:90px!important;max-width:none!important;min-height:50px!important;padding:8px!important;border-radius:16px!important;z-index:12!important}
 .want-card strong{font-size:11px!important;line-height:1.25}.want-card small{font-size:9px!important}
 .want-card button{font-size:10px!important;padding:7px!important}
 .care-dock{left:13px!important;bottom:101px!important;transform:none!important;max-width:calc(100vw - 100px)!important;gap:4px!important;overflow-x:auto!important;padding:3px 0!important;z-index:12!important}
 .care-dock button{border-radius:14px!important;font-size:19px!important;padding:9px 11px!important;min-width:40px!important;background:#ffffffed!important;box-shadow:0 3px 11px #478bbb21!important}
 .care-dock button span{display:none!important}
 .conversation{display:none!important}
 .v7-chat-launcher{display:flex;flex-direction:column;justify-content:center;align-items:center;position:absolute;right:16px;bottom:94px;z-index:19;width:73px;height:73px;border-radius:50%!important;border:3px solid #fff!important;background:#16a8ed!important;padding:3px!important;box-shadow:0 9px 28px #007ac58a!important;overflow:visible;transition:transform .18s ease}
 .v7-chat-launcher:hover{transform:scale(1.07)}.v7-chat-launcher img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
 .v7-launch-label{position:absolute;bottom:-9px;background:#073d76;color:#fff;border-radius:14px;padding:3px 9px;font-size:9px;font-weight:850;box-shadow:0 3px 9px #00386835}
 .v7-launch-glow{position:absolute;right:2px;top:4px;width:13px;height:13px;border-radius:50%;background:#47ebbe;border:3px solid #fff}
 .v7-chat-launcher.v7-first-run{animation:v7-pulse 2.1s ease-in-out 2}
 @keyframes v7-pulse{50%{box-shadow:0 0 0 9px #33aaff40,0 10px 28px #007ac58a;transform:scale(1.055)}}
 .v7-phone-dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:absolute;left:11px;right:11px;bottom:calc(9px + env(safe-area-inset-bottom));z-index:18;min-height:68px;border:1px solid #cde7f3;background:#ffffffed;border-radius:22px;padding:7px 5px;gap:2px;box-shadow:0 10px 35px #185f912a;backdrop-filter:blur(16px)}
 .v7-phone-dock button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;border:none!important;background:transparent!important;color:#527997!important;border-radius:15px;padding:3px 0!important;box-shadow:none!important;line-height:1.1}
 .v7-phone-dock button span{font-size:22px;font-weight:900}.v7-phone-dock button small{font-size:10px;font-weight:800}
 .v7-phone-dock button.active{background:#e5f7ff!important;color:#046dba!important}
 .v7-more-menu{position:absolute;bottom:calc(90px + env(safe-area-inset-bottom));right:12px;width:min(250px,calc(100vw - 24px));display:grid;grid-template-columns:1fr 1fr;gap:6px;border-radius:19px;background:#fff;padding:10px;z-index:21;box-shadow:0 15px 50px #133e6480;border:1px solid #d4eaf8}
 .v7-more-menu button{font-size:12px;font-weight:700;border-radius:11px;padding:11px 6px;background:#eff8ff}
 .v7-chat-shade{display:block;position:fixed;inset:0;background:#113a5a80;backdrop-filter:blur(4px);z-index:39}
 body.v7-chat-open .conversation{display:flex!important;position:fixed!important;z-index:41!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;transform:none!important;width:100vw!important;max-width:none!important;max-height:min(87dvh,880px)!important;height:min(78dvh,710px)!important;border-radius:26px 26px 0 0!important;background:#fff!important;border:1px solid #d5e8f5!important;padding:20px 16px calc(14px + env(safe-area-inset-bottom))!important;gap:12px!important;box-shadow:0 -18px 55px #1e567c36!important}
 body.v7-chat-open .conversation .messages{flex:1 1 auto!important;min-height:110px!important;height:auto!important;overflow-y:auto!important;padding:6px!important}
 body.v7-chat-open .conversation .chat-heading{flex:none}
 body.v7-chat-open .conversation .shortcuts{flex:none;min-height:37px}
 body.v7-chat-open .conversation .chat-input{flex:none;border:1px solid #d9e9f3;border-radius:17px;background:#f6fbff;padding:4px!important}
 body.v7-chat-open .conversation .disclaimer{flex:none;font-size:10px!important}
 body.v7-chat-open .v7-chat-close{display:block!important;width:30px;height:30px;padding:4px!important;font-size:14px;border-radius:50%;background:#e7f4fc;border:0}
 body.v7-chat-open .conversation.expanded .messages{height:auto!important}
 body.v7-chat-open .v7-chat-launcher,body.v7-chat-open .v7-phone-dock{visibility:hidden}
 .drawer{width:min(430px,100vw)!important}
}
@media(max-width:390px){.pet{--pet-scale:1.02!important}.bubble{top:19%!important}.care-dock button{padding:8px!important}.v7-phone-dock{min-height:62px}.v7-chat-launcher{width:64px;height:64px}.want-card{bottom:155px!important}}
@media(max-height:720px) and (max-width:720px){.pet{--pet-scale:.92!important;top:41%!important}.bubble{top:18%!important}.want-card{bottom:152px!important}.care-dock{bottom:94px!important}.v7-chat-launcher{bottom:88px}.v7-phone-dock{min-height:61px}}
@media(prefers-reduced-motion:reduce){.v7-chat-launcher{animation:none!important;transition:none!important}}
