.bmr-section{margin-bottom:20px}.bmr-panel{background:#fff;border:1px solid var(--bmr-border);border-radius:var(--bmr-radius);box-shadow:0 1px 2px rgba(0,0,0,.02)}.bmr-panel-head{padding:14px 18px;border-bottom:1px solid var(--bmr-border);font-weight:600}.bmr-panel-body{padding:18px}.bmr-empty{padding:40px 20px;text-align:center;color:var(--bmr-muted)}
#uhd{border-color:var(--bmr-border);border-radius:var(--bmr-radius);background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.02)}#uhd .avt img{border-radius:50%}#uhd .tb{margin-top:12px}.pf_l li{max-width:100%}#pprl li{border-bottom:1px solid #f3f4f5;padding-top:7px;padding-bottom:7px}.mi .avatar img{border-radius:12px}.tns th,.tns td{border-color:var(--bmr-border)}
.mla,.mlp,.mls{display:flex;flex-wrap:wrap;gap:14px}.mla li,.mlp li,.mls li{float:none}.mla .c{background:#f8f9fa;border:1px solid var(--bmr-border);box-shadow:none;border-radius:10px}.mla .c a{border-radius:8px}.pic .c img,.photo_pic img{max-width:100%;height:auto}.mlnv{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.mlnv img{border-radius:8px}
.buddy{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.buddy li,.ct_vw_mn .buddy li{float:none;width:auto;height:auto;min-height:80px;margin:0;padding:12px 12px 12px 76px}.buddy .avt{margin-left:-62px}
.vw .h{border-color:var(--bmr-border)}.vw .ph{font-size:28px;line-height:1.35;font-weight:700}.vw .d{font-size:16px;line-height:1.85;color:#343a40}.vw .d img{max-width:100%;height:auto}.xld dt{font-size:15px}.xld dd{color:#6c757d}
.pg_logging #ct,.pg_register #ct{max-width:900px;margin-left:auto;margin-right:auto}.pg_logging .blr,.pg_register .blr{padding:24px}.loginform,.lgfm{max-width:100%}.lgfm{border-color:var(--bmr-border)}



/* ===== BaoMeiRen V3 Deep Native UI ===== */
#wp{padding-top:24px;padding-bottom:32px}#ct,.ct2_a,.ct2,.ct3_a{min-height:420px}
#ct>.mn,#ct>.bm,.mn>.bm,.bmr-main-surface{border:1px solid #e9ecef;border-radius:16px;background:#fff;box-shadow:0 6px 24px rgba(17,24,39,.045)}
.bm{border-color:#e9ecef;background:#fff}.bm_h{min-height:48px;padding:12px 18px;border:0;border-bottom:1px solid #eef0f2;background:#fff;line-height:24px}
.bm_h h1,.bm_h h2,.bm_h h3,.bm_h h4{margin:0;font-weight:600;color:#212529}.bm_c{padding:18px}.mt{margin:0 0 16px;padding:0 0 14px;border-bottom:1px solid #eef0f2;font-size:20px;font-weight:600}
.ct2_a,.ct2,.ct_vw{display:flex;flex-direction:column;gap:16px;width:100%}.ct2_a>.appl,.ct2>.sd,.ct_vw>.ct_vw_sd{order:0;float:none!important;width:100%!important;margin:0!important}
.ct2_a>.mn,.ct2>.mn,.ct_vw>.ct_vw_mn{order:1;float:none!important;width:100%!important;margin:0!important}
.appl{padding:10px 14px;border:1px solid #e9ecef!important;border-radius:14px;background:#fff!important;box-shadow:0 4px 16px rgba(17,24,39,.035)}.appl .tbn{margin:0}
.appl .tbn ul,.appl .tbn dl,.tbn ul{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0;padding:0}.appl .tbn li,.appl .tbn dd,.tbn li{float:none!important;margin:0!important;border:0!important}
.appl .tbn a,.tbn li a,.tbn dd a{display:block;padding:8px 13px;border-radius:999px;line-height:20px;color:#495057}.appl .tbn .a a,.tbn .a a,.tbn li.a a{background:#fce8ee;color:#c72555;font-weight:600}
.tfm{width:100%}.tfm th,.tfm td{padding:10px 8px;vertical-align:middle}.tfm th{width:170px;color:#495057;font-weight:500}
.tfm .px,.tfm .pt,.tfm .ps,.px,.pt,.ps{min-height:40px;padding:8px 11px;border:1px solid #dfe3e8;border-radius:9px;background:#fff;box-sizing:border-box;transition:border-color .15s,box-shadow .15s}
.tfm .pt,.pt{min-height:96px}.tfm .px:focus,.tfm .pt:focus,.tfm .ps:focus,.px:focus,.pt:focus,.ps:focus{border-color:#e85d85;outline:0;box-shadow:0 0 0 3px rgba(232,93,133,.12)}
.pn,button.pn,.pnc{min-height:38px;padding:7px 16px;border:1px solid #dee2e6;border-radius:9px;background:#fff;color:#343a40;box-shadow:none}.pnc,button.pnc{border-color:#d6336c;background:#d6336c;color:#fff}
.rfm{width:min(100%,620px);margin-left:auto;margin-right:auto}.rfm table{width:100%}.rfm th{width:130px;padding-right:16px;text-align:right}.rfm .px,.rfm .pt,.rfm .ps{width:100%!important;max-width:420px}
#main_messaqge,#main_message,.loginbox,.regbox{max-width:760px;margin:24px auto;border-radius:18px}
#uhd{border:1px solid #e9ecef;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 6px 24px rgba(17,24,39,.045)}#uhd .h{padding:20px}#uhd .tb{margin:0;padding:0 16px;border-top:1px solid #eef0f2;background:#fff}
.mi{width:100%}.mi th{width:180px}.mi .avatar img,.avt img{border-radius:50%;object-fit:cover}#pprl li{min-height:38px;padding-top:8px;padding-bottom:8px;border-bottom:1px solid #f3f4f6}
.buddy{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0!important;padding:0}.buddy li{float:none!important;display:block!important;width:auto!important;height:auto!important;min-height:88px;margin:0!important;padding:14px 14px 14px 82px!important;border:1px solid #eceff2!important;border-radius:14px;background:#fff!important;transition:.15s}
.buddy li:hover{transform:translateY(-2px);border-color:#f0c4d1!important;box-shadow:0 8px 22px rgba(17,24,39,.07)}.buddy .avt{margin-left:-66px!important}.buddy .avt img{width:52px;height:52px;object-fit:cover;border-radius:50%}
.mlp,.mla{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.mlp li,.mla li{float:none!important;width:auto!important;margin:0!important;padding:12px;border:1px solid #eceff2;border-radius:14px;background:#fff}.mlp img,.mla img{max-width:100%;border-radius:10px}.pic .c img,.photo_pic img{max-width:100%!important;height:auto;border-radius:12px}
.pml{border:1px solid #eceff2;border-radius:14px;overflow:hidden;background:#fff}.pml dl{min-height:70px;padding-top:14px;padding-bottom:14px;border-bottom:1px solid #f0f1f3}.pml .hover,.pml .newpm{background:#fff7fa}.pm_b,.pm_g,.pm_sd{border-radius:14px;border-color:#e7e9ed}.nts{padding-left:0}.nts dl{padding:14px 10px;border-bottom:1px solid #eef0f2}
#scform{padding:18px;border:1px solid #e9ecef;border-radius:16px;background:#fff}#scform_srchtxt{height:42px!important;border-width:1px!important;border-radius:10px 0 0 10px!important}#scform_submit{height:42px!important;border-radius:0 10px 10px 0!important}.slst{width:100%!important}.pbw{padding:18px 4px;border-bottom:1px solid #eef0f2}
.vw{border:1px solid #e9ecef;border-radius:16px;background:#fff;overflow:hidden}.vw .h{padding:22px 22px 14px!important}.vw .d{padding:0 22px 22px;font-size:16px;line-height:1.9}.vw .d img{max-width:100%!important;height:auto}.xld>dl{padding:16px 0;border-bottom:1px solid #eef0f2}
.dt{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #eceff2;border-radius:12px;overflow:hidden}.dt th,.dt td{padding:11px 12px;border-bottom:1px solid #eef0f2}.pg a,.pg strong,.pgb a{min-width:36px;height:36px;line-height:34px;border-radius:8px;text-align:center}
@media(max-width:1199.98px){.buddy{grid-template-columns:repeat(3,minmax(0,1fr))}.mlp,.mla{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:991.98px){#wp{padding-top:16px}.buddy{grid-template-columns:repeat(2,minmax(0,1fr))}.mlp,.mla{grid-template-columns:repeat(3,minmax(0,1fr))}.tfm th{width:135px}}
@media(max-width:767.98px){.bm_c{padding:14px}.appl .tbn ul,.appl .tbn dl,.tbn ul{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px}.appl .tbn a,.tbn li a,.tbn dd a{white-space:nowrap}.buddy{grid-template-columns:1fr}.mlp,.mla{grid-template-columns:repeat(2,minmax(0,1fr))}.tfm,.tfm tbody,.tfm tr,.tfm th,.tfm td,.rfm table,.rfm tbody,.rfm tr,.rfm th,.rfm td{display:block;width:100%!important}.tfm th,.rfm th{padding-bottom:4px;text-align:left}.tfm td,.rfm td{padding-top:4px}.rfm .px,.rfm .pt,.rfm .ps{max-width:none}#uhd .tb{overflow-x:auto;white-space:nowrap}}


/* ===== BaoMeiRen V4 Precision UI Fixes ===== */
/* Remove V3 accidental outer cards: main page/body wrappers must stay visually open. */
#wp .mn.bmr-main-surface,
#wp > .bm.bmr-main-surface,
.ct2_a.bmr-main-surface,
#ct.bmr-main-surface {
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
#ct > .mn,
.ct2_a > .mn,
.ct2 > .mn,
.ct_vw > .ct_vw_mn {
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

/* Breadcrumb: no card/background, just clean navigation text. */
#pt,
#pt.bm,
#pt.bm.cl,
#pt.bmr-main-surface {
    min-height:34px;
    margin-top:10px;
    margin-bottom:10px;
    padding:5px 0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#868e96;
}
#pt .z { float:none; display:flex; align-items:center; flex-wrap:wrap; gap:5px; min-height:24px; }
#pt a { color:#6c757d; text-decoration:none; }
#pt a:hover { color:#d6336c; }
#pt em { color:#adb5bd; }
#pt .nvhm { width:auto; background:none !important; text-indent:0; }

/* Native inner sections can still be cards, but only where content itself needs it. */
#ct .bm:not(#pt), .scf .bmn, #main_message, .bmr-login-panel {
    border-color:#eceff2;
}
.bw0 { background:transparent; }

/* Consistent select UI. Keep native Discuz generated region selectors functional. */
select,
.ps,
.tfm select,
.rfm select,
.scf select,
#profilelist select {
    display:inline-block;
    width:auto;
    max-width:100%;
    min-width:92px;
    height:40px !important;
    min-height:40px;
    padding:7px 34px 7px 11px !important;
    border:1px solid #dfe3e8 !important;
    border-radius:9px !important;
    background-color:#fff !important;
    color:#343a40;
    line-height:24px !important;
    vertical-align:middle;
    box-sizing:border-box;
}
select:focus,.ps:focus,.tfm select:focus,.rfm select:focus {
    border-color:#e85d85 !important;
    outline:0;
    box-shadow:0 0 0 3px rgba(232,93,133,.12) !important;
}
/* Simulated Discuz select used in login popup */
.ftid { float:none; display:inline-block; margin-right:8px; vertical-align:middle; }
.ftid select { float:none; width:auto; min-width:94px; height:40px !important; }
.ftid a {
    display:flex !important; align-items:center; min-width:96px; height:40px !important;
    padding:7px 30px 7px 11px !important; border:1px solid #dfe3e8 !important;
    border-radius:9px !important; background-color:#fff !important; line-height:24px !important;
    box-sizing:border-box; white-space:nowrap;
}

/* File upload: fix clipped native button and normalize it. */
input[type="file"],
input.pf[type="file"],
.tfm input[type="file"] {
    display:block;
    width:min(100%,520px);
    min-height:42px !important;
    height:auto !important;
    padding:0;
    border:1px solid #dfe3e8;
    border-radius:9px;
    background:#fff;
    color:#495057;
    line-height:40px;
    overflow:visible !important;
    box-sizing:border-box;
}
input[type="file"]::file-selector-button {
    min-height:40px;
    margin:0 10px 0 0;
    padding:8px 14px;
    border:0;
    border-right:1px solid #dfe3e8;
    background:#f8f9fa;
    color:#343a40;
    cursor:pointer;
}
input[type="file"]::-webkit-file-upload-button {
    min-height:40px;
    margin:0 10px 0 0;
    padding:8px 14px;
    border:0;
    border-right:1px solid #dfe3e8;
    background:#f8f9fa;
    color:#343a40;
    cursor:pointer;
}

/* Form descriptions: right of field on desktop, below on narrow screens. */
.tfm td > p.d,
.tfm td > .d,
#profilelist td > p.d,
#profilelist td > .d,
.rfm td > p.d,
.rfm td > .d {
    display:inline-block;
    max-width:420px;
    margin:0 0 0 12px !important;
    color:#8a9199;
    font-size:12px;
    line-height:1.55;
    vertical-align:middle;
}
#profilelist td:not(.p) > input + .d,
#profilelist td:not(.p) > select + .d,
#profilelist td:not(.p) > textarea + .d { margin-left:12px !important; }

/* Registration validation: Bootstrap styles <kbd> black by default; neutralize it. */
kbd.p_chk,
.p_chk,
.rfm .p_chk {
    position:static !important;
    display:inline-block;
    width:auto !important;
    max-width:100%;
    min-height:0;
    margin:5px 0 0;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#dc3545 !important;
    font:12px/1.5 Arial,"Microsoft YaHei",sans-serif !important;
    white-space:normal;
}
.rfm .p_tip {
    position:static !important;
    display:block;
    width:auto !important;
    max-width:100%;
    padding:5px 0 0 !important;
    background:transparent !important;
    color:#868e96;
    font-size:12px;
    line-height:1.5;
}
.rfm .tipcol { width:220px; padding-left:12px; vertical-align:middle; }

/* Birthday year/month/day always stay in one row where space allows. */
#birthyear,#birthmonth,#birthday,
select[id*="birthyear"],select[id*="birthmonth"],select[id*="birthday"] {
    width:auto !important; min-width:88px; margin-right:4px;
}
.bmr-birthday-row { display:flex; align-items:center; flex-wrap:nowrap; gap:6px; }

/* Region selector remains native and may expand below the trigger. */
#birthcitybox,#residecitybox,[id$="citybox"] { position:relative; }
#birthcitybox select,#residecitybox select { margin-right:6px; margin-bottom:6px; }

/* Login popup / standalone login */
.fwin .m_c,
.fwin .c,
.bmr-login-panel {
    box-sizing:border-box;
}
.fwin .m_c {
    min-width:520px;
    max-width:620px;
    border:0 !important;
    border-radius:18px !important;
    background:#fff;
    box-shadow:0 18px 60px rgba(17,24,39,.18);
    overflow:visible !important;
}
.fwin .flb,
.bmr-login-panel .flb {
    min-height:54px;
    padding:16px 20px 12px;
    border-bottom:1px solid #eef0f2;
    background:#fff;
}
.fwin .flb em,.bmr-login-panel .flb em { font-size:18px; font-weight:600; color:#212529; }
.fwin .flbc { top:16px; right:16px; }
.fwin .c { padding:12px 20px 20px; }
.bmr-login-panel .rfm { width:100%; max-width:none; margin:0; padding:8px 0; }
.bmr-login-panel .rfm table,.fwin .rfm table { table-layout:auto; }
.bmr-login-panel .rfm th,.fwin .rfm th { width:120px; white-space:nowrap; }
.bmr-login-panel .rfm td,.fwin .rfm td { overflow:visible; }
.bmr-login-panel .rfm .px,.fwin .rfm .px { width:100% !important; max-width:330px; }
.login_slct { display:block; min-width:105px; }
.login_slct select { float:none !important; width:105px !important; }

/* Registration card */
.bmr-register-panel { max-width:900px; margin:20px auto 36px; border-radius:18px !important; overflow:visible; }
.bmr-register-panel #main_hnav { padding:18px 22px; }
.bmr-register-panel #layer_reg { padding:16px 22px 24px; }
.bmr-register-panel .rfm { width:100%; max-width:760px; }
.bmr-register-panel .rfm table { table-layout:fixed; }
.bmr-register-panel .rfm th { width:145px; }
.bmr-register-panel .rfm td:nth-child(2) { width:auto; }
.bmr-register-panel .rfm input.px { width:100% !important; max-width:420px; }

/* Friend search: formerly negative-margin right column goes ABOVE friend/member results. */
.bmr-friend-sideblock {
    float:none !important;
    display:block !important;
    width:100% !important;
    margin:0 0 16px !important;
    order:-1;
}
.bmr-friend-sideblock .bm { margin:0; }
#friend_ul { clear:both; width:100%; }
/* Legacy wrapper around find-friend sections must allow ordering naturally. */
#friend_ul + .bmr-friend-sideblock,
.bmr-friend-sideblock + #friend_ul { width:100%; }

/* Friend/member card typography: prevent clipped usernames. */
.buddy h4 {
    display:flex;
    align-items:center;
    gap:6px;
    width:100%;
    min-width:0;
    min-height:24px;
    height:auto !important;
    margin:0 0 5px;
    overflow:visible !important;
    font-size:15px !important;
    line-height:1.45 !important;
    font-weight:600;
}
.buddy h4 > a {
    display:block;
    min-width:0;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:15px !important;
    line-height:1.45 !important;
}
.buddy .maxh { height:auto !important; min-height:20px; line-height:1.5; }

/* Discuz popup/menu stabilization; remove transitions that amplify hover flicker. */
.p_pop,.p_opt,.fwin,.m_c {
    animation:none !important;
    transition:none !important;
}
.p_pop {
    z-index:1100 !important;
    min-width:120px;
    padding:7px;
    border:1px solid #e5e7eb !important;
    border-radius:10px !important;
    background:#fff !important;
    box-shadow:0 10px 28px rgba(17,24,39,.12) !important;
}
.p_pop p { margin:0; }
.p_pop a { display:block; padding:7px 10px; border-radius:7px; line-height:20px; white-space:nowrap; }
.p_pop a:hover { background:#fff1f5; color:#c72555; text-decoration:none; }

/* Portal home framework with DIY placeholders. */
.bmr-portal-home { margin-top:-1px; }
.bmr-portal-hero { padding:34px 0 18px; background:linear-gradient(180deg,#fff7fa 0,#fff 100%); }
.bmr-portal-section { padding:20px 0; }
.bmr-portal-section-soft { background:#fafbfc; border-top:1px solid #f1f3f5; border-bottom:1px solid #f1f3f5; }
.bmr-portal-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(280px,.8fr); gap:22px; align-items:start; }
.bmr-portal-main,.bmr-portal-aside { min-width:0; }
.bmr-portal-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.bmr-diy-area:empty {
    min-height:120px;
    border:1px dashed #e4e7eb;
    border-radius:14px;
    background:rgba(255,255,255,.75);
}
.bmr-diy-hero:empty { min-height:220px; }
.bmr-diy-primary:empty { min-height:360px; }
.bmr-diy-aside:empty { min-height:360px; }
.bmr-diy-featured:empty { min-height:180px; }
.bmr-portal-bottom { padding-bottom:38px; }

/* General residue cleanup */
.tb,.tbmu,.tbms { border-color:#edf0f2; }
.tb a { font-size:14px; }
.tb li.a a { color:#c72555; font-weight:600; }
.xs2 { font-size:18px !important; }
.xs3 { font-size:20px !important; }
.emp { padding:28px 16px; color:#868e96; text-align:center; }

@media (max-width:991.98px) {
    .fwin .m_c { min-width:0; width:min(92vw,620px) !important; }
    .bmr-portal-grid { grid-template-columns:1fr; }
    .bmr-portal-columns { grid-template-columns:1fr 1fr; }
    .tfm td > p.d,.tfm td > .d,#profilelist td > p.d,#profilelist td > .d,.rfm td > p.d,.rfm td > .d {
        display:block; max-width:none; margin:6px 0 0 !important;
    }
}
@media (max-width:767.98px) {
    #pt { padding-left:2px !important; padding-right:2px !important; }
    select,.ps,.tfm select,.rfm select,.scf select,#profilelist select { max-width:100%; }
    #birthyear,#birthmonth,#birthday,select[id*="birthyear"],select[id*="birthmonth"],select[id*="birthday"] { min-width:74px; padding-left:8px !important; padding-right:24px !important; }
    .rfm .tipcol { width:100%; padding-left:0; }
    .bmr-register-panel #layer_reg { padding:12px 14px 20px; }
    .bmr-portal-hero { padding-top:18px; }
    .bmr-portal-columns { grid-template-columns:1fr; }
    .bmr-diy-hero:empty { min-height:160px; }
    .bmr-diy-primary:empty,.bmr-diy-aside:empty { min-height:220px; }
}



/* ===== BaoMeiRen V5 Final Product UI ===== */
:root{--bmr-bg:#f7f8fa;--bmr-surface:#fff;--bmr-soft:#faf5f7;--bmr-soft2:#f3f5f7;--bmr-text:#25272b;--bmr-muted:#858b94;--bmr-primary:#d6336c;--bmr-primary-soft:#fff0f5;--bmr-shadow:0 10px 32px rgba(22,28,45,.055);--bmr-shadow-hover:0 14px 36px rgba(22,28,45,.09)}
body.bmr-native-ui{background:var(--bmr-bg);color:var(--bmr-text)}#wp{background:transparent}
.bmr-native-ui .bmr-main-surface{border:0!important;box-shadow:none!important;background:transparent!important}
.bmr-native-ui .bm{border-color:transparent!important;box-shadow:none}.bmr-native-ui .bm_h{border:0!important;background:transparent}.bmr-native-ui .bm_c{background:transparent}
.bmr-native-ui .mt{border:0!important;padding-bottom:4px;margin-bottom:18px;font-size:22px;line-height:1.35}.bmr-native-ui .xg1,.bmr-native-ui .xg2{color:var(--bmr-muted)!important}
.bmr-native-ui .appl{border:0!important;padding:8px 10px!important;background:rgba(255,255,255,.88)!important;border-radius:16px!important;box-shadow:0 6px 24px rgba(22,28,45,.035)!important}
.bmr-native-ui .appl .tbn a,.bmr-native-ui .tbn li a,.bmr-native-ui .tbn dd a{border:0!important;background:transparent;padding:9px 14px;color:#5d626b}
.bmr-native-ui .appl .tbn .a a,.bmr-native-ui .tbn .a a,.bmr-native-ui .tbn li.a a{background:var(--bmr-primary-soft)!important;color:var(--bmr-primary)!important}
/* member */
.bmr-native-ui #uhd{border:0!important;border-radius:24px!important;background:linear-gradient(135deg,#fff,#fff7fa)!important;box-shadow:var(--bmr-shadow)!important;overflow:visible!important;margin-bottom:20px}
.bmr-native-ui #uhd .h{padding:28px 30px 22px!important;min-height:110px}.bmr-native-ui #uhd .tb{border:0!important;background:rgba(255,255,255,.65)!important;border-radius:0 0 24px 24px;padding:5px 22px 10px!important}
.bmr-native-ui #uhd .tb a{border:0!important;border-radius:999px;padding:9px 14px;color:#626770}.bmr-native-ui #uhd .tb .a a,.bmr-native-ui #uhd .tb a:hover{background:#fff;color:var(--bmr-primary);text-decoration:none}
.bmr-native-ui .mi{background:#fff;border-radius:22px;padding:22px;box-shadow:var(--bmr-shadow)}.bmr-native-ui .mi .avatar img{padding:0!important;border:0!important;width:128px;height:128px;object-fit:cover;box-shadow:0 8px 22px rgba(22,28,45,.10)}
.bmr-native-ui #pprl{background:#fff;border-radius:20px;padding:10px 22px;box-shadow:var(--bmr-shadow)}.bmr-native-ui #pprl li{border:0!important;padding-top:11px;padding-bottom:11px}.bmr-native-ui #pprl li+li{box-shadow:inset 0 1px rgba(0,0,0,.035)}
.bmr-native-ui .pf_l{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}.bmr-native-ui .pf_l li{width:auto!important;float:none!important}
/* friend cards */
.bmr-native-ui .buddy{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px!important}.bmr-native-ui .buddy li{position:relative;min-height:116px!important;padding:18px 16px 18px 92px!important;border:0!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--bmr-shadow);overflow:visible!important}
.bmr-native-ui .buddy li:hover{transform:translateY(-3px);box-shadow:var(--bmr-shadow-hover)}.bmr-native-ui .buddy .avt{margin-left:-72px!important}.bmr-native-ui .buddy .avt img{width:58px!important;height:58px!important;border:0!important;box-shadow:0 5px 16px rgba(22,28,45,.09)}
.bmr-native-ui .buddy h4{height:auto!important;max-height:none!important;overflow:visible!important;margin:0 0 7px!important;font-size:15px!important;line-height:1.45!important;font-weight:650}.bmr-native-ui .buddy h4 a{font-size:15px!important;line-height:1.45!important;color:#27292d}
.bmr-native-ui .buddy .maxh{height:auto!important;min-height:20px;color:var(--bmr-muted)}.bmr-native-ui .buddy a.showmenu{display:inline-flex;align-items:center;margin-top:7px;padding:5px 9px;border-radius:999px;background:var(--bmr-soft2);color:#60656d}
/* albums */
.bmr-native-ui .mlp,.bmr-native-ui .mla{gap:20px!important}.bmr-native-ui .mlp li,.bmr-native-ui .mla li{border:0!important;border-radius:20px!important;padding:10px!important;background:#fff!important;box-shadow:var(--bmr-shadow);overflow:hidden}
.bmr-native-ui .mlp li:hover,.bmr-native-ui .mla li:hover{box-shadow:var(--bmr-shadow-hover)}.bmr-native-ui .mlp img,.bmr-native-ui .mla img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:15px!important}
.bmr-native-ui .pic{background:#fff;border-radius:22px;padding:18px;box-shadow:var(--bmr-shadow)}.bmr-native-ui .pic .c img,.bmr-native-ui .photo_pic img{border-radius:16px!important}.bmr-native-ui .mlnv img{border:0!important;border-radius:10px!important;opacity:.76}.bmr-native-ui .mlnv img.a{opacity:1;box-shadow:0 0 0 3px rgba(214,51,108,.16)}
/* PM */
.bmr-native-ui .pml{border:0!important;border-radius:22px!important;background:#fff!important;box-shadow:var(--bmr-shadow);padding:6px 0}.bmr-native-ui .pml dl{border:0!important;min-height:78px;padding-top:16px!important;padding-bottom:16px!important}.bmr-native-ui .pml dl+dl{box-shadow:inset 0 1px rgba(0,0,0,.035)}.bmr-native-ui .pml .newpm{background:#fff5f8!important}
.bmr-native-ui .pm_g{border:0!important;background:transparent!important}.bmr-native-ui .pm_sd{border:0!important;background:#fff!important;box-shadow:var(--bmr-shadow);border-radius:18px!important}.bmr-native-ui .pm_b{border:0!important;background:#fff!important;box-shadow:var(--bmr-shadow);border-radius:20px!important;padding:18px!important}
.bmr-native-ui .pmform,.bmr-native-ui .tedt{border:0!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 20px rgba(22,28,45,.05)}.bmr-native-ui .tedt .bar{border:0!important;background:#fafafa}
/* notices */
.bmr-native-ui .nts{background:#fff;border-radius:22px;padding:8px 20px!important;box-shadow:var(--bmr-shadow)}.bmr-native-ui .nts dl{border:0!important;padding:16px 8px!important;margin:0}.bmr-native-ui .nts dl+dl{box-shadow:inset 0 1px rgba(0,0,0,.035)}
.bmr-native-ui .nts .summary{border:0!important;background:var(--bmr-soft2);border-radius:12px;padding:10px 12px;margin:8px 0 0}.bmr-native-ui .ntc_body .summary{border-left:0!important}
/* settings */
.bmr-native-ui .tfm{background:#fff;border-radius:22px;padding:18px 22px;box-shadow:var(--bmr-shadow);border-collapse:separate;border-spacing:0 5px}.bmr-native-ui .tfm th{font-size:14px;color:#666c75;padding-left:4px}.bmr-native-ui .tfm td{position:relative}
.bmr-native-ui .tfm .px,.bmr-native-ui .tfm .pt,.bmr-native-ui .tfm .ps,.bmr-native-ui input.px,.bmr-native-ui textarea.pt,.bmr-native-ui select.ps{border:0!important;background:#f5f6f8!important;border-radius:11px!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.035)!important}
.bmr-native-ui .tfm .px:focus,.bmr-native-ui .tfm .pt:focus,.bmr-native-ui .tfm .ps:focus{background:#fff!important;box-shadow:0 0 0 3px rgba(214,51,108,.11)!important}.bmr-native-ui .tfm p.d{color:var(--bmr-muted);font-size:12px;line-height:1.55}
.bmr-native-ui input[type=file]{height:auto!important;min-height:42px!important;line-height:1.4!important;padding:5px!important;border:0!important;border-radius:11px;background:#f5f6f8;max-width:100%}.bmr-native-ui input[type=file]::file-selector-button{min-height:32px;margin-right:10px;padding:6px 12px;border:0;border-radius:8px;background:#e9ebee;color:#444}
.bmr-native-ui select,.bmr-native-ui select.ps{min-height:40px!important;height:auto!important;padding:7px 34px 7px 10px!important;border:0!important;border-radius:11px!important;background-color:#f5f6f8!important}
.bmr-native-ui .pn,.bmr-native-ui button,.bmr-native-ui input[type=submit]{border-width:0!important;box-shadow:none}.bmr-native-ui .pnc{background:var(--bmr-primary)!important;color:#fff!important}
.bmr-native-ui .p_pop{border:0!important;border-radius:14px!important;box-shadow:0 14px 38px rgba(22,28,45,.14)!important;padding:7px!important;background:#fff!important}.bmr-native-ui .p_pop a{border-radius:9px}.bmr-native-ui .p_pop a:hover{background:#f6f7f8;text-decoration:none}
.bmr-native-ui .xld dl,.bmr-native-ui .el li{border:0!important;background:#fff;border-radius:16px;margin-bottom:10px;padding:14px 16px;box-shadow:0 5px 20px rgba(22,28,45,.035)}
@media(max-width:1199.98px){.bmr-native-ui .buddy{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:991.98px){.bmr-native-ui .buddy{grid-template-columns:repeat(2,minmax(0,1fr))}.bmr-native-ui .pf_l{grid-template-columns:1fr}.bmr-native-ui #uhd .h{padding:22px!important}}
@media(min-width:768px){.bmr-native-ui .tfm td>p.d{display:inline-block;vertical-align:middle;margin:0 0 0 12px;max-width:300px}}
@media(max-width:767.98px){.bmr-native-ui #uhd{border-radius:18px!important}.bmr-native-ui #uhd .h{padding:18px!important}.bmr-native-ui .buddy{grid-template-columns:1fr}.bmr-native-ui .tfm{padding:12px 14px;border-radius:16px}.bmr-native-ui .tfm td>p.d{display:block;margin:7px 0 0;max-width:none}.bmr-native-ui .pml,.bmr-native-ui .nts,.bmr-native-ui .pic{border-radius:16px!important}}



/* ===== BaoMeiRen V5.1 UI Fix ===== */
/* 1/4: remove remaining legacy body wrappers from profile/discovery and similar native pages */
body.bmr-native-ui #ct.ct1,
body.bmr-native-ui #ct.ct2_a,
body.bmr-native-ui #ct.ct2,
body.bmr-native-ui #ct.ct3_a{
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:0!important;
}
body.bmr-native-ui #ct.ct1>.mn,
body.bmr-native-ui #ct.ct2_a>.mn,
body.bmr-native-ui #ct.ct2>.mn,
body.bmr-native-ui #ct.ct3_a>.mn{
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:0!important;
    margin-left:0!important;
    margin-right:0!important;
}
/* Prevent legacy wrapper width/padding from creating an artificial inner frame */
body.bmr-native-ui #ct.wp{
    width:100%!important;
    max-width:1320px;
    box-sizing:border-box;
}
body.bmr-native-ui #ct .mn{
    box-sizing:border-box;
}

/* 5: functional navigation is intentionally transparent and borderless */
body.bmr-native-ui .appl,
body.bmr-native-ui #ct .appl{
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:0 0 12px!important;
    border-radius:0!important;
}
body.bmr-native-ui .appl .tbn{
    background:transparent!important;
    border:0!important;
}

/* 3: restore primary native action buttons to BaoMeiRen red + white */
body.bmr-native-ui .pnc,
body.bmr-native-ui button.pnc,
body.bmr-native-ui input.pnc,
body.bmr-native-ui input[type="submit"].pn,
body.bmr-native-ui button[type="submit"].pn,
body.bmr-native-ui .pn.pnc,
body.bmr-native-ui #scform_submit{
    background:#d6336c!important;
    border-color:#d6336c!important;
    color:#fff!important;
    text-shadow:none!important;
}
body.bmr-native-ui .pnc:hover,
body.bmr-native-ui button.pnc:hover,
body.bmr-native-ui input.pnc:hover,
body.bmr-native-ui input[type="submit"].pn:hover,
body.bmr-native-ui button[type="submit"].pn:hover,
body.bmr-native-ui #scform_submit:hover{
    background:#bd285d!important;
    border-color:#bd285d!important;
    color:#fff!important;
}

/* 2: Discuz window / send-message popup — remove accidental scrollbars and normalize inner sizing */
body.bmr-native-ui .fwin,
body.bmr-native-ui .fwin .m_c,
body.bmr-native-ui .fwin .c,
body.bmr-native-ui .fwin .f_c{
    box-sizing:border-box;
}
body.bmr-native-ui .fwin .m_c{
    max-width:min(92vw,680px)!important;
    border:0!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 18px 55px rgba(22,28,45,.18)!important;
    overflow:visible!important;
}
body.bmr-native-ui .fwin .flb{
    padding:18px 20px 10px!important;
    border:0!important;
}
body.bmr-native-ui .fwin .c,
body.bmr-native-ui .fwin .f_c{
    width:100%!important;
    max-width:100%!important;
    padding:10px 20px 20px!important;
    overflow:visible!important;
}
body.bmr-native-ui .fwin form,
body.bmr-native-ui .fwin table,
body.bmr-native-ui .fwin .tfm,
body.bmr-native-ui .fwin .pmform,
body.bmr-native-ui .fwin .tedt{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
}
body.bmr-native-ui .fwin .tfm{
    padding:0!important;
    box-shadow:none!important;
    border-radius:0!important;
}
body.bmr-native-ui .fwin .pmform .px,
body.bmr-native-ui .fwin .pmform .pt,
body.bmr-native-ui .fwin .pmform .tedt,
body.bmr-native-ui .fwin .tfm .px,
body.bmr-native-ui .fwin .tfm .pt,
body.bmr-native-ui .fwin textarea{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
}
body.bmr-native-ui .fwin .tedt{
    margin:0!important;
    overflow:hidden!important;
}
body.bmr-native-ui .fwin .area,
body.bmr-native-ui .fwin .area .pt{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
}
body.bmr-native-ui .fwin .o{
    padding:10px 20px 18px!important;
}
/* Do not allow the page behind a popup to gain a horizontal scrollbar from legacy fixed widths */
body.bmr-native-ui #append_parent .fwin{
    max-width:100vw!important;
}
@media(max-width:767.98px){
    body.bmr-native-ui .fwin .m_c{
        width:calc(100vw - 24px)!important;
        max-width:calc(100vw - 24px)!important;
        margin-left:auto!important;
        margin-right:auto!important;
        border-radius:16px!important;
    }
    body.bmr-native-ui .fwin .c,
    body.bmr-native-ui .fwin .f_c{padding-left:14px!important;padding-right:14px!important}
}



/* ===== BaoMeiRen V6 Information Architecture ===== */
.bmr-superadmin .bmr-admin-reserved{position:relative;background:#fff7d6!important;box-shadow:inset 0 0 0 1px #efd36c!important;border-radius:14px}
.bmr-superadmin .bmr-admin-reserved:before{content:"超级管理员：原生功能保留区";display:inline-block;margin:8px 10px 2px;padding:4px 8px;border-radius:6px;background:#f2c94c;color:#5f4900;font-size:12px;font-weight:700}
.bmr-admin-label{display:none}.bmr-superadmin .bmr-admin-label{display:block;color:#765b00;font-size:12px;margin-bottom:10px}
.bmr-home{background:#fff}.bmr-home-section{padding:72px 0}.bmr-home-soft{background:#faf7f8}.bmr-home-hero{padding:72px 0 64px;background:linear-gradient(135deg,#fff 0%,#fff4f7 100%)}
.bmr-home-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:54px;align-items:center}.bmr-eyebrow,.bmr-section-head span{display:block;color:#d6336c;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.bmr-home-hero-copy h1{font-size:48px;line-height:1.18;margin:14px 0 18px;color:#25272b}.bmr-home-hero-copy p{font-size:17px;line-height:1.8;color:#6f747d;max-width:680px}.bmr-home-actions{display:flex;gap:12px;margin:28px 0 24px}
.bmr-btn-primary,.bmr-btn-soft{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;border-radius:12px;text-decoration:none!important}.bmr-btn-primary{background:#d6336c;color:#fff!important}.bmr-btn-soft{background:#fff;color:#34373c!important;box-shadow:0 5px 20px rgba(22,28,45,.06)}
.bmr-home-trust{display:flex;flex-wrap:wrap;gap:8px}.bmr-home-trust span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.75);color:#6f747d;font-size:12px}
.bmr-home-hero-panel{padding:26px;background:#fff;border-radius:22px;box-shadow:0 18px 50px rgba(35,24,30,.09)}.bmr-home-search-title{font-size:20px;font-weight:700;margin-bottom:16px}.bmr-home-search-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bmr-home-search-grid a{padding:14px;border-radius:12px;background:#f6f7f8;color:#6b7078;text-decoration:none}.bmr-home-search-grid strong{float:right;color:#292c31}.bmr-home-search-submit{display:block;margin-top:12px;padding:13px;text-align:center;border-radius:12px;background:#d6336c;color:#fff!important;text-decoration:none!important}
.bmr-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}.bmr-section-head h2{font-size:30px;margin:5px 0 5px}.bmr-section-head p{margin:0;color:#858b94}.bmr-section-head>a{color:#d6336c}
.bmr-demo-members{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.bmr-demo-member{display:block;padding:10px 10px 16px;border-radius:20px;background:#fff;color:#25272b!important;text-decoration:none!important;box-shadow:0 8px 30px rgba(22,28,45,.055)}.bmr-demo-photo{aspect-ratio:4/5;border-radius:15px;background:linear-gradient(145deg,#f5e6eb,#eee);display:flex;align-items:center;justify-content:center;color:#a18c94;margin-bottom:13px}.bmr-demo-member strong,.bmr-demo-member span{display:block;padding:0 6px}.bmr-demo-member span{font-size:12px;color:#858b94;margin-top:5px}
.bmr-why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.bmr-why-grid>div{padding:24px;border-radius:18px;background:#fff}.bmr-why-grid b,.bmr-flow-grid b{color:#d6336c;font-size:13px}.bmr-why-grid h3,.bmr-flow-grid h3{margin:10px 0 8px;font-size:18px}.bmr-why-grid p,.bmr-flow-grid p{color:#858b94;line-height:1.7;margin:0}
.bmr-flow-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.bmr-flow-grid>div{padding:22px;border-radius:18px;background:#faf7f8}.bmr-home-two{display:grid;grid-template-columns:1.2fr .8fr;gap:34px}.bmr-story-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.bmr-story-list article,.bmr-franchise-card,.bmr-news-grid article{padding:22px;border-radius:18px;background:#fff}.bmr-story-list p,.bmr-franchise-card p,.bmr-news-grid p{color:#858b94;line-height:1.7}.bmr-franchise-card{min-height:210px}.bmr-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.bmr-news-grid article{background:#f8f8f9}.bmr-news-grid article>span{color:#d6336c;font-size:12px}.bmr-news-grid h3{font-size:18px;line-height:1.55}
.bmr-diy-area:empty{min-height:0!important;background:transparent!important}
.bmr-my-page{padding:28px 0 48px}.bmr-my-hero{display:grid;grid-template-columns:auto 1fr 260px;gap:24px;align-items:center;padding:28px;border-radius:22px;background:linear-gradient(135deg,#fff,#fff5f8);box-shadow:0 10px 32px rgba(22,28,45,.055)}.bmr-my-avatar img{width:92px;height:92px;border-radius:50%;object-fit:cover}.bmr-my-intro h1{font-size:28px;margin:5px 0 8px}.bmr-my-intro p{color:#858b94;margin:0}.bmr-my-actions{display:flex;gap:10px;margin-top:16px}.bmr-my-status{padding:18px;border-radius:16px;background:#fff}.bmr-my-status span,.bmr-my-status small,.bmr-my-status strong{display:block}.bmr-my-status span,.bmr-my-status small{color:#858b94}.bmr-my-status strong{font-size:18px;margin:5px 0}
.bmr-my-section{margin-top:34px}.bmr-my-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.bmr-my-grid>a{display:block;padding:20px;border-radius:16px;background:#fff;color:#25272b!important;text-decoration:none!important;box-shadow:0 6px 24px rgba(22,28,45,.045)}.bmr-my-grid b,.bmr-my-grid span{display:block}.bmr-my-grid span{color:#858b94;font-size:12px;margin-top:6px;line-height:1.6}.bmr-future-slot{background:#fff6f8!important}
.bmr-recommend-head{padding:26px 0 18px}.bmr-recommend-head h1{font-size:32px;margin:5px 0}.bmr-recommend-head p{color:#858b94}.bmr-recommend-tabs{display:flex;gap:10px;margin:18px 0}.bmr-recommend-tabs a{padding:9px 14px;border-radius:999px;background:#fff0f5;color:#c72555;text-decoration:none}.bmr-recommend-placeholder{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.bmr-recommend-placeholder>div{padding:16px;border-radius:14px;background:#faf7f8}.bmr-recommend-placeholder b,.bmr-recommend-placeholder span{display:block}.bmr-recommend-placeholder span{font-size:12px;color:#858b94;margin-top:4px}
@media(max-width:991.98px){.bmr-home-hero-grid,.bmr-home-two{grid-template-columns:1fr}.bmr-home-hero-copy h1{font-size:38px}.bmr-demo-members,.bmr-why-grid,.bmr-my-grid,.bmr-recommend-placeholder{grid-template-columns:repeat(2,1fr)}.bmr-flow-grid{grid-template-columns:repeat(3,1fr)}.bmr-my-hero{grid-template-columns:auto 1fr}.bmr-my-status{grid-column:1/-1}.bmr-news-grid{grid-template-columns:1fr 1fr}}
@media(max-width:767.98px){.bmr-home-section{padding:44px 0}.bmr-home-hero{padding:42px 0}.bmr-home-hero-copy h1{font-size:32px}.bmr-home-search-grid,.bmr-demo-members,.bmr-why-grid,.bmr-flow-grid,.bmr-story-list,.bmr-news-grid,.bmr-my-grid,.bmr-recommend-placeholder{grid-template-columns:1fr}.bmr-section-head{align-items:start;flex-direction:column}.bmr-my-hero{grid-template-columns:1fr;text-align:center}.bmr-my-avatar{margin:auto}.bmr-my-actions{justify-content:center}}



/* ===== BaoMeiRen V6.1.3 Stable Shell Colors ===== */
body.bmr-native-ui{background:#f5f1f2}
#toptb{background:#eee7e9!important;border-bottom:0!important}
#hd.bmr-header,#hd{background:linear-gradient(180deg,#f9f3f5 0%,#f5edef 100%)!important;box-shadow:0 6px 24px rgba(63,38,48,.045)}
.bmr-header-main{background:transparent!important}
#ft,.bmr-footer{background:#ebe3e6!important;color:#665d61}
.bmr-footer a,#ft a{color:#554d51}
.bmr-footer-main{background:transparent!important}



/* ===== BaoMeiRen V6.2 Safe Public Profile UI ===== */
/* Built on the V6.1.3 known-good native profile template. No native X5 conditional/loop rewrite. */
body.bmr-native-ui .bmr-public-profile{
  padding:22px 0 48px!important;background:transparent!important;border:0!important;box-shadow:none!important
}
body.bmr-native-ui .bmr-public-profile>.mn,
body.bmr-native-ui .bmr-public-profile .bmr-profile-native-main{
  width:100%!important;float:none!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important
}
body.bmr-native-ui .bmr-public-profile .bm,
body.bmr-native-ui .bmr-public-profile .bmr-profile-native-card{
  border:0!important;background:transparent!important;box-shadow:none!important
}
body.bmr-native-ui .bmr-public-profile .bm_h{
  border:0!important;background:transparent!important;padding:0 0 14px!important
}
body.bmr-native-ui .bmr-public-profile .bm_h h1,
body.bmr-native-ui .bmr-public-profile .bm_h h2{
  font-size:26px!important;line-height:1.35!important;color:#29262a
}
body.bmr-native-ui .bmr-public-profile .bm_c,
body.bmr-native-ui .bmr-public-profile .bmr-profile-native-content{
  padding:26px!important;border-radius:24px;background:#fff!important;box-shadow:0 12px 38px rgba(45,28,35,.055)
}
/* Native profile title/avatar/basic area */
body.bmr-native-ui .bmr-public-profile .avt img,
body.bmr-native-ui .bmr-public-profile .avatar img{
  width:128px!important;height:128px!important;object-fit:cover;border:0!important;border-radius:22px!important;
  padding:0!important;box-shadow:0 8px 24px rgba(45,28,35,.10)
}
body.bmr-native-ui .bmr-public-profile h2,
body.bmr-native-ui .bmr-public-profile h3,
body.bmr-native-ui .bmr-public-profile h4{
  color:#29262a
}
body.bmr-native-ui .bmr-public-profile #pprl{
  margin-top:18px!important;padding:14px 20px!important;border:0!important;border-radius:18px!important;
  background:#faf8f9!important;box-shadow:none!important
}
body.bmr-native-ui .bmr-public-profile #pprl li{
  border:0!important;padding:10px 4px!important;line-height:1.65!important
}
body.bmr-native-ui .bmr-public-profile #pprl li+li{
  box-shadow:inset 0 1px rgba(70,55,61,.035)
}
body.bmr-native-ui .bmr-public-profile #pprl em{
  color:#989097!important;font-weight:400!important
}
/* Native profile field lists become responsive information grid where possible */
body.bmr-native-ui .bmr-public-profile .pf_l{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px!important;
  padding:6px 0!important
}
body.bmr-native-ui .bmr-public-profile .pf_l li{
  width:auto!important;float:none!important;margin:0!important;padding:11px 2px!important;border:0!important;
  min-width:0
}
body.bmr-native-ui .bmr-public-profile .pf_l em{
  color:#979097!important;display:inline-block;min-width:82px
}
/* Legacy profile sub-sections: use whitespace and soft surfaces rather than lines */
body.bmr-native-ui .bmr-public-profile .pbm{
  border:0!important;margin:22px 0 0!important;padding:20px 22px!important;border-radius:18px!important;background:#faf8f9!important
}
body.bmr-native-ui .bmr-public-profile .pbm h2,
body.bmr-native-ui .bmr-public-profile .pbm h3{
  margin:0 0 14px!important;font-size:18px!important
}
body.bmr-native-ui .bmr-public-profile .xl2,
body.bmr-native-ui .bmr-public-profile .xl{
  margin:0!important
}
body.bmr-native-ui .bmr-public-profile .xl2 li,
body.bmr-native-ui .bmr-public-profile .xl li{
  border:0!important;line-height:1.7!important
}
/* Native action links */
body.bmr-native-ui .bmr-public-profile .xi2,
body.bmr-native-ui .bmr-public-profile a.xi2{
  color:#c82e62!important
}
body.bmr-native-ui .bmr-public-profile .pn,
body.bmr-native-ui .bmr-public-profile .pnc{
  border:0!important;border-radius:10px!important
}
/* Future business CTA: static UI only, no fake action */
.bmr-profile-future-cta{
  margin:8px 0 18px;padding:14px 16px;border-radius:16px;background:linear-gradient(135deg,#fff1f5,#faf4f6)
}
.bmr-profile-future-cta a{
  display:inline-flex;align-items:center;min-height:42px;padding:9px 18px;border-radius:11px;
  background:#d6336c;color:#fff!important;text-decoration:none!important;font-weight:650
}
.bmr-profile-future-cta small{margin-left:8px;font-weight:400;opacity:.78}
/* Public profile native modules that are not final BaoMeiRen product areas:
   keep visible for development; superadmin gets yellow visual marker through existing bmr-admin-reserved rule. */
body.bmr-superadmin .bmr-public-profile .bmr-profile-native-legacy{
  background:#fff7d6!important;outline:1px dashed #e3b341!important
}
@media(max-width:991.98px){
  body.bmr-native-ui .bmr-public-profile .bm_c,
  body.bmr-native-ui .bmr-public-profile .bmr-profile-native-content{padding:20px!important}
  body.bmr-native-ui .bmr-public-profile .pf_l{grid-template-columns:1fr 1fr}
}
@media(max-width:767.98px){
  body.bmr-native-ui .bmr-public-profile{padding-top:12px!important}
  body.bmr-native-ui .bmr-public-profile .bm_c,
  body.bmr-native-ui .bmr-public-profile .bmr-profile-native-content{padding:16px!important;border-radius:17px}
  body.bmr-native-ui .bmr-public-profile .pf_l{grid-template-columns:1fr}
  body.bmr-native-ui .bmr-public-profile .avt img,
  body.bmr-native-ui .bmr-public-profile .avatar img{width:108px!important;height:108px!important}
  .bmr-profile-future-cta{text-align:center}
}



/* ===== BaoMeiRen V6.3 Dedicated Profile View ===== */
.bmr-profile-v63{display:flex;flex-direction:column;gap:22px;padding:8px 0 30px}
.bmr-profile-v63-hero{display:grid;grid-template-columns:220px minmax(0,1fr) 240px;gap:28px;align-items:start;padding:28px;border-radius:26px;background:linear-gradient(135deg,#fff,#fff4f7);box-shadow:0 14px 42px rgba(45,28,35,.065)}
.bmr-profile-v63-avatar img{display:block;width:220px!important;height:275px!important;object-fit:cover;border:0!important;padding:0!important;border-radius:20px!important;background:#eee}
.bmr-profile-photo-link{display:block;margin-top:9px;text-align:center;color:#c82e62!important;text-decoration:none!important}
.bmr-profile-v63-name{display:flex;align-items:center;gap:10px}.bmr-profile-v63-name h1{margin:0;font-size:32px;line-height:1.3}.bmr-profile-v63-name span{padding:5px 8px;border-radius:999px;background:#f3f4f5;color:#858b94;font-size:11px}
.bmr-profile-v63-note{margin:14px 0 0;color:#777c84;line-height:1.75}.bmr-profile-v63-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.bmr-profile-v63-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border-radius:11px;background:#eff1f3;color:#454a51!important;text-decoration:none!important}
.bmr-profile-v63-actions .bmr-want-meet{background:#d6336c;color:#fff!important;padding-left:22px;padding-right:22px}.bmr-want-meet small{margin-left:7px;opacity:.75}
.bmr-profile-v63-trust{padding:20px;border-radius:18px;background:#fff}.bmr-profile-v63-trust>span,.bmr-profile-v63-trust>strong,.bmr-profile-v63-trust>p{display:block}.bmr-profile-v63-trust>span{font-size:12px;color:#d6336c;font-weight:700}.bmr-profile-v63-trust>strong{font-size:18px;margin:7px 0}.bmr-profile-v63-trust>p{color:#8a8f96;line-height:1.65;margin:0}
.bmr-profile-v63-section{padding:26px 28px;border-radius:22px;background:#fff;box-shadow:0 8px 30px rgba(45,28,35,.045)}.bmr-profile-v63-section .bmr-section-head{margin-bottom:18px}
.bmr-profile-v63-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 26px}.bmr-profile-v63-fields>div{padding:10px 0;min-width:0}.bmr-profile-v63-fields small,.bmr-profile-v63-fields strong{display:block}.bmr-profile-v63-fields small{font-size:12px;color:#999da3;margin-bottom:5px}.bmr-profile-v63-fields strong{font-size:15px;font-weight:550;color:#292c31;overflow-wrap:anywhere}
.bmr-profile-v63-copy{font-size:15px;line-height:1.9;color:#5f646b}.bmr-profile-v63-future{background:#fffafb}.bmr-profile-v63-futuregrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.bmr-profile-v63-futuregrid span{padding:13px;border-radius:11px;background:#f7f2f4;color:#9a8d92}
.bmr-profile-v63-photos{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.bmr-profile-v63-photos>a{aspect-ratio:4/3;padding:16px;border-radius:16px;background:linear-gradient(145deg,#f4e8ec,#eee);display:flex;flex-direction:column;justify-content:end;text-decoration:none!important}.bmr-profile-v63-photos span{font-size:12px;color:#9b838c}.bmr-profile-v63-photos b{color:#4a4145;margin-top:4px}
.bmr-profile-v63-native{display:flex;flex-wrap:wrap;gap:9px}.bmr-profile-v63-native a{padding:9px 12px;border-radius:999px;background:#f2f3f4;color:#555b63!important;text-decoration:none!important}
.bmr-native-profile-reference{margin-top:26px;padding:18px;border-radius:16px}
.bmr-superadmin .bmr-native-profile-reference{background:#fff7d6!important;outline:1px dashed #e3b341!important}
.bmr-superadmin .bmr-native-profile-reference .bm,.bmr-superadmin .bmr-native-profile-reference .bm_c{background:transparent!important;box-shadow:none!important}
@media(max-width:1199.98px){.bmr-profile-v63-hero{grid-template-columns:190px 1fr}.bmr-profile-v63-trust{grid-column:1/-1}.bmr-profile-v63-avatar img{width:190px!important;height:238px!important}.bmr-profile-v63-fields{grid-template-columns:repeat(3,1fr)}}
@media(max-width:991.98px){.bmr-profile-v63-hero{grid-template-columns:155px 1fr;padding:22px}.bmr-profile-v63-avatar img{width:155px!important;height:194px!important}.bmr-profile-v63-fields{grid-template-columns:repeat(2,1fr)}.bmr-profile-v63-photos{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767.98px){.bmr-profile-v63-hero{grid-template-columns:1fr;padding:18px;border-radius:18px}.bmr-profile-v63-avatar img{width:210px!important;height:263px!important;margin:auto}.bmr-profile-v63-main{text-align:center}.bmr-profile-v63-name,.bmr-profile-v63-actions{justify-content:center}.bmr-profile-v63-section{padding:20px 16px;border-radius:17px}.bmr-profile-v63-fields,.bmr-profile-v63-futuregrid{grid-template-columns:1fr 1fr}.bmr-profile-v63-photos{grid-template-columns:1fr 1fr}}



/* ===== BaoMeiRen V6.4 Profile Gallery + UI Refinement ===== */
.bmr-profile-v63{gap:18px}
.bmr-profile-v63-hero{background:linear-gradient(135deg,#fff 0%,#fff8fa 72%,#f8eef1 100%);box-shadow:0 12px 38px rgba(45,28,35,.055)}
.bmr-profile-v63-section{box-shadow:0 6px 26px rgba(45,28,35,.038)}
.bmr-profile-v63-fields>div{padding:12px 14px;border-radius:13px;background:#faf9fa}
.bmr-profile-v63-fields small{margin-bottom:7px}.bmr-profile-v63-fields strong{font-size:16px}
.bmr-profile-v63-copy{min-height:52px;padding:16px 18px;border-radius:14px;background:#faf9fa}
.bmr-profile-v63-futuregrid span{min-height:48px;display:flex;align-items:center}
.bmr-native-album-preview{min-height:180px}
.bmr-native-album-preview>a{position:relative;overflow:hidden;padding:0!important;background:#f2edef!important;aspect-ratio:4/3!important}
.bmr-native-album-preview .bmr-album-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.bmr-native-album-preview .bmr-album-photo:hover img{transform:scale(1.035)}
.bmr-native-album-preview .bmr-album-loading,
.bmr-native-album-preview .bmr-album-empty{padding:18px!important;display:flex;flex-direction:column;justify-content:end;background:linear-gradient(145deg,#f4e8ec,#eee)!important}
.bmr-native-album-preview .bmr-album-empty small{margin-top:4px;color:#998c91}
.bmr-profile-v63-native a:hover{background:#fff0f5;color:#c82e62!important}
.bmr-profile-v63-actions>a:hover{background:#e8eaed}.bmr-profile-v63-actions .bmr-want-meet:hover{background:#bd285d}
.bmr-native-profile-reference{margin-top:30px}
@media(max-width:767.98px){
 .bmr-native-album-preview{min-height:120px}
 .bmr-profile-v63-fields>div{padding:10px 12px}
}



/* ===== BaoMeiRen V7 Full UI Convergence ===== */
:root{--b7:#d6336c;--b7bg:#f5f1f2;--b7soft:#f6f5f6;--b7muted:#88838a;--b7shadow:0 8px 28px rgba(45,28,35,.045)}
.bmr-superadmin .bmr-native-space-header{background:#fff7d6!important;outline:1px dashed #e3b341!important}
body.bmr-native-ui #ct.ct1,body.bmr-native-ui #ct.ct2,body.bmr-native-ui #ct.ct2_a,body.bmr-native-ui #ct.ct3_a{border:0!important;background:transparent!important;box-shadow:none!important}
body.bmr-native-ui #ct>.mn{border:0!important;background:transparent!important;box-shadow:none!important}
body.bmr-native-ui .bm{border:0!important;box-shadow:none}.bm_h{border:0!important}.bbda,.bbdb,.bbd{border-color:rgba(60,45,50,.06)!important}
/* controls */
body.bmr-native-ui .px,body.bmr-native-ui .pt,body.bmr-native-ui .ps{min-height:42px!important;max-width:100%;box-sizing:border-box;border:0!important;border-radius:11px!important;background:#f4f5f6!important;box-shadow:inset 0 0 0 1px rgba(0,0,0,.035)!important}
body.bmr-native-ui .px:focus,body.bmr-native-ui .pt:focus,body.bmr-native-ui .ps:focus{background:#fff!important;box-shadow:0 0 0 3px rgba(214,51,108,.11)!important;outline:0}
body.bmr-native-ui select{height:auto!important;min-height:42px!important;max-width:100%!important;padding:8px 34px 8px 11px!important;border:0!important;border-radius:11px!important;background-color:#f4f5f6!important}
body.bmr-native-ui input[type=file]{height:auto!important;min-height:42px!important;max-width:100%!important;padding:5px!important;border:0!important;border-radius:11px!important;background:#f4f5f6!important}
body.bmr-native-ui input[type=file]::file-selector-button{border:0;border-radius:8px;padding:7px 12px;margin-right:10px;background:#e6e8eb;color:#45494f}
body.bmr-native-ui .pn,body.bmr-native-ui button.pn{border:0!important;border-radius:10px!important;min-height:40px!important;padding:7px 16px!important;background:#eceef0;color:#444}
body.bmr-native-ui .pnc,body.bmr-native-ui button.pnc,body.bmr-native-ui input.pnc,body.bmr-native-ui input[type=submit].pn{background:var(--b7)!important;color:#fff!important}
body.bmr-native-ui kbd.p_chk,body.bmr-native-ui .p_chk{display:block!important;border:0!important;background:transparent!important;color:#d6336c!important;box-shadow:none!important;font-family:inherit!important;font-size:12px!important;line-height:1.5!important;padding:4px 0!important}
/* tabs */
body.bmr-native-ui .tb{border:0!important;background:transparent!important;display:flex;flex-wrap:wrap;gap:6px}
body.bmr-native-ui .tb li{float:none!important;border:0!important;margin:0!important}body.bmr-native-ui .tb a{border:0!important;border-radius:999px!important;padding:8px 13px!important;background:#f1f2f4;color:#5c6066}body.bmr-native-ui .tb .a a,body.bmr-native-ui .tb li.a a{background:#fff0f5!important;color:#c82e62!important}
/* popup system */
body.bmr-native-ui .fwin{max-width:100vw!important}
body.bmr-native-ui .fwin .m_c{width:min(620px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:calc(100vh - 32px)!important;overflow:hidden!important;border:0!important;border-radius:18px!important;background:#fff!important;box-shadow:0 20px 60px rgba(25,18,21,.2)!important}
body.bmr-native-ui .fwin .flb{padding:16px 18px 8px!important;border:0!important}
body.bmr-native-ui .fwin .c,body.bmr-native-ui .fwin .f_c{width:100%!important;max-width:100%!important;max-height:calc(100vh - 100px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:10px 18px 18px!important;box-sizing:border-box!important}
body.bmr-native-ui .fwin form,body.bmr-native-ui .fwin table,body.bmr-native-ui .fwin tbody,body.bmr-native-ui .fwin .tfm,body.bmr-native-ui .fwin .rfm{max-width:100%!important;box-sizing:border-box!important}
body.bmr-native-ui .fwin .rfm{width:100%!important;margin:0!important}.fwin .rfm table{width:100%!important}.fwin .rfm th{width:115px!important;padding-right:10px!important}.fwin .rfm td{min-width:0!important}
body.bmr-native-ui .fwin .px,body.bmr-native-ui .fwin .pt,body.bmr-native-ui .fwin .ps,body.bmr-native-ui .fwin select{max-width:100%!important;box-sizing:border-box!important}
body.bmr-native-ui .p_pop{border:0!important;border-radius:13px!important;background:#fff!important;box-shadow:0 14px 40px rgba(25,18,21,.16)!important;padding:6px!important;max-width:calc(100vw - 20px)}
/* settings */
.bmr-v7-settings-page .tfm{width:100%;background:#fff!important;border-radius:20px!important;box-shadow:var(--b7shadow)!important;padding:18px 22px!important}.bmr-v7-settings-page .tfm th{width:160px!important;padding:12px 12px 12px 4px!important;color:#68636a;font-weight:500;vertical-align:top}.bmr-v7-settings-page .tfm td{padding:8px 4px!important;vertical-align:top}.bmr-v7-settings-page .tfm td>p.d{color:#969198;font-size:12px;line-height:1.55}
/* auth */
.bmr-v7-auth-page #ct{padding-top:28px!important;padding-bottom:42px!important}.bmr-v7-auth-page .rfm{width:100%!important;max-width:620px!important;margin-left:auto!important;margin-right:auto!important}.bmr-v7-auth-page .rfm table{width:100%!important}.bmr-v7-auth-page .rfm th{width:130px!important}.bmr-v7-auth-page .rfm .px,.bmr-v7-auth-page .rfm .ps{width:100%!important;max-width:420px!important}
/* album */
.bmr-v7-album-page .bm_c{padding:22px!important}.bmr-v7-album-page .tbmu{border:0!important;background:transparent!important;padding:8px 0 16px!important}
.bmr-v7-album-page .mlp,.bmr-v7-album-page .mla{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px!important;margin:0!important}
.bmr-v7-album-page .mlp li,.bmr-v7-album-page .mla li{float:none!important;width:auto!important;margin:0!important;padding:8px!important;border:0!important;border-radius:16px!important;background:#fff!important;box-shadow:0 6px 24px rgba(45,28,35,.045)}
.bmr-v7-album-page .mlp img,.bmr-v7-album-page .mla img{width:100%!important;aspect-ratio:1/1;object-fit:cover;border:0!important;border-radius:12px!important}
.bmr-v7-album-page .vw.pic{border:0!important;background:#fff!important;border-radius:20px!important;box-shadow:var(--b7shadow)!important;padding:18px!important}.bmr-v7-album-page #photo_pic{text-align:center!important}.bmr-v7-album-page #photo_pic img{max-width:100%!important;height:auto!important;border-radius:15px!important}
.bmr-v7-album-page .mlnv{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:7px!important}.bmr-v7-album-page .mlnv img{border:0!important;border-radius:8px!important}
/* discovery */
.bmr-v7-discovery-page .buddy{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px!important}.bmr-v7-discovery-page .buddy li{border:0!important;border-radius:18px!important;background:#fff!important;box-shadow:0 7px 26px rgba(45,28,35,.045)!important}.bmr-v7-discovery-page .buddy h4{height:auto!important;overflow:visible!important;font-size:15px!important;line-height:1.45!important}
/* messages */
.bmr-v7-message-page .pml,.bmr-v7-message-page .nts{border:0!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--b7shadow)!important}.bmr-v7-message-page .pml dl,.bmr-v7-message-page .nts dl{border:0!important}
/* tables */
body.bmr-native-ui .dt{width:100%!important;border:0!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important}body.bmr-native-ui .dt th{background:#f7f7f8!important;color:#666}body.bmr-native-ui .dt th,body.bmr-native-ui .dt td{border-color:rgba(0,0,0,.045)!important;padding:10px 12px!important}
@media(min-width:768px){.bmr-v7-settings-page .tfm td>p.d{display:inline-block;margin:8px 0 0 12px;max-width:310px;vertical-align:top}}
@media(max-width:1199.98px){.bmr-v7-album-page .mlp,.bmr-v7-album-page .mla{grid-template-columns:repeat(4,1fr)}.bmr-v7-discovery-page .buddy{grid-template-columns:repeat(3,1fr)}}
@media(max-width:991.98px){.bmr-v7-album-page .mlp,.bmr-v7-album-page .mla{grid-template-columns:repeat(3,1fr)}.bmr-v7-discovery-page .buddy{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767.98px){
 body.bmr-native-ui .fwin .m_c{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 16px)!important;border-radius:14px!important}
 body.bmr-native-ui .fwin .c,body.bmr-native-ui .fwin .f_c{max-height:calc(100vh - 82px)!important;padding:8px 12px 14px!important}
 body.bmr-native-ui .fwin .rfm table,body.bmr-native-ui .fwin .rfm tbody,body.bmr-native-ui .fwin .rfm tr,body.bmr-native-ui .fwin .rfm th,body.bmr-native-ui .fwin .rfm td{display:block!important;width:100%!important}
 body.bmr-native-ui .fwin .rfm th{padding:5px 0!important;text-align:left!important}
 .bmr-v7-settings-page .tfm,.bmr-v7-settings-page .tfm tbody,.bmr-v7-settings-page .tfm tr,.bmr-v7-settings-page .tfm th,.bmr-v7-settings-page .tfm td{display:block!important;width:100%!important}
 .bmr-v7-settings-page .tfm{padding:14px!important}.bmr-v7-settings-page .tfm th{padding:9px 0 3px!important}.bmr-v7-settings-page .tfm td{padding:3px 0 10px!important}.bmr-v7-settings-page .tfm td>p.d{display:block;margin:6px 0 0}
 .bmr-v7-auth-page .rfm table,.bmr-v7-auth-page .rfm tbody,.bmr-v7-auth-page .rfm tr,.bmr-v7-auth-page .rfm th,.bmr-v7-auth-page .rfm td{display:block!important;width:100%!important}.bmr-v7-auth-page .rfm th{text-align:left!important;padding:7px 0 3px!important}.bmr-v7-auth-page .rfm td{padding:3px 0 9px!important}
 .bmr-v7-album-page .mlp,.bmr-v7-album-page .mla{grid-template-columns:repeat(2,1fr)}.bmr-v7-discovery-page .buddy{grid-template-columns:1fr}
}



/* ===== BaoMeiRen V8 ScrollNav + Unified Member Card System ===== */
/* ScrollNav */
.bmr-scrollnav{position:relative;display:flex;align-items:center;min-width:0;width:100%}
.bmr-scrollnav__viewport{min-width:0;flex:1;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain}
.bmr-scrollnav__viewport::-webkit-scrollbar{display:none}
.bmr-scrollnav__viewport>ul,.bmr-scrollnav__viewport>dl{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:7px;width:max-content;min-width:100%;margin:0!important;padding:0!important}
.bmr-scrollnav__viewport li,.bmr-scrollnav__viewport dd{float:none!important;flex:0 0 auto!important;white-space:nowrap}
.bmr-scrollnav__prev,.bmr-scrollnav__next{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#fff;color:#4d474a;font-size:25px;line-height:30px;box-shadow:0 5px 18px rgba(45,28,35,.14);cursor:pointer}
.bmr-scrollnav__prev{left:2px}.bmr-scrollnav__next{right:2px}.bmr-scrollnav button[hidden]{display:none!important}
.bmr-scrollnav.is-overflowing .bmr-scrollnav__viewport{padding-left:2px;padding-right:2px}

/* Unified member collection */
.bmr-member-collection{width:100%;min-width:0}
.bmr-member-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px}
.bmr-member-toolbar__label{font-size:18px;font-weight:650;color:#302d30}
.bmr-member-view-toggle{display:flex;gap:4px;padding:4px;border-radius:10px;background:#ebe7e8}
.bmr-member-view-toggle button{width:36px;height:32px;border:0;border-radius:8px;background:transparent;color:#817a7e;cursor:pointer}
.bmr-member-view-toggle button.is-active{background:#fff;color:#c82e62;box-shadow:0 2px 8px rgba(45,28,35,.08)}
.bmr-member-items{display:grid;gap:18px}
.bmr-member-collection.is-grid .bmr-member-items{grid-template-columns:repeat(4,minmax(0,1fr))}
.bmr-member-card{position:relative;min-width:0;background:#fff;border:0;border-radius:20px;box-shadow:0 8px 28px rgba(45,28,35,.05);overflow:hidden;transition:transform .16s,box-shadow .16s}
.bmr-member-card:hover{transform:translateY(-2px);box-shadow:0 13px 34px rgba(45,28,35,.085)}
.bmr-member-card__main{display:block;color:#29272a!important;text-decoration:none!important}
.bmr-member-card__photo{position:relative;background:#eee;overflow:hidden}
.bmr-member-card__photo img{display:block;width:100%!important;height:100%!important;object-fit:cover;border:0!important;padding:0!important;border-radius:0!important}
.bmr-member-card__online{position:absolute;right:10px;bottom:10px;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.92);color:#25824b;font-size:11px}
.bmr-member-card__body{padding:14px 15px 10px}
.bmr-member-card__name{font-size:16px;font-weight:700;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bmr-member-card__summary{margin-top:7px;color:#7f7a80;font-size:13px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bmr-member-card__meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.bmr-member-card__meta span{padding:5px 7px;border-radius:8px;background:#f6f4f5;color:#898287;font-size:11px}
.bmr-member-card__context{display:flex;justify-content:space-between;gap:8px;padding:0 15px;color:#938c91;font-size:11px}.bmr-member-card__context a{color:#c82e62}
.bmr-member-card__actions{display:flex;flex-wrap:wrap;gap:5px;padding:8px 12px 13px}.bmr-member-card__actions>a{padding:6px 8px;border-radius:8px;background:#f2f1f2;color:#5d585c!important;font-size:12px;text-decoration:none!important}
.bmr-member-card__actions>a:first-child{background:#fff0f5;color:#c82e62!important}
.bmr-member-card__menu{min-width:110px!important}
.bmr-member-card__admin{display:flex;align-items:center;gap:7px;padding:8px 12px;background:#fff7d6;color:#705800;font-size:11px}.bmr-member-card__admin span{font-weight:700}.bmr-member-card__admin a{color:#705800;text-decoration:underline}
.bmr-member-collection.is-grid .bmr-member-card__photo{aspect-ratio:4/5}
.bmr-member-collection.is-list .bmr-member-items{grid-template-columns:1fr}
.bmr-member-collection.is-list .bmr-member-card{display:grid;grid-template-columns:150px minmax(0,1fr) auto;align-items:stretch}
.bmr-member-collection.is-list .bmr-member-card__main{display:contents}
.bmr-member-collection.is-list .bmr-member-card__photo{grid-row:1/4;aspect-ratio:auto;min-height:150px}
.bmr-member-collection.is-list .bmr-member-card__body{padding:18px}.bmr-member-collection.is-list .bmr-member-card__name{font-size:17px}
.bmr-member-collection.is-list .bmr-member-card__context{grid-column:2;padding:0 18px 8px}
.bmr-member-collection.is-list .bmr-member-card__actions{grid-column:3;grid-row:1/3;align-content:center;justify-content:flex-end;max-width:180px;padding:16px}
.bmr-member-collection.is-list .bmr-member-card__admin{grid-column:2/4}
.bmr-empty-state{padding:36px;text-align:center;border-radius:18px;background:#fff;color:#918b90}

/* Existing native buddy lists not yet adapted become visually secondary; canonical routes use the shared component above. */
.buddy.bmr-legacy-members{display:none!important}
.bmr-home-live-members .bmr-member-toolbar__label{display:none}

/* Responsive defaults: desktop grid, smallest mobile list */
@media(max-width:1199.98px){.bmr-member-collection.is-grid .bmr-member-items{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:991.98px){.bmr-member-collection.is-grid .bmr-member-items{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575.98px){
 .bmr-member-view-toggle{display:none}
 .bmr-member-collection:not(.is-grid) .bmr-member-items,.bmr-member-collection.is-list .bmr-member-items{grid-template-columns:1fr}
 .bmr-member-collection:not(.is-grid) .bmr-member-card,.bmr-member-collection.is-list .bmr-member-card{display:grid;grid-template-columns:92px minmax(0,1fr);border-radius:15px}
 .bmr-member-collection:not(.is-grid) .bmr-member-card__main,.bmr-member-collection.is-list .bmr-member-card__main{display:contents}
 .bmr-member-collection:not(.is-grid) .bmr-member-card__photo,.bmr-member-collection.is-list .bmr-member-card__photo{grid-row:1/4;min-height:112px;aspect-ratio:auto}
 .bmr-member-collection:not(.is-grid) .bmr-member-card__body,.bmr-member-collection.is-list .bmr-member-card__body{padding:12px 12px 5px}
 .bmr-member-collection:not(.is-grid) .bmr-member-card__context,.bmr-member-collection.is-list .bmr-member-card__context{grid-column:2;padding:0 12px 5px}
 .bmr-member-collection:not(.is-grid) .bmr-member-card__actions,.bmr-member-collection.is-list .bmr-member-card__actions{grid-column:2;grid-row:auto;justify-content:flex-start;max-width:none;padding:4px 10px 10px}
 .bmr-member-card__actions>a{font-size:11px;padding:5px 6px}.bmr-member-card__admin{grid-column:1/3!important}
 .bmr-scrollnav__prev,.bmr-scrollnav__next{width:30px;height:30px;font-size:22px}
}


/* V8 member-card management slots + generic scrollnav source */
.bmr-scrollnav__viewport>.bmr-scrollnav-source{display:flex!important;flex-wrap:nowrap!important;gap:8px;width:max-content;min-width:100%;white-space:nowrap}
.bmr-member-card__select{position:absolute;z-index:3;left:9px;top:9px;padding:5px 7px;border-radius:8px;background:rgba(255,255,255,.92);font-size:11px;color:#555}
.bmr-member-card__nativeop{padding:0 12px 10px}.bmr-member-card__nativeop a{display:inline-block;padding:6px 8px;border-radius:8px;background:#fff0f5;color:#c82e62!important;font-size:11px}
.bmr-member-card--compact{display:grid!important;grid-template-columns:72px minmax(0,1fr) auto!important;min-height:82px}
.bmr-member-card--compact .bmr-member-card__main{display:contents!important}.bmr-member-card--compact .bmr-member-card__photo{grid-row:1/4!important;aspect-ratio:auto!important;min-height:82px!important}
.bmr-member-card--compact .bmr-member-card__body{padding:10px!important}.bmr-member-card--compact .bmr-member-card__actions{grid-column:3!important;grid-row:1/3!important;padding:9px!important;align-content:center!important;max-width:160px!important}
.bmr-member-card--compact .bmr-member-card__context{grid-column:2!important;padding:0 10px 6px!important}.bmr-member-card--compact .bmr-member-card__admin,.bmr-member-card--compact .bmr-member-card__nativeop{grid-column:2/4!important}



/* ===== BaoMeiRen V8.2 Batch Profile Card ===== */
.bmr-member-card__facts{display:flex;flex-wrap:wrap;align-items:center;gap:0;margin-top:8px;color:#625d61;font-size:13px;line-height:1.6}
.bmr-member-card__facts span+span:before{content:"·";margin:0 7px;color:#b7b0b4}
.bmr-member-card__occupation{margin-top:7px;color:#625d61;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bmr-member-card__activity{margin-top:11px;color:#999298;font-size:12px}
.bmr-member-card__admin{display:block!important;padding:9px 12px!important;background:#fff7d6!important;color:#705800!important}
.bmr-member-card__admin-title{font-weight:700;margin-bottom:6px}
.bmr-member-card__admin-data,.bmr-member-card__admin-actions{display:flex;flex-wrap:wrap;gap:5px 9px}
.bmr-member-card__admin-data span{font-size:10px;line-height:1.5}.bmr-member-card__admin-actions{margin-top:6px}
.bmr-member-card__admin-actions a{font-size:10px;color:#705800!important;text-decoration:underline}
.bmr-member-collection.is-list .bmr-member-card__facts,.bmr-member-collection.is-list .bmr-member-card__occupation{font-size:14px}
@media(max-width:575.98px){.bmr-member-card__facts,.bmr-member-card__occupation{font-size:12px}.bmr-member-card__activity{font-size:11px;margin-top:5px}.bmr-member-card__admin{grid-column:1/3!important}}



/* ===== BaoMeiRen V8.3 Public Identity + Verify + Meet CTA ===== */
.bmr-member-card__headline{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.bmr-member-card__headline .bmr-member-card__name{min-width:0}
.bmr-member-card__uid{margin-left:5px;color:#a29ba0;font-size:11px;font-weight:400;white-space:nowrap}
.bmr-member-card__verify{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:#eef8f2;color:#278252;font-size:10px;font-weight:650;white-space:nowrap}
.bmr-card-meet-placeholder{background:#d6336c!important;color:#fff!important;font-weight:650}
.bmr-card-meet-placeholder:hover{background:#bd285d!important}
.bmr-profile-v63-name h1 small{margin-left:7px;color:#9b959a;font-size:12px;font-weight:400}
.bmr-profile-v83-verifies{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0}
.bmr-profile-v83-verifies a{display:inline-flex;align-items:center;padding:6px 8px;border-radius:9px;background:#f6f7f7;color:#555}
.bmr-profile-v83-verifies img{max-height:24px;width:auto}
@media(max-width:575.98px){.bmr-member-card__headline{align-items:flex-start}.bmr-member-card__verify{font-size:9px}.bmr-member-card__uid{display:block;margin:2px 0 0}}



/* ===== BaoMeiRen V9-A Discover / Search / Messages ===== */
.bmr-recommend-tabs,.bmr-message-tabs{display:flex;gap:8px;margin-top:18px}
.bmr-recommend-tabs a,.bmr-message-tabs a{padding:9px 14px;border-radius:999px;background:#f2eff0;color:#5f595d!important;text-decoration:none!important;white-space:nowrap}
.bmr-recommend-tabs a.a,.bmr-message-tabs a.a{background:#d6336c;color:#fff!important}
.bmr-search-product{margin:8px 0 18px;padding:22px;border-radius:20px;background:#fff;box-shadow:0 7px 26px rgba(45,28,35,.04)}
.bmr-search-product__head h2{font-size:28px;margin:5px 0}.bmr-search-product__head p{color:#888187;margin:0}
.bmr-search-product__quick{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.bmr-search-product__quick a{padding:9px 13px;border-radius:10px;background:#f5f3f4;color:#5c565a!important;text-decoration:none!important}
.bmr-search-native-retained{padding:12px;border-radius:16px}.bmr-superadmin .bmr-search-native-retained{background:#fff7d6!important}
.bmr-message-head{padding:4px 0 18px}.bmr-message-head h1{font-size:30px;margin:5px 0}
.bmr-meeting-message-placeholder{display:flex;flex-direction:column;gap:4px;margin-top:14px;padding:14px 16px;border-radius:14px;background:#fff7fa;color:#766a70}.bmr-meeting-message-placeholder span{font-size:12px;color:#968b91}
.bmr-notice-native-head{padding:10px}.bmr-superadmin .bmr-notice-native-head{background:#fff7d6!important}
.nts dl{margin:0 0 10px!important;padding:15px 16px!important;border:0!important;border-radius:15px!important;background:#fff!important;box-shadow:0 5px 20px rgba(45,28,35,.035)}
.nts .ntc_body{line-height:1.7}
@media(max-width:767.98px){.bmr-search-product{padding:16px}.bmr-search-product__quick{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.bmr-search-product__quick::-webkit-scrollbar{display:none}.bmr-message-head h1{font-size:25px}}



/* ===== BaoMeiRen V9-B Bootstrap Mobile Bottom Navigation ===== */
.bmr-mobile-bottom-nav{display:none}
@media(max-width:767.98px){
 body.bmr-native-ui{padding-bottom:calc(72px + env(safe-area-inset-bottom))!important}
 .bmr-footer-shell{margin-bottom:0}
 .bmr-mobile-bottom-nav{
  display:block;position:fixed;left:0;right:0;bottom:0;z-index:10020;
  padding-bottom:env(safe-area-inset-bottom);
  background:rgba(250,247,248,.96);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-top:1px solid rgba(75,55,64,.055);box-shadow:0 -7px 26px rgba(45,28,35,.09)
 }
 .bmr-mobile-bottom-nav__inner{
  display:flex;align-items:stretch;justify-content:space-around;width:100%;min-height:62px;margin:0 auto
 }
 .bmr-mobile-bottom-nav__item{
  position:relative;display:flex;flex:1 1 0;min-width:0;max-width:110px;flex-direction:column;
  align-items:center;justify-content:center;gap:3px;padding:7px 2px 6px;color:#777075!important;
  text-align:center;text-decoration:none!important;-webkit-tap-highlight-color:transparent
 }
 .bmr-mobile-bottom-nav__icon{display:flex;align-items:center;justify-content:center;min-height:24px;font-size:20px;line-height:1}
 .bmr-mobile-bottom-nav__icon img{display:block;max-width:24px;max-height:24px;width:auto;height:auto}
 .bmr-mobile-bottom-nav__text{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;line-height:1.25}
 .bmr-mobile-bottom-nav__item.is-active,.bmr-mobile-bottom-nav__item:hover{color:#c82e62!important}
 /* Main Bootstrap responsive mobile layouts: touch/ is not the product mobile frontend. */
 .bmr-recommend-head,.bmr-search-product,.bmr-message-head{scroll-margin-top:10px}
 .bmr-recommend-tabs,.bmr-message-tabs{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
 .bmr-recommend-tabs::-webkit-scrollbar,.bmr-message-tabs::-webkit-scrollbar{display:none}
 .bmr-recommend-tabs>a,.bmr-message-tabs>a{flex:0 0 auto}
}
@media(min-width:768px){.bmr-mobile-bottom-nav{display:none!important}}
