/* 国家 / 市场切换器（电脑端顶栏 + 手机端页头） */
.bz-mkt { position: relative; display: inline-flex; font-family: 'Manrope', var(--body-font-family, sans-serif); }
.bz-mkt form { display: contents; }
.bz-flag { display: block; width: 20px; height: 13.33px; flex: 0 0 auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); overflow: hidden; }
.bz-flag--code {
  width: auto; height: auto; padding: 1px 4px; font-size: 10px; font-weight: 700; line-height: 1.3;
  background: #ececf0; color: #1d1d1f;
}

.bz-mkt__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 4px; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; -webkit-font-smoothing: antialiased;
}
.bz-mkt.is-switching .bz-mkt__btn { opacity: 0.55; pointer-events: none; }

/* 电脑端顶栏：深色底，白字 */
.bz-mkt--bar { margin-right: 22px; color: #fff; }
.bz-mkt--bar .bz-mkt__name { font-size: 13px; font-weight: 500; line-height: 19.5px; }
.bz-mkt--bar .bz-mkt__cur { font-size: 12px; line-height: 19.5px; opacity: 0.6; }
.bz-mkt--bar .bz-mkt__caret { width: 10px; height: 6px; opacity: 0.7; transition: transform 0.2s ease; }
.bz-mkt--bar.is-open .bz-mkt__caret { transform: rotate(180deg); }
.bz-mkt--bar .bz-mkt__btn:hover .bz-mkt__name { text-decoration: underline; text-underline-offset: 3px; }

/* 手机端左侧菜单：和菜单项同样的一整行，字体跟随菜单；下拉不浮层，在菜单里就地展开 */
.bz-mkt--menu { display: block; width: 100%; font-family: inherit; }
.bz-mkt--menu .bz-mkt__btn { width: 100%; gap: 10px; padding: 16px 0; color: #000; font-size: 14px; }
.bz-mkt--menu .bz-flag { width: 24px; height: 16px; }
.bz-mkt--menu .bz-mkt__name { font-weight: 500; }
.bz-mkt--menu .bz-mkt__cur { margin-left: auto; font-size: 12px; color: #3d3d45; }
.bz-mkt--menu .bz-mkt__caret { width: 11px; height: 7px; margin-left: 6px; transition: transform 0.2s ease; }
.bz-mkt--menu.is-open .bz-mkt__caret { transform: rotate(180deg); }
.bz-mkt--menu .bz-mkt__list {
  position: static; min-width: 0; margin: 0 0 12px; padding: 4px;
  background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); border-radius: 12px;
}
.bz-mkt--menu .bz-mkt__opt { font-size: 14px; padding: 12px; }
.bz-mkt--menu .bz-mkt__opt-cur { color: #3d3d45; }
.bz-mkt--menu .bz-flag { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); }

/* 下拉 */
.bz-mkt__list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  min-width: 232px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border-radius: 14px;
  box-shadow: 0 18px 40px rgba(24, 24, 26, 0.18), 0 0 0 1px rgba(24, 24, 26, 0.06);
  animation: bz-mkt-in 0.16s ease-out;
}
.bz-mkt__list[hidden] { display: none; }
@keyframes bz-mkt-in { from { opacity: 0; transform: translateY(-4px); } }
.bz-mkt__opt {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 0; border-radius: 9px; background: none; cursor: pointer;
  font: inherit; font-size: 14px; color: #1d1d1f; text-align: left;
}
.bz-mkt__opt:hover, .bz-mkt__opt:focus-visible { background: #f4f3f7; outline: none; }
.bz-mkt__opt-name { flex: 1 1 auto; font-weight: 500; }
.bz-mkt__opt-cur { font-size: 12px; color: #6e6e78; }
.bz-mkt__opt[aria-selected="true"] { background: #f4f3f7; }
.bz-mkt__opt[aria-selected="true"] .bz-mkt__opt-name::after {
  content: ''; display: inline-block; width: 10px; height: 6px; margin: 0 0 3px 8px;
  border: solid #22a06b; border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
