/* ===== FCP language + currency bar (added by the local copy) ===== */
:root{ --fcp-bar-h:40px; }
@media (max-width:640px){ :root{ --fcp-bar-h:46px; } }

/* Reserve the bar's height up front. Doing this in CSS rather than from script
   means the page is laid out correctly on the first paint and nothing shifts
   down once the bar mounts. */
body{ padding-top:var(--fcp-bar-h) !important; }

.fcp-bar{
  position:fixed; top:0; left:0; right:0; z-index:2147482000;
  height:var(--fcp-bar-h);
  display:flex; align-items:center; justify-content:flex-end; gap:8px;
  padding:0 14px; padding-right:max(14px, env(safe-area-inset-right,0px));
  padding-left:max(14px, env(safe-area-inset-left,0px));
  background:#0e1a2b; color:#e8edf4;
  font:500 13px/1 'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  box-shadow:0 1px 0 rgba(255,255,255,.07);
  -webkit-font-smoothing:antialiased;
}
.fcp-bar__spacer{ margin-right:auto; font-size:12px; letter-spacing:.06em;
  text-transform:uppercase; color:#8fa3bd; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media (max-width:640px){ .fcp-bar__spacer{ display:none; } }

.fcp-btn{
  display:inline-flex; align-items:center; gap:7px;
  height:28px; padding:0 11px; border:1px solid rgba(255,255,255,.18);
  border-radius:999px; background:rgba(255,255,255,.06); color:#e8edf4;
  font:inherit; cursor:pointer; white-space:nowrap; transition:background .15s,border-color .15s;
}
.fcp-btn:hover{ background:rgba(255,255,255,.13); border-color:rgba(255,255,255,.3); }
.fcp-btn:focus-visible{ outline:2px solid #7fb2ff; outline-offset:2px; }
.fcp-btn[aria-expanded="true"]{ background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.36); }
.fcp-btn__ico{ width:14px; height:14px; flex:0 0 14px; opacity:.85; }
.fcp-btn__cap{ max-width:118px; overflow:hidden; text-overflow:ellipsis; }
.fcp-btn__car{ width:8px; height:8px; flex:0 0 8px; opacity:.6; }
@media (max-width:640px){
  .fcp-bar{ justify-content:space-between; gap:6px; }
  .fcp-btn{ height:32px; flex:1 1 0; justify-content:center; min-width:0; }
  .fcp-btn__cap{ max-width:none; }
}

.fcp-pop{
  position:fixed; z-index:2147483000; width:288px; max-height:min(58vh,440px);
  display:flex; flex-direction:column; overflow:hidden;
  background:#fff; color:#12202f; border-radius:12px;
  box-shadow:0 18px 50px rgba(3,10,20,.3), 0 2px 8px rgba(3,10,20,.18);
  font:400 14px/1.4 'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
}
.fcp-pop[hidden]{ display:none !important; }
.fcp-pop__search{ padding:10px; border-bottom:1px solid #e9edf2; flex:0 0 auto; }
.fcp-pop__search input{
  width:100%; box-sizing:border-box; height:38px; padding:0 12px;
  border:1px solid #d7dee7; border-radius:8px; font:inherit; color:inherit; background:#fff;
}
.fcp-pop__search input:focus{ outline:none; border-color:#2f6fd0; box-shadow:0 0 0 3px rgba(47,111,208,.15); }
.fcp-pop__list{ overflow-y:auto; -webkit-overflow-scrolling:touch; padding:6px; flex:1 1 auto; }
.fcp-opt{
  display:flex; align-items:center; gap:10px; width:100%; box-sizing:border-box;
  min-width:0; overflow:hidden;
  padding:9px 10px; border:0; border-radius:8px; background:none; color:inherit;
  font:inherit; text-align:left; cursor:pointer;
}
.fcp-opt:hover,.fcp-opt.is-active{ background:#f1f5fa; }
.fcp-opt[aria-selected="true"]{ background:#e7f0fd; font-weight:600; }
.fcp-opt__k{ flex:0 0 42px; font-variant-numeric:tabular-nums; color:#5a6b80; font-size:12.5px;
  letter-spacing:.03em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fcp-opt__n{ flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.fcp-opt__s{ flex:0 1 auto; min-width:0; max-width:44%; color:#7d8ca0; font-size:12.5px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-align:right; }
.fcp-pop__empty{ padding:18px 12px; text-align:center; color:#7d8ca0; font-size:13px; }
.fcp-pop__note{ flex:0 0 auto; padding:9px 12px; border-top:1px solid #e9edf2;
  font-size:11.5px; line-height:1.45; color:#7d8ca0; background:#fbfcfe; }

.fcp-scrim{ position:fixed; inset:0; z-index:2147482500; background:rgba(6,14,24,.42); }
.fcp-scrim[hidden]{ display:none !important; }
@media (min-width:641px){ .fcp-scrim{ display:none; } }

@media (max-width:640px){
  .fcp-pop{
    left:0 !important; right:0 !important; top:auto !important;
    bottom:0; width:auto; max-height:76vh; border-radius:16px 16px 0 0;
    padding-bottom:env(safe-area-inset-bottom,0px);
  }
  .fcp-pop__list{ padding:6px 6px 10px; }
  .fcp-opt{ padding:13px 12px; gap:8px; }
  .fcp-opt__k{ flex:0 0 38px; font-size:12px; }
  .fcp-opt__s{ max-width:38%; }
  .fcp-pop__search input{ height:44px; font-size:16px; }
}

/* Google Translate chrome removal */
.goog-te-banner-frame,.skiptranslate iframe,#goog-gt-tt,.goog-te-balloon-frame{ display:none !important; }
body{ top:0 !important; }
.goog-text-highlight{ background:none !important; box-shadow:none !important; }

@media print{ .fcp-bar,.fcp-pop,.fcp-scrim{ display:none !important; } }
