/* ============================================================
 * chrome.css — TopBar 二代 chrome
 *   · LangSwitcher (6 langs)  · SystemTray (BlackCard + socials)
 *   · dApp CTA pill           · MobileDrawer (hamburger)
 *   全部遵循 §3 视觉系统：金色唯一彩色 · IBM Plex · 1px hairline
 * ============================================================ */

/* ---------- shared icon button (lang + tray) ---------- */
.tb-icon-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid rgba(201,168,106,0.20);
  border-radius: 4px;
  color: var(--txt-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: color 140ms var(--ease-out), border-color 140ms var(--ease-out), background 140ms var(--ease-out);
}
.tb-icon-btn:hover { color: var(--gold-bright); border-color: rgba(201,168,106,0.45); background: rgba(201,168,106,0.06); }
.tb-icon-btn.is-open { color: var(--gold-bright); border-color: rgba(201,168,106,0.55); background: rgba(201,168,106,0.10); }
.tb-icon-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.tb-icon-btn .caret { font-size: 8px; opacity: 0.55; line-height: 1; margin-left: 1px; }

.tb-lang { min-width: 60px; position: relative; z-index: 10; }
.tb-lang__code { font-variant-numeric: tabular-nums; letter-spacing: 0.16em; }

.tb-tray { width: 32px; padding: 0; justify-content: center; position: relative; z-index: 10; }
.tb-tray svg { width: 12px; height: 14px; }

/* ---------- dApp CTA (gold-filled pill) ---------- */
.tb-dapp {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px;
  padding: 0 14px;
  position: relative;
  z-index: 5;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: #1a1410;
  border: 0;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,231,166,0.45),
    inset 0 -1px 0 rgba(139,107,47,0.30),
    0 2px 10px rgba(201,168,106,0.30);
  transition: filter 140ms var(--ease-out), box-shadow 140ms var(--ease-out), transform 80ms var(--ease-out);
  white-space: nowrap;
  position: relative;
}
.tb-dapp::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 9999px; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.30) 50%, transparent 70%);
  background-size: 220% 100%;
  background-position: 200% 0;
  opacity: 0;
  transition: opacity 240ms var(--ease-out), background-position 700ms var(--ease-out);
}
.tb-dapp:hover {
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,231,166,0.55),
    inset 0 -1px 0 rgba(139,107,47,0.30),
    0 6px 20px rgba(201,168,106,0.48);
}
.tb-dapp:hover::after { opacity: 0.7; background-position: 0 0; }
.tb-dapp:active { transform: translateY(1px); }
.tb-dapp__arrow {
  font-family: var(--font-mono);
  font-size: 12px; line-height: 1;
  font-weight: 700;
  transform: translateY(-0.5px);
}
.tb-dapp--mobile {
  width: 44px;
  padding: 0;
  gap: 3px;
  letter-spacing: 0.10em;
  font-size: 10.5px;
}

/* ---------- Popover (shared by lang + tray) ---------- */
.tb-pop-backdrop {
  position: fixed; inset: 0; z-index: 998;
  background: transparent;
}
.tb-pop {
  position: fixed;
  z-index: 999;
  background: linear-gradient(180deg, #0d0a07 0%, #0a0806 100%);
  border: 1px solid rgba(201,168,106,0.32);
  border-radius: 6px;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.02) inset;
  overflow: hidden;
  font-family: var(--font-sans);
  animation: tb-pop-in 200ms var(--ease-out);
  min-width: 240px;
}
@keyframes tb-pop-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.tb-pop__sec {
  padding: 8px 0;
  border-bottom: 1px solid rgba(201,168,106,0.10);
}
.tb-pop__sec:last-of-type { border-bottom: 0; }
.tb-pop__eyebrow {
  display: block;
  padding: 4px 14px 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.30em;
  color: rgba(201,168,106,0.55);
  text-transform: uppercase;
}

/* generic row (social / docs) */
.tb-pop__row {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 8px 14px;
  background: transparent;
  border: 0;
  color: var(--txt-1);
  font-family: var(--font-sans);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms var(--ease-out), color 120ms var(--ease-out);
}
.tb-pop__row:hover { background: rgba(201,168,106,0.08); color: var(--gold-bright); }
.tb-pop__row-icon {
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.tb-pop__row-icon i { font-size: 15px; line-height: 1; }
.tb-pop__row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.tb-pop__row-text strong { font-weight: 600; font-size: 12.5px; letter-spacing: 0.02em; }
.tb-pop__row-text small { font-family: var(--font-mono); font-size: 10px; color: var(--txt-3); letter-spacing: 0.08em; }
.tb-pop__ext {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--txt-3);
  opacity: 0.55;
  transition: opacity 120ms, color 120ms, transform 120ms var(--ease-out);
}
.tb-pop__row:hover .tb-pop__ext { opacity: 1; color: var(--gold-bright); transform: translate(2px, -2px); }

