/* ==========================================================================
   PREMIUM ACCOUNT CARD — modern fintech-style redesign
   Self-contained override layer. Load this AFTER components.css / polish.css
   so the refined styles win the cascade. All existing HTML classes are kept —
   this only restyles .account-card and its children.
   ========================================================================== */

/* ------------------------------ Design tokens ----------------------------- */
.account-card {
  /* Layered glass surface */
  --acc-radius: 18px;
  --acc-pad: 18px;
  --acc-glow: var(--accent-primary);
  background:
    radial-gradient(120% 140% at 8% 0%, rgba(var(--accent-primary-rgb, 59,130,246), 0.10), transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.008) 55%),
    var(--bg-secondary);
  /* Refined translucent border + top highlight + layered shadow */
  border: 1px solid rgba(255,255,255,0.09);
  border-top-color: rgba(255,255,255,0.14);
  border-radius: var(--acc-radius);
  padding: var(--acc-pad);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  position: relative;
  min-width: 0;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 6px 16px rgba(0,0,0,0.28),
    0 1px 3px rgba(0,0,0,0.4);
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
  z-index: 1;
}

/* Faint top highlight line */
.account-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  pointer-events: none;
  z-index: 2;
}

/* Subtle radial accent glow peeking at the bottom-right (lowest z) */
.account-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(90% 120% at 100% 100%, rgba(var(--accent-primary-rgb, 59,130,246), 0.06), transparent 55%);
  pointer-events: none;
  z-index: -1;
}

/* Hover: lift + slightly stronger border */
.account-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
  border-top-color: rgba(255,255,255,0.22);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 14px 30px rgba(0,0,0,0.36),
    0 2px 6px rgba(0,0,0,0.4);
}

/* Active: gentle compress */
.account-card:active {
  transform: translateY(0) scale(0.985);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.03) inset,
    0 4px 12px rgba(0,0,0,0.3);
}

/* ------------------------------ Entry ------------------------------ */
.account-card.entering {
  animation: accCardEnter 0.34s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: calc(var(--card-index, 0) * 40ms);
}
@keyframes accCardEnter {
  from { opacity: 0; transform: translateY(12px) scale(0.965); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ------------------------------ Selected state ------------------------------ */
.account-card.selected {
  border-color: rgba(var(--accent-primary-rgb, 59,130,246), 0.6);
  border-top-color: rgba(var(--accent-primary-rgb, 59,130,246), 0.7);
  background:
    radial-gradient(120% 140% at 8% 0%, rgba(var(--accent-primary-rgb, 59,130,246), 0.16), transparent 48%),
    linear-gradient(180deg, rgba(var(--accent-primary-rgb, 59,130,246), 0.06), rgba(255,255,255,0.01)),
    var(--bg-secondary);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 0 0 1px rgba(var(--accent-primary-rgb, 59,130,246), 0.22),
    0 0 22px rgba(var(--accent-primary-rgb, 59,130,246), 0.16),
    0 10px 24px rgba(0,0,0,0.3);
}
.account-card:not(.selected) {
  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

body.selection-mode .account-card:hover {
  border-color: rgba(var(--accent-primary-rgb, 59,130,246), 0.5);
  box-shadow:
    0 0 0 2px rgba(var(--accent-primary-rgb, 59,130,246), 0.18),
    0 10px 24px rgba(0,0,0,0.3);
}

/* ------------------------------ Premium checkbox ------------------------------ */
.selection-checkbox {
  position: relative;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: auto;
}
.selection-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  cursor: pointer;
}
.selection-checkbox .checkmark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 1px 2px rgba(0,0,0,0.25) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.selection-checkbox:hover .checkmark {
  border-color: rgba(var(--accent-primary-rgb, 59,130,246), 0.65);
}
.selection-checkbox input:checked + .checkmark {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow:
    0 0 0 3px rgba(var(--accent-primary-rgb, 59,130,246), 0.18),
    0 2px 6px rgba(0,0,0,0.3);
  animation: accCheckPop 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.selection-checkbox input:checked + .checkmark::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
@keyframes accCheckPop {
  0%   { transform: scale(0.82); }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Keep selected-card checkbox accent consistent */
.account-card.selected .selection-checkbox .checkmark {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(var(--accent-primary-rgb, 59,130,246), 0.18);
}
.account-card.selected .selection-checkbox .checkmark::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

/* ------------------------------ Identity block ------------------------------ */
.account-card .account-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.account-card .account-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  min-width: 0;
}
.account-card .account-id {
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.2px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

/* ------------------------------ Status pill ------------------------------ */
.account-card .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid transparent;
}
.account-card .status-pill.status-online,
.account-card .status-pill.online {
  background: rgba(34, 197, 94, 0.10);
  border-color: rgba(34, 197, 94, 0.22);
  color: #4ade80;
}
.account-card .status-pill.status-offline,
.account-card .status-pill.offline {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
}
.account-card .status-pill .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.account-card .status-pill .status-dot.online {
  background: #22c55e;
  box-shadow: 0 0 7px rgba(34, 197, 94, 0.85), 0 0 14px rgba(34, 197, 94, 0.4);
}
.account-card .status-pill .status-dot.offline {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.55);
}

/* ------------------------------ Balance ------------------------------ */
.account-card .account-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.account-card .balance {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text-primary);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.account-card .balance.low {
  color: var(--accent-danger);
}

/* ------------------------------ Right: profile + chevron ------------------------------ */
.account-card .account-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-content: flex-end;
  min-width: 0;
}
.account-card .account-right-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.account-card .account-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  max-width: 150px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.account-card .profile-avatar,
.account-card .profile-avatar-placeholder {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.14);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.account-card .profile-avatar-placeholder {
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-tertiary));
}
.account-card .profile-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Chevron — subtle affordance */
.account-card .chevron-right {
  color: rgba(255,255,255,0.28);
  flex-shrink: 0;
  transition: transform 0.22s ease, color 0.22s ease;
}
.account-card:hover .chevron-right {
  color: rgba(255,255,255,0.5);
  transform: translateX(2px);
}

