/* BWN — country step, chip, and money/time helpers */
.bwn-country-chip{
  appearance:none;display:inline-flex;align-items:center;gap:.4em;
  margin:0;padding:8px 12px;border-radius:999px;cursor:pointer;
  border:1px solid #d6b36b88;background:#0c1524cc;color:#ffe9b0;
  font:600 13px/1.2 Georgia,"Palatino Linotype",serif;letter-spacing:.02em;
  text-decoration:none;max-width:min(100%,22rem);white-space:nowrap;
}
.bwn-country-chip:hover,.bwn-country-chip:focus-visible{
  border-color:#ffe9b0;box-shadow:0 0 16px #e6c37a55;outline:none
}
.bwn-country-chip .flag{font-size:1.15em;line-height:1}
.bwn-country-chip .chg{opacity:.8;font-weight:500}

/* Slim bar on the split entrance */
.entree-bar{
  position:absolute;top:0;left:0;right:0;z-index:8;
  display:flex;align-items:center;justify-content:flex-end;
  padding:12px 16px 0;pointer-events:none
}
.entree-bar .bwn-country-chip{pointer-events:auto;background:#0a0a0ed9;backdrop-filter:blur(8px)}
@media (max-width:820px){
  .entree-bar{position:sticky;top:0;padding:10px 12px;background:linear-gradient(#050308ee,#05030800)}
}

/* Overlay */
html.bwn-country-pending,html.bwn-country-pending body{overflow:hidden !important}
#bwnCountryGate{
  position:fixed;inset:0;z-index:2147482000;
  display:flex;align-items:stretch;justify-content:center;
  padding:clamp(12px,3vw,28px);
  background:radial-gradient(ellipse at 50% 18%,#2a1d0c 0%,#0a0806 55%,#050403 100%);
  color:#efe6d4;font-family:Georgia,"Palatino Linotype",serif;
  overflow:hidden
}
#bwnCountryGate:before{
  content:"";position:absolute;inset:14px;border:1px solid rgba(230,195,122,.35);
  pointer-events:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.4)
}
#bwnCountryGate .box{
  position:relative;z-index:1;width:min(920px,100%);margin:auto;
  padding:clamp(16px,2.4vw,28px) clamp(14px,3vw,28px) 16px;
  display:flex;flex-direction:column;height:100%;max-height:100%;min-height:0;overflow:hidden
}
#bwnCountryGate .mark{
  display:inline-block;align-self:flex-start;flex:none;
  font:700 13px/1 Georgia;letter-spacing:.42em;color:#f5dfaa;
  border:1px solid #d6b36b88;padding:7px 11px;margin-bottom:12px
}
#bwnCountryGate h1{
  margin:0 0 8px;font-family:Cinzel,Georgia,serif;
  font-size:clamp(24px,4.2vw,42px);line-height:1.15;letter-spacing:.05em;
  color:#f6e2a8;text-shadow:0 2px 14px #000
}
#bwnCountryGate .lead{
  margin:0 0 16px;max-width:40em;font-size:clamp(15px,2vw,19px);line-height:1.45;color:#efe6d4
}
#bwnCountryGate .suggest{
  margin:0 0 14px;font-size:15px;color:#f3d98a
}
#bwnCountryGate .suggest button{
  appearance:none;background:none;border:0;padding:0;color:#f5dfaa;
  font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer
}
#bwnCountryGate .search-wrap{position:relative;margin:0 0 14px;flex:none}
#bwnCountryGate .search-wrap input{
  width:100%;box-sizing:border-box;min-height:48px;padding:10px 16px 10px 42px;
  border-radius:10px;border:1px solid #d6b36b88;background:#120e0acc;color:#fff8e6;
  font:16px/1.3 Georgia,serif;outline:none
}
#bwnCountryGate .search-wrap input:focus{border-color:#f5dfaa;box-shadow:0 0 0 3px #d6b36b44}
#bwnCountryGate .search-wrap .ico{
  position:absolute;left:14px;top:50%;width:16px;height:16px;margin-top:-8px;
  pointer-events:none;opacity:.75;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23f5dfaa' stroke-width='1.6'><circle cx='7' cy='7' r='5'/><path d='M11 11l3.2 3.2'/></svg>") no-repeat center / contain
}
#bwnCountryGate .sec-title{
  margin:6px 0 8px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#cbb98a
}
#bwnCountryGate .scroll{
  flex:1 1 auto;min-height:0;overflow:auto;margin:0 0 8px;padding-right:2px
}
#bwnCountryGate .featured{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));
  gap:8px;margin:0 0 12px
}
#bwnCountryGate .clist{
  overflow:visible;min-height:0;max-height:none;
  border:1px solid #d6b36b33;border-radius:10px;background:#0a0806aa
}
#bwnCountryGate .cbtn{
  appearance:none;display:flex;align-items:center;gap:10px;width:100%;
  text-align:start;cursor:pointer;border:1px solid transparent;
  background:#1a140ecc;color:#efe6d4;border-radius:8px;
  padding:10px 12px;font:16px/1.25 Georgia,serif
}
#bwnCountryGate .featured .cbtn{min-height:52px;justify-content:flex-start}
#bwnCountryGate .clist .cbtn{
  width:100%;border-radius:0;border:0;border-bottom:1px solid #d6b36b22;
  background:transparent;min-height:48px
}
#bwnCountryGate .cbtn .flag{font-size:1.4em;line-height:1;flex:none}
#bwnCountryGate .cbtn .meta{display:flex;flex-direction:column;min-width:0}
#bwnCountryGate .cbtn .nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#bwnCountryGate .cbtn .cc{font-size:11px;letter-spacing:.08em;color:#cbb98a}
#bwnCountryGate .cbtn:hover,#bwnCountryGate .cbtn:focus-visible{
  border-color:#f5dfaa;background:#3a2a14;outline:none;color:#fff8e6
}
#bwnCountryGate .cbtn[aria-pressed="true"],#bwnCountryGate .cbtn.sel{
  border-color:#f3d98a;background:linear-gradient(180deg,#3a2a10,#1a140c);
  box-shadow:0 0 0 1px #d6b36b88,0 6px 16px #0006;color:#f6e2a8
}
#bwnCountryGate .tz-row{margin:12px 0 0;display:none}
#bwnCountryGate .tz-row.show{display:block}
#bwnCountryGate .tz-row label{display:block;font-size:13px;letter-spacing:.08em;color:#cbb98a;margin-bottom:6px}
#bwnCountryGate .tz-row select{
  width:100%;max-width:28rem;min-height:48px;padding:8px 12px;
  border-radius:8px;border:1px solid #d6b36b88;background:#120e0a;color:#fff8e6;
  font:16px Georgia,serif
}
#bwnCountryGate .foot{flex:none;padding-top:4px}
#bwnCountryGate .actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:10px 0 8px}
#bwnCountryGate .confirm{
  appearance:none;cursor:pointer;min-height:58px;min-width:min(420px,86vw);
  padding:12px 28px;border-radius:10px;
  font:700 clamp(16px,2.2vw,22px)/1 Cinzel,Georgia,serif;letter-spacing:.06em;
  color:#1a1206;background:linear-gradient(180deg,#f3d886,#b98f2b);
  border:1px solid #fff3cc;box-shadow:0 10px 28px #0008,0 0 0 1px #7a5a22
}
#bwnCountryGate .confirm:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
#bwnCountryGate .disclaimer{
  margin:0 auto;max-width:44em;font-size:13px;line-height:1.45;color:#d8c89a;text-align:center
}
#bwnCountryGate .legal{
  margin:14px 0 0;font-size:12px;letter-spacing:.08em;text-transform:uppercase;
  color:#9a917e;text-align:center
}
#bwnCountryGate .empty{padding:18px;text-align:center;color:#cbb98a}
#bwnCountryGate[dir="rtl"] .cbtn,#bwnCountryGate[dir="rtl"] .featured .cbtn{text-align:right}
#bwnCountryGate[dir="rtl"] .search-wrap input{padding:12px 42px 12px 16px}
#bwnCountryGate[dir="rtl"] .search-wrap .ico{left:auto;right:14px}
#bwnCountryGate h1,#bwnCountryGate .lead,#bwnCountryGate .suggest{flex:none}

/* Lobby balance: allow converted amounts to wrap */
.solde-block strong{white-space:normal;line-height:1.15}
.solde-block .bwn-money-approx{display:block;font:500 12px/1.3 Georgia,serif;color:#cbb98a;letter-spacing:0;font-weight:500;margin-top:2px}
.solde-block .bwn-money-settle{display:block;font:500 11px/1.3 Georgia,serif;color:#9a917e;letter-spacing:.04em;margin-top:2px}
.lobby-top .bwn-country-chip{flex:none}
@media (max-width:600px){
  #bwnCountryGate .featured{grid-template-columns:repeat(2,1fr)}
  #bwnCountryGate .confirm{width:100%}
  .bwn-country-chip{max-width:100%;white-space:normal;text-align:start}
}