/* ---------- LANG popover ---------- */
.tb-pop--lang { min-width: 240px; }
.tb-pop__lang-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--txt-1);
  font-family: var(--font-sans);
  font-size: 13px;
  transition: background 120ms var(--ease-out), color 120ms var(--ease-out);
}
.tb-pop__lang-row:hover { background: rgba(201,168,106,0.08); color: var(--gold-bright); }
.tb-pop__lang-row.is-active { color: var(--gold-bright); background: rgba(201,168,106,0.06); }
.tb-pop__lang-left { display: flex; align-items: center; gap: 11px; }
.tb-pop__lang-code {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.20em;
  color: var(--gold);
  background: rgba(201,168,106,0.10);
  border: 1px solid rgba(201,168,106,0.25);
  padding: 2px 6px;
  border-radius: 3px;
  min-width: 32px;
  text-align: center;
}
.tb-pop__lang-row.is-active .tb-pop__lang-code {
  background: rgba(201,168,106,0.22);
  border-color: rgba(201,168,106,0.55);
  color: var(--gold-soft);
}
.tb-pop__lang-name { white-space: nowrap; letter-spacing: 0.01em; }
.tb-pop__lang-row.is-active .tb-pop__chk {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px rgba(201,168,106,0.6);
}
.tb-pop__beta {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: rgba(201,168,106,0.55);
  border: 1px solid rgba(201,168,106,0.22);
  padding: 1px 5px;
  border-radius: 2px;
}

/* ---------- TRAY popover ---------- */
.tb-pop--tray { min-width: 296px; }

.tb-pop__product {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px 13px 18px;
  text-decoration: none;
  color: var(--txt-1);
  position: relative;
  cursor: pointer;
  border-bottom: 1px solid rgba(201,168,106,0.10);
  transition: background 160ms var(--ease-out);
}
.tb-pop__product:hover { background: rgba(201,168,106,0.06); }
.tb-pop__product::before {
  content: ''; position: absolute; left: 0; top: 13px; bottom: 13px; width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold) 25% 75%, transparent);
  opacity: 0.85;
}
.tb-pop__product-icon {
  width: 36px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.tb-pop__product-icon svg { width: 32px; height: 22px; }
.tb-pop__product-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tb-pop__product-eye {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.30em;
  color: rgba(201,168,106,0.65);
  text-transform: uppercase;
}
.tb-pop__product-title {
  font-family: var(--font-serif-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.tb-pop__product-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--txt-3);
  letter-spacing: 0.02em;
}
.tb-pop__product-arrow {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--gold);
  opacity: 0.6;
  transition: opacity 140ms, transform 160ms var(--ease-out);
}
.tb-pop__product:hover .tb-pop__product-arrow { opacity: 1; transform: translate(2px, -2px); }

.tb-pop__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--txt-3);
  letter-spacing: 0.18em;
  background: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(201,168,106,0.08);
}
.tb-pop__foot .ver { color: var(--gold); }

/* ---------- Hamburger ---------- */
.tb-burger {
  display: none;
  width: 38px; height: 30px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(201,168,106,0.25);
  border-radius: 4px;
  color: var(--gold-bright);
  cursor: pointer;
}
.tb-burger:hover { border-color: rgba(201,168,106,0.50); background: rgba(201,168,106,0.06); }
.tb-burger__bars { display: flex; flex-direction: column; gap: 4px; }
.tb-burger__bars span {
  display: block; width: 16px; height: 1px;
  background: currentColor;
}

/* ---------- Mobile drawer ---------- */
.tb-drawer-bg {
  position: fixed; inset: 0; z-index: 1099;
  background: rgba(0,0,0,0.70);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: tb-drawer-bg 200ms var(--ease-out);
}
@keyframes tb-drawer-bg { from { opacity: 0; } to { opacity: 1; } }

