/* Home V3 — illustrated controls, warm clear palette; 402 × 874 pt. */
.page-home{--ink:#714b41;--rose:#be6b70;--gold:#cfaa68;--cream:#fff8e9;color:var(--ink);font-family:'PingFang SC','Hiragino Sans',sans-serif}
.page-home .home-scene{background-image:url('https://tinymigo.com/japanese/assets/home-garden-approved.png')!important;background-size:cover;background-position:center}
.page-home .home-scene:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#fff7dd35,transparent 23%,transparent 78%,#ead6af20);pointer-events:none}
.page-home .header{height:109px;padding:47px 23px 12px;justify-content:space-between;align-items:center}
.page-home .brand{font:italic 700 29px/1 Georgia,serif;letter-spacing:-1.2px;color:#7f554c;text-shadow:0 1px 4px #fff5dc;flex:0}
.page-home .brand>span{display:block;font:500 9px/1.6 'PingFang SC',sans-serif;letter-spacing:2px;margin-top:7px;color:#8b6049}
.page-home .balance{gap:4px;padding:6px 12px 6px 8px;background:#fff7e9f0;border:1px solid #dbc092;border-radius:24px;box-shadow:0 3px 12px #8c60221a,inset 0 1px #fffc;min-height:44px}
.page-home .balance>.icon{width:26px;height:26px}
.page-home .balance>span{display:flex;align-items:center;gap:5px;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.page-home .balance small{font-size:10px;font-weight:400;color:#89684e}
.home-icon{width:15px;height:15px;display:block;flex-shrink:0}
.page-home .home-greeting{top:129px;left:23px;padding:13px 18px 14px;background:linear-gradient(120deg,#fff9eef5,#fff3e3eb);border:1px solid #e1c399;border-radius:20px 20px 20px 5px;box-shadow:0 5px 18px #92642314}
.page-home .home-greeting .eyebrow{font-size:10px;font-weight:500;letter-spacing:1px;color:#a08053}
.page-home .home-greeting p{font-size:19px;line-height:1.5;font-weight:600;margin:5px 0;color:#78504a}
.page-home .home-greeting small{font-size:10px;letter-spacing:.1px;color:#9a7561}
.page-home .home-actions{right:19px;top:280px;gap:12px;z-index:4}
.page-home .home-action{width:65px;min-height:77px;gap:3px;padding:0;transition:transform .16s}
.page-home .home-action>span{width:53px;height:53px;border-radius:18px;background:linear-gradient(150deg,#fffced,#ffedcc);border:1px solid #d7b981;display:grid;place-items:center;overflow:hidden;box-shadow:inset 0 1px #fff,0 3px 0 #ba96624d,0 5px 12px #7050271c}
.page-home .home-action .icon{width:49px;height:49px;mix-blend-mode:multiply;object-fit:contain}
.page-home .home-action small{font-size:10px;line-height:1.45;font-weight:500;color:#795742;background:#fff6e3f2;padding:2px 8px;border:1px solid #e6cfaa;border-radius:9px}
.page-home .home-pet{left:18%;width:58%;top:43.5%!important;height:23.5%!important;z-index:2}
.page-home .home-pet:after{content:'';position:absolute;left:20%;right:20%;height:10px;bottom:4px;border-radius:50%;background:#ae785231;filter:blur(4px);z-index:-1}
.page-home .home-pet>.pet{filter:none}
.page-home .home-bottom{left:18px;right:18px;bottom:103px;z-index:5;display:grid;gap:9px}
.page-home .home-note{display:block;padding:11px 12px;background:#fff8eaf5;border:1px solid #e0c497;border-radius:21px;box-shadow:0 4px 16px #8d633219,inset 0 1px #fff}
.companion-heading{display:flex;align-items:center;gap:8px}
.companion-mark{width:30px;flex-shrink:0;display:grid;place-items:center}
.companion-mark .icon{width:30px;height:30px}
.companion-heading>div{flex:1;min-width:0}
.page-home .home-note strong{font-size:12px;font-weight:600;white-space:nowrap}
.page-home .home-note small{display:block;font-size:10px;color:#997d61;margin-top:4px;line-height:1.5}
.page-home .home-note .text-button{min-height:44px;display:flex;align-items:center;gap:3px;padding:0 10px;background:linear-gradient(#f7d6c7,#edbbad);border:1px solid #e2aa98;border-radius:13px;font-size:11px;font-weight:600;color:#9d5552;white-space:nowrap;box-shadow:inset 0 1px #fff7}
.page-home .home-note .text-button .home-icon{width:12px;height:12px}
.page-home .daily-entry{margin:0;min-height:72px;padding:11px 15px;gap:12px;text-align:left;background:linear-gradient(110deg,#ffeacb,#f9d4bb 65%,#f2c4b7);border:1px solid #d9ad7f;border-radius:21px;color:#84534a;box-shadow:0 5px 15px #8b5d3020,inset 0 1px #fff9}
.daily-symbol{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0}
.daily-symbol .icon{width:44px;height:44px;mix-blend-mode:multiply}
.daily-copy{flex:1;display:grid;gap:4px}
.daily-copy strong{font-size:16px;font-weight:600;letter-spacing:.4px}
.page-home .daily-copy small{color:#9b6e55;font-size:11px;line-height:1.5}
.daily-arrow{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1px solid #d8a98c;background:#fff4da80;color:#a16e52}
#phone:has(.page-home) #nav{height:88px;padding:7px 17px 19px;background:#fff8eaf5;border-top:1px solid #dfcba7;box-shadow:0 -4px 18px #9b734b0e;backdrop-filter:blur(8px);font-family:'PingFang SC',sans-serif}
#phone:has(.page-home) #nav button{gap:2px;padding:4px 0 5px;color:#9b7a60;font-size:10px;min-height:55px;border-radius:17px}
#phone:has(.page-home) #nav button.active{background:linear-gradient(#ffeacd,#ffe4c345);color:#ac6550;font-weight:600}
#phone:has(.page-home) #nav button .icon{width:31px;height:31px;mix-blend-mode:multiply}
#phone:has(.page-home) #nav:after{background:#856448;width:112px;left:calc(50% - 56px);bottom:8px;height:4px}
.page-home button:focus-visible{outline:3px solid #a86b48;outline-offset:3px}
.home-pet .base-pet.edge-clean-ready{opacity:0}
.home-pet .base-edge-canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
@media(hover:hover){.page-home .home-action:hover{transform:translateY(-2px)}.page-home .daily-entry:hover{filter:brightness(1.03)}}
@container phone (max-height:780px){.page-home .header{padding-top:24px;height:81px}.page-home .home-greeting{top:100px;padding:10px 15px}.page-home .home-greeting p{font-size:18px}.page-home .home-actions{top:233px;gap:7px}.page-home .home-action{min-height:67px}.page-home .home-action>span{width:46px;height:46px}.page-home .home-action .icon{width:43px;height:43px}.page-home .home-pet{top:43%!important;height:22%!important}.page-home .home-bottom{bottom:99px;gap:8px}.page-home .home-note{padding:8px 11px}.page-home .daily-entry{min-height:65px;padding:9px 14px}}
/* Launch cover uses the separately confirmed garden; all cover copy stays native. */
#intro .cover-illustration{object-position:center}
#intro .cover-shade{background:linear-gradient(#fff7e21c,transparent 55%,#fff2d955 80%,#ffeccdad)}
#intro .cover-brand{top:13%;filter:none;text-shadow:0 2px 8px #fff4d8}
#intro .cover-brand h1{color:#8d5754;font-size:51px;letter-spacing:-2px}
#intro .cover-brand h2{color:#97664e;font-size:17px;letter-spacing:7px;font-weight:600}
#intro .cover-brand p{color:#94745d;font-size:11px}
#intro .cover-enter{background:linear-gradient(105deg,#f1b48e,#de8f82);border:1px solid #cd9070;color:#fffbed;box-shadow:inset 0 1px #fff8,0 7px 18px #9b613f30;text-shadow:0 1px #a96d59;font-size:16px;letter-spacing:3px}
#intro .cover-caption{color:#8d694f;text-shadow:0 1px #fff8}
#intro .cover-brand p{display:inline-block;padding:7px 13px;background:#fff8e8eb;border:1px solid #ead1af;border-radius:13px;color:#8b6651;text-shadow:none;line-height:1.8}
#intro .cover-brand h2{text-shadow:0 1px 3px #fff8e9,0 0 9px #fff5df}

/* Fresh warm-white home palette; retain the garden layout and soft daylight. */
.page-home{--ink:#65505f;--cream:#fffafc}
.page-home .home-scene{background-image:url('https://tinymigo.com/japanese/assets/home-garden-pond-v6.png')!important}
.page-home .home-scene:after{background:linear-gradient(180deg,#ffffff18,transparent 23%,transparent 78%,#f7effb18)}
.page-home .brand{color:#75566d;text-shadow:0 1px 4px #fff}
.page-home .brand>span,.page-home .balance small{color:#8a7185}
.page-home .balance{background:#fffdfbf2;border-color:#eadde5;box-shadow:0 3px 12px #826b8214,inset 0 1px #fff}
.page-home .home-greeting{background:linear-gradient(120deg,#fffffff5,#fff5f9ee);border-color:#eadde5;box-shadow:0 5px 18px #826b8212}
.page-home .home-greeting .eyebrow{color:#987b93}.page-home .home-greeting p{color:#705365}.page-home .home-greeting small{color:#927a8a}
.page-home .home-action>span{background:linear-gradient(150deg,#fff,#fff0f6);border-color:#e9dce5;box-shadow:inset 0 1px #fff,0 3px 0 #c8b4c530,0 5px 12px #705a7017}
.page-home .home-action small{color:#765d70;background:#fffafcf5;border-color:#eadde5}
.page-home .home-note{background:#fffdfdf5;border-color:#eadde5;box-shadow:0 4px 16px #826b8214,inset 0 1px #fff}
.page-home .home-note small{color:#927b8a}.page-home .home-note .text-button{background:linear-gradient(#fbe6ef,#f4d6e5);border-color:#eac9dc;color:#a36589}
.page-home .daily-entry{background:linear-gradient(110deg,#fff4f8,#f8e5ef 65%,#f1e4f5);border-color:#e7cfdf;color:#815e77;box-shadow:0 5px 15px #826b8214,inset 0 1px #fff}
.page-home .daily-copy small{color:#96798c}.page-home .daily-arrow{border-color:#dfc6d8;background:#fff9fcbb;color:#a17494}
#phone:has(.page-home) #nav{background:#fffdfef5;border-top-color:#eadfe9;box-shadow:0 -4px 18px #826b820b}
#phone:has(.page-home) #nav button{color:#958193}#phone:has(.page-home) #nav button.active{background:linear-gradient(#fce8f2,#f9edf645);color:#ad7094}
#phone:has(.page-home) #nav:after{background:#856c80}
.page-home button:focus-visible{outline-color:#ac7e9e}

/* Companion-first home: clear scene, direct voice, two secondary destinations. */
.page-home .header{padding-top:35px;height:106px;align-items:flex-start}
.page-home .brand{display:block;padding:11px 15px 12px;background:#fffffff0;border:1px solid #fff;border-radius:19px;box-shadow:0 5px 18px #795b7714;color:#6e4c69;text-shadow:none;font-size:27px;backdrop-filter:blur(12px)}
.page-home .brand>span{font-size:8px;letter-spacing:1.6px;margin-top:6px;color:#92758a}
.page-home .balance{margin-top:7px}
.page-home .home-actions{top:294px;gap:16px}
.page-home .home-conversation{position:absolute;bottom:108px;left:24px;right:24px;z-index:5;text-align:center}
.home-voice-status{display:inline-block;max-width:100%;font-size:11px;line-height:1.6;color:#755d71;background:#ffffffe8;padding:6px 13px;border-radius:20px;margin-bottom:12px;box-shadow:0 2px 10px #72566810}
.home-voice-controls{display:flex;align-items:center;gap:10px;padding:8px;background:#ffffffed;border:1px solid #fff;border-radius:28px;box-shadow:0 8px 28px #70526d20;backdrop-filter:blur(14px)}
.home-mic{flex:1;display:flex;align-items:center;justify-content:center;gap:11px;min-height:64px;border-radius:22px;background:linear-gradient(125deg,#f8dce9,#eadcf4);color:#825674;font-size:14px;font-weight:600;touch-action:none;user-select:none;-webkit-user-select:none;box-shadow:inset 0 1px #fff9}
.home-mic svg{width:26px;height:30px;flex-shrink:0}.home-mic.recording{background:linear-gradient(125deg,#cd92b7,#b49ace);color:#fff;box-shadow:0 0 0 5px #dbbbd34d}.home-mic.canceling{background:#a18494;color:#fff}
.home-chat-history{width:75px;padding:8px 4px;min-height:52px;font-size:11px;color:#89718a;border-left:1px solid #ece2ed}
.home-conversation>small{display:inline-block;margin-top:8px;font-size:9px;color:#7e697b;background:#ffffffc9;padding:3px 10px;border-radius:12px}
.home-reply{position:absolute;left:24px;right:90px;top:132px;max-height:174px;overflow:auto;padding:11px 16px 16px;border-radius:22px 22px 22px 6px;background:#fffdfef2;border:1px solid #fff;box-shadow:0 8px 26px #71526e18;z-index:4;backdrop-filter:blur(12px)}
.home-reply>div{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#997d93}.home-reply-close{min-height:36px;min-width:36px;font-size:23px;padding:0}.home-reply p{font-size:14px;line-height:1.75;color:#684e65}.home-reply small{display:block;font-size:11px;color:#988191;margin-top:6px}
/* Group home controls into one quiet companion panel. */
.page-home .home-conversation{left:22px;right:22px;bottom:104px;background:#fffdfcf0;border:1px solid #fff;border-radius:26px;padding:10px 14px 12px;box-shadow:0 8px 28px #70526d18;backdrop-filter:blur(12px)}
.page-home .home-actions{position:static;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:18px;margin-bottom:3px}
.page-home .home-action{width:auto;min-height:38px;display:flex;flex-direction:row;gap:5px;padding:0}
.page-home .home-action>span{height:26px;width:26px;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.page-home .home-action .icon{height:26px;width:26px}.page-home .home-action small{background:transparent;border:0;padding:0;font-size:10px;color:#80677a}
.home-voice-status{display:block;background:transparent;box-shadow:none;border-radius:0;padding:0;margin:0 0 8px;font-size:10px;color:#977b8b}
.home-voice-controls{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}
.home-mic{min-height:54px;border-radius:18px;background:linear-gradient(120deg,#f4d4df,#e8dcef)}
.home-conversation>small{display:none}
.page-home .brand{background:#fffc;border:0;box-shadow:none;border-radius:15px;padding:10px 13px}
.page-home .brand>span{display:none}
/* Three right-side destinations; keep the pond fully visible. */
.page-home .home-side-actions{position:absolute;top:240px;right:16px;bottom:auto;left:auto;display:flex;flex-direction:column;gap:16px;align-items:center;width:72px;z-index:5;margin:0}
.page-home .home-side-actions .home-action{display:flex;flex-direction:column;width:68px;min-height:70px;gap:3px}
.page-home .home-side-actions .home-action>span{width:48px;height:48px;border-radius:17px;background:#ffffffe8;border:1px solid #fff;box-shadow:0 4px 14px #84617a19;display:grid;place-items:center}
.page-home .home-side-actions .home-action .icon{width:42px;height:42px}.page-home .home-side-actions .home-action small{font-size:10px;background:#ffffffdc;border-radius:9px;padding:2px 7px}
.home-chat-action{display:flex;flex-direction:column;align-items:center;position:relative;width:72px}
.home-chat-action .home-mic{width:65px;height:65px;min-height:65px;flex:none;border-radius:24px;background:linear-gradient(140deg,#fff6fb,#efbcd3);border:2px solid #fff;color:#a05e85;box-shadow:0 5px 20px #a56f9230,inset 0 1px #fff}
.home-chat-action .home-mic svg{width:31px;height:34px}.home-chat-action .home-mic.recording{background:#c27caa;color:#fff;box-shadow:0 0 0 6px #fff8}.home-chat-action .home-mic.canceling{background:#967785;color:#fff}
.home-chat-label{font-size:12px;font-weight:600;color:#865475;min-height:32px;padding:4px 12px;background:#fffafee8;border-radius:12px;margin-top:4px}
.home-hold-hint{font-size:8px;color:#856c7f;text-shadow:0 1px 3px #fff;margin-top:2px}
.home-floating-status{position:absolute;top:115px;left:24px;max-width:270px;padding:8px 13px;border-radius:16px;background:#ffffffe8;font-size:11px;color:#8c6d83;z-index:5}.home-floating-status:empty{display:none}


/* Independent transparent fish sprites, above the pond artwork. */
.home-pond-fish{position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden}
.pond-fish{position:absolute;width:56px;opacity:.78;animation:pondSwim 12s ease-in-out infinite alternate}
.pond-fish img{width:100%;display:block}
.fish-one{left:17%;top:81%;transform:rotate(18deg)}
.fish-two{left:43%;top:85%;width:44px;animation-delay:-5s;animation-duration:15s}
.fish-two img{transform:rotate(185deg)}
@keyframes pondSwim{from{translate:-12px 0;rotate:-8deg}to{translate:14px 8px;rotate:8deg}}
@media(prefers-reduced-motion:reduce){.pond-fish{animation:none}}


/* Pearl medallions: equal outer dimensions, optically fitted artwork. */
.page-home .companion-rail{position:absolute;right:17px;top:240px;width:68px;display:flex;flex-direction:column;align-items:center;gap:13px;z-index:5}
.companion-rail .companion-entry{position:relative;display:grid;place-items:center;width:68px;height:68px;min-height:68px;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;overflow:visible;line-height:1;touch-action:manipulation;isolation:isolate}
.companion-rail .companion-entry:before{content:'';position:absolute;inset:3px;border-radius:50%;background:radial-gradient(ellipse,#fffdfcf0 0%,#fff8fbd4 35%,#fff8fb70 61%,#fff8fb00 74%);filter:blur(2px);z-index:-1;pointer-events:none}
.companion-rail .companion-entry:after{content:'';position:absolute;inset:12px;border-radius:50%;backdrop-filter:blur(5px);mask-image:radial-gradient(ellipse,#000 25%,transparent 72%);z-index:-2;pointer-events:none}
.companion-rail .rail-art{display:block;width:63px;height:63px;max-width:none;object-fit:contain;mask-image:var(--icon-mask);mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-image:var(--icon-mask);-webkit-mask-size:100% 100%;-webkit-mask-repeat:no-repeat;filter:none;pointer-events:none}
.companion-rail .companion-chat{touch-action:none;user-select:none;-webkit-user-select:none}
.companion-rail .companion-chat .rail-art{width:64px;height:64px}
.companion-rail .rail-art-games{width:60px;height:60px}
.companion-rail .rail-art-space{width:62px;height:62px}
.companion-rail .companion-entry:focus-visible{outline:2px solid #a96793;outline-offset:3px}
.companion-rail .recording:before{filter:drop-shadow(0 0 5px #c980ab)}
.companion-rail .recording .rail-art{filter:brightness(1.08)}
.companion-rail .canceling .rail-art{opacity:.65}
/* Portrait jewel and growth information form a single small header ornament. */
.page-home .home-growth-entry{position:relative;display:flex;align-items:center;gap:6px;padding:0 12px 0 0;min-height:64px;border:0;border-radius:0;background:none;box-shadow:none;text-align:left;isolation:isolate}
.page-home .home-growth-entry:before{content:'';position:absolute;left:27px;right:0;top:11px;bottom:9px;border:1px solid #e4cad4;border-radius:0 19px 19px 0;background:linear-gradient(120deg,#fffdf4e6,#fff7fbed);box-shadow:inset 0 1px #fff,0 2px 8px #79576b10;z-index:-1}
.home-avatar{position:relative;display:block;width:60px;height:64px;flex:none;isolation:isolate}
.home-avatar:before{content:'';position:absolute;inset:10px 8px 8px;border-radius:50%;background:radial-gradient(circle at 40% 30%,#fff,#edcede);z-index:-1}
.home-avatar:after{content:'';position:absolute;inset:0;background:url('https://tinymigo.com/japanese/assets/icons/pet-portrait-frame.svg') center/contain no-repeat;pointer-events:none;filter:drop-shadow(0 2px 2px #83627822)}
.home-avatar img{position:absolute;width:64px;max-width:none;height:76px;object-fit:contain;left:-2px;top:-4px;clip-path:circle(21.5px at 32px 37px)}
.home-growth-copy{width:80px;display:flex;flex-direction:column;gap:4px;padding-top:2px}
.home-growth-copy>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:6px}.home-growth-copy strong{font-size:12px;letter-spacing:.4px;color:#76516d}.home-growth-copy small{font-size:8px;line-height:1.2;color:#987489}
.home-growth-track{display:block;height:5px;width:100%;border-radius:5px;background:#e9dce6;border:1px solid #dfc6d6;overflow:hidden;box-shadow:0 1px #fff}.home-growth-track i{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#d58eb3,#b8a2d9)}

/* Moonstone portrait: enamel, fine metal edging and faceted jewels. */
.page-home .home-growth-entry{gap:3px;min-height:76px;padding-right:13px}
.page-home .home-growth-entry:before{left:37px;top:17px;bottom:13px;border-color:#d5bda3;background:linear-gradient(120deg,#fffaf0f2,#f7eaf5ed);box-shadow:inset 0 1px #fff8e9,inset 0 -1px #d8bdca80,0 3px 9px #67496916;border-radius:0 14px 14px 0}
.home-avatar{width:72px;height:77px}
.home-avatar:before{inset:15px 12px 13px;background:radial-gradient(circle at 38% 30%,#f8e3ef,#d1b0d3 70%,#9d78a1);box-shadow:inset 0 0 7px #86658555}
.home-avatar:after{background-image:url('https://tinymigo.com/japanese/assets/icons/pet-portrait-frame-luxe.svg');filter:drop-shadow(0 2px 2px #6d486b30)}
.home-avatar img{width:70px;height:82px;left:1px;top:-1px;clip-path:circle(24px at 35px 40px)}
.home-growth-copy{width:76px;gap:5px;padding-top:4px}.home-growth-copy strong{color:#64445f;font-size:12px;letter-spacing:.8px}
.home-growth-copy>span:first-child small{color:#927250;font-size:9px;font-weight:600}.home-growth-copy>small{color:#92738a}
.home-growth-track{height:5px;border-color:#c9aaa7;background:#dccbdd;box-shadow:0 1px #fff4df}
.home-growth-track i{background:linear-gradient(90deg,#ae77a0,#d5aed7 70%,#eed5e8)}

/* Shared header alignment and a portrait that sits in front of its setting. */
.page-home .header{height:112px;padding:28px 20px 8px;align-items:center}
.page-home .header .balance{margin-top:0;min-height:40px;padding:5px 11px 5px 7px;border:1px solid #d9c1b0;background:linear-gradient(145deg,#fffdf5f5,#f7eaf2ed);box-shadow:inset 0 1px #fff,inset 0 -1px #d9c4d077,0 2px 8px #67496913}
.page-home .home-growth-entry{height:76px;min-height:76px}
.page-home .home-growth-entry:before{top:15px;bottom:15px;border-radius:0 17px 17px 0;border-color:#d0b397;background:linear-gradient(160deg,#fffdf4f5 0%,#f6e9f2f2 62%,#e7d4e4eb 100%);box-shadow:inset 0 1px #fff9e7,inset 0 -2px #d4b5c333,0 2px 8px #67496918}
.page-home .home-growth-entry:after{content:'';position:absolute;left:73px;right:11px;top:18px;height:1px;background:linear-gradient(90deg,transparent,#fff,transparent);pointer-events:none}
.home-growth-copy{padding-top:0;gap:4px}.home-growth-copy>span:first-child small{padding:1px 4px;border-radius:5px;border:1px solid #d9bdab;background:#fff5e899;font-size:8px}
.home-avatar:after{z-index:0}.home-avatar img{z-index:1}
.home-avatar.fox img{width:70px;height:70px;left:4px;top:4px;clip-path:inset(0 0 18px 0);object-fit:contain}
/* Destinations live in the header; conversation stays beside the pet. */
.home-action-icon{display:block;width:36px;height:36px;object-fit:contain;mix-blend-mode:multiply;pointer-events:none;mask-image:radial-gradient(ellipse,#000 57%,#000b 68%,transparent 77%)}
.page-home .header{gap:8px;justify-content:space-between}
.page-home .home-growth-entry{flex-shrink:0}
.home-top-actions{display:flex;align-items:center;gap:2px;padding:3px 6px;border:1px solid #dec9acb3;border-radius:26px;background:linear-gradient(135deg,#fffdf5eb,#f8edf3db);box-shadow:inset 0 1px #fff,0 2px 9px #6d536718;backdrop-filter:blur(10px)}
.home-top-entry{display:flex;flex-direction:column;align-items:center;justify-content:center;width:52px;height:54px;padding:0;border:0;border-radius:21px;background:none;box-shadow:none;gap:0}
.home-top-entry .home-action-icon{width:34px;height:34px}
.home-top-actions .approved-rail-label,.companion-rail .approved-rail-label{position:static;display:block;height:auto;border:0;border-radius:0;background:none;box-shadow:none;font:500 10px/1.5 'PingFang SC',sans-serif;letter-spacing:.2px;color:#80665f;text-shadow:0 1px #fff;white-space:nowrap;pointer-events:none}
.page-home .companion-rail{width:60px;height:66px;box-sizing:border-box;padding:0;gap:0;justify-content:center;right:20px;top:calc(50% - 34px);border:1px solid #d8c2a9cf;border-radius:28px;background:linear-gradient(135deg,#fffdf6f0,#f8eef2e8);box-shadow:inset 0 1px 2px #fff,0 4px 12px #765b5524;backdrop-filter:blur(12px)}
.page-home .companion-rail:before{content:none}
.companion-rail .companion-entry{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:0;width:58px;height:64px;min-height:64px;flex:0 0 64px;padding:3px 4px;border:0!important;border-radius:27px!important;background:transparent;box-shadow:none;overflow:visible;isolation:auto}
.companion-rail .companion-entry:before,.companion-rail .companion-entry:after{content:none}
.home-top-entry:active,.companion-rail .companion-entry:active{background:#e8ced333;transform:scale(.96)}
.home-top-entry:focus-visible,.companion-rail .companion-entry:focus-visible{outline:2px solid #a8799b;outline-offset:3px}

/* Home hierarchy: quiet utility header, companion dialogue, open scenery. */
.page-home .home-top-actions{padding:2px 5px;border-color:#dbc6ae99;background:linear-gradient(140deg,#fffdf6e3,#f8edf2d9);box-shadow:inset 0 1px #fff9,0 2px 6px #6d536712}
.page-home .home-top-entry{height:52px}
.page-home .home-top-entry+.home-top-entry{position:relative}
.page-home .home-top-entry+.home-top-entry:before{content:'';position:absolute;left:-1px;top:15px;bottom:15px;width:1px;background:#d8c3b45c}
.page-home .companion-rail{right:22px;top:46%;width:58px;height:64px;border-radius:25px 25px 25px 10px;background:linear-gradient(135deg,#fffdf6f5,#f8eef2ef)}
.page-home .companion-rail .companion-entry{width:56px;height:62px;min-height:62px;flex-basis:62px}
.page-home .companion-chat.has-review{filter:none}
.page-home .home-reply{left:50%;right:auto;top:auto;bottom:59%;transform:translateX(-50%);width:264px;max-width:calc(100% - 64px);box-sizing:border-box;max-height:164px;border:1px solid #e7d8c9;border-radius:22px 22px 22px 8px;padding:12px 16px;background:linear-gradient(145deg,#fffef9f5,#fff6faf0);box-shadow:inset 0 1px #fff,0 4px 14px #71526e12}
.page-home .pet-invitation{overflow:visible;padding:13px 16px 8px}
.page-home .pet-invitation:after{content:'';position:absolute;left:47%;bottom:-6px;width:10px;height:10px;transform:rotate(45deg);background:#fff7faf5;border-right:1px solid #e7d8c9;border-bottom:1px solid #e7d8c9}
.page-home .pet-invitation p{margin:0;font-size:13px;line-height:1.6;text-align:center;color:#735c69}
.page-home .pet-invitation .pet-invitation-actions{display:flex;justify-content:center;gap:10px;margin-top:5px}
.page-home .pet-invitation .primary,.page-home .pet-invitation .text-button{min-width:76px;min-height:44px;padding:5px 12px;font-size:12px;border-radius:16px}
.page-home .pet-invitation .primary{background:transparent;color:#946181;border:0;box-shadow:none;font-weight:600}
.page-home .pet-invitation .text-button{color:#9c8a90}
.page-home .pet-invitation button:active{background:#e8ced340}

/* A quiet animated invitation directly above the companion. */
.page-home .companion-rail{left:47%;right:auto;top:calc(43.5% - 66px);width:64px;height:48px;transform:translateX(-50%);border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;animation:pet-chat-float 3.2s ease-in-out infinite}
.page-home .companion-rail .companion-chat{position:relative;width:64px;height:48px;min-height:48px;flex-basis:48px;border:1px solid #d9c2b4!important;border-radius:23px!important;background:linear-gradient(145deg,#fffef7,#f3e7ec);box-shadow:inset 0 1px 2px #fff,0 3px 9px #725b6924;touch-action:manipulation}
.page-home .companion-rail .companion-chat:after{content:none}
.pet-chat-dots{display:flex;gap:5px;align-items:center;justify-content:center;pointer-events:none}
.pet-chat-dots i{display:block;width:6px;height:6px;border-radius:50%;background:#ad8e9e;box-shadow:0 1px #fff9}
.pet-chat-dots i:nth-child(2){animation:pet-chat-dot-two 1.8s steps(1,end) infinite}
.pet-chat-dots i:nth-child(3){animation:pet-chat-dot-three 1.8s steps(1,end) infinite}
.page-home .home-reply{bottom:66%}
@keyframes pet-chat-dot-two{0%{opacity:0}33.333%{opacity:1}100%{opacity:0}}
@keyframes pet-chat-dot-three{0%{opacity:0}66.667%{opacity:1}100%{opacity:0}}
@keyframes pet-chat-float{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,-4px)}}
@media(prefers-reduced-motion:reduce){.page-home .companion-rail,.pet-chat-dots i{animation:none!important}}

/* One continuous silhouette avoids overlapping tail decorations. */
.page-home .companion-rail{top:calc(43.5% - 57px);width:60px;height:50px}
.page-home .companion-rail .companion-chat{width:60px;height:50px;min-height:50px;flex-basis:50px;padding:0 0 10px;border:0!important;background:none;box-shadow:none}
.pet-chat-shell{position:absolute;inset:0;width:60px;height:50px;overflow:visible;pointer-events:none;filter:drop-shadow(0 2px 3px #705e6b20)}

.pet-chat-dots{position:relative;z-index:1;gap:5px}
.pet-chat-dots i{width:5px;height:5px;background:#b59aa9;box-shadow:none}

/* Balance both header clusters around the same optical center. */
.page-home .header{align-items:center}
.page-home .home-top-actions{transform:translateY(1px);height:46px;padding:0 4px;border-color:#dfd0c366;background:linear-gradient(140deg,#fffdf5bd,#f9eef4b0);box-shadow:inset 0 1px #ffffff88,0 1px 4px #6d536708}
.page-home .home-top-entry{width:48px;height:46px;gap:0}
.page-home .home-top-entry .home-action-icon{width:29px;height:29px;filter:saturate(.86)}
.page-home .home-top-entry .approved-rail-label{font-size:9px;color:#957f78;line-height:1.3}
.page-home .home-top-entry+.home-top-entry:before{opacity:.45}
/* Blush highlights and a restrained playful tilt. */

.page-home .companion-rail{animation:pet-chat-playful 5s ease-in-out infinite}
@keyframes pet-chat-playful{0%,70%,100%{transform:translate(-50%,0) rotate(-3deg)}35%{transform:translate(-50%,-3px) rotate(3deg)}79%{transform:translate(-50%,-2px) rotate(5deg)}87%{transform:translate(-50%,0) rotate(-4deg)}}

/* Cat-ear pearl charm: fine gold edging and a single flowering sprig. */
.page-home .companion-rail{width:72px;height:58px;top:calc(43.5% - 64px)}
.page-home .companion-rail .companion-chat{width:72px;height:58px;min-height:58px;flex-basis:58px;padding:4px 0 0}
.pet-chat-shell{width:72px;height:58px}

.pet-chat-shell .chat-outline{fill:url(#chat-pearl);stroke:url(#chat-gold);stroke-width:1.1}
.pet-chat-dots{gap:5px}
.pet-chat-dots i{background:#b49a83;width:5px;height:5px}
/* Make the companion invitation readable at phone size. */
.page-home .companion-rail{width:88px;height:70px;top:calc(43.5% - 67px)}
.page-home .companion-rail .companion-chat{width:88px;height:70px;min-height:70px;flex-basis:70px;padding:6px 0 0}
.pet-chat-shell{width:88px;height:70px;filter:drop-shadow(0 3px 5px #73566c38)}
.pet-chat-shell .chat-outline{stroke:#b99458;stroke-width:1.35}
.pet-chat-dots{gap:6px}
.pet-chat-dots i{width:6px;height:6px;background:#96704f}

/* Explicit slots keep the utility icons aligned on narrow mobile browsers. */
.page-home .header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding-left:16px;padding-right:16px}
.page-home .home-growth-entry{justify-self:start;min-width:0;max-width:100%}
.page-home .home-top-actions{flex-shrink:0;white-space:nowrap}
.page-home .home-top-entry{flex:0 0 48px;min-width:48px}
.page-home .home-top-entry .home-action-icon{flex:none}
.page-home .companion-rail{overflow:visible}
.page-home .companion-rail .companion-chat{display:block;flex:none;overflow:visible}
.pet-chat-shell{display:block;max-width:none}
.page-home .pet-chat-dots{position:absolute;left:0;right:0;top:36px;margin:0}
