/* Explicit feature shortcuts and high-density readability.
   Use native font rendering at its real size; never scale text with transforms. */
.topbar .nav .gw-feature-link {
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  width: auto !important;
  min-width: max-content;
  height: 40px;
  padding: 0 .7rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  color: var(--text, #f6f7fa);
  font-size: .875rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
  visibility: visible;
}
.topbar .nav .gw-feature-link i,
.topbar .nav .gw-feature-link svg { width: 18px; height: 18px; flex: none; }
.topbar .nav .gw-feature-link:hover,
.topbar .nav .gw-feature-link:focus-visible { outline-offset: 2px; background: rgba(255,255,255,.1); }
@media (min-width: 1000px) {
  .subnav-wrap .subnav > [data-wallet-open],
  .subnav-wrap .subnav > [data-family-friends-open] {
    display: inline-flex !important;
    visibility: visible !important;
    align-items: center;
    gap: .5rem;
    flex: none;
    white-space: nowrap;
  }
}
/* At small widths use compact labeled links in the accessible topbar. */
@media (max-width: 650px) {
  .topbar .nav .gw-feature-link { min-width: 40px; padding: 0 .55rem; }
  .topbar .nav .gw-feature-link span { font-size: .73rem; }
}
/* Extra density is opt-in by actual viewport width, not device resolution:
   a 4K laptop at 200% scaling should retain ordinary responsive typography. */
@media (min-width: 1900px) {
  :root { --gw-high-density-text: 1rem; }
  body { font-size: 16px; }
  .subnav-wrap .subnav a, .topbar .nav .gw-feature-link { font-size: 15px; font-weight: 650; }
  .view[data-view="glance"] .mount, .view[data-view="today"] .mount { font-size: 16px; line-height: 1.55; }
  .view h1 { letter-spacing: -.025em; }
}