/* Freebet indicator — keep refined */
.account-card .freebet-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
}

/* Needs-refresh pill */
.account-card .needs-refresh-pill {
  font-size: 10px;
  color: var(--accent-warning, #f59e0b);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Corner badges — premium feature cluster (up to 3 equal badges) */
.account-card .corner-badges {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  /* A dedicated compact group — never scattered across the card */
  flex-wrap: nowrap;
}
/* All badges share identical dimensions — icon size never scales a badge */
.account-card .corner-badge {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-top-color: rgba(255,255,255,0.16);
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.62);
  cursor: default;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}
.account-card .corner-badge i {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.account-card .corner-badge:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  transform: translateY(-1px);
}

/* Feature-specific subtle accents (kept muted — never louder than balance) */
.account-card .corner-badge.autospin {
  color: #93c5fd;
  background: rgba(59,130,246,0.10);
  border-color: rgba(59,130,246,0.28);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25), 0 0 10px rgba(59,130,246,0.08);
}
.account-card .corner-badge.freebet {
  color: #86efac;
  background: rgba(34,197,94,0.10);
  border-color: rgba(34,197,94,0.28);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25), 0 0 10px rgba(34,197,94,0.08);
}
.account-card .corner-badge.terminal {
  color: #c4b5fd;
  background: rgba(139,92,246,0.10);
  border-color: rgba(139,92,246,0.28);
  box-shadow: 0 1px 3px rgba(0,0,0,0.25), 0 0 10px rgba(139,92,246,0.08);
}

/* Keep the top-right cluster clear of the account header (status pill) and
   the account-right (avatar/name/chevron) by reserving the top-right space in
   the account-info so nothing slides under the badges. */
.account-card .account-header {
  padding-right: 0;
}
.account-card .account-info {
  padding-right: 0;
}