.tb-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100;
  width: min(86vw, 360px);
  background: linear-gradient(180deg, #0a0806 0%, #0d0a07 100%);
  border-left: 1px solid rgba(201,168,106,0.32);
  box-shadow: -20px 0 60px rgba(0,0,0,0.55);
  display: flex; flex-direction: column;
  animation: tb-drawer-in 260ms var(--ease-out);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-family: var(--font-sans);
}
@keyframes tb-drawer-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.tb-drawer__h {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(201,168,106,0.18);
  flex-shrink: 0;
}
.tb-drawer__h-l { display: flex; align-items: center; gap: 10px; }
.tb-drawer__h-l img { height: 22px; width: auto; }
.tb-drawer__h-l .sep { color: rgba(201,168,106,0.4); font-size: 13px; }
.tb-drawer__h-l .product {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--gold-bright);
}
.tb-drawer__close {
  background: transparent; border: 1px solid rgba(201,168,106,0.22);
  border-radius: 4px;
  color: var(--gold);
  font-size: 18px; line-height: 1;
  cursor: pointer;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 140ms, color 140ms;
}
.tb-drawer__close:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ─── Drawer TOP — status (session + LIVE) + LAUNCH dAPP CTA ────────── */
.tb-drawer__top {
  display: flex; flex-direction: column; gap: 14px;
  padding: 18px;
  border-bottom: 1px solid rgba(201,168,106,0.16);
  background: linear-gradient(180deg, rgba(201,168,106,0.04), transparent 70%);
}
.tb-drawer__status {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
}
/* SessionPill — adopt drawer styling */
.tb-drawer__status .session-pill {
  display: inline-flex !important;          /* override mobile-hide rule */
  align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--txt-1);
  padding: 6px 10px;
  border: 1px solid rgba(201,168,106,0.22);
  border-radius: 4px;
  background: rgba(201,168,106,0.04);
}
.tb-drawer__status .session-pill__sub {
  font-size: 10px; color: var(--txt-3);
  letter-spacing: 0.12em; margin-left: 4px;
}
.tb-drawer__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.20em; color: var(--up, #34D399);
  padding: 6px 10px;
  border: 1px solid rgba(52,211,153,0.30);
  border-radius: 4px;
  background: rgba(52,211,153,0.05);
}
.tb-drawer__live .pulse {
  width: 7px; height: 7px;
}
/* LAUNCH dAPP — full-width prominent CTA */
.tb-drawer__dapp {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  min-height: 52px;
  background: linear-gradient(180deg, rgba(201,168,106,0.18), rgba(201,168,106,0.10));
  border: 1px solid rgba(201,168,106,0.55);
  border-radius: 6px;
  color: var(--gold-bright, #e6c98f);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 180ms var(--ease-out, cubic-bezier(.16,1,.3,1));
}
.tb-drawer__dapp:hover,
.tb-drawer__dapp:active {
  background: linear-gradient(180deg, rgba(201,168,106,0.30), rgba(201,168,106,0.18));
  border-color: rgba(201,168,106,0.80);
}
.tb-drawer__dapp-arrow {
  font-size: 16px; opacity: 0.85;
  transition: transform 180ms var(--ease-out, cubic-bezier(.16,1,.3,1));
}
.tb-drawer__dapp:hover .tb-drawer__dapp-arrow { transform: translate(2px, -2px); }
html[lang^='zh'] .tb-drawer__dapp { letter-spacing: 0.16em; }

.tb-drawer__sec {
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(201,168,106,0.10);
}
.tb-drawer__sec:last-of-type { border-bottom: 0; }
.tb-drawer__eye {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* nav (pages) */
.tb-drawer__nav { display: flex; flex-direction: column; gap: 2px; }
.tb-drawer__nav-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 0;
  background: transparent;
  border: 0;
  color: var(--txt-1);
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: color 120ms;
  width: 100%;
  min-height: 44px;
}
.tb-drawer__nav-btn:hover { color: var(--gold-bright); }
.tb-drawer__nav-btn.is-active { color: var(--gold-bright); }
.tb-drawer__nav-num {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  color: rgba(201,168,106,0.55);
  width: 22px; text-align: center;
  border: 1px solid rgba(201,168,106,0.18);
  border-radius: 3px;
  padding: 2px 0;
  flex-shrink: 0;
  letter-spacing: 0;
}
.tb-drawer__nav-btn.is-active .tb-drawer__nav-num { color: var(--gold); border-color: rgba(201,168,106,0.50); background: rgba(201,168,106,0.10); }
.tb-drawer__nav-lbl {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.tb-drawer__nav-btn.is-soon { opacity: 0.40; }
.tb-drawer__nav-btn.is-soon::after {
  content: 'SOON';
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(201,168,106,0.45);
}

/* language grid */
.tb-drawer__lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.tb-drawer__lang-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid rgba(201,168,106,0.18);
  border-radius: 5px;
  color: var(--txt-1);
  font-family: var(--font-sans);
  cursor: pointer;
  text-align: left;
  transition: all 160ms var(--ease-out);
  min-height: 60px;
  position: relative;
}
.tb-drawer__lang-btn:hover { border-color: rgba(201,168,106,0.42); background: rgba(201,168,106,0.05); }
.tb-drawer__lang-btn.is-active {
  border-color: var(--gold);
  background: rgba(201,168,106,0.10);
  color: var(--gold-bright);
  box-shadow: inset 0 0 0 1px rgba(230,201,136,0.06);
}
.tb-drawer__lang-btn .code {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.tb-drawer__lang-btn .beta {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(201,168,106,0.55);
  margin-left: 4px;
}
.tb-drawer__lang-btn .name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* product (BlackCard) */
.tb-drawer__product {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 14px;
  color: var(--gold-bright);
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(201,168,106,0.12) 0%, rgba(201,168,106,0.04) 100%);
  border: 1px solid rgba(201,168,106,0.30);
  border-radius: 6px;
  transition: all 180ms var(--ease-out);
  position: relative;
  overflow: hidden;
}
.tb-drawer__product::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold) 30% 70%, transparent);
}
.tb-drawer__product:hover {
  border-color: rgba(201,168,106,0.55);
  background:
    linear-gradient(135deg, rgba(201,168,106,0.18) 0%, rgba(201,168,106,0.06) 100%);
  transform: translateY(-1px);
}
.tb-drawer__product-icon { color: var(--gold); flex-shrink: 0; width: 36px; height: 24px; display: inline-flex; align-items: center; justify-content: center; }
.tb-drawer__product-icon svg { width: 32px; height: 22px; }
.tb-drawer__product-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.tb-drawer__product-eye {
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.30em;
  color: rgba(201,168,106,0.70);
}
.tb-drawer__product-title {
  font-family: var(--font-serif-display);
  font-size: 22px; font-weight: 700;
  color: var(--gold-bright);
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.tb-drawer__product-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--txt-3);
  letter-spacing: 0.02em;
}
.tb-drawer__product-arrow {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 18px;
  opacity: 0.75;
}

