/* ── Minha conta (Chute) ── */
.app-account .topbar { display: none; }
.app-account .content { padding: 0; }
.app-account .site-footer { display: none; }
.app-account .workspace { display: block; }
.app-account .main { min-height: 100vh; }

.acct {
  grid-template-columns: 272px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
}

.acct-side {
  background: var(--surface, #fff);
  min-height: calc(100vh - 48px);
  box-shadow: var(--shadow);
  border-radius: 20px;
  flex-direction: column;
  gap: 20px;
  padding: 26px 14px 20px;
  display: flex;
  position: sticky;
  top: 24px;
}

.acct-logo {
  justify-content: center;
  padding: 0 12px 6px;
  display: flex;
}
.acct-logo img {
  object-fit: contain;
  width: auto;
  max-width: var(--logo-max, 173px);
  height: var(--logo-h, 48px);
  display: block;
}

.acct-nav {
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.acct-nav-item {
  width: 100%;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 999px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 450;
  display: flex;
}
.acct-nav-item svg { color: var(--brand); flex: none; }
.acct-nav-item:hover { background: var(--surface-2, #f7f9fc); }
.acct-nav-item.is-active {
  background: var(--brand);
  color: #fff;
}
.acct-nav-item.is-active svg { color: #fff; }
.acct-nav-item.is-current { color: var(--brand); }
.acct-nav-label { flex: 1; }

.acct-side-foot {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 0 16px;
  display: flex;
}
.acct-side-link { color: var(--muted); font-size: 13px; text-decoration: none; }
.acct-side-link:hover { color: var(--brand); }
.acct-signout {
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  border: 0;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 15px;
  display: inline-flex;
}
.acct-signout:hover { color: var(--error-text, #b42318); }

.acct-main {
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  display: flex;
}

.acct-head {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  display: flex;
}
.acct-title { margin: 0; font-size: 26px; font-weight: 550; }
.acct-who {
  flex-direction: column;
  align-items: center;
  gap: 3px;
  display: flex;
}
.acct-who-name { color: var(--muted); font-size: 13px; }
.acct-avatar {
  border: 2px solid var(--text);
  width: 42px;
  height: 42px;
  color: var(--text);
  border-radius: 50%;
  place-items: center;
  font-size: 16px;
  font-weight: 550;
  display: grid;
}
.acct-avatar-sm {
  border-width: 1.5px;
  width: 34px;
  height: 34px;
  font-size: 14px;
}

.acct-phone-head,
.acct-chips { display: none; }

.acct-overview {
  grid-template-columns: minmax(0, 1fr) 96px;
  align-items: start;
  gap: 24px;
  display: grid;
}
.acct-overview-main {
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  display: flex;
}

.acct-panel {
  background: var(--surface, #fff);
  box-shadow: var(--shadow);
  border-radius: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  gap: 24px;
  padding: 28px;
  display: grid;
  position: relative;
  overflow: hidden;
}
.acct-panel::before {
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--brand) 45%, transparent) 1.6px, transparent 2.2px) 0 0 / 16px 16px,
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 14%, transparent) 40%, color-mix(in srgb, var(--brand) 32%, transparent));
  width: min(58%, 560px);
  position: absolute;
  inset: 0 0 0 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}

.acct-panel-left {
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  display: flex;
  position: relative;
}
.acct-hello { color: var(--text); margin: 0; font-size: 26px; }
.acct-hello-name { font-weight: 550; }
.acct-refresh {
  color: var(--text);
  cursor: pointer;
  background: transparent;
  border: 0;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  display: inline-flex;
}
.acct-refresh:hover { color: var(--brand); }
.acct-refresh:disabled { color: var(--muted); cursor: default; }

.acct-panel-right {
  flex-direction: column;
  gap: 16px;
  display: flex;
  position: relative;
}

.acct-balance {
  background: var(--surface, #fff);
  box-shadow: 0 6px 24px var(--shadow);
  border-radius: 16px;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  display: flex;
}
.acct-balance-icon {
  background: var(--brand-soft, color-mix(in srgb, var(--brand) 12%, transparent));
  width: 46px;
  height: 46px;
  color: var(--brand);
  border-radius: 50%;
  place-items: center;
  margin-bottom: 10px;
  display: grid;
}
.acct-balance-top { align-items: center; gap: 10px; display: flex; }
.acct-balance-value {
  font-variant-numeric: tabular-nums;
  letter-spacing: -.3px;
  font-size: 30px;
  font-weight: 550;
}
.acct-balance-value.is-negative { color: var(--error-text, #b42318); }
.acct-eye {
  width: 32px;
  height: 32px;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 50%;
  place-items: center;
  padding: 0;
  display: grid;
}
.acct-eye:hover { background: var(--surface-2); color: var(--text); }
.acct-balance-label { color: var(--muted); font-size: 14px; }
.acct-balance-lines {
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 6px;
  margin: 12px 0 0;
  padding-top: 12px;
  display: flex;
}
.acct-balance-lines div {
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  display: flex;
}
.acct-balance-lines dt { color: var(--muted); margin: 0; }
.acct-balance-lines dd {
  font-variant-numeric: tabular-nums;
  margin: 0;
  font-weight: 450;
}

.acct-panel-buttons {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}
.acct-withdraw,
.acct-deposit {
  height: 40px;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 550;
}
.acct-withdraw {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}
.acct-withdraw:hover { background: var(--surface-2); }
.acct-deposit {
  background: var(--brand);
  color: #fff;
  border: 0;
}
.acct-deposit:hover { background: var(--brand-hover, #c73510); }

.acct-cards {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  display: grid;
}
.acct-card {
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  display: flex;
}
.acct-card-head {
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  display: flex;
}
.acct-card-title { margin: 0; font-size: 18px; font-weight: 550; }
.acct-card-link { color: var(--brand); font-size: 13px; font-weight: 450; text-decoration: none; }
.acct-card-link:hover { text-decoration: underline; }
.acct-card-body {
  background: var(--surface, #fff);
  min-height: 180px;
  box-shadow: var(--shadow);
  border-radius: 16px;
  align-items: center;
  gap: 20px;
  padding: 22px;
  display: flex;
}
.acct-card-art {
  background: var(--brand-soft, color-mix(in srgb, var(--brand) 12%, transparent));
  width: 84px;
  height: 84px;
  color: var(--brand);
  border-radius: 24px;
  flex: none;
  place-items: center;
  display: grid;
  transform: rotate(-8deg);
}
.acct-card-art svg { transform: rotate(8deg); }
.acct-empty { flex-direction: column; gap: 4px; display: flex; }
.acct-empty-title { color: var(--text); margin: 0; font-size: 15px; font-weight: 550; }
.acct-empty-text { color: var(--muted); margin: 0; font-size: 13px; }

.acct-mini-list {
  flex-direction: column;
  flex: 1;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.acct-mini-row {
  background: var(--surface-2, #f7f9fc);
  border-radius: 10px;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  display: flex;
}
.acct-mini-link a { color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.acct-mini-link:hover { background: var(--surface-3, #e2e8f8); }
.acct-mini-value { font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 450; }
.acct-mini-meta { color: var(--muted); overflow-wrap: anywhere; font-size: 12px; }

.acct-shortcuts {
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
  display: flex;
}
.acct-shortcut {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  display: flex;
  text-decoration: none;
  color: inherit;
}
.acct-shortcut-icon {
  background: var(--surface, #fff);
  width: 52px;
  height: 52px;
  color: var(--brand);
  box-shadow: var(--shadow);
  border-radius: 50%;
  place-items: center;
  transition: transform .15s;
  display: grid;
}
.acct-shortcut:hover .acct-shortcut-icon { transform: translateY(-2px); }
.acct-shortcut-label { font-size: 12px; font-weight: 450; }

.acct-page-card {
  background: var(--surface, #fff);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 20px;
}
.acct-narrow { max-width: 560px; }
.acct-pad { padding: 8px 4px 4px; }

.acct-tabs {
  scrollbar-width: none;
  gap: 6px;
  padding-bottom: 2px;
  display: flex;
  overflow-x: auto;
}
.acct-tab {
  border: 1px solid var(--line);
  height: 34px;
  color: var(--text);
  cursor: pointer;
  background: transparent;
  border-radius: 999px;
  flex: none;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 450;
}
.acct-tab.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.account-data {
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-direction: column;
  margin: 0;
  display: flex;
}
.account-data-row {
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  font-size: 14px;
  display: flex;
}
.account-data-row + .account-data-row { border-top: 1px solid var(--line); }
.account-data-row dt { color: var(--muted); margin: 0; }
.account-data-row dd { text-align: right; overflow-wrap: anywhere; margin: 0; }
.account-hint { color: var(--muted); margin: 16px 0 0; font-size: 13px; line-height: 1.45; }
.account-buttons {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
  display: grid;
}
.account-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
  height: 40px;
  font: inherit;
  cursor: pointer;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 10px;
}
.account-secondary:hover { background: var(--surface-2); }
.acct-button-link { display: grid; place-items: center; }
.acct-profile-edit {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.acct-profile-edit input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}

/* Histórico de apostas */
.acct-history .bets-page-bar { margin-bottom: 12px; }
.bets-tabs {
  background: var(--surface-2, #f7f9fc);
  border-radius: 999px;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 4px;
  padding: 3px;
  display: grid;
}
.bets-tab {
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  display: inline-flex;
}
.bets-tab.is-active {
  background: var(--text);
  color: var(--bg, #eaeef9);
}

.empty-state {
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 40px 16px;
  display: flex;
  background: var(--surface, #fff);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.empty-icon {
  background: var(--surface-2);
  width: 56px;
  height: 56px;
  color: var(--muted);
  border-radius: 50%;
  place-items: center;
  margin-bottom: 6px;
  display: grid;
}
.empty-title { color: var(--text); margin: 0; font-size: 15px; font-weight: 600; }
.empty-text { color: var(--muted); margin: 0; font-size: 13px; text-align: center; }
.empty-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  display: flex;
}
.empty-button {
  background: var(--brand);
  color: #fff;
  height: 38px;
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 550;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.empty-button.is-quiet {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.bets-list { flex-direction: column; gap: 8px; display: flex; }
.bets-card {
  background: var(--surface, #fff);
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bets-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.bets-card-st { font-weight: 650; }
.bets-card-st.ganhou, .bets-pick-st.ganhou { color: var(--price, #3a7824); }
.bets-card-st.perdeu, .bets-pick-st.perdeu { color: #d93636; }
.bets-card-st.pendente, .bets-pick-st.pendente, .bets-card-picks li.is-pendente { color: var(--info-text, #1d6fd1); }
.bets-card.is-highlight {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand, #e8542b) 45%, transparent);
}
.bets-live-line {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted, #526789);
}
.bets-live-line.is-live,
.bets-card-picks li.is-live-match .bets-live-line.is-live {
  color: var(--live, #e63c12);
}
.bets-new-banner {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand, #e8542b) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand, #e8542b) 22%, transparent);
  font-size: 13px;
  line-height: 1.4;
  color: var(--text, #151923);
}
.bets-card.perdeu { box-shadow: inset 3px 0 0 #d93636, var(--shadow); }
.bets-card.ganhou { box-shadow: inset 3px 0 0 var(--price, #3a7824), var(--shadow); }
.bets-card.cashout { box-shadow: inset 3px 0 0 #0d9488, var(--shadow); }
.bets-card-st.cashout { color: #0d9488; }
.bets-cashout {
  margin: 10px 0 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}
.bets-cashout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: var(--brand, #e8542b);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.bets-cashout-btn:hover:not(:disabled) {
  background: var(--brand-hover, color-mix(in srgb, var(--brand, #e8542b) 86%, #000));
}
.bets-cashout-btn:disabled:not(.is-unavailable) {
  opacity: 0.72;
  cursor: wait;
}
.bets-cashout-btn.is-unavailable,
.bets-cashout-btn:disabled.is-unavailable {
  background: transparent;
  color: var(--muted, #526789);
  border-color: color-mix(in srgb, var(--line, #e2e8f8) 85%, transparent);
  cursor: not-allowed;
  opacity: 1;
  pointer-events: none;
}
.bets-cashout-live {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.bets-cashout-btn.is-unavailable .bets-cashout-live {
  display: none;
}
.bets-cashout-note, .bets-cashout-off {
  font-size: 11px;
  color: var(--muted, #526789);
  line-height: 1.35;
}
.bets-cashout-off { font-style: italic; }
.bets-pick-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.bets-pick-st { font-size: 11px; font-weight: 700; font-style: normal; }
.bets-card-picks li.is-ganhou { opacity: 1; }
.bets-card-picks li.is-perdeu strong { text-decoration: line-through; }
.bets-card-picks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bets-card-picks li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.bets-card-picks strong { display: block; }
.bets-card-picks span { color: var(--muted); font-size: 12px; display: block; }
.bets-card-picks em { color: var(--muted); font-size: 12px; font-style: normal; display: block; }
.bets-card-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 13px;
}
.bets-card-foot span { color: var(--muted); display: block; font-size: 12px; }
.bets-card-code {
  color: var(--brand);
  font-size: 12px;
  text-decoration: none;
}
.bets-card-code:hover { text-decoration: underline; }

@media (max-width: 1180px) {
  .acct { grid-template-columns: 232px minmax(0, 1fr); gap: 18px; padding: 18px; }
  .acct-overview { grid-template-columns: 1fr; }
  .acct-shortcuts {
    flex-direction: row;
    order: -1;
    justify-content: flex-start;
    gap: 28px;
  }
  .acct-panel { grid-template-columns: 1fr; }
  .acct-panel::before { width: 100%; }
  .acct-panel-left { flex-direction: row; align-items: center; }
}

@media (max-width: 960px) {
  .acct-cards { grid-template-columns: 1fr; }
  .account-buttons { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .acct {
    padding: 0 0 76px;
    display: block;
  }
  .acct-side,
  .acct-head { display: none; }
  .acct-main { gap: 14px; }
  .acct-phone-head {
    z-index: 15;
    background: var(--surface, #fff);
    height: 56px;
    box-shadow: 0 1px 0 var(--line);
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    display: flex;
    position: sticky;
    top: 0;
  }
  .acct-back {
    width: 36px;
    height: 36px;
    color: var(--text);
    border-radius: 50%;
    place-items: center;
    display: grid;
    text-decoration: none;
  }
  .acct-back:hover { background: var(--surface-2); }
  .acct-phone-title {
    flex: 1;
    margin: 0;
    font-size: 17px;
    font-weight: 550;
  }
  .acct-chips {
    scrollbar-width: none;
    gap: 8px;
    padding: 0 12px;
    display: flex;
    overflow-x: auto;
  }
  .acct-chips::-webkit-scrollbar { display: none; }
  .acct-chip {
    background: var(--surface, #fff);
    height: 34px;
    color: var(--text);
    box-shadow: 0 1px 3px var(--shadow);
    border-radius: 999px;
    flex: none;
    place-items: center;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 450;
    display: grid;
    text-decoration: none;
  }
  .acct-chip.is-active {
    background: var(--brand);
    color: #fff;
  }
  .acct-overview,
  .acct-page-card,
  .acct-history {
    margin: 0 12px;
  }
  .acct-overview,
  .acct-overview-main { gap: 16px; }
  .acct-panel {
    border-radius: 18px;
    gap: 16px;
    padding: 18px;
  }
  .acct-hello { font-size: 20px; }
  .acct-balance { padding: 16px; }
  .acct-balance-value { font-size: 26px; }
  .acct-shortcuts {
    order: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0 12px;
  }
}
