/* Raha Models 2040 public skin — luxury glass over Cottlink sliding rows.
   Theme tokens follow html[data-theme], set in raha_master from localStorage
   or prefers-color-scheme. Every text color is paired with its surface. */
:root, html[data-theme="light"]{
  --r40-ink: var(--raha-ink, #3a2430);
  --r40-muted: var(--raha-muted, #7a4a58);
  --r40-card: var(--raha-card, #fffefc);
  --r40-panel: rgba(255,255,255,.92);
  --r40-stroke: var(--raha-line, rgba(201,162,81,.38));
  --r40-input: var(--raha-bg-2, #ffffff);
  --r40-placeholder: #7a4a58;
  --r40-chip: #fffefc;
  --r40-chip-line: rgba(201,162,81,.45);
  --r40-spec: rgba(255,248,246,.96);
  --r40-pay-bg: linear-gradient(135deg,#3a1524,#1a0b14);
  --r40-pay-ink: #fff8f0;
  --r40-pay-muted: #f3e0a8;
  --r40-shadow: 0 16px 30px rgba(90,40,55,.08);
  --gold: var(--raha-gold, #d4a84b);
  --gold2: var(--raha-gold-2, #f3e0a8);
}
html[data-theme="dark"]{
  --r40-ink: var(--raha-ink, #f6efe8);
  --r40-muted: var(--raha-muted, #d4c2c8);
  --r40-card: var(--raha-card, #1a1116);
  --r40-panel: rgba(26,17,22,.94);
  --r40-stroke: var(--raha-line, rgba(224,184,92,.32));
  --r40-input: var(--raha-bg-2, #140c12);
  --r40-placeholder: #d4c2c8;
  --r40-chip: #24181e;
  --r40-chip-line: rgba(224,184,92,.38);
  --r40-spec: rgba(20,12,18,.96);
  --r40-pay-bg: linear-gradient(135deg,#2a1620,#140c12);
  --r40-pay-ink: #fff8f0;
  --r40-pay-muted: #f3e0a8;
  --r40-shadow: 0 16px 30px rgba(0,0,0,.4);
  --gold: var(--raha-gold, #e0b85c);
  --gold2: var(--raha-gold-2, #f6e3b0);
}

/* Do not override body, header, or the luxe hero — t1057 already themes those. */

.wordmark{letter-spacing:-.05em}

/* Rank rows */
.era-2040 .sh h2,
.era-2040 .locdir h2{
  font-family:"Playfair Display",Georgia,serif;
  font-weight:700;
  letter-spacing:-.02em;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  color:var(--r40-ink);
}
.era-2040 .shs,
.era-2040 .lnk,
.era-2040 .loc-count,
.era-2040 .loc-chip,
.era-2040 .loc-card small{
  color:var(--r40-muted);
}
.era-2040 .lnk{font-weight:700}
.era-2040 .loc-card b,
.era-2040 .luxe-blog-card,
.era-2040 .luxe-blog-card h3,
.era-2040 .luxe-blog-card a{color:var(--r40-ink)}
.era-2040 .arr{color:var(--r40-ink);border-color:var(--r40-stroke);background:var(--r40-card)}

.rank-pill{
  display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;
  font-family:Inter,system-ui,sans-serif;font-size:11px;font-weight:800;
  letter-spacing:.08em;text-transform:uppercase;
}
.rsec-tier{position:relative;padding:8px 0 6px}
.rsec-tier .sh{
  margin-top:22px;padding:14px 16px 6px;border-radius:20px 20px 0 0;
  background:var(--r40-panel);color:var(--r40-ink);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  border:1px solid var(--r40-stroke);border-bottom:0;
  box-shadow:var(--r40-shadow);
}
.rsec-tier .row{
  padding:8px 16px 18px;background:var(--r40-panel);color:var(--r40-ink);
  backdrop-filter:blur(18px);
  border:1px solid var(--r40-stroke);border-top:0;border-radius:0 0 20px 20px;
  box-shadow:var(--r40-shadow);
}
.rsec-tier.t5 .rank-pill,.badge.be{background:linear-gradient(135deg,#f8e7a4,#d4a017);color:#3b2a00}
.rsec-tier.t5 .sh{box-shadow:0 0 0 1px rgba(212,160,23,.25),var(--r40-shadow)}
.rsec-tier.t4 .rank-pill{background:linear-gradient(135deg,#d7defc,#6d7cf6);color:#1e1b4b}
.rsec-tier.t3 .rank-pill{background:linear-gradient(135deg,#f3d2b1,#c08457);color:#3b2110}
.rsec-tier.t2 .rank-pill{background:#e8eef6;color:#1e3a5f}
.rsec-tier.t1 .rank-pill{background:#ececec;color:#333}
.rank-stack{margin:8px 0 28px}

.locdir{
  margin:12px 0 36px;padding:18px;border-radius:24px;
  background:var(--r40-panel);color:var(--r40-ink);
  backdrop-filter:blur(16px);border:1px solid var(--r40-stroke);
}
.locdir h2{font-family:"Playfair Display",Georgia,serif}

/* Pay-to-access: model card + sheet surfaces */
.pay-model{
  display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:10px 12px;
  border-radius:16px;background:var(--r40-pay-bg);color:var(--r40-pay-ink);
}
.pay-model img,.pay-model .ini{
  width:64px;height:64px;border-radius:14px;object-fit:cover;flex:none;
  background:linear-gradient(135deg,#b65a70,#3a1524);color:var(--r40-pay-ink);
}
.pay-model .ini{display:flex;align-items:center;justify-content:center;font-weight:800}
.pay-model b{display:block;font-size:16px;color:var(--r40-pay-ink);font-weight:800}
.pay-model span{display:block;color:var(--r40-pay-muted);font-size:13px;margin-top:2px;opacity:1}

.pay-sheet .pbox,
#rahaPaySheet .pbox,
#hireSheet .sheet-body,
.sheet-body{
  background:var(--r40-card) !important;
  color:var(--r40-ink) !important;
  border-color:var(--r40-stroke);
}
.pay-sheet .pbox h2,
.pay-sheet .pbox h3,
#hireSheet h3,
.sheet-body h3,
#paySheetTitle{color:var(--r40-ink) !important}
.pay-sheet .pbox .shs,
#hireSheet .shs,
.sheet-body .shs,
#paySheetStatus,
.pay-sheet .muted,
.pbox .shs{color:var(--r40-muted) !important}
.pay-sheet input,
.pay-sheet select,
.pay-sheet textarea,
#hireSheet input,
#hireSheet select,
#hireSheet textarea,
.sheet-body input,
.sheet-body select,
.sheet-body textarea{
  background:var(--r40-input) !important;
  color:var(--r40-ink) !important;
  border-color:var(--r40-stroke) !important;
}
.pay-sheet input::placeholder,
.pay-sheet textarea::placeholder,
#hireSheet input::placeholder,
.sheet-body input::placeholder,
.sheet-body textarea::placeholder{
  color:var(--r40-placeholder) !important;
  opacity:1;
}

/* Public profile spec block */
.spec-grid{
  display:grid;grid-template-columns:1fr;gap:8px 16px;margin:14px 0 16px;padding:14px 16px;
  border-radius:16px;background:var(--r40-spec);color:var(--r40-ink);
  border:1px solid var(--r40-stroke);
}
.spec-row{display:grid;grid-template-columns:minmax(120px,38%) 1fr;gap:8px;align-items:start}
.spec-row dt{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--r40-muted);padding-top:2px}
.spec-row dd{margin:0;font-weight:600;color:var(--r40-ink)}
.svc-chips{display:flex;flex-wrap:wrap;gap:6px}
.svc-chip{
  display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;
  background:var(--r40-chip);color:var(--r40-ink);border:1px solid var(--r40-chip-line);
  font-size:12px;font-weight:700;
}
.pmeta,.pmeta h1,.bio{color:var(--r40-ink)}
.pmeta .ln,.pmeta .cp,.pmeta .shs{color:var(--r40-muted)}

/* Signup / profile edit forms on the public theme */
.raha-auth-card,
.raha-auth-wide{
  background:var(--r40-card);
  color:var(--r40-ink);
}
.raha-auth-wide{max-width:760px}
.raha-lab,
.raha-auth-card .raha-lab,
.spec-services .raha-lab{
  color:var(--r40-ink);
  margin-bottom:0;
}
.raha-lab-help,
.raha-terms,
.raha-auth-card .shs{color:var(--r40-muted)}
.raha-auth-card .raha-lab input,
.raha-auth-card .raha-lab select,
.raha-auth-card .raha-lab textarea,
.raha-lab input,
.raha-lab select,
.raha-lab textarea{
  width:100%;box-sizing:border-box;
  background:var(--r40-input) !important;
  color:var(--r40-ink) !important;
  border:1px solid var(--r40-stroke) !important;
  border-radius:12px;padding:10px 12px;font-size:16px;
}
.raha-lab input::placeholder,
.raha-lab textarea::placeholder,
.raha-auth-card input::placeholder,
.raha-auth-card textarea::placeholder{
  color:var(--r40-placeholder) !important;
  opacity:1;
}
.raha-lab select option,
.raha-auth-card select option{
  background:var(--r40-input);
  color:var(--r40-ink);
}
.svc-pick{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.svc-check{
  display:inline-flex;align-items:center;gap:6px;
  border:1px solid var(--r40-chip-line);border-radius:999px;
  padding:6px 10px;font-size:13px;font-weight:600;
  background:var(--r40-chip);color:var(--r40-ink);
}
html[data-theme="dark"] .cs-fld input::placeholder,
html[data-theme="dark"] .csearch input::placeholder{
  color:var(--r40-placeholder) !important;
  opacity:1;
}

@media(min-width:744px){
  .spec-grid{grid-template-columns:1fr 1fr}
}

/* t1179 — card name/age/location/blur must stay readable in both themes.
   Root cause: .card.youth-card .nm { color:#111 } and .ln { color:#444 }
   plus .blur-contact { background:#c5c9d1 } in raha-t1053.css beat the
   darker html[data-theme="dark"] .nm/.ln/.blur-contact rules. */
html[data-theme="light"] article.card .nm,
html[data-theme="light"] article.card .nm-line,
html[data-theme="light"] article.card h3.nm,
html[data-theme="light"] article.card h3.nm-line,
html[data-theme="light"] article.card .ti,
html[data-theme="light"] article.card .ti.nm-line,
html[data-theme="light"] article.card .nm-name,
html[data-theme="light"] article.card .nm-age,
html[data-theme="light"] article.card .nm-sep,
html[data-theme="light"] article.card.youth-card .nm,
html[data-theme="light"] article.card.youth-card h3.nm,
html[data-theme="light"] article.card.youth-card .nm-name,
html[data-theme="light"] article.card.youth-card .nm-age,
html[data-theme="light"] article.card.youth-card .nm-sep,
html[data-theme="light"] .row article.card .nm,
html[data-theme="light"] .row article.card .ti,
html[data-theme="light"] .row article.card .nm-name,
html[data-theme="light"] .row article.card .nm-age{
  color:#111118 !important;
}
html[data-theme="light"] article.card .ln,
html[data-theme="light"] article.card div.ln,
html[data-theme="light"] article.card .ln span,
html[data-theme="light"] article.card .ln i,
html[data-theme="light"] article.card.youth-card .ln,
html[data-theme="light"] article.card.youth-card .ln span,
html[data-theme="light"] article.card.youth-card .ln i,
html[data-theme="light"] .row article.card .ln,
html[data-theme="light"] .row article.card .ln span,
html[data-theme="light"] article.card .pg-avail,
html[data-theme="light"] article.card .pg-avail span{
  color:#444354 !important;
}
html[data-theme="dark"] article.card .nm,
html[data-theme="dark"] article.card .nm-line,
html[data-theme="dark"] article.card h3.nm,
html[data-theme="dark"] article.card h3.nm-line,
html[data-theme="dark"] article.card .ti,
html[data-theme="dark"] article.card .ti.nm-line,
html[data-theme="dark"] article.card .nm-name,
html[data-theme="dark"] article.card .nm-age,
html[data-theme="dark"] article.card .nm-sep,
html[data-theme="dark"] article.card.youth-card .nm,
html[data-theme="dark"] article.card.youth-card h3.nm,
html[data-theme="dark"] article.card.youth-card .nm-name,
html[data-theme="dark"] article.card.youth-card .nm-age,
html[data-theme="dark"] article.card.youth-card .nm-sep,
html[data-theme="dark"] .row article.card .nm,
html[data-theme="dark"] .row article.card .ti,
html[data-theme="dark"] .row article.card .nm-name,
html[data-theme="dark"] .row article.card .nm-age,
html[data-theme="dark"] .pay-model b{
  color:#ffffff !important;
}
html[data-theme="dark"] article.card .ln,
html[data-theme="dark"] article.card div.ln,
html[data-theme="dark"] article.card .ln span,
html[data-theme="dark"] article.card .ln i,
html[data-theme="dark"] article.card.youth-card .ln,
html[data-theme="dark"] article.card.youth-card .ln span,
html[data-theme="dark"] article.card.youth-card .ln i,
html[data-theme="dark"] .row article.card .ln,
html[data-theme="dark"] .row article.card .ln span,
html[data-theme="dark"] article.card .pg-avail,
html[data-theme="dark"] article.card .pg-avail span,
html[data-theme="dark"] article.card.youth-card .pg-avail,
html[data-theme="dark"] .pay-model span{
  color:#e2dfeb !important;
}
html[data-theme="dark"] article.card .blur-contact,
html[data-theme="dark"] article.card.youth-card .blur-contact,
html[data-theme="dark"] .row article.card .blur-contact,
html[data-theme="dark"] .blur-contact{
  background:rgba(255,255,255,.08) !important;
  color:transparent !important;
  filter:blur(5px);
  box-shadow:inset 0 0 0 1px rgba(226,184,92,.14);
  border:0;
}
html[data-theme="light"] article.card .blur-contact,
html[data-theme="light"] article.card.youth-card .blur-contact,
html[data-theme="light"] .blur-contact{
  background:#d8d4de !important;
  color:transparent !important;
}

/* First paint / no explicit light toggle: follow OS dark scheme */
@media (prefers-color-scheme: dark){
  html:not([data-theme="light"]) article.card .nm,
  html:not([data-theme="light"]) article.card .nm-line,
  html:not([data-theme="light"]) article.card h3.nm,
  html:not([data-theme="light"]) article.card .ti,
  html:not([data-theme="light"]) article.card .nm-name,
  html:not([data-theme="light"]) article.card .nm-age,
  html:not([data-theme="light"]) article.card .nm-sep,
  html:not([data-theme="light"]) article.card.youth-card .nm,
  html:not([data-theme="light"]) article.card.youth-card h3.nm,
  html:not([data-theme="light"]) article.card.youth-card .nm-name,
  html:not([data-theme="light"]) article.card.youth-card .nm-age{
    color:#ffffff !important;
  }
  html:not([data-theme="light"]) article.card .ln,
  html:not([data-theme="light"]) article.card .ln span,
  html:not([data-theme="light"]) article.card .ln i,
  html:not([data-theme="light"]) article.card.youth-card .ln,
  html:not([data-theme="light"]) article.card.youth-card .ln span,
  html:not([data-theme="light"]) article.card .pg-avail{
    color:#e2dfeb !important;
  }
  html:not([data-theme="light"]) article.card .blur-contact,
  html:not([data-theme="light"]) article.card.youth-card .blur-contact,
  html:not([data-theme="light"]) .blur-contact{
    background:rgba(255,255,255,.08) !important;
    color:transparent !important;
    filter:blur(5px);
    box-shadow:inset 0 0 0 1px rgba(226,184,92,.14);
  }
}


/* t1188 — fill the dead card gap with services + intro; kill empty blur-contact */
article.card .blur-contact,
article.card.youth-card .blur-contact,
.row article.card .blur-contact{
  display:none !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border:0 !important;
  filter:none !important;
}
.card-teaser{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:8px 0 2px;
}
.card-teaser .svc-pills{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
}
.card-teaser .svc-pill,
.card-teaser .svc-more{
  display:inline-flex;
  align-items:center;
  padding:3px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.01em;
  line-height:1.2;
}
.card-teaser .card-intro{
  margin:0;
  font-size:13px;
  font-weight:600;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

html[data-theme="light"] .card-teaser .svc-pill,
html[data-theme="light"] article.card .card-teaser .svc-pill,
html[data-theme="light"] article.card.youth-card .card-teaser .svc-pill{
  background:#fff4d8;
  color:#5a3d08;
  border:1px solid #e0c37a;
}
html[data-theme="light"] .card-teaser .svc-more,
html[data-theme="light"] article.card .card-teaser .svc-more{
  background:#efeaf6;
  color:#3a3548;
  border:1px solid #d7d0e0;
}
html[data-theme="light"] .card-teaser .card-intro,
html[data-theme="light"] article.card .card-teaser .card-intro,
html[data-theme="light"] article.card.youth-card .card-teaser .card-intro{
  color:#2b2836 !important;
}

html[data-theme="dark"] .card-teaser .svc-pill,
html[data-theme="dark"] article.card .card-teaser .svc-pill,
html[data-theme="dark"] article.card.youth-card .card-teaser .svc-pill{
  background:rgba(226,184,92,.16);
  color:#ffe8b0 !important;
  border:1px solid rgba(226,184,92,.45);
}
html[data-theme="dark"] .card-teaser .svc-more,
html[data-theme="dark"] article.card .card-teaser .svc-more{
  background:rgba(255,255,255,.08);
  color:#f3f0f8 !important;
  border:1px solid rgba(255,255,255,.16);
}
html[data-theme="dark"] .card-teaser .card-intro,
html[data-theme="dark"] article.card .card-teaser .card-intro,
html[data-theme="dark"] article.card.youth-card .card-teaser .card-intro{
  color:#efeaf6 !important;
}

@media (prefers-color-scheme: dark){
  html:not([data-theme="light"]) .card-teaser .svc-pill,
  html:not([data-theme="light"]) article.card.youth-card .card-teaser .svc-pill{
    background:rgba(226,184,92,.16);
    color:#ffe8b0 !important;
    border:1px solid rgba(226,184,92,.45);
  }
  html:not([data-theme="light"]) .card-teaser .svc-more{
    background:rgba(255,255,255,.08);
    color:#f3f0f8 !important;
    border:1px solid rgba(255,255,255,.16);
  }
  html:not([data-theme="light"]) .card-teaser .card-intro,
  html:not([data-theme="light"]) article.card.youth-card .card-teaser .card-intro{
    color:#efeaf6 !important;
  }
}

/* t1189 searchable location combos */

.loc-combo{position:relative;display:block}
.loc-combo-select{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
  opacity:0;
}
.loc-combo-input{
  width:100%;box-sizing:border-box;
  border-radius:12px;padding:10px 12px;font-size:16px;font-weight:600;
}
.loc-combo-list{
  position:absolute;left:0;right:0;top:calc(100% + 4px);
  z-index:40;max-height:240px;overflow:auto;
  margin:0;padding:6px;list-style:none;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(16,12,28,.18);
}
.loc-combo-opt,.loc-combo-empty{padding:8px 10px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer}
.loc-combo-empty{cursor:default;opacity:.8}
.loc-combo-opt.is-active,.loc-combo-opt:hover{outline:none}

/* Light / admin default */
.loc-combo-input{
  background:#fff;color:#16141f;border:1px solid #cfc7d8;
}
.loc-combo-input::placeholder{color:#6f687c;opacity:1}
.loc-combo-list{background:#fff;color:#16141f;border:1px solid #d7d0e0}
.loc-combo-opt.is-selected{background:#fff4d8;color:#5a3d08}
.loc-combo-opt.is-active,.loc-combo-opt:hover{background:#efeaf6;color:#16141f}

html[data-theme="light"] .loc-combo-input,
html[data-theme="light"] .raha-lab .loc-combo-input{
  background:#fff!important;color:#16141f!important;border:1px solid #cfc7d8!important;
}
html[data-theme="light"] .loc-combo-input::placeholder{color:#6f687c!important}
html[data-theme="light"] .loc-combo-list{background:#fff;color:#16141f;border:1px solid #d7d0e0}
html[data-theme="light"] .loc-combo-opt.is-selected{background:#fff4d8;color:#5a3d08}
html[data-theme="light"] .loc-combo-opt.is-active,
html[data-theme="light"] .loc-combo-opt:hover{background:#efeaf6;color:#16141f}

html[data-theme="dark"] .loc-combo-input,
html[data-theme="dark"] .raha-lab .loc-combo-input{
  background:#1c1826!important;color:#f6f3ee!important;border:1px solid #4a4458!important;
}
html[data-theme="dark"] .loc-combo-input::placeholder{color:#c5bfce!important}
html[data-theme="dark"] .loc-combo-list{background:#1c1826;color:#f6f3ee;border:1px solid #4a4458}
html[data-theme="dark"] .loc-combo-opt.is-selected{background:rgba(226,184,92,.2);color:#ffe8b0}
html[data-theme="dark"] .loc-combo-opt.is-active,
html[data-theme="dark"] .loc-combo-opt:hover{background:rgba(255,255,255,.1);color:#fff}

@media (prefers-color-scheme: dark){
  html:not([data-theme="light"]) .loc-combo-input,
  html:not([data-theme="light"]) .raha-lab .loc-combo-input{
    background:#1c1826!important;color:#f6f3ee!important;border:1px solid #4a4458!important;
  }
  html:not([data-theme="light"]) .loc-combo-input::placeholder{color:#c5bfce!important}
  html:not([data-theme="light"]) .loc-combo-list{background:#1c1826;color:#f6f3ee;border:1px solid #4a4458}
  html:not([data-theme="light"]) .loc-combo-opt.is-selected{background:rgba(226,184,92,.2);color:#ffe8b0}
  html:not([data-theme="light"]) .loc-combo-opt.is-active,
  html:not([data-theme="light"]) .loc-combo-opt:hover{background:rgba(255,255,255,.1);color:#fff}
}

/* t1192: phone dialling-code badge */
.phone-dial{display:flex;align-items:stretch;width:100%;box-sizing:border-box}
.phone-dial-code{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  min-width:4.4rem;padding:10px 12px;
  border-radius:12px 0 0 12px;font-weight:800;font-size:15px;letter-spacing:.02em;line-height:1.2;
  border:1px solid #cfc7d8;border-right:0;background:#f4f0e8;color:#16141f;
  user-select:none;white-space:nowrap;
}
.phone-dial input,
.phone-dial #phone,
.raha-lab .phone-dial input{
  flex:1 1 auto;width:auto;min-width:0;
  border-radius:0 12px 12px 0!important;
}
html[data-theme="light"] .phone-dial-code{
  background:#f4f0e8!important;color:#16141f!important;border-color:#cfc7d8!important;
}
html[data-theme="dark"] .phone-dial-code{
  background:#2a2436!important;color:#ffe8b0!important;border-color:#4a4458!important;
}
html[data-theme="dark"] .phone-dial input,
html[data-theme="dark"] .raha-lab .phone-dial input{
  border-color:#4a4458!important;background:#1c1826!important;color:#f6f3ee!important;
}
@media (prefers-color-scheme: dark){
  html:not([data-theme="light"]) .phone-dial-code{
    background:#2a2436!important;color:#ffe8b0!important;border-color:#4a4458!important;
  }
  html:not([data-theme="light"]) .phone-dial input,
  html:not([data-theme="light"]) .raha-lab .phone-dial input{
    border-color:#4a4458!important;background:#1c1826!important;color:#f6f3ee!important;
  }
}

/* t1194 — country standalone sites + searchable Country Switcher */
.country-brand{
  display:inline-flex;align-items:center;gap:.35rem;
  margin:0 .4rem 0 .15rem;padding:.25rem .7rem;
  border-radius:999px;font-weight:800;font-size:.92rem;line-height:1.2;
  text-decoration:none;white-space:nowrap;
  background:#f4f0e8;color:#16141f;border:1px solid #cfc7d8;
}
.country-brand b{font-weight:800;color:#5a3d08}
html[data-theme="light"] .country-brand{background:#f4f0e8!important;color:#16141f!important;border-color:#cfc7d8!important}
html[data-theme="light"] .country-brand b{color:#5a3d08!important}
html[data-theme="dark"] .country-brand{background:#2a2436!important;color:#f6f3ee!important;border-color:#4a4458!important}
html[data-theme="dark"] .country-brand b{color:#ffe8b0!important}
@media (prefers-color-scheme: dark){
  html:not([data-theme="light"]) .country-brand{background:#2a2436!important;color:#f6f3ee!important;border-color:#4a4458!important}
  html:not([data-theme="light"]) .country-brand b{color:#ffe8b0!important}
}

.cswitch{position:relative;flex:0 0 auto}
.cswitch-btn{
  display:inline-flex;align-items:center;gap:.45rem;
  padding:.45rem .75rem;border-radius:999px;font-weight:800;font-size:.9rem;
  cursor:pointer;border:1px solid #cfc7d8;background:#fff;color:#16141f;
}
.cswitch-btn .cswitch-label{max-width:14rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cswitch-flag{font-size:1.1rem;line-height:1}
.cswitch-layer{position:fixed;inset:0;z-index:80}
.cswitch-bk{position:absolute;inset:0;background:rgba(16,12,28,.45)}
.cswitch-box{
  position:absolute;left:50%;top:8vh;transform:translateX(-50%);
  width:min(32rem,calc(100vw - 1.5rem));max-height:84vh;
  display:flex;flex-direction:column;
  border-radius:18px;padding:14px 14px 8px;
  background:#fff;color:#16141f;border:1px solid #d7d0e0;
  box-shadow:0 20px 50px rgba(16,12,28,.25);
}
.cswitch-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.cswitch-hd b{font-size:1.05rem;font-weight:800;color:#16141f}
.cswitch-search{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;border:1px solid #cfc7d8;background:#fff}
.cswitch-search input{
  flex:1;border:0;outline:none;background:transparent;font:inherit;font-weight:700;font-size:16px;color:#16141f;
}
.cswitch-search input::placeholder{color:#6f687c;opacity:1}
.cswitch-list{list-style:none;margin:8px 0 0;padding:0;overflow:auto;max-height:60vh}
.cswitch-item a{
  display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;
  text-decoration:none;color:#16141f;font-weight:700;
}
.cswitch-item a:hover,.cswitch-item a:focus{background:#efeaf6;color:#16141f}
.cswitch-item.is-current a{background:#fff4d8;color:#5a3d08}
.cswitch-meta{display:flex;flex-direction:column;min-width:0;flex:1}
.cswitch-meta strong{font-weight:800}
.cswitch-meta small{font-weight:700;color:#3d3950}
.cswitch-badge,.cswitch-count{
  flex:0 0 auto;font-size:12px;font-weight:800;padding:.15rem .5rem;border-radius:999px;
  background:#1e1a2a;color:#fff;
}
.cswitch-count{background:#efeaf6;color:#16141f}
.cswitch-empty{margin:10px;font-weight:700;color:#3d3950}

html[data-theme="dark"] .cswitch-btn{background:#1c1826!important;color:#f6f3ee!important;border-color:#4a4458!important}
html[data-theme="dark"] .cswitch-box{background:#1c1826!important;color:#f6f3ee!important;border-color:#4a4458!important}
html[data-theme="dark"] .cswitch-hd b{color:#f6f3ee!important}
html[data-theme="dark"] .cswitch-search{background:#16131e!important;border-color:#4a4458!important}
html[data-theme="dark"] .cswitch-search input{color:#f6f3ee!important}
html[data-theme="dark"] .cswitch-search input::placeholder{color:#c5bfce!important}
html[data-theme="dark"] .cswitch-item a{color:#f6f3ee!important}
html[data-theme="dark"] .cswitch-item a:hover,html[data-theme="dark"] .cswitch-item a:focus{background:rgba(255,255,255,.1)!important;color:#fff!important}
html[data-theme="dark"] .cswitch-item.is-current a{background:rgba(226,184,92,.2)!important;color:#ffe8b0!important}
html[data-theme="dark"] .cswitch-meta small{color:#e8e4ee!important}
html[data-theme="dark"] .cswitch-badge{background:#ffe8b0!important;color:#16141f!important}
html[data-theme="dark"] .cswitch-count{background:rgba(255,255,255,.1)!important;color:#f6f3ee!important}
html[data-theme="dark"] .cswitch-empty{color:#e8e4ee!important}

@media (prefers-color-scheme: dark){
  html:not([data-theme="light"]) .cswitch-btn{background:#1c1826!important;color:#f6f3ee!important;border-color:#4a4458!important}
  html:not([data-theme="light"]) .cswitch-box{background:#1c1826!important;color:#f6f3ee!important;border-color:#4a4458!important}
  html:not([data-theme="light"]) .cswitch-hd b{color:#f6f3ee!important}
  html:not([data-theme="light"]) .cswitch-search{background:#16131e!important;border-color:#4a4458!important}
  html:not([data-theme="light"]) .cswitch-search input{color:#f6f3ee!important}
  html:not([data-theme="light"]) .cswitch-search input::placeholder{color:#c5bfce!important}
  html:not([data-theme="light"]) .cswitch-item a{color:#f6f3ee!important}
  html:not([data-theme="light"]) .cswitch-item a:hover,
  html:not([data-theme="light"]) .cswitch-item a:focus{background:rgba(255,255,255,.1)!important;color:#fff!important}
  html:not([data-theme="light"]) .cswitch-item.is-current a{background:rgba(226,184,92,.2)!important;color:#ffe8b0!important}
  html:not([data-theme="light"]) .cswitch-meta small{color:#e8e4ee!important}
  html:not([data-theme="light"]) .cswitch-badge{background:#ffe8b0!important;color:#16141f!important}
  html:not([data-theme="light"]) .cswitch-count{background:rgba(255,255,255,.1)!important;color:#f6f3ee!important}
  html:not([data-theme="light"]) .cswitch-empty{color:#e8e4ee!important}
}

.country-search{display:flex;gap:8px;align-items:stretch;margin:1rem 0 .4rem;max-width:40rem}
.country-search .cs-fld{flex:1;display:flex;flex-direction:column;gap:4px}
.country-search .cs-fld span{font-weight:800;font-size:.8rem;color:#3d3950}
.country-search .cs-fld input{
  width:100%;border-radius:12px;padding:10px 12px;font-weight:700;font-size:16px;
  border:1px solid #cfc7d8;background:#fff;color:#16141f;
}
.country-search .cs-go{
  align-self:flex-end;min-width:3rem;border-radius:12px;padding:10px 14px;font-weight:800;
  border:1px solid #1e1a2a;background:#1e1a2a;color:#fff;cursor:pointer;
}
html[data-theme="dark"] .country-search .cs-fld span{color:#e8e4ee!important}
html[data-theme="dark"] .country-search .cs-fld input{background:#1c1826!important;color:#f6f3ee!important;border-color:#4a4458!important}
html[data-theme="dark"] .country-search .cs-go{background:#ffe8b0!important;color:#16141f!important;border-color:#ffe8b0!important}
@media (prefers-color-scheme: dark){
  html:not([data-theme="light"]) .country-search .cs-fld span{color:#e8e4ee!important}
  html:not([data-theme="light"]) .country-search .cs-fld input{background:#1c1826!important;color:#f6f3ee!important;border-color:#4a4458!important}
  html:not([data-theme="light"]) .country-search .cs-go{background:#ffe8b0!important;color:#16141f!important;border-color:#ffe8b0!important}
}

.country-empty-card{
  margin:1.2rem 0 2rem;padding:1.5rem 1.4rem;border-radius:20px;
  background:#fff;color:#16141f;border:1px solid #d7d0e0;
  box-shadow:0 8px 24px rgba(16,12,28,.08);
}
.country-empty-kicker{margin:0 0 .4rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:.75rem;color:#5a3d08}
.country-empty-card h2{margin:0 0 .6rem;font-size:1.55rem;line-height:1.25;color:#16141f}
.country-empty-card p{margin:0 0 1rem;font-weight:600;line-height:1.55;color:#3d3950}
.country-empty-actions{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin:0!important}
.country-join-foot{margin:1rem auto 2rem}

html[data-theme="dark"] .country-empty-card{background:#1c1826!important;color:#f6f3ee!important;border-color:#4a4458!important}
html[data-theme="dark"] .country-empty-kicker{color:#ffe8b0!important}
html[data-theme="dark"] .country-empty-card h2{color:#fff!important}
html[data-theme="dark"] .country-empty-card p{color:#e8e4ee!important}
@media (prefers-color-scheme: dark){
  html:not([data-theme="light"]) .country-empty-card{background:#1c1826!important;color:#f6f3ee!important;border-color:#4a4458!important}
  html:not([data-theme="light"]) .country-empty-kicker{color:#ffe8b0!important}
  html:not([data-theme="light"]) .country-empty-card h2{color:#fff!important}
  html:not([data-theme="light"]) .country-empty-card p{color:#e8e4ee!important}
}

@media (max-width: 720px){
  .country-brand{display:none}
  .cswitch-btn .cswitch-label{max-width:9rem}
  .hdr-in{flex-wrap:wrap}
}
