/*
 * bb-site.css — shared header, menu, footer and phone layout for the public
 * pages (2026-11). Everything new is prefixed "bb-". Rules that change the
 * old table layout apply only at phone width (max-width: 767px), so desktop
 * keeps its look apart from the new header and menu.
 */

.bb-header, .bb-header *, .bb-footer, .bb-footer *, .bb-hero, .bb-hero *,
.bb-steps, .bb-steps *, .bb-couples, .bb-couples *, .bb-video-section, .bb-video-section * {
  box-sizing: border-box;
}

/* ---------- header ---------- */
.bb-header { text-align: left; font-family: Tahoma, Verdana, Arial, sans-serif; color: #333; }
.bb-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 104px; padding: 0 10px 0 0;
  background: #f29a1c url(../images/bg1.jpg) repeat-x left top;
}
.bb-logo { display: block; flex: 0 0 auto; line-height: 0; }
.bb-logo img { display: block; width: 312px; height: 104px; max-width: 100%; }
.bb-account { flex: 0 1 640px; min-width: 0; }

.bb-login, .bb-welcome {
  background: #F4C542; border-top: 3px solid #DC8409; border-radius: 8px;
  padding: 8px 12px; font-size: 12px;
}
.bb-login-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 8px; }
.bb-login-row + .bb-login-row { margin-top: 6px; }
.bb-chip {
  display: inline-block; background: #E2B04F; color: #990000; font-weight: bold;
  border-radius: 6px; padding: 4px 10px; font-size: 12px;
}
.bb-login label { font-weight: bold; }
.bb-login input[type=text], .bb-login input[type=password] {
  width: 150px; font-size: 13px; padding: 3px 5px; background: #F7F4EC;
  border: 1px solid #534A3D; border-radius: 3px; color: #333;
}
.bb-header a { color: #9C0808; font-weight: bold; text-decoration: none; }
.bb-header a:hover { color: #000; text-decoration: underline; }

.bb-btn {
  display: inline-block; border: 1px solid #b96c05; border-radius: 6px; cursor: pointer;
  padding: 5px 14px; font: bold 13px Tahoma, Verdana, Arial, sans-serif;
  color: #fff !important; text-decoration: none !important;
  background: #dd8509; background: linear-gradient(#f5c030, #dd8509);
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
.bb-btn:hover { background: #dd8509; }
.bb-btn-primary { background: #9C0808; background: linear-gradient(#c21a1a, #8a0606); border-color: #6d0404; }
.bb-btn-primary:hover { background: #8a0606; }
.bb-btn-light { background: #E2B04F; color: #990000 !important; text-shadow: none; border-color: #c79433; }
.bb-call { font-size: 11px; color: #990000; font-weight: bold; }
.bb-quick { display: none; }
.bb-welcome { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 12px; }
.bb-welcome .bb-contact { flex: 1 0 100%; text-align: right; font-size: 11px; color: #990000; }
.bb-menu-btn { display: none; }

/* ---------- contact links, badge key, report line, safety page, payment cards (all widths) ---------- */
a.bb-tel { white-space: nowrap; }
a.bb-wa {
  display: inline-block; padding: 1px 9px; border-radius: 11px; background: #1faa53; color: #fff !important;
  font: bold 11px/18px Tahoma, Verdana, Arial, sans-serif; text-decoration: none !important; white-space: nowrap; vertical-align: baseline;
}
a.bb-wa:hover, a.bb-wa:focus { background: #178a42; }
.bb-footer-help { margin-top: 8px; font-size: 13px; color: #5a3b00; }
.bb-footer-help a.bb-tel { font-size: 13px; margin: 0 6px; }
.bb-badge-key { margin: 10px 0 0; padding: 0; font: 12px/1.9 Tahoma, Verdana, Arial, sans-serif; color: #5a3b00; }
.bb-badge-key .bb-badge { margin-left: 8px; }
.bb-badge-key .bb-badge:first-child { margin-left: 0; }
.bb-p-report { margin: 10px 8px 12px; padding: 8px 12px; border: 1px solid #ecd9a0; border-radius: 8px; background: #fffaf0; font: 13px/1.6 Tahoma, Verdana, Arial, sans-serif; color: #5a3b00; text-align: left; }
.bb-p-report a { margin-left: 10px; font-weight: bold; color: #9C0808; white-space: nowrap; }
.bb-safe { max-width: 720px; margin: 20px auto; padding: 20px 24px; background: #fff; border: 1px solid #e3c36a; border-radius: 10px; font: 15px/1.6 Arial, Helvetica, sans-serif; color: #222; text-align: left; }
.bb-safe h1 { margin: 0 0 8px; font: bold 24px Georgia, "Times New Roman", serif; color: #7a1c0e; }
.bb-safe-lead { margin: 0 0 14px; font-size: 16px; }
.bb-safe-list { margin: 0; padding: 0 0 0 22px; }
.bb-safe-list li { margin: 0 0 14px; padding-left: 4px; }
.bb-safe-list h2 { margin: 0 0 2px; font: bold 16px/1.4 Arial, Helvetica, sans-serif; color: #5a0303; }
.bb-safe-list p { margin: 0; }
.bb-safe-help { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid #eee; }
.bb-safe-help a, .bb-content .bb-safe-help a { margin-left: 10px; font-weight: bold; font-size: 15px; color: #9C0808; }
.bb-content .bb-safe-help a.bb-wa { font-size: 13px; }
.bb-content .bb-p-report a { font-size: 13px; }
.bb-safe-help a.bb-wa { color: #fff; }
.bb-content td.bb-pay-lead { padding: 10px 14px 12px 20px; font: 14px/1.5 Tahoma, Verdana, Arial, sans-serif; color: #5a3b00; text-align: left; }
.bb-content tr.bb-pay-row > td { padding: 3px 12px 3px 20px; }
.bb-content tr.bb-pay-row > td > p:first-of-type { margin: 0; padding: 9px 12px; border: 1px solid #e3c98a; border-radius: 8px; background: #fffaf0; cursor: pointer; }
.bb-content tr.bb-pay-row > td > p:first-of-type label { cursor: pointer; padding-top: 0 !important; }
.bb-content tr.bb-pay-row.bb-pay-on > td > p:first-of-type { border-color: #9C0808; background: #fff3cf; box-shadow: inset 3px 0 0 #9C0808; }
.bb-content tr.bb-pay-row .bb-pay-more { display: none; }
.bb-content tr.bb-pay-row.bb-pay-on .bb-pay-more { display: block; margin: 8px 0 10px 16px !important; font-size: 13px !important; line-height: 1.6; }
/* ---------- search section (all widths) ---------- */
.bb-stabs { margin: 6px 4px 10px; text-align: left; font-family: Tahoma, Verdana, Arial, sans-serif; }
.bb-stabs-main, .bb-stabs-more { display: flex; flex-wrap: wrap; gap: 6px; }
.bb-stabs-more { margin-top: 6px; }
.bb-stabs .bb-stab {
  display: inline-block; padding: 7px 14px; border: 1px solid #d9a441; border-radius: 18px; background: #fff7df; cursor: pointer;
  font: bold 13px Tahoma, Verdana, Arial, sans-serif; color: #7a1c0e !important; text-decoration: none !important; white-space: nowrap;
}
.bb-stabs .bb-stab:hover, .bb-stabs .bb-stab:focus { background: #fbe7ac; }
.bb-stabs .bb-stab.bb-stab-on { background: #9C0808; border-color: #6d0404; color: #fff !important; }
.bb-stabs .bb-stab-more { display: none; }
.bb-shome { margin: 4px 8px 12px; text-align: left; font-family: Arial, Helvetica, sans-serif; }
.bb-shome h1 { margin: 6px 0 2px; font: bold 22px Georgia, "Times New Roman", serif; color: #7a1c0e; }
.bb-shome-lead { margin: 0 0 12px; font-size: 15px; color: #444; }
.bb-shome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bb-content a.bb-shome-card { display: block; padding: 12px 14px; border: 1px solid #e3c98a; border-radius: 10px; background: #fffdf7; text-decoration: none !important; }
.bb-content a.bb-shome-card:hover, .bb-content a.bb-shome-card:focus { background: #fff3cf; border-color: #c9a44a; }
.bb-content a.bb-shome-card strong { display: block; font: bold 16px Arial, Helvetica, sans-serif; color: #9C0808; }
.bb-content a.bb-shome-card span { display: block; margin-top: 3px; font: 14px/1.45 Arial, Helvetica, sans-serif; color: #444; }
.bb-content .bb-sf .bb-sf-gone, .bb-content .bb-sf b.bb-sf-drop, .bb-content form.bb-sf td.bb-sf-ctl td.bb-sf-gone, .bb-content form.bb-sf td.bb-sf-chips td.bb-sf-gone { display: none !important; }
.bb-content .bb-sf label.bb-sf-chip { cursor: pointer; white-space: nowrap; }
.bb-content .bb-sf label.bb-sf-chip.bb-on { color: #7a1c0e; font-weight: bold; }
.bb-content .bb-sf-cap { font: bold 12px Tahoma, Verdana, Arial, sans-serif; color: #7a5a1e; padding: 2px 0 4px; }
/* small print set in the old pages is brought up to a readable size; missing decoration is not drawn */
.bb-content [style*="font-size:10px"], .bb-content [style*="font-size: 10px"], .bb-content [style*="font-size:11px"], .bb-content [style*="font-size: 11px"],
.bb-content [style*="font-size:9px"], .bb-content [style*="font-size: 9px"] { font-size: 12px !important; }
.bb-content img[src$="bg_nblue.gif"] { display: none !important; }
.bb-content a[href*="ghotok/forgotpass"] { display: none !important; }
.bb-content .bb-none { display: none !important; }
.bb-content td.bb-empty { display: block; padding: 22px 12px !important; font: 15px Arial, Helvetica, sans-serif !important; color: #555 !important; text-align: center !important; background: none !important; }
.bb-content div[style*="#FFF7F4"][style*="width"] { width: auto !important; max-width: 884px; box-sizing: border-box; }
.bb-content td.bb-mb-links a { display: inline-block; margin: 2px 2px 2px 0; padding: 4px 12px; border: 1px solid #d9a441; border-radius: 16px; background: #fff7df; font-weight: bold; color: #7a1c0e !important; text-decoration: none !important; }
.bb-content td.bb-mb-links a.bb-on { background: #9C0808; border-color: #6d0404; color: #fff !important; }
.bb-content form.bb-dir .bb-dir-lab { display: none; }
.bb-content form.bb-dir input[type=submit] {
  padding: 6px 18px !important; cursor: pointer; border: 1px solid #b96c05 !important; border-radius: 6px; background: #dd8509 !important; background: linear-gradient(#f5c030, #dd8509) !important;
  color: #fff !important; font: bold 13px Tahoma, Verdana, Arial, sans-serif; text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
/* a page that carries both languages shows the one the visitor chose */
.bb-only-bn { display: none; }
html.bb-bn .bb-only-bn { display: block; }
html.bb-bn .bb-only-en { display: none; }
/* member lists: count line */
.bb-content td.bb-rl-count { padding: 4px 6px !important; font: 13px Tahoma, Verdana, Arial, sans-serif !important; color: #6b5a33; text-align: left; }
.bb-content td.bb-rl-count a.bb-rl-change { margin-left: 12px; font-weight: bold; color: #9C0808; }
.bb-content td.bb-m-press { cursor: pointer; }
/* upgrade page: membership levels (all widths) */
.bb-content table.bb-plans tr.bb-plan-get { display: none; }
.bb-content table.bb-plans tr.bb-plan > td { cursor: pointer; }
.bb-content table.bb-plans tr.bb-plan.bb-plan-on > td:first-child, .bb-content table.bb-plans tr.bb-plan.bb-plan-on > td.right { background: #fff3cf; }
.bb-content table.bb-plans label.bb-plan-lab { cursor: pointer; }
.bb-content table.bb-plans .bb-plan-name { font-weight: bold; margin-right: 8px; }
.bb-content table.bb-plans .bb-plan-sub { color: #555; }
/* signup page: the "send your bio-data by post" and "have a question" boxes are not shown (the footer has the help line) */
.bb-content .bb-su-post, .bb-content .bb-su-help { display: none !important; }
/* profile: lines and boxes with nothing to say */
.bb-content .bb-p-none { display: none !important; }
/* one look for the old form buttons */
.bb-content input.formbutton, .bb-content input.buttoncss, .bb-content input.button200css, .bb-content input.loginbutton200css {
  width: auto !important; height: auto; min-width: 84px; padding: 6px 16px !important; cursor: pointer;
  border: 1px solid #b96c05; border-radius: 6px; background: #dd8509; background: linear-gradient(#f5c030, #dd8509);
  color: #fff; font: bold 13px Tahoma, Verdana, Arial, sans-serif !important; font-variant: normal !important; text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
.bb-content input.formbutton:hover, .bb-content input.buttoncss:hover, .bb-content input.button200css:hover, .bb-content input.loginbutton200css:hover { background: #dd8509; }
.bb-content input[type=reset].formbutton, .bb-content input[type=reset].buttoncss, .bb-content input[type=reset].button200css {
  background: #fff; color: #9C0808; text-shadow: none; border-color: #c9a44a;
}

/* language switch */
.bb-lang-btn {
  display: inline-block; border: 1px solid #6d0404; border-radius: 14px; cursor: pointer;
  padding: 3px 12px; background: #fff; color: #9C0808; line-height: 1.4;
  font: bold 13px "Noto Sans Bengali", "Hind Siliguri", "Kohinoor Bangla", "Nirmala UI", Vrinda, Tahoma, Arial, sans-serif;
}
.bb-lang-btn:hover, .bb-lang-btn:focus { background: #9C0808; color: #fff; }
.bb-lang-btn[hidden], .bb-lang-top { display: none; }
.bb-lang-offer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px;
  padding: 7px 10px; background: #fff8e1; border-bottom: 1px solid #e8c877; color: #5a3b00;
  font: 15px/1.5 "Noto Sans Bengali", "Hind Siliguri", "Kohinoor Bangla", "Nirmala UI", Vrinda, Tahoma, Arial, sans-serif;
}
.bb-lang-offer button { border-radius: 6px; cursor: pointer; font: inherit; padding: 4px 12px; }
.bb-lang-offer .bb-lang-yes { background: #9C0808; border: 1px solid #6d0404; color: #fff; font-weight: bold; }
.bb-lang-offer .bb-lang-no { background: transparent; border: 1px solid #c9a44a; color: #5a3b00; font-size: 13px; }
/* Bangla wording: a font that has the letters, and a little more room between lines */
html.bb-bn body, html.bb-bn .bb-header, html.bb-bn .bb-content, html.bb-bn .bb-footer,
html.bb-bn input, html.bb-bn select, html.bb-bn button, html.bb-bn textarea, html.bb-bn td, html.bb-bn th, html.bb-bn .bb-btn {
  font-family: "Noto Sans Bengali", "Hind Siliguri", "Kohinoor Bangla", "Nirmala UI", Vrinda, SolaimanLipi, Tahoma, Verdana, Arial, sans-serif;
}
html.bb-bn body { line-height: 1.55; }
html.bb-bn .bb-menu > li > a, html.bb-bn .bb-menu > li > button { letter-spacing: 0; }

/* ---------- menu ---------- */
.bb-nav {
  background: #f6d27a url(../images/nav_backg.gif) repeat-x left top; background-size: auto 100%;
  border-top: 1px solid #c98a12; border-bottom: 1px solid #c98a12; margin-top: 6px;
}
.bb-menu, .bb-menu ul { list-style: none; margin: 0; padding: 0; }
.bb-menu { display: flex; flex-wrap: wrap; }
.bb-menu > li { position: relative; border-right: 1px solid #c98a12; }
.bb-menu > li > a, .bb-menu > li > button {
  display: block; padding: 7px 22px; font: bold 12px Tahoma, Verdana, Arial, sans-serif;
  color: #9C0808; background: none; border: 0; cursor: pointer; text-decoration: none;
}
.bb-menu > li > a:hover, .bb-menu > li > button:hover, .bb-menu > li.bb-open > button { color: #000; background: rgba(255,255,255,.35); text-decoration: none; }
.bb-has-sub > button:after { content: " \25BE"; }
.bb-sub {
  display: none; position: absolute; left: 0; top: 100%; z-index: 1000; min-width: 190px;
  background: #fff3cf; border: 1px solid #c98a12; box-shadow: 0 6px 14px rgba(0,0,0,.2);
}
.bb-has-sub:hover > .bb-sub, .bb-has-sub.bb-open > .bb-sub, .bb-has-sub:focus-within > .bb-sub { display: block; }
.bb-sub li a { display: block; padding: 7px 14px; font-size: 12px; white-space: nowrap; }
.bb-sub li a:hover { background: #f6d27a; text-decoration: none; }
.bb-notice { text-align: center; color: #c00; font-size: 16px; font-weight: bold; padding: 8px; }
.bb-notice a { color: #000; }

/* ---------- home: search, featured profile, steps, couples, video ---------- */
.bb-hero {
  display: flex; align-items: stretch; gap: 16px; margin: 0 12px; padding: 14px 16px;
  background: #f0962a; background: linear-gradient(#e2731c, #f7b233);
  border-radius: 6px; text-align: left;
}
.bb-hero-search { flex: 1 1 340px; min-width: 0; }
.bb-hero-title { margin: 0 0 10px; padding: 0; font: bold 20px 'Trebuchet MS', Verdana, Arial, sans-serif; color: #5a0303; }
.bb-qs-row { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 13px Verdana, Arial, sans-serif; color: #000; }
.bb-qs-row > .bb-qs-label { flex: 0 0 120px; }
.bb-qs-row select { font-size: 13px; height: auto; padding: 3px 4px; width: auto; min-width: 90px; }
.bb-qs-row .bb-qs-checks { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.bb-qs-row label { white-space: nowrap; }
.bb-qs-actions { margin-top: 10px; }
.bb-hero-art { flex: 0 0 215px; background: no-repeat center bottom; background-size: contain; min-height: 260px; }
.bb-hero-featured { flex: 0 0 290px; }

.bb-steps {
  display: flex; align-items: center; gap: 14px; margin: 0 12px; padding: 12px 16px;
  background: #F7EAC5; border-top: 4px solid #809BA8; text-align: left;
}
.bb-step { display: flex; align-items: center; gap: 10px; flex: 1 1 0; min-width: 0; }
.bb-step img { flex: 0 0 auto; }
.bb-step h3 { margin: 0 0 4px; padding: 0; font: bold 16px Verdana, Arial, sans-serif; color: #6699CC; }
.bb-step p { margin: 0; font-size: 12px; color: #CB590E; }
.bb-steps-cta { flex: 0 0 auto; }

.bb-couples {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 0 12px; padding: 10px 16px;
  background: #F7EAC5; border-top: 2px solid #FFBD00; text-align: left; font-size: 13px;
}
.bb-couple-group { display: flex; align-items: center; gap: 8px; flex: 1 1 220px; min-width: 0; }
.bb-couple-group a { display: block; padding: 2px 0; }
.bb-couples-cta { flex: 0 0 auto; }

.bb-video-section { margin: 0 12px; padding: 16px; background: #fff7e0; border-top: 2px solid #FFBD00; text-align: center; }
.bb-video-section h2 { margin: 0 0 10px; padding: 0; font: bold 18px 'Trebuchet MS', Verdana, Arial, sans-serif; color: #5a0303; }
.bb-video { position: relative; max-width: 560px; margin: 0 auto; }
.bb-video:before { content: ""; display: block; padding-top: 56.25%; }
.bb-video iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; }

/* ---------- home: featured profiles (cards) ---------- */
.bb-featured, .bb-featured * { box-sizing: border-box; }
.bb-featured { margin: 0 12px; padding: 14px 16px 16px; background: #fff7e0; border-top: 2px solid #FFBD00; text-align: left; }
.bb-featured-title { margin: 0 0 10px; padding: 0; font: bold 18px 'Trebuchet MS', Verdana, Arial, sans-serif; color: #5a0303; }
.bb-featured-row { display: flex; gap: 14px; justify-content: center; }
.bb-fcard {
  flex: 1 1 0; min-width: 0; max-width: 260px; display: flex; flex-direction: column; background: #fff; color: #333;
  border: 1px solid #e6b85c; border-radius: 10px; overflow: hidden; text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.bb-fcard:hover { box-shadow: 0 4px 12px rgba(0,0,0,.22); text-decoration: none; }
.bb-fcard-photo { display: block; position: relative; background: #f1e3c2; }
.bb-fcard-photo:before { content: ""; display: block; padding-top: 115%; }
.bb-fcard-photo img { position: absolute; left: 0; top: 0; width: 100%; height: 100% !important; max-width: none !important; object-fit: cover; object-position: center 20%; }
.bb-fcard-body { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; font: 13px Arial, Helvetica, sans-serif; }
.bb-fcard-badges { display: flex; gap: 6px; min-height: 20px; }
.bb-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: bold; }
.bb-badge-premium { background: #f5c030; color: #5a0303; }
.bb-badge-verified { background: #e3f3df; color: #1c6b2a; }
.bb-fcard-l1 { font-size: 15px; font-weight: bold; color: #222; }
.bb-fcard-l2, .bb-fcard-l3 { color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-fcard-cta { margin-top: 6px; align-self: flex-start; padding: 5px 12px; border-radius: 6px; background: #9C0808; color: #fff; font-weight: bold; font-size: 12px; }

/* ---------- footer ---------- */
.bb-footer {
  margin: 8px 12px; padding: 12px 16px; background: #FFC; border: 2px solid #F6BF2F; border-radius: 6px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px;
  text-align: left; font-family: Tahoma, Verdana, Arial, sans-serif;
}
.bb-footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.bb-footer a { color: #9C0808; font-weight: bold; font-size: 12px; text-decoration: none; }
.bb-footer a:hover { color: #000; text-decoration: underline; }
.bb-footer-app { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.bb-footer-app img { display: block; width: 135px; height: 40px; }
.bb-copy { flex: 1 0 100%; font-size: 11px; color: #555; }

/* the old pages never set a page background; some in-app browsers show a dark one behind them */
html { background-color: #fff; }

/* page headings (were plain text in brackets) and price notes */
.bb-page-title { display: inline; margin: 0; padding: 0; font: bold 16px Arial, Helvetica, sans-serif; color: #7a1c0e; }
.bb-usd { font-weight: normal; color: #555; white-space: nowrap; }

/* ---------- form helpers (js/bb-forms.js) ---------- */
.bb-say { display: none; position: fixed; left: 12px; right: 12px; bottom: 16px; z-index: 2147482000; max-width: 560px; margin: 0 auto; padding: 14px 46px 14px 16px; font: bold 15px/1.4 Arial, Helvetica, sans-serif; color: #fff; background: #8a1c12; border-radius: 10px; box-shadow: 0 4px 18px rgba(0, 0, 0, .35); }
.bb-say.bb-say-ok { background: #1f6f3a; }
.bb-say-x { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; padding: 0; font: 24px/30px Arial, sans-serif; color: #fff; background: none; border: 0; cursor: pointer; }
.bb-hint { margin: 4px 0 6px; padding: 6px 8px; font: 13px/1.4 Arial, Helvetica, sans-serif; color: #8a1c12; background: #fdecea; border: 1px solid #f1b0a8; border-radius: 6px; text-align: left; }
.bb-hint-btn { margin-left: 4px; padding: 3px 9px; font: bold 13px Arial, Helvetica, sans-serif; color: #fff; background: #a51212; border: 0; border-radius: 5px; cursor: pointer; }
.bb-showpw { margin-left: 6px; padding: 4px 10px; font: 13px Arial, Helvetica, sans-serif; color: #7a1c0e; background: #fff7dc; border: 1px solid #d9a441; border-radius: 6px; cursor: pointer; vertical-align: middle; }
form.bb-short-on tr.bb-optional:not(.bb-optional-open) { display: none; }
.bb-short { max-width: 420px; margin: 14px auto 6px; padding: 0 8px; text-align: center; }
.bb-short-terms { display: block; margin: 0 0 12px; font: 14px Arial, Helvetica, sans-serif; text-align: left; }
.bb-short-terms input { width: 18px; height: 18px; vertical-align: middle; }
.bb-short-go { display: block; width: 100%; min-height: 50px; padding: 0 16px; font: bold 17px Arial, Helvetica, sans-serif; color: #fff; background: #a51212; border: 0; border-radius: 8px; cursor: pointer; }
.bb-short-go[disabled] { opacity: .7; }
.bb-short-note { margin: 10px 0 4px; font: 13px/1.45 Arial, Helvetica, sans-serif; color: #444; text-align: left; }
.bb-short-full { margin: 6px 0 0; padding: 8px 4px; font: 14px Arial, Helvetica, sans-serif; color: #003799; background: none; border: 0; text-decoration: underline; cursor: pointer; }
.bb-nextstep { margin: 10px 8px; padding: 14px 16px; font: 15px/1.45 Arial, Helvetica, sans-serif; color: #222; background: #fff7dc; border: 1px solid #d9a441; border-radius: 10px; text-align: left; }
.bb-nextstep strong { color: #7a1c0e; }
.bb-nextstep a.bb-nextstep-go { display: inline-block; margin-top: 8px; padding: 10px 18px; font-weight: bold; color: #fff; background: #a51212; border-radius: 8px; text-decoration: none; }

/* ---------- member home: where the profile stands and what to do next ---------- */
.bb-dash { margin: 8px 8px 14px; padding: 14px 16px; font: 15px/1.45 Arial, Helvetica, sans-serif; color: #222; background: #fffaf0; border: 1px solid #e3c36a; border-radius: 10px; text-align: left; }
.bb-dash p { margin: 0 0 8px; }
.bb-dash-lead strong { color: #7a1c0e; }
.bb-dash a.bb-dash-go { display: inline-block; padding: 11px 20px; font-weight: bold; color: #fff; background: #a51212; border-radius: 8px; text-decoration: none; }
.bb-dash-bar { height: 10px; margin: 4px 0 8px; background: #eee3c2; border-radius: 5px; overflow: hidden; }
.bb-dash-bar span { display: block; height: 10px; background: #2e8b57; border-radius: 5px; }
.bb-dash-todo { margin: 0; padding: 0; list-style: none; }
.bb-dash-todo li { margin: 0 0 6px; padding: 8px 10px; background: #fff; border: 1px solid #eadfc0; border-radius: 8px; }
.bb-dash-todo li a { display: block; font-weight: bold; color: #a51212; text-decoration: none; }
.bb-dash-todo li span { display: block; font-size: 13px; color: #555; }

/* ---------- shown on phones only (see the phone block) ---------- */
.bb-p-cta { display: none; }
.bb-m-only { display: none; }
.bb-login-links { padding: 6px 0; }

/* =====================================================================
   Phone width
   ===================================================================== */
@media (max-width: 767px) {
  body { font-size: 15px; }

  /* the outer page frame is a set of nested tables: let it stack */
  table.bb-shell, table.bb-shell > tbody, table.bb-shell > tbody > tr, table.bb-shell > tbody > tr > td {
    display: block; width: 100% !important; height: auto !important;
  }
  table.bb-shell { border-collapse: separate; }
  table { max-width: 100%; }

  /* page content: old layout tables put fixed-width cells side by side;
     on a phone each cell becomes a full-width block instead */
  .bb-content table, .bb-content tbody, .bb-content thead, .bb-content tr, .bb-content td, .bb-content th {
    display: block; width: auto !important; max-width: 100% !important; height: auto !important;
  }
  .bb-content td:empty, .bb-content tr:empty { display: none; }
  .bb-content .bb-deco { display: none !important; }
  .bb-content td[background], .bb-content th[background] { background-image: none !important; }
  .bb-content { background: #FFF9EF; padding: 0 0 8px; }
  /* profile page action boxes: floated boxes with fixed heights overlap once the layout stacks */
  .bb-content [class^="dfeader_"], .bb-content [class*=" dfeader_"] {
    float: none !important; height: auto !important; width: auto !important; overflow: visible !important; display: block;
  }
  .bb-content tr.bb-flexcol { display: flex !important; flex-direction: column; }
  .bb-content td.bb-order-last { order: 99; text-align: center; }
  .bb-content td.bb-order-last ins.adsbygoogle { margin: 0 auto; }
  /* a fixed 728px ad banner cannot fit a phone; it is not shown at this width */
  ins.adsbygoogle[style*="728px"] { display: none !important; }
  .bb-content input[type=password], .bb-content input[type=text], .bb-content input:not([type]) { max-height: 46px; }
  .bb-content div, .bb-content ul, .bb-content li, .bb-content form, .bb-content fieldset, .bb-content p, .bb-content span {
    max-width: 100% !important; box-sizing: border-box;
  }
  .bb-content ul#split li, .bb-content .navcontainer ul { width: auto !important; float: none !important; }
  .bb-content section, .bb-content article, .bb-content main { max-width: 100% !important; box-sizing: border-box; }
  .bb-content div[style*="solid"]:not([id^="aswift"]):not([class*="google"]):not([class*="adsbygoogle"]) { width: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
  /* never restyle the boxes Google's ad script creates */
  .bb-content ins.adsbygoogle div, .bb-content .google-auto-placed div, .bb-content div[id^="aswift"] { max-width: none !important; }
  .bb-content input[type=text], .bb-content input:not([type]), .bb-content input[type=password], .bb-content input[type=email], .bb-content select, .bb-content textarea {
    font-size: 16px; min-height: 40px; height: auto;
  }
  /* login page */
  .bb-content #niftymsg, .bb-content #nifty4, .bb-content #nifty6 { width: auto !important; }
  .bb-content form[name="frmLogin"] td { padding-left: 12px; padding-right: 12px; }
  .bb-content form[name="frmLogin"] .input200css { width: 100% !important; min-height: 46px; max-height: none; box-sizing: border-box; padding: 8px 10px; }
  .bb-content form[name="frmLogin"] .fieldname { font-size: 15px; font-weight: bold; padding-top: 10px; }
  .bb-content form[name="frmLogin"] input[type=checkbox] { width: 20px; height: 20px; vertical-align: middle; margin: 12px 8px 12px 0; }
  .bb-content form[name="frmLogin"] .buttoncss { width: 100%; min-height: 48px; font-size: 17px; font-weight: bold; color: #fff; border: 1px solid #b96c05; border-radius: 6px; background: #dd8509; background: linear-gradient(#f5c030, #dd8509); -webkit-appearance: none; appearance: none; }
  .bb-content form[name="frmLogin"] a.greenanchortext { display: inline-block; padding: 10px 6px 10px 0; font-size: 15px; }
  .bb-content textarea { width: 100% !important; }
  .bb-content { text-align: left; overflow-wrap: break-word; word-wrap: break-word; }
  /* real data tables and small cards opt out and scroll sideways if they must */
  .bb-nostack table, table.bb-nostack { display: table !important; }
  .bb-nostack thead, table.bb-nostack > thead { display: table-header-group !important; }
  .bb-nostack tbody, table.bb-nostack > tbody { display: table-row-group !important; }
  .bb-nostack tr, table.bb-nostack > tbody > tr, table.bb-nostack > thead > tr { display: table-row !important; }
  .bb-nostack td, .bb-nostack th, table.bb-nostack > tbody > tr > td, table.bb-nostack > tbody > tr > th, table.bb-nostack > thead > tr > th { display: table-cell !important; }
  .bb-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* packages: the level comparison keeps its grid and scrolls sideways */
  .bb-content #deepblue { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .bb-content #deepblue:before { content: "Swipe sideways to compare the levels \2192"; display: block; padding: 8px 10px; font-size: 13px; color: #fff; }
  .bb-content #deepblue table { display: table !important; max-width: none !important; width: 100% !important; }
  .bb-content #deepblue tbody { display: table-row-group !important; }
  .bb-content #deepblue tr { display: table-row !important; }
  .bb-content #deepblue td, .bb-content #deepblue td:empty { display: table-cell !important; max-width: none !important; vertical-align: top; }
  .bb-content #deepblue > table { width: auto !important; min-width: 760px; table-layout: auto; }
  .bb-content #deepblue > table > tbody > tr > td { width: 72px !important; min-width: 72px; }
  .bb-content #deepblue > table > tbody > tr > td:first-child { width: auto !important; }
  .bb-content #deepblue > table > tbody > tr > td:first-child li { white-space: nowrap; }
  .bb-content #deepblue div { max-width: none !important; }

  /* header */
  .bb-topbar { min-height: 0; padding: 6px 8px 8px; gap: 8px; flex-wrap: wrap; background-size: auto 100%; background-color: #f6b13a; }
  .bb-logo { order: 1; }
  .bb-logo img { width: 168px; height: auto; }
  .bb-logo { flex: 0 1 168px; min-width: 0; }
  .bb-lang-top { display: inline-block; order: 2; margin-left: auto; min-height: 44px; padding: 9px 12px; font-size: 15px; border-radius: 6px; }
  .bb-lang-top[hidden], .bb-account .bb-lang-btn { display: none; }
  .bb-menu-btn { order: 2; }
  .bb-lang-offer .bb-lang-yes, .bb-lang-offer .bb-lang-no { min-height: 40px; }
  /* search chooser: three main ways and "More ways" */
  .bb-stabs { margin: 8px 8px 12px; }
  .bb-stabs-main { flex-wrap: nowrap; gap: 6px; }
  .bb-stabs .bb-stab { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 11px 4px; border-radius: 10px; font-size: 14px; text-align: center; box-sizing: border-box; overflow: hidden; text-overflow: ellipsis; }
  .bb-stabs .bb-stab-w { display: none; }
  .bb-stabs .bb-stab-more { display: inline-block; flex: 0 0 auto; padding: 11px 10px; background: #fff; }
  .bb-stabs .bb-stab-more:after { content: " \25BE"; }
  .bb-stabs .bb-stab-more[aria-expanded=true]:after { content: " \25B4"; }
  .bb-stabs-more { display: none; flex-wrap: wrap; }
  .bb-stabs-more.bb-stabs-open { display: flex; }
  .bb-stabs-more .bb-stab { flex: 1 1 30%; }

  .bb-shome-grid { grid-template-columns: 1fr; }
  .bb-content a.bb-shome-card { padding: 14px; }
  /* search forms: name above, one control per line, tick boxes as buttons */
  .bb-content form.bb-sf fieldset { margin: 0 0 12px; padding: 6px 12px 14px; border: 1px solid #e3c98a; border-radius: 10px; background: #fffdf7; min-width: 0; }
  .bb-content form.bb-sf legend, .bb-content form.bb-sf legend * { font: bold 17px/1.3 Arial, Helvetica, sans-serif !important; color: #7a1c0e !important; }
  .bb-content form.bb-sf legend { padding: 0 6px; }
  .bb-content form.bb-sf tr.bb-sf-gap { display: none !important; }
  .bb-content form.bb-sf tr.bb-sf-row:not([style*="none"]) { display: block; clear: both; padding: 0; width: 100% !important; }
  .bb-content form.bb-sf td.bb-sf-gone + td.bb-sf-ctl { padding-top: 10px !important; }
  .bb-content form.bb-sf td.bb-sf-label { display: block; width: auto !important; height: auto !important; padding: 12px 0 5px !important; }
  .bb-content form.bb-sf td.bb-sf-label, .bb-content form.bb-sf td.bb-sf-label * { font: bold 15px/1.3 Arial, Helvetica, sans-serif !important; color: #5a3b00 !important; text-align: left !important; }
  .bb-content form.bb-sf td.bb-sf-ctl { display: block; width: auto !important; height: auto !important; padding: 0 !important; }
  .bb-content form.bb-sf td.bb-sf-ctl table, .bb-content form.bb-sf td.bb-sf-ctl tbody, .bb-content form.bb-sf td.bb-sf-ctl tr, .bb-content form.bb-sf td.bb-sf-ctl td { display: block; width: auto !important; height: auto !important; padding: 0 !important; float: none !important; }
  .bb-content form.bb-sf td.bb-sf-ctl select:not([multiple]) {
    display: block; width: 100% !important; min-height: 48px; padding: 8px 10px; box-sizing: border-box;
    font: 16px Arial, Helvetica, sans-serif !important; color: #222; background-color: #fff; border: 1px solid #b9a36a; border-radius: 8px;
  }
  .bb-content form.bb-sf tr.bb-sf-half-a:not([style*="none"]) { float: left; clear: both; width: 48% !important; }
  .bb-content form.bb-sf tr.bb-sf-half-b:not([style*="none"]) { float: right; clear: none; width: 48% !important; }
  .bb-content form.bb-sf td.bb-sf-pair { display: flex !important; align-items: center; gap: 10px; }
  .bb-content form.bb-sf td.bb-sf-pair div, .bb-content form.bb-sf td.bb-sf-pair table, .bb-content form.bb-sf td.bb-sf-pair tbody, .bb-content form.bb-sf td.bb-sf-pair tr, .bb-content form.bb-sf td.bb-sf-pair td { display: contents !important; }
  .bb-content form.bb-sf td.bb-sf-pair select:not([multiple]) { flex: 1 1 0; width: 10px !important; min-width: 0; }
  .bb-content form.bb-sf td.bb-sf-pair select:not([multiple]) { display: block; min-height: 48px; padding: 8px 10px; box-sizing: border-box; font: 16px Arial, Helvetica, sans-serif !important; background-color: #fff; border: 1px solid #b9a36a; border-radius: 8px; }
  .bb-content form.bb-sf td.bb-sf-chips { display: flex !important; flex-wrap: wrap; gap: 8px; }
  .bb-content form.bb-sf td.bb-sf-chips table, .bb-content form.bb-sf td.bb-sf-chips tbody, .bb-content form.bb-sf td.bb-sf-chips tr,
  .bb-content form.bb-sf td.bb-sf-chips td, .bb-content form.bb-sf td.bb-sf-chips div { display: contents !important; }
  .bb-content form.bb-sf label.bb-sf-chip {
    display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px 0 10px; box-sizing: border-box;
    border: 1px solid #c9b27a; border-radius: 23px; background: #fff; font: 15px Arial, Helvetica, sans-serif; color: #333;
  }
  .bb-content form.bb-sf label.bb-sf-chip.bb-on { background: #fff3cf; border-color: #9C0808; }
  .bb-content form.bb-sf label.bb-sf-chip input { width: 22px; height: 22px; margin: 0; flex: 0 0 auto; }
  .bb-content form.bb-sf td.bb-sf-actions { display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px; padding: 4px 8px 12px !important; clear: both; }
  .bb-content form.bb-sf td.bb-sf-actions br { display: none; }
  .bb-content form.bb-sf td.bb-sf-actions input[type=submit] { flex: 1 1 60%; min-height: 52px; font-size: 18px !important; }
  .bb-content form.bb-sf td.bb-sf-actions input[type=reset] { flex: 0 0 auto; min-height: 52px; }
  .bb-content form.bb-sf input[type=text], .bb-content form.bb-sf input[type=email] {
    display: block; width: 100% !important; min-height: 48px; padding: 8px 10px; box-sizing: border-box; font-size: 16px; border: 1px solid #b9a36a; border-radius: 8px;
  }
  .bb-content form[name=frmQuickSearch2].bb-sf table, .bb-content form[name=frmQuickSearch2].bb-sf tbody, .bb-content form[name=frmQuickSearch2].bb-sf tr, .bb-content form[name=frmQuickSearch2].bb-sf td { display: block; width: auto !important; height: auto !important; text-align: left !important; }
  .bb-content form[name=frmQuickSearch2].bb-sf { padding: 4px 10px 12px; }
  .bb-content form[name=frmQuickSearch2].bb-sf p { margin: 0 !important; padding: 10px 0 6px !important; text-align: left !important; font-size: 15px !important; color: #5a3b00 !important; }
  .bb-content form[name=frmQuickSearch2].bb-sf input[type=submit] { width: 100% !important; min-height: 52px; margin-top: 10px; font-size: 18px !important; }
  /* lists where several can be chosen: the list, then the chosen ones as buttons */
  .bb-content .ms-container { width: 100% !important; height: auto !important; background: none !important; }
  .bb-content .ms-container .ms-selectable, .bb-content .ms-container .ms-selection { height: auto !important; }
  .bb-content .ms-container .ms-selectable, .bb-content .ms-container .ms-selection { float: none !important; width: 100% !important; margin: 0 0 8px; }
  .bb-content .ms-container .ms-list { height: auto !important; max-height: 190px; overflow-y: auto; margin: 0; padding: 0; border: 1px solid #b9a36a; border-radius: 8px; background: #fff; -webkit-overflow-scrolling: touch; }
  .bb-content .ms-container .ms-selectable li, .bb-content .ms-container .ms-selectable li.ms-elem-selectable { padding: 11px 12px !important; font-size: 16px !important; border-bottom: 1px solid #f1e3c0; }
  .bb-content .ms-container .ms-selection .ms-list { max-height: none; border: 0; background: none; }
  .bb-content .ms-container .ms-selection li.ms-selected { display: inline-block !important; margin: 0 6px 6px 0; padding: 9px 12px; border: 1px solid #9C0808; border-radius: 20px; background: #fff3cf; font-size: 15px; color: #7a1c0e; }
  .bb-content .ms-container .ms-selection li.ms-selected:after { content: " \00D7"; }
  /* signed-in header: one slim line (name, level, sign out); the contact line is in the footer help */
  .bb-welcome { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; padding: 6px 10px; font-size: 13px; line-height: 1.35; }
  .bb-welcome > span:first-child { flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .bb-welcome > span:first-child strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
  .bb-welcome > span:first-child br { display: none; }
  .bb-welcome .bb-contact { display: none; }
  .bb-welcome .bb-btn { flex: 0 0 auto; min-height: 40px; padding: 9px 12px; font-size: 14px; }
  .bb-content td.bb-mb-title { display: none !important; }
  .bb-content td.bb-mb-links { display: block; padding: 4px 6px !important; text-align: left !important; }
  .bb-content td.bb-mb-links a { min-height: 40px; padding: 9px 14px; box-sizing: border-box; margin: 3px 4px 3px 0; }
  .bb-content form.bb-dir tr.bb-dir-head { display: none !important; }
  .bb-content form.bb-dir table, .bb-content form.bb-dir tbody, .bb-content form.bb-dir tr, .bb-content form.bb-dir td { display: block; width: auto !important; }
  .bb-content form.bb-dir td { padding: 0 8px !important; }
  .bb-content form.bb-dir .bb-dir-lab { display: block; padding: 10px 0 4px; font: bold 15px Arial, Helvetica, sans-serif; color: #5a3b00; }
  .bb-content form.bb-dir select { display: block; width: 100% !important; min-height: 48px; padding: 8px 10px; box-sizing: border-box; font-size: 16px !important; background-color: #fff; border: 1px solid #b9a36a; border-radius: 8px; }
  .bb-content form.bb-dir input[type=submit] { display: block; width: 100%; min-height: 50px; margin: 14px 0 6px; font-size: 17px; }
  /* help pages: the text box uses the full width */
  .bb-content div[style*="#FFF7F4"] { width: auto !important; margin: 0 6px 10px !important; box-sizing: border-box; }
  .bb-content div[style*="margin: 80px"], .bb-content div[style*="margin:80px"] { margin: 14px 12px !important; font-size: 15px !important; line-height: 1.6 !important; }
  .bb-content div[style*="#FFF7F4"] table { width: 100% !important; max-width: 100%; }
  .bb-content div[style*="#FFF7F4"] img { max-width: 100%; height: auto; }
  /* "About us" pages: the side menu becomes a row of buttons above the page instead of floating over it */
  .bb-content #body_area, .bb-content #body_area .left, .bb-content #body_area .morelinks_area, .bb-content #body_area .links_morearea { float: none !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
  .bb-content #body_area .morelinks_top, .bb-content #body_area .morelinks_head, .bb-content #body_area .morelinks_bottom { display: none !important; }
  .bb-content #body_area .links_morearea { display: flex !important; flex-wrap: wrap; gap: 6px; padding: 6px 4px 10px !important; }
  .bb-content #body_area a.morelink {
    float: none !important; display: inline-block !important; width: auto !important; height: auto !important; min-height: 40px; margin: 0 !important; padding: 9px 14px !important; box-sizing: border-box;
    border: 1px solid #d9a441; border-radius: 10px; background: #fff7df !important; font: bold 14px Arial, Helvetica, sans-serif !important; color: #7a1c0e !important; text-decoration: none !important; line-height: 20px !important;
  }
  /* member lists on phones: two equal tabs, one quiet line (count + change search), no "per page" control */
  .bb-content .navcontainer ul { padding: 0 6px !important; gap: 6px; }
  .bb-content .navcontainer li:first-child:nth-last-child(-n+3), .bb-content .navcontainer li:first-child:nth-last-child(-n+3) ~ li { flex: 1 1 0 !important; margin: 0 !important; }
  .bb-content .navcontainer li:first-child:nth-last-child(-n+3) a, .bb-content .navcontainer li:first-child:nth-last-child(-n+3) ~ li a { text-align: center; }
  .bb-content table.bb-rl-tabs { float: none !important; width: 100% !important; }
  .bb-content table.bb-rl-tabs .navcontainer { width: auto !important; }
  .bb-content tr.bb-rl-perrow { display: none !important; }
  .bb-content td.bb-rl-count { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px 10px !important; font-size: 14px !important; }
  .bb-content td.bb-rl-count a.bb-rl-change { flex: 0 0 auto; margin: 0; min-height: 40px; padding: 9px 14px; box-sizing: border-box; border: 1px solid #c9a44a; border-radius: 20px; background: #fff; font-size: 14px; text-decoration: none; }
  /* a member with no photo keeps the same card shape, with a plain placeholder */
  .bb-content td.bb-mcard.bb-m-nopic { min-height: 116px; padding-left: 112px !important; }
  .bb-content td.bb-mcard.bb-m-nopic:before {
    content: ""; position: absolute; left: 10px; top: 10px; width: 90px; height: 100px; border-radius: 6px; background-color: #f3ead6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 100'%3E%3Ccircle cx='45' cy='38' r='17' fill='%23d9c9a3'/%3E%3Cpath d='M12 100c2-24 16-36 33-36s31 12 33 36z' fill='%23d9c9a3'/%3E%3C/svg%3E");
    background-size: cover;
  }
  .bb-content tr.bb-couple td.bb-mcard.bb-m-nopic { padding-left: 8px !important; min-height: 0; }
  .bb-content tr.bb-couple td.bb-mcard.bb-m-nopic:before { display: none; }
  /* upgrade page on phones: one card per level, the list of what you get under them, a clear total */
  .bb-content table.bb-plans, .bb-content table.bb-plans > tbody { display: block; width: auto !important; margin: 0 8px; }
  .bb-content table.bb-plans > tbody > tr { display: block; }
  .bb-content table.bb-plans tr.bb-plan-head { margin: 14px 0 8px; background: none !important; }
  .bb-content table.bb-plans tr.bb-plan-head th { display: none; }
  .bb-content table.bb-plans tr.bb-plan-head th:first-child { display: block; padding: 0 2px !important; background: none !important; text-align: left !important; font: bold 18px/1.3 Arial, Helvetica, sans-serif !important; color: #7a1c0e !important; }
  .bb-content table.bb-plans td.bb-plan-side { display: none !important; }
  .bb-content table.bb-plans tr.bb-plan { display: flex !important; align-items: center; gap: 10px; margin: 0 0 8px; padding: 10px 12px; border: 1px solid #e3c98a; border-radius: 10px; background: #fff; }
  .bb-content table.bb-plans tr.bb-plan.bb-plan-on { border-color: #9C0808; background: #fff3cf; box-shadow: inset 4px 0 0 #9C0808; }
  .bb-content table.bb-plans tr.bb-plan > td { display: block; width: auto !important; padding: 0 !important; border: 0 !important; background: none !important; }
  .bb-content table.bb-plans tr.bb-plan > td:first-child { flex: 1 1 auto; min-width: 0; display: flex !important; align-items: center; gap: 10px; text-align: left !important; }
  .bb-content table.bb-plans tr.bb-plan > td.right { flex: 0 0 auto; text-align: right !important; }
  .bb-content table.bb-plans tr.bb-plan > td:empty { display: none !important; }
  .bb-content table.bb-plans tr.bb-plan input[type=radio] { flex: 0 0 auto; width: 24px; height: 24px; margin: 0; }
  .bb-content table.bb-plans label.bb-plan-lab { display: block; flex: 1 1 auto; min-width: 0; font: 15px/1.35 Arial, Helvetica, sans-serif !important; color: #333; }
  .bb-content table.bb-plans .bb-plan-name { display: block; margin: 0; font-size: 17px; color: #222; }
  .bb-content table.bb-plans .bb-plan-sub { display: block; font-size: 14px; }
  .bb-content table.bb-plans tr.bb-plan > td.right label { display: block; font: bold 17px/1.3 Arial, Helvetica, sans-serif !important; color: #7a1c0e; white-space: nowrap; }
  .bb-content table.bb-plans tr.bb-plan > td.right .bb-usd { display: block; font-weight: normal; font-size: 13px; color: #555; }
  .bb-content table.bb-plans tr.bb-plan-none { padding: 8px 12px; background: none; border-style: dashed; }
  .bb-content table.bb-plans tr.bb-plan-get { display: block; margin: 2px 0 6px; }
  .bb-content table.bb-plans tr.bb-plan-get > td { display: block; padding: 10px 12px !important; border: 0 !important; border-radius: 10px; background: #fffaf0 !important; text-align: left !important; }
  .bb-content table.bb-plans .bb-plan-get-h { font: bold 15px Arial, Helvetica, sans-serif; color: #5a3b00; margin-bottom: 4px; }
  .bb-content table.bb-plans tr.bb-plan-get ul { margin: 0; padding: 0 0 0 20px; }
  .bb-content table.bb-plans tr.bb-plan-get li { margin: 0 0 3px; padding: 0; font: 15px/1.45 Arial, Helvetica, sans-serif !important; color: #333; }
  .bb-content table.bb-plans tr.bb-plan-total { display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 14px 0 8px; padding: 12px 14px; border-radius: 10px; background: #7a1c0e !important; }
  .bb-content table.bb-plans tr.bb-plan-total th { display: block; padding: 0 !important; background: none !important; border: 0 !important; color: #fff !important; font: bold 16px Arial, Helvetica, sans-serif !important; text-align: left !important; }
  .bb-content table.bb-plans tr.bb-plan-total th:first-child { flex: 1 1 100%; font-weight: normal !important; font-size: 14px !important; opacity: .9; }
  .bb-content table.bb-plans tr.bb-plan-total th:nth-child(3) { order: 1; font-size: 22px !important; }
  .bb-content table.bb-plans tr.bb-plan-total th:nth-child(2) { order: 2; font-weight: normal !important; opacity: .9; }
  .bb-content table.bb-plans tr.bb-plan-note th { display: block; padding: 8px 4px !important; background: none !important; text-align: left !important; }
  .bb-content table.bb-plans tr.bb-plan-note th span { background: none !important; color: #1c6b2a !important; font: bold 14px/1.45 Arial, Helvetica, sans-serif !important; }
  .bb-content table.bb-plans > tbody > tr > td[height="10px"] { display: none; }
  .bb-content table.bb-plans #coupon_code_apply { width: 150px !important; min-height: 44px; padding: 6px 10px; box-sizing: border-box; font-size: 16px; border: 1px solid #b9a36a; border-radius: 8px; vertical-align: middle; }
  .bb-content table.bb-plans #coupon_status_box { font-size: 13px !important; }
  /* long links and addresses wrap instead of pushing the page sideways */
  .bb-content a, .bb-content strong, .bb-content p, .bb-content td { overflow-wrap: anywhere; word-wrap: break-word; }
  /* forms: every box full width, tall enough to press, 16px so the phone does not zoom in */
  .bb-content form .bb-f-wide {
    display: block; width: 100% !important; max-width: 100%; min-height: 46px; margin: 2px 0; padding: 8px 10px; box-sizing: border-box;
    font: 16px Arial, Helvetica, sans-serif !important; color: #222; background-color: #fff; border: 1px solid #b9a36a; border-radius: 8px;
  }
  .bb-content form textarea.bb-f-wide { min-height: 120px; height: auto; }
  .bb-content form input[type=password].bb-f-wide { display: inline-block; width: calc(100% - 84px) !important; vertical-align: middle; }
  .bb-content form input[type=password].bb-f-wide + .bb-showpw, .bb-content form .bb-showpw { display: inline-block; min-width: 72px; min-height: 46px; margin: 2px 0 2px 6px; vertical-align: middle; }
  .bb-content .ms-container .ms-selection li.ms-selected span, .bb-content .ms-container li span { font-size: inherit; }
  .bb-content form .bb-f-row { display: flex !important; flex-wrap: nowrap; align-items: center; gap: 8px; }
  .bb-content form .bb-f-row > div { display: contents; }
  .bb-content form .bb-f-multi {
    flex: 1 1 0; min-width: 0; width: auto !important; min-height: 46px; padding: 8px 4px 8px 8px; box-sizing: border-box;
    font: 16px Arial, Helvetica, sans-serif !important; color: #222; background-color: #fff; border: 1px solid #b9a36a; border-radius: 8px;
  }
  .bb-content form td.fieldname { padding: 10px 2px 3px !important; font-size: 15px !important; font-weight: bold; color: #5a3b00; }
  .bb-content form td.fieldinput { padding: 0 2px 4px !important; }
  /* profile: membership badge beside the facts; heading and value on one line */
  .bb-content table.bb-p-summary > tbody > tr { display: flex !important; align-items: center; }
  .bb-content table.bb-p-summary > tbody > tr > td:first-child { display: block !important; flex: 1 1 auto; min-width: 0; }
  .bb-content table.bb-p-summary > tbody > tr > td:last-child { display: block !important; flex: 0 0 auto; width: auto !important; padding: 0 10px 0 0 !important; }
  .bb-content table.bb-p-summary img { max-height: 52px; margin: 0; }
  .bb-content tr.bb-p-row { display: block !important; padding: 6px 10px !important; border-bottom: 1px solid #f1e3c0; background: none !important; }
  .bb-content tr.bb-p-row:last-child { border-bottom: 0; }
  .bb-content tr.bb-p-row > td { display: inline !important; padding: 0 !important; height: auto !important; background: none !important; border: 0 !important; line-height: 1.5; }
  .bb-content tr.bb-p-row, .bb-content tr.bb-p-row > td, .bb-content tr.bb-p-row > td * { text-align: left !important; }
  .bb-content tr.bb-p-row > td > div.bb-p-in { display: inline !important; margin: 0 !important; padding: 0 !important; float: none !important; width: auto !important; }
  .bb-content tr.bb-p-row > td.txt12boldodd, .bb-content tr.bb-p-row > td.txt12boldeven { margin-right: 6px; color: #7a5a1e; font-weight: normal !important; }
  .bb-content tr.bb-p-row > td.txt12boldodd + td, .bb-content tr.bb-p-row > td.txt12boldeven + td { color: #222; font-weight: bold; }
  .bb-footer-help { margin: 12px 0 4px; font-size: 15px; }
  .bb-footer-help a.bb-tel { display: inline-block; font-size: 15px; padding: 10px 0; }
  a.bb-wa { padding: 6px 14px; border-radius: 16px; font-size: 14px; line-height: 20px; }
  .bb-badge-key { font-size: 13px; }
  .bb-badge-key .bb-badge-premium { margin-left: 0; }
  .bb-badge-key span:nth-child(2):after { content: ""; display: block; }
  .bb-p-report { margin: 10px; font-size: 15px; }
  .bb-p-report span { display: block; }
  .bb-p-report a, .bb-content .bb-p-report a { display: inline-block; margin: 0 16px 0 0; padding: 10px 0; font-size: 15px; }
  .bb-safe { margin: 10px 8px; padding: 16px 14px; font-size: 16px; }
  .bb-safe h1 { font-size: 22px; }
  .bb-safe-help a { display: inline-block; margin: 6px 12px 0 0; padding: 8px 0; }
  .bb-safe-help a.bb-wa { padding: 6px 14px; }
  .bb-content tr.bb-pay-row > td, .bb-content td.bb-pay-lead { padding-left: 8px; padding-right: 8px; }
  .bb-content tr.bb-pay-row > td > p:first-of-type { padding: 13px 12px; }
  .bb-content tr.bb-pay-row.bb-pay-on .bb-pay-more { margin-left: 6px !important; font-size: 15px !important; }
  .bb-account { order: 3; flex: 1 0 100%; }
  .bb-login { display: none; }
  .bb-quick { display: flex; gap: 8px; }
  .bb-quick .bb-btn { flex: 1 1 0; text-align: center; }
  .bb-quick .bb-btn, .bb-menu-btn { min-height: 44px; padding: 11px 12px; font-size: 15px; }
  .bb-menu-btn {
    display: inline-block; flex: 0 0 auto; border: 1px solid #6d0404; border-radius: 6px;
    background: #fff3cf; color: #9C0808; font: bold 14px Tahoma, Verdana, Arial, sans-serif; cursor: pointer;
  }
  .bb-welcome { font-size: 12px; padding: 6px 8px; justify-content: flex-start; }
  .bb-welcome .bb-contact { text-align: left; }
  .bb-welcome .bb-btn { min-height: 40px; padding: 9px 12px; }

  /* menu: hidden until the button is pressed, then a vertical list */
  .bb-nav { display: none; margin-top: 0; background: #fff3cf; }
  .bb-nav.bb-nav-open { display: block; }
  .bb-menu { display: block; }
  .bb-menu > li { border-right: 0; border-bottom: 1px solid #e3c06a; }
  .bb-menu > li > a, .bb-menu > li > button { width: 100%; text-align: left; padding: 14px 16px; font-size: 16px; }
  .bb-sub { display: none; position: static; box-shadow: none; border: 0; border-top: 1px solid #e3c06a; background: #fffaf0; }
  .bb-has-sub:hover > .bb-sub, .bb-has-sub:focus-within > .bb-sub { display: none; }
  .bb-has-sub.bb-open > .bb-sub { display: block; }
  .bb-sub li a { padding: 13px 16px 13px 32px; font-size: 15px; white-space: normal; }

  /* home */
  .bb-hero { display: block; margin: 0; padding: 14px 12px; border-radius: 0; }
  .bb-hero-title { font-size: 20px; }
  .bb-qs-row { display: block; font-size: 15px; margin-bottom: 12px; }
  .bb-qs-row > .bb-qs-label { display: block; margin-bottom: 4px; font-weight: bold; }
  .bb-qs-row select { font-size: 16px; min-height: 44px; padding: 8px; width: 100%; }
  .bb-qs-row .bb-qs-range { display: flex; align-items: center; gap: 8px; }
  .bb-qs-row .bb-qs-range select { flex: 1 1 0; width: auto; min-width: 0; }
  .bb-qs-row .bb-qs-checks { gap: 0 16px; }
  .bb-qs-row .bb-qs-checks label, .bb-qs-row label.bb-qs-check { display: flex; align-items: center; gap: 8px; min-height: 44px; }
  .bb-qs-row input[type=checkbox] { width: 20px; height: 20px; }
  .bb-qs-actions .formbutton { width: 100%; min-height: 48px; font-size: 17px; }
  .bb-hero-art { display: none; }
  /* featured profile: a fluid card instead of the fixed 290px picture frame */
  .bb-hero-featured { margin: 16px 0 0; max-width: none; }
  .bb-hero-featured table { width: 100% !important; }
  .bb-hero-featured td.ritbox_top { width: auto; height: auto; background: none; }
  .bb-hero-featured div.ritbox_top {
    width: auto; height: auto; padding: 10px 12px; text-align: center;
    background: #f3b53f; background: linear-gradient(#f9d56e, #eda52b);
    border: 1px solid #d77f00; border-bottom: 0; border-radius: 10px 10px 0 0;
  }
  .bb-hero-featured div.ritbox_top:before { content: "Featured Profile"; font: italic bold 21px Georgia, "Times New Roman", serif; color: #7a1c0e; }
  .bb-hero-featured .ritbox_mid { width: auto; height: auto; margin: 0; padding: 12px; background: #f6c95c; }
  .bb-hero-featured .ritbox_bot { width: auto; height: 12px; background: #eda52b; border: 1px solid #d77f00; border-top: 0; border-radius: 0 0 10px 10px; }
  .bb-hero-featured .mid_tbl { border-radius: 4px; }
  .bb-hero-featured .rit_text, .bb-hero-featured .rit_text1, .bb-hero-featured .rit_text1 a { font-size: 15px; }
  .bb-hero-featured .rit_text { padding: 8px 10px !important; }
  .bb-hero-featured .rit_text1 { padding: 5px 8px; }
  .bb-hero-featured .mid_tbl img { max-width: 120px !important; max-height: 150px !important; }

  .bb-featured { margin: 0; padding: 14px 0 14px 12px; }
  .bb-featured-row { justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; gap: 12px; padding: 0 12px 8px 0; }
  .bb-fcard { flex: 0 0 62%; max-width: 280px; scroll-snap-align: start; }
  .bb-fcard-body { font-size: 14px; }
  .bb-fcard-l1 { font-size: 16px; }
  .bb-fcard-cta { padding: 9px 14px; font-size: 14px; }
  .bb-steps { display: block; margin: 0; padding: 12px; }
  .bb-step { margin-bottom: 12px; }
  .bb-step p { font-size: 14px; }
  .bb-steps-cta { text-align: center; }
  .bb-couples { display: block; margin: 0; padding: 12px; font-size: 15px; }
  .bb-couple-group { margin-bottom: 10px; }
  .bb-couple-group a { padding: 8px 0; }
  .bb-couples-cta { text-align: center; }
  .bb-video-section { margin: 0; padding: 14px 12px; }

  /* footer */
  .bb-footer { display: block; margin: 8px 0 0; border-left: 0; border-right: 0; border-radius: 0; padding: 14px 12px; }
  .bb-footer-links { display: block; }
  .bb-footer-links a { display: block; padding: 12px 0; font-size: 15px; border-bottom: 1px solid #f0dc9a; }
  .bb-footer-app { margin: 14px 0; font-size: 14px; }
  .bb-copy { font-size: 12px; }

  /* ===== phone pass 2: text size, touch areas, folded forms, compact cards ===== */
  .bb-content input[type=text], .bb-content input[type=password], .bb-content input[type=email], .bb-content input[type=tel],
  .bb-content input[type=number], .bb-content textarea, .bb-content select { font-size: 16px !important; max-width: 100%; box-sizing: border-box; }
  .bb-content input[type=text], .bb-content input[type=password], .bb-content input[type=email], .bb-content input[type=tel],
  .bb-content input[type=number], .bb-content select:not([multiple]):not([size]) { min-height: 44px; }
  .bb-content input[type=submit], .bb-content input[type=button], .bb-content button { min-height: 44px; font-size: 16px !important; }
  .bb-content input[type=checkbox], .bb-content input[type=radio] { width: 22px; height: 22px; margin: 11px 8px 11px 0; vertical-align: middle; }
  a.bb-tap { display: inline-block; min-height: 44px; padding: 11px 6px; box-sizing: border-box; line-height: 22px; vertical-align: middle; }
  .bb-login-links a { display: inline-block; padding: 12px 4px; }

  /* folded parts of forms */
  #frmiadvsearch.bb-fold-ready:not(.bb-more-open) .bb-more { display: none !important; }
  .bb-phone-ready tr.bb-optional:not(.bb-optional-open) { display: none !important; }
  .bb-more-btn {
    display: block; width: 100%; min-height: 48px; margin: 12px 0; padding: 10px 14px; box-sizing: border-box;
    font: bold 16px Arial, Helvetica, sans-serif; color: #7a1c0e; background: #fff7dc; border: 1px solid #d9a441; border-radius: 8px; text-align: center;
  }

  /* member list: one compact card per member */
  table.bb-mlist, table.bb-mlist > tbody, table.bb-mlist > tbody > tr { display: block; width: 100% !important; }
  td.bb-mcard {
    display: block; position: relative; width: auto !important; min-height: 116px; margin: 0 0 10px; padding: 10px 10px 4px 112px !important;
    box-sizing: border-box; text-align: left; background: #fff; border: 1px solid #f0c770; border-radius: 10px;
  }
  td.bb-mcard.bb-m-nopic { min-height: 0; padding-left: 10px !important; }
  td.bb-mcard table, td.bb-mcard tbody, td.bb-mcard tr, td.bb-mcard td { display: block; width: auto !important; height: auto !important; padding: 0 !important; border: 0; background: none; }
  td.bb-mcard > div { margin: 0; padding: 0; background: none !important; border: 0 !important; }
  td.bb-mcard b.rtop, td.bb-mcard b.rbottom, td.bb-mcard br { display: none; }
  td.bb-mcard tr.addrow > td { display: inline !important; }
  td.bb-mcard tr.addrow > td:empty, td.bb-mcard td[colspan="2"]:not(.bb-m-actions) { display: none !important; }
  td.bb-mcard .gen_test1 b { font-weight: normal; color: #8a6d3b; }
  td.bb-mcard tr.bb-m-id td.module_head { font-weight: bold; color: #b01c1c; }
  td.bb-mcard tr.bb-m-height, td.bb-mcard tr.bb-m-gender, td.bb-mcard tr.bb-m-religion, td.bb-mcard tr.bb-m-country,
  td.bb-mcard tr.bb-m-looking, td.bb-mcard tr.bb-m-locked { display: none !important; }
  td.bb-mcard .bb-m-only { display: inline; }
  td.bb-mcard td.bb-m-photo { position: absolute; left: 10px; top: 10px; width: 92px !important; text-align: center; }
  td.bb-mcard.bb-m-nopic td.bb-m-photo, td.bb-mcard td.bb-m-photo a.fancybox { display: none !important; }
  td.bb-mcard td.bb-m-photo div { width: auto !important; padding: 0 !important; border: 0 !important; }
  td.bb-mcard td.bb-m-photo img { width: 90px; height: auto; max-height: 104px; object-fit: cover; border-radius: 6px; }
  td.bb-mcard td.bb-m-actions { text-align: left; padding-top: 4px !important; }
  td.bb-mcard td.bb-m-actions a {
    display: inline-block; min-height: 44px; line-height: 44px; padding: 0 14px; margin: 4px 8px 4px 0; box-sizing: border-box;
    font-size: 15px; font-weight: bold; text-decoration: none; color: #fff !important; background: #a51212; border-radius: 8px;
  }
  td.bb-mcard td.bb-m-actions a + a { color: #a51212 !important; background: #fff; border: 1px solid #a51212; }

  /* success stories: two cards side by side per couple */
  tr.bb-couple { display: flex !important; align-items: stretch; margin: 0 0 12px; }
  tr.bb-couple > td.bb-mcard { flex: 1 1 0; min-width: 0; min-height: 0; margin: 0; padding: 8px !important; text-align: center; }
  tr.bb-couple > td.bb-couple-heart { display: flex !important; flex: 0 0 28px; width: 28px !important; align-items: center; justify-content: center; padding: 0 !important; }
  tr.bb-couple > td.bb-couple-heart img { width: 24px !important; height: auto; }
  tr.bb-couple td.bb-m-photo { position: static; width: auto !important; margin: 0 auto 6px; }
  tr.bb-couple td.bb-m-photo img { width: auto; max-width: 100%; max-height: 130px; }
  tr.bb-couple td.bb-mcard tr:has(> td.bb-m-photo) { display: flex; flex-direction: column-reverse; }
  tr.bb-couple tr.bb-m-id, tr.bb-couple tr.bb-m-gender, tr.bb-couple .gen_test1 { display: none !important; }
  tr.bb-couple tr.bb-m-name td { font-weight: bold; }
  tr.bb-couple tr.bb-m-age td:last-child:before { content: "Age "; color: #8a6d3b; }

  /* member profile and legal pages: sections that open and close */
  .bb-acc-head { cursor: pointer; }
  .bb-acc-head td.bb-acc-bar { position: relative; height: auto !important; min-height: 22px; padding: 11px 40px 11px 12px !important; font-size: 16px !important; }
  .bb-acc-head td.bb-acc-bar:after, button.bb-acc:after { content: "+"; position: absolute; right: 14px; top: 50%; margin-top: -13px; font: bold 22px/26px Arial, sans-serif; }
  .bb-acc-head.bb-acc-open td.bb-acc-bar:after, button.bb-acc[aria-expanded="true"]:after { content: "\2212"; }
  button.bb-acc {
    display: block; position: relative; width: 100%; min-height: 48px; margin: 8px 0 0; padding: 12px 40px 12px 12px; box-sizing: border-box;
    text-align: left; font: bold 16px Arial, Helvetica, sans-serif; color: #003799; background: #fff; border: 1px solid #cdd7ea; border-radius: 8px;
  }
  .bb-acc-body { padding: 10px 4px 4px; }
  button.bb-acc-all { display: block; min-height: 44px; margin: 6px 0 2px auto; padding: 8px 12px; font: 15px Arial, Helvetica, sans-serif; color: #003799; background: none; border: 0; text-decoration: underline; }
  .bb-content .page_text p { line-height: 1.55 !important; }

  /* tab strips: one row that scrolls sideways instead of five wrapped rows */
  .bb-content #tabsI ul, .bb-content .navcontainer ul {
    display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; float: none; width: auto; margin: 0; padding: 0 0 6px; list-style: none;
  }
  .bb-content #tabsI li, .bb-content .navcontainer li { flex: 0 0 auto; float: none; margin: 0 4px 0 0; }
  .bb-content #tabsI li a, .bb-content .navcontainer li a { white-space: nowrap; }
  .bb-content .navcontainer li a {
    display: block; width: auto !important; height: auto !important; min-height: 44px; padding: 11px 12px !important; box-sizing: border-box; line-height: 22px;
    background: #f7e3a3 !important; border: 1px solid #d9a441; border-radius: 8px 8px 0 0; text-decoration: none;
  }
  .bb-content .navcontainer li a.activeTab { background: #fff !important; border-bottom-color: #fff; }
  .bb-content .container > table, .bb-content #tabcontent, .bb-content #tabcontent > table { width: 100% !important; float: none; }

  /* member cards: rows with no value are dropped; couples show values only */
  td.bb-mcard tr.addrow:not(.bb-m-id):has(> td:last-child:empty) { display: none !important; }
  tr.bb-couple td.bb-mcard tr.addrow > td.gen_test1 { display: none !important; }
  tr.bb-couple > td.bb-couple-heart img { display: none; }
  tr.bb-couple > td.bb-couple-heart:before { content: "\2665"; font-size: 20px; color: #c0392b; }

  /* search form: one clear button */
  #frmiadvsearch input[name=advsearch] { min-width: 60%; min-height: 48px; font-size: 17px !important; }
  .bb-footer-links a { min-height: 44px; box-sizing: border-box; }
  .bb-login-links .bb-sep { display: none; }
  .bb-login-links a { display: block; }
  /* signup: full-width boxes, notes on their own line */
  .bb-content input.regitextcss { display: block; width: 100% !important; }
  .bb-footer-app { min-height: 44px; }
  .bb-content a.button { display: inline-block; min-height: 44px; padding: 11px 14px; box-sizing: border-box; line-height: 22px; }
  /* side menu folded under one button; boxes around form groups never wider than the screen */
  .bb-phone-ready .bb-content .bb-menu-fold:not(.bb-menu-open) { display: none !important; }
  .bb-content .bb-menu-fold { width: auto !important; }
  .bb-menu-fold-btn { margin: 8px 0; }
  .bb-content fieldset { min-width: 0; max-width: 100%; box-sizing: border-box; }
  .bb-content .bb-side-ad { width: auto !important; margin: 16px auto 0; }
  /* no Google ads on phones (requests are paused in header.php; this hides the slots and their boxes) */
  ins.adsbygoogle, .google-auto-placed, .adsbygoogle-noablate, iframe[src*="google_ads"], iframe[src*="googlesyndication"],
  .bb-ad-slot, .bb-ad-gone, .bb-side-ad { display: none !important; }

  /* ===== member profile, top of the page: slim bar, photo, key facts, one clear action ===== */
  .bb-content table.headbg, .bb-content table.headbg > tbody { display: block; width: auto !important; }
  .bb-content table.headbg > tbody > tr { display: flex !important; align-items: center; padding: 6px 8px; }
  .bb-content table.headbg td { display: block; height: auto !important; padding: 0 !important; }
  .bb-content table.headbg td:not(.module_head):not(.module_head2) { display: none !important; }
  .bb-content table.headbg td.module_head { order: 2; flex: 1 1 auto; text-align: center !important; white-space: nowrap; font-size: 15px !important; }
  .bb-content table.headbg td.module_head2 { display: contents; font-size: 0 !important; }
  .bb-content table.headbg td.module_head2 > a, .bb-content table.headbg td.module_head2 > font {
    flex: 0 0 auto; display: inline-block; min-width: 96px; min-height: 40px; padding: 0 10px; box-sizing: border-box; text-align: center;
    font-size: 0 !important; line-height: 38px; text-decoration: none; background: #fff7dc; border: 1px solid #d9a441; border-radius: 8px;
  }
  .bb-content table.headbg td.module_head2 > :first-child { order: 1; }
  .bb-content table.headbg td.module_head2 > :last-child { order: 3; }
  .bb-content table.headbg td.module_head2 > :first-child:before { content: "\2039  Previous"; font: bold 14px Arial, Helvetica, sans-serif; color: #7a1c0e; }
  .bb-content table.headbg td.module_head2 > :last-child:before { content: "Next  \203A"; font: bold 14px Arial, Helvetica, sans-serif; color: #7a1c0e; }
  .bb-content table.headbg td.module_head2 > font { background: #f6f1e2; border-color: #e5dcc0; }
  .bb-content table.headbg td.module_head2 > font:before { color: #b5ab90 !important; }

  .bb-content tr.bb-p-hero { display: flex !important; flex-direction: column; }
  .bb-content tr.bb-p-hero > td { width: auto !important; }
  .bb-content tr.bb-p-hero > td:not(.bb-p-photo):not(.bb-p-info) { display: none !important; }
  .bb-content td.bb-p-photo { order: 1; text-align: center; }
  .bb-content td.bb-p-info { order: 2; }
  .bb-content table.bb-p-guest { display: none !important; }
  .bb-content td.bb-p-photo table { width: 100% !important; }
  .bb-content td.bb-p-photo div[style] { width: auto !important; padding: 0 !important; border: 0 !important; text-align: center; }
  .bb-content td.bb-p-photo img.smallpic { width: auto !important; height: auto !important; max-width: 100%; max-height: 380px; border-radius: 8px; }
  .bb-content td.bb-p-photo a.fancybox { display: inline-block; min-height: 40px; margin: 6px 0 2px; padding: 0 14px; line-height: 38px; border: 1px solid #d9a441; border-radius: 8px; background: #fff7dc; text-decoration: none; }
  .bb-content table.bb-p-summary { width: 100% !important; }
  .bb-content table.bb-p-summary tr.bb-p-idrow, .bb-content table.bb-p-summary tr.bb-p-locked { display: none !important; }
  .bb-content table.bb-p-summary table tr { display: block; padding: 2px 10px; }
  .bb-content table.bb-p-summary table td { display: inline !important; padding: 0 !important; font-size: 16px !important; }
  .bb-content table.bb-p-summary table td div { display: inline; }
  .bb-content table.bb-p-summary table td b { font-weight: normal; color: #8a6d3b; }
  .bb-content table.bb-p-summary img { max-height: 44px; width: auto; margin: 4px 10px; }
  .bb-p-cta { display: block; padding: 8px 10px 12px; }
  .bb-p-cta a.bb-p-cta-main { display: block; min-height: 50px; padding: 0 10px; line-height: 50px; text-align: center; font: bold 16px/50px Arial, Helvetica, sans-serif; color: #fff !important; background: #a51212; border-radius: 8px; text-decoration: none; }
  .bb-p-cta a.bb-p-cta-alt { display: block; min-height: 44px; line-height: 44px; text-align: center; font-size: 15px; }
  .bb-content table.bb-p-actions, .bb-content table.bb-p-actions > tbody { display: block; width: auto !important; }
  .bb-content table.bb-p-actions > tbody > tr { display: flex !important; flex-wrap: wrap; padding: 8px 6px; }
  .bb-content table.bb-p-actions td.footer { display: block; flex: 1 1 44%; margin: 4px; padding: 0 !important; height: auto !important; background: none !important; border: 0 !important; }
  .bb-content table.bb-p-actions td.footer a {
    display: block; min-height: 44px; padding: 0 6px; line-height: 42px; text-align: center; font-size: 15px !important; font-weight: bold;
    color: #a51212 !important; background: #fff; border: 1px solid #a51212; border-radius: 8px; text-decoration: none; box-sizing: border-box;
  }
  .bb-content table.bb-p-actions td.footer:nth-child(-n+2) a { color: #fff !important; background: #a51212; }
  .bb-content table.bb-p-actions td.footer > div {
    width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; float: none !important;
    background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
  }
  .bb-content table.bb-p-actions td.footer a { text-transform: none; }
  .bb-content table.bb-p-actions td.footer a:first-letter { text-transform: uppercase; }
  .bb-content table.bb-p-actions td.footer a.footerlink, .bb-content table.bb-p-actions td.footer a {
    color: #a51212 !important; background: #fff !important; background-image: none !important; text-transform: none !important; height: auto !important; width: auto !important;
  }
  .bb-content table.bb-p-actions td.footer:nth-child(-n+2) a.footerlink, .bb-content table.bb-p-actions td.footer:nth-child(-n+2) a { color: #fff !important; background: #a51212 !important; }
  .bb-content table.bb-p-actions td.footer a.footerlink, .bb-content table.bb-p-actions td.footer a { display: block !important; padding: 0 6px !important; line-height: 42px !important; }

  /* ===== signup: the form first, the help boxes after it, no repeated contact lines ===== */
  .bb-content tr.bb-su-row { display: flex !important; flex-direction: column; }
  .bb-content td.bb-su-form { order: 1; width: auto !important; }
  .bb-content td.bb-su-side { display: none !important; }
  .bb-content .bb-su-why, .bb-content .bb-su-intro, .bb-content tr.bb-su-dup { display: none !important; }
  .bb-content td.bb-su-side div.bb-su-post, .bb-content td.bb-su-side div.bb-su-help { width: auto !important; margin: 0 0 10px; }
  .bb-content td.bb-su-side table { width: 100% !important; }
  .bb-content td.bb-su-side b.rtopmsg, .bb-content td.bb-su-side b.rbottommsg, .bb-content td.bb-su-side > br { display: none; }
  .bb-content td.bb-su-side .txtbold { font-weight: normal !important; }
  .bb-content td.bb-su-side p { margin: 0 0 4px !important; padding-left: 0 !important; }

  /* ===== photo album: full screen, swipe left and right ===== */
  .bb-album { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 2147483000; background: #000; }
  .bb-album-track { position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .bb-album-track::-webkit-scrollbar { display: none; }
  .bb-album-slide { flex: 0 0 100%; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; scroll-snap-align: center; scroll-snap-stop: always; }
  .bb-album-slide img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
  .bb-album-close { position: absolute; right: 10px; top: 10px; width: 46px; height: 46px; padding: 0; font: 30px/44px Arial, Helvetica, sans-serif; color: #fff; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .6); border-radius: 23px; }
  .bb-album-count { position: absolute; left: 12px; top: 18px; padding: 4px 10px; font: bold 15px Arial, Helvetica, sans-serif; color: #fff; background: rgba(0, 0, 0, .55); border-radius: 12px; }
  .bb-album-dots { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; pointer-events: none; }
  .bb-album-dots span { display: inline-block; width: 8px; height: 8px; margin: 0 4px; border-radius: 4px; background: rgba(255, 255, 255, .4); }
  .bb-album-dots span.bb-on { background: #fff; }
  .bb-album-hint { position: absolute; left: 0; right: 0; bottom: 44px; text-align: center; font: 14px Arial, Helvetica, sans-serif; color: #fff; text-shadow: 0 1px 3px #000; pointer-events: none; }
  .bb-content td.bb-p-photo img.smallpic { cursor: pointer; }
  /* a private or missing photo: one slim line (small outline + what it means) instead of a tall empty box */
  .bb-content td.bb-p-photo div[style*="background:url"] {
    display: flex !important; align-items: center; width: auto !important; height: auto !important; min-height: 76px; margin: 8px 10px 4px !important;
    padding: 8px 12px 8px 86px !important; box-sizing: border-box; text-align: left !important;
    border: 1px solid #ecd9a0 !important; border-radius: 10px; background-color: #fffaf0 !important; background-size: 60px 60px !important; background-position: 12px center !important;
  }
  .bb-content td.bb-p-photo div[style*="background:url"] > div { margin: 0 !important; font: 15px/1.4 Arial, Helvetica, sans-serif !important; color: #5a3b00; text-align: left !important; }
  .bb-content td.bb-p-photo a > div[style*="background:url"] > div { font-weight: bold; color: #9C0808; text-decoration: underline; }
  .bb-content td.bb-p-photo a { text-decoration: none; }
}


/* ---------- Profile steps after signup (views/profilesteps.php) ---------- */
.bb-ps { max-width: 640px; margin: 10px auto 24px; padding: 18px 20px 22px; font: 16px/1.45 Arial, Helvetica, sans-serif; color: #222; text-align: left; background: #fff; border: 1px solid #e6dcc6; border-radius: 12px; box-sizing: border-box; }
.bb-ps *, .bb-ps *:before, .bb-ps *:after { box-sizing: border-box; }
.bb-ps h1 { margin: 6px 0 6px; font: bold 24px/1.2 Arial, Helvetica, sans-serif; color: #7a1c0e; }
.bb-ps h2 { margin: 22px 0 8px; padding-top: 16px; font: bold 19px/1.2 Arial, Helvetica, sans-serif; color: #7a1c0e; border-top: 1px solid #eee3c2; }
.bb-ps p { margin: 0 0 12px; }
.bb-ps-lead { color: #444; }
.bb-ps-progress ol { display: flex; margin: 0 0 14px; padding: 0; list-style: none; gap: 6px; }
.bb-ps-progress li { flex: 1 1 0; min-width: 0; padding: 8px 2px 0; font-size: 13px; color: #777; text-align: center; border-top: 4px solid #eee3c2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-ps-progress li span { display: inline-block; width: 22px; height: 22px; margin-right: 3px; font-weight: bold; line-height: 22px; color: #777; background: #f3ecd9; border-radius: 50%; }
.bb-ps-progress li.bb-ps-did { color: #2c6b00; border-top-color: #6aa544; }
.bb-ps-progress li.bb-ps-did span { color: #fff; background: #6aa544; }
.bb-ps-progress li.bb-ps-now { font-weight: bold; color: #7a1c0e; border-top-color: #a51212; }
.bb-ps-progress li.bb-ps-now span { color: #fff; background: #a51212; }
.bb-ps-error { padding: 10px 12px; color: #8a1010; background: #fdecec; border: 1px solid #f1b5b5; border-radius: 8px; }
.bb-ps-info { padding: 10px 12px; color: #33501b; background: #f1f8ea; border: 1px solid #c6dfb0; border-radius: 8px; }
.bb-ps-ok { font-weight: bold; color: #2c6b00; }
.bb-ps-note { font-size: 13px; color: #555; }
.bb-ps-wait { padding: 10px 12px; margin-top: 12px; background: #fffaf0; border: 1px solid #e3c36a; border-radius: 8px; }
.bb-ps-field { margin: 0 0 16px; }
.bb-ps-label { display: block; margin: 0 0 6px; font-weight: bold; color: #333; }
.bb-ps-label em { font-weight: normal; font-style: normal; color: #777; }
.bb-ps-ai { display: inline-block; margin-left: 6px; padding: 1px 8px; font-size: 12px; font-weight: normal; color: #7a5a00; background: #fff3cd; border-radius: 10px; white-space: nowrap; }
.bb-ps select, .bb-ps input[type=text], .bb-ps textarea { display: block; width: 100%; min-height: 46px; margin: 0; padding: 10px 12px; font: 16px/1.3 Arial, Helvetica, sans-serif; color: #222; background: #fff; border: 1px solid #b9b0a0; border-radius: 8px; }
.bb-ps textarea { min-height: 0; resize: vertical; }
.bb-ps select:focus, .bb-ps input[type=text]:focus, .bb-ps textarea:focus { border-color: #2f6db5; outline: 2px solid #cfe0f5; }
.bb-ps-two { display: flex; gap: 14px; }
.bb-ps-two > .bb-ps-field { flex: 1 1 0; min-width: 0; }
.bb-ps-range { display: flex; align-items: center; gap: 10px; }
.bb-ps-range select { flex: 1 1 0; }
.bb-ps-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-ps-chip { position: relative; display: inline-block; margin: 0; cursor: pointer; }
.bb-ps-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bb-ps-chip span { display: inline-block; min-height: 44px; padding: 11px 16px; line-height: 20px; color: #333; background: #fff; border: 1px solid #b9b0a0; border-radius: 22px; }
.bb-ps-chip input:checked + span { font-weight: bold; color: #fff; background: #a51212; border-color: #a51212; }
.bb-ps-chip input:focus + span { outline: 2px solid #cfe0f5; }
.bb-ps-stack { display: block; }
.bb-ps-stack .bb-ps-chip { display: block; margin-bottom: 8px; }
.bb-ps-stack .bb-ps-chip span { display: block; border-radius: 10px; }
.bb-ps-stack .bb-ps-chip input:checked + span { font-weight: normal; color: #222; background: #fdf1f1; border: 2px solid #a51212; padding: 10px 15px; }
.bb-ps-more { margin: 0 0 16px; padding: 0 12px; border: 1px solid #e6dcc6; border-radius: 8px; }
.bb-ps-more summary { padding: 13px 0; font-weight: bold; color: #003799; cursor: pointer; }
.bb-ps-more summary em { font-weight: normal; font-style: normal; color: #777; }
.bb-ps-more[open] summary { margin-bottom: 8px; }
.bb-ps-go, .bb-ps a.bb-ps-go { display: block; width: 100%; min-height: 50px; margin: 6px 0 0; padding: 14px 16px; font: bold 17px/22px Arial, Helvetica, sans-serif; color: #fff; text-align: center; text-decoration: none; background: #a51212; border: 0; border-radius: 8px; cursor: pointer; }
.bb-ps-go[disabled] { opacity: .65; }
.bb-ps a.bb-ps-go-alt { color: #a51212; background: #fff; border: 2px solid #a51212; padding: 12px 16px; }
.bb-ps-quiet { display: block; width: 100%; margin: 4px 0 0; padding: 12px; font: 15px Arial, Helvetica, sans-serif; color: #003799; text-decoration: underline; background: none; border: 0; cursor: pointer; }
.bb-ps-alt, .bb-ps-later { margin: 14px 0 0 !important; font-size: 15px; text-align: center; }
.bb-ps-later a { color: #666; }
.bb-ps-choice { display: block; }
.bb-ps-card { display: block; width: 100%; margin: 0 0 12px; padding: 16px 44px 16px 18px; font: 16px/1.4 Arial, Helvetica, sans-serif; color: #222; text-align: left; background: #fffaf0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='20'%3E%3Cpath d='M2 2l8 8-8 8' fill='none' stroke='%23a51212' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; border: 1px solid #e3c36a; border-radius: 10px; cursor: pointer; }
.bb-ps-card:hover, .bb-ps-card:focus { border-color: #a51212; }
.bb-ps-card strong { display: block; margin-bottom: 4px; font-size: 18px; color: #7a1c0e; }
.bb-ps-card span { display: block; color: #444; }
.bb-ps-file { position: relative; display: block; margin: 0 0 12px; padding: 16px 18px; background: #fffaf0; border: 2px dashed #d8b65a; border-radius: 10px; cursor: pointer; overflow: hidden; }
.bb-ps-file strong { display: block; font-size: 17px; color: #7a1c0e; }
.bb-ps-file span { display: block; font-size: 14px; color: #555; }
.bb-ps-file input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 100px; }
.bb-ps-file:hover { border-color: #a51212; }
.bb-ps-camera { display: none; }
.bb-ps-chosen { font-weight: bold; color: #2c6b00; word-break: break-all; }
.bb-ps-preview { margin: 0 0 12px; text-align: center; }
.bb-ps-preview img { max-width: 220px; max-height: 260px; border: 1px solid #ddd; border-radius: 10px; }
.bb-ps-skip { margin: 0; }
.bb-ps-starters { margin-top: 8px; font-size: 14px; color: #555; }
.bb-ps-starters button { margin: 0 4px 6px 0; padding: 8px 12px; font: 14px Arial, Helvetica, sans-serif; color: #003799; background: #eef3fb; border: 1px solid #c6d3ea; border-radius: 16px; cursor: pointer; }
.bb-ps-done { text-align: center; }
.bb-ps-done .bb-ps-go { max-width: 320px; margin: 10px auto 0; }
.bb-ps [hidden] { display: none !important; }
@media (pointer: coarse), (max-width: 767px) { .bb-ps-camera { display: block; } }
@media (max-width: 767px) {
  .bb-ps { margin: 6px 8px 18px; padding: 14px 14px 18px; border-radius: 10px; }
  .bb-ps h1 { font-size: 21px; }
  .bb-ps-two { display: block; }
  .bb-ps-progress li { font-size: 12px; }
  .bb-ps-progress li span { display: block; margin: 0 auto 2px; }
}
.bb-ps, .bb-ps p, .bb-ps label, .bb-ps span, .bb-ps a, .bb-ps li, .bb-ps strong, .bb-ps em, .bb-ps b, .bb-ps summary, .bb-ps div { font-family: Arial, Helvetica, sans-serif; }
.bb-ps a { font-size: inherit; }
.bb-ps-done a.bb-ps-go { margin: 10px auto 0; }
@media (max-width: 767px) { .bb-ps-progress li { white-space: normal; line-height: 1.2; } }

/* ---------- Photo screens: My photos, Main photo, Who can see them ---------- */
.bb-ph-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.bb-ps .bb-ph-tabs a { display: inline-block; min-height: 40px; padding: 10px 14px; font-size: 14px; font-weight: bold; line-height: 18px; color: #7a1c0e; text-decoration: none; background: #fff7df; border: 1px solid #d9a441; border-radius: 20px; box-sizing: border-box; }
.bb-ps .bb-ph-tabs a.bb-on { color: #fff; background: #a51212; border-color: #a51212; }
.bb-ph-count { white-space: nowrap; color: #666; }
.bb-ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 0 0 18px; }
.bb-ph-card { display: block; margin: 0; padding: 8px; text-align: center; background: #fffaf0; border: 1px solid #e6dcc6; border-radius: 10px; }
.bb-ph-card img { display: block; width: 100%; height: 160px; object-fit: contain; background: #f3ecd9; border-radius: 6px; }
.bb-ph-del { display: block; width: 100%; min-height: 40px; margin: 8px 0 0; padding: 8px; font: bold 14px Arial, Helvetica, sans-serif; color: #a51212; background: #fff; border: 1px solid #d9b0b0; border-radius: 8px; cursor: pointer; }
.bb-ph-del:hover { background: #fdecec; }
.bb-ph-choose { cursor: pointer; }
.bb-ph-radio { display: block; min-height: 40px; padding: 10px 0 0; font-size: 14px; }
.bb-ph-radio input { width: 18px; height: 18px; vertical-align: middle; }
.bb-ph-radio input:checked + span { font-weight: bold; color: #a51212; }
.bb-ph-none { padding: 14px; color: #555; background: #fffaf0; border: 1px dashed #d8b65a; border-radius: 10px; }
.bb-ph-add h2 { margin: 0 0 10px; padding-top: 14px; font: bold 18px Arial, Helvetica, sans-serif; color: #7a1c0e; border-top: 1px solid #eee3c2; }
.bb-ph #bb-ph-main .bb-ps-go { max-width: 320px; }
/* a photo is never wider than the place it sits in */
.bb-content img.smallpic { max-width: 100%; }

/* ---------- "Your membership expired" line under the header ---------- */
.bb-notice { margin: 0; padding: 8px 12px; font: 14px/1.4 Arial, Helvetica, sans-serif; font-weight: normal; color: #6b4a00; text-align: center; background: #fff3cd; border-bottom: 1px solid #e3c36a; }
.bb-notice a { display: inline-block; margin: 2px 0 2px 8px; padding: 5px 14px; font-weight: bold; color: #fff; text-decoration: none; background: #a51212; border-radius: 16px; }

@media (max-width: 767px) {
  /* lists of proposals and visitors: the column titles mean nothing once a row is a card */
  .bb-content tr.table_head th { display: none !important; }
  .bb-content tr.table_head th:has(input[type=checkbox]) { display: block !important; padding: 8px 10px !important; font-weight: normal; color: #333 !important; text-align: left !important; background: #f3ecd9 !important; }
  .bb-content tr.table_head th:has(input[type=checkbox]):after { content: " Select all"; }
}

/* ---------- Signup step 1 in the look of steps 2 to 4 (js: signup() adds form.bb-su-new) ---------- */
.bb-content form.bb-su-new { display: block; max-width: 600px; margin: 10px auto 24px; padding: 18px 20px 22px; font: 16px/1.45 Arial, Helvetica, sans-serif; color: #222; text-align: left; background: #fff; border: 1px solid #e6dcc6; border-radius: 12px; box-sizing: border-box; }
.bb-content form.bb-su-new .bb-su-h1 { margin: 6px 0 4px; font: bold 24px/1.2 Arial, Helvetica, sans-serif; color: #7a1c0e; }
.bb-content form.bb-su-new .bb-su-lead { margin: 0 0 12px; font: 16px/1.45 Arial, Helvetica, sans-serif; color: #444; }
.bb-content form.bb-su-new .bb-ps-progress li b { font-weight: inherit; }
/* the old layout tables become plain blocks: each label above its field */
.bb-content form.bb-su-new #slideOne, .bb-content form.bb-su-new #slideOne table, .bb-content form.bb-su-new #slideOne tbody, .bb-content form.bb-su-new #slideOne tr, .bb-content form.bb-su-new #slideOne td { display: block; width: auto !important; height: auto !important; margin: 0; padding: 0 !important; text-align: left !important; background: none !important; border: 0 !important; box-sizing: border-box; }
.bb-content form.bb-su-new #slideOne tr.bb-optional, .bb-content form.bb-su-new #slideOne tr.bb-optional-toggle, .bb-content form.bb-su-new #slideOne .bb-none, .bb-content form.bb-su-new .bb-su-hide, .bb-content form.bb-su-new span.field_required, .bb-content form.bb-su-new .bb-su-intro { display: none !important; }
.bb-content form.bb-su-new #slideOne tr.bb-su-field { margin: 0 0 14px; }
.bb-content form.bb-su-new #slideOne tr.bb-su-field > td { font: 13px/1.4 Arial, Helvetica, sans-serif; color: #666; }
.bb-content form.bb-su-new #slideOne tr.bb-su-field > td.txtbold { margin: 0 0 6px; font: bold 15px/1.3 Arial, Helvetica, sans-serif; color: #333; }
.bb-content form.bb-su-new #slideOne input[type=text], .bb-content form.bb-su-new #slideOne input[type=password], .bb-content form.bb-su-new #slideOne input[type=email], .bb-content form.bb-su-new #slideOne input[type=tel], .bb-content form.bb-su-new #slideOne input:not([type]), .bb-content form.bb-su-new #slideOne select { display: block; width: 100% !important; max-width: none !important; min-height: 46px; height: auto; margin: 0 0 4px; padding: 10px 12px; font: 16px/1.3 Arial, Helvetica, sans-serif; color: #222; background: #fff; border: 1px solid #b9b0a0 !important; border-radius: 8px; box-sizing: border-box; -webkit-appearance: none; appearance: none; }
.bb-content form.bb-su-new #slideOne select { padding-right: 30px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center; }
.bb-content form.bb-su-new #slideOne input:focus, .bb-content form.bb-su-new #slideOne select:focus { border-color: #2f6db5 !important; outline: 2px solid #cfe0f5; }
.bb-content form.bb-su-new #slideOne td.bb-su-pw { position: relative; }
.bb-content form.bb-su-new #slideOne td.bb-su-pw input { padding-right: 86px; }
.bb-content form.bb-su-new #slideOne td.bb-su-pw .bb-showpw { position: absolute; top: 5px; right: 5px; display: block !important; min-width: 66px !important; min-height: 36px !important; margin: 0 !important; padding: 4px 10px; }
.bb-content form.bb-su-new #slideOne td.bb-su-bday { display: flex !important; flex-wrap: wrap; gap: 8px; }
.bb-content form.bb-su-new #slideOne td.bb-su-bday select { flex: 1 1 0; width: auto !important; min-width: 0; margin: 0; }
.bb-content form.bb-su-new #slideOne td.bb-su-bday .bb-hint { flex: 0 0 100%; }
.bb-content form.bb-su-new .bb-su-gender { margin: 0 0 4px; }
.bb-content form.bb-su-new .bb-su-gender .bb-ps-chip span { min-width: 96px; font: 16px/20px Arial, Helvetica, sans-serif; text-align: center; }
.bb-content form.bb-su-new .bb-short { max-width: none; margin: 6px 0 0; padding: 0; }
.bb-content form.bb-su-new .bb-short-terms { font-size: 15px; color: #333; }
.bb-content form.bb-su-new .bb-short-terms a { font-size: inherit; color: #003799; text-decoration: underline; }
.bb-content form.bb-su-new .bb-short-note { font-size: 14px; color: #555; text-align: center; }
.bb-content form.bb-su-new .registrationerror:not(:empty) { margin: 0 0 12px; padding: 10px 12px; font-size: 15px; color: #8a1010; background: #fdecec; border: 1px solid #f1b5b5; border-radius: 8px; }
@media (max-width: 767px) {
  .bb-content form.bb-su-new { margin: 6px 8px 18px; padding: 14px 14px 18px; border-radius: 10px; }
  .bb-content form.bb-su-new .bb-su-h1 { font-size: 21px; }
}
.bb-content td.bb-su-holder { border: 0 !important; background: none !important; }
.bb-content form.bb-su-new .bb-su-gender, .bb-content form.bb-su-new .bb-su-gender * { box-sizing: border-box; }
.bb-content form.bb-su-new .bb-su-gender label { display: inline-block; margin: 0; }

/* ---------- Member menu (views/indexsidebar.php): plain lists on a light card ---------- */
.bb-content #panelmenu { width: 214px !important; background: #fff !important; border: 1px solid #e6dcc6; border-radius: 10px; overflow: hidden; }
.bb-content #panelmenu > b { display: none !important; }
.bb-content #panelmenu table, .bb-content #panelmenu td { background: none !important; }
.bb-content #panelmenu td { padding: 4px !important; }
.bb-mm { padding: 2px 4px 8px; font: 14px/1.3 Arial, Helvetica, sans-serif; color: #222; text-align: left; }
.bb-mm h3 { margin: 14px 0 4px; padding: 0 8px; font: bold 12px/1.3 Arial, Helvetica, sans-serif; letter-spacing: .05em; text-transform: uppercase; color: #8a6d3b; background: none; border: 0; }
.bb-mm h3:first-child { margin-top: 8px; }
.bb-mm ul { margin: 0; padding: 0; list-style: none; }
.bb-mm li { margin: 0; padding: 0; list-style: none; background: none; }
.bb-content .bb-mm a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 8px; font: 14px/1.3 Arial, Helvetica, sans-serif; color: #222 !important; text-decoration: none !important; border-radius: 6px; }
.bb-content .bb-mm a:hover { background: #fff7df; }
.bb-content .bb-mm a.bb-on { font-weight: bold; color: #a51212 !important; background: #fdf1f1; }
.bb-content .bb-mm a.bb-mm-quiet { color: #777 !important; }
.bb-mm-n { flex: 0 0 auto; min-width: 22px; padding: 2px 7px; font: bold 12px/1.3 Arial, Helvetica, sans-serif; color: #fff; text-align: center; background: #a51212; border-radius: 11px; box-sizing: border-box; }
.bb-mm-ad { margin: 14px 0 0; text-align: center; }
@media (max-width: 767px) {
  .bb-content #panelmenu { width: auto !important; margin: 0 0 10px; }
  .bb-mm { padding: 4px 8px 10px; }
  .bb-mm h3 { margin: 16px 0 2px; font-size: 13px; }
  .bb-content .bb-mm a { min-height: 46px; padding: 12px 8px; font-size: 16px; border-bottom: 1px solid #f3ecd9; border-radius: 0; }
  .bb-mm li:last-child a { border-bottom: 0; }
  .bb-mm-ad { display: none !important; }
}

/* ---- a profile that is not approved yet: bar under the header, and the note on other members' profiles ---- */
.bb-notice.bb-wait { text-align: left; padding: 10px 14px; font-size: 15px; line-height: 1.45; color: #4d3a00; }
.bb-notice.bb-wait strong { color: #3a2a00; }
.bb-notice.bb-wait a { margin-left: 6px; }
.bb-content .bb-p-wait { margin: 10px 8px; padding: 12px 14px; font: 15px/1.45 Arial, Helvetica, sans-serif; color: #4d3a00; text-align: left; background: #fff8e1; border: 1px solid #e3c36a; border-radius: 10px; }
.bb-content .bb-p-wait p { margin: 0 0 8px; }
.bb-content .bb-p-wait p:last-child { margin-bottom: 0; }
.bb-content .bb-p-wait strong { display: block; margin-bottom: 2px; font-size: 16px; color: #3a2a00; }
.bb-content .bb-p-wait a { display: inline-block; box-sizing: border-box; min-height: 42px; margin: 4px 8px 0 0; padding: 0 18px; font: bold 15px/42px Arial, Helvetica, sans-serif; text-decoration: none; border-radius: 21px; }
.bb-content .bb-p-wait a.bb-p-wait-go { color: #fff; background: #a51212; }
.bb-content .bb-p-wait a.bb-p-wait-fav { color: #8a1010; background: #fff; border: 1px solid #c9a44a; line-height: 40px; }
.bb-content .bb-p-wait .bb-p-wait-saved { display: inline-block; margin-top: 4px; color: #2d6a2d; font-weight: bold; }
@media (max-width: 760px) {
  .bb-notice.bb-wait { text-align: center; padding: 8px 12px; font-size: 14px; line-height: 1.4; }
  .bb-notice.bb-wait strong, .bb-notice.bb-wait span { display: block; }
  .bb-content .bb-p-wait { margin: 10px; }
}

/* ---- profile steps: "Help me write this" under the free-text boxes ---- */
.bb-ps-write { display: flex; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.bb-ps-write-btn { box-sizing: border-box; min-height: 40px; margin: 0 10px 4px 0; padding: 0 16px; font: bold 15px/38px Arial, Helvetica, sans-serif; color: #8a1010; background: #fff; border: 1px solid #c9a44a; border-radius: 20px; cursor: pointer; }
.bb-ps-write-btn:hover, .bb-ps-write-btn:focus { background: #fff3cf; }
.bb-ps-write-btn[disabled] { color: #8c8577; border-color: #d8d2c4; background: #f6f3ec; cursor: default; }
.bb-ps-write-note { flex: 1 1 200px; font: 14px/1.4 Arial, Helvetica, sans-serif; color: #2d6a2d; }
.bb-ps-write-note.bb-ps-write-bad { color: #8a1010; }
.bb-ps-write-undo { margin: 0; padding: 2px 4px; font: bold 14px/1.4 Arial, Helvetica, sans-serif; color: #1f4f96; text-decoration: underline; background: none; border: 0; cursor: pointer; }
.bb-ps p.bb-ps-write-tip, .bb-content p.bb-ps-write-tip { margin: 6px 0 0; font: 13px/1.45 Arial, Helvetica, sans-serif; color: #6b6253; }
.bb-ps-speak-btn { box-sizing: border-box; min-height: 40px; margin: 0 10px 4px 0; padding: 0 16px 0 14px; font: bold 15px/38px Arial, Helvetica, sans-serif; color: #1f4f96; background: #fff; border: 1px solid #9db7dd; border-radius: 20px; cursor: pointer; }
.bb-ps-speak-btn:before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: #1f4f96; vertical-align: 1px; }
.bb-ps-speak-btn:hover, .bb-ps-speak-btn:focus { background: #eef4fc; }
.bb-ps-speak-btn.bb-ps-speak-on { color: #fff; background: #b3261e; border-color: #b3261e; }
.bb-ps-speak-btn.bb-ps-speak-on:before { background: #fff; animation: bb-ps-pulse 1s ease-in-out infinite; }
.bb-ps-speak-btn[disabled] { color: #8c8577; border-color: #d8d2c4; background: #f6f3ec; cursor: default; }
.bb-ps-speak-btn[disabled]:before { background: #b9b0a0; }
.bb-ps-speak-btn[hidden], .bb-ps p.bb-ps-write-tip[hidden], .bb-content p.bb-ps-write-tip[hidden] { display: none; }
@keyframes bb-ps-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .bb-ps-speak-btn.bb-ps-speak-on:before { animation: none; } }

/* ---- Verify my profile: document uploads (views/uploaddocsnapl.php) ---- */
.bb-doc ul.bb-doc-how { margin: 0 0 14px; padding: 0 0 0 20px; font: 15px/1.5 Arial, Helvetica, sans-serif; color: #444; }
.bb-doc ul.bb-doc-how li { margin: 0 0 4px; list-style: disc; }
.bb-doc p.bb-doc-count { margin: 0 0 14px; padding: 8px 12px; font: 15px/1.4 Arial, Helvetica, sans-serif; color: #4d3a00; background: #fff8e1; border: 1px solid #e3c36a; border-radius: 8px; }
.bb-doc-card { display: block; margin: 0 0 14px; padding: 14px; background: #fff; border: 1px solid #e6dcc6; border-radius: 12px; }
.bb-doc-card.bb-doc-has { border-color: #b9d8b9; }
.bb-doc-head { display: flex; align-items: center; flex-wrap: wrap; margin: 0 0 6px; }
.bb-doc-no { flex: 0 0 auto; width: 28px; height: 28px; margin-right: 10px; font: bold 15px/28px Arial, Helvetica, sans-serif; color: #fff; text-align: center; background: #a51212; border-radius: 50%; }
.bb-doc-has .bb-doc-no { background: #2d6a2d; }
.bb-ps.bb-doc .bb-doc-head h2 { flex: 1 1 auto; margin: 0; padding: 0; font: bold 18px/1.3 Arial, Helvetica, sans-serif; color: #7a1c0e; border: 0; }
.bb-doc-state { flex: 0 0 auto; padding: 3px 10px; font: bold 13px/1.4 Arial, Helvetica, sans-serif; color: #6b6253; background: #f3efe6; border-radius: 12px; }
.bb-doc-state.bb-doc-ok { color: #fff; background: #2d6a2d; }
.bb-doc p.bb-doc-hint { margin: 0 0 10px; font: 15px/1.45 Arial, Helvetica, sans-serif; color: #444; }
.bb-doc-thumb { display: block; margin: 0 0 10px; }
.bb-doc-thumb img { display: block; max-width: 100%; max-height: 220px; border: 1px solid #e6dcc6; border-radius: 8px; background: #f3ecd9; }
.bb-doc p.bb-doc-err { margin: 0 0 10px; padding: 8px 12px; font: 15px/1.4 Arial, Helvetica, sans-serif; color: #8a1010; background: #fdecec; border: 1px solid #e7b3b3; border-radius: 8px; }
.bb-doc p.bb-doc-err[hidden] { display: none; }
.bb-doc p.bb-doc-saved { margin: 0 0 10px; font: bold 15px/1.4 Arial, Helvetica, sans-serif; color: #2d6a2d; }
.bb-doc-btns { display: flex; flex-wrap: wrap; }
.bb-doc-btn { position: relative; display: block; box-sizing: border-box; flex: 1 1 200px; max-width: 320px; min-height: 50px; margin: 0 10px 8px 0; padding: 0 16px; font: bold 16px/48px Arial, Helvetica, sans-serif; color: #8a1010; text-align: center; background: #fff; border: 1px solid #c9a44a; border-radius: 10px; cursor: pointer; overflow: hidden; }
.bb-doc-btn.bb-doc-cam { color: #fff; background: #a51212; border-color: #a51212; }
.bb-doc-btn:hover { background: #fff3cf; }
.bb-doc-btn.bb-doc-cam:hover { background: #8a1010; }
.bb-doc-btn input.bb-doc-in { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.bb-doc-btn:focus-within { outline: 2px solid #cfe0f5; }
.bb-doc p.bb-doc-msg { margin: 0; min-height: 0; font: 15px/1.4 Arial, Helvetica, sans-serif; color: #1f4f96; }
.bb-doc p.bb-doc-foot { margin: 4px 0 0; font: 14px/1.45 Arial, Helvetica, sans-serif; color: #6b6253; }
/* a computer has no camera worth offering: one button there */
@media (hover: hover) and (pointer: fine) { .bb-doc-btn.bb-doc-cam { display: none; } .bb-doc-btn.bb-doc-pick { color: #fff; background: #a51212; border-color: #a51212; } .bb-doc-btn.bb-doc-pick:hover { background: #8a1010; } }
@media (max-width: 760px) { .bb-doc-btn { flex: 1 1 100%; max-width: none; margin-right: 0; } }
.bb-content p.bb-ps-write-tip { text-align: left; }
.bb-content .bb-ps-write { text-align: left; }

/* ---- profile steps: "Tell us about yourself" (speak once, the steps come pre-filled) ---- */
.bb-ps-tell-card { margin: 0 0 16px; padding: 14px 16px; background: #fffaf0; border: 1px solid #e6dcc6; border-radius: 12px; }
.bb-ps-tell-card strong { display: block; margin: 0 0 6px; font: bold 16px/1.3 Arial, Helvetica, sans-serif; color: #7a1c0e; }
.bb-ps .bb-ps-tell-card ul { margin: 0; padding: 0 0 0 20px; }
.bb-ps .bb-ps-tell-card li { margin: 0 0 4px; font: 15px/1.45 Arial, Helvetica, sans-serif; color: #333; list-style: disc; }
.bb-ps .bb-ps-tell-btn { min-height: 60px; font-size: 19px; }
.bb-ps .bb-ps-tell-btn.bb-ps-tell-on { background: #b3261e; animation: bb-ps-pulse 1.4s ease-in-out infinite; }
.bb-ps .bb-ps-tell-btn[disabled] { color: #fff; background: #b9b0a0; border-color: #b9b0a0; cursor: default; animation: none; }
.bb-ps p.bb-ps-tell-time { margin: 10px 0 0; font: bold 22px/1.2 Arial, Helvetica, sans-serif; color: #b3261e; text-align: center; }
.bb-ps p.bb-ps-tell-time[hidden], .bb-ps p.bb-ps-tell-nomic[hidden] { display: none; }
.bb-ps p.bb-ps-tell-note { margin: 10px 0 0; min-height: 22px; font: 16px/1.4 Arial, Helvetica, sans-serif; color: #1f4f96; text-align: center; }
.bb-ps p.bb-ps-tell-note.bb-ps-tell-bad { color: #8a1010; }
.bb-ps p.bb-ps-tell-nomic { margin: 0; padding: 10px 12px; font: 15px/1.4 Arial, Helvetica, sans-serif; color: #8a1010; background: #fdecec; border: 1px solid #e7b3b3; border-radius: 8px; }
.bb-ps p.bb-ps-need a { font-weight: bold; }
@media (prefers-reduced-motion: reduce) { .bb-ps .bb-ps-tell-btn.bb-ps-tell-on { animation: none; } }
.bb-ps-missing i { font-style: normal; }

/* ---- desktop: the old pages were written at 10 and 11 pixels; make them readable (phones have their own rules) ---- */
@media (min-width: 761px) {
  .bb-content { font-size: 13px; }
  :where(.bb-content) a { font-size: 13px; }
  .bb-content .normaltxt, .bb-content .boldtxt, .bb-content .normal10txt, .bb-content .bold10txt, .bb-content .smallText,
  .bb-content .module_detail, .bb-content .module_detail_inside, .bb-content .gen_test1, .bb-content .span_a,
  .bb-content .input80css, .bb-content .select50css, .bb-content .select80css, .bb-content .regi2addresscss,
  .bb-content .module_head_right, .bb-content .module_head_right a, .bb-content th,
  .bb-content a.manage_table_hlink2, .bb-content a.manage_table_hlink5, .bb-content #rightbodymoreNew1,
  .bb-content .dfeader_mid_innercont, .bb-content .dfeader_mid_innercont p { font-size: 13px; }
  .bb-content .navcontainer ul, .bb-content .navcontainer ul li a { font-size: 12px; }
  .bb-content td.fieldname, .bb-content .fieldname { font-size: 13px; }
  .bb-content span[style*="8.5pt"], .bb-content font[style*="8.5pt"], .bb-content p[style*="8.5pt"] { font-size: 13px !important; line-height: 1.5; }
}

/* ---- any old "Choose File" control becomes a large button with the chosen file's name under it (bb-forms.js) ---- */
.bb-content label.bb-file-btn { position: relative; display: inline-block; box-sizing: border-box; min-height: 48px; margin: 4px 8px 6px 0; padding: 0 20px; font: bold 16px/46px Arial, Helvetica, sans-serif; color: #8a1010; text-align: center; background: #fff; border: 1px solid #c9a44a; border-radius: 10px; cursor: pointer; overflow: hidden; }
.bb-content label.bb-file-btn:hover { background: #fff3cf; }
.bb-content label.bb-file-btn input[type=file] { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.bb-content label.bb-file-btn:focus-within { outline: 2px solid #cfe0f5; }
.bb-content .bb-file-name { display: block; margin: 0 0 8px; font: 14px/1.4 Arial, Helvetica, sans-serif; color: #2d6a2d; word-break: break-all; }
.bb-content .bb-file-name:empty { display: none; }
.bb-content .bb-file-hint { display: block; margin: 6px 0 0; font: 14px/1.45 Arial, Helvetica, sans-serif; color: #555; }
@media (max-width: 760px) { .bb-content label.bb-file-btn { display: block; margin-right: 0; } }
.bb-why { margin: 0 0 12px; padding: 12px 14px; font: 15px/1.45 Arial, Helvetica, sans-serif; color: #4d3a00; background: #fff8e1; border: 1px solid #e3c36a; border-radius: 10px; }
.bb-why strong { display: block; margin-bottom: 2px; font-size: 16px; color: #3a2a00; }

/* ---- desktop: the photo and document pages sit beside the member menu, so they start at its edge and use the
   width, instead of a narrow box in the middle (the profile steps have no menu and stay centred) ---- */
@media (min-width: 761px) {
  .bb-ps.bb-doc, .bb-ps.bb-ph { max-width: 980px; margin: 0 0 24px; }
  .bb-ps.bb-ph .bb-ps-go, .bb-ps.bb-ph .bb-ps-file, .bb-ps.bb-ph .bb-ps-chips.bb-ps-stack { max-width: 440px; }
}
@media (min-width: 1000px) {
  .bb-ps.bb-doc { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-items: start; }
  .bb-ps.bb-doc > h1, .bb-ps.bb-doc > p, .bb-ps.bb-doc > ul { grid-column: 1 / -1; }
  .bb-ps.bb-doc > .bb-doc-card { margin-bottom: 16px; }
}