/* socials list */
.tb-drawer__socials { display: flex; flex-direction: column; }
.tb-drawer__social {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 0;
  color: var(--txt-1);
  font-family: var(--font-sans);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: color 120ms;
  min-height: 44px;
  border-top: 1px solid rgba(201,168,106,0.08);
}
.tb-drawer__social:first-child { border-top: 0; }
.tb-drawer__social:hover { color: var(--gold-bright); }
.tb-drawer__social-icon {
  width: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.tb-drawer__social-icon i { font-size: 18px; line-height: 1; }
.tb-drawer__social-label { flex: 1; letter-spacing: 0.02em; }
.tb-drawer__social-handle {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--txt-3);
  letter-spacing: 0.06em;
}
.tb-drawer__social .ext {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  opacity: 0.6;
  margin-left: 8px;
}
.tb-drawer__social:hover .ext { opacity: 1; }

.tb-drawer__foot {
  margin-top: auto;
  padding: 14px 18px 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--txt-3);
  letter-spacing: 0.20em;
  border-top: 1px solid rgba(201,168,106,0.12);
  display: flex; justify-content: space-between;
  flex-shrink: 0;
}
.tb-drawer__foot .ver { color: var(--gold); }

/* ---------- Responsive: hide/show desktop vs mobile chrome ---------- */
@media (max-width: 899px) {
  .tb-icon-btn.tb-lang,
  .tb-icon-btn.tb-tray,
  .tb-dapp.tb-dapp--desktop,
  .session-pill {
    display: none !important;
  }
  .tb-dapp.tb-dapp--mobile { display: inline-flex; }
  .tb-burger { display: inline-flex; }
}
@media (min-width: 900px) {
  .tb-dapp.tb-dapp--mobile { display: none; }
  .tb-burger { display: none; }
}

/* On narrow laptop, soften dApp label */
@media (max-width: 1400px) and (min-width: 900px) {
  .tb-dapp--desktop .tb-dapp__lbl-long { display: none; }
  .tb-dapp--desktop .tb-dapp__lbl-short { display: inline; }
}
@media (min-width: 1401px) {
  .tb-dapp--desktop .tb-dapp__lbl-long { display: inline; }
  .tb-dapp--desktop .tb-dapp__lbl-short { display: none; }
}

/* Slight tighter chrome at ≤1200 (no truncation of buttons) */
@media (max-width: 1200px) and (min-width: 900px) {
  .tb-icon-btn { height: 28px; padding: 0 8px; font-size: 10.5px; }
  .tb-lang { min-width: 54px; }
  .tb-tray { width: 30px; }
  .tb-dapp { height: 28px; padding: 0 12px; font-size: 10.5px; letter-spacing: 0.18em; }
  .topbar__right { gap: 10px; }
}

/* CJK tweaks */
html[lang^='zh'] .tb-pop__product-title,
html[lang='ja'] .tb-pop__product-title,
html[lang='ko'] .tb-pop__product-title {
  letter-spacing: 0.06em;
}
html[lang^='zh'] .tb-drawer__nav-lbl { letter-spacing: 0.08em; }
html[lang^='zh'] .tb-dapp { letter-spacing: 0.16em; }

/* Suppress dApp shimmer + drawer animation under reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tb-dapp::after { display: none; }
  .tb-drawer { animation: none; }
  .tb-drawer-bg { animation: none; }
  .tb-pop { animation: none; }
}
