.family-page,.fh-preview,.fh-dialog{--fh-ink:#18313a;--fh-primary:#176b75;--fh-paper:#f7f6f1;--fh-muted:#607477;--fh-line:#d7e0de;--fh-soft:#edf3ef;--fh-danger:#a84436;color:var(--fh-ink);font:17px/1.8 'Microsoft YaHei','PingFang SC',sans-serif;overflow-wrap:anywhere}
.family-page{margin:0;background:var(--fh-paper)}.family-page *,.fh-preview *,.fh-dialog *{box-sizing:border-box}.family-page [hidden]{display:none!important}
.family-page h1,.family-page h2,.family-page h3,.family-page p,.fh-preview h1,.fh-preview h2,.fh-preview p,.fh-dialog p,.fh-dialog h2{margin:0}.family-page a,.fh-preview a{color:var(--fh-primary);text-decoration:none}.family-page :focus-visible,.fh-preview :focus-visible,.fh-dialog :focus-visible{outline:3px solid #c79845;outline-offset:3px}
.fh-shell{max-width:560px;min-height:100vh;margin:auto}.fh-header{min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 22px;border-bottom:1px solid var(--fh-line);font-size:15px;color:var(--fh-muted)}.fh-header a{display:flex;align-items:center;min-height:44px}.fh-brand{font:600 20px/1.5 SimSun,'Songti SC',serif;letter-spacing:1px;color:var(--fh-ink)}.fh-main{padding:26px 22px 36px}.family-page h1,.fh-preview h1{font:400 29px/1.45 SimSun,'Songti SC',serif;letter-spacing:1px;margin-top:10px}
.fh-badge{display:inline-flex;padding:3px 9px;border:1px solid #d9e4dc;border-radius:4px;background:var(--fh-soft);color:#436964;font-size:14px;line-height:1.7}.fh-person{font-size:16px;color:var(--fh-muted);margin-top:7px!important}.fh-hero-date{margin-top:20px!important;font-size:27px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums}.fh-lunar{font-size:16px;color:var(--fh-muted);margin-top:8px!important}.fh-memorial-art{width:100%;height:100px;margin-top:2px;object-fit:contain;object-position:right;display:block}.fh-adjusted{font-size:14px;color:var(--fh-muted);margin-top:10px}.fh-adjusted summary{cursor:pointer;min-height:30px}
.fh-detail-section{padding:24px 0;border-top:1px solid var(--fh-line)}.fh-detail-section h2{font:600 18px/1.7 'Microsoft YaHei','PingFang SC',sans-serif;margin-bottom:13px;display:flex;align-items:center;gap:10px}.fh-detail-section h2:before{content:'';width:3px;height:16px;background:#8ca69b;display:block;flex-shrink:0}.fh-detail-section p,.fh-supply-list{font-size:17px;line-height:1.85}.fh-supply-list{margin:0;padding-left:22px}.fh-copy{white-space:pre-wrap}.fh-contact{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.fh-contact>div{min-width:0;flex:1 1 135px}.fh-contact strong{display:block;font-size:18px;font-weight:600}.fh-contact small{font-size:15px;color:var(--fh-muted)}
.fh-button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:9px 16px;border:1px solid var(--fh-line);border-radius:6px;background:white;color:var(--fh-ink);font:600 15px/1.7 'Microsoft YaHei','PingFang SC',sans-serif;cursor:pointer;text-align:center;text-decoration:none}.fh-button:hover{background:var(--fh-soft)}.fh-button:disabled{opacity:.58;cursor:not-allowed}.fh-primary{color:white;background:var(--fh-primary);border-color:var(--fh-primary)}.fh-primary:hover{background:#105a63}.fh-danger{color:var(--fh-danger);border-color:#d5b3a9;background:#fff9f6}.fh-wide{width:100%}
.fh-subscription{background:white;border:1px solid var(--fh-line);border-radius:12px;padding:20px;margin-top:3px}.fh-subscription h2{font:600 20px/1.6 SimSun,'Songti SC',serif;margin-bottom:8px}.fh-subscription p{font-size:15px;color:var(--fh-muted);margin-bottom:14px}.fh-subscription .fh-small-note{font-size:14px;margin-top:12px;margin-bottom:0}.fh-footer{text-align:center;font-size:14px;color:var(--fh-muted);margin-top:27px!important}
.fh-schedule-intro{padding-bottom:22px}.fh-schedule-intro p{font-size:16px;margin-top:8px;color:var(--fh-muted)}.fh-soft-note,.fh-notice{background:var(--fh-soft);padding:15px 16px;border-radius:8px;font-size:15px;line-height:1.8;color:#47625f}.fh-notice{margin-bottom:20px}.fh-error{color:var(--fh-danger)!important}.fh-month{font-size:15px;color:var(--fh-muted);margin:22px 0 8px!important;letter-spacing:1px}
.family-page .fh-event{display:grid;grid-template-columns:65px minmax(0,1fr) 16px;gap:15px;align-items:center;border-top:1px solid var(--fh-line);padding:19px 0;color:var(--fh-ink)}.fh-event:hover{background:var(--fh-soft)}.fh-event-day{font-size:31px;line-height:1.2;font-variant-numeric:tabular-nums}.fh-event-day small{display:block;font-size:14px;margin-top:6px;color:var(--fh-muted)}.fh-event h3{font-size:20px;font-weight:500;margin-bottom:5px}.fh-event p{font-size:15px;color:var(--fh-muted)}.fh-arrow{color:var(--fh-primary);font-size:23px}.fh-today{font-size:14px;color:var(--fh-primary);font-weight:600}.fh-account-link{margin-top:25px;padding:18px 0;border-top:1px solid var(--fh-line);display:flex;justify-content:space-between;font-size:16px}
.fh-identity{background:white;padding:20px;border:1px solid var(--fh-line);border-radius:10px;margin-top:22px}.fh-identity h2{font:600 22px/1.6 SimSun,'Songti SC',serif;margin:6px 0}.fh-identity p{font-size:15px;color:var(--fh-muted)}.fh-summary-row{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--fh-line);font-size:16px}.fh-summary-row span{color:var(--fh-muted)}.fh-account-actions{margin-top:26px}.fh-account-actions p{font-size:15px;color:var(--fh-muted);margin-bottom:16px}.fh-stack{display:grid;gap:20px;margin-top:24px}.fh-hint{font-size:15px;color:var(--fh-muted)}
.fh-dialog{border:0;border-radius:12px;padding:26px;width:min(440px,calc(100vw - 32px));box-shadow:0 15px 80px #123a4633}.fh-dialog::backdrop{background:#123a4677}.fh-dialog h2{font:600 25px/1.6 SimSun,'Songti SC',serif;margin-bottom:17px}.fh-dialog p{font-size:16px;margin-bottom:15px}.fh-dialog-actions{display:flex;gap:10px;margin-top:24px}.fh-dialog-actions button{flex:1}.fh-preview{padding:22px;background:var(--fh-paper);border:1px solid var(--fh-line);border-radius:12px}.fh-preview .fh-hero-date{font-size:24px}.fh-preview .fh-memorial-art{height:80px}.fh-preview .fh-detail-section{padding:19px 0}
.fh-account-actions .fh-button+.fh-button{margin-top:12px}
@media(max-width:360px){.fh-header{padding:8px 16px}.fh-main{padding:22px 16px}.fh-hero-date{font-size:25px}.fh-event{gap:10px}.fh-dialog-actions{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.family-page *{scroll-behavior:auto!important}}
.fh-subscription-sdk:empty{display:none}
.fh-subscription-sdk wx-open-subscribe{display:block;width:100%;min-height:50px}
.v2-sample{margin-top:16px}.v2-sample .fh-summary-row{align-items:flex-start;gap:16px}.v2-sample .fh-summary-row span{flex:0 0 5em}.v2-sample .fh-summary-row strong{min-width:0;text-align:right;font-size:16px;font-weight:500}.v2-sample .fh-small-note{overflow-wrap:anywhere}.family-page .v2-sample{padding:16px}.family-page [data-v2-action="accept"]{margin-top:16px}.family-page [data-v2-action="reject"]{margin-top:10px}
