@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{--paper:#f8f7f1;--ink:#273d34;--muted:#7c847a;--green:#315c47;--lime:#e4edc9;--orange:#e7955f;--line:#e9e9df}*{box-sizing:border-box}body{margin:0;background:#e9ece2;color:var(--ink);font:14px 'Noto Sans SC',sans-serif}button,input,a{-webkit-tap-highlight-color:transparent}button,a{cursor:pointer}button,input{font:inherit}button{color:inherit;border:0;background:none}a{text-decoration:none;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #e7955f;outline-offset:3px}body{display:flex;justify-content:center;gap:110px;padding:40px 24px}.desktop-note{width:370px;position:sticky;top:70px;height:630px;padding-top:35px}.brand{font-family:Georgia,serif;font-size:34px;font-weight:bold;letter-spacing:-1.8px}.brand span{font-size:29px;color:#da8655;margin-left:3px}.edition{font-size:10px;letter-spacing:2px;margin-top:70px}.desktop-note h1{font-size:34px;line-height:1.65;letter-spacing:1px;font-weight:600;margin-top:20px}.desktop-note p{color:#7c8879;line-height:2.1}.note-line{width:35px;height:2px;background:#9eac90;margin:40px 0 20px}.desktop-note small{font-size:10px;line-height:2;letter-spacing:1.8px}.demo-label{font-size:10px;color:#8b9286;margin-top:50px}.phone{width:430px;min-height:860px;background:var(--paper);position:relative;border-radius:36px;box-shadow:0 25px 90px #30453117;overflow:clip;padding-bottom:84px}.phone header{height:83px;padding:22px 25px 12px;display:flex;align-items:center;justify-content:space-between}.profile{background:#eeefe5;padding:8px 11px;border-radius:24px;font-size:12px;display:flex;align-items:center;gap:7px}.profile>span:last-child{margin-left:4px;color:#7f897a}main{padding:12px 24px 15px}.eyebrow{font-size:10px;letter-spacing:2px;color:#919781;margin-bottom:8px}.greeting{display:flex;align-items:flex-start;justify-content:space-between;margin:3px 0 20px}h2{font-size:25px;margin:0 0 6px;font-weight:700;letter-spacing:-.5px}p{margin:0;color:var(--muted);line-height:1.8;font-size:12px}.weather{font-size:12px;background:#eeeddd;padding:9px;border-radius:14px}.scene{height:286px;position:relative;border-radius:23px;overflow:hidden;background:#eae5cf;border:1px solid #e5e1cc}.scene svg{width:100%;height:100%;display:block}.scene-tag{position:absolute;top:13px;left:14px;background:#fff9;padding:6px 10px;border-radius:20px;font-size:10px;backdrop-filter:blur(10px)}.scene-tag i,.online i{display:inline-block;width:5px;height:5px;background:#70945c;border-radius:50%;margin-right:4px}.room-caption{position:absolute;bottom:13px;right:14px;background:#fff9;font-size:10px;border-radius:15px;padding:6px 10px}.character-hit{position:absolute;border-radius:50%;width:65px;height:110px;bottom:45px}.character-hit:hover{background:#ffffff20}.character-hit.host{left:42%}.character-hit.dog{left:20%;height:65px;bottom:30px}.character-hit.cat{right:8%;height:65px;bottom:48px}.speech{position:absolute;top:60px;left:85px;background:#fffef5;padding:10px 14px;border-radius:14px 14px 14px 2px;font-size:11px;box-shadow:0 3px 7px #3045310c}.section-head{display:flex;align-items:center;justify-content:space-between;margin:22px 0 12px}.section-head h3{font-size:15px;margin:0}.subtle{font-size:11px;color:#7b8a75}.residents{display:flex;gap:12px}.resident{flex:1;padding:12px 2px;background:#f0f0e7;border:1px solid transparent;border-radius:18px;text-align:center}.resident.active{background:#e8edda;border-color:#d7dfc3}.avatar{display:flex;align-items:center;justify-content:center;font-size:27px;height:45px;width:45px;background:#e9ddc4;border-radius:50%;margin:auto auto 7px}.resident strong{display:block;font-size:12px}.resident small{font-size:9px;color:#859178}.host-avatar{background:#d8e2bd}.chat-card{background:#fffdf8;border:1px solid var(--line);border-radius:19px;padding:15px;margin-top:18px}.chat-top{display:flex;align-items:center;gap:9px;font-size:12px}.mini-avatar{font-size:20px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--lime);flex-shrink:0}.online{margin-left:auto;color:#879375;font-size:10px}.chat-card p{color:#536250;margin:9px 0 13px;font-size:12px;line-height:1.9}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{border:1px solid #e1e5d5;background:#f8f9f0;padding:7px 11px;border-radius:20px;font-size:10px}.composer{display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:17px;padding:6px 6px 6px 14px;gap:7px;margin:14px 0 0}.composer input{min-width:0;flex:1;background:none;border:0;outline:0;font-size:12px;height:31px;color:var(--ink)}.send{width:34px;height:34px;background:var(--green);color:white;border-radius:11px;font-size:18px}nav{position:absolute;bottom:0;width:100%;height:77px;padding:8px 17px 14px;display:flex;justify-content:space-around;background:#fcfcf5f5;border-top:1px solid #e8e9de;backdrop-filter:blur(14px)}nav a{position:relative;min-width:62px;display:flex;align-items:center;flex-direction:column;gap:3px;font-size:10px;color:#939b8a}nav a>span{font:27px Georgia;line-height:29px;width:47px;text-align:center;border-radius:11px}nav a.selected{color:var(--green);font-weight:600}nav a.selected>span{background:#e7edd7}nav i{position:absolute;top:2px;right:13px;width:6px;height:6px;border-radius:50%;background:#d98c5a}.banner{background:#e7edda;border-radius:20px;padding:21px;position:relative;overflow:hidden}.banner h3{font-size:21px;margin:7px 0}.banner .art{position:absolute;right:18px;top:33px;font-size:75px;transform:rotate(-10deg)}.tag{font-size:9px;background:#d4dfbc;color:#50633c;padding:4px 8px;border-radius:7px;display:inline-block}.primary{background:var(--green);color:#fff;padding:12px 18px;border-radius:12px;font-size:12px;display:inline-block}.banner .primary{margin-top:15px}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}.feature{padding:17px;border-radius:18px;background:#eeefe4;text-align:left}.feature .icon{font-size:25px;display:block;margin-bottom:8px}.feature strong{font-size:13px;display:block}.feature small{font-size:10px;color:#8a8d7f;display:block;margin-top:6px}.peach{background:#f4e5d8}.lavender{background:#ece7f0}.task{display:flex;gap:12px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.task strong{font-size:12px}.task small{display:block;font-size:10px;color:#909585;margin-top:5px}.task>button{margin-left:auto;font-size:10px;border:1px solid #d9dfc9;padding:6px 9px;border-radius:10px}.tiny-label{font-size:9px;color:#9ba08f;text-align:center;margin-top:15px}.tabs{display:flex;gap:8px;padding:5px;background:#eceee2;border-radius:13px;margin:20px 0 10px}.tabs button{flex:1;padding:9px;font-size:12px;border-radius:9px}.tabs .active{background:#fffdf7;box-shadow:0 2px 5px #263d3408}.message-row{width:100%;display:flex;align-items:center;text-align:left;gap:12px;padding:19px 0;border-bottom:1px solid var(--line)}.message-row .avatar{margin:0;flex-shrink:0;width:48px;height:48px}.message-row .body{flex:1}.message-row strong{font-size:12px}.message-row p{font-size:11px;max-width:245px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}.message-row small{font-size:9px;color:#99a08c}.badge{display:block;width:15px;height:15px;border-radius:50%;background:#dc9665;color:#fff;text-align:center;font-size:9px;margin:6px 0 0 auto}.me-profile{padding:18px 0 25px;display:flex;gap:16px;align-items:center}.me-profile .avatar{margin:0;width:63px;height:63px;font-size:36px}.stat-grid{display:flex;background:#eaeddf;border-radius:20px;padding:21px 10px;justify-content:space-around}.stat-grid strong{display:block;text-align:center;font:25px Georgia}.stat-grid small{font-size:10px;color:#86917b;display:block;margin-top:8px}.menu-row{width:100%;display:flex;align-items:center;padding:17px 5px;border-bottom:1px solid var(--line);font-size:12px;gap:10px}.menu-row span:last-child{margin-left:auto;color:#8d9880}.story-banner{padding:20px;background:#f1e7d9;border-radius:18px;margin-top:20px}.story-banner h3{margin:9px 0;font-size:17px}.story-banner button{margin-top:12px;font-size:11px;text-decoration:underline}.back{font-size:12px;color:#7c8971;margin-bottom:18px;padding:0}.chat-log{display:flex;flex-direction:column;gap:12px;min-height:350px}.bubble{max-width:87%;padding:13px 16px;background:#eaeddf;border-radius:16px 16px 16px 3px;font-size:12px;line-height:1.9;white-space:pre-wrap}.bubble.user{align-self:flex-end;background:#365e49;color:#fff;border-radius:16px 16px 3px 16px}.bubble small{font-size:9px;color:#8c977c;display:block;margin-bottom:4px}.action-card{padding:15px;border:1px solid #dedfcf;border-radius:15px;background:#fffdf6;font-size:12px}.action-card p{margin:8px 0}.action-card button{margin-top:6px}.art-preview{height:250px;display:grid;place-items:center;border-radius:18px;background:radial-gradient(ellipse at 20% 20%,#dbe8d0 0,transparent 60%),#ece4d2;position:relative;overflow:hidden}.art-preview:after{content:'Tuan Tuan · A little sunshine';position:absolute;bottom:20px;font:italic 15px Georgia;color:#697858}.portrait-dog{font-size:120px;filter:drop-shadow(0 12px 10px #556c3520)}.style-options{display:flex;gap:7px;margin:17px 0}.style-options button{flex:1;border:1px solid #dedfce;padding:10px 2px;border-radius:11px;font-size:11px}.style-options .active{background:#e1e9cc;border-color:#82966a}.full{width:100%;margin-top:18px}.price{font:30px Georgia;color:#375c43}.product-line{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line);font-size:12px}.success{text-align:center;padding:30px 0}.success-icon{font-size:42px;color:#60824d;background:#e9efd9;width:90px;height:90px;border-radius:50%;display:grid;place-items:center;margin:0 auto 22px}.notice{padding:10px 12px;background:#f0ecdf;border-radius:10px;font-size:10px;line-height:1.8;color:#89836b;margin-top:15px}dialog{border:0;border-radius:24px;background:var(--paper);padding:24px;width:min(370px,90vw);color:var(--ink);box-shadow:0 20px 70px #0003}dialog::backdrop{background:#23362c66;backdrop-filter:blur(4px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.modal-head h3{margin:0;font-size:18px}.field{display:block;font-size:11px;margin:15px 0;color:#75836b}.field input{display:block;width:100%;border:1px solid #dfe3d1;border-radius:10px;padding:11px;margin-top:7px;background:#fffdf8;color:var(--ink)}#toast{position:fixed;bottom:35px;left:50%;transform:translate(-50%,20px);background:#294632;color:#fff;padding:12px 20px;border-radius:12px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:5;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:900px){body{gap:40px}.desktop-note{width:290px}.desktop-note h1{font-size:29px}}@media(max-width:720px){body{padding:0;display:block;background:var(--paper)}.desktop-note{display:none}.phone{width:100%;max-width:480px;margin:auto;min-height:100dvh;border-radius:0;box-shadow:none;padding-bottom:85px}.phone nav{position:fixed;max-width:480px;bottom:0;height:75px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.phone header{height:76px}main{padding-top:10px}.scene{height:290px}}@media(prefers-reduced-motion:no-preference){.scene-tag i{animation:breathe 3s infinite}@keyframes breathe{50%{opacity:.4}}}
.inline-art{display:inline-block;width:1.2em;height:1.2em;vertical-align:middle;flex-shrink:0}.avatar .inline-art,.mini-avatar .inline-art{width:100%;height:100%}.portrait-dog .inline-art{width:150px;height:150px}.profile .inline-art{width:20px;height:20px}.art .inline-art{width:95px;height:95px}
/* V3.1: the primary Agent is the centre of conversation and commerce. */
nav{align-items:flex-end}nav a{min-width:50px}nav a.agent-nav{color:#315c47;font-weight:700}nav a.agent-nav>span{width:53px;height:45px;line-height:45px;margin-top:-20px;margin-bottom:1px;background:#315c47;color:#fff;border:4px solid #f8f7f1;border-radius:18px;font-size:28px;box-shadow:0 3px 9px #315c4722}nav a.agent-nav.selected>span{background:#244a37}.agent-intro{display:flex;gap:11px;align-items:center;padding:15px;background:#e7edda;border-radius:19px;margin-bottom:18px}.agent-intro .avatar{margin:0;flex-shrink:0}.agent-intro strong{font-size:12px}.agent-intro p{font-size:10px;margin-top:5px}.agent-intro .tag{margin-left:auto;font-size:8px;padding:4px}.conversation{display:flex;flex-direction:column;gap:13px;margin:18px 0}.conversation:empty{display:none}.conversation .user small{color:#cad8bc}.commerce-card{border-color:#cbd6b8;background:#fffef8;box-shadow:0 3px 15px #314d3510;padding:18px;scroll-margin-top:25px}.commerce-card h3{font-size:17px;margin:10px 0}.order-meta{font-size:9px;letter-spacing:1px;color:#8a947d}.material-row{font-size:11px;background:#f1f1e6;line-height:1.9;padding:12px;border-radius:11px;margin:12px 0}.consent{font-size:11px;display:flex;align-items:center;gap:7px}.consent input{accent-color:#315c47;min-width:17px;height:17px}.inline-buttons{display:flex;gap:10px;justify-content:space-around;margin-top:10px}.inline-buttons button{font-size:11px;color:#718063;padding:8px}.agent-shortcuts{margin-top:20px}.mini-art{background:#e8ecd8;border-radius:15px;padding:12px;display:flex;gap:12px;align-items:center;margin:14px 0;font-size:50px}.mini-art span{font-size:11px}.mini-art .inline-art{width:70px;height:70px}.story-excerpt{padding:15px;background:#f3eada;line-height:2;border-radius:12px;margin:12px 0}.story-excerpt small{font-size:9px;color:#9a927f}.phone{min-height:900px}.notice{font-size:10px}dialog .message-row p{white-space:normal}.phone nav{z-index:2}.conversation .bubble{overflow-wrap:anywhere}@media(max-width:720px){.phone{min-height:100dvh}main{padding-bottom:35px}.commerce-card .primary{min-height:44px}}
.residents{overflow-x:auto;scrollbar-width:none}.resident{flex:0 0 76px}.field select{font:inherit;display:block;width:100%;border:1px solid #dfe3d1;border-radius:10px;padding:11px;margin-top:7px;background:#fffdf8;color:var(--ink)}.newcomer{position:absolute;bottom:22px;width:48px;height:48px;border-radius:50%;background:#fff9;font-size:26px;display:grid;place-items:center}.newcomer svg{width:40px;height:40px}
/* V3.2: visible, controllable pet-care tasks. */
.task-board{margin:20px 0}.task-board .section-head{margin-bottom:12px}.task-empty,.managed-task{background:#eeefe2;border:1px solid #dbe1cd;border-radius:18px;padding:16px;margin-bottom:10px}.task-empty strong{font-size:13px}.task-empty p{margin:8px 0 14px}.task-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.task-title strong{font-size:13px}.managed-task p{font-size:10px;line-height:1.9}.task-next{font-size:11px;padding:10px;background:#fffdf5;border-radius:9px;margin:10px 0}.managed-task small{display:block;font-size:9px;color:#879179;margin:8px 0}.managed-task .chips{margin-top:10px}.managed-task .chip{padding:8px 9px}.task-foot{font-size:9px;color:#8b937d;margin:9px 2px}.field select{width:100%;font:inherit;color:var(--ink);background:#fffdf8;border:1px solid #dfe3d1;padding:11px 6px;border-radius:10px;margin-top:7px}.task-title .tag{white-space:nowrap}.field select:focus-visible{outline:3px solid #e7955f}

/* V3.3: relationship first, services in context. */
.life-card{background:#eeeee0;border-radius:22px;padding:16px;margin:18px 0}.life-card .section-head{margin:0 0 12px}.home-window{position:relative;width:100%;padding:0;background:#e8dfc9;border-radius:16px;overflow:hidden;text-align:left}.home-window>svg{display:block;width:100%;height:178px;object-fit:cover}.home-window>span{display:block;background:#fff9e8;padding:11px;font-size:11px}.little-dialogue{font-size:11px;line-height:2;margin:12px 0}.little-dialogue strong{color:#526b50;margin-right:6px}.memory-note{border-top:1px solid #d7ddc9;padding-top:12px}.memory-note small{font-size:9px;color:#7d886f}.memory-note p{font-size:12px;overflow-wrap:anywhere}.keepsake{padding:10px;margin-top:12px;background:#fff9e8;border-radius:10px;text-align:left;font-size:11px;width:100%}.quiet-care{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:22px 0;font-size:10px;color:#79856f}.birthday-banner{padding:24px;background:#e9dcc8;border-radius:22px;margin:20px 0}.birthday-banner h3{font-size:28px;line-height:1.5;margin:14px 0}.birthday-banner p{font-size:12px;line-height:1.8}.birthday-plan{padding:19px;background:#f3e8d6;border:1px solid #e6d6bb;border-radius:20px;margin:18px 0;overflow-wrap:anywhere}.birthday-plan h3{font-size:21px;margin:12px 0}.birthday-plan p{font-size:11px;line-height:1.8}.plan-context{padding:10px;background:#fff8e9;border-radius:9px}.plan-option{border-top:1px solid #ddcdb2;padding:15px 0}.plan-option strong{font-size:13px;display:flex;justify-content:space-between;gap:8px}.plan-option button:disabled{opacity:.5;cursor:not-allowed}.compact .little-dialogue{margin-top:0}.agent-intro{margin-top:18px}
@media(max-width:760px){.home-window>svg{height:120px}.life-card{padding:13px;margin:14px 0}.life-card .section-head{margin-bottom:8px}.little-dialogue{line-height:1.7;margin:8px 0}.memory-note{padding-top:8px}.memory-note p{margin:7px 0}.agent-intro{margin-top:14px}}
.story-picker{background:#f3eada;border-radius:11px;padding:12px;margin:12px 0}.story-picker .consent{align-items:flex-start;margin-top:9px;line-height:1.7}.story-picker small,.story-chapter small{font-size:9px;color:#9a927f}.story-chapter{border-top:1px solid #e6dcc8;padding:12px 0}.story-chapter strong{font-size:13px}
.avatar,.mini-avatar,.newcomer{overflow:hidden}.pet-img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}.photo-preview{width:96px;height:96px;border-radius:50%;background:#f1f1e6;display:grid;place-items:center;font-size:10px;color:#859178;text-align:center;overflow:hidden;margin:4px 0 8px}.pet-row{align-items:center}.pet-row>div{flex:1}.photo-pick{font-size:11px;cursor:pointer}.material-row.with-photo{display:flex;align-items:center;gap:10px}.material-row.with-photo img{width:44px;height:44px}.profile .mini-avatar{width:22px;height:22px;display:inline-grid;place-items:center}
.hut-strip{display:flex;align-items:center;gap:12px;width:100%;padding:10px;margin:14px 0;background:#eeeee0;border-radius:18px;text-align:left}.hut-thumb{flex:0 0 96px;height:68px;border-radius:12px;overflow:hidden}.hut-thumb svg{width:100%;height:100%;display:block}.hut-text{min-width:0;display:flex;flex-direction:column;gap:3px}.hut-text small{font-size:9px;color:#859178}.hut-text strong{font-size:12px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.hut-text em{font-style:normal;font-size:10px;color:#315c47}
.head-actions{display:flex;align-items:center;gap:8px}.bell{position:relative;width:34px;height:34px;border-radius:50%;background:#eeefe5;display:grid;place-items:center}.bell i{position:absolute;top:5px;right:6px;width:7px;height:7px;border-radius:50%;background:#d98c5a;display:none}.works{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.work{display:flex;flex-direction:column;gap:4px;padding:14px;border-radius:16px;background:#f6ecdf;text-align:left}.work .icon{font-size:18px}.work strong{font-size:12px}.work small{font-size:10px;color:#859178}.empty-note{font-size:11px}.photo-row{display:flex;gap:10px;overflow-x:auto}.photo-tile{flex:0 0 76px;text-align:center;font-size:10px}.photo-tile img{width:76px;height:76px}.timeline{border-left:2px solid #dfe3d1;margin-left:6px;padding-left:14px}.moment{padding:8px 0}.moment b{font-size:11px;color:#315c47}.moment p{font-size:12px;color:var(--ink);margin:2px 0;overflow-wrap:anywhere}.moment small{font-size:9px;color:#9a927f}.moment.wish p{color:#9a927f}
.inline-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#d98c5a;margin-left:4px;vertical-align:middle}
