/* 国义婚恋功能页：仅覆盖 .lh-page，不影响首页与会员列表 */
.lh-page{
  --lh-pink:#ef5b7d;--lh-pink-dark:#d9466b;--lh-pink-soft:#fff0f4;
  --lh-text:#29252a;--lh-muted:#817880;--lh-line:#eee7eb;--lh-bg:#f7f6f8;
  background:var(--lh-bg);color:var(--lh-text);font-size:15px;min-height:100vh;
}
.lh-page a,.lh-page button,.lh-page input,.lh-page select,.lh-page textarea{-webkit-tap-highlight-color:transparent}
.lh-page button,.lh-page input,.lh-page select,.lh-page textarea{font:inherit}
.lh-page button:focus-visible,.lh-page a:focus-visible,.lh-page input:focus-visible,.lh-page select:focus-visible,.lh-page textarea:focus-visible{outline:3px solid rgba(239,91,125,.22);outline-offset:2px}
.lh-page [hidden]{display:none!important}
.lh-wrap{width:min(1120px,100%);margin:0 auto;padding-left:24px;padding-right:24px;min-width:0}
.lh-header{position:sticky;top:0;z-index:90;background:rgba(255,255,255,.97);border-bottom:1px solid var(--lh-line);backdrop-filter:blur(14px)}
.lh-header-main{min-height:70px;display:flex;align-items:center;gap:22px}
.lh-brand{display:flex;align-items:center;gap:9px;flex:none;font-weight:800;color:var(--lh-text)}
.lh-brand img{width:38px;height:38px;border-radius:12px;object-fit:cover}
.lh-brand span{white-space:nowrap}
.lh-head-title{font-size:20px;font-weight:800;line-height:1.35;margin:0;min-width:0}
.lh-nation{margin-left:auto;flex:none;color:var(--lh-pink-dark);background:var(--lh-pink-soft);border:1px solid #f8d5df;border-radius:999px;padding:5px 13px;font-size:13px}
.lh-nav{display:flex;gap:4px;margin-left:auto}
.lh-nav a{padding:9px 12px;border-radius:999px;color:#625a61;font-size:14px;white-space:nowrap}
.lh-nav a:hover,.lh-nav a.on{color:var(--lh-pink-dark);background:var(--lh-pink-soft)}
.lh-header .lh-nation{margin-left:0}
.lh-main{padding:24px 0 54px;min-height:62vh}
.lh-page-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}
.lh-page-title h2{font-size:24px;line-height:1.4;margin:0}
.lh-page-title p{margin:4px 0 0;color:var(--lh-muted);font-size:14px}
.lh-page-title .lh-actions{flex:none}
.lh-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.lh-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 20px;border:1px solid transparent;border-radius:999px;background:var(--lh-pink);color:#fff;font-weight:700;font-size:14px;line-height:1.4;cursor:pointer;text-align:center;transition:.18s}
.lh-btn:hover{background:var(--lh-pink-dark);color:#fff}
.lh-btn.secondary{background:#fff;color:var(--lh-pink-dark);border-color:#f1c8d3}
.lh-btn.secondary:hover{background:var(--lh-pink-soft)}
.lh-btn.plain{background:#f4f1f3;color:#5f575e;border-color:#e9e2e6}
.lh-btn.small{min-height:34px;padding:6px 13px;font-size:13px}
.lh-btn.block{width:100%}
.lh-btn:disabled{cursor:not-allowed;background:#d6cfd3;color:#fff;box-shadow:none}
.lh-card{background:#fff;border:1px solid var(--lh-line);border-radius:16px;padding:20px;min-width:0}
.lh-card h3{margin:0 0 8px;font-size:17px;line-height:1.5}
.lh-card p{color:#655d63;line-height:1.85;margin:0 0 10px}
.lh-card p:last-child{margin-bottom:0}
.lh-muted{color:var(--lh-muted)}
.lh-notice{border-radius:12px;background:#fff8e9;border:1px solid #f2e2b9;color:#775f2d;padding:12px 15px;font-size:13px;line-height:1.8}
.lh-notice.pink{background:var(--lh-pink-soft);border-color:#f7d6df;color:#8a4054}
.lh-section{margin-top:24px}
.lh-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:13px}
.lh-section-head h2,.lh-section-head h3{font-size:19px;margin:0;line-height:1.45}
.lh-section-head p{margin:3px 0 0;color:var(--lh-muted);font-size:13px}
.lh-seg{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.lh-seg a{display:inline-flex;align-items:center;justify-content:center;padding:9px 18px;background:#fff;border:1px solid var(--lh-line);border-radius:999px;color:#655d63;font-size:14px}
.lh-seg a.on{background:var(--lh-pink);border-color:var(--lh-pink);color:#fff;font-weight:700}
.lh-feature-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.lh-feature{display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff;border:1px solid var(--lh-line);border-radius:16px;padding:20px 12px;min-width:0;transition:.18s}
.lh-feature:hover{transform:translateY(-2px);border-color:#f1c8d3;box-shadow:0 8px 24px rgba(103,55,70,.07)}
.lh-feature-icon{width:46px;height:46px;border-radius:15px;background:var(--lh-pink-soft);color:var(--lh-pink-dark);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;margin-bottom:10px}
.lh-feature b{font-size:15px;margin-bottom:4px}
.lh-feature span{font-size:12px;color:var(--lh-muted);line-height:1.6}
.lh-filter-card{background:#fff;border:1px solid var(--lh-line);border-radius:16px;padding:15px 17px;margin-bottom:18px}
.lh-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.lh-field{min-width:0}
.lh-field label{display:block;color:#6c6369;font-size:12px;margin:0 0 6px}
.lh-input,.lh-field select,.lh-field input,.lh-field textarea{width:100%;max-width:100%;min-height:42px;border:1px solid #e7dfe4;border-radius:10px;background:#fff;color:var(--lh-text);padding:9px 12px;outline:none}
.lh-field textarea{min-height:116px;resize:vertical;line-height:1.8}
.lh-input:focus,.lh-field select:focus,.lh-field input:focus,.lh-field textarea:focus{border-color:var(--lh-pink)}
.lh-filter-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:var(--lh-muted);font-size:12px}
.lh-link{color:var(--lh-pink-dark);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.lh-party-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lh-party-item{display:flex;flex-direction:column;background:#fff;border:1px solid var(--lh-line);border-radius:16px;padding:20px;min-width:0}
.lh-party-item h3{font-size:18px;margin:7px 0 8px}
.lh-party-item p{color:#655d63;line-height:1.8;margin:0 0 13px}
.lh-party-meta{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}
.lh-tag{display:inline-flex;align-items:center;border-radius:999px;background:var(--lh-pink-soft);color:var(--lh-pink-dark);font-size:12px;padding:3px 10px}
.lh-tag.gray{background:#f4f2f4;color:#6e656b}
.lh-party-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:12px;border-top:1px dashed var(--lh-line)}
.lh-empty{background:#fff;border:1px dashed #e4d9df;border-radius:16px;padding:36px 20px;text-align:center;color:var(--lh-muted)}
.lh-empty b{display:block;color:var(--lh-text);font-size:17px;margin-bottom:7px}
.lh-empty .lh-actions{justify-content:center;margin-top:16px}
.lh-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;counter-reset:lhflow}
.lh-flow>div{position:relative;background:#fff;border:1px solid var(--lh-line);border-radius:14px;padding:20px 16px 16px;counter-increment:lhflow}
.lh-flow>div:before{content:counter(lhflow);display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--lh-pink);color:#fff;font-weight:800;margin-bottom:9px}
.lh-flow b{display:block;font-size:15px;margin-bottom:5px}
.lh-flow span{font-size:13px;color:var(--lh-muted);line-height:1.7}
.lh-status-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid var(--lh-line);border-radius:14px;padding:15px 17px;margin-bottom:18px}
.lh-status-panel b{font-size:15px}
.lh-status-panel p{margin:3px 0 0;color:var(--lh-muted);font-size:13px}
.lh-members{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.lh-members.single{grid-template-columns:minmax(0,300px)}
.lh-member{background:#fff;border:1px solid var(--lh-line);border-radius:15px;overflow:hidden;min-width:0;display:flex;flex-direction:column}
.lh-member-photo{height:230px;position:relative;background:linear-gradient(145deg,#fae8ed,#f5f0f3);display:flex;align-items:center;justify-content:center;color:#c76b83;font-size:38px;font-weight:800;overflow:hidden}
.lh-member-photo img{width:100%;height:100%;object-fit:cover;object-position:center 18%}
.lh-photo-state{position:absolute;left:9px;bottom:8px;background:rgba(41,37,42,.68);color:#fff;padding:2px 8px;border-radius:999px;font-size:10px}
.lh-photo-state.live{background:#c59a4d;color:#fff}
.lh-member-body{padding:13px 14px 14px;display:flex;flex-direction:column;flex:1;min-width:0}
.lh-member-name{font-size:16px;font-weight:800;line-height:1.5}
.lh-member-code{font-size:10px;color:#9b9198;margin-top:2px;font-family:Consolas,monospace}
.lh-member-meta{font-size:12.5px;color:#645b62;line-height:1.8;margin:7px 0 10px;min-height:44px}
.lh-member-actions{display:flex;gap:7px;margin-top:auto}
.lh-member-actions .lh-btn{flex:1;min-width:0;padding-left:7px;padding-right:7px}
.lh-load-more{text-align:center;margin-top:20px}
.lh-inline-status{min-height:24px;margin-top:10px;font-size:13px;line-height:1.7;color:var(--lh-muted)}
.lh-inline-status.error{color:#b13b45}
.lh-inline-status.success{color:#327253}
.lh-two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.lh-rule-list{list-style:none;margin:0;padding:0}
.lh-rule-list li{padding:11px 0 11px 22px;border-bottom:1px dashed var(--lh-line);position:relative;color:#625a61;line-height:1.8}
.lh-rule-list li:last-child{border-bottom:0}
.lh-rule-list li:before{content:"";position:absolute;left:3px;top:21px;width:6px;height:6px;border-radius:50%;background:var(--lh-pink)}
.lh-article{background:#fff;border:1px solid var(--lh-line);border-radius:16px;padding:30px;margin-bottom:20px;scroll-margin-top:100px}
.lh-article .lh-kicker{display:inline-block;background:var(--lh-pink-soft);color:var(--lh-pink-dark);border-radius:999px;padding:3px 11px;font-size:12px;margin-bottom:12px}
.lh-article h2{font-size:23px;line-height:1.55;margin:0 0 15px}
.lh-article h3{font-size:17px;line-height:1.5;margin:23px 0 8px;padding-left:11px;border-left:3px solid var(--lh-pink)}
.lh-article p,.lh-article li{font-size:15px;line-height:2;color:#554d53}
.lh-article p{margin:0 0 12px}
.lh-article ul{padding-left:22px;margin:6px 0 14px}
.lh-article a{color:var(--lh-pink-dark);text-decoration:underline;text-underline-offset:3px}
.lh-article-nav{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:20px}
.lh-article-nav a{background:#fff;border:1px solid var(--lh-line);border-radius:10px;padding:8px 12px;font-size:12px;color:#6b6268}
.lh-me-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;align-items:start}
.lh-me-nav{background:#fff;border:1px solid var(--lh-line);border-radius:16px;overflow:hidden;position:sticky;top:94px}
.lh-me-nav a{display:block;padding:13px 18px;border-bottom:1px solid #f2edef;color:#625a61}
.lh-me-nav a:last-child{border-bottom:0}
.lh-me-nav a:hover{color:var(--lh-pink-dark);background:var(--lh-pink-soft)}
.lh-me-panel{background:#fff;border:1px solid var(--lh-line);border-radius:16px;margin-bottom:16px;overflow:hidden;scroll-margin-top:96px}
.lh-me-panel-head{padding:16px 20px;border-bottom:1px solid var(--lh-line);display:flex;align-items:center;justify-content:space-between;gap:12px}
.lh-me-panel-head h2{font-size:17px;margin:0}
.lh-me-panel-head span{font-size:12px;color:var(--lh-muted)}
.lh-me-panel-body{padding:20px}
.lh-me-panel-body p{line-height:1.9;color:#5f565d;margin:0 0 12px}
.lh-me-panel-body p:last-child{margin-bottom:0}
.lh-progress-form{display:grid;grid-template-columns:1fr 180px auto;gap:10px}
.lh-progress-result{margin-top:15px}
.lh-progress-item{border:1px solid var(--lh-line);border-radius:12px;padding:13px 15px;margin-bottom:10px}
.lh-progress-item b{color:var(--lh-pink-dark)}
.lh-progress-item p{font-size:13px;margin:5px 0 0}
.lh-modal{position:fixed;inset:0;z-index:200;background:rgba(30,24,28,.52);display:flex;align-items:center;justify-content:center;padding:20px}
.lh-modal-card{width:min(500px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:22px;box-shadow:0 24px 80px rgba(30,24,28,.22)}
.lh-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.lh-modal-head h2{font-size:20px;margin:0 0 4px}
.lh-modal-head p{font-size:13px;color:var(--lh-muted);margin:0;line-height:1.7}
.lh-modal-close{width:36px;height:36px;border:0;border-radius:50%;background:#f5f1f3;color:#625a61;font-size:24px;line-height:1;cursor:pointer;flex:none}
.lh-result-box{border:1px solid #d8eadf;background:#f3faf6;border-radius:12px;padding:14px;color:#355d46;line-height:1.8;font-size:13px;word-break:break-word}
.lh-copy-row{display:flex;gap:9px}
.lh-copy-row .lh-input{flex:1;min-width:0}
.lh-footer{background:#fff;border-top:1px solid var(--lh-line);padding:28px 0;color:var(--lh-muted);font-size:12px}
.lh-footer-top{display:flex;align-items:center;justify-content:space-between;gap:18px}
.lh-footer-links{display:flex;gap:16px;flex-wrap:wrap}
.lh-footer-links a:hover{color:var(--lh-pink-dark)}
.lh-footer p{margin:10px 0 0;line-height:1.8}
.lh-tabbar{display:none}
@media(max-width:980px){
  .lh-nav{display:none}.lh-header .lh-nation{margin-left:auto}.lh-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lh-members{grid-template-columns:repeat(2,minmax(0,1fr))}.lh-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.lh-me-grid{grid-template-columns:1fr}.lh-me-nav{position:static;display:flex;overflow-x:auto}.lh-me-nav a{white-space:nowrap;border-bottom:0;border-right:1px solid #f2edef}.lh-two-col{grid-template-columns:1fr}
}
@media(max-width:680px){
  .lh-page{font-size:14px;padding-bottom:calc(68px + env(safe-area-inset-bottom))}.lh-wrap{padding-left:14px;padding-right:14px}.lh-header-main{min-height:58px;gap:9px}.lh-brand{gap:0}.lh-brand img{width:32px;height:32px;border-radius:10px}.lh-brand span{display:none}.lh-head-title{font-size:17px;text-align:center;flex:1}.lh-nation{font-size:11px;padding:4px 9px}.lh-main{padding:16px 0 34px}.lh-page-title{align-items:flex-start;margin-bottom:14px}.lh-page-title h2{font-size:20px}.lh-page-title p{font-size:12px}.lh-page-title .lh-actions{width:100%}.lh-page-title{flex-wrap:wrap}.lh-actions .lh-btn{flex:1}.lh-card{padding:16px;border-radius:14px}.lh-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lh-feature{padding:17px 9px}.lh-feature-icon{width:42px;height:42px}.lh-seg{gap:7px;flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.lh-seg a{flex:none;padding:8px 15px}.lh-filter-card{padding:13px}.lh-filters{grid-template-columns:1fr 1fr;gap:10px}.lh-filter-foot{align-items:flex-start;flex-direction:column;gap:5px}.lh-party-grid{grid-template-columns:1fr;gap:12px}.lh-party-item{padding:16px}.lh-flow{grid-template-columns:1fr;gap:9px}.lh-flow>div{padding:14px 14px 13px 50px}.lh-flow>div:before{position:absolute;left:14px;top:15px;margin:0}.lh-status-panel{align-items:flex-start;flex-direction:column}.lh-members{grid-template-columns:1fr;gap:12px}.lh-member{flex-direction:row}.lh-member-photo{width:132px;height:184px;flex:0 0 132px}.lh-member-body{padding:12px}.lh-member-meta{min-height:0;font-size:12px}.lh-member-actions .lh-btn{font-size:12px;min-height:34px;padding:6px}.lh-article{padding:21px 18px}.lh-article h2{font-size:19px}.lh-article h3{font-size:16px}.lh-article p,.lh-article li{font-size:14px}.lh-article-nav{flex-direction:column}.lh-me-panel-head{padding:14px 16px}.lh-me-panel-body{padding:16px}.lh-progress-form{grid-template-columns:1fr}.lh-modal{padding:0;align-items:flex-end}.lh-modal-card{border-radius:18px 18px 0 0;max-height:92vh;padding:19px}.lh-copy-row{flex-direction:column}.lh-footer{padding:22px 0}.lh-footer-top{align-items:flex-start;flex-direction:column}.lh-tabbar{position:fixed;z-index:110;display:grid;grid-template-columns:repeat(5,1fr);left:0;right:0;bottom:0;background:rgba(255,255,255,.98);border-top:1px solid var(--lh-line);padding:6px 3px calc(5px + env(safe-area-inset-bottom));box-shadow:0 -4px 20px rgba(66,43,52,.06)}.lh-tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#817880;font-size:10px;min-width:0}.lh-tabbar svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8}.lh-tabbar a.on{color:var(--lh-pink-dark);font-weight:700}
}
@media(max-width:360px){.lh-member-photo{width:118px;flex-basis:118px}.lh-member-body{padding:10px}.lh-feature b{font-size:14px}.lh-filters{grid-template-columns:1fr}}
