/* Account and bet history refinement, preserving data and business controls. */
#accountLoginForm label[hidden] { display: none !important; }
@media (max-width:1179px) {
  #figmaAppRoot .fa-page-caption { margin: 5px 0 0; color: var(--ui-muted); font-size: 12px; }
  #figmaAppRoot .fa-bets .fa-title-row { margin-bottom: 16px; }
  #figmaAppRoot .fa-bet-filters { display: flex; gap: 4px; overflow-x: auto; height: auto; padding: 4px; margin: 0 0 14px; border: 1px solid var(--ui-line); border-radius: 10px; background: #fff; }
  #figmaAppRoot .fa-bet-filters button { flex: 1 0 auto; min-width: 48px; min-height: 42px; padding: 6px 8px; border: 0; border-radius: 7px; color: var(--ui-muted); background: transparent; font-size: 12px; white-space: nowrap; }
  #figmaAppRoot .fa-bet-filters button.is-active { background: var(--ui-brand); color: #fff; font-weight: 700; }
  #figmaAppRoot .fa-bet-list .user-bet-card { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 10px !important; padding: 14px !important; border: 1px solid var(--ui-line); background: #fff; overflow: hidden; }
  #figmaAppRoot .user-bet-outcome { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 0 0 10px; border-bottom: 1px solid var(--ui-line); background: none; text-align: left; }
  #figmaAppRoot .user-bet-outcome-title { font-size: 13px; color: var(--ui-muted); }
  #figmaAppRoot .user-bet-outcome-value { margin-left: auto; font-size: 18px; font-weight: 700; }
  #figmaAppRoot .user-bet-outcome small { font-size: 11px; color: var(--ui-muted); }
  #figmaAppRoot .user-bet-outcome.won :is(strong,.user-bet-outcome-value) { color: #18704c; }
  #figmaAppRoot .user-bet-outcome.lost :is(strong,.user-bet-outcome-value) { color: #a03d45; }
  #figmaAppRoot .user-bet-outcome.pending_settlement strong { color: #926115; }
  #figmaAppRoot .user-bet-selection { padding: 10px 0; border: 0; border-radius: 0; background: transparent; }
  #figmaAppRoot .user-bet-selection + .user-bet-selection { border-top: 1px dashed var(--ui-line); }
  #figmaAppRoot .user-bet-selection h3 { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: var(--ui-ink); }
  #figmaAppRoot .user-bet-tags { display: flex; flex-wrap: wrap; gap: 5px; }
  #figmaAppRoot .user-bet-tags span { max-width: 100%; padding: 4px 7px; background: #f3f6f8 !important; color: var(--ui-muted); font-size: 11px; overflow-wrap: anywhere; }
  #figmaAppRoot .user-bet-tags strong { color: var(--ui-ink) !important; font-size: 12px; }
  #figmaAppRoot .user-bet-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 4px; color: var(--ui-muted); font-size: 11px; overflow-wrap: anywhere; }
  #figmaAppRoot .user-bet-money { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-top: 10px; border-top: 1px solid var(--ui-line); text-align: left; }
  #figmaAppRoot .user-bet-money > div { display: grid; gap: 4px; }
  #figmaAppRoot .user-bet-money span { font-size: 11px; color: var(--ui-muted); }
  #figmaAppRoot .user-bet-money strong { font-size: 18px; color: var(--ui-ink); overflow-wrap: anywhere; }
  #figmaAppRoot .fa-bet-list .user-page-empty { padding: 36px 16px; border: 1px dashed var(--ui-line); border-radius: 12px; background: #fff; color: var(--ui-muted); font-size: 13px; text-align: center; }
  #figmaAppRoot .fa-account-polished .fa-identity { display: flex; align-items: center; gap: 12px; margin: 20px 0 16px; padding: 0; background: transparent; border: 0; }
  #figmaAppRoot .fa-account-polished .fa-identity > span { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border: 1px solid var(--ui-line); border-radius: 14px; background: #fff; color: var(--ui-brand); font-size: 18px; }
  #figmaAppRoot .fa-account-polished .fa-identity > div { display: grid; gap: 4px; min-width: 0; }
  #figmaAppRoot .fa-account-polished .fa-identity b { font-size: 17px; overflow-wrap: anywhere; }
  #figmaAppRoot .fa-account-polished .fa-identity small { font-size: 11px; overflow-wrap: anywhere; color: var(--ui-muted); }
  #figmaAppRoot .fa-account-polished .fa-wallet { position: relative; padding: 20px; margin: 0 0 12px; border: 1px solid #baddeb; border-radius: 14px; background: linear-gradient(125deg,#fff 10%,#e0f3fb 100%); color: var(--ui-ink); }
  #figmaAppRoot .fa-account-polished .fa-wallet label { color: var(--ui-muted); font-size: 12px; }
  #figmaAppRoot .fa-account-polished .fa-wallet > button { position: absolute; top: 8px; right: 12px; min-width: 44px; min-height: 44px; padding: 6px; border: 0; color: var(--ui-brand); background: transparent; font-size: 12px; }
  #figmaAppRoot .fa-account-polished .fa-wallet > strong { display: block; margin: 8px 0; font-size: 32px; letter-spacing: -.025em; color: var(--ui-ink); overflow-wrap: anywhere; }
  #figmaAppRoot .fa-account-polished .fa-wallet > small { color: var(--ui-muted); font-size: 11px; }
  #figmaAppRoot .fa-account-polished .fa-wallet > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  #figmaAppRoot .fa-account-polished .fa-wallet > div button { min-height: 44px; border: 1px solid #aed7eb; border-radius: 8px; background: #fff; color: var(--ui-brand); font-size: 14px; }
  #figmaAppRoot .fa-account-polished .fa-wallet > div button:last-child { background: var(--ui-brand); color: #fff; border-color: var(--ui-brand); }
  #figmaAppRoot .fa-account-polished .fa-account-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0; }
  #figmaAppRoot .fa-account-polished .fa-account-actions button { position: relative; display: grid; justify-items: start; gap: 5px; min-height: 82px; padding: 14px; border: 1px solid var(--ui-line); border-radius: 12px; background: #fff; text-align: left; }
  #figmaAppRoot .fa-account-polished .fa-account-actions b { font-size: 14px; color: var(--ui-ink); }
  #figmaAppRoot .fa-account-polished .fa-account-actions small { font-size: 11px; color: var(--ui-muted); }
  #figmaAppRoot .fa-account-polished .fa-account-actions em { position: absolute; top: 12px; right: 10px; color: var(--ui-muted); font-style: normal; }
  #figmaAppRoot .fa-account-polished .fa-account-section-title { margin: 22px 0 10px; font-size: 13px; color: var(--ui-muted); }
  #figmaAppRoot .fa-account-polished .fa-settings { margin: 0; }
  #figmaAppRoot .fa-account-polished .fa-settings button { display: grid; grid-template-columns: auto minmax(0,1fr) 12px; gap: 10px; min-height: 60px; }
  #figmaAppRoot .fa-account-polished .fa-settings span { text-align: right; font-size: 11px; overflow-wrap: anywhere; }
  #figmaAppRoot .fa-account-polished .fa-responsible { padding: 24px 0; color: var(--ui-muted); }
  #figmaAppRoot .fa-login-otp small { font-size: 11px; color: var(--ui-muted); }
  #figmaAppRoot .fa-auth-notice { min-height: 20px; font-size: 12px; line-height: 1.6; }
  #figmaAppRoot .fa-login button:disabled { opacity: .6; cursor: wait; }
}