/* ==========================================================================
   RESPONSIVE — deliberate two-level mobile composition (<640px)
   The card becomes a compact two-row grid instead of a squeezed desktop row.
   Structure:
     col1         col2 (account-info, spans both rows)   col3
     [checkbox]   Account 1 · Online                     [badges abs top-right]
     [checkbox]   Balance                    [avatar] 802****901 [chevron]

   account-info is a column: header (account no + status) on top, balance
   (account-meta) on the bottom. account-right (avatar+name+chevron) sits on
   the bottom row at the right. The checkbox hugs the left across both rows.
   ========================================================================== */
@media (max-width: 640px) {
  .account-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 12px;
    align-items: center;
    --acc-pad: 15px;
    border-radius: 18px;
    margin-bottom: 14px;
    padding: var(--acc-pad);
  }

  /* Checkbox — left, spanning both rows, never stealing width */
  .account-card .selection-checkbox {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    width: 24px;
    height: 24px;
    margin-right: 0;
  }
  .account-card .selection-checkbox .checkmark {
    width: 21px;
    height: 21px;
  }

  /* account-info — column spanning both rows: header top, balance bottom */
  .account-card .account-info {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 0;
  }
  .account-card .account-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    min-width: 0;
    padding-right: 0;
  }
  .account-card .account-id {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .account-card .status-pill {
    padding: 3px 8px;
    font-size: 10.5px;
    gap: 5px;
    flex-shrink: 0;
  }
  .account-card .account-meta {
    display: flex;
    align-items: center;
    min-width: 0;
  }
  /* Balance prominent on the lower-left — never tiny */
  .account-card .balance {
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
  }
  .account-card .balance.low { color: var(--accent-danger); }

  /* account-right — bottom row, right: avatar + account name + chevron */
  .account-card .account-right {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    max-width: none;
    min-width: 0;
  }
  .account-card .account-right-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  .account-card .account-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    max-width: 100%;
    min-width: 0;
    flex-shrink: 1;
  }
  .account-card .profile-avatar,
  .account-card .profile-avatar-placeholder {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }
  /* Account name — REQUIRED, always visible, one group with the avatar */
  .account-card .profile-name {
    display: inline-block;
    max-width: 110px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
  }
  /* Chevron — far right */
  .account-card .chevron-right {
    flex-shrink: 0;
  }

  /* Freebet indicator hidden on mobile (badges carry the feature info) */
  .account-card .freebet-indicator { display: none; }

  /* Badges — compact cluster top-right, never collide with content */
  .account-card .corner-badges {
    position: absolute;
    top: 10px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    max-width: 96px;
  }
  .account-card .corner-badge {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 7px;
  }
  .account-card .corner-badge i {
    width: 13px;
    height: 13px;
  }
  /* Reserve the top-right for badges so the header never sits under them */
  .account-card .account-header {
    padding-right: 84px;
  }
}

/* <= 480px: keep the two-level grid, tighten for comfort */
@media (max-width: 480px) {
  .account-card {
    --acc-pad: 13px;
    column-gap: 10px;
    row-gap: 10px;
    border-radius: 16px;
  }
  .account-card .account-label {
    /* Mobile: show the account as "#1" instead of "Account 1". Keep the label
       element in the DOM and render a '#' prefix; zero out the original text. */
    font-size: 0;
    display: inline-block;
  }
  .account-card .account-label::before {
    content: '#';
    font-size: 13px;
    font-weight: 600;
  }
  .account-card .account-id { font-size: 13px; }
  .account-card .balance { font-size: 19px; }
  .account-card .account-header { gap: 6px; }
  .account-card .profile-avatar,
  .account-card .profile-avatar-placeholder { width: 26px; height: 26px; }
  .account-card .profile-name { max-width: 92px; font-size: 12px; }
  .account-card .status-pill { padding: 3px 7px; font-size: 10px; }
  .account-card .account-header { padding-right: 78px; }
}

