/* Scope every rule to the new entries; preserve the rest of SUB. */
#app a.sub-recharge-entry {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}
#app a.sub-recharge-entry > svg { width: 20px; height: 20px; flex-shrink: 0; }
#app a.sub-recharge-entry:focus-visible { outline: 3px solid #0d9488; outline-offset: 3px; }
#app a.sub-recharge-entry--header { padding: 0 16px; background: #0f766e; color: #fff; }
#app a.sub-recharge-entry--header:hover { background: #115e59; }
#app a.sub-recharge-entry--header:active { background: #134e4a; }
/* Long usernames, balances and subscription badges may wrap, never get clipped. */
#app header:has(.sub-recharge-entry--header) > div:first-child {
  flex-wrap: wrap;
  height: auto;
  min-height: 64px;
  padding-top: 8px;
  padding-bottom: 8px;
}
#app header:has(.sub-recharge-entry--header) > div:first-child > div:last-child {
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}
.dark #app a.sub-recharge-entry:focus-visible { outline-color: #5eead4; }
@media (max-width: 639px) {
  #app a.sub-recharge-entry--header { padding: 0 10px; gap: 6px; }
  #app a.sub-recharge-entry--header > svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  #app a.sub-recharge-entry { transition: none; }
}
