/* A little illustrated world, made for Mum. All decoration stays on device. */
:root{--ink:#374b3f;--green:#5e7953;--paper:#f8f5ec;--muted:#68775f;--line:#e5e3d4;--shadow:0 10px 35px #5a684a0b}
body{background:radial-gradient(ellipse at 5% 0%,#e8eddb80,transparent 45%),radial-gradient(ellipse at 100% 45%,#f1e1c348,transparent 45%),#f8f5ec;color:var(--ink);font-family:'Microsoft YaHei','PingFang SC',sans-serif;-webkit-font-smoothing:antialiased}body::before{content:'';pointer-events:none;position:fixed;inset:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23808b62' opacity='.035' filter='url(%23n)' d='M0 0h120v120H0z'/%3E%3C/svg%3E");z-index:-1}.shell{max-width:1180px;padding:30px 44px 130px}header{border-bottom:1px solid #dcded044;padding:0 0 24px;gap:16px}.brand{display:flex;align-items:center;gap:12px;font-family:'STSong','SimSun',serif;font-size:23px;letter-spacing:1px}.brand-mark{display:grid;place-items:center;width:45px;height:45px;flex:none;border:1px solid #d3dcc3;border-radius:16px 16px 16px 4px;background:#e8edda;color:#6e855b;font:30px Georgia}.brand-title{display:block}.tag{font:11px/1.6 'Microsoft YaHei',sans-serif;letter-spacing:2px;color:#75836c;margin-top:3px}.date{background:#fffcf3b3;border:1px solid #e7e7d7;border-radius:30px;padding:8px 14px;white-space:nowrap;font-size:13px}.welcome{position:relative;margin:27px 0 24px;padding-left:2px}.welcome-kicker{font-size:12px;letter-spacing:3px;color:#849174;margin-bottom:6px;display:flex;align-items:center;gap:8px}.welcome-kicker::before{content:'';width:23px;height:1px;background:#a5b38b}h1{font-family:'STSong','SimSun','Microsoft YaHei',serif;font-size:39px;letter-spacing:2px;line-height:1.45;font-weight:500;margin:0 0 8px}.intro{font-size:16px;color:#6c7b64;letter-spacing:.3px}.layout{grid-template-columns:1.6fr 1fr;gap:0;background:#fffdf5;border:1px solid #e5e5d4;border-radius:32px;padding:13px;box-shadow:var(--shadow);margin-top:0}.scene{min-height:394px;border:0;border-radius:23px;box-shadow:none}.scene-label{background:#fffaf0db;font-size:11px;border-color:#ede9d7;padding:6px 12px}.scene-note{font-size:11px;padding:5px 13px;bottom:15px;color:#4e6247}.hero-companion{padding:23px 25px 17px;display:flex;flex-direction:column;justify-content:center}.companion-head{display:flex;align-items:center;gap:10px}.companion-avatar{width:42px;height:42px;background:#f4e8cc;display:grid;place-items:center;border-radius:50%;font-size:23px}.eyebrow{font-size:15px;letter-spacing:1px;color:#4f6848;font-weight:bold}.companion-status{font-size:11px;color:#7e8c72;letter-spacing:1px}.companion-status::before{content:'●';font-size:8px;color:#8ea77b;margin-right:5px}.bubble{position:relative;background:#f6f3e7;border:1px solid #e8e4d1;border-radius:20px 20px 20px 5px;padding:18px 20px;margin:17px 0 21px;box-shadow:none}.bubble small{font-size:11px;letter-spacing:1px;color:#7c866c}.bubble p{font-family:'STSong','SimSun',serif;font-size:21px;line-height:1.8;margin:8px 0 2px;color:#52644c}.primary{background:#637e55;border-radius:14px;padding:13px 18px;box-shadow:0 3px 0 #526e47;min-height:50px;font-size:17px;letter-spacing:.5px}.primary:active{translate:0 2px;box-shadow:0 1px 0 #526e47}.secondary{background:#f1eee1;border:1px solid #e6e2cf;border-radius:14px;font-size:16px;min-height:47px;margin-top:12px}.primary:hover{filter:brightness(1.05)}.hero-aside-note{font-size:11px;text-align:center;letter-spacing:1px;color:#829075;margin:13px 0 0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:31px 2px 16px}.section-heading h2{font-family:'STSong','SimSun',serif;font-size:22px;font-weight:500;letter-spacing:1px}.section-heading span{font-size:12px;color:#829075;letter-spacing:1px}.cards{gap:14px;margin-top:0}.card{position:relative;min-height:180px;padding:22px 19px;border:1px solid #e2e4d3;border-radius:21px;box-shadow:0 3px 0 #e8e5d433;overflow:hidden;transition:transform .2s,box-shadow .2s}.card::after{content:'↗';position:absolute;right:17px;top:18px;font-size:19px;color:#8c987d}.card:hover{translate:0 -3px;box-shadow:0 12px 24px #65764e0c}.card:nth-child(1){background:#f2ecdf}.card:nth-child(2){background:#f2e9e2;border-color:#e9ded5}.card:nth-child(3){background:#eaf0df;border-color:#dce5d0}.card:nth-child(4){background:#eeeade;border-color:#e2dfcf}.icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:16px;background:#fffaf088;margin-bottom:14px}.icon svg{width:40px;height:40px;overflow:visible}.card b{font-family:'STSong','SimSun',serif;font-size:21px;font-weight:500;letter-spacing:1px;margin:0 0 6px}.card small{font-size:12px;color:#66755e}.gentle-note{display:flex;align-items:center;justify-content:center;gap:16px;margin:28px 0 0;color:#7a886b;font-family:'STSong','SimSun',serif;font-size:16px;letter-spacing:1px}.gentle-note::before,.gentle-note::after{content:'';height:1px;width:40px;background:#d4dcc6}.foot{margin-top:24px;padding-top:17px;border-top:1px solid #e3e4d4;font-size:11px;color:#7c866f;letter-spacing:.5px}nav{bottom:20px;gap:6px;border:1px solid #e3e3d2;border-radius:24px;padding:8px;background:#fffdf5f5;box-shadow:0 10px 35px #455b3020;backdrop-filter:blur(16px)}nav button{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:77px;border-radius:17px;padding:8px 17px;font-size:12px;background:transparent!important;color:#708065}nav button .nav-symbol{font-size:21px;line-height:1.2}nav button[aria-current='page']{color:#405d35;background:#e7eddc!important}nav button:hover{background:#f0f1e6!important}button:focus-visible{outline:3px solid #a98559;outline-offset:3px}dialog{background:#fcfaf1;border:1px solid #e2e2d0;border-radius:27px;padding:27px;box-shadow:0 25px 80px #33402b26;color:var(--ink)}dialog::backdrop{background:#35442e66;backdrop-filter:blur(5px)}.dialog-head{border-bottom:1px solid #e7e6d7;padding-bottom:15px;margin-bottom:15px;gap:10px}.dialog-head h2{font:500 25px/1.5 'STSong','SimSun',serif;letter-spacing:1px}.close{background:#efecdf;color:#6e7a61;flex:none;font-size:24px}.hint{font-size:14px;line-height:1.9;color:#65755c}label{font-size:16px;color:#5a6f50}input,textarea{border:1px solid #dde1cf;background:#fffef9;border-radius:15px;padding:13px 15px;font-size:17px;box-shadow:inset 0 2px 4px #6b735205}input:focus,textarea:focus{outline:2px solid #a0b18d;outline-offset:2px}textarea::placeholder,input::placeholder{color:#89927e;font-size:15px}.entry{background:#f3f1e6;border:1px solid #e8e5d4;border-radius:17px;padding:18px;margin:15px 0}.entry p{font-size:17px}.entry small{font-size:12px}.actions button{padding:8px 13px}.empty{background:#f1f0e4;border:1px dashed #dbdfca;border-radius:19px;margin-top:19px;font-size:15px;padding:35px 15px}.chatline{font-size:17px;padding:15px 18px;line-height:1.8;background:#e9efdf}.chatline.me{background:#f0e5d4}.toast{background:#4e6743;box-shadow:0 6px 20px #384a2c33;font-size:15px;border:1px solid #718763}.photo-card{border-radius:13px;background:#fffdf6;box-shadow:0 5px 12px #5e67450c}.photo-meta small{color:#6f7e61}.photo-status{color:#607654}.g-canvas-wrap{box-shadow:none}.g-status{background:#edf1e2;border-radius:12px;padding:10px 13px;margin-top:15px}.g-tabs button{min-height:44px}.g-item{transition:background .15s,transform .15s}.g-item:hover{transform:translateY(-2px)}.photo-tools button,.g-bottom button{min-height:40px}.photo-empty{background:#f1efe2;border:1px dashed #d9ddc7}.photo-viewer #pv-caption{font-family:'STSong','SimSun',serif;line-height:1.8}
@media(min-width:1400px){.shell{padding-top:42px}.welcome{margin-top:35px}.layout{padding:15px}.scene{min-height:420px}.hero-companion{padding-inline:34px}}
@media(max-width:900px){.shell{padding-inline:28px}.hero-companion{padding:17px}.bubble{padding:15px}.bubble p{font-size:20px}.scene{min-height:380px}.card{padding:19px 15px}.card b{font-size:19px}.card small{font-size:11px}.card::after{right:12px}}
@media(max-width:700px){.shell{padding:20px 18px 122px}header{padding-bottom:17px;align-items:center}.brand{font-size:18px;gap:9px;letter-spacing:.5px}.brand-mark{width:38px;height:38px;border-radius:13px 13px 13px 4px;font-size:26px}.tag{font-size:9px;letter-spacing:.6px}.date{font-size:11px;padding:6px 10px;white-space:normal;text-align:center;max-width:95px}.welcome{margin:25px 0 20px}.welcome-kicker{font-size:10px;letter-spacing:2px}h1{font-size:29px;letter-spacing:1px}.intro{font-size:13px}.layout{grid-template-columns:1fr;padding:8px;border-radius:26px}.scene{min-height:335px;border-radius:20px}.hero-companion{padding:20px 14px 13px}.companion-head{gap:9px}.companion-avatar{width:36px;height:36px;font-size:20px}.eyebrow{font-size:14px}.companion-status{font-size:10px}.bubble{margin:14px 0 18px;padding:15px 18px}.bubble p{font-size:20px;line-height:1.65}.bubble p br{display:none}.bubble small{font-size:11px}.hero-aside-note{font-size:10px}.primary{min-height:50px;font-size:17px}.secondary{min-height:46px;font-size:16px}.section-heading{margin:26px 2px 13px}.section-heading h2{font-size:20px}.section-heading span{font-size:10px;letter-spacing:0}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.card{min-height:174px;border-radius:18px;padding:18px 14px}.card b{font-size:20px}.card small{font-size:12px;display:block;line-height:1.7}.icon{width:48px;height:48px;border-radius:14px;margin-bottom:12px}.icon svg{width:36px;height:36px}.card::after{right:13px;top:14px;font-size:17px}.gentle-note{font-size:14px;gap:12px;margin-top:24px}.gentle-note::before,.gentle-note::after{width:22px}.foot{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px;text-align:center;margin-top:20px}nav{width:calc(100% - 28px);max-width:480px;bottom:calc(10px + env(safe-area-inset-bottom));gap:2px;border-radius:22px;padding:7px 5px;justify-content:space-around}nav button{min-width:0;flex:1;padding:7px 4px;font-size:11px;border-radius:15px}nav button .nav-symbol{font-size:21px}dialog{padding:22px 18px;width:94vw}.dialog-head{margin-bottom:12px;padding-bottom:12px}.dialog-head h2{font-size:23px}.hint{font-size:13px}.entry p{font-size:16px}.chatline{font-size:16px}}
@media(max-width:370px){.shell{padding-inline:13px}h1{font-size:26px}.brand{font-size:16px}.tag{font-size:8px}.date{max-width:76px;padding:5px 7px}.card b{font-size:18px}.card small{font-size:11px}.scene{min-height:305px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Selected A character: real painted artwork throughout the app. */
.scene .pet{width:185px;height:221px;left:38%;top:auto;bottom:49px;filter:drop-shadow(0 5px 4px #64734812)}.haohao-floral{width:100%;height:100%;object-fit:contain;display:block;user-select:none}.companion-avatar{overflow:hidden;background:#f1e5ce}.companion-avatar img{width:100%;height:100%;object-fit:cover;object-position:50% 18%;transform:scale(1.5);transform-origin:50% 20%}@media(max-width:700px){.scene .pet{width:154px;height:190px;left:37%;top:auto;bottom:40px}}@media(max-width:370px){.scene .pet{width:140px;height:173px;bottom:36px}}

#pet.has-model{background:transparent}#pet.has-model>.haohao-floral{visibility:hidden}.home-haohao-3d{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
