:root{
  --mgcs-pill-bg: transparent;
  --mgcs-pill-bg-hover: transparent;
  --mgcs-pill-color: #fff;
  --mgcs-pill-height: 36px;
  --mgcs-pill-radius: 6px;
  --mgcs-shadow: 0 18px 45px rgba(0,0,0,.18);
  --mgcs-dd-border: rgba(0,0,0,.06);
  --mgcs-dd-hover: #f1f5f9;
}
.whb-top-bar .mgcs-item{ display:inline-flex; align-items:center; font: inherit; position:relative; }
.whb-top-bar .mgcs-select{ display:none !important; }
.whb-top-bar .mgcs-trigger{
  display:inline-flex; align-items:center; gap:.4rem;
  padding:6px 12px; height: var(--mgcs-pill-height);
  background: var(--mgcs-pill-bg);
  color: var(--mgcs-pill-color);
  border:0; border-radius: var(--mgcs-pill-radius);
  cursor:pointer; font: inherit; font-weight: 500;
  text-transform: uppercase; letter-spacing: .02em;
  box-shadow:none;
}
.whb-top-bar .mgcs-trigger:hover,
.whb-top-bar .mgcs-trigger[aria-expanded="true"]{
  background: var(--mgcs-pill-bg-hover);
  color: var(--mgcs-pill-color);
}
/* Flag near label */
.whb-top-bar .mgcs-flag{
  width:16px; height:12px; object-fit:cover; border-radius:2px;
  display:inline-block;
}
/* Tiny raised caret (from v1.1.7) */
.whb-top-bar .mgcs-caret{
  width:3.3px; height:3.3px; position:relative; display:inline-block; transform: translateY(-1px);
}
.whb-top-bar .mgcs-caret::before{
  content:""; position:absolute; inset:0;
  border-right:1px solid currentColor; border-bottom:1px solid currentColor;
  transform: rotate(45deg); opacity:.9;
}
.whb-top-bar .mgcs-dropdown{
  position:absolute; top:100%; right:0; left:auto; z-index:9999;
  min-width:240px; padding:8px; margin:0;
  background:#fff; color:#111; border:1px solid var(--mgcs-dd-border);
  border-radius:12px; box-shadow: var(--mgcs-shadow);
  list-style:none; display:none;
}
.whb-top-bar .mgcs-option{
  display:flex; align-items:center; gap:.6rem;
  padding:10px 12px; border-radius:10px; cursor:pointer;
  font: inherit; font-size:14px; color:#111;
}
.whb-top-bar .mgcs-option:hover,
.whb-top-bar .mgcs-option[aria-selected="true"]{ background: var(--mgcs-dd-hover); }