/* <= 390px: tighten further, never hide name */
@media (max-width: 390px) {
  .account-card {
    --acc-pad: 12px;
    column-gap: 8px;
    row-gap: 9px;
  }
  .account-card .account-id { font-size: 12.5px; }
  .account-card .account-label::before { font-size: 12.5px; }
  .account-card .balance { font-size: 18px; }
  .account-card .account-profile { gap: 6px; padding: 3px 8px 3px 3px; }
  .account-card .profile-avatar,
  .account-card .profile-avatar-placeholder { width: 24px; height: 24px; }
  .account-card .profile-name { max-width: 76px; font-size: 11.5px; }
  .account-card .status-pill { padding: 2px 6px; font-size: 9.5px; }
  .account-card .selection-checkbox { width: 22px; height: 22px; }
  .account-card .selection-checkbox .checkmark { width: 20px; height: 20px; }
  .account-card .account-header { padding-right: 72px; }
}

/* <= 360px: very small — keep the name and balance readable */
@media (max-width: 360px) {
  .account-card {
    --acc-pad: 11px;
    border-radius: 15px;
  }
  .account-card .account-id { font-size: 12px; }
  .account-card .account-label::before { font-size: 12px; }
  .account-card .balance { font-size: 17px; }
  .account-card .profile-name { max-width: 68px; font-size: 11px; }
  .account-card .account-header { padding-right: 68px; }
}

/* <= 320px: tightest — account name stays, balance readable */
@media (max-width: 320px) {
  .account-card {
    --acc-pad: 10px;
    column-gap: 7px;
    row-gap: 8px;
  }
  .account-card .account-id { font-size: 11.5px; }
  .account-card .account-label::before { font-size: 11.5px; }
  .account-card .balance { font-size: 16px; }
  .account-card .profile-avatar,
  .account-card .profile-avatar-placeholder { width: 22px; height: 22px; }
  .account-card .profile-name { max-width: 58px; font-size: 10.5px; }
  .account-card .status-pill { padding: 2px 5px; font-size: 9px; }
  .account-card .account-header { padding-right: 64px; }
  .account-card .corner-badge {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
}

/* Ensure the identity block never collapses on any screen */
.account-card .account-info {
  min-width: 96px;
}

/* ==========================================================================
   ACCOUNTS PAGE — fixed shell, scrolling account list, pagination locked
   The user wants the accounts panel to behave like a professional SaaS view:
   filter bar stays at top, account cards scroll in the middle, pagination is a
   permanently-anchored footer at the bottom of the panel. This is a flex
   chain all the way up — no arbitrary heights.

   Chain:
     .app (height:100dvh, flex column)
       → .main-content (flex:1, min-height:0)
         → #page-accounts (flex:1, min-height:0, overflow:hidden, flex column)
           → #page-accounts-content (flex:1, min-height:0, flex column)
             → .account-list (flex:1 1 auto, min-height:0, overflow-y:auto)  [scrolls]
             → .pagination-container (flex:0 0 auto)                        [locked footer]
   ========================================================================== */

/* The app shell is a definite-height flex column so the flex chain can bound
   the accounts panel to the viewport. (Other pages keep their own
   .page-content internal scroll.) */
.app {
  height: 100dvh;
  height: 100vh;
}

#page-accounts {
  /* display is controlled by .page/.page.active (base) — this only sets layout */
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: auto;
  overflow: hidden;
}

#page-accounts .page-content,
#page-accounts-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow: hidden;
  overflow-x: hidden;
  touch-action: auto;
}

/* The account list is the ONLY scrollable region */
#page-accounts #account-list,
#page-accounts .account-list {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  align-content: start;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

/* Pagination — a proper locked footer, not part of the scroll */
#page-accounts .pagination-container {
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  z-index: var(--z-pagination, 20);
  margin-top: 0;
  /* Subtle footer treatment */
  border-top: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    color-mix(in srgb, var(--bg-secondary) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -1px 0 rgba(255,255,255,0.04) inset;
}

/* The custom page-size dropdown floats above the pagination footer and the
   scrolling list — never clipped by the account-list overflow. */
#page-accounts .page-size-dropdown .page-size-menu {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  right: auto;
}

/* ==========================================================================
   REDUCED MOTION — respect user preference
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .account-card,
  .account-card::before,
  .account-card::after,
  .account-card *,
  .account-card *::before,
  .account-card *::after {
    animation: none !important;
    transition: none !important;
  }
}
