.db-menu-shell {
  border-radius: 19px;
  box-shadow: inset 0 0 0 1px rgba(194,215,217,.19);
}
header.db-menu-shell.site-header,
header.db-menu-shell.learn-header,
header.db-menu-shell.db-header,
header.db-menu-shell.db-networkbar,
header.db-menu-shell.topbar,
header.db-menu-shell.tour-top { margin-inline: clamp(4px,.6vw,10px); }
.db-menu-shell .db-menu-links {
  box-sizing: border-box;
  border-radius: 18px;
  padding: 3px 7px;
  background: rgba(129,160,167,.055);
  box-shadow: inset 0 0 0 1px rgba(183,207,211,.15);
}
.db-menu-shell .db-menu-links a { border-radius: 12px; }
.db-menu-shell .nav.db-menu-links { gap: 3px; justify-content:center; }
.db-menu-shell .nav.db-menu-links > a:not(.dbding-account-link):not(.db-menu-discord) {
  display:inline-flex; align-items:center; min-height:36px;
  padding:5px clamp(5px,.6vw,9px); white-space:nowrap;
}
.db-menu-shell .db-menu-discord {
  display:inline-flex; align-items:center; justify-content:center;
  box-sizing: border-box; flex:none; min-height:40px; min-width:40px;
  padding:7px; line-height:1; border-radius:12px;
}
.db-menu-shell .db-menu-discord:is(:hover,:focus-visible) { background:#5865b1; }
.db-menu-shell .db-menu-discord img.db-menu-clyde { display:block; width:23px; height:23px; object-fit:contain; }
.db-menu-shell .db-mobile-nav {
  box-sizing:border-box; border:1px solid rgba(183,207,211,.17);
  border-radius:15px; padding:8px; margin-bottom:6px;
}
.db-menu-shell .db-mobile-nav .db-menu-discord { justify-self:start; }
@media (max-width:600px) {
  .db-menu-shell { border-radius:14px; }
  .db-menu-shell .db-menu-links { border-radius:13px; padding:3px 5px; }
}

/* Menu link styles set display explicitly, so the pending/guest state wins here. */
[data-dbding-account-link][hidden] {
  display: none !important;
}
