:root{color-scheme:light;font:16px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#382e2a;background:#f7efe6;--paper:#fff8f1;--card:#fffdfa;--accent:#b45a43;--muted:#85736b;--border:#e9d9cc;--soft:#f4e6db}
*{box-sizing:border-box}body{margin:0;min-width:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #826c49;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.4}h1{font-size:1.7rem;margin-bottom:10px}h2{font-size:1.3rem}h3{font-size:1.05rem}p{margin-bottom:16px}small{font-size:.78rem}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}
.app-shell{max-width:560px;min-height:100dvh;margin:auto;background:radial-gradient(ellipse at top right,#f6e3d7 0,transparent 44%),var(--paper);box-shadow:0 0 60px #6f4c2810}.app-header{height:82px;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:9px;font-size:1.25rem;font-weight:650;letter-spacing:.1em}.brand small{display:block;font-size:.62rem;color:var(--muted);font-weight:400;letter-spacing:.04em}.brand-seal{display:grid;place-items:center;width:40px;height:40px;border:1px solid #bc8e77;border-radius:50%;font:1.65rem "Songti SC",SimSun,serif;color:#9f654f}.edition{font-size:.72rem;color:var(--accent);padding:3px 9px;border:1px solid #dabca8;border-radius:20px;white-space:nowrap}.connection-note{padding:10px 22px;background:#f1e5d4;color:#78532f;font-size:.8rem}main{padding:24px 22px calc(108px + env(safe-area-inset-bottom));outline:none}.page-intro{margin-bottom:26px}.kicker{display:block;color:var(--accent);font-size:.7rem;letter-spacing:.16em;margin-bottom:9px;font-weight:650}.page-intro>p{font-size:.87rem;color:#746057;line-height:1.8}.intro-top{display:flex;justify-content:space-between;gap:14px;align-items:center}.text-link{color:var(--accent);font-size:.84rem;min-height:44px;display:inline-flex;align-items:center;font-weight:600}.subtle{color:var(--muted);font-size:.83rem}.notice{border-radius:12px;padding:13px 15px;background:#f3e9dc;color:#785f4e;font-size:.8rem;line-height:1.8;margin:20px 0}.ai-note{font-size:.75rem;color:var(--muted);text-align:center;margin:22px 0}.primary,.secondary,.danger{border:0;min-height:50px;border-radius:13px;padding:12px 18px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary{background:var(--accent);color:white;box-shadow:0 8px 20px #b45a4320}.secondary{background:#f3e7dc;color:#865440;border:1px solid #dec7b5}.danger{color:#a13e31;border:1px solid #d6b1a8;background:transparent}.full{width:100%}.button-row{display:flex;gap:12px;margin-top:20px}.button-row>*{flex:1;min-width:0}.spaced{margin-top:26px}.tag{display:inline-block;font-size:.7rem;border-radius:99px;padding:2px 9px;background:#f9e4da;color:#a34e39;line-height:1.6}.tag.pending{background:#ede9df;color:#736c5c}.person-card{padding:16px 14px;border:1px solid var(--border);border-radius:22px;background:var(--card);box-shadow:0 10px 28px #67442708;margin-bottom:14px}.person-row{display:flex;align-items:center;gap:12px}.avatar{width:60px;height:72px;border-radius:14px;object-fit:cover;flex-shrink:0;background:linear-gradient(145deg,#e8dfcf,#f5ede1);color:#95745b;display:grid;place-items:center;font:2rem "Songti SC",SimSun,serif}.person-info{min-width:0;flex:1}.person-info h2{font-size:1.03rem;margin:0 0 3px;overflow-wrap:anywhere}.person-info small{display:block;color:var(--muted);margin-top:4px}.call-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:8px 11px;font-size:.78rem;border:1px solid #deb5a3;color:var(--accent);background:#fae9df;border-radius:11px;white-space:nowrap}.call-link svg{width:17px;height:17px}.person-actions{display:flex;gap:16px;margin-top:12px;border-top:1px solid #f0e5dd;padding-top:5px}.person-actions button{padding:8px 0;min-height:40px;background:none;border:0;color:var(--accent);font-size:.83rem}.empty-hint{text-align:center;color:var(--muted);font-size:.81rem;margin:25px 0 30px}.empty-card{padding:34px 20px;border:1px dashed #d7c5b7;border-radius:20px;text-align:center;color:var(--muted);background:#fffaf5}.empty-card svg{width:35px;height:35px;margin-bottom:12px;color:#a08470}.empty-card h2{font-size:1.1rem;color:#544136}.empty-card p{font-size:.84rem;margin-bottom:0}.feature-row{display:flex;align-items:center;gap:15px;width:100%;text-align:left;border:1px solid #e6ccba;border-radius:18px;background:var(--card);padding:20px 16px;margin-bottom:15px;min-height:105px}.feature-icon{display:grid;place-items:center;width:54px;height:54px;flex-shrink:0;border-radius:16px;background:var(--soft);color:var(--accent)}.feature-icon svg{width:29px;height:29px}.feature-copy{flex:1;min-width:0}.feature-copy strong{display:block;font-size:1.02rem;margin-bottom:4px}.feature-copy small{display:block;color:var(--muted);line-height:1.7}.feature-copy .feature-status{color:var(--accent);font-size:.72rem;margin-top:4px}.arrow{color:#aa8c7b}.bottom-nav{position:fixed;z-index:30;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:560px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:4px 8px calc(5px + env(safe-area-inset-bottom));background:#fffaf5f5;border-top:1px solid #ead8ca;backdrop-filter:blur(12px)}.bottom-nav a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:66px;color:#8a7468;font-size:.72rem}.bottom-nav a[aria-current="page"]{color:var(--accent);font-weight:650}.bottom-nav a[aria-current="page"]:before{content:"";position:absolute;top:0;width:27px;height:3px;border-radius:2px;background:var(--accent)}.bottom-nav [data-icon]{display:flex;margin-top:5px}.account-head{display:flex;align-items:center;gap:14px;margin-bottom:28px}.account-head .avatar{height:64px;width:64px;border-radius:50%;background:#efd9cb}.account-head h1{font-size:1.2rem;margin:0 0 4px;overflow-wrap:anywhere}.account-head p{margin:0;font-size:.81rem;color:var(--muted)}.wallet-card{border-radius:20px;padding:24px;background:linear-gradient(120deg,#b16049,#914b39);color:white;margin-bottom:24px}.wallet-card h2{font-size:1rem;font-weight:500;margin:0}.wallet-card strong{display:block;font-size:2rem;margin:7px 0}.wallet-card small{color:#f7dfd3}.wallet-card a{display:flex;justify-content:space-between;align-items:center}.menu{border:1px solid var(--border);border-radius:18px;background:var(--card);overflow:hidden}.menu a,.menu button{display:flex;gap:13px;align-items:center;width:100%;border:0;border-bottom:1px solid #f1e6dd;background:none;padding:17px 16px;text-align:left;min-height:64px}.menu>*:last-child{border-bottom:0}.menu .menu-icon{color:#ad7157;display:flex}.menu .menu-text{flex:1;min-width:0}.menu strong{display:block;font-size:.92rem;font-weight:600}.menu small{display:block;color:var(--muted);font-size:.75rem;margin-top:2px}.back{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:-12px 0 17px;background:none;border:0;padding:0;color:#7d6050;font-size:.88rem}.section-card{border:1px solid var(--border);border-radius:20px;background:var(--card);padding:22px 19px;margin-bottom:20px}.section-card h2{font-size:1.08rem;margin-bottom:8px}.section-card p{font-size:.85rem;color:#766156}.section-card p:last-child{margin-bottom:0}.form-label{display:block;font-size:.88rem;font-weight:600;margin:18px 0 7px}.form-label small{font-weight:400;color:var(--muted);margin-left:6px}input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select{display:block;width:100%;padding:13px 14px;min-height:50px;border:1px solid #dbc3b0;border-radius:12px;background:#fffdfa;color:#382e2a;font-size:.94rem}textarea{resize:vertical;min-height:105px;line-height:1.65}input::placeholder,textarea::placeholder{color:#ad9788}input[type=checkbox],input[type=radio]{width:20px;height:20px;accent-color:var(--accent);flex-shrink:0}.check-label{display:flex;align-items:flex-start;gap:9px;font-size:.84rem;color:#6f594d;margin-top:18px}.check-label input{margin:3px 0 0}.error{color:#a83226;padding:12px 14px;background:#fff0eb;border-radius:10px;font-size:.84rem;margin:15px 0}.steps{display:flex;justify-content:space-between;gap:8px;list-style:none;padding:0;margin:0 0 25px}.steps li{flex:1;color:#9d8b7d;text-align:center;font-size:.73rem;border-bottom:3px solid #e8d9cc;padding-bottom:10px}.steps li.active{color:var(--accent);border-color:var(--accent);font-weight:600}.upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:190px;border:1px dashed #cea78b;border-radius:16px;background:#f7eadf;text-align:center;padding:20px;overflow:hidden}.upload svg{width:32px;height:32px;margin-bottom:10px}.upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.upload:focus-within{outline:3px solid #826c49;outline-offset:3px}.upload strong{font-size:.94rem}.upload small{margin-top:6px;color:#917261}.upload img{max-width:100%;max-height:230px;object-fit:contain;border-radius:8px}.file-name{overflow-wrap:anywhere;color:#7c6557;font-size:.8rem;margin:10px 0}audio{width:100%;margin-top:12px}.chips{display:flex;flex-wrap:wrap;gap:7px;margin:9px 0}.chips button{min-height:36px;padding:5px 12px;border-radius:99px;border:1px solid #e3c9b5;background:#fffbf7;color:#936e58;font-size:.78rem}.review{margin:0}.review div{padding:10px 0;border-bottom:1px solid #eee2d8}.review dt{font-size:.78rem;color:var(--muted)}.review dd{margin:3px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.9rem}.status-box{border-left:3px solid #b28060;background:#f2e6d9;padding:15px 17px;font-size:.83rem;color:#745944}.list-row{padding:15px 0;border-bottom:1px solid var(--border);overflow-wrap:anywhere}.list-row strong{display:block;font-size:.9rem}.list-row small{display:block;color:var(--muted)}.asset-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.asset-grid figure{margin:0;min-width:0}.asset-grid img{width:100%;height:170px;object-fit:cover;border-radius:14px}.asset-grid button{margin:8px 0;min-height:44px;width:100%;font-size:.8rem}.auth-card{padding:28px 22px;border:1px solid #e2c6b1;border-radius:24px;background:#fffbf7;box-shadow:0 18px 40px #8260400b}.auth-card h1{font-size:1.5rem}.auth-card>p{font-size:.85rem;color:var(--muted)}.service-list{padding-left:20px;color:#725e50;font-size:.87rem}.service-list li{margin:12px 0}.skip{position:fixed;top:-70px;left:12px;padding:12px;background:white;z-index:100}.skip:focus{top:10px}#toast{position:fixed;z-index:80;left:50%;transform:translateX(-50%);bottom:calc(90px + env(safe-area-inset-bottom));max-width:calc(100% - 32px);width:max-content;background:#493b32;color:white;border-radius:12px;padding:12px 18px;font-size:.84rem;box-shadow:0 8px 30px #0002}dialog{width:min(420px,calc(100% - 32px));border:1px solid var(--border);border-radius:20px;padding:25px;background:var(--paper);color:inherit}dialog::backdrop{background:#382e2a66}dialog p{font-size:.9rem;color:var(--muted)}.billing-number{font-size:2.4rem;font-weight:700;color:var(--accent);margin:10px 0}.muted-button{display:block;width:100%;margin-top:20px;min-height:48px;border:1px solid #dfc5b3;border-radius:12px;background:transparent;color:#87614b}.legal p{font-size:.88rem}.legal h2{margin-top:25px}.page-footer{text-align:center;color:#9a8271;font-size:.73rem;margin-top:26px}
@media(max-width:360px){.app-header{padding-inline:18px}main{padding-inline:18px}.person-row{gap:8px}.avatar{width:50px;height:62px}.call-link{padding-inline:8px}.section-card{padding:19px 15px}.feature-row{gap:12px;padding:18px 13px}.feature-icon{width:46px;height:46px}.person-info h2{font-size:.95rem}}
@media(prefers-reduced-motion:no-preference){.primary:hover,.feature-row:hover{filter:brightness(.98)}}

/* Nianqin: mobile-only storefront at every viewport width. */
:root{color:#25221f;background:#efeeeb;--paper:#faf9f6;--card:#fff;--accent:#972f39;--muted:#77736d;--border:#e6e3dd;--soft:#f4e9e7;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
body{padding:0}.app-shell{max-width:480px;background:var(--paper);border:0;border-radius:0;min-height:100dvh;box-shadow:none}
.app-header{height:80px;padding:16px 48px;border-bottom:1px solid var(--border)}
.brand{font-size:1.5rem;letter-spacing:.05em;gap:10px}.brand-seal{width:40px;height:42px;border:0;border-radius:10px 10px 10px 2px;background:var(--accent);color:#fff;font-size:1.65rem}.brand small{font-size:.65rem;letter-spacing:.13em;margin-top:1px;color:#77736d}.header-guide{display:flex;align-items:center;gap:14px;font-size:.8rem;font-weight:600;min-height:44px}.header-guide span{font-size:1.2rem;color:var(--accent)}
main{max-width:680px;margin:auto;padding:32px 32px calc(110px + env(safe-area-inset-bottom))}main.home-page{max-width:none;padding:30px 48px calc(112px + env(safe-area-inset-bottom))}
h1,h2,h3{letter-spacing:-.035em;font-weight:700}h1{font-size:1.85rem}h2{font-size:1.35rem}.page-intro>p,.section-card p{color:#6e6a64}.page-intro{margin-bottom:24px}.kicker{letter-spacing:.08em;color:var(--accent)}
.primary{background:var(--accent);border-radius:9px;box-shadow:none;min-height:52px;font-size:.95rem}.primary:hover{background:#7e2530}.secondary{background:#f1eeea;color:#50453d;border-color:#e1dcd4;border-radius:9px}.primary svg{width:22px}.notice{border-radius:8px;background:#f0ede7;color:#666057}.section-card,.auth-card,.person-card,.menu{border-color:var(--border);box-shadow:none;background:white;border-radius:12px}.auth-card{padding:28px}.empty-card{background:#f5f3ef;border:1px solid var(--border);border-radius:12px}.empty-card h2{color:#3c3832}.text-link{color:var(--accent)}.wallet-card{background:#393f37;border-radius:13px}.wallet-card small{color:#dde4d7}.tag{color:#8f3138;background:#f6e7e6}.person-actions{border-color:var(--border)}.person-actions button{color:var(--accent)}.call-link{color:var(--accent);background:#f8eeee;border-color:#e6c6c9}.create-person{margin-bottom:22px}.demo-person{margin-top:22px}.feature-row{border-color:var(--border);border-radius:12px}.feature-icon{background:#f0ece6;color:#6b6257;border-radius:10px}.account-head .avatar{background:#e9e5dd;color:#7b6d5d}.form-label{font-size:.9rem}input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select{background:#fff;border-color:#d4cec5;border-radius:9px;color:#25221f}.steps li.active{color:var(--accent);border-color:var(--accent)}.steps li{border-color:#e6e2dc}.upload{background:#f5f3ef;border-color:#b6a798;border-radius:10px}.chips button{border-color:#ddd5cc;color:#756151;background:white}.back{color:#5a534b}.bottom-nav{max-width:480px;background:#fffefbf5;border-color:var(--border);padding-top:5px}.bottom-nav a{color:#817c74;gap:3px;font-size:.73rem}.bottom-nav a[aria-current="page"]:before{display:none}.bottom-nav a[aria-current="page"] [data-icon]{background:#f4e6e7;border-radius:8px}.bottom-nav [data-icon]{padding:4px 13px;margin:0}.bottom-nav svg{width:22px;height:22px}.bottom-nav a{min-height:62px}
.eyebrow{display:block;color:var(--accent);font-size:.72rem;font-weight:650;letter-spacing:.1em}.home-hero{display:grid;grid-template-columns:1fr 1fr;background:#ece9e2;overflow:hidden;border-radius:14px;min-height:466px}.hero-copy{padding:46px 32px 34px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.hero-copy .eyebrow{display:flex;align-items:center;gap:7px;color:#554c42;margin-bottom:23px;font-size:.75rem}.hero-copy .eyebrow>span{width:6px;height:6px;border-radius:50%;background:var(--accent)}.hero-copy h1{font-size:2.4rem;line-height:1.35;letter-spacing:-.04em;margin:0 0 20px;word-break:keep-all}.hero-description{font-size:.92rem;color:#676055;line-height:1.95;margin:0 0 24px}.hero-actions{width:100%;max-width:355px}.hero-actions .primary{display:flex;width:100%;justify-content:flex-start;padding-inline:17px;gap:10px}.hero-actions .primary>span{margin-left:auto;font-size:1.1rem}.hero-actions p{font-size:.66rem;color:#776d63;margin:10px 0 0;line-height:1.6}.hero-visual{position:relative;min-width:0;min-height:466px;background:#d5d1c6;overflow:hidden}.hero-visual>img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:50% 35%}.image-label{position:absolute;top:17px;right:16px;font-size:.6rem;background:#fffdf4d9;color:#504b43;padding:5px 9px;border-radius:5px}.portrait-caption{position:absolute;bottom:0;left:0;right:0;padding:60px 24px 26px;background:linear-gradient(transparent,#181c17a3);color:#fff;display:flex;align-items:center;gap:13px;font-size:.9rem;font-weight:500;letter-spacing:.04em}.voice-wave{height:22px;display:flex;align-items:center;gap:3px}.voice-wave i{width:3px;background:#fff;border-radius:2px;height:10px}.voice-wave i:nth-child(2),.voice-wave i:nth-child(4){height:17px}.voice-wave i:nth-child(3){height:24px}
.home-assurances{display:flex;justify-content:center;gap:35px;padding:19px 0;border-bottom:1px solid var(--border);color:#7b756b;font-size:.72rem}.home-assurances>span{display:flex;align-items:center;gap:7px}.home-assurances svg{width:17px;height:17px;color:#897866}
.home-section{margin-top:38px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.section-heading h2{font-size:1.5rem;margin:5px 0 0}.section-heading .text-link{font-size:.75rem;white-space:nowrap}.featured-service{position:relative;display:flex;gap:24px;min-height:232px;background:#8a303a;color:#fff;border-radius:12px;padding:30px 32px;overflow:hidden}.service-number{font-size:.75rem;color:#e6bcc0;padding-top:3px;font-weight:600}.service-category{font-size:.7rem;color:#edc6c9;letter-spacing:.1em}.featured-service h3{font-size:1.6rem;margin:5px 0 12px}.featured-service p{font-size:.86rem;line-height:1.8;color:#f1d6d7;margin-bottom:15px}.service-link{font-size:.8rem;font-weight:600;display:flex;gap:28px;align-items:center}.service-link>span{font-size:1.2rem}.featured-service>small{position:absolute;right:25px;bottom:24px;color:#e2b8bc;font-size:.64rem}.featured-service-icon{position:absolute;right:54px;top:35px;display:grid;place-items:center;width:145px;height:133px;border:1px solid #e3a4a54d;border-radius:23px;transform:rotate(-7deg);box-shadow:12px 12px 0 #ffffff0b}.featured-service-icon svg{width:65px;height:65px;stroke-width:1;opacity:.75}.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.service-tile{background:#edece5;border-radius:12px;padding:24px;display:block}.service-tile:nth-child(2){background:#eee5dd}.tile-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;color:#6d7061}.tile-top svg{width:29px;height:29px;stroke-width:1.5}.tile-top>span{color:#807c73;font-size:.65rem}.service-tile h3{font-size:1.2rem;margin:0 0 7px}.service-tile p{font-size:.81rem;color:#797269;line-height:1.8;margin:0 0 20px}.tile-bottom{display:flex;justify-content:space-between;align-items:center;font-size:.75rem;color:#62594f;font-weight:600}.tile-bottom>span{font-size:1.2rem}.text-service{display:flex;align-items:center;gap:13px;padding:21px 0;border-bottom:1px solid var(--border)}.text-service>.feature-icon{width:43px;height:43px}.text-service>span:nth-child(2){flex:1}.text-service strong{font-size:.88rem;display:block}.text-service small{color:var(--muted);font-size:.71rem;display:block;margin-top:3px}.text-service>span:last-child{color:#877766}
.preparation{padding:27px 30px 20px;background:white;border:1px solid var(--border);border-radius:12px}.step-total{font-size:.68rem;color:#958576;white-space:nowrap}.material-list{padding:0;list-style:none;margin:10px 0 25px}.material-list li{display:flex;gap:20px;padding:17px 0;border-bottom:1px solid #efede8}.material-list li:last-child{border:0}.material-list li>span{font-size:.78rem;color:#a58b72;padding-top:3px;font-variant-numeric:tabular-nums}.material-list h3{font-size:.98rem;margin:0 0 5px}.material-list p{font-size:.79rem;color:#827a71;line-height:1.65;margin:0}.preparation .primary{justify-content:space-between;padding-inline:20px}.form-scope{text-align:center;font-size:.69rem;color:#867d72;line-height:1.8;margin:12px 0 0}.founder-section{display:flex;gap:23px;align-items:center;margin-top:35px;padding:25px 0}.founder-mark{flex-shrink:0;width:68px;height:75px;display:grid;place-items:center;font:2rem "Songti SC",SimSun,serif;border:1px solid #bc9d81;color:#9a7457;border-radius:35px 35px 4px 4px;background:#f3ede4}.founder-section .eyebrow{font-size:.67rem;color:#8d7c6b}.founder-section h2{font-size:1.1rem;margin:5px 0 8px}.founder-section p{font-size:.78rem;color:#837b72;margin:0}.founder-section .text-link{font-size:.74rem;min-height:37px}.home-footer{border-top:1px solid var(--border);padding-top:28px;text-align:center;color:#8c8378}.home-footer>strong{font:1.7rem "Songti SC",SimSun,serif;color:#5f5144;letter-spacing:.17em;display:block}.home-footer>span:not(.footer-dot){font-size:.64rem;letter-spacing:.15em}.home-footer p{font-size:.68rem;line-height:1.8;margin:15px 0 10px}.home-footer a,.footer-dot{font-size:.67rem}.footer-dot{margin:0 9px}
.app-header{height:72px;padding:12px 20px}.brand{font-size:1.4rem}.brand-seal{width:35px;height:38px;font-size:1.5rem}.brand small{font-size:.6rem}.header-guide{font-size:.73rem;gap:10px}main,main.home-page{padding:21px 20px calc(100px + env(safe-area-inset-bottom))}.home-hero{display:flex;flex-direction:column;min-height:0;border-radius:12px}.hero-copy{padding:25px 24px 23px}.hero-copy .eyebrow{margin-bottom:15px;font-size:.65rem}.hero-copy h1{font-size:2rem;line-height:1.32;margin-bottom:12px}.hero-description{font-size:.79rem;line-height:1.8;margin:0}.hero-visual{height:245px;min-height:245px;order:1}.hero-visual>img{object-position:50% 30%}.hero-actions{max-width:none;margin-top:20px}.hero-actions .primary{min-height:50px;font-size:.88rem}.hero-actions p{font-size:.61rem;margin-top:8px}.portrait-caption{padding:45px 20px 18px;font-size:.8rem}.image-label{top:12px;right:12px;font-size:.56rem}.home-assurances{gap:0;justify-content:space-between;font-size:.61rem;padding:16px 0}.home-assurances>span{gap:4px}.home-assurances svg{width:14px;height:14px}.home-section{margin-top:28px}.section-heading{margin-bottom:16px;gap:8px}.section-heading .eyebrow{font-size:.63rem}.section-heading h2{font-size:1.23rem}.section-heading .text-link{font-size:.67rem}.featured-service{min-height:211px;padding:23px 19px;gap:15px}.featured-service h3{font-size:1.35rem;margin-bottom:9px}.featured-service p{font-size:.77rem}.service-category{font-size:.62rem}.service-link{font-size:.73rem}.featured-service-icon{width:78px;height:85px;right:23px;top:54px;border-radius:14px;box-shadow:7px 7px 0 #ffffff0b}.featured-service-icon svg{width:38px;height:38px}.featured-service>small{font-size:.57rem;right:15px;bottom:16px}.service-number{font-size:.66rem}.service-grid{gap:12px;margin-top:12px}.service-tile{padding:19px 16px}.tile-top{margin-bottom:17px}.tile-top svg{width:26px;height:26px}.tile-top>span{font-size:.58rem}.service-tile h3{font-size:1.06rem}.service-tile p{font-size:.72rem;line-height:1.8;margin-bottom:17px}.tile-bottom{font-size:.68rem}.text-service{gap:11px;padding:18px 0}.text-service strong{font-size:.78rem}.text-service small{font-size:.64rem}.text-service>.feature-icon{width:39px;height:39px}.text-service>.feature-icon svg{width:22px}.preparation{padding:23px 19px 17px}.step-total{font-size:.61rem}.material-list li{gap:17px;padding:16px 0}.material-list h3{font-size:.9rem}.material-list p{font-size:.74rem}.material-list{margin-bottom:19px}.form-scope{font-size:.62rem}.preparation .primary{font-size:.83rem}.founder-section{gap:17px;margin-top:18px}.founder-mark{width:52px;height:63px;font-size:1.7rem}.founder-section h2{font-size:.95rem}.founder-section p{font-size:.68rem}.founder-section .text-link{font-size:.68rem}.home-footer{padding-top:23px}.home-footer p{font-size:.62rem}.person-row{flex-wrap:wrap}.person-info{min-width:120px}.call-link{margin-left:auto}.auth-card{padding:24px 19px}.section-card{padding:22px 18px}
@media(max-width:360px){main,main.home-page{padding-inline:16px}.app-header{padding-inline:16px}.hero-copy{padding-inline:20px}.hero-copy h1{font-size:1.8rem}.hero-visual{height:218px;min-height:218px}.featured-service-icon{right:15px;width:58px;height:67px;top:60px}.featured-service-icon svg{width:30px}.featured-service h3{font-size:1.16rem}.section-heading h2{font-size:1.12rem}.service-tile{padding:17px 13px}}
@media(prefers-reduced-motion:no-preference){.primary,.service-tile{transition:background .18s ease}.service-tile:hover{background:#e5dfd6}}

/* Personal pages: an old album, letters and a private keepsake box. */
:root{--paper:#f6f1e7;--card:#fffcf5;--accent:#913c3b;--border:#dfd6c7;--muted:#766e62;background:#e8e3da;color:#342f28}
.app-header{background:#f9f5ed}.app-shell{background:var(--paper)}
.bottom-nav{background:#fffcf5f7}.bottom-nav a[aria-current="page"] [data-icon]{background:#eee0d9}
.hero-copy{background:#eae4d8}.home-hero{background:#eae4d8}.preparation{background:#fffaf1}
.home-footer>strong{font-size:1.3rem;letter-spacing:.05em}
.memory-content{background:radial-gradient(#a5875921 .65px,transparent .65px);background-size:5px 5px}
.memory-content .page-intro{margin-bottom:25px}.memory-content .page-intro h1{font:600 1.9rem/1.4 "Songti SC",SimSun,serif;letter-spacing:.04em;margin-bottom:8px}
.memory-content .page-intro p{font-size:.86rem;color:#776e60;margin:0;line-height:1.8}
.memory-content h2{font-family:"Songti SC",SimSun,serif}.memory-content p{overflow-wrap:anywhere}
.memory-content .primary,.memory-content .secondary{border-radius:6px}
.memory-content .section-card,.memory-content .auth-card{border-radius:5px;background:#fffcf5;box-shadow:0 3px 0 #e8dfd0;padding:23px 21px}
.availability-line{font-size:.75rem;line-height:1.8;color:#776f63;text-align:center;margin:14px 0 22px}
.quiet-link{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:10px 0;color:#745c4d;font-size:.8rem}
.quiet-link>span{color:var(--accent)}.quiet-details{border-block:1px solid var(--border);margin:20px 0;color:#706556;font-size:.82rem}
.quiet-details summary{padding:14px 0;min-height:48px;cursor:pointer}.quiet-details p{font-size:.8rem;line-height:1.9;margin:0 0 18px}
.group-title{font-family:inherit!important;font-size:.81rem;font-weight:600;line-height:1.5;color:#817261;margin:25px 0 12px;letter-spacing:.05em}
.memory-content .empty-card{padding:48px 22px;background:#faf5eb;border:1px solid var(--border);border-radius:5px}
.memory-content .empty-card>svg{width:42px;height:42px;margin-bottom:22px}.memory-content .empty-card h2{font-size:1.2rem;margin:0 0 10px}
.memory-content .empty-card p{font-size:.8rem}.memory-content .back{font-size:.82rem}
.album-empty{text-align:center;padding:0 8px 23px}.album-empty h2{font:500 1.25rem/1.5 "Songti SC",SimSun,serif;margin:12px 0 8px}
.album-empty p{font-size:.8rem;color:#776e60;margin:0}.photo-stack{position:relative;height:232px;display:grid;place-items:center;margin-bottom:12px}
.photo-stack::before,.photo-stack::after,.photo-stack>div{content:"";width:205px;height:176px;border:1px solid #d9cdb8;background:#fffcf4;box-shadow:0 5px 14px #67533512;position:absolute}
.photo-stack::before{transform:rotate(-12deg);background:#d5d6c2}.photo-stack::after{transform:rotate(7deg);background:#e8d9c4}
.photo-stack>div{z-index:1;transform:rotate(-3deg);padding:14px 14px 9px;display:flex;flex-direction:column;align-items:center;gap:12px}
.photo-stack svg{display:block;width:100%;height:113px;padding:26px;background:#e6e3d4;color:#95927b;stroke-width:1}
.photo-stack span{font:500 .64rem/1.6 "Songti SC",SimSun,serif;color:#847361;letter-spacing:.04em}
.create-person{margin-bottom:0}.demo-invite{display:flex;align-items:center;gap:13px;background:#e5e6d7;border:1px solid #d5d5c0;padding:19px 15px;border-radius:6px}
.demo-seal{display:grid;place-items:center;background:#f3f0e5;color:#74785b;border:1px solid #bdbfa4;width:47px;height:51px;flex-shrink:0;font:1.6rem "Songti SC",SimSun,serif}
.demo-invite>span:nth-child(2){flex:1;min-width:0}.demo-invite strong{display:block;font-size:.93rem;font-weight:600}.demo-invite small{display:block;font-size:.7rem;color:#6d705d;margin-top:4px}.invite-arrow{display:flex;color:#6e7657}
.album-list{display:grid;gap:24px;margin-bottom:25px}.album-person{padding:12px 12px 0;background:#fffcf7;border:1px solid #ded4c3;border-radius:3px;box-shadow:3px 4px 0 #e6dccb}
.album-photo{position:relative;background:#e5e1d2;height:235px;overflow:hidden}.album-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;display:block}.album-photo>span{height:100%;display:grid;place-items:center;color:#98947c}.album-photo>span>svg{width:50px;height:50px;stroke-width:1}
.album-person-caption{display:flex;align-items:center;justify-content:space-between;padding:17px 5px 9px;gap:12px}.album-person h2{font-size:1.3rem;overflow-wrap:anywhere;margin:0 0 4px}.album-person-caption>div{min-width:0}.album-person small{color:#857662;overflow-wrap:anywhere}.album-person-caption>span{color:var(--accent)}
.album-person .person-actions{margin-top:8px;justify-content:space-between;border-color:#e9e0d1}.album-person .person-actions button{min-height:44px;padding:6px 5px;font-size:.75rem;color:#7d6756}
.portrait-sheet{background:#fffcf5;border:1px solid var(--border);padding:12px 12px 24px;text-align:center;box-shadow:3px 4px 0 #e6dccb;margin-bottom:25px}.portrait-sheet .album-photo{height:280px}.portrait-sheet h1{font:500 1.85rem/1.5 "Songti SC",SimSun,serif;margin:19px 0 3px;overflow-wrap:anywhere}.portrait-sheet p{margin:0;color:#746554;font-size:.85rem}.portrait-sheet small{display:block;margin-top:15px;font-size:.68rem;color:#89816f}
.memory-content .review div{padding:13px 0;border-color:#e7dece}.memory-content .review dt{font-size:.75rem;color:#8a765e}.memory-content .review dd{font-size:.89rem;line-height:1.9}.memory-page h2{font-size:1.1rem}
.letter-menu{position:relative;border-left:3px solid #a85148!important}.letter-empty{text-align:center;padding:48px 12px 38px}.letter-empty h2{font:500 1.3rem/1.5 "Songti SC",SimSun,serif;margin:33px 0 10px}.letter-empty p{font-size:.8rem;color:#776e60}
.envelope-art{width:190px;height:121px;margin:15px auto;position:relative;background:#ead9b9;border:1px solid #c7b390;transform:rotate(-5deg);box-shadow:6px 7px 0 #d8c9ad44}
.envelope-art::before{content:"";position:absolute;inset:-27px 13px 22px;background:repeating-linear-gradient(#fdf7e9 0 20px,#ded2b9 21px,#fdf7e9 22px);border:1px solid #d0bea0;transform:rotate(4deg)}
.envelope-art::after{content:"";position:absolute;inset:0;background:#e3cdaa;clip-path:polygon(0 0,50% 48%,100% 0,100% 100%,0 100%)}
.envelope-art span{position:absolute;z-index:1;top:48px;left:75px;border:1px solid #ac6254;color:#9a5146;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font:1rem "Songti SC",SimSun,serif}
.feedback-letter{padding:22px 20px;background:#fffaf0;border:1px solid var(--border);margin-bottom:16px;box-shadow:2px 3px 0 #e7ddcc}.feedback-letter>small{display:flex;justify-content:space-between;gap:12px;color:#8a7b67;font-size:.7rem}.feedback-letter p{font-size:.91rem;line-height:1.9;margin:18px 0;white-space:pre-wrap}.feedback-letter .subtle{font-size:.7rem}
.keepsake-cover{position:relative;background:#575e4c;color:#fbf6e9;border:1px solid #70765f;outline:1px solid #ffffff20;outline-offset:-9px;border-radius:6px;padding:24px 22px 16px;box-shadow:4px 5px 0 #ddd3bf}
.cover-caption{display:block;font:500 .69rem/1.6 "Songti SC",SimSun,serif;letter-spacing:.14em;color:#d5d7bf;margin-bottom:23px}.keepsake-cover .account-head{margin:0;gap:14px}.keepsake-cover .account-head .avatar{background:#ece6d6;color:#686950;border:4px solid #f7f1e4;box-shadow:0 2px 4px #0001;border-radius:2px;width:52px;height:60px;font-size:1.8rem;transform:rotate(-5deg)}
.keepsake-cover .account-head>div{min-width:0}.keepsake-cover .account-head h1{font:500 1.3rem/1.5 "Songti SC",SimSun,serif;color:#fff9ec}.keepsake-cover .account-head p{font-size:.73rem;color:#d4d7c7;margin:4px 0 0}.cover-login{display:flex;justify-content:space-between;align-items:center;margin-top:20px;border:1px solid #ffffff55;border-radius:4px;min-height:45px;padding:8px 14px;font-size:.84rem}
.collection-counts{display:grid;grid-template-columns:repeat(3,1fr);margin-top:25px;padding-top:14px;border-top:1px solid #d5d7bf40}.collection-counts a{text-align:center;min-height:57px}.collection-counts strong{display:block;font:1.45rem/1.4 Georgia,serif;color:#f2ead7}.collection-counts span{font-size:.69rem;color:#d4d7c7}
.wallet-card{background:#fffaf0;color:#42392c;border:1px solid var(--border);border-radius:5px;padding:18px;margin:22px 0 18px}.wallet-card a{display:flex;gap:12px}.wallet-card a>span:first-child{display:flex;align-items:center;gap:8px;font-size:.82rem;flex:1}.wallet-card svg{width:20px;color:#8e7754}.wallet-card strong{font:1.45rem Georgia,serif;margin:0}.wallet-card small{font-size:.72rem;font-family:inherit;line-height:1.5;color:#81715d}.wallet-card p{font-size:.69rem;color:#8d7b65;margin:8px 0 0 28px}
.keepsake-tools{display:grid;grid-template-columns:1fr 1fr;gap:14px}.keepsake-tools a{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:7px;background:#e7dece;padding:20px 17px;border:1px solid #d9cbb6;border-radius:4px}.keepsake-tools a:nth-child(2){background:#e2e3d5;border-color:#cdd0ba}.keepsake-tools svg{width:29px;height:29px;color:#8d6e4f;stroke-width:1.25;margin-bottom:7px}.keepsake-tools a:nth-child(2) svg{color:#78805f}.keepsake-tools strong{font:600 1.04rem/1.4 "Songti SC",SimSun,serif}.keepsake-tools small{font-size:.72rem;color:#776b59}
.memory-content .menu{background:#fffcf5;border-radius:5px;border-color:var(--border)}.memory-content .menu a{padding:15px 17px;border-color:#e9e0d1;min-height:59px}.memory-content .menu strong{font-size:.85rem}.memory-content .menu small{font-size:.72rem}.memory-content .menu-icon{color:#8a755e}.memory-content .menu-icon svg{width:21px;height:21px;stroke-width:1.5}
.memory-content .muted-button{border-radius:5px;border-color:#dacfbc;font-size:.8rem;color:#88725c;min-height:45px}.memory-content .page-footer{font-size:.68rem;color:#8d7d68;margin:25px 0 0}
.paper-stamp{display:grid;place-items:center;width:44px;height:50px;border:1px solid #a3574a;outline:1px solid #a3574a;outline-offset:-5px;color:#9a4e44;font:1.6rem "Songti SC",SimSun,serif;transform:rotate(6deg)}
.auth-card>.paper-stamp{margin-bottom:25px}.auth-card .page-intro h1{font-size:1.7rem}.auth-switch{font-size:.8rem;margin:15px 0 0;text-align:center}.memory-content .form-label{font-size:.83rem}.memory-content input:not([type=checkbox]):not([type=radio]):not([type=file]),.memory-content textarea{border-radius:4px;background:#fcf8ef;border-color:#d7cbb6;font-size:.87rem}.memory-content input::placeholder,.memory-content textarea::placeholder{color:#928470}
.memory-content .steps{gap:0;margin-bottom:25px}.memory-content .steps li{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;border:none;color:#92836c;padding:0;font-size:.72rem}.steps li>span{display:grid;place-items:center;z-index:1;width:29px;height:29px;border:1px solid #cdbfa7;background:var(--paper);border-radius:50%;font: .9rem/1 Georgia,serif}.steps li:not(:last-child)::after{content:"";position:absolute;left:65%;right:-35%;top:14px;border-top:1px solid #d9cbb5}.steps li.active>span{background:var(--accent);border-color:var(--accent);color:white}.steps li.done>span{background:#dee2cf;color:#66704f;border-color:#adb797}
.creation-paper h2{font-size:1.13rem}.creation-paper>p{font-size:.78rem;line-height:1.8}.memory-content .upload{min-height:224px;border:1px dashed #b6a588;border-radius:3px;background:#eae5d7;padding:24px 18px}.memory-content .upload>svg{width:42px;height:42px;stroke-width:1.1;color:#8a7f66;margin-bottom:23px}.memory-content .upload strong{font:500 1.05rem/1.5 "Songti SC",SimSun,serif}.memory-content .upload small{font-size:.69rem;color:#7d715e}.memory-content .upload img{border:7px solid #fffcf6;border-radius:0;box-shadow:2px 3px 5px #75604422;margin-bottom:13px}
.memory-content .audio-upload{min-height:175px;background:#e5e7d9}.memory-content .chips button{border-radius:5px;background:#f5efe2;border-color:#ded0ba;font-size:.73rem;min-height:40px}.memory-content .check-label{font-size:.77rem;line-height:1.9}.memory-content .check-label .text-link{font-size:inherit;min-height:0;display:inline}.memory-content .notice{font-size:.76rem;background:#ede4d3;border-radius:4px}
.collection-tabs{display:flex;border-bottom:1px solid #d6c8b2;margin-bottom:25px;gap:30px}.collection-tabs a{padding:9px 8px 12px;min-height:45px;font-size:.89rem;color:#8a7a65}.collection-tabs a[aria-current]{border-bottom:2px solid var(--accent);color:var(--accent);font-weight:600}.memory-content .asset-grid{gap:14px}.memory-content .asset-grid figure{background:#fffcf7;padding:7px;border:1px solid #dcd0bc;box-shadow:2px 3px 0 #e5d9c4}.memory-content .asset-grid img{border-radius:0;height:156px}.asset-grid figcaption{font: .68rem/1.7 Georgia,serif;color:#8b775d;text-align:center;margin:10px 0}.memory-content .asset-grid button{border:0;border-top:1px solid #eee2cd;background:none;font-size:.72rem;color:#826c54;min-height:40px;padding:3px 0;margin:0}
.recording-card{padding:19px 17px;background:#e7e8db;border:1px solid #ced1bc;border-radius:4px;margin-bottom:20px}.recording-heading{display:flex;align-items:center;gap:13px}.recording-card h2{font:600 1rem/1.6 "Songti SC",SimSun,serif;display:flex;align-items:center;gap:10px;margin:0}.recording-card h2>svg{width:20px;color:#76805e}.recording-card small{font-size:.68rem;color:#7d7e69}.recording-icon{border:1px solid #b8bba1;padding:9px;background:#f1f0e4;display:flex;color:#7c815f}.recording-card audio{margin-top:18px;height:43px}.recording-card .muted-button{margin-top:13px;background:transparent;border-color:#c3c8b0;color:#707757;min-height:40px;font-size:.72rem}
.time-ticket{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center;background:#fffaf4;padding:14px 16px;border:1px solid #e6d5c6;margin:0 0 16px;border-radius:12px;color:#897160}.time-ticket>span{font-size:.79rem}.time-ticket .billing-number{grid-column:1;font:600 1.8rem/1.15 Georgia,serif;color:#5b4033;margin:0;overflow-wrap:anywhere}.time-ticket .billing-number small{font-size:.8rem;font-family:inherit;line-height:1.5}.time-ticket>a{grid-column:2;grid-row:1 / 3;display:flex;gap:8px;align-items:center;padding:8px 0 8px 10px;min-height:44px;font-size:.77rem;white-space:nowrap}
.service-preview-art{height:160px;border:9px solid #fffcf5;background:#ded9c7;outline:1px solid #d4c9b5;box-shadow:3px 4px 0 #ded3bf;margin:2px 7px 36px;transform:rotate(-2deg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:#928261}.service-preview-art svg{width:47px;height:47px;stroke-width:1.1}.service-preview-art span{font: .78rem/1.5 "Songti SC",SimSun,serif;letter-spacing:.1em}.letter-preview{background:#e1e4d4}
.support-letter{padding:26px;background:#fffcf5;border:1px solid var(--border);margin-bottom:25px;box-shadow:3px 4px 0 #e5dbc8}.support-letter .paper-stamp{margin-bottom:29px}.support-letter h2{font:500 1.2rem/1.5 "Songti SC",SimSun,serif;margin:0 0 10px}.support-letter p{font-size:.81rem;color:#83755f}.support-letter .quiet-link{border-top:1px solid #e5dac6;margin-top:20px}
.memory-content .feedback-paper textarea{min-height:228px;background:repeating-linear-gradient(#fffaf0 0 33px,#e9dfce 34px,#fffaf0 35px);line-height:35px;padding:12px 10px;font-size:.85rem}.feedback-paper .form-label{margin-top:0}.legal-details{margin:0!important;border-top:0}.legal-details h2{font-size:1rem}.legal-details p{font-size:.8rem!important;line-height:1.9}.tag.available{background:#e4e9d5;color:#5c6a43}
@media(max-width:360px){.keepsake-cover{padding:24px 18px 15px}.keepsake-cover .account-head{gap:11px}.keepsake-cover .account-head h1{font-size:1.14rem}.keepsake-cover .account-head .avatar{width:44px;height:54px}.demo-invite{gap:10px;padding:17px 12px}.demo-invite small{font-size:.66rem}.memory-content .section-card,.memory-content .auth-card{padding:21px 17px}.album-photo{height:209px}.portrait-sheet .album-photo{height:230px}.wallet-card{padding:17px 14px}.wallet-card a{gap:8px}.wallet-card a>span:first-child{font-size:.76rem}.keepsake-tools{gap:12px}.keepsake-tools a{padding:18px 14px}.photo-stack{height:211px}}
.guide-page .material-list{margin:0}.guide-page .material-list li{padding:18px 0;gap:17px}.guide-page .material-list li:first-child{padding-top:0}.guide-page .material-list h2{font-size:1rem;margin-bottom:7px}.guide-page .material-list p{font-size:.78rem;line-height:1.9}.guide-page .material-list li:last-child{padding-bottom:0}.guide-journey{padding-left:20px;margin-bottom:0;color:#71614d;font-size:.82rem;line-height:1.9}.guide-journey li{padding:5px 0}.guide-contact{margin:30px 0;text-align:center}.guide-contact h2{font-size:1.15rem}.guide-contact p{font-size:.8rem;color:#80735e}.guide-page .section-card>.availability-line{font-size:.73rem;margin-top:17px}.guide-page .ai-note{line-height:1.9}
/* Public-account entry and time purchase: same mobile paper style. */
.entry-steps{list-style:none;padding:0;margin:0}.entry-steps li{display:flex;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid var(--border)}.entry-steps li:last-child{border:0}.entry-steps li>span{font:1.15rem Georgia,serif;color:#a78360}.entry-steps strong,.entry-steps small{display:block}.entry-steps strong{font-size:.94rem}.entry-steps small{font-size:.75rem;color:var(--muted);margin-top:5px}.time-plans{display:grid;gap:12px}.time-plan{display:flex;align-items:center;gap:10px;border:1px solid var(--border);padding:15px 10px;border-radius:5px;cursor:pointer}.time-plan:has(input:checked){border-color:var(--accent);background:#f4e9df}.time-plan input{width:18px;height:18px;accent-color:var(--accent)}.time-plan>span{min-width:0;flex:1}.time-plan strong,.time-plan small{display:block;overflow-wrap:anywhere}.time-plan strong{font-size:.87rem}.time-plan small{color:var(--muted);font-size:.7rem;margin-top:5px}.time-plan b{font:1.1rem Georgia,serif;color:var(--accent)}.purchase-terms{white-space:pre-wrap}.order-amount{font:2rem/1.5 Georgia,serif;color:var(--accent)}.order-list a{gap:9px!important}.order-list a>strong{font:1rem Georgia,serif;white-space:nowrap}

/* Mobile memory album: strong task titles, quiet paper and familiar keepsakes. */
:root {
  --paper:#faf6ee; --card:#fffdf8; --accent:#a34732; --muted:#72685d;
  --border:#e5d9c9; --soft:#f3e5d7; color:#30271f; background:#e9e3d9;
}
.app-header { height:auto; min-height:78px; padding:15px 20px; background:#faf6ee; }
.brand { font-size:1.42rem; }
.brand-seal { border-radius:4px; background:var(--accent); outline:1px solid #f5c8ae; outline-offset:-5px; }
.brand small { color:#786a5c; letter-spacing:.06em; }
.header-guide { font-size:.81rem; color:#5a493b; gap:6px; }
main, main.home-page { padding:26px 20px calc(105px + env(safe-area-inset-bottom)); }
.memory-content { background:none; }
.primary, .memory-content .primary { border-radius:10px; min-height:52px; font-size:1rem; font-weight:700; }
.primary:hover { background:#883623; }
.secondary, .memory-content .secondary { border-radius:10px; min-height:50px; color:#674b39; }
.memory-content h2 { font-family:inherit; font-weight:700; }
.memory-content .page-intro h1 { font:750 1.8rem/1.35 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; letter-spacing:0; }
.memory-content .page-intro p { font-size:.88rem; color:var(--muted); }
.page-intro .kicker { font-size:.75rem; margin-bottom:10px; }
.memory-content .section-card, .memory-content .auth-card { border-radius:12px; box-shadow:none; padding:22px 20px; }
.memory-content .section-card h2, .creation-paper h2 { font-size:1.18rem; }
.memory-content .section-card p, .creation-paper>p { font-size:.88rem; line-height:1.8; }
.memory-content .form-label { font-size:.95rem; }
.memory-content input:not([type=checkbox]):not([type=radio]):not([type=file]), .memory-content textarea { font-size:1rem; border-radius:8px; }
.memory-content .check-label { font-size:.85rem; }
.memory-content .steps li { font-size:.84rem; }
.memory-content .notice, .availability-line { font-size:.79rem; line-height:1.8; }
.memory-content .upload strong { font-family:inherit; font-size:1.13rem; font-weight:700; line-height:1.5; }
.memory-content .upload small { font-size:.78rem; }
.memory-content .review dt { font-size:.84rem; }
.memory-content .review dd { font-size:.96rem; }
.memory-content .empty-card { border-radius:12px; }
.memory-content .empty-card h2 { font-family:inherit; font-size:1.18rem; font-weight:700; line-height:1.5; }
.memory-content .empty-card p { font-size:.86rem; }
.memory-content .menu { border-radius:12px; }
.memory-content .menu a { min-height:64px; padding:16px; }
.memory-content .menu strong { font-size:.98rem; color:#3c2e24; }
.memory-content .menu small { font-size:.8rem; }
.group-title { font-size:.86rem; color:#746353; margin-top:26px; }
.quiet-link, .memory-content .back { font-size:.86rem; }
.quiet-details { font-size:.89rem; color:#574839; }
.quiet-details summary { font-weight:650; }
.quiet-details p, .legal-details p { font-size:.86rem!important; }
.section-heading h2 { font:750 1.3rem/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; letter-spacing:0; margin:4px 0 0; }
.section-heading .text-link { font-size:.8rem; }
.section-note { font-size:.75rem; color:#786b5f; }
.eyebrow { font-size:.73rem; letter-spacing:.08em; }
.bottom-nav { background:#fffcf7f7; box-shadow:0 -6px 22px #60452405; }
.bottom-nav a { font-size:.77rem; color:#71665b; }
.bottom-nav a[aria-current="page"] { color:var(--accent); }

/* Home: the contact and its action fit into the first phone screen. */
.home-hero { display:flex; flex-direction:column; min-height:0; background:none; overflow:visible; border-radius:0; }
.site-announcement { padding:12px 14px; border-left:3px solid var(--accent); background:#efe5d7; color:#644a36; white-space:pre-wrap; overflow-wrap:anywhere; font-size:.85rem; }
.call-heading { display:flex; align-items:center; justify-content:flex-end; gap:10px; }
.call-heading .text-link { font-size:.8rem; min-height:32px; }
.home-hero h1 { font:700 2rem/1.4 "Songti SC",SimSun,serif; letter-spacing:.02em; margin:9px 0 18px; }
.call-person { display:flex; align-items:center; gap:12px; padding:15px 13px; background:#fffdf8; border:1px solid #dfc5ad; border-radius:14px; box-shadow:0 5px 0 #efe5d7; }
.call-photo { width:66px; height:84px; position:relative; flex-shrink:0; padding:3px 3px 17px; background:#faf0dc; border:1px solid #e1cfb6; transform:rotate(-3deg); }
.call-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 30%; filter:sepia(.1); }
.call-photo>span { position:absolute; bottom:0; left:0; right:0; text-align:center; font-size:.58rem; line-height:16px; color:#6e5b44; }
.call-person-info { flex:1; min-width:0; }
.call-person-info h2 { display:flex; flex-wrap:wrap; align-items:center; gap:5px 7px; font:750 1.12rem/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; letter-spacing:0; margin:0 0 5px; }
.demo-label { display:inline-block; font-size:.61rem; color:#9a4d36; border:1px solid #e7c0aa; background:#f9ebe0; border-radius:4px; padding:2px 5px; font-weight:500; }
.call-person-info p { font-size:.78rem; margin:0 0 5px; color:#665441; }
.call-status { display:inline-flex; align-items:center; gap:5px; font-size:.75rem; color:#52603e; }
.call-status::before { content:""; width:5px; height:5px; background:#728457; border-radius:50%; }
.call-button { display:flex; flex-direction:column; justify-content:center; align-items:center; flex-shrink:0; gap:3px; min-height:60px; min-width:78px; padding:9px 8px; border:1px solid var(--accent); border-radius:9px; background:var(--accent); color:#fffdf8; font-size:.81rem; font-weight:700; }
.call-button svg { width:22px; height:22px; }
.home-hero .create-person { margin-top:21px; justify-content:space-between; padding-inline:20px; background:#fffcf6; border-color:#c79a78; color:#783b25; }
.home-hero .availability-line { margin:11px 0 0; font-size:.73rem; }
.home-section { margin-top:32px; }
.memory-services { border-top:1px solid var(--border); padding-top:27px; }
.memory-services .section-heading { margin-bottom:18px; }
.featured-service { background:#eee2d0; color:#3e2e20; border:1px solid #e0cdb2; border-radius:12px; padding:20px 18px; min-height:158px; gap:12px; align-items:flex-start; }
.featured-service>div:first-child { flex:1; min-width:0; }
.service-category { color:#7f6041; font-size:.74rem; }
.featured-service h3 { font-size:1.28rem; margin:8px 0; letter-spacing:0; }
.featured-service p { font-size:.82rem; color:#725a42; margin:0 0 14px; }
.service-link { font-size:.81rem; gap:16px; }
.featured-service>small { right:18px; bottom:12px; color:#efd2ba; font-size:.66rem; }
.keepsake-photo { width:83px; height:118px; background:#f4e7ca; padding:5px 5px 20px; box-shadow:4px 6px 0 #21150f20; transform:rotate(7deg); position:relative; flex-shrink:0; margin-top:4px; }
.keepsake-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 28%; filter:sepia(.25); }
.keepsake-photo>span { position:absolute; bottom:2px; left:0; right:0; text-align:center; color:#6e5942; font-size:.6rem; line-height:18px; }
.service-grid { gap:12px; margin-top:12px; }
.service-tile { padding:18px 15px; border:1px solid #e0d6c1; background:#e9e9dc; border-radius:12px; }
.service-tile:nth-child(2) { background:#f0e4d7; border-color:#e7d3c0; }
.tile-top { margin-bottom:14px; }
.tile-top>span { font-size:.68rem; color:#736751; }
.tile-top svg { width:26px; height:26px; }
.service-tile h3 { font-size:1.07rem; margin:0 0 7px; letter-spacing:0; }
.service-tile p { font-size:.77rem; line-height:1.75; color:#6c6254; margin-bottom:17px; }
.tile-bottom { font-size:.75rem; color:#624936; }
.text-service { padding:18px 0; gap:12px; }
.text-service strong { font-size:1rem; }
.text-service small { font-size:.76rem; color:#776858; }
.text-service>span:last-child { flex-shrink:0; font-size:.7rem; }
.home-guide { display:flex; align-items:center; gap:13px; padding:21px 0; margin-top:16px; border-bottom:1px solid var(--border); }
.guide-seal { width:42px; height:49px; display:grid; place-items:center; flex-shrink:0; border:1px solid #bb775a; outline:1px solid #bb775a; outline-offset:-5px; color:#a34732; font:1.55rem "Songti SC",SimSun,serif; transform:rotate(-4deg); }
.home-guide>span:nth-child(2) { flex:1; }
.home-guide strong { display:block; font-size:1rem; }
.home-guide small { display:block; font-size:.79rem; color:#756250; margin-top:4px; }
.site-filing { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:0 12px; margin-top:26px; padding-top:14px; border-top:1px solid var(--border); text-align:center; font-size:11px; color:#786957; }
.site-filing a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; white-space:nowrap; }

/* A small album of services: equal covers, concise titles and one shared status. */
.memory-workshop .section-heading { align-items:flex-end; gap:10px; }
.memory-workshop .section-heading h2 { font-size:1.45rem; margin-top:5px; }
.workshop-status { font-size:.67rem; line-height:1.6; color:#766453; text-align:right; white-space:nowrap; }
.memory-workshop-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
.memory-service-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #dfd1bc; border-radius:10px; background:#fffcf5; box-shadow:0 3px 0 #dfd1bc40; }
.memory-workshop-grid .memory-service-card { flex-direction:column; }
.memory-service-card .memory-service-art { width:100%; height:136px; flex-shrink:0; }
.memory-service-card .memory-service-copy { padding:17px 20px 29px; }
.memory-service-art { height:134px; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; background:#e8decd; }
.memory-service-copy { position:relative; flex:1; padding:14px 12px 30px; }
.memory-service-copy h3 { font:750 1.2rem/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; letter-spacing:0; margin:0 0 9px; color:#34251c; }
.memory-service-copy p { font-size:.84rem; line-height:1.75; color:#6d5a49; margin:0; }
.memory-service-arrow { position:absolute; right:12px; bottom:8px; color:var(--accent); font-size:1rem; }
.album-print { width:77px; height:104px; padding:5px 5px 16px; background:#fff9e9; box-shadow:3px 5px 8px #58432a26; transform:rotate(-8deg); }
.album-print img,.restoration-print img { display:block; width:100%; height:100%; object-fit:cover; object-position:50% 28%; }
.voice-art { background:radial-gradient(ellipse at 50% 50%,#f2e8d7,#e2d1b8); }
.video-play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); display:grid; place-items:center; width:44px; height:44px; border:1px solid #ffffff80; border-radius:50%; background:#5b3e3233; box-shadow:0 2px 6px #35251c1a; }
.video-play i { width:0; height:0; margin-left:3px; border-top:8px solid transparent; border-bottom:8px solid transparent; border-left:12px solid #fffaf1; }
.support-qr { margin:20px 0 0; text-align:center; }
.support-qr img { display:block; width:100%; max-width:240px; height:auto; margin:0 auto; background:white; }
.support-qr figcaption { margin:12px auto 0; max-width:260px; }
.support-qr figcaption strong { display:block; font-size:.88rem; font-weight:600; }
.support-qr figcaption span { display:block; margin-top:6px; font-size:.75rem; line-height:1.7; color:var(--muted); }
.support-qr-save { display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin-top:6px; font-size:.8rem; color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.art-caption { position:absolute; top:8px; right:8px; font-size:9px; color:#695746; background:#fff9e9db; padding:2px 5px; border-radius:3px; }
.restore-art { background:#dde0d0; }
.restoration-print { position:relative; width:102px; height:110px; padding:5px; background:#fffcf2; box-shadow:2px 4px 8px #42483324; transform:rotate(5deg); }
.faded-half { position:absolute; inset:5px; clip-path:inset(0 50% 0 0); filter:sepia(1) contrast(.65) brightness(1.12); }
.restoration-line { position:absolute; left:50%; top:5px; bottom:5px; border-left:1px solid #fff9e5; }
.together-art { background:#e8d9cd; }
.reunion-frame { display:block; width:112px; height:108px; padding:5px 5px 13px; border:1px solid #c9ac8c; background:#faf1df; box-shadow:4px 4px 0 #b99b7f3d; transform:rotate(-4deg); }
.reunion-frame img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 30%; }
.letter-art { background:#e1e0d5; }
.memory-letter { display:block; position:relative; width:105px; height:101px; padding:16px 13px; background:#fffae9; box-shadow:3px 5px 0 #b3aa9438; transform:rotate(7deg); }
.memory-letter>span { font:13px "Songti SC",SimSun,serif; color:#70583d; }
.memory-letter i { display:block; height:1px; margin-top:9px; background:#d7c7ac; }.memory-letter i:nth-of-type(3) { width:55%; }
.memory-letter b { position:absolute; bottom:8px; right:9px; color:#a55038; border:1px solid #ba7b60; padding:1px 3px; font:13px "Songti SC",SimSun,serif; }
.workshop-guide { margin-top:18px; padding:15px; border:1px solid #dfd1bc; border-radius:9px; background:#f0e9dc; }
.workshop-guide .guide-seal { width:32px; height:38px; font-size:1.2rem; }
.workshop-guide strong { font-family:inherit; font-size:.94rem; }
@media(max-width:360px) { .memory-workshop-grid{gap:10px}.memory-service-card .memory-service-art{height:124px}.memory-service-card .memory-service-copy{padding:15px 16px 27px}.memory-service-copy h3{font-size:1.1rem}.memory-service-copy p{font-size:.8rem} }
.services-page .section-heading { margin-bottom:10px; }
.services-page .section-heading h1 { margin:0; font-size:1.35rem; }
.services-page .section-heading h2 { margin:1px 0 0; font-size:.82rem; font-weight:600; color:#766453; }
.services-page .memory-workshop-grid { gap:10px; }
.services-page .memory-service-card { flex-direction:row; min-height:118px; }
.services-page .memory-service-card .memory-service-art { width:112px; height:auto; min-height:118px; }
.services-page .memory-service-card .memory-service-copy { align-self:center; padding:12px 24px 16px 15px; }
.services-page .memory-service-copy h3 { font-size:1.03rem; line-height:1.35; margin-bottom:6px; }
.services-page .memory-service-copy p { font-size:.76rem; line-height:1.55; }
.restore-selected { display:block; width:100%; max-height:260px; object-fit:contain; margin:10px 0 18px; background:#eee7d9; border-radius:8px; }
#restore-file,#restore-source { display:block; width:100%; min-width:0; max-width:100%; }
.restore-history { margin-top:24px; }
.restore-history>h2 { font-size:1.1rem; }
.restore-request { display:flex; gap:15px; align-items:flex-start; }
.restore-request img { width:76px; height:94px; object-fit:cover; flex:none; border:4px solid #f4ebdd; }
.restore-request>div { min-width:0; }
.restore-request strong,.restore-request small { display:block; }
.restore-request small { color:var(--muted); font-size:.72rem; margin-top:4px; }
.restore-request p { overflow-wrap:anywhere; }
.restore-request .secondary { margin-bottom:8px; }
.point-plan { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--border); font-size:.86rem; }
.point-plan span { color:var(--accent); white-space:nowrap; }
.account-points { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:10px 0 20px; padding:15px 17px; border:1px solid var(--border); border-radius:10px; background:#fffdfa; color:var(--muted); font-size:.76rem; text-decoration:none; }
.account-points strong { color:var(--accent); font-size:1.25rem; }
main[data-page="services"] { padding-top:8px; }
main[data-page="services"] .site-announcement { margin:0 0 12px; padding:9px 11px; font-size:.75rem; }
main[data-page="services"] .site-filing { margin-top:8px; padding-top:7px; }
@media(max-width:360px) { .services-page .memory-service-card .memory-service-art { width:98px; min-height:118px; }.services-page .memory-service-card .memory-service-copy { padding:10px 21px 13px 12px; }.services-page .memory-service-copy h3 { font-size:.95rem; }.services-page .memory-service-copy p { font-size:.72rem; }.services-page .reunion-frame,.services-page .restoration-print { transform:scale(.82) rotate(-4deg); } }
.home-footer { margin:24px 0 0; padding-top:0; }
.home-footer>strong { font:700 1.5rem "Songti SC",SimSun,serif; color:#77523c; }
.home-footer>span { color:#826d57; }
.home-footer p { font-size:.72rem; }

/* Three main destinations; saved people now appear on the home page. */
.bottom-nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
.home-profiles { margin-top:28px; }
.contacts-empty { display:flex; gap:18px; align-items:center; padding:25px 18px; margin:0 0 22px; background:#f1e8da; border:1px dashed #cdbc9f; border-radius:12px; }
.contacts-empty h2 { font-size:1.1rem; margin:0 0 6px; }
.contacts-empty p { font-size:.82rem; color:#78634d; margin:0; }
.empty-photo { width:59px; height:72px; flex-shrink:0; display:grid; place-items:center; background:#dedbca; border:5px solid #fffaf0; border-bottom-width:16px; box-shadow:2px 3px 0 #ceb99e50; transform:rotate(-7deg); color:#857958; }
.album-list { gap:16px; margin-bottom:22px; }
.saved-person { background:var(--card); border:1px solid var(--border); border-radius:12px; padding:15px 15px 0; }
.saved-person-main { display:flex; gap:12px; align-items:center; }
.saved-person-photo { width:61px; height:78px; background:#e9e1d1; border:4px solid #f4ebdd; border-bottom-width:12px; display:grid; place-items:center; flex-shrink:0; }
.saved-person-photo img { width:100%; height:100%; object-fit:cover; }
.saved-person-main>div:nth-child(2) { flex:1; min-width:0; }
.saved-person h2 { font-size:1.13rem; overflow-wrap:anywhere; margin:0 0 4px; }
.saved-person p { font-size:.78rem; color:var(--muted); overflow-wrap:anywhere; margin:0 0 5px; }
.saved-label { font-size:.68rem; color:#65704e; background:#edf0e1; padding:3px 6px; border-radius:3px; }
.person-open { display:flex; align-items:center; gap:2px; color:var(--accent); font-size:.8rem; flex-shrink:0; }
.person-open svg { transform:rotate(180deg); width:14px; height:14px; }
.saved-person .person-actions { justify-content:space-between; margin-top:12px; padding-top:1px; }
.saved-person .person-actions button { font-size:.8rem; min-height:44px; }

/* Account: an album cover, a readable balance and two recognizable keepsakes. */
.keepsake-cover { padding:20px 20px 15px; background:#45543e; border:1px solid #405039; outline:1px solid #d3cba044; outline-offset:-7px; border-radius:12px; box-shadow:0 5px 0 #e3d6be; }
.cover-caption { font-family:inherit; font-size:.72rem; font-weight:600; line-height:1.6; letter-spacing:.12em; color:#e0d4b6; margin-bottom:10px; }
.keepsake-cover .account-head { justify-content:space-between; gap:15px; }
.keepsake-cover .account-head h1 { font:750 1.65rem/1.35 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; letter-spacing:0; color:#fff9e9; margin:0; }
.keepsake-cover .account-head p { color:#e1dfce; font-size:.78rem; margin:8px 0 0; }
.keepsake-cover .account-head .avatar { width:45px; height:52px; flex-shrink:0; color:#7a583a; font-size:1.9rem; background:#eee3c8; transform:rotate(7deg); }
.cover-login { min-height:44px; background:#f8edda; color:#503720; border:0; border-radius:7px; font-size:.94rem; font-weight:750; padding:10px 15px; margin-top:14px; }
.collection-counts { margin-top:14px; padding-top:10px; border-color:#d8cfb247; }
.collection-counts strong { font:500 1.8rem/1.25 Georgia,serif; color:#fff3d5; }
.collection-counts span { font-size:.74rem; color:#e7e0cb; }
.collection-counts a { min-height:54px; border-right:1px solid #d8cfb22c; }
.collection-counts a:last-child { border:0; }
.account-wallet { display:flex; justify-content:space-between; align-items:center; gap:12px; background:#fffaf0; border:1px solid #e3ceb3; border-radius:12px; padding:18px 20px; margin:24px 0; }
.wallet-label { display:flex; align-items:center; gap:7px; font-size:.85rem; font-weight:600; color:#6d5137; }
.wallet-label svg { width:18px; height:18px; }
.account-wallet strong { display:block; font:600 2.55rem/1.15 Georgia,serif; color:#3f2f21; margin:9px 0 7px; }
.account-wallet strong small { font:400 .8rem/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; color:#6e5c48; }
.account-wallet p { font-size:.73rem; color:#826443; margin:0; }
.wallet-action { display:flex; align-items:center; gap:10px; color:#963f2c; font-size:.8rem; font-weight:700; border:1px solid #dfbba1; padding:10px; border-radius:7px; flex-shrink:0; }
.collection-heading { margin-bottom:13px; }
.keepsake-tools { gap:12px; }
.keepsake-tools a { gap:7px; padding:19px 15px 17px; background:#f0e3ce; border-color:#e2cfb2; border-radius:10px; overflow:hidden; }
.keepsake-tools a:nth-child(2) { background:#e6e8d8; border-color:#cfd4b8; }
.keepsake-tools strong { display:flex; justify-content:space-between; width:100%; gap:5px; font:750 1.08rem/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; color:#3e3022; }
.keepsake-tools strong>span { font-size:.85rem; color:#8b694d; }
.keepsake-tools small { font-size:.7rem; line-height:1.6; color:#6f604c; }
.album-mini { width:60px; height:53px; margin:3px 0 15px 3px; background:#c6c0a4; border:5px solid #fff8e8; border-bottom-width:12px; transform:rotate(-7deg); box-shadow:5px 4px 0 #d7bea0; display:grid; place-items:center; }
.keepsake-tools .album-mini svg { width:27px; height:27px; margin:0; color:#746e53; }
.tape-mini { width:72px; height:48px; margin:6px 0 17px; border:3px solid #949b7b; border-radius:6px; background:#f5f0db; display:flex; justify-content:space-between; align-items:center; padding:7px 8px; position:relative; transform:rotate(4deg); box-shadow:3px 4px 0 #c6cbb660; }
.tape-mini::before { content:""; position:absolute; left:12px; right:12px; top:14px; height:7px; background:#8b9176; }
.tape-mini i { width:15px; height:15px; border:4px solid #8b9176; border-radius:50%; background:#f5f0db; position:relative; }
.tape-mini::after { content:""; position:absolute; width:25px; height:6px; border:2px solid #8b9176; border-bottom:0; bottom:0; left:20px; }

/* Guide: three essentials, with supporting details one tap away. */
.guide-page .guide-intro { margin-bottom:24px; position:relative; }
.guide-intro .kicker { font-size:.76rem; }
.guide-page .guide-intro h1 { font:700 2rem/1.4 "Songti SC",SimSun,serif; letter-spacing:.02em; margin:0 0 9px; }
.guide-intro em { font-style:normal; color:var(--accent); }
.guide-checklist { list-style:none; padding:0; margin:0 0 24px; display:grid; gap:12px; }
.guide-checklist li { display:flex; align-items:center; gap:16px; padding:20px 17px; border:1px solid #e2d4bf; background:#fffdf7; border-radius:12px; box-shadow:0 3px 0 #efe5d5; }
.material-symbol { width:48px; height:56px; flex-shrink:0; display:grid; place-items:center; color:#a56841; background:#f1e5d0; }
.material-symbol svg { width:28px; height:28px; stroke-width:1.6; }
.photo-symbol { border:4px solid #faf1de; border-bottom-width:12px; transform:rotate(-5deg); outline:1px solid #dac6a3; }
.voice-symbol { background:#e9ecdc; color:#6b7852; border-radius:24px 24px 6px 6px; }
.words-symbol { background:repeating-linear-gradient(#f7ede0 0 13px,#e7d4ba 14px,#f7ede0 15px); color:#aa7053; border:1px solid #e0cbb1; transform:rotate(3deg); }
.material-kicker { font-size:.67rem; letter-spacing:.06em; font-weight:600; color:#8e7456; }
.guide-checklist h2 { font:750 1.25rem/1.45 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; letter-spacing:0; margin:4px 0; }
.guide-checklist h2 em { color:var(--accent); font-style:normal; }
.guide-checklist p { font-size:.8rem; color:#786751; margin:0; line-height:1.8; }
.guide-questions { border-block:1px solid var(--border); margin-bottom:29px; }
.guide-questions .quiet-details { border:0; border-bottom:1px solid var(--border); margin:0; }
.guide-questions .quiet-details:last-child { border-bottom:0; }
.guide-questions summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:17px 0; font-size:.88rem; }
.guide-questions summary::-webkit-details-marker { display:none; }
.guide-questions summary::after { content:"+"; font-size:1.2rem; color:var(--accent); }
.guide-questions details[open] summary::after { content:"−"; }
.guide-questions strong { color:#403326; }
.guide-process h2 { font-size:1.25rem; margin-bottom:20px; }
.guide-flow { list-style:none; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0 0 18px; }
.guide-flow li { display:flex; flex-direction:column; gap:8px; align-items:center; position:relative; }
.guide-flow li:not(:last-child)::after { content:""; position:absolute; top:17px; left:65%; width:70%; border-top:1px dashed #c8b291; }
.guide-flow span { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; border:1px solid #d3b995; background:#f1e6d3; font:.9rem Georgia,serif; color:#976441; }
.guide-flow strong { font-size:.88rem; color:#4b3927; }
.guide-process>p { font-size:.8rem; color:#7b6852; line-height:1.85; margin-bottom:0; }
.guide-contact { background:#ece6d6; border:1px solid #ddd0b9; border-radius:12px; padding:23px 20px 5px; margin:26px 0 20px; text-align:left; }
.guide-contact .kicker { font-size:.73rem; color:#8c6244; }
.guide-contact h2 { font-size:1.25rem; margin:0 0 20px; }
.guide-contact .primary { justify-content:space-between; font-size:.92rem; }
.guide-contact .quiet-link { margin-top:8px; font-size:.8rem; }
.guide-page .ai-note { font-size:.73rem; color:#7b7062; }

.message-refresh { border:0; background:transparent; padding:8px 0; cursor:pointer; }
.feedback-letter { overflow-wrap:anywhere; }
.feedback-reply { border-top:1px solid var(--border); padding-top:16px; color:#535c46; }
.feedback-reply strong { font-size:.88rem; }
.feedback-reply p { margin:10px 0; }
.feedback-reply small { display:block; color:var(--muted); font-size:.72rem; }
.bottom-nav .unread-badge { position:absolute; top:3px; left:calc(50% + 9px); background:var(--accent); color:white; min-width:18px; height:18px; padding:0 4px; border-radius:12px; font-size:10px; line-height:18px; text-align:center; }
.profile-details { border-top:1px solid var(--border); margin-top:22px; }
.profile-details summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:70px; list-style:none; cursor:pointer; padding:16px 0 0; color:#593f2b; font-size:.95rem; font-weight:700; }
.profile-details summary::-webkit-details-marker { display:none; }
.profile-details summary::after { content:"+"; font-size:1.3rem; color:var(--accent); }
.profile-details[open] summary::after { content:"−"; }
.profile-details summary small { display:block; margin-top:4px; color:#78634d; font-size:.77rem; font-weight:400; }
.memory-content .chips button { min-height:44px; padding:8px 12px; }
.personality-chips { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.memory-content .personality-chips button { min-width:0; padding:8px 4px; line-height:1.5; }
.home-footer a { display:inline-flex; align-items:center; min-height:44px; padding:5px 8px; font-size:.78rem; }
.home-guide small, .keepsake-tools small { font-size:.77rem; }
.guide-questions summary:focus-visible, .profile-details summary:focus-visible { outline:3px solid #826c49; outline-offset:4px; border-radius:4px; }
html { scroll-padding-bottom:calc(105px + env(safe-area-inset-bottom)); }
input, textarea, button { scroll-margin-bottom:calc(100px + env(safe-area-inset-bottom)); }
main[data-page="create"] { padding-bottom:calc(190px + env(safe-area-inset-bottom)); }
.creation-actions { position:fixed; z-index:25; left:50%; transform:translateX(-50%); bottom:calc(73px + env(safe-area-inset-bottom)); width:calc(100% - 40px); max-width:440px; background:#faf6eef5; border-top:1px solid var(--border); padding:12px 0; margin:0; backdrop-filter:blur(12px); }
body:has(main[data-page="create"]) #toast { bottom:calc(165px + env(safe-area-inset-bottom)); }

@media (max-width:360px) {
  main, main.home-page { padding-inline:16px; }
  .creation-actions { width:calc(100% - 32px); }
  .app-header { padding-inline:16px; }
  .home-hero h1, .guide-page .guide-intro h1 { font-size:1.85rem; }
  .call-person { gap:9px; padding:13px 10px; }
  .call-photo { width:54px; height:75px; }
  .call-button { min-width:67px; font-size:.7rem; padding-inline:7px; }
  .call-person-info h2 { font-size:1.05rem; }
  .demo-label { font-size:.58rem; }
  .featured-service { padding-inline:15px; }
  .keepsake-photo { width:66px; height:102px; }
  .featured-service h3 { font-size:1.18rem; }
  .featured-service p { font-size:.74rem; }
  .service-tile { padding:16px 12px; }
  .keepsake-cover { padding:22px 17px 14px; }
  .keepsake-cover .account-head h1 { font-size:1.48rem; }
  .account-wallet { padding:18px 15px; gap:9px; }
  .wallet-action { font-size:.74rem; padding:9px 7px; gap:5px; }
  .keepsake-tools a { padding:18px 12px 16px; }
  .keepsake-tools strong { font-size:1rem; }
  .guide-checklist li { gap:12px; padding:18px 13px; }
  .material-symbol { width:42px; height:50px; }
  .guide-checklist h2 { font-size:1.13rem; }
  .guide-contact { padding-inline:16px; }
}

/* Compact service prices and clear requirements before an upload. */
.services-page .memory-service-card { min-height:130px; }
.services-page .memory-service-card .memory-service-art { width:96px; min-height:130px; }
.services-page .memory-service-card .memory-service-copy { padding:11px 22px 11px 13px; }
.services-page .memory-service-copy h3 { font-size:1rem; margin-bottom:3px; }
.services-page .memory-service-copy p { font-size:.75rem; line-height:1.4; }
.service-requirement { display:block; margin-top:4px; color:#806e61; font-size:.69rem; line-height:1.4; }
.service-price { display:block; margin-top:6px; color:var(--accent); font-size:.77rem; line-height:1.4; font-weight:700; }
.service-price em { margin-left:5px; color:#80736a; font-size:.68rem; font-style:normal; font-weight:500; }
.service-price-note { margin:10px 2px 0; color:var(--muted); font-size:.69rem; line-height:1.5; }
.restore-guide dl,.preview-requirements dl { margin:10px 0 0; }
.restore-guide dl>div,.preview-requirements dl>div { display:grid; grid-template-columns:72px minmax(0,1fr); gap:8px; padding:9px 0; border-top:1px solid var(--border); }
.restore-guide dt,.preview-requirements dt { color:#4d3c32; font-size:.78rem; font-weight:700; }
.restore-guide dd,.preview-requirements dd { margin:0; color:#715d52; font-size:.78rem; line-height:1.6; }
.restore-action { margin-top:12px; }

.signed-out main { padding-bottom:24px; }
.signed-out .app-header { height:90px; }
.welcome-card { position:relative; overflow:hidden; margin:14px 0 0; padding:40px 28px 28px; border:1px solid #e6cebd; border-radius:32px 14px 32px 14px; background:linear-gradient(145deg,#fffdf9,#f3e6d8); box-shadow:0 20px 45px #79513712; }
.welcome-card:before { content:""; position:absolute; width:180px; height:180px; top:28px; right:-100px; border:1px solid #d7b69b; border-radius:50%; box-shadow:0 0 0 22px #d7b69b0b,0 0 0 45px #d7b69b08; pointer-events:none; }
.welcome-seal { display:grid; place-items:center; width:58px; height:58px; margin-bottom:26px; color:#a35e46; border:1px solid #d8b59e; border-radius:18px 6px 18px 6px; background:#fffaf3; font:32px/1.2 "Songti SC",SimSun,serif; }
.welcome-eyebrow { color:#966e58; font-size:.76rem; letter-spacing:.12em; margin-bottom:14px; }
.welcome-card h1 { position:relative; font:500 clamp(1.35rem,5.6vw,1.8rem)/1.65 "Songti SC",SimSun,serif; color:#56443b; letter-spacing:.03em; margin-bottom:20px; }
.welcome-copy { color:#887469; font-size:.88rem; line-height:1.9; margin-bottom:30px; }
.welcome-card .button-row { margin-top:0; }
.welcome-caption { color:#998576; text-align:center; font-size:.72rem; margin:15px 0 0; }
.welcome-note { margin:23px 0 30px; text-align:center; font-size:.72rem; color:#a18e80; }
@media(max-width:360px){.welcome-card{padding:30px 21px 24px}.welcome-card h1{font-size:1.3rem}.welcome-caption{font-size:.67rem}}

/* Keep account actions as a quiet, scannable list. */
.recharge-catalog { margin:20px 0; }
.catalog-intro h2 { margin-bottom:8px; font-size:1.25rem; }
.catalog-intro>p,.renewal-heading>p { color:#857166; font-size:.76rem; line-height:1.7; }
.recharge-plan { margin:15px 0; padding:21px 20px 18px; border:1px solid #e3cdbc; border-radius:17px; background:#fffdf9; }
.plan-heading { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.plan-heading h3 { margin:0; font-size:1.04rem; color:#4e392e; }
.plan-price { color:#ad3b31; font:700 1.65rem/1.25 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; white-space:nowrap; }
.plan-price small { color:#8a7367; font-size:.72rem; font-weight:400; }
.plan-limit { display:inline-block; margin-top:10px; color:#9e503b; background:#f8ece3; border-radius:5px; padding:3px 8px; font-size:.73rem; font-weight:600; }
.plan-rights { margin:16px 0 12px; color:#6a5143; font-size:.81rem; line-height:1.8; }
.trial-limits { padding-left:16px; margin:0 0 17px; color:#8c786c; font-size:.75rem; line-height:1.8; }
.trial-limits li+li { margin-top:5px; }
.plan-select { display:flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:10px 12px; border:1px solid #b54035; border-radius:10px; background:#b54035; color:#fff; font-size:.88rem; font-weight:650; box-shadow:0 5px 12px #ac40351a; }
.plan-select:hover { background:#9b3028; }
.recharge-plan.is-trial { padding:13px 16px; border-radius:12px; }
.is-trial .plan-heading h3 { display:flex; align-items:center; flex-wrap:wrap; gap:5px 8px; font-size:.94rem; }
.trial-once { font-size:.64rem; line-height:1.5; font-weight:400; white-space:nowrap; color:#987565; }
.is-trial .plan-price { font-size:1.35rem; }
.trial-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:8px 0 6px; }
.is-trial .plan-rights { margin:0; font-size:.78rem; line-height:1.5; }
.is-trial .plan-rights small { display:block; font-size:.69rem; color:#957d6d; }
.is-trial .plan-select { flex:none; min-height:44px; padding:8px 11px; font-size:.75rem; gap:4px; border-radius:8px; box-shadow:none; }
.trial-note { margin:0; color:#9b8678; font-size:.69rem; line-height:1.6; }
.renewal-heading .renewal-access-notice { color:#9d4d36; padding:10px 12px; border:1px solid #e3c4b4; border-radius:9px; background:#fbefe5; }
.is-opening { position:relative; margin:23px 0; border:1.5px solid #ba7058; background:linear-gradient(145deg,#fff9ef,#f7e7da); box-shadow:0 9px 24px #9a563313; }
.plan-kicker { display:block; margin-bottom:12px; color:#a24f38; font-size:.71rem; letter-spacing:.1em; }
.opening-benefits { display:grid; gap:13px; padding:17px 0 18px; margin:17px 0 0; list-style:none; border-top:1px solid #e6cabb; border-bottom:1px solid #e6cabb; }
.opening-benefits li { display:grid; grid-template-columns:64px minmax(0,1fr); gap:10px; font-size:.76rem; line-height:1.75; }
.opening-benefits strong { color:#9a4933; }
.opening-benefits span { color:#7b6254; }
.plan-qualification { color:#947568; font-size:.69rem; margin:0 0 15px; }
.renewal-heading { margin-top:28px; }
.renewal-heading h3 { font-size:.95rem; margin-bottom:6px; }
.renewal-plans { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.renewal-plans .recharge-plan { display:flex; flex-direction:column; margin:0; padding:17px 13px 14px; }
.renewal-plans .plan-heading { display:block; }
.renewal-plans h3 { font-size:.83rem; margin-bottom:12px; }
.renewal-plans .plan-price { font-size:1.55rem; }
.renewal-plans .plan-rights { margin-bottom:5px; font-size:.76rem; }
.renewal-note { color:#978175; font-size:.67rem; margin-bottom:15px; }
.renewal-note span { display:block; line-height:1.7; }
.renewal-plans .plan-select { margin-top:auto; font-size:.77rem; gap:4px; }
@media(max-width:360px){.recharge-plan{padding:18px 15px 15px}.plan-heading h3{font-size:.94rem}.plan-price{font-size:1.45rem}.renewal-plans{gap:9px}.renewal-plans .recharge-plan{padding:15px 10px 12px}.renewal-plans .plan-price{font-size:1.35rem}.opening-benefits li{grid-template-columns:60px minmax(0,1fr);gap:6px}}
.account-page { display:grid; gap:12px; }
.account-profile-card { display:flex; align-items:center; gap:13px; min-height:82px; padding:14px 16px; border:1px solid var(--border); border-radius:17px; background:#fffaf5; }
.account-profile-avatar { display:grid; place-items:center; width:48px; height:48px; flex:none; border-radius:50%; background:#aa5b46; color:#fff; font:700 1.35rem "Songti SC",SimSun,serif; }
.account-profile-card>span:nth-child(2) { flex:1; min-width:0; }
.account-profile-card h1 { margin:0 0 3px; font-size:1rem; overflow-wrap:anywhere; }
.account-profile-card small { color:var(--muted); font-size:.73rem; }
.account-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.account-summary>a { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:4px; min-width:0; min-height:100px; margin:0; padding:12px 14px; border:1px solid var(--border); border-radius:16px; background:#fffaf5; }
.account-summary>a>span { color:#604c40; font-size:.8rem; font-weight:650; }
.account-summary strong,.account-summary .account-wallet strong { display:block; margin:0; color:#3e3027; font:700 1.45rem/1.1 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
.account-summary strong small,.account-summary .account-wallet strong small { color:#706258; font:.72rem/1.2 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
.account-summary>a>small { color:#8b786b; font-size:.68rem; line-height:1.3; }
.account-links { display:grid; gap:9px; border:0; border-radius:0; background:none; overflow:visible; }
.account-links a { min-height:61px; padding:11px 16px; border:1px solid var(--border); border-radius:16px; background:#fffaf5; }
.account-links .menu-icon { display:none; }
.account-links strong { font-size:.88rem; }
.account-links small { font-size:.7rem; }
.account-logout { width:100%; min-height:45px; margin-top:3px; border:1px solid var(--border); border-radius:14px; background:#fffaf5; }
@media (max-width:360px) {
  .services-page .memory-service-card .memory-service-art { width:84px; }
  .services-page .memory-service-card .memory-service-copy { padding:10px 20px 10px 11px; }
  .service-price { font-size:.71rem; }
  .service-price em { font-size:.63rem; }
}
