/* Blue member UI refresh. Loaded after app.css so existing business markup keeps its behavior. */
.member-theme{--member-blue:#168de2;--member-bg:#edf5ff;--member-line:#dce7f3;--member-muted:#728196;color:#1f2d3d;background:var(--member-bg)}
.member-theme .shell{background:var(--member-bg)}
.member-theme .side{background:linear-gradient(180deg,#0d4f88,#0b3f70);color:#fff;border-color:rgba(255,255,255,.12)}
.member-theme .side-brand,.member-theme .side-user{border-color:rgba(255,255,255,.12)}
.member-theme .side-brand small,.member-theme .side-user small{color:#bcd8ee}.member-theme .nav-label{color:#91b8d8}.member-theme .nav-btn{color:#d8eaf8}.member-theme .nav-btn.active{background:#168de2;color:#fff;box-shadow:0 7px 18px rgba(0,43,84,.24)}
.member-theme .topbar{color:#fff;background:linear-gradient(100deg,#167ed2,#25a2ee);border-color:transparent;box-shadow:0 4px 16px rgba(18,105,174,.16)}.member-theme .topbar .icon-btn,.member-theme .topbar .secondary{color:#fff;border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.14)}
.member-theme .card{background:#fff;border-color:var(--member-line);box-shadow:0 8px 24px rgba(28,90,145,.08)}.member-theme .primary{background:linear-gradient(180deg,#27a3f1,#1687da);box-shadow:0 6px 16px rgba(22,141,226,.22)}.member-theme .secondary{color:#137bc5;border-color:#bcdcf4;background:#fff}.member-theme .tag{color:#137bc5;background:#e5f3ff}.member-theme .avatar{background:linear-gradient(145deg,#258ed4,#126bb0);border-color:rgba(255,255,255,.82)}
.member-theme .home-hero{min-height:226px;padding:28px 30px;color:#fff;background:linear-gradient(125deg,#137bd1,#29a5ef);border:0;border-radius:8px;box-shadow:0 12px 28px rgba(22,129,207,.2)}.member-theme .home-hero:before{background:repeating-linear-gradient(45deg,rgba(255,255,255,.045) 0,rgba(255,255,255,.045) 14px,transparent 14px,transparent 30px);opacity:1}.member-theme .home-hero:after{display:none}.member-theme .hero-content{display:flex;align-items:center;gap:16px}.member-theme .hero-content .avatar{width:70px;height:70px}.member-theme .hero-content .eyebrow{color:#d7efff}.member-theme .hero-content h1{margin:2px 0 3px;font:700 28px/1.25 system-ui,"Microsoft YaHei",sans-serif}.member-theme .hero-content p{color:#e7f5ff}.member-theme .stats{border-color:rgba(255,255,255,.25)}.member-theme .stat{border-color:rgba(255,255,255,.22)}.member-theme .stat span{color:#dbeeff}.member-theme .notice{border-left:0;background:#fff}.member-theme .notice-badge{color:#1687d7;border-color:#83c8f3;background:#e7f4ff}.member-theme .card-head{border-color:var(--member-line)}.member-theme .card-head h2{color:#167fc9}.member-theme .kin-card{background:#f8fbff;border-color:#dce9f5}.member-theme .activity{border-color:#e3ebf3}.member-theme .activity i{background:#2c9ce5}
.member-theme .page-head h1{font-family:system-ui,"Microsoft YaHei",sans-serif;color:#183047}.member-theme .page-head p,.member-theme .muted{color:var(--member-muted)}.member-theme .toolbar{padding:14px;background:#fff;border:1px solid var(--member-line);border-radius:8px;box-shadow:0 8px 24px rgba(28,90,145,.08)}.member-theme .search,.member-theme .select{border-color:#e1e9f2;background:#f5f8fc}.member-theme .member-card,.member-theme .phonebook-card{border-radius:8px}.member-theme .member-lines{border-color:#e1eaf3;color:var(--member-muted)}.member-theme .phonebook-avatar{background:linear-gradient(145deg,#2ca3ed,#1478c9)}.member-theme .phonebook-fab{background:#168de2;box-shadow:0 12px 24px rgba(22,141,226,.28)}
.member-theme .temple-banner{background:linear-gradient(125deg,#123f66,#176da8 62%,#2b89ba);border:0;border-radius:8px}.member-theme .ancestor-card{border-top-color:#2b93d5}.member-theme .ritual{color:#255b7d;border-color:#bdd9eb;background:#f8fcff}.member-theme .memorial-tab.active{color:#168de2;border-color:#168de2}
.profile-page{padding-top:18px}.profile-identity{min-height:154px;padding:25px 28px;display:flex;align-items:center;gap:18px;color:#fff;background:linear-gradient(125deg,#147dd2,#2da9f2);border-radius:8px;box-shadow:0 12px 28px rgba(22,129,207,.19);position:relative;overflow:hidden}.profile-identity:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(45deg,rgba(255,255,255,.04) 0,rgba(255,255,255,.04) 15px,transparent 15px,transparent 32px)}.profile-identity h1{margin:0;font-size:27px}.profile-identity p{margin:4px 0;color:#e1f2ff}.profile-avatar-button{position:relative;padding:0;border:0;border-radius:50%;background:transparent}.profile-avatar-button .avatar{width:78px;height:78px}.profile-avatar-button>span{position:absolute;z-index:2;left:5px;right:5px;bottom:2px;border-radius:8px;background:rgba(5,59,101,.68);color:#fff;font-size:9px}.profile-body{padding:16px 0 0}.profile-form{display:grid;grid-template-columns:1fr;gap:14px}.profile-module{overflow:hidden;border-radius:8px}.profile-module-head{min-height:55px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--member-line)}.profile-module-head h2{margin:0;display:flex;align-items:center;gap:9px;color:#167fc9;font-size:16px}.profile-module-head h2 span{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;color:#fff;background:#2598e2;font-size:12px}.profile-module-head button{border:0;background:transparent;color:#168de2}.profile-module-body{display:grid;grid-template-columns:1fr 1fr;padding:0 17px}.profile-module .field{min-height:58px;padding:8px 0;grid-template-columns:105px minmax(0,1fr);align-items:center;border-bottom:1px solid #e8eef4}.profile-module .field label{color:#8090a2;font-weight:400}.profile-module .field input,.profile-module .field textarea,.profile-module .field select{border:0;background:#f7f9fc;color:#26384a}.profile-module .field.full,.profile-module .toggle-line.full{grid-column:1/-1}.profile-module .toggle-line{min-height:58px;padding:8px 0;border:0;border-bottom:1px solid #e8eef4}.profile-module .toggle.on{background:#168de2}.profile-save{display:flex;justify-content:flex-end}.profile-save .primary{min-width:180px}.member-theme .photo-wall{border-radius:8px}.member-theme .photo-wall-head{border-color:var(--member-line)}.member-theme .photo-wall-head h2{color:#167fc9}
.member-gate-theme{background:#edf5ff}.member-gate-theme .login{background:#edf5ff}.member-gate-theme .login-art{background:linear-gradient(150deg,#116db7,#1e94e2 62%,#31acef)}.member-gate-theme .login-art:before{background:repeating-linear-gradient(45deg,rgba(255,255,255,.045) 0,rgba(255,255,255,.045) 16px,transparent 16px,transparent 34px);opacity:1}.member-gate-theme .login-art:after{display:none}.member-gate-theme .login-box .eyebrow{color:#168de2}.member-gate-theme .primary{background:linear-gradient(180deg,#25a2ef,#1687d8)}.member-gate-theme .waiting{background:#edf5ff}.member-gate-theme .waiting-card{border-color:#d6e6f3;border-radius:8px;background:#fff;box-shadow:0 18px 42px rgba(29,96,151,.11)}.member-gate-theme .waiting-card:before,.member-gate-theme .waiting-card:after{border-color:#168de2}.member-gate-theme .waiting-orbit{border-color:#8ec9ed}.member-gate-theme .waiting-orbit:before{background:#168de2}.member-gate-theme .waiting-orbit span{color:#168de2}.member-gate-theme .admin-entry.inline:first-child{color:#168de2}
@media(max-width:760px){.member-theme{padding-bottom:calc(68px + env(safe-area-inset-bottom));background:#edf5ff}.member-theme .topbar{height:56px;padding:0 13px}.member-theme .topbar-title{position:absolute;left:50%;transform:translateX(-50%);color:#fff;font-size:17px}.member-theme .side{inset:auto 0 0;width:100%;height:calc(68px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;border:0;border-top:1px solid #dce8f2;box-shadow:0 -5px 18px rgba(37,88,127,.08)}.member-theme .nav{width:100%;height:68px;padding:0 5px;display:flex;justify-content:center;gap:0}.member-theme .nav-btn{flex:0 0 58px;height:66px;padding:5px 0 3px;gap:1px;color:#6c7d8c;font-size:10px}.member-theme .nav-btn.active{color:#168de2;background:transparent;box-shadow:none}.member-theme .nav-glyph{width:25px;height:25px;line-height:25px;border-radius:7px;background:#edf3f8;color:#60788b;font-size:14px}.member-theme .nav-btn.active .nav-glyph{background:#dff1ff;color:#168de2}.member-theme .page{padding:14px 13px 22px}.member-theme .home-hero{min-height:210px;padding:22px;border-radius:12px}.member-theme .hero-content{gap:13px}.member-theme .hero-content .avatar{width:58px;height:58px}.member-theme .hero-content h1{font-size:23px}.member-theme .hero-content p{max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-theme .stats{left:22px;right:22px;bottom:20px}.member-theme .home-grid{gap:12px;margin-top:12px}.member-theme .card{border-radius:10px}.member-theme .toolbar{padding:11px;border-radius:10px}.member-theme .phonebook-fab{bottom:85px}.profile-page{padding-top:14px}.profile-identity{min-height:142px;padding:22px;border-radius:12px}.profile-identity h1{font-size:24px}.profile-avatar-button .avatar{width:70px;height:70px}.profile-body{padding-top:12px}.profile-form{gap:12px}.profile-module{border-radius:10px}.profile-module-head{min-height:52px;padding:0 14px}.profile-module-body{grid-template-columns:1fr;padding:0 14px}.profile-module .field{grid-template-columns:88px minmax(0,1fr);grid-column:1/-1;min-height:57px}.profile-module .field.full,.profile-module .toggle-line.full{grid-column:1/-1}.profile-save{position:sticky;bottom:78px;z-index:8}.profile-save .primary{width:100%;min-width:0}.member-theme .photo-wall{border-radius:10px}.member-gate-theme .login-art{min-height:225px}.member-gate-theme .login-main{padding:30px 23px}}

/* Compact mobile controls and the card layouts used by phonebook and temple. */
.member-theme .profile-save{position:static;z-index:auto;padding:2px 0 10px;justify-content:flex-end}
.member-theme .profile-save .primary{min-height:44px}
.member-theme .profile-identity>*{position:relative;z-index:1;min-width:0}
.member-theme .profile-avatar-button{flex:0 0 auto;line-height:0}
.member-theme .profile-identity>div{overflow:hidden}
.member-theme .profile-identity h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.notification-button{position:relative;display:inline-grid;place-items:center;width:40px;height:38px;padding:0}
.notification-button .bell-icon{position:relative;width:17px;height:17px;display:block;border:2px solid currentColor;border-radius:10px 10px 5px 5px;border-bottom-color:transparent;transform:translateY(-2px)}
.notification-button .bell-icon:before{content:"";position:absolute;left:-4px;right:-4px;bottom:-3px;height:2px;border-radius:2px;background:currentColor}
.notification-button .bell-icon:after{content:"";position:absolute;left:5px;bottom:-7px;width:4px;height:4px;border-radius:50%;background:currentColor}
.notification-button>i{position:absolute;top:1px;right:0;min-width:15px;height:15px;padding:0 3px;border-radius:10px;background:#ff5c63;color:#fff;font:700 9px/15px system-ui;font-style:normal}
.phonebook-page .page-head{margin-bottom:12px}
.phonebook-search{height:48px;display:flex;align-items:center;gap:9px;padding:0 14px;margin-bottom:13px;border-radius:12px!important;background:#fff!important;box-shadow:0 4px 14px rgba(28,90,145,.06)}
.phonebook-search .search-icon{color:#94a7b8;font-size:21px;line-height:1}
.phonebook-search input{background:transparent;border:0;min-width:0}
.phonebook-list{display:grid;gap:10px}
.phonebook-card{display:flex;align-items:center;gap:12px;padding:13px 12px!important;min-height:74px;position:relative}
.phonebook-avatar{flex:0 0 46px;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;color:#fff;font-weight:700;font-size:19px}
.phonebook-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:3px}
.phonebook-main strong{font-size:15px;color:#23374b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phone-number{padding:0;border:0;background:transparent;color:#778b9e;font-size:13px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phone-number:after{display:none}
.phonebook-call{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;border:0;border-radius:18px;padding:8px 11px;background:#e9faf1;color:#14a45f;font-size:12px;font-weight:700}
.phonebook-call .phone-icon{width:14px;height:14px;display:block;position:relative;border:2px solid currentColor;border-top-color:transparent;border-right-color:transparent;border-radius:3px;transform:rotate(-42deg)}
.phonebook-call .phone-icon:after{content:"";position:absolute;width:6px;height:6px;right:-3px;top:-2px;border-top:2px solid currentColor;border-right:2px solid currentColor;border-radius:1px}
.phonebook-fab{width:52px!important;height:52px!important;right:18px!important;bottom:90px!important;border-radius:50%!important;font-size:28px!important;line-height:52px!important}
.temple-page .temple-banner{margin-bottom:14px}
.temple-ancestor-card{padding:15px!important;border-top:3px solid #2b93d5!important}
.ancestor-card-main{display:flex;align-items:flex-start;gap:12px}
.ancestor-card-meta{min-width:0;flex:1}
.ancestor-card-meta h3{margin:0 0 4px;font-size:18px;color:#263d50}
.ancestor-card-meta .years{display:block;color:#8493a1;font-size:12px}
.ancestor-card-meta p{margin:7px 0 5px;color:#6b7b8b;font-size:13px;line-height:1.5}
.deceased-badge{display:inline-block;margin-left:4px;padding:2px 6px;border-radius:10px;background:#fbe7e7;color:#c25959;font-size:10px;font-style:normal;vertical-align:2px}
.ancestor-message-link{padding:0;border:0;background:transparent;color:#218ad1;font-size:12px}
.ancestor-message-link:after{display:none}
.temple-ritual-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:13px;padding-top:12px;border-top:1px solid #e8eef4}
.temple-ritual{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:6px 2px;border:1px solid #e0ebf3;border-radius:8px;background:#f8fbfe;color:#60778a;font-size:11px}
.temple-ritual:after{display:none}
.temple-ritual .ritual-icon{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#e9f5ff;color:#1f8fd4;font-size:12px}
.temple-ritual b{font-size:12px;color:#1f6f9c}
@media(max-width:760px){.member-theme .profile-save{padding:2px 0 14px}.member-theme .profile-save .primary{width:100%;min-width:0}.member-theme .profile-identity{gap:14px;padding:18px}.member-theme .profile-identity h1{font-size:22px}.member-theme .profile-avatar-button .avatar{width:68px;height:68px}.phonebook-call{padding:8px 9px}.temple-ritual-grid{gap:5px}.temple-ritual{font-size:10px}}

/* v20: explicit component geometry prevents legacy mobile selectors from reshaping cards. */
.member-theme .top-actions{margin-left:auto;align-items:center}
.member-theme .notification-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.member-theme .notification-button .bell-icon{display:none}
.member-theme .profile-identity{display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;align-items:center!important;gap:18px!important}
.member-theme .profile-avatar-button{display:block!important;width:78px!important;height:78px!important;min-width:78px!important;min-height:78px!important;margin:0!important;overflow:hidden!important}
.member-theme .profile-avatar-button .avatar{display:grid!important;width:78px!important;height:78px!important;margin:0!important}
.member-theme .profile-avatar-button>span:last-child{left:8px!important;right:8px!important;bottom:4px!important;line-height:16px!important}
.member-theme .profile-identity>div{width:100%;min-width:0;align-self:center}
.member-theme .profile-identity h1,.member-theme .profile-identity p{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.member-theme .phonebook-page{animation:none!important;transform:none!important}
.member-theme .phonebook-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px!important}
.member-theme .phonebook-card{display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:76px!important;padding:13px 14px!important;overflow:hidden}
.member-theme .phonebook-avatar{width:48px!important;height:48px!important}
.member-theme .phonebook-main{width:100%;min-width:0}
.member-theme .phone-number{max-width:100%;line-height:22px!important}
.member-theme .phonebook-call{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:74px!important;height:36px!important;min-width:74px!important;min-height:36px!important;margin:0!important;padding:0 11px!important;border:1px solid #bfead3!important;border-radius:18px!important;background:#ecfbf3!important;color:#07985a!important;box-shadow:none!important;font-size:12px!important;font-weight:700!important;line-height:1!important}
.member-theme .phonebook-call svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.member-theme .phonebook-call .phone-icon{display:none}
.member-theme .phonebook-fab{position:fixed!important;inset:auto 20px calc(22px + env(safe-area-inset-bottom)) auto!important;z-index:50!important;display:grid!important;place-items:center!important;width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#248ee2!important;color:#fff!important;box-shadow:0 10px 26px rgba(24,111,183,.34)!important;line-height:1!important}
.member-theme .phonebook-fab svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.member-theme .ancestor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important}
.member-theme .temple-ancestor-card{display:block!important;grid-template-columns:none!important;width:100%!important;min-width:0!important;height:auto!important;padding:0!important;overflow:hidden!important;cursor:default!important;border:1px solid #d6e6f1!important;border-top:3px solid #218fd4!important;border-radius:10px!important}
.member-theme .temple-ancestor-card:hover{transform:none!important}
.member-theme .ancestor-card-main{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;align-items:center!important;gap:13px!important;padding:16px 16px 13px!important}
.member-theme .ancestor-card-main>.avatar{grid-column:1!important;grid-row:1!important;width:64px!important;height:64px!important;margin:0!important}
.member-theme .ancestor-card-meta{grid-column:2!important;min-width:0!important}
.member-theme .ancestor-card-meta h3,.member-theme .ancestor-card-meta .years,.member-theme .ancestor-card-meta p{grid-column:auto!important}
.member-theme .ancestor-card-meta h3{margin:0 0 2px!important;font:700 18px/1.35 system-ui,"Microsoft YaHei",sans-serif!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.member-theme .ancestor-card-meta .years{font-size:12px!important;color:#71869a!important}
.member-theme .ancestor-card-meta p{display:-webkit-box;margin:7px 0 5px!important;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px!important;line-height:1.5!important}
.member-theme .ancestor-message-link{height:24px!important;min-height:24px!important;margin:0!important;color:#1688d2!important;line-height:24px!important}
.member-theme .temple-ritual-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;margin:0!important;padding:0!important;border-top:1px solid #e2ebf2!important;background:#f8fbfe!important}
.member-theme .temple-ritual{display:grid!important;grid-template-rows:25px 18px 18px!important;place-items:center!important;gap:1px!important;width:100%!important;height:72px!important;min-width:0!important;margin:0!important;padding:5px 1px!important;border:0!important;border-right:1px solid #e1eaf2!important;border-radius:0!important;background:transparent!important;color:#60778a!important;font-size:10px!important;line-height:1!important;box-shadow:none!important}
.member-theme .temple-ritual:last-child{border-right:0!important}
.member-theme .temple-ritual .ritual-icon{width:25px!important;height:25px!important;font-size:11px!important}
.member-theme .temple-ritual b{font-size:13px!important;line-height:18px!important}

/* v22 temple ritual controls: clear four-action layout with visible effects. */
.member-theme .temple-ancestor-card,.member-theme .ancestor-detail{position:relative!important}
.member-theme .temple-ancestor-card{border-color:#eadfce!important;border-top-color:#9d5426!important;background:#fff!important}
.member-theme .temple-ritual-grid{gap:8px!important;padding:10px!important;border-top-color:#eadfce!important;background:#f8f4ec!important}
.member-theme .temple-ritual{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;height:94px!important;min-height:94px!important;padding:8px 2px!important;border:1px solid #e4d5c1!important;border-radius:10px!important;background:#fff!important;color:#633516!important;box-shadow:0 3px 8px rgba(92,52,24,.05)!important;transition:transform .18s ease,border-color .18s ease,background .18s ease!important}
.member-theme .temple-ritual:last-child{border-right:1px solid #e4d5c1!important}
.member-theme .temple-ritual:active{transform:scale(.94)!important;background:#fff8df!important;border-color:#a55b2c!important}
.member-theme .temple-ritual:disabled{opacity:.76!important}
.member-theme .temple-ritual .ritual-icon{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border-radius:10px!important;background:#fff5dc!important;font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif!important;font-size:23px!important;line-height:36px!important}
.member-theme .temple-ritual strong{font-size:13px!important;font-weight:700!important;line-height:17px!important;white-space:nowrap}
.member-theme .temple-ritual small{color:#956d4d!important;font-size:9px!important;line-height:14px!important;white-space:nowrap}
.member-theme .temple-ritual small b{color:#9a4b1a!important;font-size:11px!important;line-height:14px!important}
.member-theme .ritual-candle .ritual-icon{background:#fff4d0!important}
.member-theme .ritual-flower .ritual-icon{background:#fff0f3!important}
.member-theme .ritual-lamp .ritual-icon{background:#ffeadb!important}
.member-theme .temple-effect-layer{position:absolute;inset:0;z-index:20;overflow:hidden;pointer-events:none;border-radius:inherit}
.member-theme .ritual-effect-active .temple-effect-layer{background:radial-gradient(circle at 50% 58%,rgba(255,249,220,.88),rgba(255,255,255,.18) 45%,transparent 72%)}
.member-theme .ritual-effect-hero{position:absolute;left:50%;top:53%;z-index:3;display:flex;flex-direction:column;align-items:center;gap:5px;transform:translate(-50%,-50%) scale(.25);opacity:0;animation:ritualHero 1.65s cubic-bezier(.18,.8,.22,1) forwards}
.member-theme .ritual-effect-hero span{display:grid;place-items:center;width:78px;height:78px;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 8px 28px rgba(110,59,20,.24);font:42px/1 "Apple Color Emoji","Segoe UI Emoji",sans-serif}
.member-theme .ritual-effect-hero strong{padding:6px 13px;border-radius:18px;background:#8f481d;color:#fff;box-shadow:0 5px 16px rgba(88,42,14,.2);font-size:13px;white-space:nowrap}
.member-theme .ritual-effect-hero.candle span,.member-theme .ritual-effect-hero.lamp span{box-shadow:0 0 45px rgba(255,172,42,.85)}
.member-theme .ritual-effect-particle{position:absolute;bottom:22%;width:10px;height:10px;opacity:0;animation:ritualParticle 1.45s var(--delay) ease-out forwards}
.member-theme .ritual-effect-particle.incense{width:7px;height:18px;border-radius:50%;background:rgba(196,191,183,.8);filter:blur(3px)}
.member-theme .ritual-effect-particle.candle{border-radius:70% 30% 60% 40%;background:#ffc148;box-shadow:0 0 12px #ff8b25}
.member-theme .ritual-effect-particle.flower{width:13px;height:9px;border-radius:80% 20% 80% 20%;background:#f08fac;box-shadow:0 0 0 1px rgba(255,255,255,.5)}
.member-theme .ritual-effect-particle.lamp{border-radius:50%;background:#ffd45f;box-shadow:0 0 16px #ffac35}
@keyframes ritualHero{0%{opacity:0;transform:translate(-50%,-42%) scale(.25)}20%{opacity:1;transform:translate(-50%,-50%) scale(1.08)}70%{opacity:1;transform:translate(-50%,-56%) scale(1)}100%{opacity:0;transform:translate(-50%,-72%) scale(.86)}}
@keyframes ritualParticle{0%{opacity:0;transform:translate(0,0) rotate(0) scale(.4)}18%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(.9)}}
.member-theme .ancestor-detail .ritual-row{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.member-theme .ancestor-detail .ritual{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;height:92px!important;min-width:0!important;padding:6px 2px!important;border:1px solid #e3d2bb!important;border-radius:10px!important;background:#fff9e8!important;color:#633516!important}
.member-theme .ancestor-detail .ritual .ritual-icon{display:block!important;width:auto!important;height:auto!important;background:transparent!important;font:25px/30px "Apple Color Emoji","Segoe UI Emoji",sans-serif!important}
.member-theme .ancestor-detail .ritual strong{font-size:12px!important;line-height:16px!important;white-space:nowrap}
.member-theme .ancestor-detail .ritual small{font-size:9px!important;line-height:13px!important;white-space:nowrap}
.member-theme .ancestor-detail .ritual small b{font-size:10px!important}
.member-theme .quick-blessing-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;margin:0 10px 9px!important;padding-top:9px!important;border-top:1px solid #eadfce!important}
.member-theme .quick-blessing-form input{min-width:0!important;width:100%!important;height:38px!important;padding:0 11px!important;border:1px solid #e3d5c3!important;border-radius:19px!important;background:#fffaf1!important;color:#5f432d!important;font-size:12px!important;outline:none!important}
.member-theme .quick-blessing-form input:focus{border-color:#c58b5a!important;box-shadow:0 0 0 3px rgba(197,139,90,.12)!important}
.member-theme .quick-blessing-form button{height:38px!important;min-width:58px!important;padding:0 13px!important;border:0!important;border-radius:19px!important;background:#a25426!important;color:#fff!important;font-size:12px!important;font-weight:700!important}
.member-theme .quick-blessing-form button:disabled{opacity:.6!important}
.member-theme .latest-blessing{margin:0 10px 12px!important;padding:9px 11px!important;border-radius:9px!important;background:#fffaf1!important;border:1px solid #eee1d0!important;text-align:left!important}
.member-theme .latest-blessing span{display:inline-flex!important;padding:2px 7px!important;border-radius:10px!important;background:#f8e6d6!important;color:#9a5126!important;font-size:10px!important;font-weight:700!important}
.member-theme .latest-blessing p{margin:5px 0 2px!important;color:#5e4939!important;font-size:12px!important;line-height:1.45!important;display:-webkit-box!important;-webkit-line-clamp:1!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.member-theme .latest-blessing small{color:#9a8a7a!important;font-size:10px!important}
.member-theme .profile-note-field{display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;align-items:center!important;gap:8px!important}
.member-theme .profile-note-preview{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-width:0!important;width:100%!important;height:38px!important;padding:0 10px!important;border:1px solid #dce7f3!important;border-radius:8px!important;background:#f7f9fc!important;color:#73879a!important;text-align:left!important;font-size:12px!important}
.member-theme .profile-note-preview span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.member-theme .profile-note-preview i{flex:0 0 auto!important;color:#168de2!important;font-size:11px!important;font-style:normal!important}
.member-theme .profile-note-storage{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.member-theme .profile-note-modal{width:min(520px,calc(100% - 28px))!important;border-radius:18px!important;overflow:hidden!important}.member-theme .profile-note-modal .modal-body{padding:16px!important}.member-theme .profile-note-modal textarea{display:block!important;width:100%!important;min-height:150px!important;resize:vertical!important;padding:12px!important;border:1px solid #d6e4ef!important;border-radius:12px!important;background:#f7faff!important;color:#26384a!important;font:14px/1.65 inherit!important;outline:none!important}.member-theme .profile-note-modal textarea:focus{border-color:#168de2!important;box-shadow:0 0 0 3px rgba(22,141,226,.12)!important}.member-theme .profile-note-count{display:flex!important;justify-content:space-between!important;padding:8px 2px 0!important;color:#8a9aaa!important;font-size:11px!important}.member-theme .profile-note-count b{font-weight:400!important}.member-theme .profile-note-modal .modal-foot{display:flex!important;justify-content:flex-end!important;gap:8px!important;margin:14px -16px -16px!important;padding:10px 16px!important;border-top:1px solid #e7eef4!important;background:#fff!important}.member-theme .profile-note-modal .modal-foot button{min-width:76px!important;height:38px!important;min-height:38px!important;border-radius:19px!important}
.member-theme .home-hero .hero-content h1{display:flex!important;align-items:baseline!important;flex-wrap:wrap!important}.member-theme .home-hero .hero-content h1 small{font:500 14px/1.4 system-ui,"Microsoft YaHei",sans-serif!important;color:#e1f4ff!important}.member-theme .home-hero .hero-content .avatar{border:3px solid rgba(255,255,255,.9)!important;box-shadow:0 4px 16px rgba(7,69,111,.24)!important}.member-theme .profile-identity .avatar{border:3px solid rgba(255,255,255,.95)!important;background:linear-gradient(145deg,#fff,#dff2ff)!important;color:#167fc9!important;box-shadow:0 4px 14px rgba(5,67,111,.22)!important}.member-theme .profile-module-body{padding-top:2px!important;padding-bottom:2px!important}.member-theme .profile-module .field{min-height:50px!important;padding:5px 0!important}.member-theme .profile-module .toggle-line{min-height:50px!important;padding:5px 0!important}.member-theme .profile-module .field input,.member-theme .profile-module .field select{min-height:36px!important;padding:7px 9px!important}
.member-theme .profile-page .photo-empty{padding:18px!important}
@media(max-width:760px){.member-theme .profile-identity{grid-template-columns:70px minmax(0,1fr)!important;gap:14px!important;min-height:112px!important;padding:18px!important}.member-theme .profile-avatar-button,.member-theme .profile-avatar-button .avatar{width:70px!important;height:70px!important;min-width:70px!important;min-height:70px!important}.member-theme .profile-identity h1{font-size:21px!important}.member-theme .profile-identity p{font-size:12px!important}.member-theme .phonebook-list{grid-template-columns:minmax(0,1fr)!important}.member-theme .phonebook-card{grid-template-columns:46px minmax(0,1fr) 70px!important;min-height:72px!important;padding:11px 12px!important}.member-theme .phonebook-avatar{width:46px!important;height:46px!important}.member-theme .phonebook-call{width:68px!important;min-width:68px!important;padding:0 8px!important}.member-theme .phonebook-fab{inset:auto 18px calc(82px + env(safe-area-inset-bottom)) auto!important}.member-theme .ancestor-grid{grid-template-columns:minmax(0,1fr)!important}.member-theme .temple-banner{min-height:150px!important;padding:20px!important}.member-theme .temple-banner h1{font-size:23px!important}.member-theme .ancestor-card-main{grid-template-columns:58px minmax(0,1fr)!important;padding:14px!important}.member-theme .ancestor-card-main>.avatar{width:58px!important;height:58px!important}.member-theme .temple-ritual{height:88px!important;min-height:88px!important}.member-theme .temple-ritual-grid{gap:6px!important;padding:8px!important}.member-theme .temple-ritual .ritual-icon{width:32px!important;height:32px!important;font-size:21px!important;line-height:32px!important}.member-theme .ancestor-detail .ritual{height:86px!important}.member-theme .ritual-effect-hero span{width:68px;height:68px;font-size:37px}}

/* v21 final mobile sizing: 44px app bar + 58px tab bar. */
@media(max-width:760px){
  .member-theme{padding-bottom:calc(58px + env(safe-area-inset-bottom))!important}
  .member-theme .topbar{height:44px!important;padding:0 10px!important}
  .member-theme .topbar-title{font-size:15px!important;line-height:44px!important}
  .member-theme .topbar .icon-btn{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
  .member-theme .notification-button svg{width:18px!important;height:18px!important}
  .member-theme .side{height:calc(58px + env(safe-area-inset-bottom))!important}
  .member-theme .nav{height:58px!important;padding:0 4px!important;justify-content:space-around!important}
  .member-theme .nav-btn{height:58px!important;min-height:58px!important;flex:1 1 0!important;padding:3px 0 2px!important}
  .member-theme .nav-glyph{width:24px!important;height:24px!important;line-height:24px!important}
  .member-theme .page{padding:12px 12px 18px!important}
  .member-theme .home-hero{min-height:178px!important;padding:16px!important;border-radius:14px!important}
  .member-theme .hero-content .avatar{width:54px!important;height:54px!important}
  .member-theme .hero-content h1{font-size:21px!important}
  .member-theme .stats{left:16px!important;right:16px!important;bottom:14px!important;padding-top:11px!important}
  .member-theme .phonebook-fab{inset:auto 18px calc(70px + env(safe-area-inset-bottom)) auto!important}
  .member-theme .profile-identity{grid-template-columns:62px minmax(0,1fr)!important;gap:12px!important;min-height:92px!important;padding:14px!important;border-radius:14px!important}
  .member-theme .profile-avatar-button,.member-theme .profile-avatar-button .avatar{width:62px!important;height:62px!important;min-width:62px!important;min-height:62px!important}
  .member-theme .profile-identity h1{font-size:20px!important}
  .member-theme .profile-avatar-button>span:last-child{font-size:8px!important;line-height:14px!important}.member-theme .profile-identity p{margin:3px 0 0!important}.member-theme .profile-note-field{grid-template-columns:74px minmax(0,1fr)!important;gap:7px!important}.member-theme .profile-note-preview{height:36px!important;font-size:11px!important}.member-theme .profile-note-modal{width:calc(100% - 24px)!important;border-radius:16px!important}.member-theme .profile-note-modal textarea{min-height:132px!important}.member-theme .home-hero .hero-content h1 small{font-size:12px!important}.member-theme .profile-module .field{min-height:46px!important}.member-theme .profile-module .toggle-line{min-height:48px!important}.member-theme .profile-module-head{min-height:44px!important}.member-theme .profile-module .field input,.member-theme .profile-module .field select{min-height:34px!important;padding:6px 8px!important}
  .member-theme .temple-banner{min-height:142px!important;padding:18px!important}
  .member-theme .quick-blessing-form{margin-left:8px!important;margin-right:8px!important;grid-template-columns:minmax(0,1fr) 54px!important;gap:6px!important}.member-theme .quick-blessing-form input{font-size:11px!important;padding:0 9px!important}.member-theme .quick-blessing-form button{min-width:54px!important;padding:0 8px!important;font-size:11px!important}
}

/* v24 WeChat-style member identity and status editor. */
.member-theme .wechat-profile-identity{min-height:0!important;padding:20px!important;border:1px solid #e4e8ec!important;border-radius:14px!important;background:#fff!important;color:#191919!important;box-shadow:0 6px 20px rgba(31,55,78,.07)!important;overflow:visible!important}
.member-theme .wechat-profile-identity:after{display:none!important}
.member-theme .wechat-profile-identity .avatar{border:0!important;border-radius:9px!important;background:#eaf3fa!important;color:#167fc9!important;box-shadow:none!important}
.member-theme .wechat-profile-identity .profile-avatar-button{align-self:start!important;border-radius:9px!important}
.member-theme .wechat-profile-identity .profile-avatar-button>span{left:0!important;right:0!important;bottom:-1px!important;border-radius:0 0 9px 9px!important;background:rgba(0,0,0,.48)!important}
.member-theme .wechat-profile-identity>div{display:grid!important;gap:7px!important;overflow:visible!important}
.member-theme .wechat-name-line{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important}
.member-theme .wechat-name-line h1,.member-theme .wechat-name-line h2{min-width:0!important;margin:0!important;color:#171717!important;font:700 21px/1.35 system-ui,"Microsoft YaHei",sans-serif!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.member-theme .wechat-name-line>span{flex:0 0 auto!important;padding:2px 7px!important;border-radius:9px!important;background:#e8f4ff!important;color:#1685d2!important;font-size:10px!important}
.member-theme .wechat-meta-line{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;gap:7px!important;align-items:start!important;color:#666!important;font-size:12px!important;line-height:1.45!important}
.member-theme .wechat-meta-line b{color:#9a9a9a!important;font-weight:400!important}.member-theme .wechat-meta-line span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.member-theme .wechat-status-line{display:grid!important;grid-template-columns:46px minmax(0,1fr) 12px!important;gap:7px!important;align-items:center!important;width:100%!important;min-height:32px!important;padding:5px 0!important;border:0!important;border-top:1px solid #f0f0f0!important;border-radius:0!important;background:transparent!important;color:#666!important;text-align:left!important;font-size:12px!important}
.member-theme .wechat-status-line b{color:#9a9a9a!important;font-weight:400!important}.member-theme .wechat-status-line span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.member-theme .wechat-status-line i{color:#bbb!important;font-size:18px!important;font-style:normal!important}
.member-theme .status-preset-panel{margin-bottom:13px!important}.member-theme .status-preset-panel>strong{display:block!important;margin-bottom:9px!important;color:#4a5967!important;font-size:12px!important}.member-theme .status-preset-panel>div{display:flex!important;flex-wrap:wrap!important;gap:7px!important}.member-theme .status-preset-panel button{min-height:31px!important;padding:0 11px!important;border:1px solid #d8e6f0!important;border-radius:16px!important;background:#f4f8fb!important;color:#526b7d!important;font-size:11px!important}.member-theme .status-preset-panel button.active,.member-theme .status-preset-panel button:active{border-color:#168de2!important;background:#e5f4ff!important;color:#1682cf!important}.member-theme .status-preset-panel small{display:block!important;margin-top:8px!important;color:#9aa7b1!important;font-size:10px!important}
.member-theme .wechat-member-modal{background:#f5f5f5!important}.member-theme .wechat-member-modal .modal-head{background:#fff!important;border-color:#ededed!important}.member-theme .wechat-member-modal .modal-body{padding:0!important;background:#f5f5f5!important}
.member-theme .wechat-member-card{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:17px!important;padding:22px 20px!important;background:#fff!important;border-bottom:8px solid #f5f5f5!important}
.member-theme .wechat-member-card>.avatar{width:76px!important;height:76px!important;margin:0!important;border:0!important;border-radius:9px!important;background:#eaf3fa!important;color:#167fc9!important;box-shadow:none!important}
.member-theme .wechat-member-main{display:grid!important;gap:6px!important;min-width:0!important}.member-theme .wechat-member-main .wechat-name-line h2{font-size:22px!important}.member-theme .wechat-member-main .wechat-name-line>span{background:#e8f4ff!important}
.member-theme .wechat-member-status{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;gap:7px!important;padding-top:6px!important;border-top:1px solid #f0f0f0!important;color:#555!important;font-size:12px!important}.member-theme .wechat-member-status b{color:#9a9a9a!important;font-weight:400!important}
.member-theme .wechat-detail-grid{margin:0!important;padding:3px 18px 12px!important;background:#fff!important}.member-theme .wechat-detail-grid label,.member-theme .wechat-detail-grid span{padding-top:10px!important;padding-bottom:10px!important;border-color:#ededed!important}
.member-theme .wechat-member-modal .member-detail-actions{border-color:#ededed!important;background:#fff!important}
@media(max-width:760px){.member-theme .wechat-profile-identity{grid-template-columns:64px minmax(0,1fr)!important;gap:15px!important;min-height:0!important;padding:17px!important}.member-theme .wechat-profile-identity .profile-avatar-button,.member-theme .wechat-profile-identity .profile-avatar-button .avatar{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important}.member-theme .wechat-name-line h1{font-size:19px!important}.member-theme .wechat-member-card{grid-template-columns:68px minmax(0,1fr)!important;gap:14px!important;padding:19px 17px!important}.member-theme .wechat-member-card>.avatar{width:68px!important;height:68px!important}.member-theme .wechat-member-main .wechat-name-line h2{font-size:20px!important}.member-theme .status-preset-panel button{min-height:30px!important;padding:0 10px!important}}

/* v29：聊天分区、弹窗与宗亲快捷操作 */
.member-theme .notification-section{margin-bottom:14px;padding:0 14px 14px;border:1px solid #e2ebf3;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(35,93,142,.07)}
.member-theme .notification-section>header{min-height:66px;display:flex;align-items:center;gap:11px;border-bottom:1px solid #edf2f6}
.member-theme .notification-section>header>span{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#239deb,#167bd1);color:#fff;font-weight:700;box-shadow:0 5px 13px rgba(22,126,211,.22)}
.member-theme .system-notification-section>header>span{background:linear-gradient(145deg,#788aa0,#52677e)}
.member-theme .notification-section h2{margin:0;color:#24384b;font-size:15px}.member-theme .notification-section header small{display:block;margin-top:2px;color:#8494a3;font-size:10px}
.member-theme .notification-section .notification-list{padding-top:11px}.member-theme .notification-empty{padding:24px 12px;text-align:center;color:#9aa8b4;font-size:12px}
.member-theme .chat-notification-section .notification-card{border-color:#dbeafa;background:linear-gradient(100deg,#f7fbff,#fff)}
.member-theme .chat-alert-backdrop{place-items:center!important;padding:18px!important;background:rgba(12,33,55,.56)!important;backdrop-filter:blur(3px)}
.member-theme .chat-alert-modal{width:min(380px,100%)!important;padding:27px 22px 20px!important;overflow:visible!important;border:0!important;border-radius:22px!important;background:#fff!important;text-align:center!important;box-shadow:0 28px 80px rgba(15,42,68,.3)!important}
.member-theme .chat-alert-icon{position:relative;width:64px;height:64px;margin:-58px auto 16px;display:grid;place-items:center;border:5px solid #fff;border-radius:21px;background:linear-gradient(145deg,#2aa7ef,#0875d0);box-shadow:0 10px 25px rgba(16,127,213,.32)}
.member-theme .chat-alert-icon span{color:#fff;font-size:21px;font-weight:800}.member-theme .chat-alert-icon i{position:absolute;right:-3px;top:-3px;width:14px;height:14px;border:3px solid #fff;border-radius:50%;background:#ff4d4f}
.member-theme .chat-alert-modal h2{margin:0 0 10px;color:#1f3346;font-size:19px}.member-theme .chat-alert-modal>strong{display:block;color:#263d51;font-size:15px}.member-theme .chat-alert-modal>p{margin:8px 0;color:#748596;font-size:13px;line-height:1.6}.member-theme .chat-alert-modal>small{color:#a0acb7;font-size:10px}
.member-theme .chat-alert-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:9px;margin-top:20px}.member-theme .chat-alert-actions button{height:42px;border-radius:21px!important}
.member-theme .member-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:11px -3px -3px;padding-top:10px;border-top:1px solid #edf2f6}
.member-theme .member-relation{min-width:0;display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:13px;background:#edf6ff;color:#227fc1;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.member-theme .member-relation i{width:18px;height:18px;display:grid;place-items:center;border-radius:50%;background:#fff;font-size:9px;font-style:normal}
.member-theme .member-card-actions>button{height:30px;display:inline-flex;align-items:center;gap:5px;padding:0 10px;border:0;border-radius:15px;background:#178de0;color:#fff;font-size:11px;box-shadow:0 5px 11px rgba(23,141,224,.18)}
.member-theme .member-card-actions>button i{font-style:normal}.member-theme .member-card-actions>button:disabled{background:#eef1f4;color:#99a5af;box-shadow:none}
.member-theme .status-choice{display:inline-flex!important;align-items:center!important;gap:6px!important}.member-theme .status-choice i{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#168de2;font-size:11px;font-style:normal;box-shadow:0 2px 6px rgba(42,98,143,.12)}
.member-theme .wechat-subscribe-card,.member-theme .platform-settings-card{margin-top:14px}.member-theme .wechat-subscribe-card .card-head{gap:12px}.member-theme .wechat-subscribe-card .card-head p{margin:3px 0 0;color:#7f8f9e;font-size:11px}
.member-theme .config-state{flex:0 0 auto;padding:5px 9px;border-radius:12px;font-size:10px}.member-theme .config-state.ready{background:#e8f7ef;color:#248054}.member-theme .config-state.missing{background:#fff0e8;color:#b35b2c}
.member-theme .wechat-config-guide{margin:14px 19px 0;padding:13px;display:flex;gap:11px;border:1px solid #dbeaf6;border-radius:12px;background:#f5fbff}.member-theme .wechat-config-guide>i{width:35px;height:35px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:#08c160;color:#fff;font-style:normal;font-weight:700}.member-theme .wechat-config-guide strong{display:block;color:#263d51}.member-theme .wechat-config-guide p{margin:3px 0 0;color:#718393;font-size:11px;line-height:1.65}.member-theme .wechat-config-guide code{padding:1px 5px;border-radius:4px;background:#e5f1fa;color:#28668f}
@media(max-width:760px){.member-theme .notification-section{margin-bottom:11px;padding:0 11px 11px;border-radius:12px}.member-theme .notification-section>header{min-height:59px}.member-theme .chat-alert-modal{margin-bottom:20vh!important}.member-theme .member-card-actions{margin-top:9px}.member-theme .wechat-subscribe-card .card-head{align-items:flex-start}.member-theme .config-state{margin-top:2px}.member-theme .wechat-config-guide{margin:11px 13px 0}.member-theme .wechat-config-guide p{word-break:break-word}}
@media(max-width:350px){.member-theme .member-card-actions>button span{display:none}.member-theme .member-card-actions>button{width:32px;padding:0;justify-content:center}.member-theme .chat-alert-actions{grid-template-columns:1fr}.member-theme .chat-alert-modal{padding-left:16px!important;padding-right:16px!important}.member-theme .config-state{max-width:92px;text-align:center}}
.admin-settings-page .wechat-subscribe-card,.admin-settings-page .platform-settings-card{margin-top:14px}.admin-settings-page .wechat-subscribe-card .card-head{gap:12px}.admin-settings-page .wechat-subscribe-card .card-head p{margin:3px 0 0;color:#7f8f9e;font-size:11px}.admin-settings-page .config-state{flex:0 0 auto;padding:5px 9px;border-radius:12px;font-size:10px}.admin-settings-page .config-state.ready{background:#e8f7ef;color:#248054}.admin-settings-page .config-state.missing{background:#fff0e8;color:#b35b2c}.admin-settings-page .wechat-config-guide{margin:14px 19px 0;padding:13px;display:flex;gap:11px;border:1px solid #dbeaf6;border-radius:12px;background:#f5fbff}.admin-settings-page .wechat-config-guide>i{width:35px;height:35px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px;background:#08c160;color:#fff;font-style:normal;font-weight:700}.admin-settings-page .wechat-config-guide strong{display:block;color:#263d51}.admin-settings-page .wechat-config-guide p{margin:3px 0 0;color:#718393;font-size:11px;line-height:1.65}.admin-settings-page .wechat-config-guide code{padding:1px 5px;border-radius:4px;background:#e5f1fa;color:#28668f}@media(max-width:760px){.admin-settings-page .wechat-subscribe-card .card-head{align-items:flex-start}.admin-settings-page .config-state{margin-top:2px}.admin-settings-page .wechat-config-guide{margin:11px 13px 0}.admin-settings-page .wechat-config-guide p{word-break:break-word}}

/* v25 relationship and status visual language. */
.member-theme .relation-showcase{--relation:#168de2;--relation-soft:#e9f5ff;position:relative!important;display:flex!important;align-items:center!important;gap:8px!important;width:max-content!important;max-width:100%!important;min-height:36px!important;padding:5px 12px 5px 8px!important;border:1px solid #d7e9f5!important;border:1px solid color-mix(in srgb,var(--relation) 24%,#fff)!important;border-radius:11px!important;background:linear-gradient(115deg,var(--relation-soft),#fff)!important;color:var(--relation)!important;box-shadow:0 4px 12px rgba(22,141,226,.08)!important;box-shadow:0 4px 12px color-mix(in srgb,var(--relation) 10%,transparent)!important;overflow:hidden!important}
.member-theme .relation-ancestor{--relation:#9b6429;--relation-soft:#fff5df}.member-theme .relation-parent{--relation:#3c7fba;--relation-soft:#eaf6ff}.member-theme .relation-partner{--relation:#d25d78;--relation-soft:#fff0f4}.member-theme .relation-sibling{--relation:#6d63bd;--relation-soft:#f1efff}.member-theme .relation-junior{--relation:#299b75;--relation-soft:#e9faf4}.member-theme .relation-family{--relation:#667b8d;--relation-soft:#eff4f7}
.member-theme .relation-link-icon{position:relative!important;display:block!important;flex:0 0 31px!important;width:31px!important;height:18px!important;overflow:visible!important}
.member-theme .relation-link-icon:before{content:"";position:absolute;left:7px;right:7px;top:8px;height:2px;border-radius:2px;background:currentColor;opacity:.48}
.member-theme .relation-link-icon:after{content:"";position:absolute;left:9px;top:7px;width:4px;height:4px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px var(--relation);animation:relationFlow 2.4s ease-in-out infinite}
.member-theme .relation-link-icon i{position:absolute!important;top:3px!important;width:12px!important;height:12px!important;border:2px solid currentColor!important;border-radius:50%!important;background:#fff!important;box-sizing:border-box!important}.member-theme .relation-link-icon i:first-child{left:0}.member-theme .relation-link-icon i:last-child{right:0}
.member-theme .relation-copy{position:relative!important;z-index:2!important;display:flex!important;align-items:baseline!important;gap:6px!important;min-width:0!important;overflow:visible!important;white-space:nowrap!important}.member-theme .relation-copy small{color:#8796a2!important;font-size:9px!important}.member-theme .relation-copy strong{color:var(--relation)!important;font-size:13px!important;line-height:1.2!important}
.member-theme .relation-shine{position:absolute;top:-60%;bottom:-60%;left:-35%;width:20%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.8),transparent);transform:rotate(15deg);animation:relationShine 5s ease-in-out infinite}
.member-theme .status-visual{--status:#168de2;--status-soft:#eaf6ff;position:relative!important;display:grid!important;grid-template-columns:25px minmax(0,1fr) 12px!important;gap:7px!important;align-items:center!important;width:100%!important;min-height:43px!important;padding:6px 8px!important;border:1px solid #d7e9f5!important;border:1px solid color-mix(in srgb,var(--status) 20%,#fff)!important;border-radius:11px!important;background:linear-gradient(110deg,var(--status-soft),#fff)!important;color:#31495b!important;box-sizing:border-box!important;overflow:hidden!important;box-shadow:0 3px 10px rgba(22,141,226,.06)!important;box-shadow:0 3px 10px color-mix(in srgb,var(--status) 8%,transparent)!important}
.member-theme .status-focus{--status:#ef8b26;--status-soft:#fff5e7}.member-theme .status-travel{--status:#7868d5;--status-soft:#f2efff}.member-theme .status-rest{--status:#6883a0;--status-soft:#edf3f8}.member-theme .status-online{--status:#24a977;--status-soft:#e9faf3}.member-theme .status-custom{--status:#168de2;--status-soft:#eaf6ff}.member-theme .status-empty{--status:#93a1ad;--status-soft:#f3f5f7}
.member-theme .status-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.65) 48%,transparent 66%);transform:translateX(-130%);animation:statusGlimmer 5.5s ease-in-out infinite;pointer-events:none}
.member-theme .status-orb{position:relative!important;z-index:1!important;display:grid!important;place-items:center!important;width:22px!important;height:22px!important;min-width:22px!important;border-radius:50%!important;background:color-mix(in srgb,var(--status) 14%,#fff)!important;overflow:visible!important}
.member-theme .status-orb:before,.member-theme .status-orb i{content:"";display:block!important;width:8px!important;height:8px!important;border-radius:50%!important;background:var(--status)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--status) 13%,transparent)!important}.member-theme .status-orb:before{position:absolute;animation:statusPulse 2.2s ease-out infinite}.member-theme .status-orb i{position:relative!important;z-index:1!important}
.member-theme .status-copy{position:relative!important;z-index:1!important;display:grid!important;gap:1px!important;min-width:0!important;overflow:visible!important}.member-theme .status-copy small{color:#8997a2!important;font-size:8px!important;line-height:1.15!important}.member-theme .status-copy strong{min-width:0!important;color:#34495a!important;font-size:11px!important;line-height:1.35!important;font-weight:600!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.member-theme .status-arrow{position:relative!important;z-index:1!important;color:var(--status)!important;font-size:18px!important;font-style:normal!important}
.member-theme .wechat-status-line.status-visual{border-top:1px solid color-mix(in srgb,var(--status) 20%,#fff)!important;text-align:left!important}.member-theme .wechat-member-status.status-visual{padding:6px 8px!important;border-top:1px solid color-mix(in srgb,var(--status) 20%,#fff)!important}
@keyframes relationFlow{0%,100%{transform:translateX(0);opacity:.55}50%{transform:translateX(10px);opacity:1}}@keyframes relationShine{0%,65%{left:-35%}85%,100%{left:125%}}@keyframes statusPulse{0%{transform:scale(1);opacity:.55}75%,100%{transform:scale(2.5);opacity:0}}@keyframes statusGlimmer{0%,70%{transform:translateX(-130%)}90%,100%{transform:translateX(130%)}}
@media(max-width:760px){.member-theme .wechat-member-card{align-items:start!important}.member-theme .wechat-member-main{gap:7px!important}.member-theme .relation-showcase{min-height:34px!important;padding:4px 10px 4px 7px!important}.member-theme .status-visual{min-height:41px!important}.member-theme .wechat-profile-identity{align-items:start!important}}
@media(prefers-reduced-motion:reduce){.member-theme .relation-link-icon:after,.member-theme .relation-shine,.member-theme .status-orb:before,.member-theme .status-visual:after{animation:none!important}}

/* v26 redesigned family home: compact, modular and mobile-first. */
.member-theme .home-v26{display:grid!important;grid-template-columns:minmax(0,1.48fr) minmax(300px,.72fr)!important;gap:13px!important;align-items:start!important;background:linear-gradient(180deg,#eef7ff 0,#f7faff 230px)!important}
.member-theme .home-welcome-card{position:relative!important;grid-column:1/-1!important;min-height:126px!important;padding:23px 28px!important;border:0!important;border-radius:18px!important;background:linear-gradient(125deg,#087dd2 0%,#1598e8 56%,#47b9ee 100%)!important;color:#fff!important;box-shadow:0 12px 28px rgba(14,126,203,.2)!important;overflow:hidden!important}
.member-theme .home-welcome-card:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.13),transparent 36%),repeating-linear-gradient(135deg,rgba(255,255,255,.025) 0,rgba(255,255,255,.025) 15px,transparent 15px,transparent 31px);pointer-events:none}
.member-theme .home-glow{position:absolute;border-radius:50%;background:rgba(255,255,255,.09);filter:blur(1px);pointer-events:none}.member-theme .home-glow.glow-a{width:180px;height:180px;right:-36px;top:-97px}.member-theme .home-glow.glow-b{width:110px;height:110px;right:110px;bottom:-80px}
.member-theme .home-welcome-main{position:relative;z-index:1;display:flex;align-items:center;gap:17px;min-width:0}.member-theme .home-welcome-main>.avatar{width:68px!important;height:68px!important;border:3px solid rgba(255,255,255,.9)!important;background:rgba(255,255,255,.22)!important;box-shadow:0 8px 20px rgba(0,71,126,.2)!important}.member-theme .home-welcome-copy{display:grid;gap:3px;min-width:0}.member-theme .home-welcome-copy>small{color:#dff4ff;font-size:11px}.member-theme .home-welcome-copy>div{display:flex;align-items:center;gap:8px;min-width:0}.member-theme .home-welcome-copy h1{margin:0;color:#fff;font-size:25px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-theme .home-welcome-copy i{flex:0 0 auto;padding:3px 8px;border:1px solid rgba(255,255,255,.25);border-radius:10px;background:rgba(255,255,255,.14);color:#fff;font-size:9px;font-style:normal}.member-theme .home-welcome-copy p{display:flex;align-items:center;gap:6px;max-width:420px;margin:0;color:#e6f7ff;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-theme .home-welcome-copy p span{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#6ff0c1;box-shadow:0 0 0 4px rgba(111,240,193,.17);animation:homeStatusPulse 2.4s ease-in-out infinite}.member-theme .home-profile-link{position:absolute;z-index:2;right:23px;top:50%;width:34px;height:34px;min-height:34px;padding:0;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(255,255,255,.13);color:#fff;font-size:23px;line-height:32px;transform:translateY(-50%)}
.member-theme .home-summary-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.member-theme .home-summary{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px;min-width:0;min-height:82px;padding:13px 15px;border:1px solid #e2eaf1;border-radius:15px;background:#fff;color:#26394a;text-align:left;box-shadow:0 5px 16px rgba(41,75,103,.055);transition:transform .2s,box-shadow .2s}.member-theme .home-summary:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(41,75,103,.1)}.member-theme .home-summary>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e8f5ff;color:#168de2}.member-theme .home-summary.families>span{background:#f0efff;color:#7667d8}.member-theme .home-summary.ancestors>span{background:#fff3df;color:#bc7a26}.member-theme .home-summary svg,.member-theme .home-action-grid svg,.member-theme .home-notice-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.member-theme .home-summary>div{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;column-gap:7px;min-width:0}.member-theme .home-summary b{color:#172b3c;font-size:22px;line-height:1.1}.member-theme .home-summary strong{font-size:12px}.member-theme .home-summary small{grid-column:1/-1;margin-top:3px;color:#8a99a6;font-size:9px}.member-theme .home-summary:disabled{opacity:.65}
.member-theme .home-notice-card{grid-column:1/-1;display:grid;grid-template-columns:38px minmax(0,1fr) 14px;align-items:center;gap:10px;min-height:62px;padding:10px 15px;border:1px solid #dfeaf3;border-radius:14px;background:#fff;color:#35495a;text-align:left;box-shadow:0 4px 14px rgba(41,75,103,.045)}.member-theme .home-notice-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#eaf5ff;color:#168de2}.member-theme .home-notice-icon svg{width:18px;height:18px}.member-theme .home-notice-copy{display:grid;gap:2px;min-width:0}.member-theme .home-notice-copy small{color:#1686d4;font-size:10px;font-weight:700}.member-theme .home-notice-copy strong{min-width:0;color:#526575;font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-theme .home-notice-card>i{color:#a5b3bf;font-size:19px;font-style:normal}
.member-theme .home-section{min-width:0;border:1px solid #e2eaf1;border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(41,75,103,.05);overflow:hidden}.member-theme .home-section-head{display:flex;align-items:center;justify-content:space-between;min-height:57px;padding:11px 15px;border-bottom:1px solid #edf1f5}.member-theme .home-section-head h2{margin:0;color:#1d3446;font-size:15px}.member-theme .home-section-head small{display:block;margin-top:2px;color:#93a1ac;font-size:9px}.member-theme .home-section-head>button{min-height:28px;padding:0 2px;border:0;background:transparent;color:#1685d2;font-size:10px}.member-theme .home-section-head>button i{font-size:15px;font-style:normal}
.member-theme .home-actions-section{grid-column:2;grid-row:4}.member-theme .home-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;padding:7px;background:#edf1f5}.member-theme .home-action-grid button{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;column-gap:9px;min-width:0;min-height:68px;padding:9px 10px;border:0;border-radius:0;background:#fff;color:#314758;text-align:left}.member-theme .home-action-grid button>span{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:11px}.member-theme .home-action-grid button>span.blue{background:#e7f4ff;color:#168de2}.member-theme .home-action-grid button>span.violet{background:#f0eeff;color:#7769d5}.member-theme .home-action-grid button>span.green{background:#e7f8f1;color:#249b72}.member-theme .home-action-grid button>span.gold{background:#fff3df;color:#ba7926}.member-theme .home-action-grid button b{align-self:end;color:#263d4e;font-size:11px}.member-theme .home-action-grid button small{align-self:start;color:#9aa6af;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.member-theme .home-kin-section{grid-column:1;grid-row:4/6}.member-theme .home-kin-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:11px}.member-theme .home-kin-card{display:grid;grid-template-columns:43px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;min-height:66px;padding:10px;border:1px solid #e8eef3;border-radius:12px;background:#fbfdff;color:#314657;text-align:left;transition:.2s}.member-theme .home-kin-card:hover{border-color:#bcdcf1;background:#f5fbff;transform:translateY(-1px)}.member-theme .home-kin-card>.avatar{width:43px;height:43px;border:0;background:linear-gradient(145deg,#dff2ff,#b8e0fa);color:#167fc9}.member-theme .home-kin-card>span{min-width:0}.member-theme .home-kin-card strong,.member-theme .home-kin-card small{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-theme .home-kin-card strong{color:#273b4c;font-size:12px}.member-theme .home-kin-card small{margin-top:3px;color:#8d9ba6;font-size:9px}.member-theme .home-relation-pill{max-width:72px;padding:3px 7px;border-radius:10px;background:#e9f5ff;color:#1682cf;font-size:8px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-theme .home-relation-pill.relation-ancestor{background:#fff4df;color:#9b6429}.member-theme .home-relation-pill.relation-parent{background:#e9f5ff;color:#347ebc}.member-theme .home-relation-pill.relation-partner{background:#fff0f4;color:#cf5c77}.member-theme .home-relation-pill.relation-sibling{background:#f0efff;color:#6d63bd}.member-theme .home-relation-pill.relation-junior{background:#e9faf4;color:#299b75}
.member-theme .home-family-note{grid-column:2;display:flex;align-items:center;gap:11px;min-height:70px;padding:13px 15px;border:1px solid #dcebf5;border-radius:15px;background:linear-gradient(135deg,#f0f8ff,#fff);color:#365064}.member-theme .home-family-note>span{width:34px;height:34px;flex:0 0 34px;border:7px double #83c9f3;border-radius:50%;background:#e9f6ff;box-shadow:inset 0 0 0 4px #fff}.member-theme .home-family-note div{min-width:0}.member-theme .home-family-note strong,.member-theme .home-family-note small{display:block}.member-theme .home-family-note strong{font-size:11px}.member-theme .home-family-note small{margin-top:3px;color:#8496a5;font-size:8px;line-height:1.45}
@keyframes homeStatusPulse{0%,100%{box-shadow:0 0 0 4px rgba(111,240,193,.14)}50%{box-shadow:0 0 0 7px rgba(111,240,193,.04)}}
@media(max-width:760px){.member-theme .home-v26{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding-top:12px!important;background:linear-gradient(180deg,#edf7ff,#f7faff 230px)!important}.member-theme .home-welcome-card{grid-column:auto!important;min-height:108px!important;padding:18px 16px!important;border-radius:16px!important}.member-theme .home-welcome-main{gap:12px;padding-right:32px}.member-theme .home-welcome-main>.avatar{width:56px!important;height:56px!important}.member-theme .home-welcome-copy>small{font-size:9px}.member-theme .home-welcome-copy h1{font-size:20px}.member-theme .home-welcome-copy i{padding:2px 6px;font-size:8px}.member-theme .home-welcome-copy p{max-width:205px;font-size:10px}.member-theme .home-profile-link{right:13px;width:30px;height:30px;min-height:30px;line-height:28px}.member-theme .home-summary-grid{grid-column:auto;gap:7px}.member-theme .home-summary{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:99px;padding:10px 9px;border-radius:13px}.member-theme .home-summary>span{width:32px;height:32px;border-radius:10px}.member-theme .home-summary svg{width:17px;height:17px}.member-theme .home-summary>div{display:block}.member-theme .home-summary b{display:block;font-size:19px}.member-theme .home-summary strong{display:block;margin-top:1px;font-size:10px}.member-theme .home-summary small{display:none}.member-theme .home-notice-card{grid-column:auto;min-height:56px;padding:9px 11px;border-radius:13px}.member-theme .home-notice-icon{width:34px;height:34px}.member-theme .home-section{grid-column:auto!important;grid-row:auto!important;border-radius:14px}.member-theme .home-actions-section{order:4}.member-theme .home-kin-section{order:5}.member-theme .home-family-note{grid-column:auto;order:6;min-height:64px;border-radius:13px}.member-theme .home-section-head{min-height:50px;padding:9px 12px}.member-theme .home-section-head h2{font-size:14px}.member-theme .home-action-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:7px 4px;background:#fff}.member-theme .home-action-grid button{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:73px;padding:5px 2px;text-align:center}.member-theme .home-action-grid button>span{grid-row:auto;width:35px;height:35px}.member-theme .home-action-grid button b{align-self:auto;font-size:9px}.member-theme .home-action-grid button small{display:none}.member-theme .home-kin-list{display:flex;gap:8px;padding:10px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none}.member-theme .home-kin-list::-webkit-scrollbar{display:none}.member-theme .home-kin-card{flex:0 0 205px;grid-template-columns:42px minmax(0,1fr);min-height:64px;scroll-snap-align:start}.member-theme .home-kin-card>.home-relation-pill{grid-column:2;justify-self:start;margin-top:-4px}.member-theme .home-kin-card>span small{display:none}.member-theme .home-family-note>span{width:31px;height:31px;flex-basis:31px}.member-theme .home-family-note strong{font-size:10px}.member-theme .home-family-note small{font-size:8px}}
@media(max-width:340px){.member-theme .home-welcome-card{padding-left:13px}.member-theme .home-welcome-main>.avatar{width:51px!important;height:51px!important}.member-theme .home-welcome-copy h1{font-size:18px}.member-theme .home-welcome-copy p{max-width:160px}.member-theme .home-summary{min-height:93px;padding:9px 7px}.member-theme .home-summary strong{font-size:9px}.member-theme .home-action-grid button b{font-size:8px}}
@media(prefers-reduced-motion:reduce){.member-theme .home-welcome-copy p span{animation:none!important}}

/* v28 compact identities, relation watermarks, announcement editor and family chat */
.member-theme .status-orb i{width:auto!important;height:auto!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--status)!important;font-size:13px!important;font-style:normal!important;font-weight:800!important;line-height:1!important}.member-theme .home-welcome-copy p .home-status-icon{display:grid!important;place-items:center!important;width:18px!important;height:18px!important;flex:0 0 18px!important;border-radius:6px!important;background:rgba(255,255,255,.18)!important;color:#fff!important;font-size:11px!important;font-weight:800!important;box-shadow:none!important;animation:none!important}.member-theme .home-welcome-copy p>b{flex:0 0 auto;padding:1px 5px;border:1px solid rgba(255,255,255,.2);border-radius:7px;color:#dff4ff;font-size:8px;font-weight:700}
.member-theme .phonebook-card{position:relative;overflow:hidden}.member-theme .phonebook-card>*{position:relative;z-index:1}.member-theme .phonebook-relation-watermark{position:absolute!important;z-index:0!important;right:90px;top:1px;color:#168de2;font-size:31px;font-style:normal;font-weight:800;letter-spacing:2px;opacity:.09;pointer-events:none;transform:rotate(-7deg)}.member-theme .phonebook-main>small{display:inline-flex;width:max-content;max-width:100%;margin-top:3px;padding:2px 7px;border-radius:8px;background:#edf6fd;color:#5f7e95;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.member-theme .member-detail-actions{grid-template-columns:repeat(5,minmax(0,1fr))!important}.member-theme .member-detail-actions button{min-width:0!important}.member-theme .member-detail-actions button span{white-space:nowrap}
.chat-modal{width:min(620px,calc(100vw - 28px))!important;height:min(720px,calc(100vh - 36px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden!important;background:#edf5ff!important}.chat-head{display:grid!important;grid-template-columns:40px minmax(0,1fr) 36px!important;align-items:center!important;gap:10px!important;background:#fff}.chat-head .avatar{width:38px;height:38px}.chat-head h2,.chat-head small{display:block;margin:0}.chat-head h2{font-size:16px}.chat-head small{margin-top:2px;color:#8798a5;font-size:10px}.chat-messages{min-height:0;padding:18px;overflow-y:auto;overscroll-behavior:contain}.chat-row{display:flex;margin-bottom:11px}.chat-row.mine{justify-content:flex-end}.chat-row>div{max-width:76%;padding:9px 12px;border-radius:5px 14px 14px;background:#fff;color:#263b4d;box-shadow:0 3px 10px rgba(43,81,110,.07)}.chat-row.mine>div{border-radius:14px 5px 14px 14px;background:#168de2;color:#fff}.chat-row p{margin:0;font-size:13px;line-height:1.55;white-space:pre-wrap;word-break:break-word}.chat-row small{display:block;margin-top:4px;color:#94a5b2;font-size:8px}.chat-row.mine small{color:rgba(255,255,255,.72)}.chat-empty{padding:70px 15px;text-align:center;color:#8999a6;font-size:12px}.chat-compose{display:grid;grid-template-columns:minmax(0,1fr) 70px;align-items:end;gap:9px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #dce8f2;background:#fff}.chat-compose textarea{box-sizing:border-box;width:100%;height:46px;max-height:110px;padding:11px;border:0;border-radius:10px;background:#f1f5f8;resize:none}.chat-compose button{height:42px;min-height:42px;padding:0}
.announcement-editor{max-width:860px;overflow:hidden}.announcement-preview{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;padding:16px;border-bottom:1px solid #e4edf4;background:linear-gradient(120deg,#eff8ff,#fff)}.announcement-preview>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#168de2;color:#fff;font-weight:800}.announcement-preview small,.announcement-preview strong{display:block}.announcement-preview small{color:#7f929f;font-size:10px}.announcement-preview strong{margin-top:3px;color:#294154;font-size:13px;line-height:1.5}.announcement-editor textarea{min-height:140px}
@media(max-width:760px){.member-theme .home-welcome-card{min-height:92px!important;padding:13px 14px!important}.member-theme .home-welcome-main>.avatar{width:50px!important;height:50px!important;border-width:2px!important}.member-theme .home-welcome-main{gap:10px}.member-theme .home-welcome-copy h1{font-size:18px}.member-theme .home-welcome-copy p{max-width:190px}.member-theme .wechat-profile-identity{min-height:0!important;padding:13px!important;gap:11px!important}.member-theme .wechat-profile-identity .profile-avatar-button .avatar{width:54px!important;height:54px!important}.member-theme .wechat-profile-identity .wechat-name-line h1{font-size:18px!important}.member-theme .wechat-profile-identity .wechat-meta-line{font-size:10px!important}.member-theme .wechat-member-card{grid-template-columns:58px minmax(0,1fr)!important;gap:12px!important;padding:14px!important}.member-theme .wechat-member-card>.avatar{width:58px!important;height:58px!important}.member-theme .wechat-member-main{gap:5px!important}.member-theme .wechat-member-main .wechat-name-line h2{font-size:18px!important}.member-theme .relation-showcase{min-height:30px!important}.member-theme .status-visual{min-height:37px!important;padding:4px 7px!important}.member-theme .status-copy strong{font-size:10px!important}.member-theme .member-detail-actions button{padding-inline:1px!important}.member-theme .member-detail-actions button b{width:28px!important;height:28px!important;line-height:28px!important}.member-theme .member-detail-actions button span{font-size:9px!important}.chat-modal{width:100%!important;height:100%!important;max-height:none!important;border-radius:0!important}.phonebook-relation-watermark{right:70px!important;font-size:25px!important}}
.gender-badge{width:18px;height:18px;display:inline-grid;place-items:center;vertical-align:middle;border-radius:6px;font:800 12px/1 system-ui;font-style:normal}.gender-badge.male{background:#e5f3ff;color:#1689dc}.gender-badge.female{background:#fff0f5;color:#e35d8b}.gender-badge.unknown{background:#f0f3f5;color:#8795a1;font-size:9px}.member-top h3 .gender-badge,.home-kin-card strong .gender-badge{margin-left:3px}.member-theme .home-welcome-label{width:max-content;display:inline-flex!important;align-items:center;gap:5px;margin-bottom:2px;padding:3px 8px 3px 4px;border:1px solid rgba(255,255,255,.22);border-radius:11px;background:rgba(255,255,255,.12);box-shadow:inset 0 1px rgba(255,255,255,.1)}.member-theme .home-welcome-label b{width:18px;height:18px;display:grid;place-items:center;border-radius:7px;background:rgba(255,255,255,.2);color:#fff;font-size:11px}.member-theme .home-welcome-label span{color:#e9f8ff;font-size:10px;font-weight:700;letter-spacing:.08em}.member-theme .home-welcome-label i{width:4px;height:4px;border-radius:50%;background:#7ff1c9;box-shadow:0 0 0 3px rgba(127,241,201,.14)}.log-actor-kind{display:block;margin-top:3px;color:#8493a0;font-size:10px}.admin-shell .table .gender-badge{margin-left:4px}@media(max-width:760px){.member-theme .home-welcome-label{padding:2px 7px 2px 3px}.member-theme .home-welcome-label b{width:16px;height:16px}.member-theme .home-welcome-label span{font-size:9px}.gender-badge{width:17px;height:17px;font-size:11px}}

/* v31 stone memorial component: shared by temple cards and ancestor details. */
.member-theme .ancestor-card-main{grid-template-columns:minmax(0,1fr) 94px!important;align-items:center!important;gap:12px!important;padding:14px 14px 12px!important;background:linear-gradient(120deg,#fff 0,#fff 62%,#f1f3f4 100%)!important}
.member-theme .ancestor-card-meta{grid-column:1!important}.member-theme .ancestor-card-main>.memorial-monument{grid-column:2!important}
.member-theme .memorial-monument{--stone:#d9dcde;--stone-light:#f4f5f5;--stone-dark:#aeb3b6;position:relative;isolation:isolate;box-sizing:border-box;color:#454b4e;font-family:"STKaiti","KaiTi",serif;filter:drop-shadow(0 9px 9px rgba(41,48,52,.2))}
.member-theme .monument-crown{position:relative;z-index:3;display:grid;grid-template-columns:1fr 1.8fr 1fr;align-items:end;width:84%;height:20%;margin:0 auto -2px;padding:0 5%;box-sizing:border-box;border:1px solid var(--stone-dark);border-bottom:0;border-radius:50% 50% 5px 5px;background:radial-gradient(circle at 50% 20%,#fff,var(--stone-light) 42%,var(--stone) 100%);box-shadow:inset 0 3px 5px rgba(255,255,255,.9)}
.member-theme .monument-crown:before{content:"";position:absolute;left:17%;right:17%;bottom:12%;height:27%;border:1px solid rgba(126,132,135,.55);border-radius:50%;box-shadow:inset 0 1px #fff}.member-theme .monument-crown span{align-self:center;justify-self:center;width:38%;aspect-ratio:1;border:1px solid #a9afb2;border-radius:50%;background:linear-gradient(135deg,#fafafa,#c9cdcf);box-shadow:0 0 0 3px rgba(255,255,255,.36)}
.member-theme .monument-crown i{width:65%;height:42%;border-top:2px solid #aaaeb0;border-radius:50%;opacity:.7}.member-theme .monument-crown i:last-child{justify-self:end}
.member-theme .monument-pillars{position:relative;z-index:2;display:grid;grid-template-columns:12% minmax(0,1fr) 12%;align-items:stretch;width:92%;height:62%;margin:0 auto;background:linear-gradient(90deg,#c8ccce,#f3f4f4 16%,#d4d7d8 84%,#b9bec0);border:1px solid #a8adaf;border-radius:4px 4px 1px 1px;box-shadow:inset 0 2px 3px #fff}
.member-theme .monument-pillars>i{position:relative;background:linear-gradient(90deg,#b9bec0,#f1f2f2 48%,#bdc1c3);border-inline:1px solid #aeb3b5}.member-theme .monument-pillars>i:before,.member-theme .monument-pillars>i:after{content:"";position:absolute;left:-17%;right:-17%;height:7%;border:1px solid #aeb3b5;background:linear-gradient(#eef0f0,#c7cbcd)}.member-theme .monument-pillars>i:before{top:2%}.member-theme .monument-pillars>i:after{bottom:2%}
.member-theme .monument-stone{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;margin:4% 5%;padding:6% 4% 4%;overflow:hidden;border:1px solid #858b8e;border-radius:8px 8px 2px 2px;background:linear-gradient(145deg,#676d70,#353a3d 72%);box-shadow:inset 0 0 16px rgba(0,0,0,.3),0 0 0 2px rgba(255,255,255,.4);color:#f1f0e9}
.member-theme .monument-stone:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(115deg,transparent 0,transparent 11px,rgba(255,255,255,.025) 12px,transparent 14px);pointer-events:none}.member-theme .monument-portrait{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 auto;overflow:hidden;border:2px solid #d5d4ca;border-radius:50%;background:linear-gradient(#9aa0a3,#666d70);color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.35)}.member-theme .monument-portrait img{width:100%;height:100%;display:block;object-fit:cover;filter:grayscale(.82) contrast(1.04)}.member-theme .monument-portrait span{font-weight:700}
.member-theme .monument-stone strong{position:relative;z-index:1;display:block;max-height:48%;margin-top:5%;overflow:hidden;color:#f6f0db;font-weight:700;letter-spacing:.12em;line-height:1.12;writing-mode:vertical-rl;text-orientation:upright}.member-theme .monument-stone small{position:relative;z-index:1;margin-top:auto;color:#c9c5b9;letter-spacing:.12em;white-space:nowrap}
.member-theme .monument-offering{position:relative;z-index:4;display:flex;align-items:end;justify-content:center;gap:9%;width:69%;height:9%;margin:-1% auto 0;border:1px solid #9ba0a2;border-radius:2px;background:linear-gradient(#eceeee,#bfc3c5);box-shadow:inset 0 2px #fff}.member-theme .monument-offering span{align-self:center;color:#686e71;white-space:nowrap}.member-theme .monument-candle,.member-theme .monument-incense{position:relative;display:block;width:5%;height:54%;border-radius:2px 2px 0 0;background:#ae4e35}.member-theme .monument-candle:before{content:"";position:absolute;left:50%;bottom:100%;width:150%;height:65%;border-radius:70% 30% 60% 40%;background:#f8b940;box-shadow:0 0 5px #ef8627;transform:translateX(-50%)}.member-theme .monument-incense{width:3%;height:75%;background:#775642;box-shadow:5px 0 #775642,-5px 0 #775642}
.member-theme .monument-base{position:relative;z-index:5;width:100%;height:9%;margin:-1px auto 0;border:1px solid #999fa2;border-radius:3px;background:linear-gradient(#e4e6e6,#b7bcbe);box-shadow:inset 0 2px #f8f8f8}.member-theme .monument-base:after{content:"";position:absolute;left:8%;right:8%;top:22%;bottom:22%;border:1px solid rgba(125,132,135,.48)}
.member-theme .memorial-monument.compact{width:88px;height:118px;flex:0 0 88px}.member-theme .memorial-monument.compact .monument-portrait{width:25px;height:25px;font-size:11px}.member-theme .memorial-monument.compact .monument-stone strong{font-size:9px}.member-theme .memorial-monument.compact .monument-stone small{font-size:5px}.member-theme .memorial-monument.compact .monument-offering span{font-size:5px}.member-theme .memorial-monument.compact .monument-candle,.member-theme .memorial-monument.compact .monument-incense{display:none}
.member-theme .ancestor-monument-stage{position:relative;display:grid;place-items:center;margin:-15px -15px 12px;padding:22px 15px 16px;overflow:hidden;background:radial-gradient(circle at 50% 35%,#fff 0,#edf1f3 47%,#d9dee0 100%)}.member-theme .ancestor-monument-stage:before{content:"";position:absolute;left:0;right:0;bottom:0;height:38%;background:linear-gradient(155deg,transparent 48%,rgba(130,139,144,.1) 49%,transparent 51%);background-size:36px 25px}.member-theme .memorial-monument.full{width:205px;height:270px}.member-theme .memorial-monument.full .monument-portrait{width:58px;height:58px;font-size:24px}.member-theme .memorial-monument.full .monument-stone strong{font-size:16px}.member-theme .memorial-monument.full .monument-stone small{font-size:8px}.member-theme .memorial-monument.full .monument-offering span{font-size:8px}.member-theme .ancestor-detail>h2{margin-top:8px!important}
@media(max-width:760px){.member-theme .ancestor-card-main{grid-template-columns:minmax(0,1fr) 86px!important;gap:9px!important;padding:12px!important}.member-theme .memorial-monument.compact{width:82px;height:110px;flex-basis:82px}.member-theme .ancestor-monument-stage{margin:-15px -15px 10px;padding:18px 10px 13px}.member-theme .memorial-monument.full{width:188px;height:248px}.member-theme .ancestor-modal{max-height:94svh!important}.member-theme .ancestor-detail .bio{margin-top:10px!important}}
@media(max-width:340px){.member-theme .ancestor-card-main{grid-template-columns:minmax(0,1fr) 76px!important}.member-theme .memorial-monument.compact{width:72px;height:100px;flex-basis:72px}.member-theme .ancestor-card-meta h3{font-size:16px!important}.member-theme .ancestor-card-meta p{font-size:11px!important}}

/* v35 relationship editing, compact member cards and safe mobile header */
.member-theme .member-card-copy{min-width:0;flex:1}.member-theme .member-name-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.member-theme .member-name-row h3{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-theme .name-relation-chip{flex:0 0 auto;max-width:48%;height:25px;padding:0 9px;display:inline-flex;align-items:center;gap:5px;border-radius:13px;background:#eaf5ff;color:#187dbe;font-size:10px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-theme .name-relation-chip i{width:17px;height:17px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:#fff;font-size:8px;font-style:normal}.member-theme .member-card-actions>small{color:#8a9aa8;font-size:9px}.member-theme .relation-edit-button{position:relative;z-index:2;align-self:center;margin-left:auto;padding:3px 9px;border:1px solid currentColor;border-radius:13px;background:rgba(255,255,255,.74);color:inherit;font-size:9px;font-weight:700}.member-theme .relation-copy{min-width:0}.member-theme .relation-showcase{grid-template-columns:auto minmax(0,1fr) auto!important}
.member-theme .ancestor-card-main{grid-template-columns:minmax(0,1fr) 104px!important;align-items:stretch!important;overflow:hidden}.member-theme .memorial-monument.compact{width:100px!important;height:132px!important;flex-basis:100px!important;align-self:center}.member-theme .ancestor-monument-stage{padding-top:8px!important;padding-bottom:8px!important}.member-theme .memorial-monument.full{width:226px!important;height:286px!important}
@media(max-width:760px){.member-theme .topbar{box-sizing:border-box!important;height:calc(44px + env(safe-area-inset-top))!important;min-height:calc(44px + env(safe-area-inset-top))!important;padding-top:env(safe-area-inset-top)!important}.member-theme .page{scroll-margin-top:calc(44px + env(safe-area-inset-top))}.member-theme .home-page,.member-theme .profile-page{padding-top:14px!important}.member-theme .member-name-row{align-items:flex-start}.member-theme .name-relation-chip{max-width:46%;height:23px;padding:0 8px;font-size:9px}.member-theme .member-card-actions>small{max-width:58%}.member-theme .ancestor-card-main{grid-template-columns:minmax(0,1fr) 100px!important;padding-top:8px!important;padding-bottom:8px!important}.member-theme .memorial-monument.compact{width:96px!important;height:128px!important;flex-basis:96px!important}.member-theme .memorial-monument.full{width:214px!important;height:278px!important}.member-theme .ancestor-monument-stage{margin-top:-15px!important;margin-inline:-15px!important}}
@media(max-width:340px){.member-theme .ancestor-card-main{grid-template-columns:minmax(0,1fr) 90px!important}.member-theme .memorial-monument.compact{width:87px!important;height:120px!important;flex-basis:87px!important}.member-theme .name-relation-chip{max-width:43%;padding-inline:6px}}

/* v32 optional relative contacts and household members in member details. */
.member-theme #relative-form .field label small{margin-left:4px;padding:2px 6px;border-radius:8px;background:#edf5fb;color:#6d8496;font-size:9px;font-weight:500}.member-theme #relative-form input[name="contact"],.member-theme #relative-form input[name="wechat_id"]{background:#fbfdff}
.member-theme .member-family-section{margin:12px 18px 18px;overflow:hidden;border:1px solid #e1e9ef;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(40,75,101,.055);text-align:left}.member-theme .member-family-section>header{min-height:59px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid #edf1f4;background:linear-gradient(110deg,#f5faff,#fff)}.member-theme .member-family-section h3{margin:0;color:#273c4e;font-size:15px}.member-theme .member-family-section header small{display:block;margin-top:2px;color:#8493a0;font-size:9px}.member-theme .member-family-section header>span{flex:0 0 auto;padding:4px 8px;border-radius:10px;background:#e7f4ff;color:#1684cf;font-size:9px;font-weight:700}
.member-theme .member-family-list{display:grid;padding:3px 14px}.member-theme .family-member-card{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) auto 12px;align-items:center;gap:10px;width:100%;min-height:78px;padding:10px 0;border:0;border-bottom:1px solid #edf1f4;border-radius:0;background:#fff;color:#304657;text-align:left;box-shadow:none}.member-theme .family-member-card:last-child{border-bottom:0}.member-theme .family-member-card:hover{background:#f8fbfd}.member-theme .family-member-card>.avatar{width:46px!important;height:46px!important}.member-theme .family-member-main{display:grid;gap:2px;min-width:0}.member-theme .family-member-main>strong{min-width:0;color:#263b4c;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-theme .family-member-main>strong .gender-badge{margin-left:3px}.member-theme .family-member-main>small{color:#7f8f9c;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-theme .family-contact-line{display:flex;align-items:center;gap:5px;min-width:0;color:#728795;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-theme .family-contact-line i{width:17px;height:17px;display:inline-grid;place-items:center;flex:0 0 17px;border-radius:6px;background:#e8f4ff;color:#1686d1;font-size:8px;font-style:normal}.member-theme .family-relation{display:grid;justify-items:end;gap:2px;max-width:100px}.member-theme .family-relation small{color:#9aa6af;font-size:8px}.member-theme .family-relation b{padding:3px 7px;border-radius:9px;background:#eef7ff;color:#267fbf;font-size:10px;white-space:nowrap}.member-theme .family-enter{color:#b0bbc3;font-size:20px;font-style:normal}.member-theme .family-empty{min-height:92px;display:flex;align-items:center;justify-content:center;gap:11px;padding:15px}.member-theme .family-empty>b{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#edf6fd;color:#2086c9}.member-theme .family-empty strong,.member-theme .family-empty small{display:block}.member-theme .family-empty strong{color:#536878;font-size:12px}.member-theme .family-empty small{margin-top:3px;color:#98a5af;font-size:9px}
@media(max-width:760px){.member-theme .member-family-section{margin:10px 12px 16px;border-radius:12px}.member-theme .member-family-section>header{min-height:54px;padding:9px 11px}.member-theme .member-family-list{padding:2px 11px}.member-theme .family-member-card{grid-template-columns:42px minmax(0,1fr) auto 10px;gap:8px;min-height:72px}.member-theme .family-member-card>.avatar{width:42px!important;height:42px!important}.member-theme .family-relation{max-width:74px}.member-theme .family-relation small{display:none}.member-theme .family-contact-line{max-width:160px}}

/* v36 persistent conversations and member review administrators. */
.member-theme .home-conversation-entry,.member-theme .profile-conversation-entry{width:100%;min-height:68px;display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:11px;margin:0;padding:11px 14px;border:1px solid #dce9f2;border-radius:16px;background:linear-gradient(110deg,#f4faff,#fff);color:#30485a;text-align:left;box-shadow:0 6px 20px rgba(34,92,132,.06)}
.member-theme .home-conversation-entry>span,.member-theme .profile-conversation-entry>span{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#e4f3ff;color:#1687d3;font-size:15px;font-weight:800}.member-theme .home-conversation-entry strong,.member-theme .home-conversation-entry small,.member-theme .profile-conversation-entry strong,.member-theme .profile-conversation-entry small{display:block}.member-theme .home-conversation-entry strong,.member-theme .profile-conversation-entry strong{font-size:13px}.member-theme .home-conversation-entry small,.member-theme .profile-conversation-entry small{margin-top:2px;color:#8495a2;font-size:9px}.member-theme .home-conversation-entry>i,.member-theme .profile-conversation-entry>i{color:#9dafbc;font-size:22px;font-style:normal}.member-theme .profile-conversation-entry{width:calc(100% - 36px);margin:12px 18px 0}
.member-theme .conversation-list{display:grid;gap:9px}.member-theme .conversation-card{width:100%;min-height:76px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 13px;border:1px solid #e0e9f0;border-radius:15px;background:#fff;color:#2d4354;text-align:left;box-shadow:0 5px 18px rgba(36,70,94,.05)}.member-theme .conversation-card>.avatar{width:48px!important;height:48px!important}.member-theme .conversation-card>span{min-width:0}.member-theme .conversation-card strong,.member-theme .conversation-card p{display:block;min-width:0;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-theme .conversation-card strong{font-size:13px}.member-theme .conversation-card p{margin-top:5px;color:#7f909d;font-size:10px}.member-theme .conversation-card aside{display:grid;justify-items:end;gap:7px}.member-theme .conversation-card aside small{color:#9aa8b2;font-size:8px}.member-theme .conversation-card aside i{min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#ff5360;color:#fff;font-size:9px;font-style:normal;line-height:20px;text-align:center}.member-theme .conversation-empty{min-height:210px;display:grid;place-items:center;align-content:center;gap:8px;color:#8394a1;text-align:center}.member-theme .conversation-empty>b{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;background:#e8f4fd;color:#1688d4}.member-theme .conversation-empty>strong{font-size:14px}.member-theme .conversation-empty>small{font-size:10px}.member-admin-badge{display:inline-flex;margin-left:5px;padding:2px 6px;border-radius:8px;background:#e7f4ff;color:#1684cf;font-size:9px;font-style:normal}.member-admin-field{padding:12px;border:1px solid #d9e8f2;border-radius:13px;background:#f5faff}
@media(max-width:760px){.member-theme .profile-conversation-entry{width:calc(100% - 24px);margin:10px 12px 0}.member-theme .conversations-page{padding-top:12px!important}.member-theme .conversation-card{min-height:72px}.member-theme .chat-notification-section>header{grid-template-columns:auto minmax(0,1fr) auto!important}}

/* v37 guided relative creation with optional avatar and album. */
.member-theme #relative-form .field label small{display:inline-block;margin-left:4px;color:#6f8799;font-size:9px;font-weight:500}.member-theme .relative-media-picker{padding:12px;border:1px solid #d9e7f1;border-radius:15px;background:linear-gradient(145deg,#f4faff,#fff)}.member-theme .relative-media-head strong,.member-theme .relative-media-head small{display:block}.member-theme .relative-media-head strong{color:#2b4254;font-size:13px}.member-theme .relative-media-head small{margin-top:3px;color:#7e919f;font-size:9px}.member-theme .relative-media-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.member-theme .relative-media-actions button{min-height:68px;display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:9px;padding:9px;border:1px solid #dbe8f1;border-radius:12px;background:#fff;color:#345064;text-align:left}.member-theme .relative-media-actions span{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#e5f4ff;color:#1688d2;font-weight:800}.member-theme .relative-media-actions b{align-self:end;font-size:11px}.member-theme .relative-media-actions small{align-self:start;color:#8b9aa5;font-size:8px}.member-theme .relative-media-preview{display:none;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:10px}.member-theme .relative-media-preview.show{display:grid}.member-theme .relative-media-preview figure{position:relative;aspect-ratio:1;margin:0;overflow:hidden;border:1px solid #dbe5ec;border-radius:9px;background:#edf4f8}.member-theme .relative-media-preview img{width:100%;height:100%;display:block;object-fit:cover}.member-theme .relative-media-preview small{position:absolute;left:3px;bottom:3px;padding:1px 4px;border-radius:5px;background:rgba(25,47,62,.72);color:#fff;font-size:7px}.member-theme .relative-media-preview .avatar-choice{box-shadow:0 0 0 2px #168de2}.member-theme .relative-scroll-guide{position:absolute;z-index:20;right:12px;bottom:65px;display:flex;align-items:center;gap:6px;height:34px;padding:0 11px;border:1px solid rgba(255,255,255,.75);border-radius:17px;background:linear-gradient(135deg,#168de2,#39aaf0);color:#fff;box-shadow:0 7px 20px rgba(22,125,195,.28);font-size:9px;animation:relativeGuide 1.7s ease-in-out infinite}.member-theme .relative-scroll-guide i{font-size:14px;font-style:normal}.member-theme .relative-scroll-guide.hidden{display:none}@keyframes relativeGuide{0%,100%{transform:translateY(0);box-shadow:0 7px 20px rgba(22,125,195,.25)}50%{transform:translateY(5px);box-shadow:0 10px 25px rgba(22,125,195,.4)}}
@media(max-width:760px){.member-theme .relative-scroll-guide{position:fixed;right:14px;bottom:calc(67px + env(safe-area-inset-bottom))}.member-theme .relative-media-preview{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* v33 QR uploader, birthday celebration and bounded household presentation */
.member-theme .qr-contact-card{padding:0!important;overflow:hidden;border:1px solid #dbe8f1!important;border-radius:16px;background:linear-gradient(145deg,#f7fbfe,#fff)!important}.member-theme .qr-contact-head{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;align-items:center;padding:13px 14px;border-bottom:1px solid #e8eff4}.member-theme .qr-contact-head strong,.member-theme .qr-contact-head small{display:block}.member-theme .qr-contact-head strong{color:#2a4051;font-size:14px}.member-theme .qr-contact-head small{margin-top:2px;color:#7e909e;font-size:10px}.member-theme .qr-contact-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#08c160;color:#fff;font-size:16px;font-weight:800;box-shadow:0 7px 16px rgba(8,193,96,.18)}.member-theme .qr-contact-icon.qq{background:#168de2;box-shadow:0 7px 16px rgba(22,141,226,.18)}.member-theme .qr-type-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:10px 12px 0}.member-theme .qr-type-tabs label{height:36px;display:flex;align-items:center;justify-content:center;border:1px solid #dbe5ec;border-radius:10px;background:#f7fafc;color:#738593;font-size:11px;font-weight:700;cursor:pointer;transition:.18s ease}.member-theme .qr-type-tabs label.active{border-color:#82c9f2;background:#eaf6ff;color:#1687d3;box-shadow:0 0 0 3px rgba(22,141,226,.08)}.member-theme .qr-type-tabs input{position:absolute;opacity:0;pointer-events:none}.member-theme .qr-upload-tile{width:calc(100% - 24px);min-height:138px;margin:10px 12px 12px;padding:16px;display:grid;place-items:center;align-content:center;gap:6px;border:1.5px dashed #b7d7ea;border-radius:13px;background:linear-gradient(135deg,#f4faff,#fff);color:#3987b9;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.member-theme .qr-upload-tile:hover{transform:translateY(-1px);border-color:#4ca7df;box-shadow:0 8px 22px rgba(36,120,177,.1)}.member-theme .qr-upload-tile>i{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#e0f2ff}.member-theme .qr-upload-tile svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.member-theme .qr-upload-tile strong{font-size:13px}.member-theme .qr-upload-tile small{color:#8b9ba7;font-size:9px}.member-theme .qr-upload-tile.has-image{grid-template-columns:92px minmax(0,1fr);justify-items:start;min-height:112px;border-style:solid}.member-theme .qr-upload-tile.has-image img{width:88px;height:88px;object-fit:contain;border:1px solid #dce6ec;border-radius:10px;background:#fff}.member-theme .qr-upload-tile.has-image span{color:#4f7188;font-size:11px;font-weight:700}
.member-theme .birthday-celebration{position:relative;margin:12px 18px 0;padding:12px 14px;display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;align-items:center;overflow:hidden;border:1px solid #f7dcc1;border-radius:14px;background:linear-gradient(105deg,#fff7ed,#fffdf8);color:#6d513b}.member-theme .birthday-celebration::after{content:"";position:absolute;right:-16px;top:-23px;width:76px;height:76px;border-radius:50%;background:rgba(255,190,105,.12)}.member-theme .birthday-celebration>span{font-size:27px;animation:birthdayFloat 2.8s ease-in-out infinite}.member-theme .birthday-celebration p{position:relative;z-index:1;margin:0;font-size:12px;line-height:1.55}.member-theme .birthday-celebration strong{color:#ee7a28;font-size:14px}.member-theme .birthday-celebration i{font-style:normal}.member-theme .birthday-celebration.deceased{border-color:#dde3e7;background:linear-gradient(105deg,#f4f6f7,#fff);color:#667681}.member-theme .birthday-celebration.deceased strong{color:#667681}.member-theme .family-scope-note{padding:8px 12px;border-top:1px solid #edf1f4;background:#f8fafb;color:#8d9ba6;font-size:9px;text-align:center}.member-theme .family-assignment-field{padding:10px 12px;border:1px solid #dce8f1;border-radius:12px;background:#f7fbfe}@keyframes birthdayFloat{50%{transform:translateY(-3px) rotate(3deg)}}
@media(max-width:760px){.member-theme .qr-upload-tile{min-height:124px}.member-theme .qr-upload-tile.has-image{grid-template-columns:78px minmax(0,1fr);min-height:98px}.member-theme .qr-upload-tile.has-image img{width:74px;height:74px}.member-theme .birthday-celebration{margin:10px 12px 0}.member-theme .birthday-celebration p{font-size:11px}.member-theme .birthday-celebration strong{font-size:13px}}
.member-theme .qr-type-tabs input[type="radio"]{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:0!important;opacity:0;pointer-events:none}
@media(max-width:350px){.member-theme .family-member-card{grid-template-columns:39px minmax(0,1fr) auto}.member-theme .family-member-card>.avatar{width:39px!important;height:39px!important}.member-theme .family-enter{display:none}.member-theme .family-contact-line{max-width:130px}.member-theme .family-relation{max-width:65px}}

/* v37 realistic memorial: the dark tablet is now a large portrait window. */
.member-theme .ancestor-card-main{grid-template-columns:minmax(0,1fr) 128px!important;gap:12px!important}.member-theme .memorial-monument.compact{width:124px!important;height:164px!important;flex-basis:124px!important}.member-theme .memorial-monument.full{width:260px!important;height:336px!important}.member-theme .monument-crown{height:17%!important}.member-theme .monument-crown .monument-heading{width:auto!important;max-width:78%!important;height:auto!important;aspect-ratio:auto!important;margin:0!important;padding:2px 7px!important;border:1px solid rgba(134,139,141,.58)!important;border-radius:9px!important;background:linear-gradient(#f9f9f8,#cdd1d2)!important;color:#4d5356!important;box-shadow:inset 0 1px #fff!important;font-weight:700!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.member-theme .memorial-monument.compact .monument-heading{font-size:8px!important}.member-theme .memorial-monument.full .monument-heading{font-size:13px!important;padding:3px 11px!important}.member-theme .monument-pillars{grid-template-columns:13% minmax(0,1fr) 13%!important;height:64%!important}.member-theme .monument-pillars>i{display:flex!important;align-items:center!important;justify-content:center!important}.member-theme .monument-pillars>i em{position:relative;z-index:2;color:#666d70;font-size:7px;font-style:normal;font-weight:700;letter-spacing:.12em;line-height:1.2;writing-mode:vertical-rl}.member-theme .memorial-monument.full .monument-pillars>i em{font-size:11px}.member-theme .monument-stone{display:block!important;margin:3% 5%!important;padding:4px!important;border-radius:6px 6px 2px 2px!important;background:linear-gradient(145deg,#505659,#22272a 74%)!important}.member-theme .monument-stone .monument-portrait{width:100%!important;height:100%!important;box-sizing:border-box!important;border:2px solid #d1cbb8!important;border-radius:4px!important;background:linear-gradient(#899195,#555d61)!important}.member-theme .monument-stone .monument-portrait img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 25%!important;filter:grayscale(.68) contrast(1.06)!important}.member-theme .monument-stone .monument-portrait span{font-size:28px!important}.member-theme .memorial-monument.full .monument-stone .monument-portrait span{font-size:58px!important}.member-theme .monument-offering{width:76%!important;height:11%!important}.member-theme .monument-caption{align-self:center!important;display:grid!important;place-items:center!important;gap:0!important;color:#5d6467!important;line-height:1.05!important;white-space:nowrap!important}.member-theme .monument-caption b{font-size:7px!important}.member-theme .monument-caption small{font-size:5px!important;color:#747a7d!important}.member-theme .memorial-monument.full .monument-caption b{font-size:11px!important}.member-theme .memorial-monument.full .monument-caption small{font-size:8px!important}.member-theme .ancestor-monument-stage{padding-top:8px!important;padding-bottom:8px!important}
@media(max-width:760px){.member-theme .ancestor-card-main{grid-template-columns:minmax(0,1fr) 122px!important;gap:9px!important}.member-theme .memorial-monument.compact{width:118px!important;height:158px!important;flex-basis:118px!important}.member-theme .memorial-monument.full{width:244px!important;height:322px!important}}
@media(max-width:350px){.member-theme .ancestor-card-main{grid-template-columns:minmax(0,1fr) 110px!important}.member-theme .memorial-monument.compact{width:108px!important;height:150px!important;flex-basis:108px!important}.member-theme .ancestor-card-meta p{display:none!important}}

/* v38 kinship calculator mode and rich family chat. */
.kinship-shell{min-height:100vh;padding-bottom:78px;background:#f4f6f9;color:#202b36}.kinship-shell>main{max-width:760px;margin:auto;padding:22px 16px 100px}.kinship-family-return{position:fixed;right:14px;top:14px;z-index:30;width:auto;padding:8px 13px;border:1px solid #dbe3ea;border-radius:18px;background:rgba(255,255,255,.94);color:#37708f;font-size:11px}.kinship-tabbar{position:fixed;left:50%;bottom:0;z-index:29;display:grid;grid-template-columns:repeat(4,1fr);width:min(100%,760px);height:72px;transform:translateX(-50%);border-top:1px solid #dbe4eb;background:rgba(255,255,255,.97);box-shadow:0 -8px 24px rgba(34,67,91,.08)}.kinship-tabbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:none;color:#7b8893;font-size:10px}.kinship-tabbar i{font-size:24px;font-style:normal;line-height:1}.kinship-tabbar .active{color:#f1773b}.kinship-calculator{max-width:540px;margin:35px auto 0;overflow:hidden;border-radius:24px;background:#29333d;box-shadow:0 18px 60px rgba(22,39,54,.2);color:#fff}.kinship-calculator header{min-height:185px;padding:35px 24px 20px;display:flex;flex-direction:column;justify-content:flex-end;background:radial-gradient(circle at 90% 10%,rgba(63,170,244,.22),transparent 45%)}.kinship-calculator header span,.kinship-calculator header small{color:#a9b5bf}.kinship-calculator header strong{margin:8px 0;font-size:38px}.kinship-gender{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #3b4650;border-bottom:1px solid #3b4650}.kinship-gender button{height:54px;border:0;border-right:1px solid #3b4650;background:#303b45;color:#cbd3d9}.kinship-gender .active{color:#fff;background:#168de2}.kinship-keypad{display:grid;grid-template-columns:repeat(4,1fr)}.kinship-keypad button{height:92px;border:0;border-right:1px solid #414b54;border-bottom:1px solid #414b54;background:#303941;color:#fff;font-size:27px}.kinship-keypad .kinship-equals{grid-column:4;grid-row:1/4;height:auto;background:#f1773b;font-size:36px}.kinship-query,.kinship-assistant,.kinship-map{max-width:620px;margin:auto}.kinship-query h1,.kinship-assistant h1,.kinship-map h1{text-align:center}.kinship-query form,.kinship-assistant form{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:8px;margin:35px 0}.kinship-query input,.kinship-assistant input{height:48px;padding:0 15px;border:1px solid #d9e2e8;border-radius:14px;background:#fff}.kinship-query form button,.kinship-assistant form button{border:0;border-radius:14px;background:#f1773b;color:#fff}.kinship-examples,.assistant-suggest{display:flex;flex-wrap:wrap;gap:8px}.kinship-examples button,.assistant-suggest button{padding:9px 13px;border:1px solid #dae4eb;border-radius:18px;background:#fff;color:#557084}.kinship-query article{margin-top:30px;padding:24px;border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(44,78,103,.08)}.kinship-query article small,.kinship-query article strong{display:block}.kinship-query article strong{margin-top:8px;color:#168de2;font-size:25px}.assistant-log{min-height:390px;padding:18px;border-radius:22px;background:#eaf1f6}.assistant-log>div{display:flex;align-items:flex-start;gap:9px;margin:13px 0}.assistant-log .me{flex-direction:row-reverse}.assistant-log i{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#f1773b;color:#fff;font-style:normal}.assistant-log .me i{background:#168de2}.assistant-log p{max-width:74%;margin:0;padding:11px 14px;border-radius:5px 16px 16px;background:#fff}.assistant-log .me p{border-radius:16px 5px 16px 16px;background:#168de2;color:#fff}.kinship-map{text-align:center}.map-tree{margin-top:24px;padding:25px 14px;border-radius:24px;background:#fff9ef;box-shadow:0 10px 35px rgba(92,65,34,.09)}.map-tree>div{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.map-tree b,.map-tree strong{padding:8px 12px;border:1px solid #ead8bb;border-radius:14px;background:#fff;color:#8b542f}.map-tree strong{background:#f1773b;color:#fff}.map-tree>i{display:block;width:2px;height:28px;margin:auto;background:#c9a77f}.kinship-map article{margin-top:18px;padding:18px;border-radius:18px;background:#fff;text-align:left}.chat-compose.rich{display:block!important}.chat-tool-row{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:8px}.chat-tool-row button{height:45px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #dbe7ef;border-radius:11px;background:#f6f9fb;color:#4b687b}.chat-tool-row small{font-size:9px}.chat-input-row{display:grid;grid-template-columns:minmax(0,1fr) 66px;gap:8px}.chat-rich-panel{display:none;padding:10px 14px;border-top:1px solid #e0e8ee;background:#f8fafc}.chat-rich-panel.show{display:block}.emoji-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.emoji-grid button{height:38px;border:0;border-radius:10px;background:#fff;font-size:22px}.gift-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.gift-grid button{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 2px;border:0;border-radius:12px;background:#fff}.gift-grid i{font-size:25px;font-style:normal}.gift-grid span{font-size:9px}.chat-bubble{max-width:100%;padding:12px 14px;border-radius:6px 16px 16px;background:#fff;box-shadow:0 4px 14px rgba(42,76,100,.07)}.mine .chat-bubble{border-radius:16px 6px 16px 16px;background:#168de2;color:#fff}.chat-voice,.chat-location{min-width:140px;border:0;background:transparent;color:inherit;text-align:left}.chat-voice{display:flex;align-items:center;gap:8px}.chat-voice span{display:block;width:50px;height:13px;background:repeating-linear-gradient(90deg,currentColor 0 2px,transparent 2px 5px);opacity:.55}.chat-location{display:flex;gap:10px}.chat-location>i{font-size:25px;font-style:normal}.chat-location span b,.chat-location span small{display:block}.chat-location span small{opacity:.7}.chat-gift{display:flex;align-items:center;gap:12px;min-width:170px;padding:8px}.chat-gift>i{font-size:40px;font-style:normal;animation:giftFloat 1.5s ease-in-out infinite}.chat-gift span small,.chat-gift span b{display:block}.chat-recording{position:absolute;left:50%;top:50%;display:none;z-index:40;width:170px;padding:25px;transform:translate(-50%,-50%);border-radius:20px;background:rgba(20,31,39,.9);color:#fff;text-align:center}.chat-recording.show{display:block}.chat-recording i{display:block;width:36px;height:52px;margin:0 auto 15px;border-radius:18px;background:#ef6262;animation:recordPulse 1s infinite}.chat-recording b,.chat-recording small{display:block}.chat-recording small{margin-top:6px;color:#bdc7ce}@keyframes giftFloat{50%{transform:translateY(-5px) rotate(4deg)}}@keyframes recordPulse{50%{box-shadow:0 0 0 14px rgba(239,98,98,.18)}}
@media(max-width:760px){.kinship-shell>main{padding-top:52px}.kinship-calculator{margin-top:8px;border-radius:18px}.kinship-calculator header{min-height:150px}.kinship-keypad button{height:80px}.chat-modal{height:min(92vh,720px)!important}.gift-grid{grid-template-columns:repeat(5,1fr)}}

/* v39: larger portrait-first memorial and complete ancestor names. */
.member-theme .ancestor-card-main{grid-template-columns:minmax(0,1fr) 150px!important;gap:14px!important;padding-block:8px!important}.member-theme .memorial-monument.compact{width:146px!important;height:194px!important;flex-basis:146px!important}.member-theme .memorial-monument.full{width:296px!important;height:382px!important}.member-theme .monument-crown{height:19%!important}.member-theme .monument-pillars{height:62%!important}.member-theme .monument-crown .monument-heading{box-sizing:border-box!important;grid-column:1/-1!important;grid-row:1!important;z-index:3!important;justify-self:center!important;width:auto!important;max-width:90%!important;min-height:18px!important;height:auto!important;padding:3px 8px!important;overflow:visible!important;border-radius:11px!important;white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important;line-height:1.08!important}.member-theme .memorial-monument.compact .monument-heading{font-size:9px!important}.member-theme .memorial-monument.full .monument-heading{min-height:29px!important;padding:5px 14px!important;font-size:15px!important}.member-theme .ancestor-monument-stage{padding-block:10px!important}.claim-profile-modal{width:min(430px,calc(100vw - 30px))!important;padding:28px 24px 22px;text-align:center;border-radius:24px!important;background:linear-gradient(160deg,#f3faff,#fff 48%);box-shadow:0 24px 80px rgba(20,82,126,.22)}.claim-profile-icon{position:relative;width:max-content;margin:0 auto 12px}.claim-profile-icon .avatar{width:68px!important;height:68px!important;border:4px solid #fff;box-shadow:0 9px 25px rgba(21,118,183,.18)}.claim-profile-icon>i{position:absolute;right:-2px;bottom:0;width:22px;height:22px;display:grid;place-items:center;border:3px solid #fff;border-radius:50%;background:#08c160;color:#fff;font-size:11px;font-style:normal}.claim-profile-tag{display:inline-flex;padding:4px 10px;border-radius:12px;background:#e8f5ff;color:#1687d3;font-size:10px;font-weight:700}.claim-profile-modal h2{margin:12px 0 7px;color:#263d50;font-size:20px}.claim-profile-modal>p{margin:0;color:#718494;font-size:12px;line-height:1.7}.claim-profile-items{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.claim-profile-items span{display:grid;justify-items:center;gap:6px;padding:11px 4px;border:1px solid #e3edf4;border-radius:13px;background:#fff;color:#5f7484;font-size:10px}.claim-profile-items i{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#eaf6ff;color:#1687d3;font-size:11px;font-style:normal;font-weight:800}.claim-profile-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:9px}.claim-profile-actions button{margin:0}
@media(max-width:760px){.member-theme .ancestor-card-main{grid-template-columns:minmax(0,1fr) 142px!important;gap:10px!important}.member-theme .memorial-monument.compact{width:138px!important;height:186px!important;flex-basis:138px!important}.member-theme .memorial-monument.full{width:min(286px,82vw)!important;height:min(372px,107vw)!important}.claim-profile-modal{padding:25px 19px 18px!important}}
@media(max-width:350px){.member-theme .ancestor-card-main{grid-template-columns:minmax(0,1fr) 126px!important}.member-theme .memorial-monument.compact{width:122px!important;height:174px!important;flex-basis:122px!important}.member-theme .monument-crown .monument-heading{max-width:92%!important;font-size:8px!important}.member-theme .ancestor-card-meta p{display:none!important}}

/* v40: senior-friendly typography, compact contact QR, improved relatives and chat. */
.member-theme .birth-date-select{display:grid;grid-template-columns:1.25fr .9fr .9fr;gap:7px}.member-theme .birth-date-select select{width:100%;min-width:0;height:42px;padding:0 8px;border:1px solid #d8e3eb;border-radius:10px;background:#fff;color:#304b5e;font-size:13px}.member-theme .status-copy small,.member-theme .home-welcome-label,.member-theme .home-welcome-copy>small,.member-theme .home-family-note small,.member-theme .profile-conversation-entry small,.member-theme .home-action-grid button small,.member-theme .home-section-head small{font-size:12px!important;line-height:1.45!important}.member-theme .status-copy strong,.member-theme .home-welcome-copy p,.member-theme .member-card p,.member-theme .member-card-actions small{font-size:13px!important;line-height:1.5!important}.member-theme .nav-btn,.member-theme .bottom-nav button,.member-theme .topbar-title{font-size:13px!important}.member-theme .home-welcome-main>.avatar{width:72px!important;height:72px!important;font-size:25px!important;border-width:3px!important}.member-theme .member-card .initial-avatar{border-radius:50%!important}.member-theme .member-card .uploaded-avatar{border-radius:13px!important}.member-theme .member-card .uploaded-avatar img{border-radius:inherit!important}.member-theme .name-relation-chip{min-height:32px!important;height:auto!important;padding:5px 11px!important;border-width:1px!important;font-size:12px!important;line-height:1.15!important;box-shadow:0 4px 12px rgba(22,119,181,.14)!important}.member-theme .name-relation-chip i{font-size:11px!important}.member-theme .qr-contact-card{display:grid!important;grid-template-columns:minmax(0,1fr) 92px;grid-template-rows:auto auto;gap:8px 12px!important;align-items:center;padding:12px!important;min-height:0!important}.member-theme .qr-contact-head{grid-column:1;grid-row:1;padding:0!important}.member-theme .qr-contact-head small{font-size:11px!important;line-height:1.4}.member-theme .qr-type-tabs{grid-column:1;grid-row:2;margin:0!important;grid-template-columns:1fr 1fr;gap:6px}.member-theme .qr-type-tabs label{height:34px;font-size:12px}.member-theme .qr-upload-tile,.member-theme .qr-upload-tile.has-image{grid-column:2;grid-row:1/3;width:92px!important;height:92px!important;min-height:92px!important;margin:0!important;padding:7px!important;display:flex!important;flex-direction:column;justify-content:center;gap:3px;border-radius:12px}.member-theme .qr-upload-tile>i{width:28px;height:28px}.member-theme .qr-upload-tile svg{width:17px;height:17px}.member-theme .qr-upload-tile strong{font-size:11px;text-align:center}.member-theme .qr-upload-tile small{display:none}.member-theme .qr-upload-tile.has-image img{width:66px!important;height:66px!important}.member-theme .qr-upload-tile.has-image span{font-size:9px!important;text-align:center}.member-theme .home-conversation-entry>span{position:relative}.member-theme .conversation-unread{position:absolute;right:-8px;top:-8px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border:2px solid #fff;border-radius:10px;background:#f04b4b;color:#fff;font-size:9px;font-style:normal;line-height:1}.member-theme .phonebook-card{grid-template-columns:48px minmax(0,1fr) 46px 46px!important;gap:8px!important}.member-theme .phonebook-call,.member-theme .phonebook-sms{width:46px!important;height:52px!important;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:13px;background:#edf7ff;color:#1687d3}.member-theme .phonebook-sms{background:#eefaf3;color:#08a25a}.member-theme .phonebook-call svg,.member-theme .phonebook-sms svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.member-theme .phonebook-call span,.member-theme .phonebook-sms span{font-size:10px;font-weight:700}.member-theme .phone-action-item.sms{color:#08a25a}.member-theme .chat-member-profile{min-width:0;display:flex;align-items:center;gap:10px;border:0;background:transparent;color:inherit;text-align:left}.member-theme .chat-member-profile>div{min-width:0}.member-theme .chat-tool-row{grid-template-columns:repeat(3,1fr);gap:8px}.member-theme .chat-tool-row button{height:44px;gap:7px}.member-theme .chat-tool-row svg,.member-theme .chat-mic-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.member-theme .chat-tool-row small{font-size:12px!important}.member-theme .chat-input-row{grid-template-columns:44px minmax(0,1fr) 66px;gap:7px;align-items:end}.member-theme .chat-mic-button{width:44px;height:44px;margin:0;display:grid;place-items:center;border:1px solid #dbe7ef;border-radius:50%;background:#f5f9fc;color:#3d667f;touch-action:none}.member-theme .chat-message-meta{display:flex!important;align-items:center;justify-content:flex-end;gap:7px;margin-top:5px;font-size:10px!important}.member-theme .chat-read-state{font-size:10px;font-weight:700}.member-theme .chat-read-state.unread{color:#ffda84}.member-theme .chat-read-state.read{color:inherit;opacity:.75}.member-theme .theirs .chat-message-meta{justify-content:flex-start}.member-theme .emoji-grid{max-height:158px;overflow-y:auto;grid-template-columns:repeat(7,1fr);padding-right:3px}.member-theme .emoji-grid button{font-size:24px}.member-theme .family-scope-note{font-size:11px!important}
@media(max-width:760px){.member-theme .home-welcome-main>.avatar{width:68px!important;height:68px!important;flex:0 0 68px!important}.member-theme .home-welcome-main{gap:12px!important}.member-theme .qr-contact-card{grid-template-columns:minmax(0,1fr) 86px}.member-theme .qr-upload-tile,.member-theme .qr-upload-tile.has-image{width:86px!important;height:86px!important;min-height:86px!important}.member-theme .member-name-row{align-items:center!important}.member-theme .name-relation-chip{min-height:32px!important;font-size:12px!important}.member-theme .field label,.member-theme .toggle-line strong,.member-theme .form-hint{font-size:12px!important}.member-theme .field input,.member-theme .field select,.member-theme .field textarea{font-size:14px!important}}
@media(max-width:360px){.member-theme .phonebook-card{grid-template-columns:44px minmax(0,1fr) 43px 43px!important;gap:6px!important}.member-theme .phonebook-call,.member-theme .phonebook-sms{width:43px!important}.member-theme .qr-contact-card{grid-template-columns:minmax(0,1fr) 80px}.member-theme .qr-upload-tile,.member-theme .qr-upload-tile.has-image{width:80px!important;height:80px!important;min-height:80px!important}}
.family-music-button{position:relative;color:#5d7b90!important}.family-music-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.family-music-button.enabled{color:#168de2!important;background:#edf7ff!important}.family-music-button.playing svg{animation:musicFloat 1.35s ease-in-out infinite}.family-music-button.playing::after{content:"";position:absolute;inset:4px;border:1px solid rgba(22,141,226,.24);border-radius:50%;animation:musicPulse 1.5s ease-out infinite}.music-settings-card input[type="file"]{height:auto!important;padding:10px!important}@keyframes musicFloat{50%{transform:translateY(-2px) rotate(5deg)}}@keyframes musicPulse{70%,100%{transform:scale(1.22);opacity:0}}
.member-theme .qr-contact-card{grid-template-columns:minmax(0,1fr) 92px!important;grid-template-rows:auto auto!important}@media(max-width:760px){.member-theme .qr-contact-card{grid-template-columns:minmax(0,1fr) 86px!important}}@media(max-width:360px){.member-theme .qr-contact-card{grid-template-columns:minmax(0,1fr) 80px!important}}
.member-theme .phonebook-call,.member-theme .phonebook-sms{min-width:46px!important;padding:0!important}@media(max-width:360px){.member-theme .phonebook-call,.member-theme .phonebook-sms{min-width:43px!important}}
.member-theme .chat-head .chat-member-profile{grid-column:1/3;width:100%;max-width:100%;padding:0}.member-theme .chat-head>.modal-close{grid-column:3;grid-row:1}.member-theme .chat-member-profile .avatar{flex:0 0 38px}.member-theme .chat-member-profile h2,.member-theme .chat-member-profile small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* v41：成员详情关系网、双二维码、清晰头像与移动端操作入口 */
.member-theme .uploaded-avatar,.member-theme .uploaded-avatar img{opacity:1!important;filter:none!important;animation:none!important}.member-theme .uploaded-avatar img{display:block;width:100%;height:100%;object-position:center}.member-theme .member-card .uploaded-avatar img,.member-theme .home-kin-card .uploaded-avatar img,.member-theme .family-member-card .uploaded-avatar img,.member-theme .relative-network-card .uploaded-avatar img{object-fit:cover}.member-theme .wechat-member-card>.uploaded-avatar img,.member-theme .wechat-profile-identity .uploaded-avatar img{object-fit:contain;background:#f5f8fa}.member-theme .deceased-card .uploaded-avatar,.member-theme .deceased-card .uploaded-avatar img{opacity:1!important;filter:none!important}
.member-theme .member-detail-modal .modal-head{position:sticky;top:0;z-index:8;background:#fff}.member-theme .member-detail-close{width:auto!important;min-width:76px;height:38px;padding:0 12px!important;display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid #bddcf0!important;border-radius:19px!important;background:#eaf6ff!important;color:#167fc9!important;font-size:12px!important;font-weight:700;box-shadow:0 5px 14px rgba(26,124,190,.14)}.member-theme .member-detail-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}.member-theme .member-detail-close span{display:inline!important}
.member-theme .relative-network-section>header{background:linear-gradient(110deg,#eef8ff,#fff)}.member-theme .relative-network-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:11px}.member-theme .relative-network-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto 12px;gap:9px;align-items:center;min-height:68px;padding:9px 10px;border:1px solid #e5edf3;border-radius:12px;background:#fff;color:#334a5b;text-align:left}.member-theme .relative-network-card>.avatar{width:42px!important;height:42px!important;border:0}.member-theme .relative-network-card>span{min-width:0}.member-theme .relative-network-card strong,.member-theme .relative-network-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-theme .relative-network-card strong{font-size:12px}.member-theme .relative-network-card small{margin-top:3px;color:#8496a4;font-size:10px}.member-theme .relative-network-card>.network-depth{padding:4px 7px;border-radius:10px;background:#e8f5ff;color:#167fc9;font-size:9px;font-style:normal;white-space:nowrap}.member-theme .relative-network-card>b{color:#a3b4c0;font-size:18px}
.member-theme .member-qr-pair{display:flex;flex-wrap:wrap;gap:10px}.member-theme .member-qr-pair>span{display:grid;gap:4px;justify-items:center}.member-theme .member-qr-pair .contact-qr{width:98px;height:98px;object-fit:contain;border:1px solid #dce7ee;border-radius:9px;background:#fff}.member-theme .member-qr-pair b{font-size:10px;color:#667f91}
.member-theme .dual-qr-editor{display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important}.member-theme .separate-qr-card{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:10px;align-items:center;padding:11px;border:1px solid #dbe8f1;border-radius:14px;background:linear-gradient(135deg,#f7fbfe,#fff)}.member-theme .separate-qr-card>div{display:grid;grid-template-columns:38px minmax(0,1fr);gap:9px;align-items:center}.member-theme .separate-qr-card p{margin:0}.member-theme .separate-qr-card strong,.member-theme .separate-qr-card small{display:block}.member-theme .separate-qr-card strong{color:#30485a;font-size:12px}.member-theme .separate-qr-card small{color:#8597a5;font-size:10px}.member-theme .separate-qr-upload{width:82px;height:82px;margin:0;padding:5px;display:grid;place-items:center;align-content:center;gap:2px;border:1px dashed #acd1e7;border-radius:11px;background:#f2faff;color:#1687d3}.member-theme .separate-qr-upload img{width:62px;height:62px;object-fit:contain;background:#fff}.member-theme .separate-qr-upload.has-image{grid-template-columns:1fr;}.member-theme .separate-qr-upload.has-image span{font-size:8px}.member-theme .separate-qr-upload>b{font-size:22px}.member-theme .separate-qr-upload>span{font-size:10px;font-weight:700}
.member-theme .profile-bottom-entry{width:100%!important;margin:0!important}.member-theme .profile-form>.profile-bottom-entry{grid-column:1/-1}.member-theme .profile-music-entry.is-enabled>span{background:#e9faf2;color:#08a760}.member-theme .profile-music-entry.is-enabled>i{padding:2px 7px;border-radius:9px;background:#e9faf2;color:#08a760;font-size:10px}.member-theme .birthday-celebration.missing{border-color:#dce8f0;background:linear-gradient(105deg,#f4f9fc,#fff);color:#748796}.member-theme .birthday-celebration.missing>span{filter:grayscale(.35)}
.member-theme .home-kin-swipe-hint{display:none;align-items:center;justify-content:flex-end;gap:7px;padding:5px 12px 0;color:#6189a5;font-size:11px}.member-theme .home-kin-swipe-hint i{font-size:17px;font-style:normal;animation:kinSwipeHint 1.5s ease-in-out infinite}@keyframes kinSwipeHint{50%{transform:translateX(5px)}}
.member-theme .phonebook-card{grid-template-columns:48px minmax(0,1fr) 50px!important}.member-theme .phonebook-sms{display:none!important}
@media(max-width:760px){.member-theme .member-detail-close{min-width:70px;height:36px;padding:0 10px!important}.member-theme .relative-network-list{grid-template-columns:1fr;padding:8px 10px}.member-theme .relative-network-card{min-height:64px}.member-theme .dual-qr-editor{grid-template-columns:1fr}.member-theme .separate-qr-card{grid-template-columns:minmax(0,1fr) 76px}.member-theme .separate-qr-upload{width:76px;height:76px}.member-theme .separate-qr-upload img{width:57px;height:57px}.member-theme .home-kin-swipe-hint{display:flex}.member-theme .phonebook-card{grid-template-columns:48px minmax(0,1fr) 48px!important}}

/* v42: compact precision-age cards and safer admin map/share controls. */
.member-theme .birthday-celebration{min-height:48px;margin:8px 14px 0;padding:8px 11px;grid-template-columns:28px minmax(0,1fr);gap:8px;border-radius:12px}.member-theme .birthday-celebration>span{font-size:21px}.member-theme .birthday-celebration p{font-size:11px;line-height:1.4}.member-theme .birthday-celebration strong{font-size:12px}.member-theme .member-detail-modal .birthday-celebration{margin:8px 12px 0}.member-theme .member-detail-modal .birthday-celebration+.wechat-member-card{margin-top:8px}.member-theme .profile-birthday-celebration{margin:8px 0 10px;cursor:default}.member-theme .profile-birthday-celebration[role="button"]{cursor:pointer;box-shadow:0 5px 16px rgba(37,120,176,.08)}.member-theme .profile-birthday-celebration[role="button"]::before{content:"去设置";position:absolute;right:10px;bottom:6px;z-index:2;color:#1687d3;font-size:9px;font-weight:700}.member-theme .profile-birth-field label small{margin-left:5px;color:#1687d3;font-size:9px;font-weight:500}.share-icon-editor{display:grid;grid-template-columns:128px minmax(0,1fr);gap:14px;align-items:center}.share-icon-editor>img{width:128px;height:96px;object-fit:cover;border:1px solid #dce6ed;border-radius:12px;background:#f4f7f9}.share-icon-editor>div{display:grid;gap:9px}.share-icon-editor small{color:#8193a0;font-size:11px;line-height:1.5}.admin-shell #location-settings-form input[name="tencent_map_key"]{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.03em}@media(max-width:600px){.share-icon-editor{grid-template-columns:86px minmax(0,1fr);gap:10px}.share-icon-editor>img{width:86px;height:72px}.member-theme .birthday-celebration{margin-inline:10px}.member-theme .profile-birthday-celebration{margin-inline:0}}
