/* Align the drawn mark, independently of its button's hit area and motion.
   Small, shape-specific corrections were reviewed at actual UI sizes; these
   are not a blanket centering rule for text, cards, media, or SVG artwork. */
svg.optical-icon {
  display: block;
  flex-shrink: 0;
  overflow: visible;
  translate: var(--optical-x, 0px) var(--optical-y, 0px);
}
.optical-icon[data-optical="chevron-left"] { --optical-x: -.25px; }
.optical-icon[data-optical="chevron-right"] { --optical-x: .25px; }
.optical-icon[data-optical="chevron-up"] { --optical-y: -.25px; }
.optical-icon[data-optical="chevron-down"] { --optical-y: .25px; }
.optical-icon[data-optical="mail"] { --optical-y: .375px; }
.optical-icon[data-optical="zoom-out"] { --optical-x: .5px; --optical-y: .5px; }
.optical-icon[data-optical="zoom-in"] { --optical-x: .625px; --optical-y: .625px; }
.optical-icon[data-optical="rotate"] { --optical-x: .25px; --optical-y: .75px; }
.optical-button { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.home-carousel-arrow { padding: 0; }
.fm-crumb-sep { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1; }
.resource-chip .resource-remove { width: 28px; height: 28px; padding: 0; }
.game-touch-controls .game-direction { width: 48px; padding: 0; }
.game-card-footer { align-items: center; }
/* Balance the navigation against the whole header, not the space left after
   a changing account name. Compact layouts keep their existing second row. */
#nav-username { max-width: 6em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1200px) {
  :root .navbar-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: 16px; }
  .navbar-inner > .nav-logo { justify-self: start; }
  .navbar-inner > .nav-right { justify-self: end; min-width: 0; }
}
