.desk-appbar-actions {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}
.desk-appbar-actions .desk-network { margin: 0; }
.desk-bridge {
  color: var(--muted);
  font-size: .875rem;
  white-space: nowrap;
}
.desk-bridge:hover { color: var(--text); }
.desk-wallet {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.desk-wallet .desk-button { min-height: 32px; padding: 5px 10px; white-space: nowrap; }
.desk-wallet .desk-button[hidden] { display: none; }
.desk-wallet .desk-button:disabled { opacity: .78; cursor: default; }
.desk-wallet[data-wallet-state="connected"] [data-wallet-connect] {
  background: #1a2823;
  border-color: #476856;
  color: #d2e9dc;
}
.desk-wallet [data-wallet-status]:empty { display: none; }
.desk-wallet [data-wallet-status] {
  position: absolute;
  z-index: 6;
  inset: calc(100% + 9px) 0 auto auto;
  width: max-content;
  max-width: min(290px, calc(100vw - 30px));
  padding: 8px 11px;
  background: #161b18;
  border: 1px solid #536657;
  border-radius: 3px;
  color: #dce8de;
  box-shadow: 0 8px 20px #0008;
  font-size: .78rem;
}
.desk-wallet[data-wallet-state="connected"] [data-wallet-status] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
}

.hedge-topbar-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.hedge-topbar-brand { white-space:nowrap; }
.hedge-topbar-actions .hedge-topbar-cta { white-space:nowrap; }
.hedge-topbar .hedge-wallet-button {
  min-height:44px;
  padding:8px 12px;
  border:1px solid #94b6a744;
  border-radius:2px;
  color:#e6eee9;
  background:#171d1a;
  font:600 .84rem/1.15 var(--hedge-sans);
  white-space:nowrap;
  cursor:pointer;
}
.hedge-topbar .hedge-wallet-button:hover { background:#202b25; }
.hedge-topbar .hedge-wallet-button:disabled { cursor:default; }
.hedge-topbar .hedge-wallet-button:focus-visible { outline:2px solid #a5d2c1; outline-offset:3px; }
.hedge-topbar .hedge-wallet-button[hidden] { display:none; }

@media (max-width: 900px) {
  .desk .desk-appbar-inner { flex-wrap: wrap; gap: 7px 12px; }
}
@media (max-width: 610px) {
  .desk-appbar-actions .desk-network { display: none; }
  .desk-appbar-actions { flex-wrap: wrap; justify-content: flex-end; min-width: 0; gap: 8px; }
  .desk-wallet .desk-button { min-height: 32px; padding-inline: 7px; font-size: .76rem; }
}

@media (max-width: 780px) {
  .hedge-topbar-inner { flex-wrap:wrap; gap:8px; }
  .hedge-topbar-nav { order:3; width:100%; justify-content:flex-start; padding-bottom:5px; }
  .hedge-topbar-inner { padding-block:8px 4px; }
  .hedge-topbar-actions { min-width:0; margin-inline-start:auto; }
  .hedge-topbar-actions .desk-wallet { flex-wrap:wrap; justify-content:flex-end; }
  .hedge-topbar .hedge-wallet-button,
  .hedge-topbar-actions .hedge-topbar-cta { min-height:37px; padding-inline:8px; font-size:.75rem; }
}

@media (max-width: 640px) {
  .hedge-topbar-brand { gap:6px; font-size:1rem; }
  .hedge-topbar-mark { width:19px; }
  .hedge-topbar-actions { gap:6px; }
  .hedge-topbar .hedge-wallet-button,
  .hedge-topbar-actions .hedge-topbar-cta { padding-inline:6px; }
}
