/* P14: small owner icons, accessible names and presentation-only resource totals. */
.ui-icon { display: inline-block; width: 32px; height: 32px; object-fit: contain; flex: 0 0 auto; vertical-align: middle; }
.player-reward { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; max-width: 100%; }
.reward-value { display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 100%; }
.reward-amount, .reward-card-name { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.reward-value:focus-visible, .wallet-resources .resource-chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.resource-tooltip { position: fixed; z-index: 20000; padding: 10px 12px; border: 1px solid var(--gold); border-radius: 8px; background: #18121f; color: #f4e5c8; box-shadow: 0 6px 24px #000a; font-size: 12px; line-height: 1.5; pointer-events: none; overflow-wrap: anywhere; }
.resource-tooltip[hidden] { display: none; }
.wallet-resources { gap: 0; }
.wallet-resources .resource-chip { display: flex; align-items: center; justify-content: center; flex-direction: row; background: transparent; border: 0; border-radius: 0; padding: 2px 7px; gap: 4px; color: var(--text); min-height: 36px; box-shadow: none; }
.wallet-resources .resource-chip + .resource-chip { border-left: 1px solid #b89a6650; }
.wallet-resources .resource-chip strong { font-size: 13px; min-width: 0; line-height: 1.2; }
.side-nav button > .ui-icon { width: 32px; height: 32px; }
.mobile-nav button > .ui-icon { width: 26px; height: 26px; }
.sound-button .ui-icon { width: 30px; height: 30px; }
.profile-strip .chest-button { flex: 0 0 40px; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 0; box-shadow: none; padding: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: center; }
.profile-strip .sound-button { padding: 0; place-items: center; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); line-height: 0; }
.profile-strip .chest-button .ui-icon { width: 100%; height: 100%; display: block; }
.profile-strip .sound-button .ui-icon { display: block; }
@media (max-width: 1100px) {
  .wallet-resources .resource-chip { padding: 2px 4px; }
}
@media (max-width: 760px) {
  .wallet-resources .resource-chip { flex-direction: column; padding: 2px; gap: 1px; }
  .wallet-resources .ui-icon { width: 24px; height: 24px; }
  .wallet-resources .resource-chip strong { font-size: 11px; }
  .profile-strip .chest-button { flex: 0 0 32px; width: 32px; height: 32px; }
  .sound-button .ui-icon { width: 26px; height: 26px; }
}
@media (max-width: 360px) {
  .wallet-resources .ui-icon { width: 20px; height: 20px; }
  .wallet-resources .resource-chip strong { font-size: 10px; }
}

.home-destination > span .ui-icon { width: 44px; height: 44px; }
.home-quick-actions .ui-icon { width: 24px; height: 24px; }
