body.offline::before {
  content: "Servidor offline";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  background: #c62828;
  color: #fff;
  text-align: center;
  padding: 7px 0 6px 0;
  font-weight: bold;
  font-size: 1.08rem;
  z-index: 99999;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.12);
}
/* Header userbar estilo casino */
.header-userbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.header-userbar__identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
}
.header-userbar__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.header-userbar__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(232, 238, 251, 0.92);
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-userbar__xp {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.header-userbar__level {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(212, 185, 120, 0.95);
  font-family: 'Inter', system-ui, sans-serif;
}
.header-userbar__xp-track {
  flex: 1;
  min-width: 36px;
  max-width: 128px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.header-userbar__xp-fill {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #5c4d32, #b8923e, #e5cf92);
  box-shadow: 0 0 10px rgba(201, 162, 55, 0.22);
  transition: width 0.35s ease;
}
.header-userbar__xp-num {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
  color: rgba(170, 188, 224, 0.88);
}
@media (max-width: 900px) {
  .header-userbar__xp-num {
    display: none;
  }
  .header-userbar__xp-track {
    max-width: 72px;
  }
}
@media (max-width: 640px) {
  .header-userbar__name {
    display: none;
  }
  .header-userbar__meta {
    gap: 3px;
  }
}
.user-rank {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #bfa046;
  font-weight: 700;
  background: #23273a;
  border-radius: 8px;
  padding: 4px 12px 4px 6px;
  margin-right: 8px;
  gap: 4px;
}
.userbar-btn {
  background: #23273a;
  border: none;
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s;
  position: relative;
}
.userbar-btn:hover {
  background: #2196f3;
}
.player-menu-wrap {
  position: relative;
}
.notifications-wrap {
  position: relative;
}
.player-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(90, 108, 158, .28);
  background: linear-gradient(180deg, rgba(24, 31, 52, .98) 0%, rgba(15, 20, 35, .99) 100%);
  box-shadow: 0 18px 36px rgba(5, 9, 22, .34);
  z-index: 30;
}
.player-menu.open {
  display: block;
}
.player-menu__header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(78, 95, 142, .24);
}
.player-menu__header strong {
  font-size: .95rem;
  color: #f3f6ff;
}
.player-menu__header span {
  font-size: .74rem;
  color: #93a7d8;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.player-menu__item {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #e7edff;
  text-align: left;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.player-menu__item:hover {
  background: rgba(54, 73, 123, .5);
}
.player-menu__item--accent {
  color: #77c2ff;
}
.player-menu__item--danger {
  color: #ff9f9f;
}
.player-menu__item:focus-visible,
.profile-btn:focus-visible {
  outline: 2px solid rgba(88, 169, 255, .9);
  outline-offset: 2px;
}
.notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #e53935;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid #23273a;
}
.notifications-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, 88vw);
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(90, 108, 158, .28);
  background: linear-gradient(180deg, rgba(24, 31, 52, .99) 0%, rgba(15, 20, 35, 1) 100%);
  box-shadow: 0 18px 36px rgba(5, 9, 22, .38);
  z-index: 35;
}
.notifications-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 4px 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(78, 95, 142, .24);
}
.notifications-panel__head strong {
  color: #f3f6ff;
  font-size: .98rem;
}
.notifications-panel__head span {
  color: #93a7d8;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.notifications-panel__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
}
.notifications-empty {
  padding: 14px;
  border-radius: 12px;
  color: #9db0db;
  background: rgba(12, 18, 33, .52);
  border: 1px dashed rgba(88, 108, 171, .28);
  font-size: .82rem;
  line-height: 1.45;
}
.notification-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(12, 18, 33, .72);
  border: 1px solid rgba(67, 82, 126, .26);
}
.notification-item--read {
  opacity: .78;
}
.notification-item--warning {
  border-color: rgba(255, 183, 77, .35);
}
.notification-item--success {
  border-color: rgba(52, 196, 122, .35);
}
.notification-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.notification-item__top small {
  color: #8ea2d9;
  font-size: .72rem;
}
.notification-item strong {
  color: #f5f8ff;
  font-size: .92rem;
}
.notification-item p {
  color: #c2d0f0;
  font-size: .82rem;
  line-height: 1.5;
}
.notification-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #dce6ff;
  background: rgba(38, 52, 90, .76);
  border: 1px solid rgba(96, 116, 180, .3);
}
.notification-pill--warning {
  color: #ffd59c;
  border-color: rgba(255, 183, 77, .35);
  background: rgba(96, 63, 16, .46);
}
.notification-pill--success {
  color: #9bf0c2;
  border-color: rgba(52, 196, 122, .35);
  background: rgba(18, 82, 51, .46);
}
.userbar-balance {
  display: flex;
  align-items: center;
  background: #23273a;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 6px 0 0;
  min-width: 86px;
  gap: 2px;
}
.userbar-balance--clickable {
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: background 0.16s ease, box-shadow 0.16s ease;
}
.userbar-balance--clickable:hover {
  background: #2a3048;
  box-shadow: inset 0 0 0 1px rgba(95, 124, 255, 0.22);
}
.userbar-balance--clickable:focus-visible {
  outline: 2px solid rgba(88, 169, 255, 0.95);
  outline-offset: 2px;
}
.userbar-balance .currency {
  color: #bfa046;
  font-weight: 700;
  margin-right: 2px;
}
.userbar-balance .balance-value {
  font-variant-numeric: tabular-nums;
}
/* CTA header — azul chamativo (pílula + brilho), destaque para conversão */
.deposit-btn-blaze {
  position: relative;
  isolation: isolate;
  height: 36px;
  padding: 0 18px 0 14px;
  margin-left: 0;
  margin-right: 0;
  gap: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 255, 0.45);
  background: linear-gradient(
    155deg,
    #5b8cff 0%,
    #3b7aed 38%,
    #2563eb 72%,
    #1d4ed8 100%
  );
  color: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-shadow: 0 1px 1px rgba(0, 20, 60, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 4px 16px rgba(37, 99, 235, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    filter 0.18s ease;
}
.deposit-btn-blaze__icon {
  flex-shrink: 0;
  opacity: 0.98;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}
.deposit-btn-blaze__label {
  display: block;
  line-height: 1;
}
.deposit-btn-blaze:hover {
  border-color: rgba(186, 220, 255, 0.65);
  background: linear-gradient(
    155deg,
    #6e9aff 0%,
    #4d8af5 40%,
    #3b82f6 70%,
    #2563eb 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 28px rgba(37, 99, 235, 0.58),
    0 4px 12px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}
.deposit-btn-blaze:active {
  transform: translateY(0);
  filter: brightness(0.96);
}
.deposit-btn-blaze:focus-visible {
  outline: 2px solid rgba(147, 197, 255, 0.95);
  outline-offset: 2px;
}

.logout-btn {
  margin-left: 8px;
  background: #23273a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s;
}
.logout-btn:hover {
  background: #2196f3;
}
.wallet-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.wallet-modal.open {
  pointer-events: all;
  opacity: 1;
}
.wallet-modal-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}
.wallet-modal-content {
  position: relative;
  z-index: 2;
  background: #181c2f;
  border-radius: 16px;
  padding: 32px 28px 24px 28px;
  min-width: 320px;
  max-width: 94vw;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  box-shadow: 0 8px 32px 0 rgba(5,9,22,0.22);
  color: #fff;
  text-align: center;
}
.wallet-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}
.wallet-modal-kicker {
  margin: 0 0 8px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #8ea2d9;
}
.wallet-modal-content h2 {
  margin: 0;
  font-size: 1.4rem;
}
.wallet-modal-text {
  margin: 10px 0 20px;
  color: #b9c3df;
  line-height: 1.5;
}
.wallet-modal-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.wallet-summary-card {
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(36, 48, 84, .92) 0%, rgba(22, 30, 52, .96) 100%);
  border: 1px solid rgba(88, 108, 171, .28);
}
.wallet-summary-label {
  display: block;
  margin-bottom: 6px;
  font-size: .72rem;
  color: #90a4da;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.wallet-summary-card strong {
  font-size: .98rem;
  color: #f5f8ff;
}
.wallet-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.wallet-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wallet-field span {
  font-size: .86rem;
  color: #c7d2ef;
}
.wallet-field small {
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  color: #8ea4d6;
}
.wallet-field input,
.wallet-field select {
  width: 100%;
  border: 1px solid #33406b;
  border-radius: 10px;
  background: #101628;
  color: #fff;
  padding: 12px 14px;
  font-size: 1rem;
}
.wallet-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.wallet-quick {
  height: 40px;
  border-radius: 10px;
  border: 1px solid #3a4773;
  background: #212b47;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.wallet-quick:hover {
  background: #2d3d68;
}
.wallet-quick:focus-visible,
.wallet-submit:focus-visible,
.wallet-modal-close:focus-visible {
  outline: 2px solid rgba(88, 169, 255, .9);
  outline-offset: 2px;
}
.wallet-submit {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 11px;
  background: linear-gradient(180deg, #2ea8ff 0%, #1c84ff 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(28, 132, 255, .24);
}
.wallet-submit.loading {
  opacity: 0.85;
}
.wallet-submit--withdraw {
  background: linear-gradient(180deg, #2ea8ff 0%, #1c84ff 100%);
  box-shadow: 0 10px 24px rgba(28, 132, 255, .24);
}
.wallet-modal-note {
  margin: 0;
  min-height: 1.4em;
  font-size: .82rem;
  color: #9db0db;
  text-align: center;
}

/* —— Modal de saque: conteúdo refinado (premium) —— */
.wallet-modal--withdraw .wallet-modal-bg {
  background: rgba(4, 6, 11, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.wallet-modal--withdraw .wallet-modal-content.withdraw-modal__panel {
  padding: 26px 24px 22px;
  text-align: left;
  border-radius: 22px;
  max-width: min(560px, 96vw);
  min-width: min(320px, 94vw);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(95, 124, 255, 0.12), transparent 52%),
    radial-gradient(ellipse 95% 60% at 0% 100%, rgba(95, 124, 255, 0.06), transparent 45%),
    linear-gradient(172deg, rgba(22, 26, 40, 0.99) 0%, rgba(10, 12, 20, 0.995) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 40px 120px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.wallet-modal--withdraw.open .wallet-modal-content.withdraw-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.wallet-modal--withdraw .wallet-modal-close {
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.wallet-modal--withdraw .wallet-modal-close:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(180, 220, 255, 0.28);
}

.wallet-modal--withdraw .wallet-modal-kicker {
  margin-top: 2px;
  color: #a8c4ff;
}

.wallet-modal--withdraw .wallet-modal-content h2 {
  margin: 0 0 6px;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
}

.wallet-modal--withdraw .wallet-modal-text {
  margin: 0 0 16px;
  color: #aeb9d6;
  font-size: 0.95rem;
}

.wallet-modal--withdraw .wallet-modal-summary {
  gap: 12px;
  margin-bottom: 16px;
}

.wallet-modal--withdraw .wallet-summary-card {
  padding: 14px 14px 13px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(24, 32, 52, 0.92) 0%, rgba(16, 20, 34, 0.98) 100%);
  border: 1px solid rgba(88, 108, 171, 0.22);
}

.wallet-modal--withdraw .wallet-summary-card strong {
  font-size: 1.02rem;
}

.wallet-modal--withdraw .wallet-field input,
.wallet-modal--withdraw .wallet-field select {
  border-color: rgba(90, 110, 170, 0.52);
  background: rgba(12, 16, 28, 0.95);
}

.wallet-modal--withdraw .wallet-field input:focus,
.wallet-modal--withdraw .wallet-field select:focus {
  outline: none;
  border-color: rgba(125, 195, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(80, 140, 255, 0.16);
}

.wallet-modal--withdraw .wallet-quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.wallet-modal--withdraw .wallet-quick {
  height: 44px;
  border-radius: 12px;
  background: rgba(24, 32, 52, 0.78);
  border: 1px solid rgba(90, 110, 170, 0.55);
  color: #eaf0ff;
  transition: transform 0.12s ease, border-color 0.12s ease, filter 0.12s ease;
}

.wallet-modal--withdraw .wallet-quick:hover {
  filter: brightness(1.08);
  border-color: rgba(160, 205, 255, 0.55);
}

.wallet-modal--withdraw .wallet-quick:active {
  transform: translateY(1px);
}

.wallet-modal--withdraw .wallet-quick.active {
  border-color: rgba(130, 170, 255, 0.75);
  box-shadow: 0 10px 24px rgba(28, 132, 255, .14);
}

.wallet-modal--withdraw .wallet-submit--withdraw {
  height: 50px;
  border-radius: 14px;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 34px rgba(28, 132, 255, .26);
}

.wallet-modal--withdraw .wallet-modal-note {
  margin-top: 2px;
  color: #8ea0c8;
}

@media (max-width: 520px) {
  .wallet-modal--withdraw .wallet-modal-content.withdraw-modal__panel {
    padding: 22px 16px 18px;
  }
  .wallet-modal--withdraw .wallet-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* —— Modal de depósito: conteúdo refinado (premium) —— */
.wallet-modal--deposit .wallet-modal-bg {
  background: rgba(4, 6, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.wallet-modal--deposit .wallet-modal-content.deposit-modal__panel {
  padding: 0;
  text-align: left;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: 22px;
  max-width: min(500px, 96vw);
  max-height: min(92vh, calc(100vh - 36px));
  min-width: min(320px, 94vw);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(95, 124, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 90% 60% at 0% 100%, rgba(201, 162, 55, 0.06), transparent 45%),
    linear-gradient(172deg, rgba(22, 26, 40, 0.99) 0%, rgba(10, 12, 20, 0.995) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 40px 120px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.wallet-modal--deposit.open .wallet-modal-content.deposit-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.wallet-modal--deposit .wallet-modal-content.deposit-modal__panel::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}

/* Cabeçalho visual (rola junto com o modal — scroll único no painel) */
.wallet-modal--deposit .deposit-modal__head-shell {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(20, 23, 36, 0.995) 0%, rgba(18, 21, 32, 0.99) 42%, rgba(16, 18, 28, 1) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.04);
}

.wallet-modal--deposit .deposit-modal__accent-line {
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(201, 162, 55, 0.35) 0%,
    rgba(201, 162, 55, 0.95) 22%,
    rgba(130, 170, 255, 0.88) 52%,
    rgba(95, 124, 255, 0.55) 78%,
    transparent 100%
  );
}

.wallet-modal--deposit .deposit-modal__close-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 6px 12px 0;
  margin: 0;
  pointer-events: none;
}

.wallet-modal--deposit .deposit-modal__close-wrap .deposit-modal__close {
  pointer-events: auto;
  flex-shrink: 0;
}

.wallet-modal--deposit .deposit-modal__head {
  margin: 0;
  padding: 4px 48px 22px 28px;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  border-bottom: none;
  background: transparent;
}

.wallet-modal--deposit .deposit-modal__head-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  box-sizing: border-box;
}

.wallet-modal--deposit .deposit-modal__title {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.28rem, 4.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #f8faff;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  text-shadow: 0 1px 24px rgba(212, 175, 90, 0.12);
}

.wallet-modal--deposit .deposit-modal__lead {
  margin: 0;
  max-width: 36rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(175, 190, 225, 0.82);
}

.wallet-modal--deposit .deposit-modal__bullets {
  margin: 0 auto;
  padding: 18px 24px 22px;
  max-width: 26rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(5, 8, 16, 0.35);
  box-sizing: border-box;
}

.wallet-modal--deposit .deposit-modal__bullets li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  max-width: 22rem;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: rgba(185, 200, 238, 0.9);
  text-align: left;
}

.wallet-modal--deposit .deposit-modal__bullet-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7bdc9a, #3daf6e);
  box-shadow: 0 0 10px rgba(90, 220, 140, 0.45);
}

.wallet-modal--deposit .deposit-modal__teaser {
  margin: 0 0 14px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(165, 182, 218, 0.9);
}

.wallet-modal--deposit .deposit-modal__teaser strong {
  color: rgba(230, 205, 140, 0.95);
  font-weight: 700;
}

.wallet-modal--deposit .wallet-quick__value {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wallet-modal--deposit .wallet-quick--star {
  position: relative;
  flex-direction: column;
  gap: 4px;
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 52px;
  border-width: 2px;
  border-color: rgba(212, 175, 95, 0.55);
  background: linear-gradient(
    165deg,
    rgba(45, 55, 95, 0.95) 0%,
    rgba(18, 24, 42, 0.98) 100%
  );
  box-shadow:
    0 0 0 1px rgba(212, 175, 95, 0.15),
    0 10px 28px rgba(0, 0, 0, 0.35);
}

.wallet-modal--deposit .wallet-quick--star .wallet-quick__tag {
  order: -1;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 235, 190, 0.98);
}

.wallet-modal--deposit .wallet-quick.active.wallet-quick--star {
  border-color: rgba(130, 175, 255, 0.85);
  box-shadow:
    0 0 0 2px rgba(95, 124, 255, 0.35),
    0 12px 32px rgba(37, 99, 235, 0.35);
}

.wallet-modal--deposit .deposit-modal__cta-block {
  margin-top: 20px;
}

.wallet-modal--deposit .deposit-modal__submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 58px;
  margin-top: 0;
  padding: 12px 16px;
  border-radius: 14px;
  font-family: 'Inter', system-ui, sans-serif;
  color: #fff;
  background: linear-gradient(155deg, #5b8cff 0%, #3b7aed 42%, #1d4ed8 100%);
  border: 1px solid rgba(170, 205, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 36px rgba(37, 99, 235, 0.48);
}

.wallet-modal--deposit .deposit-modal__submit-main {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.wallet-modal--deposit .deposit-modal__submit-sub {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wallet-modal--deposit .deposit-modal__cta-reassure {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(145, 165, 210, 0.82);
}

.wallet-modal--deposit .deposit-modal__kyc-intro {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(95, 124, 255, 0.22);
  background: rgba(8, 12, 28, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wallet-modal--deposit .deposit-modal__kyc-chip {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(190, 210, 255, 0.95);
  background: rgba(95, 124, 255, 0.2);
  border: 1px solid rgba(130, 160, 255, 0.25);
}

.wallet-modal--deposit .deposit-modal__kyc-heading {
  margin: 0 0 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #eef2ff;
}

.wallet-modal--deposit .deposit-modal__kyc-text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(155, 175, 215, 0.88);
}

.wallet-modal--deposit .deposit-modal__dynamic {
  margin-top: 0;
  margin-bottom: 0;
  padding: 22px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(4, 7, 14, 0.25);
}

.wallet-modal--deposit .deposit-modal__form {
  padding: 26px 28px 30px;
  gap: 0;
}

.wallet-modal--deposit .deposit-modal__section {
  margin: 0;
  padding: 0;
}

/* Campos dinâmicos entre secções não são <section>; isto mantém o divisor antes do 2.º bloco */
.wallet-modal--deposit .deposit-modal__form > .deposit-modal__section:not(:first-child) {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wallet-modal--deposit .deposit-modal__sec-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(175, 190, 230, 0.88);
}

.wallet-modal--deposit .deposit-modal__sec-heading--muted {
  color: rgba(130, 150, 200, 0.65);
  margin-bottom: 12px;
}

.wallet-modal--deposit .deposit-modal__sec-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  background: linear-gradient(135deg, rgba(95, 124, 255, 0.55), rgba(35, 48, 92, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.wallet-modal--deposit .deposit-modal__label-text {
  display: block;
  margin-bottom: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(215, 225, 250, 0.95);
}

.wallet-modal--deposit .deposit-modal__hint {
  display: block;
  margin-top: 10px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(145, 165, 210, 0.85);
}

.wallet-modal--deposit .deposit-modal__amount-input {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.42rem !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  padding: 16px 18px !important;
  border-radius: 14px !important;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  text-align: right;
  direction: ltr;
  -moz-appearance: textfield !important;
  appearance: textfield;
}

.wallet-modal--deposit .deposit-modal__amount-input::-webkit-outer-spin-button,
.wallet-modal--deposit .deposit-modal__amount-input::-webkit-inner-spin-button,
.wallet-modal--deposit #depositAmount::-webkit-outer-spin-button,
.wallet-modal--deposit #depositAmount::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  appearance: none;
  margin: 0;
}

.wallet-modal--deposit .deposit-modal__select-wrap {
  position: relative;
}

.wallet-modal--deposit .deposit-modal__select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid rgba(170, 190, 235, 0.55);
  border-bottom: 2px solid rgba(170, 190, 235, 0.55);
  transform: rotate(45deg);
  pointer-events: none;
}

.wallet-modal--deposit .deposit-modal__select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 44px !important;
  font-weight: 500;
  font-size: 0.95rem !important;
}

.wallet-modal--deposit .wallet-field input,
.wallet-modal--deposit .wallet-field select {
  border-radius: 14px;
  border: 1px solid rgba(85, 105, 165, 0.38);
  background: rgba(5, 8, 18, 0.88);
  color: #f4f7ff;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.wallet-modal--deposit .wallet-field input::placeholder {
  color: rgba(140, 155, 195, 0.45);
}

.wallet-modal--deposit .wallet-field input:focus,
.wallet-modal--deposit .wallet-field select:focus {
  outline: none;
  border-color: rgba(120, 155, 255, 0.65);
  box-shadow:
    0 0 0 3px rgba(95, 124, 255, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.wallet-modal--deposit .deposit-modal__dynamic .wallet-field span {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(210, 220, 248, 0.92);
}

.wallet-modal--deposit .deposit-modal__dynamic .wallet-field input {
  font-size: 1rem !important;
  font-weight: 500 !important;
}

.wallet-modal--deposit .deposit-modal__quick-grid {
  gap: 10px;
}

.wallet-modal--deposit .wallet-quick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: auto;
  border-radius: 999px;
  border: 1px solid rgba(95, 124, 255, 0.22);
  background: rgba(12, 18, 36, 0.65);
  backdrop-filter: blur(8px);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.87rem;
  color: rgba(235, 240, 255, 0.95);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.wallet-modal--deposit .wallet-quick:hover {
  border-color: rgba(160, 195, 255, 0.45);
  background: rgba(28, 38, 72, 0.85);
}

.wallet-modal--deposit .wallet-quick.active {
  border-color: rgba(130, 175, 255, 0.75);
  background: linear-gradient(145deg, rgba(70, 110, 220, 0.35), rgba(25, 35, 70, 0.95));
  box-shadow:
    0 0 0 1px rgba(95, 124, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #fff;
}

.wallet-modal--deposit .wallet-quick:active {
  transform: scale(0.98);
}

.wallet-modal--deposit .deposit-modal__submit:hover {
  filter: brightness(1.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 16px 44px rgba(37, 99, 235, 0.55);
}

.wallet-modal--deposit .deposit-modal__trust {
  margin-top: 18px;
}

.wallet-modal--deposit .deposit-modal__note {
  margin: 0;
  text-align: left;
  padding: 16px 18px 16px 44px;
  border-radius: 14px;
  font-size: 0.81rem;
  line-height: 1.55;
  color: rgba(175, 192, 228, 0.92);
  background: rgba(95, 124, 255, 0.06);
  border: 1px solid rgba(120, 150, 220, 0.14);
  position: relative;
}

.wallet-modal--deposit .deposit-modal__note::before {
  content: 'i';
  position: absolute;
  left: 14px;
  top: 15px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  font-style: normal;
  font-family: 'Inter', system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(190, 210, 255, 0.95);
  background: rgba(95, 124, 255, 0.22);
  border: 1px solid rgba(147, 175, 255, 0.28);
}

.wallet-modal--deposit .deposit-modal__payment-details {
  margin-top: 12px;
}

.wallet-modal--deposit .deposit-modal__close {
  position: relative;
  top: auto;
  right: auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  line-height: 1;
  color: rgba(230, 235, 255, 0.88);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wallet-modal--deposit .deposit-modal__close:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Pagamento gerado (Pix) dentro do modal de depósito */
.wallet-modal--deposit .wallet-payment-card {
  margin-top: 8px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(95, 124, 255, 0.25);
  background: linear-gradient(175deg, rgba(14, 18, 32, 0.98) 0%, rgba(7, 10, 20, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 50px rgba(0, 0, 0, 0.4);
}

.wallet-modal--deposit .wallet-payment-card__title {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wallet-modal--deposit .wallet-payment-chip {
  border-radius: 14px;
  background: rgba(8, 12, 26, 0.75);
  border: 1px solid rgba(100, 125, 190, 0.2);
}

.wallet-modal--deposit .wallet-payment-qr-card {
  border-radius: 16px;
  border: 1px solid rgba(180, 195, 230, 0.35);
  box-shadow: 0 12px 32px rgba(15, 22, 45, 0.2);
}

.wallet-modal--deposit .wallet-payment-details__list li {
  border-radius: 12px;
  background: rgba(8, 12, 24, 0.65);
  border: 1px solid rgba(85, 105, 155, 0.2);
  color: rgba(215, 225, 248, 0.92);
}

.wallet-modal--deposit .wallet-copy-row input {
  border-radius: 12px !important;
  border: 1px solid rgba(88, 108, 160, 0.38) !important;
  background: rgba(5, 8, 18, 0.92) !important;
}

.wallet-modal--deposit .wallet-copy-btn {
  border-radius: 12px !important;
  border: none !important;
  background: linear-gradient(155deg, #4f8cff 0%, #2563eb 100%) !important;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700 !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35) !important;
}

.wallet-modal--deposit .wallet-field--pix-code {
  border-radius: 16px;
  border: 1px solid rgba(95, 124, 255, 0.2);
  background: rgba(6, 10, 22, 0.6);
}

@media (max-width: 480px) {
  .wallet-modal--deposit .deposit-modal__quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wallet-modal--deposit .deposit-modal__form {
    padding-left: 20px;
    padding-right: 20px;
  }
  .wallet-modal--deposit .deposit-modal__head {
    padding-left: 20px;
    padding-right: 44px;
  }
  .wallet-modal--deposit .deposit-modal__close-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .wallet-modal--deposit .deposit-modal__amount-input {
    font-size: 1.22rem !important;
  }
}

.wallet-payment-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 24, 43, .92) 0%, rgba(11, 17, 31, .98) 100%);
  border: 1px solid rgba(79, 101, 165, .34);
  box-shadow: inset 0 1px 0 rgba(140, 169, 255, .08), 0 10px 26px rgba(5, 9, 22, .24);
}

.wallet-payment-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.wallet-payment-card__eyebrow {
  display: block;
  margin-bottom: 4px;
  font-size: .71rem;
  color: #8ea2d9;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.wallet-payment-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: #f5f8ff;
}

.wallet-payment-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid rgba(96, 116, 180, .3);
  color: #dce6ff;
  background: rgba(31, 43, 75, .72);
}

.wallet-payment-card__status--pending,
.wallet-payment-card__status--awaiting_payment {
  color: #ffd59c;
  border-color: rgba(255, 183, 77, .35);
  background: rgba(96, 63, 16, .46);
}

.wallet-payment-card__status--completed {
  color: #9bf0c2;
  border-color: rgba(52, 196, 122, .35);
  background: rgba(18, 82, 51, .46);
}

.wallet-payment-card__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wallet-payment-chip {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(16, 22, 40, .86);
  border: 1px solid rgba(77, 93, 141, .28);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wallet-payment-chip span {
  font-size: .72rem;
  color: #8ea2d9;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.wallet-payment-chip strong {
  font-size: 1rem;
  color: #f5f8ff;
}

.wallet-payment-card__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.wallet-payment-card__body--with-qr {
  grid-template-columns: minmax(210px, 240px) 1fr;
  align-items: start;
}

.wallet-payment-qr-card {
  padding: 14px;
  border-radius: 14px;
  background: rgba(245, 248, 255, .97);
  border: 1px solid rgba(114, 137, 207, .28);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.wallet-payment-qr-card__label {
  font-size: .72rem;
  font-weight: 800;
  color: #2d3d68;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.wallet-payment-qr-card small {
  color: #51648f;
  font-size: .76rem;
  line-height: 1.4;
}

.wallet-payment-qr__image {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 8px 18px rgba(12, 18, 33, .14);
}

.wallet-payment-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.wallet-payment-details__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.wallet-payment-details__list li {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(12, 18, 33, .62);
  border: 1px solid rgba(67, 82, 126, .24);
  color: #d7e2ff;
  font-size: .84rem;
  line-height: 1.45;
}

.wallet-field--pix-code {
  padding: 12px;
  border-radius: 14px;
  background: rgba(10, 16, 30, .7);
  border: 1px solid rgba(67, 82, 126, .26);
}

.wallet-copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: stretch;
}

.wallet-copy-row input {
  font-size: .84rem;
  color: #f4f7ff;
}

.wallet-copy-btn {
  min-width: 92px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #3db6ff 0%, #1d8cff 100%);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  padding: 0 14px;
  box-shadow: 0 10px 20px rgba(29, 140, 255, .24);
}

.wallet-payment-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wallet-payment-meta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(20, 28, 49, .82);
  border: 1px solid rgba(74, 92, 144, .28);
  color: #aebfe7;
  font-size: .72rem;
  line-height: 1.3;
}

.transactions-modal-content {
  width: min(960px, 94vw);
  text-align: left;
}

.profile-modal-content {
  width: min(840px, 94vw);
  text-align: left;
}

.profile-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.profile-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-summary-card {
  position: static;
  background: radial-gradient(circle at top right, rgba(47, 110, 255, .16), transparent 30%), linear-gradient(180deg, rgba(24, 31, 52, .98) 0%, rgba(17, 24, 43, .98) 100%);
}

.profile-hero {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.profile-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-hero__meta strong {
  color: #f5f8ff;
  font-size: 1.16rem;
}

.profile-hero__meta span {
  color: #9db0db;
  font-size: .88rem;
}

.profile-section-intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.profile-section-intro strong {
  color: #f5f8ff;
  font-size: .96rem;
}

.profile-section-intro span {
  color: #9db0db;
  font-size: .82rem;
  line-height: 1.5;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #dce6ff;
  background: rgba(31, 43, 75, .72);
  border: 1px solid rgba(96, 116, 180, .3);
}

.profile-badge--success {
  color: #9bf0c2;
  border-color: rgba(52, 196, 122, .35);
  background: rgba(18, 82, 51, .46);
}

.profile-badge--warning {
  color: #ffd59c;
  border-color: rgba(255, 183, 77, .35);
  background: rgba(96, 63, 16, .46);
}

.profile-badge--danger {
  color: #ffb1b1;
  border-color: rgba(220, 90, 90, .4);
  background: rgba(91, 29, 29, .5);
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.profile-stat-card {
  padding: 12px;
  border-radius: 12px;
  background: rgba(12, 18, 33, .72);
  border: 1px solid rgba(67, 82, 126, .26);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-stat-card span {
  font-size: .72rem;
  color: #8ea2d9;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.profile-stat-card strong {
  color: #f5f8ff;
  font-size: .96rem;
}

.profile-note {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(18, 24, 43, .88);
  border: 1px solid rgba(82, 158, 255, .18);
  color: #aebfe7;
  font-size: .82rem;
  line-height: 1.55;
}

.profile-info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.profile-info-card {
  padding: 14px;
  border-radius: 12px;
  background: rgba(12, 18, 33, .72);
  border: 1px solid rgba(67, 82, 126, .26);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-info-card span {
  font-size: .72rem;
  color: #8ea2d9;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.profile-info-card strong {
  color: #f5f8ff;
  font-size: .95rem;
  word-break: break-word;
}

.profile-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.profile-shortcuts .wallet-quick {
  min-height: 42px;
  border-radius: 12px;
  font-weight: 800;
  border: 1px solid rgba(82, 158, 255, .18);
  background: linear-gradient(180deg, rgba(39, 51, 87, .9) 0%, rgba(30, 40, 69, .96) 100%);
}

.profile-shortcuts .wallet-quick:hover {
  border-color: rgba(82, 158, 255, .42);
  background: linear-gradient(180deg, rgba(49, 64, 108, .96) 0%, rgba(34, 47, 84, .98) 100%);
}

.profile-verification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-verification-form-wrap {
  margin-top: 12px;
}

.profile-verification-card {
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 25, 45, .96) 0%, rgba(13, 18, 33, .98) 100%);
  border: 1px solid rgba(78, 95, 142, .24);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-verification-card span {
  color: #8ea2d9;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.profile-verification-card strong {
  color: #f5f8ff;
  font-size: .98rem;
}

.profile-verification-card small {
  color: #9db0db;
  font-size: .79rem;
  line-height: 1.45;
}

.profile-verification-approved {
  padding: 14px;
  border-radius: 14px;
  background: rgba(18, 82, 51, .2);
  border: 1px solid rgba(52, 196, 122, .3);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-verification-approved strong {
  color: #c2ffdf;
  font-size: .95rem;
}

.profile-verification-approved span {
  color: #b6c7ec;
  font-size: .82rem;
  line-height: 1.5;
}

.profile-verification-approved--pending {
  background: rgba(96, 63, 16, .24);
  border-color: rgba(255, 183, 77, .3);
}

.profile-verification-form textarea {
  width: 100%;
  border: 1px solid #33406b;
  border-radius: 10px;
  background: #101628;
  color: #fff;
  padding: 12px 14px;
  font-size: 1rem;
  resize: vertical;
  min-height: 92px;
}

.profile-activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-activity-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(12, 18, 33, .72);
  border: 1px solid rgba(67, 82, 126, .26);
}

.profile-activity-item__main,
.profile-activity-item__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-activity-item__main strong,
.profile-activity-item__meta b {
  color: #f5f8ff;
  font-size: .9rem;
}

.profile-activity-item__main span,
.profile-activity-item__meta small {
  color: #9db0db;
  font-size: .79rem;
  line-height: 1.45;
}

.profile-activity-item__meta {
  text-align: right;
}

.profile-activity-empty {
  padding: 14px;
  border-radius: 14px;
  color: #9db0db;
  background: rgba(12, 18, 33, .52);
  border: 1px dashed rgba(88, 108, 171, .28);
  font-size: .82rem;
  line-height: 1.45;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-dashboard-content {
  width: min(1120px, 96vw);
  padding: 26px 26px 28px !important;
  box-sizing: border-box;
}

/* Centro de operações: menu lateral + área com scroll interno (barra escura) */
.admin-dashboard-content.admin-dashboard-content--shell {
  width: min(1260px, 98vw);
  max-height: min(92vh, 920px);
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(165deg, #161c32 0%, #0a0d18 55%, #070910 100%);
  border: 1px solid rgba(95, 124, 255, 0.16);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-dashboard-content .wallet-modal-kicker {
  margin-bottom: 6px;
}

.admin-dashboard__shell-head {
  flex-shrink: 0;
  padding: 20px 52px 16px 22px;
  border-bottom: 1px solid rgba(70, 82, 118, 0.38);
  background: linear-gradient(180deg, rgba(22, 28, 48, 0.95) 0%, rgba(14, 18, 32, 0.6) 100%);
}

.admin-dashboard__shell-head-text .wallet-modal-kicker {
  color: #8ea4e8;
}

.admin-dashboard__shell-head h2 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.admin-dashboard__workspace {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  flex: 1;
  min-height: 0;
}

.admin-dashboard__rail {
  flex-shrink: 0;
  border-right: 1px solid rgba(70, 82, 118, 0.35);
  background: rgba(5, 8, 16, 0.72);
  padding: 14px 10px 18px;
}

.admin-dashboard__rail-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.admin-rail-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 11px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-rail-btn__title {
  font-size: 0.87rem;
  font-weight: 700;
  color: #e8eeff;
  letter-spacing: 0.01em;
}

.admin-rail-btn__sub {
  font-size: 0.66rem;
  line-height: 1.3;
  color: #6f7dad;
}

.admin-rail-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(120, 140, 200, 0.22);
}

.admin-rail-btn--active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(99, 102, 241, 0.12) 100%);
  border-color: rgba(95, 124, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.admin-rail-btn--active .admin-rail-btn__title {
  color: #fff;
}

.admin-rail-btn--active .admin-rail-btn__sub {
  color: #98a8d8;
}

.admin-dashboard__stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.admin-dashboard__stage-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 18px 20px 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(95, 124, 255, 0.38) rgba(12, 16, 28, 0.85);
}

.admin-dashboard__stage-scroll::-webkit-scrollbar {
  width: 9px;
}

.admin-dashboard__stage-scroll::-webkit-scrollbar-track {
  background: rgba(8, 11, 22, 0.85);
  border-radius: 10px;
  margin: 4px 0;
}

.admin-dashboard__stage-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(95, 124, 255, 0.45), rgba(65, 90, 180, 0.35));
  border-radius: 10px;
  border: 2px solid rgba(8, 11, 22, 0.85);
}

.admin-dashboard__stage-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(120, 150, 255, 0.55), rgba(85, 110, 200, 0.45));
}

.admin-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-overview-lede {
  margin: 8px 0 0;
  max-width: 54ch;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #8e9cc4;
}

.admin-metrics-grid--overview {
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
}

@media (min-width: 1024px) {
  .admin-metrics-grid--overview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.admin-dashboard-content.admin-dashboard-content--shell .admin-metric-card {
  padding: 11px 12px;
}

.admin-dashboard-content.admin-dashboard-content--shell .admin-metric-card span {
  font-size: 0.68rem;
}

.admin-dashboard-content.admin-dashboard-content--shell .admin-metric-card strong {
  font-size: 0.98rem;
}

.admin-dashboard__scroll-section {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.admin-dashboard__inner-scroll {
  max-height: min(260px, 36vh);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(95, 124, 255, 0.32) transparent;
}

.admin-dashboard__inner-scroll::-webkit-scrollbar {
  width: 6px;
}

.admin-dashboard__inner-scroll::-webkit-scrollbar-thumb {
  background: rgba(95, 124, 255, 0.28);
  border-radius: 6px;
}

.admin-dashboard__inner-scroll--activity {
  max-height: min(300px, 40vh);
}

.admin-dashboard__detail-slot {
  min-height: 100px;
}

.admin-dashboard-content--shell .player-history-list.admin-dashboard__inner-scroll {
  max-height: min(260px, 36vh);
}

.admin-dashboard-content--shell .admin-dashboard-layout--top .player-history-list {
  max-height: min(260px, 36vh);
}

.admin-dashboard__header {
  margin: 0 48px 18px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(70, 82, 118, 0.35);
}

.admin-dashboard__subtitle {
  margin: 10px 0 0;
  max-width: 52ch;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #9aa6cf;
}

.admin-dashboard__section-label {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7d8cbb;
}

.admin-dashboard__metrics-block {
  margin-bottom: 22px;
}

.admin-dashboard__hint {
  margin: 0 0 14px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #8e9cc4;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(8, 11, 22, 0.55);
  border: 1px solid rgba(78, 95, 142, 0.22);
}

.admin-toolbar__btn-primary {
  flex-shrink: 0;
}

.admin-toolbar__btn-ghost {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(120, 140, 200, 0.28) !important;
  color: #c5d2f5 !important;
  font-weight: 600 !important;
}

.admin-toolbar__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(130, 170, 255, 0.45) !important;
}

.admin-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 2px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 120, 180, 0.45) transparent;
}

.admin-tabs--scroll::-webkit-scrollbar {
  height: 5px;
}

.admin-tabs--scroll::-webkit-scrollbar-thumb {
  background: rgba(100, 120, 180, 0.45);
  border-radius: 999px;
}

@media (min-width: 900px) {
  .admin-tabs--scroll {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

.admin-tab-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(78, 95, 142, .28);
  background: rgba(18, 24, 43, .78);
  color: #9fb2e4;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .16s ease;
  white-space: nowrap;
}

.admin-tab-button:hover {
  color: #edf3ff;
  border-color: rgba(82, 158, 255, .5);
  background: rgba(28, 38, 68, .92);
}

.admin-tab-button--active {
  color: #fff;
  border-color: rgba(82, 158, 255, .78);
  background: linear-gradient(180deg, rgba(49, 112, 255, .28) 0%, rgba(31, 69, 171, .32) 100%);
  box-shadow: 0 0 0 1px rgba(82, 158, 255, .18);
}

.admin-tab-panel {
  display: block;
}

.admin-tab-panel[hidden] {
  display: none !important;
}

.admin-search-form {
  display: flex;
  gap: 10px;
  flex: 1;
}

.admin-search-input {
  flex: 1;
  min-width: 220px;
  border: 1px solid #33406b;
  border-radius: 10px;
  background: #101628;
  color: #fff;
  padding: 10px 12px;
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 0;
}

.admin-metric-card {
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(23, 31, 55, .95) 0%, rgba(17, 24, 43, .98) 100%);
  border: 1px solid rgba(78, 95, 142, .24);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-metric-card span {
  font-size: .74rem;
  color: #8ea2d9;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.admin-metric-card strong {
  font-size: 1.1rem;
  color: #f5f8ff;
}

.admin-dashboard-layout {
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
}

.admin-dashboard-layout--top {
  align-items: start;
  grid-auto-rows: min-content;
  margin-bottom: 0;
}

.admin-dashboard-layout--top > .transactions-section {
  align-self: start;
  height: auto;
}

.admin-user-card {
  border: 1px solid rgba(67, 82, 126, .26);
  cursor: pointer;
  text-align: left;
}

.admin-user-card--selected {
  border-color: rgba(82, 158, 255, .78);
  box-shadow: 0 0 0 1px rgba(82, 158, 255, .35);
}

.admin-user-card__main {
  min-width: 0;
}

.admin-user-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid rgba(96, 116, 180, .3);
  color: #dce6ff;
  background: rgba(31, 43, 75, .72);
}

.admin-badge--active {
  color: #91f0ba;
  border-color: rgba(52, 196, 122, .4);
  background: rgba(20, 76, 49, .45);
}

.admin-badge--suspended {
  color: #ffb1b1;
  border-color: rgba(220, 90, 90, .4);
  background: rgba(91, 29, 29, .5);
}

.admin-account-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-account-head {
  margin-bottom: 0;
}

.admin-account-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-mini-stat {
  padding: 12px;
  border-radius: 12px;
  background: rgba(12, 18, 33, .72);
  border: 1px solid rgba(67, 82, 126, .26);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-mini-stat span {
  font-size: .74rem;
  color: #8ea2d9;
  text-transform: uppercase;
}

.admin-mini-stat strong {
  color: #f5f8ff;
  font-size: 1rem;
}

.admin-account-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-balance-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-balance-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-activity-panel--spaced {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(70, 82, 118, 0.35);
}

.admin-tab-panel__solo {
  margin-top: 0;
}

.admin-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

.admin-gateway-root {
  margin-top: 4px;
}

.admin-gateway-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-gateway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.admin-gateway-kpi {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(12, 18, 36, 0.65);
  border: 1px solid rgba(78, 95, 142, 0.22);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.admin-gateway-kpi span {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(203, 214, 255, 0.62);
}

.admin-gateway-kpi strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f4f6ff;
}

.admin-gateway-kpi--wide {
  grid-column: 1 / -1;
}

.admin-gateway-kpi__msg {
  font-weight: 500 !important;
  font-size: 0.82rem !important;
  line-height: 1.35;
  word-break: break-word;
}

.admin-gateway-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  width: fit-content;
}

.admin-gateway-pill--ok {
  background: rgba(46, 204, 113, 0.18);
  color: #7bed9f;
  border: 1px solid rgba(46, 204, 113, 0.35);
}

.admin-gateway-pill--bad {
  background: rgba(231, 76, 60, 0.16);
  color: #ffb4ab;
  border: 1px solid rgba(231, 76, 60, 0.35);
}

.admin-gateway-pill--na {
  background: rgba(149, 165, 166, 0.14);
  color: rgba(220, 230, 255, 0.85);
  border: 1px solid rgba(149, 165, 166, 0.28);
}

.admin-gateway-pill--warn {
  background: rgba(241, 196, 15, 0.14);
  color: #ffeaa7;
  border: 1px solid rgba(241, 196, 15, 0.35);
}

.admin-gateway-env-hint {
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(180, 195, 235, 0.75);
  margin: 0 0 12px;
}

.admin-gateway-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.admin-gateway-secret-row {
  align-items: flex-end;
}

.admin-gateway-secret-row .wallet-field {
  position: relative;
}

.admin-gateway-mini-btn {
  position: absolute;
  right: 10px;
  top: 30px;
  height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: rgba(37, 99, 235, 0.16);
  color: rgba(230, 238, 255, 0.95);
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
}

.admin-gateway-mini-btn:hover {
  border-color: rgba(59, 130, 246, 0.7);
  background: rgba(37, 99, 235, 0.2);
}

.admin-gateway-secret-row input[type="password"] {
  padding-right: 88px;
}

.admin-gateway-clear-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(203, 214, 255, 0.78);
}

.admin-gateway-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.admin-gateway-checkbox input {
  margin-top: 3px;
}

.admin-notifications-panel {
  margin-top: 0;
}

.admin-notification-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-notification-form textarea {
  width: 100%;
  border: 1px solid #33406b;
  border-radius: 10px;
  background: #101628;
  color: #fff;
  padding: 12px 14px;
  font-size: 1rem;
  resize: vertical;
  min-height: 108px;
}

.admin-compact-list {
  max-height: 280px;
}

.admin-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-activity-list {
  max-height: 260px;
}

.admin-withdrawal-actions {
  min-width: 230px;
}

.admin-action-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.admin-action-row .wallet-quick {
  height: 34px;
  font-size: .76rem;
}

.transactions-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.transactions-section {
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(23, 31, 55, .95) 0%, rgba(17, 24, 43, .98) 100%);
  border: 1px solid rgba(78, 95, 142, .24);
  min-width: 0;
}

.admin-dashboard-content .player-history-list {
  max-height: 320px;
}

.admin-dashboard-layout--top .player-history-list {
  max-height: 260px;
}

.admin-dashboard-content .player-history-empty {
  min-height: 68px;
  display: flex;
  align-items: center;
}

.transactions-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.transactions-section__head h3 {
  margin: 0;
  font-size: .98rem;
  color: #f3f6ff;
}

.transactions-section__head span {
  font-size: .72rem;
  color: #8ea2d9;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.player-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
}

.player-history-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(12, 18, 33, .72);
  border: 1px solid rgba(67, 82, 126, .26);
}

.player-history-item__main,
.player-history-item__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.player-history-item__main strong,
.player-history-item__meta b {
  color: #f5f8ff;
}

.player-history-item__main span,
.player-history-item__meta small,
.player-history-empty {
  color: #9db0db;
  font-size: .82rem;
  line-height: 1.45;
}

.player-history-item__meta {
  text-align: right;
  flex-shrink: 0;
}

.player-history-empty {
  padding: 18px;
  border-radius: 12px;
  background: rgba(12, 18, 33, .5);
  border: 1px dashed rgba(88, 108, 171, .28);
}

@media (max-width: 640px) {
  .wallet-modal-summary,
  .wallet-quick-grid {
    grid-template-columns: 1fr 1fr;
  }

  .profile-layout,
  .profile-info-list,
  .profile-shortcuts,
  .profile-verification-grid,
  .profile-form-grid,
  .profile-stat-grid {
    grid-template-columns: 1fr;
  }

  .profile-summary-card {
    position: static;
  }

  .profile-activity-item {
    flex-direction: column;
  }

  .profile-activity-item__meta {
    text-align: left;
  }

  .wallet-payment-card__summary,
  .wallet-payment-card__body--with-qr,
  .wallet-copy-row {
    grid-template-columns: 1fr;
  }

  .wallet-payment-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-metrics-grid,
  .admin-dashboard-layout,
  .admin-action-row,
  .admin-account-stats,
  .admin-account-actions,
  .admin-balance-form__row,
  .admin-activity-grid,
  .admin-secondary-grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar,
  .admin-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-tabs--scroll {
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .admin-dashboard__workspace {
    grid-template-columns: 1fr;
  }

  .admin-dashboard__rail {
    border-right: none;
    border-bottom: 1px solid rgba(70, 82, 118, 0.35);
    padding: 10px 10px 12px;
  }

  .admin-dashboard__rail-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(95, 124, 255, 0.35) transparent;
    padding-bottom: 4px;
  }

  .admin-rail-btn {
    flex: 0 0 auto;
    min-width: 128px;
    max-width: 70vw;
  }

  .admin-overview-head {
    flex-direction: column;
    align-items: stretch;
  }

  .notifications-panel {
    right: -36px;
  }

  .transactions-layout {
    grid-template-columns: 1fr;
  }

  .player-history-item {
    flex-direction: column;
  }

  .player-history-item__meta {
    text-align: left;
  }
}
.deposit-btn {
  background: #2196f3 !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700;
  box-shadow: none;
  height: 32px;
  width: 38px;
  padding: 0;
  border-radius: 6px;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
}
.deposit-btn svg {
  width: 22px;
  height: 22px;
  margin: 0;
}
.deposit-btn:hover {
  background: #1769aa !important;
}
/* Ícone de logout customizado */
.logout-icon-btn {
  background: none !important;
  border: none !important;
  padding: 0 10px !important;
  min-width: unset !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: background 0.16s;
}
.logout-icon-btn svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: #fff;
  transition: fill 0.2s;
}
.logout-icon-btn:hover svg {
  fill: #2196f3;
}
body, .auth-page {
  padding-top: 64px; /* altura real da hotbar */
}
/* Banner alinhado ao painel de aposta */
.home-banner {
  width: 100%;
  max-width: none;
  min-height: clamp(250px, 30vh, 390px);
  margin: 0;
  padding: 0;
  display: flex;
  box-sizing: border-box;
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
/* ENTRAR sempre branco, sem fundo */
.casino-hotbar-btn:first-child,
.casino-hotbar-btn:first-child:active,
.casino-hotbar-btn:first-child:hover {
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  text-decoration: none !important;
}
/* ===== HEADER CASINO ORIGINAL ===== */
.casino-hotbar {
  position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    width: 100%;
    max-width: 100%;
    height: 64px;
    background: linear-gradient(90deg, #181c2f 60%, #23273a 100%);
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.18);
    border-bottom: 4px solid #2196f3;
}
.casino-hotbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    margin: 0;
    height: 64px;
    padding: 0 24px;
    gap: 32px;
}
.casino-hotbar-logo {
  display: flex;
  align-items: center;
  height: 64px;
  margin-right: 32px;
}
.casino-hotbar-logo img {
  height: 48px;
  max-width: 180px;
  margin: 0;
  padding: 0;
  display: block;
  object-fit: contain;
  align-self: center;
  max-height: 100%;
}
.casino-hotbar-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  margin-right: 0;
  height: 100%;
  justify-content: flex-end;
}
.casino-hotbar-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  cursor: pointer;
  padding: 0 14px;
  min-width: 80px;
  height: 32px;
  border-radius: 6px;
  margin-left: 8px;
  box-shadow: none;
  transition: background 0.16s, color 0.16s;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.casino-hotbar-btn.active,
.casino-hotbar-btn:hover {
  background: transparent;
  color: #fff;
}


/* REGISTRAR como outline */
.casino-hotbar-btn:last-child {
  background: #2196f3;
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: none;
  height: 32px;
  padding: 0 14px;
  border-radius: 6px;
  min-width: 80px;
}
.casino-hotbar-btn:last-child:hover {
  background: #1769aa;
  color: #fff;
}
body {
  padding-top: 64px;
}
/* Banner Home */
.home-banner {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  padding: 0;
}
.home-banner img {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: clamp(250px, 30vh, 390px);
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

@media (max-width: 900px) {
  .home-market-layout {
    grid-template-columns: 1fr;
  }

  .home-right-column {
    gap: 14px;
  }

  .home-promo-strip__hit {
    border-radius: 16px;
  }
}

.casino-hotbar-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  margin-right: 0;
  height: 100%;
  justify-content: flex-end;
}
.casino-hotbar-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0 12px;
  height: 64px;
  transition: color 0.2s;
}
 .casino-hotbar-btn.active,
 .casino-hotbar-btn:hover {
   color: #2196f3;
   text-decoration: underline;
 }
@media (max-width: 600px) {
  .casino-hotbar-logo img { height: 56px; margin-top: 0; }
  .casino-hotbar { height: 48px; }
  .casino-hotbar-btn { height: 48px; font-size: 1rem; }
}
/* Ultra-específico: cobre IDs e classes, máxima prioridade para cor do timer */
#homeVideoTimerWrap.phase-waiting #homeVideoTimerRing,
.home-video-timer-wrap.phase-waiting .home-video-timer-ring {
  border-color: #31e37d !important;
  box-shadow: 0 0 5px #31e37d !important;
}
#homeVideoTimerWrap.phase-running #homeVideoTimerRing,
.home-video-timer-wrap.phase-running .home-video-timer-ring {
  border-color: #ffb74d !important;
  box-shadow: 0 0 5px #ffb74d !important;
}
#homeVideoTimerWrap.phase-finished #homeVideoTimerRing,
.home-video-timer-wrap.phase-finished .home-video-timer-ring {
  border-color: #ef5350 !important;
  box-shadow: 0 0 5px #ef5350 !important;
}
/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }


body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: #10131a;
  color: #e8eaf0;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  padding-top: 64px; /* espaço para hotbar fixa */
}

.display-font {
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}


/* ===== AUTH PAGE ===== */
.auth-page {
  display: block;
  padding: 52px 16px 16px;
}

.auth-page--with-footer {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.auth-page--with-footer .auth-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.loading-page-body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #181c2f;
}

.loading-page-body .loading-page-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.auth-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0;
  background: #181c23;
  border-bottom: 1px solid #23272f;
  box-shadow: none;
  z-index: 200;
}

.auth-topbar-inner {
  width: 100%;
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.auth-topbar-brand {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #10131a 0%, #181c23 100%);
  border-bottom: 2.5px solid #2196f3;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.25);
  height: 64px;
  width: 100%;
  z-index: 1000;
  position: relative;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1;
  color: var(--text, #fff);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .22);
}

.auth-topbar-brand img {
  height: 48px !important;
  max-width: 220px;
  margin: 0 auto;
  display: block;
}

.auth-topbar-spacer {
  flex: 1 1 auto;
}

.auth-topbar-tabs {
  display: flex;
  gap: 10px;
}

.auth-topbar-tabs .tab {
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 22px;
  border-radius: 6px;
  border: none;
  background: linear-gradient(90deg, #2ecc71 0%, #4c6ef5 100%);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(44, 206, 113, 0.08);
}

.auth-topbar-tabs .tab.active {
  background: linear-gradient(90deg, #f1c40f 0%, #ffb74d 100%);
  color: #222;
}

.home-main {
  min-height: calc(100vh - 52px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 100vw;
  margin-top: 32px;
  box-sizing: border-box;
}

/* Shell Twitch: linha (conteúdo + chat) + banner por baixo da linha */
.home-twitch-shell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));
  box-sizing: border-box;
  gap: 16px;
  min-height: calc(100vh - 120px);
}

.home-twitch-shell__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(304px, 24vw, 400px);
  align-items: start;
  justify-items: stretch;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  gap: clamp(20px, 3vw, 36px);
}

.home-content {
  width: min(980px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin: 0 auto;
}

.home-market-layout {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  /* Mesma altura de linha nas duas colunas (vídeo + aposta) — alinhamento de cartões */
  align-items: stretch;
}

.home-live-chat-dock {
  width: 100%;
  min-width: 0;
  position: sticky;
  /* Hotbar ~68px + folga ao colar no scroll — sticky + top desloca o fluxo como relative;
     margin-top negativo compensa para alinhar o topo ao painel de apostas / vídeo */
  top: 80px;
  margin-top: -80px;
  align-self: start;
  height: calc(100svh - 92px);
  max-height: calc(100svh - 92px);
  display: flex;
  flex-direction: column;
  z-index: 15;
  margin-right: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(88, 104, 160, 0.35);
  border-right: none;
  background:
    linear-gradient(165deg, rgba(18, 22, 38, 0.98) 0%, rgba(8, 10, 18, 1) 48%, #06070d 100%);
  box-shadow:
    -16px 0 48px rgba(0, 0, 0, 0.55),
    inset 1px 0 0 rgba(255, 255, 255, 0.04);
}

/* Banner — fora da grelha da mesa; por baixo da linha vídeo+chat em .home-twitch-shell */
.home-promo-strip {
  width: 100%;
  max-width: min(800px, 100%);
  margin: 0 auto;
  align-self: center;
}

.home-promo-strip--below-chat {
  flex-shrink: 0;
  margin-bottom: 6px;
}

.home-promo-strip__hit {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(85, 110, 180, 0.35);
  box-shadow:
    0 8px 32px rgba(5, 9, 18, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  background: #06080f;
  line-height: 0;
}

.home-promo-strip__hit:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 150, 230, 0.45);
  box-shadow:
    0 12px 36px rgba(5, 9, 22, 0.55),
    0 0 24px rgba(76, 110, 245, 0.12);
}

.home-promo-strip__hit:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(100, 160, 255, 0.45),
    0 8px 32px rgba(5, 9, 18, 0.45);
}

.home-promo-strip__img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.home-left-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.home-right-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: stretch;
  min-width: 0;
}

.home-live-panel {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(25, 29, 46, .92) 0%, rgba(22, 25, 39, .95) 100%);
  text-align: left;
  order: 0;
  box-shadow: 0 10px 26px rgba(5, 9, 22, .26);
}

.home-live-headline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.home-live-kicker {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .65px;
  text-transform: uppercase;
  color: #8fa2dd;
}

.home-live-heading {
  margin: 3px 0 0;
  font-size: 1.04rem;
  font-weight: 700;
  color: #edf2ff;
}

.home-round-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.home-round-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .35px;
  text-transform: uppercase;
}

.home-round-badge.waiting {
  background: rgba(100, 110, 130, .2);
  border-color: rgba(130, 140, 160, .4);
  color: #bdc6df;
}

.home-round-badge.betting {
  background: rgba(76, 110, 245, .2);
  border-color: rgba(96, 124, 255, .45);
  color: #b7c8ff;
}

.home-round-badge.closed {
  background: rgba(232, 116, 50, .16);
  border-color: rgba(255, 153, 73, .45);
  color: #ffcb9a;
}

.home-round-badge.finished {
  background: rgba(164, 174, 198, .16);
  border-color: rgba(177, 188, 213, .35);
  color: #d3dbf3;
}

.home-round-label {
  font-size: .84rem;
  color: #d1daf6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-round-timer {
  min-width: 78px;
  height: 36px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(95, 124, 255, .35);
  background: rgba(44, 59, 116, .26);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .4px;
  color: #f0f4ff;
}

.home-round-hint {
  margin: 0 0 10px;
  font-size: .78rem;
  color: #9aa8d4;
}

.home-live-count-box {
  border: 1px solid rgba(73, 88, 144, .46);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(17, 23, 40, .66);
}

.home-live-title {
  margin: 0;
  font-size: .75rem;
  color: #98a7d5;
  text-transform: uppercase;
  letter-spacing: .75px;
}

.home-live-number {
  margin: 7px 0 0;
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 900;
  color: #31e37d;
  text-shadow: 0 0 14px rgba(49, 227, 125, .24);
}

.home-live-footnote {
  margin-top: 7px;
  font-size: .72rem;
  color: #7783a9;
}

.home-camera-panel {
  padding: 18px 18px 14px 18px;
  border: 1.5px solid #23273a;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(25, 29, 46, 0.96) 0%, rgba(22, 25, 39, 0.99) 100%);
  box-shadow: 0 8px 32px 0 rgba(5, 9, 22, 0.28), 0 1.5px 0 0 #23273a;
  width: 100%;
  order: 0;
}

.home-camera-heading {
  margin: 0 0 12px;
}

.home-camera-title {
  margin: 0;
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-camera-subtitle {
  margin: 6px 0 0;
  font-size: .72rem;
  line-height: 1.45;
  color: #7c88ad;
  max-width: 68ch;
  font-weight: 500;
}

.home-camera-subtitle .home-camera-code {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.68rem;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(30, 38, 62, 0.85);
  border: 1px solid rgba(95, 124, 255, 0.22);
  color: #c5d4ff;
  white-space: nowrap;
}

.home-camera-heading__row {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 16px;
  min-height: 48px;
}

.home-camera-heading__row .home-camera-title {
  margin: 0;
  text-align: center;
  justify-self: center;
  min-width: 0;
  font-size: clamp(0.8rem, 1.1vw, 0.92rem);
  letter-spacing: 0.08em;
  line-height: 1.25;
}

.home-camera-heading__row .home-live-badge {
  justify-self: end;
  align-self: center;
}

.home-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffe8e8;
  background: linear-gradient(135deg, rgba(180, 32, 32, 0.95) 0%, rgba(120, 22, 22, 0.92) 100%);
  border: 1px solid rgba(255, 120, 120, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 6px 18px rgba(180, 40, 40, 0.35);
}

.home-live-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
  animation: live-dot-pulse 1.25s ease-in-out infinite;
}

@keyframes live-dot-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.92);
    box-shadow: 0 0 10px 3px rgba(255, 80, 80, 0.65);
  }
}

.home-video-stack--loading .home-live-video {
  opacity: 0;
}

.home-video-stack:not(.home-video-stack--loading) .home-live-video {
  opacity: 1;
  transition: opacity 0.35s ease;
}

.home-video-skeleton {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14%;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(125deg, #141824 0%, #1c2235 40%, #141928 100%);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.home-video-stack--loading .home-video-skeleton {
  opacity: 1;
  visibility: visible;
}

.home-video-skeleton__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.06) 48%,
    rgba(255, 255, 255, 0.09) 52%,
    transparent 62%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.35s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

.home-video-skeleton__label {
  position: relative;
  z-index: 1;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8b96b8;
  text-transform: uppercase;
}

.home-how-it-works-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(95, 124, 255, 0.28);
  background: linear-gradient(180deg, rgba(32, 40, 72, 0.55) 0%, rgba(20, 26, 48, 0.72) 100%);
  color: #dce4ff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.12s ease;
}

.home-how-it-works-btn:hover {
  border-color: rgba(120, 160, 255, 0.45);
  background: linear-gradient(180deg, rgba(40, 50, 88, 0.65) 0%, rgba(26, 32, 58, 0.82) 100%);
}

.home-how-it-works-btn:active {
  transform: translateY(1px);
}

.home-how-it-works-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  color: #1a2038;
  background: linear-gradient(145deg, #c9a227 0%, #f0d78c 45%, #b8891c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.home-modal[hidden] {
  display: none !important;
}

.home-modal:not([hidden]) {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 100002;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}

.home-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.home-modal__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(86vh, 640px);
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(95, 124, 255, 0.22);
  background: linear-gradient(180deg, rgba(18, 22, 38, 0.98) 0%, rgba(12, 15, 26, 0.99) 100%);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.home-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(78, 95, 142, 0.22);
}

.home-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f2f5ff;
  line-height: 1.25;
}

.home-modal__close {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #c5cde8;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.home-modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.home-modal__body {
  padding: 16px 18px 20px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #c9d2ec;
}

.home-modal__lead {
  margin: 0 0 14px;
  color: #aeb9e0;
}

.home-modal__phases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-modal__phase {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.home-modal__phase-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 4px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.home-modal__note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(90, 108, 158, 0.28);
  font-size: 0.82rem;
  color: #8f9bc4;
}

.home-online-highlight {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(78, 117, 255, .28);
  background:
    radial-gradient(circle at top left, rgba(58, 132, 255, .18), transparent 42%),
    linear-gradient(180deg, rgba(18, 26, 47, .94) 0%, rgba(11, 17, 31, .98) 100%);
  box-shadow: inset 0 1px 0 rgba(145, 176, 255, .08), 0 10px 24px rgba(5, 9, 22, .22);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-online-highlight__kicker {
  font-size: .7rem;
  color: #8ea2d9;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.home-online-highlight__value {
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 900;
  color: #f5f8ff;
}

.home-online-highlight__meta {
  font-size: .78rem;
  color: #aebfe7;
}

/* Variante no cabeçalho — faixa baixa, uma linha, alinhada ao título e ao badge */
.home-online-highlight--in-heading {
  flex: 0 1 auto;
  flex-direction: row;
  align-items: center;
  width: auto;
  max-width: min(100%, 340px);
  padding: 6px 10px 6px 8px;
  gap: 8px;
}

.home-online-highlight--in-heading .home-online-highlight__value {
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1;
}

.home-online-highlight--in-heading .home-online-highlight__kicker {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.home-online-highlight--in-heading .home-online-highlight__meta {
  font-size: 0.65rem;
  color: #9eafd9;
  line-height: 1.35;
}

.home-online-highlight--in-heading .home-online-highlight__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.home-online-highlight--in-heading .home-online-highlight__icon-svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 520px) {
  .home-camera-heading__row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "players badge"
      "title title";
  }

  .home-camera-heading__row .home-online-highlight--in-heading {
    grid-area: players;
    justify-self: start;
    max-width: none;
  }

  .home-camera-heading__row .home-live-badge {
    grid-area: badge;
    justify-self: end;
  }

  .home-camera-heading__row .home-camera-title {
    grid-area: title;
    text-align: center;
  }
}

.home-live-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #000;
  display: block;
  object-fit: contain;
}

.home-video-stack {
  position: relative;
  width: 100%;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.home-live-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 10px;
}

.home-video-hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.home-video-timer-wrap {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 92px;
  min-height: 92px;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  overflow: visible;
}

.home-video-timer-wrap .home-video-timer-ring {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 3px solid;
  transition: border-color .3s ease, box-shadow .3s ease;
  box-shadow: 0 0 16px 4px rgba(49,227,125,0.25), 0 0 32px 8px rgba(49,227,125,0.12);
  animation: timer-glow 1.2s infinite alternate;
}

@keyframes timer-glow {
  0% { box-shadow: 0 0 16px 4px rgba(49,227,125,0.25), 0 0 32px 8px rgba(49,227,125,0.12); }
  100% { box-shadow: 0 0 32px 12px rgba(49,227,125,0.45), 0 0 48px 16px rgba(49,227,125,0.18); }
}

.home-video-timer-wrap .home-video-timer-value,
.home-video-timer-wrap .home-video-timer-label {
  transition: color .3s ease;
}

.home-video-timer-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  z-index: 2;
}

.home-video-timer-value {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: .5px;
  color: #ccc;
  transition: color .3s ease;
}

.home-video-timer-label {
  margin-top: 4px;
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .55px;
  color: #999;
  transition: color .3s ease;
}

.home-video-count-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  min-width: 110px;
  padding: 8px 10px 9px;
  border-radius: 12px;
  border: 1px solid rgba(120, 200, 255, 0.22);
  background: linear-gradient(165deg, rgba(12, 18, 34, 0.78) 0%, rgba(8, 12, 24, 0.86) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
  will-change: transform;
}

@keyframes count-chip-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.32);
  }
  40% {
    transform: scale(1.05);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.45), 0 0 22px rgba(46, 234, 121, 0.35);
    border-color: rgba(255, 222, 120, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.32);
  }
}

.home-video-count-chip--pulse {
  animation: count-chip-pulse 0.42s ease-out;
}

.home-video-chip-kicker {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: rgba(170, 190, 230, 0.88);
}

.home-video-chip-value {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  color: #9cf5d8;
  text-shadow: 0 0 14px rgba(120, 230, 200, 0.28);
}

.home-video-count-chip--synced .home-video-chip-kicker {
  color: rgba(160, 220, 255, 0.9);
}

.home-video-count-chip--synced .home-video-chip-value {
  font-size: 1.48rem;
  color: #b8fff0;
  text-shadow: 0 0 14px rgba(100, 220, 200, 0.35);
}

.home-video-chip-target {
  font-size: .7rem;
  color: #afbee4;
}

.home-python-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
  background: #000;
  display: none;
  z-index: 2;
}

.home-python-frame.active {
  display: block !important;
}

.home-live-video.hidden-by-python,
.home-live-overlay.hidden-by-python {
  opacity: 0;
}

/* z-index do HUD definido no bloco .home-video-hud (acima do canvas de overlay) */

.home-camera-status {
  margin-top: 8px;
  font-size: .78rem;
  color: var(--muted);
}

.home-live-bets-panel {
  width: 100%;
  padding: 16px 18px;
  border: 1.5px solid #23273a;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(25, 29, 46, 0.96) 0%, rgba(22, 25, 39, 0.99) 100%);
  box-shadow: 0 8px 32px 0 rgba(5, 9, 22, 0.22), 0 1.5px 0 0 #23273a;
}

.home-live-bets-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.home-live-bets-kicker {
  margin: 0 0 4px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8fa2dd;
}

.home-live-bets-title {
  margin: 0;
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #edf2ff;
}

.home-live-bets-summary {
  margin-bottom: 12px;
  font-size: .78rem;
  color: #98a7d5;
}

.home-live-bets-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-live-bets-column {
  padding: 12px;
  border-radius: 14px;
  background: rgba(12, 18, 33, .44);
  border: 1px solid rgba(67, 82, 126, .24);
}

.home-live-bets-column--over {
  background: linear-gradient(165deg, rgba(34, 110, 78, 0.18) 0%, rgba(12, 18, 33, 0.5) 48%, rgba(12, 18, 33, 0.36) 100%);
  box-shadow: inset 0 0 0 1px rgba(60, 176, 120, 0.2);
}

.home-live-bets-column--under {
  background: linear-gradient(165deg, rgba(120, 44, 44, 0.16) 0%, rgba(12, 18, 33, 0.5) 48%, rgba(12, 18, 33, 0.36) 100%);
  box-shadow: inset 0 0 0 1px rgba(200, 90, 90, 0.18);
}

.home-live-bets-column__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(90, 108, 158, .18);
}

.home-live-bets-column__head h3,
.home-live-bets-column__head strong {
  margin: 0;
  color: #f5f8ff;
}

.home-live-bets-column__head h3 {
  font-size: .95rem;
}

.home-live-bets-column__head strong {
  font-size: .86rem;
}

.home-live-bets-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 84px;
}

.home-live-bet-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(12, 18, 33, .72);
  border: 1px solid rgba(67, 82, 126, .26);
}

.home-live-bet-item__main,
.home-live-bet-item__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-live-bet-item__main strong,
.home-live-bet-item__meta strong {
  color: #f5f8ff;
}

.home-live-bet-item__main span,
.home-live-bet-item__meta span {
  color: #96a9d7;
  font-size: .78rem;
  line-height: 1.45;
}

.home-live-bet-item__meta {
  text-align: right;
  flex-shrink: 0;
}

.home-live-bets-empty {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 14px;
  border-radius: 14px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 120% at 50% 0%, rgba(88, 116, 200, 0.12), transparent 55%),
    rgba(10, 14, 26, 0.72);
  border: 1px dashed rgba(88, 108, 171, 0.32);
  color: #8b9bc8;
  font-size: 0.76rem;
  line-height: 1.45;
}

.home-live-bets-empty::before {
  content: "";
  width: 36px;
  height: 36px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(200, 210, 255, 0.14), transparent 55%);
  border: 1px solid rgba(120, 140, 200, 0.22);
  opacity: 0.9;
}

.home-live-bets-empty__title {
  font-weight: 700;
  color: #b8c6eb;
  letter-spacing: 0.02em;
}

.home-live-bets-empty__hint {
  font-size: 0.72rem;
  color: #6f7ca3;
}

/* ===== HOME BET PANEL ===== */
.home-bet-panel {
  border: 1.5px solid #23273a;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(25, 29, 46, 0.96) 0%, rgba(22, 25, 39, 0.99) 100%);
  box-shadow: 0 8px 32px 0 rgba(5, 9, 22, 0.28), 0 1.5px 0 0 #23273a;
  padding: 18px 18px 14px 18px;
}

/* Visitante: sem saldo visível ni interação com valor */
.home-bet-panel--guest .home-chip,
.home-bet-panel--guest .home-bet-amount-box {
  pointer-events: none;
  user-select: none;
  opacity: 0.48;
  filter: grayscale(0.15);
}

.home-bet-panel--guest .home-bet-amount-display {
  color: #6a7390;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
}

.home-bet-panel--guest .home-bet-gain strong {
  color: #5c6478;
}

.home-bet-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.home-bet-kicker {
  color: var(--muted);
  font-size: .76rem;
  margin: 0 0 4px;
  letter-spacing: .2px;
}

.align-right { text-align: right; }

.home-bet-choice {
  margin: 0;
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #31e37d;
  text-shadow: 0 0 14px rgba(49, 227, 125, 0.18);
}

.home-bet-choice.over { color: #31e37d; }
.home-bet-choice.under { color: #31e37d; }

.home-bet-return {
  margin: 0;
  text-align: right;
  font-size: .92rem;
  font-weight: 700;
  color: #31e37d;
  text-shadow: 0 0 14px rgba(49, 227, 125, 0.18);
}

.home-bet-amount-box {
  position: relative;
  border: 1px solid rgba(95, 124, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(180deg, #121622 0%, #0c0f18 100%);
  min-height: 88px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-bet-amount-box--editing {
  border-color: rgba(96, 165, 250, 0.48);
  box-shadow:
    inset 0 0 0 1px rgba(59, 130, 246, 0.12),
    0 0 24px rgba(59, 130, 246, 0.1);
}

.home-bet-amount-display {
  cursor: pointer;
  user-select: none;
  transition: opacity 0.15s ease;
  font-size: 2.05rem;
  font-weight: 700;
  color: #e8ecf8;
  font-variant-numeric: tabular-nums;
}

.home-bet-amount-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  font-size: 2rem;
  text-align: center;
  background: transparent;
  color: #8ec5ff;
  border: none;
  outline: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  font-variant-numeric: tabular-nums;
}

.home-bet-amount-box--editing .home-bet-amount-input {
  opacity: 1;
  pointer-events: auto;
}

.home-bet-amount-box--editing .home-bet-amount-display {
  opacity: 0;
  pointer-events: none;
}

.home-bet-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.home-chip {
  height: 36px;
  border-radius: 10px;
  border: 1px solid #3b3f53;
  background: #2a2f3c;
  color: #d3d8e4;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}

.home-chip:hover { filter: brightness(1.08); }
.home-chip.active {
  border-color: #6073b4;
  background: #323a4f;
  color: #fff;
}

.home-bet-gain {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: .92rem;
  color: #b2b8ca;
}

.home-bet-gain strong {
  color: #12d843;
  font-size: 1.05rem;
}

.home-bet-choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.home-pick {
  height: 40px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.home-pick-over { background: #2f7f4f; }
.home-pick-under { background: #c73a3a; }

.home-pick.active {
  outline: 2px solid rgba(255, 255, 255, .35);
  outline-offset: 0;
}

.home-bet-action {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 11px;
  font-weight: 800;
  font-size: 1.02rem;
  background: #666;
  color: #f2f2f2;
  cursor: not-allowed;
  transition: all .16s ease;
}

.home-bet-action.open {
  background: linear-gradient(145deg, #5f7cff 0%, #3d5af1 45%, #2f4fd6 100%);
  cursor: pointer;
  box-shadow:
    0 4px 16px rgba(76, 110, 245, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(130, 170, 255, 0.35);
}

.home-bet-action.open:hover {
  filter: brightness(1.06);
  box-shadow:
    0 6px 22px rgba(76, 110, 245, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.home-bet-action:disabled:not(.loading):not(.open) {
  background: linear-gradient(180deg, #252833 0%, #1a1d26 100%);
  color: #7a8299;
  border: 1px dashed rgba(100, 110, 140, 0.35);
  cursor: not-allowed;
}

.home-bet-action.loading {
  position: relative;
  color: transparent;
}

.home-bet-action.loading::after {
  content: 'A processar...';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
}

.home-bet-deposit-row {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 106, 71, 0.08);
  border: 1px solid rgba(255, 96, 86, 0.28);
}

.home-bet-deposit-hint {
  margin: 0 0 8px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #d8dce8;
}

.home-bet-deposit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-bet-deposit-chip {
  flex: 1 1 auto;
  min-width: 5.5rem;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(95, 124, 255, 0.45);
  background: rgba(45, 58, 110, 0.55);
  color: #e8ecff;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease, border-color 0.15s ease;
}

.home-bet-deposit-chip:hover {
  filter: brightness(1.08);
  border-color: rgba(130, 170, 255, 0.55);
}

.home-bet-info {
  margin-top: 8px;
  font-size: .79rem;
  color: var(--muted);
  min-height: 1.3em;
}

.home-bet-info.success { color: #35d37c; }
.home-bet-info.error { color: #ff6c6c; }
.home-bet-info.info { color: var(--muted); }

.home-bet-help {
  margin-top: 6px;
  font-size: .72rem;
  color: #7f88a8;
}

.home-bet-phases {
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(30, 35, 55, .5);
  border: 1px solid rgba(100, 120, 160, .2);
}

.home-bet-phases-label {
  margin: 0 0 10px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #99a8dc;
}

.home-bet-phase-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding-left: 4px;
  font-size: .82rem;
  color: #d1daf6;
  line-height: 1.4;
}

.home-bet-phase-item:last-child {
  margin-bottom: 0;
}

.home-bet-phase-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0.95;
}

.home-bet-phase-text {
  line-height: 1.4;
}

.tip {
  display: inline-block;
  font-size: 0.95em;
  margin-left: 4px;
  vertical-align: middle;
  color: #b2b8ca;
  background: none;
  border: 1.5px solid #b2b8ca;
  border-radius: 50%;
  width: 1.25em;
  height: 1.25em;
  text-align: center;
  line-height: 1.15em;
  cursor: help;
  box-shadow: none;
  font-weight: 700;
  transition: border-color 0.18s;
}
.tip:hover {
  border-color: #2196f3;
  color: #2196f3;
}

.deposit-field small {
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  color: #8ea4d6;
}

.auth-topbar-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  width: auto;
}

.auth-topbar .tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 88px;
  height: 30px;
  line-height: 1;
  padding: 0 12px;
  font-size: .82rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(69, 82, 124, .65);
  color: #9caad8;
  background: rgba(25, 33, 57, .35);
  transition: all .18s ease;
}

.auth-topbar .tab:hover {
  border-color: rgba(96, 116, 180, .95);
  color: #d8e1ff;
  background: rgba(37, 50, 87, .55);
}

.auth-topbar .tab.active {
  border-color: #5372ff;
  color: #fff;
  background: linear-gradient(180deg, #5f7cff 0%, #4c6ef5 100%);
  box-shadow: 0 3px 10px rgba(76, 110, 245, .38);
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  margin: 0;
  background: linear-gradient(90deg, #10131a 0%, #181c23 100%);
  border-bottom: 2.5px solid #2196f3;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.25);
  height: 64px;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .95rem;
  transition: all .2s;
}
.tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form input {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-size: 1rem;
}
.auth-form input:focus { outline: 2px solid var(--primary); border-color: transparent; }

.btn-primary {
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
}
.btn-primary:hover { opacity: .85; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.hidden { display: none !important; }
.error-msg { color: var(--under); font-size: .85rem; min-height: 1.2em; }

/* ===== GAME PAGE ===== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo { font-size: 1.3rem; font-weight: 700; }

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  justify-content: flex-end;
}
.balance-label { color: var(--muted); font-size: .9rem; }
.balance-amount { font-size: 1.2rem; font-weight: 700; color: var(--gold); }
.coins-icon { font-size: 1.1rem; }

.btn-logout {
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}
.btn-logout:hover { border-color: var(--under); color: var(--under); }

main {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 16px 0 0 0;
}

/* ===== ROUND CARD ===== */
.round-card, .bet-card, .result-card, .history-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.round-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
}

.badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-betting  { background: #2c3e7a; color: #7b9cff; }
.badge-running  { background: #1e4d3c; color: var(--over); }
.badge-finished { background: #3d2222; color: var(--under); }

.target-display { text-align: center; margin-bottom: 20px; }
.target-label { color: var(--muted); font-size: .85rem; margin-bottom: 6px; }
.target-number { font-size: 4rem; font-weight: 800; color: var(--primary); line-height: 1; }
.target-display.compact { margin-top: 4px; margin-bottom: 18px; }
.target-number.small { font-size: 2.2rem; color: #8fb0ff; }

.race-wrap {
  margin-bottom: 16px;
}

.race-track {
  position: relative;
  height: 54px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #101420;
  overflow: hidden;
}

.race-lane {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.08) 0 10px, transparent 10px 20px);
  background-size: 20px 2px;
  background-repeat: repeat-x;
  background-position: center;
  opacity: .35;
}

.race-finish {
  position: absolute;
  right: 8px;
  top: 7px;
  font-size: .7rem;
  color: #ffcf61;
  z-index: 3;
}

.race-track::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: repeating-linear-gradient(
    to bottom,
    #fff 0 6px,
    #222 6px 12px
  );
  z-index: 2;
}

.race-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.12);
  position: absolute;
  left: 8px;
  top: 50%;
  width: auto;
  max-width: 100vw;
  height: auto;
  display: block;
  margin: 0 auto;
}

@keyframes racePass {
  from {
    left: 8px;
    opacity: 1;
  }
  to {
    left: calc(100% - 18px);
    opacity: .15;
  }
}

.timer-section { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.timer-label { color: var(--muted); font-size: .85rem; }
.timer-bar {
  width: 100%;
  height: 10px;
  background: var(--surface2);
  border-radius: 10px;
  overflow: hidden;
}
.timer-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 10px;
  transition: width .9s linear, background .3s;
  width: 100%;
}
.timer-fill.urgent { background: var(--under); }
.timer-seconds { font-size: 1.2rem; font-weight: 700; color: var(--text); }

/* ===== ODDS CARD ===== */
.odds-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.odds-card h2 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.odds-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.odd-box {
  border: 1px solid var(--border);
  background: var(--surface2);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.odd-over { border-color: #27553f; }
.odd-under { border-color: #5c2b2b; }

.odd-label {
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.odd-value {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.odd-over .odd-value { color: var(--over); }
.odd-under .odd-value { color: var(--under); }

.odds-pool {
  margin-top: 10px;
  font-size: .82rem;
  color: var(--muted);
}

/* ===== BET CARD ===== */
.bet-card h2, .result-card h2, .history-card h2 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text);
}

.bet-hint { color: var(--muted); margin-bottom: 16px; font-size: .9rem; }

.amount-group label { color: var(--muted); font-size: .85rem; display: block; margin-bottom: 8px; }
.amount-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.btn-chip {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  cursor: pointer;
  font-size: .9rem;
  transition: all .15s;
}
.btn-chip:hover, .btn-chip.active { border-color: var(--primary); color: var(--primary); background: #1a2340; }

.amount-controls input[type=number] {
  width: 90px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-size: .95rem;
  text-align: center;
}
.amount-controls input:focus { outline: 2px solid var(--primary); border-color: transparent; }

.choice-group { display: flex; gap: 12px; margin-top: 16px; }

.btn-over, .btn-under {
  flex: 1;
  padding: 16px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.btn-over  { background: #1a3d2c; color: var(--over);  border-color: #1e4d3c; }
.btn-under { background: #3d1a1a; color: var(--under); border-color: #5c2020; }
.btn-over:hover  { background: #235438; border-color: var(--over); }
.btn-under:hover { background: #5c2020; border-color: var(--under); }
.btn-over:disabled, .btn-under:disabled { opacity: .4; cursor: not-allowed; }

.bet-msg { margin-top: 12px; font-size: .9rem; min-height: 1.4em; color: var(--gold); }

/* ===== RESULT CARD ===== */
#resultContent {
  font-size: 1.1rem;
  line-height: 1.8;
}
.result-win  { color: var(--over);  font-weight: 700; }
.result-lose { color: var(--under); font-weight: 700; }

/* ===== HISTORY ===== */
.history-card { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead th {
  text-align: left;
  padding: 10px 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .5px;
}
tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #1e2235;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface2); }
.empty-row { text-align: center; color: var(--muted); padding: 30px !important; }

.win-row  { color: var(--over); }
.lose-row { color: var(--under); }

/* ===== PHASE OVERLAY ===== */
.home-phase-overlay {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
  z-index: 10;
}

.overlay-phase-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.85);
  color: orange;
  font-size: 2.2rem;
  padding: 18px 38px;
  border-radius: 12px;
  z-index: 1000;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  border: 2px solid #222;
  transition: opacity 0.3s;
}

.home-phase-message-sub {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  opacity: .8;
}

/* Phase-specific colors */
.home-phase-message.finished-phase .home-phase-message-text {
  color: #ff5252;
  text-shadow: 0 2px 8px rgba(255, 82, 82, .3);
}

.home-phase-message.betting-phase .home-phase-message-text {
  color: #31e37d;
  text-shadow: 0 2px 8px rgba(100, 181, 246, .3);
}

.home-phase-message.countdown-phase .home-phase-message-text {
  color: #4caf50;
  text-shadow: 0 2px 8px rgba(76, 175, 80, .3);
}

/* ===== TIMER COLOR STATES ===== */

/* Default / Waiting state - GREEN */
.home-video-timer-wrap .home-video-timer-ring {
  border-color: #31e37d !important;
  box-shadow: 0 0 0 2px #31e37d !important;
}
.home-video-timer-wrap .home-video-timer-value,
.home-video-timer-wrap .home-video-timer-label {
  color: #31e37d !important;
}

/* WAITING state - GREEN (override) */
.home-video-timer-wrap.phase-waiting .home-video-timer-ring,
#homeVideoTimerWrap.phase-waiting #homeVideoTimerRing {
  border-color: #31e37d !important;
  box-shadow: 0 0 0 2px #31e37d !important;
}
.home-video-timer-wrap.phase-waiting .home-video-timer-value,
.home-video-timer-wrap.phase-waiting .home-video-timer-label {
  color: #31e37d !important;
}

/* RUNNING state - ORANGE */
.home-video-timer-wrap.phase-running .home-video-timer-ring {
  border-color: rgba(255, 152, 0, .95) !important;
  box-shadow: inset 0 0 14px rgba(255, 152, 0, .25) !important;
}

.home-video-timer-wrap.phase-running .home-video-timer-value {
  color: #ffb74d !important;
}

.home-video-timer-wrap.phase-running .home-video-timer-label {
  color: #ffcc80 !important;
}

/* FINISHED state - RED */
.home-video-timer-wrap.phase-finished .home-video-timer-ring {
  border-color: rgba(244, 67, 54, .95) !important;
  box-shadow: inset 0 0 14px rgba(244, 67, 54, .25) !important;
}

.home-video-timer-wrap.phase-finished .home-video-timer-value {
  color: #ef5350 !important;
}

.home-video-timer-wrap.phase-finished .home-video-timer-label {
  color: #e57373 !important;
}

@media (max-width: 600px) {
  .auth-topbar {
    padding: 5px 8px;
  }

  .auth-topbar-inner {
    min-height: 34px;
    gap: 8px;
  }

  .auth-topbar-brand {
    text-align: left;
    font-size: .86rem;
    height: 28px;
  }

  .home-main {
    min-height: calc(100vh - 48px);
  }

  .home-content {
    width: 100%;
    gap: 12px;
  }

  .home-market-layout {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .home-bet-panel {
    padding: 12px;
  }

  .home-bet-amount-box span {
    font-size: 1.85rem;
  }

  .home-bet-action {
    height: 42px;
    font-size: .95rem;
  }

  .home-live-panel {
    min-width: 0;
    padding: 14px 16px;
  }

  .home-live-number {
    font-size: 2.5rem;
  }

  .home-live-bets-head,
  .home-live-bet-item {
    flex-direction: column;
  }

  .home-live-bets-columns {
    grid-template-columns: 1fr;
  }

  .home-live-bet-item__meta {
    text-align: left;
  }

  .home-video-timer-wrap {
    width: 76px;
    height: 76px;
  }

  .home-video-count-chip {
    min-width: 94px;
    padding: 7px 8px;
  }

  .odds-grid {
    grid-template-columns: 1fr;
  }

  .auth-topbar-tabs {
    width: auto;
  }

  .auth-topbar .tab {
    min-width: 78px;
    height: 28px;
    padding: 0 9px;
    line-height: 1;
    font-size: .76rem;
    border-radius: 8px;
  }

  .auth-page {
    padding-top: 48px;
  }

  main { margin: 16px auto; }
  .choice-group { flex-direction: column; }
  .target-number { font-size: 3rem; }
}

/* ===== CASINO FOOTER ===== */
.casino-footer {
  width: 100%;
  max-width: 100%;
  margin-top: 22px;
  padding: 0;
  border-top: 1px solid rgba(70, 82, 118, .35);
  background: #0d111b;
  box-sizing: border-box;
  overflow-x: hidden;
}

.casino-footer__inner {
  width: min(1160px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 24px 0 16px;
}

.casino-footer__brand {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(70, 82, 118, .28);
}

.casino-footer__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.casino-footer__eyebrow {
  margin: 0 0 4px;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #7b8dbb;
}

.casino-footer__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #e8eefb;
}

.casino-footer__text {
  margin: 5px 0 0;
  max-width: 780px;
  font-size: .83rem;
  line-height: 1.6;
  color: #8d9bb9;
}

.casino-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 18px;
  padding: 18px 0 14px;
}

.casino-footer__card {
  min-height: 100%;
  padding: 0;
}

.casino-footer__card h3 {
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #dfe7f8;
}

.casino-footer__card ul {
  margin: 0;
  padding-left: 0;
  color: #91a1c3;
}

.casino-footer__list--compact {
  list-style: none;
  padding-left: 0;
}

.casino-footer__list--compact li {
  padding-left: 0;
}

.casino-footer__card li {
  margin-bottom: 8px;
  line-height: 1.45;
  font-size: .82rem;
}

.casino-footer__card li:last-child {
  margin-bottom: 0;
}

.casino-footer__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.casino-footer__pay {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid rgba(108, 122, 168, .22);
  background: rgba(255, 255, 255, .02);
  color: #dbe4f7;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.casino-footer__caption {
  margin: 0;
  font-size: .76rem;
  line-height: 1.55;
  color: #7f90b5;
}

.casino-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(70, 82, 118, .22);
}

.casino-footer__bottom p {
  margin: 0;
  font-size: .75rem;
  line-height: 1.5;
  color: #7382a3;
}

@media (max-width: 900px) {
  .casino-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .casino-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .casino-footer {
    padding: 0;
  }

  .casino-footer__inner {
    width: calc(100vw - 20px);
    padding: 18px 0 14px;
  }
  .casino-footer__brand {
    flex-direction: row;
    align-items: flex-start;
    padding: 0 0 14px;
  }

  .casino-footer__grid {
    grid-template-columns: 1fr;
    padding: 14px 0 12px;
  }

  .casino-footer__bottom {
    padding: 12px 0 0;
  }
}

/* ===== FINAL HOME FIXED OVERRIDES ===== */
html,
body {
  overflow-x: hidden;
}

body {
  padding-top: 64px !important;
}

.casino-hotbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  transform: none !important;
}

.home-main {
  margin-top: 36px !important;
}

@media (max-width: 900px) {
  .home-market-layout {
    grid-template-columns: 1fr;
  }

  .home-main {
    margin-top: 24px !important;
  }
}

/* ===== HEADER MODERNO (HOME) ===== */
.casino-hotbar {
  height: 68px !important;
  border-bottom: 1px solid rgba(95, 124, 255, 0.18) !important;
  background: linear-gradient(90deg, rgba(8, 9, 14, 0.92) 0%, rgba(14, 16, 26, 0.9) 45%, rgba(10, 12, 20, 0.92) 100%) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.42) !important;
}

.casino-hotbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 162, 39, 0.45) 18%,
    rgba(255, 222, 130, 0.75) 50%,
    rgba(201, 162, 39, 0.45) 82%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0.95;
}

.casino-hotbar-inner {
  height: 68px !important;
  padding: 0 20px !important;
  gap: 18px !important;
}

.casino-hotbar-logo {
  margin-right: 0 !important;
}

.casino-hotbar-logo img {
  height: 44px !important;
  max-width: 180px !important;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.casino-hotbar-nav {
  gap: 10px !important;
  flex: 1;
  min-width: 0;
}

.casino-hotbar-btn {
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  font-weight: 700 !important;
  font-size: 0.98rem !important;
  color: rgba(232, 238, 251, 0.92) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}

.casino-hotbar-btn:hover {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(95, 124, 255, 0.45) !important;
  transform: translateY(-0.5px);
}

/* Entrar: estilo "ghost" */
.casino-hotbar-btn#headerLoginBtnMain {
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Registar: CTA com gradiente */
.casino-hotbar-btn#headerRegisterBtnMain {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%) !important;
  border-color: rgba(59, 130, 246, 0.55) !important;
  color: #fff !important;
}

.casino-hotbar-btn#headerRegisterBtnMain:hover {
  filter: brightness(1.06);
}

@media (max-width: 600px) {
  body, .auth-page { padding-top: 60px !important; }
  .casino-hotbar { height: 60px !important; }
  .casino-hotbar-inner { height: 60px !important; padding: 0 14px !important; }
  .casino-hotbar-logo img { height: 38px !important; }
  .casino-hotbar-btn { height: 34px !important; padding: 0 12px !important; border-radius: 10px !important; }
  .header-userbar {
    gap: 6px;
  }
  .userbar-balance,
  .userbar-balance--clickable {
    min-width: 0;
    padding: 5px 10px;
    font-size: 0.9rem;
  }
  .deposit-btn-blaze {
    padding: 0 12px 0 10px;
    font-size: 0.8rem;
    height: 32px;
    gap: 5px;
  }
  .deposit-btn-blaze__icon {
    width: 15px;
    height: 15px;
  }
  .userbar-btn {
    padding: 5px 6px;
  }
}

/* ===== CarBet home — identidade premium (não-template) ===== */
.home-main {
  background:
    radial-gradient(ellipse 85% 55% at 50% -15%, rgba(95, 124, 255, 0.09), transparent 52%),
    radial-gradient(ellipse 70% 40% at 100% 40%, rgba(201, 162, 39, 0.05), transparent 45%),
    #10131a;
}

#home-live-zone {
  scroll-margin-top: 100px;
}

.home-camera-panel--premium {
  position: relative;
  border-color: rgba(55, 62, 88, 0.85);
  box-shadow:
    0 12px 40px rgba(5, 9, 22, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-camera-panel--premium::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 2px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 162, 39, 0.65) 25%,
    rgba(95, 124, 255, 0.45) 70%,
    transparent
  );
  opacity: 0.75;
}

.home-round-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 8px;
}

.home-round-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #a8b4e0;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.home-camera-tagline {
  margin: 0 0 10px;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #8f9bc4;
  max-width: 52ch;
}

.home-camera-tech {
  margin-top: 4px;
  border-radius: 12px;
  border: 1px solid rgba(78, 95, 142, 0.22);
  background: rgba(8, 11, 22, 0.55);
  overflow: hidden;
}

.home-camera-tech__summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aaee0;
}

.home-camera-tech__summary::-webkit-details-marker {
  display: none;
}

.home-camera-tech__summary::after {
  content: " ";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-left: 8px;
  border-right: 2px solid rgba(154, 174, 224, 0.55);
  border-bottom: 2px solid rgba(154, 174, 224, 0.55);
  transform: rotate(45deg);
  vertical-align: 0.15em;
  transition: transform 0.2s ease;
}

.home-camera-tech[open] .home-camera-tech__summary::after {
  transform: rotate(-135deg);
  margin-bottom: -0.1em;
}

.home-camera-tech__body {
  padding: 0 12px 12px;
  font-size: 0.74rem;
  line-height: 1.5;
  color: #8b96b8;
}

.home-camera-tech__body p {
  margin: 0 0 8px;
}

.home-camera-tech__body p:last-child {
  margin-bottom: 0;
}

.home-online-highlight {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.home-online-highlight__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* Cabeçalho: 1.ª linha = número + “Sala ao vivo” (ordem garantida); 2.ª = meta */
.home-online-highlight--in-heading .home-online-highlight__content {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.home-online-highlight--in-heading .home-online-highlight__lead {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 8px;
  max-width: 100%;
}

.home-online-highlight--in-heading .home-online-highlight__lead .home-online-highlight__value {
  flex-shrink: 0;
}

.home-online-highlight--in-heading .home-online-highlight__lead .home-online-highlight__kicker {
  flex-shrink: 1;
  min-width: 0;
}

.home-online-highlight__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #a8c4ff;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 220, 140, 0.22), transparent 55%),
    linear-gradient(145deg, rgba(45, 58, 110, 0.75) 0%, rgba(22, 28, 52, 0.95) 100%);
  border: 1px solid rgba(120, 150, 230, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-online-highlight__icon-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.95;
}

.home-bet-panel--premium {
  border-color: rgba(65, 72, 98, 0.95);
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(76, 110, 245, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(26, 30, 48, 0.98) 0%, rgba(18, 21, 34, 0.99) 100%);
  box-shadow:
    0 14px 44px rgba(5, 9, 22, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.home-live-bets-panel .home-live-bets-head {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 4px;
}

.home-live-bets-panel .home-live-bets-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.85), rgba(95, 124, 255, 0.45));
  opacity: 0.85;
}

.casino-footer__title.display-font {
  letter-spacing: 0.03em;
}

.casino-footer .display-font {
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
  .home-live-badge__dot,
  .home-video-skeleton__shine {
    animation: none !important;
  }

  .home-live-badge__dot {
    opacity: 0.9;
  }

  .home-video-skeleton__shine {
    animation: none !important;
    background-position: 50% 0 !important;
  }

  .home-promo-strip__hit {
    transition: none;
  }

  .home-promo-strip__hit:hover {
    transform: none;
  }
}

/* ===== Live chat (home) — coluna estilo Twitch, tratamento premium ===== */
.home-live-chat-dock .home-live-chat--twitch.home-live-chat--premium {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.home-live-chat--premium {
  margin-top: 0;
  /* Mesmo ritmo que .home-camera-panel / .home-bet-panel — evita chat “mais alto” que a mesa */
  padding: 18px 18px 14px;
  border-radius: 14px;
  border: 1px solid rgba(70, 82, 118, 0.55);
  background:
    linear-gradient(180deg, rgba(24, 28, 45, 0.98) 0%, rgba(16, 18, 30, 0.99) 100%);
  box-shadow:
    0 10px 28px rgba(5, 9, 18, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-live-chat__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 12px;
  margin: 0;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(90, 108, 160, 0.22);
  background: linear-gradient(180deg, rgba(28, 34, 58, 0.5) 0%, transparent 100%);
}

.home-live-chat__brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.home-live-chat__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #a8c4ff;
  background: linear-gradient(145deg, rgba(59, 91, 180, 0.35) 0%, rgba(22, 28, 52, 0.9) 100%);
  border: 1px solid rgba(120, 150, 230, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-live-chat__titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.home-live-chat__eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #aabbe8;
  line-height: 1.35;
}

.home-live-chat__title {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f8faff;
  line-height: 1.18;
}

.home-live-chat__title-accent {
  font-weight: 800;
  color: #e8cf6a;
  text-shadow: 0 0 28px rgba(232, 207, 106, 0.22);
}

.home-live-chat__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  color: #b8f5c8;
  background: rgba(46, 160, 90, 0.14);
  border: 1px solid rgba(72, 199, 116, 0.35);
}

.home-live-chat__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 10px rgba(61, 220, 132, 0.65);
  animation: home-chat-live-pulse 2s ease-in-out infinite;
}

@keyframes home-chat-live-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(0.92);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-live-chat__badge-dot {
    animation: none;
  }
}

.home-live-chat__intro {
  margin: 0;
  padding: 8px 18px 10px;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #9caee0;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(70, 82, 118, 0.25);
}

.home-live-chat-dock .home-live-chat__intro {
  background: rgba(5, 7, 12, 0.35);
}

.home-live-chat__messages {
  max-height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 12px;
  margin: 0 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(55, 62, 88, 0.65);
  background: rgba(6, 8, 14, 0.85);
  scrollbar-width: thin;
  scrollbar-color: rgba(130, 150, 220, 0.35) transparent;
}

.home-live-chat-dock .home-live-chat__messages {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  margin: 0 18px 10px;
  border-radius: 12px;
  border: 1px solid rgba(58, 68, 98, 0.55);
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(95, 124, 255, 0.06), transparent 55%),
    linear-gradient(180deg, #070910 0%, #05060c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.home-live-chat-dock .home-live-chat__messages:empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 20px 16px;
}

.home-live-chat-dock .home-live-chat__messages:empty::before {
  content: "A conversa da sala aparece aqui em tempo real.\A Ainda não há mensagens — diz olá quando quiseres.";
  white-space: pre-line;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(154, 170, 214, 0.72);
  max-width: 26ch;
  font-style: normal;
  letter-spacing: 0.01em;
}

.home-live-chat__msg {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 8px;
  margin: 0 -4px;
  border-radius: 8px;
  border-bottom: none;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #e8ecf8;
  transition: background 0.15s ease;
}

.home-live-chat__msg:hover {
  background: rgba(255, 255, 255, 0.03);
}

.home-live-chat__msg + .home-live-chat__msg {
  border-top: 1px solid rgba(48, 56, 82, 0.45);
}

.home-live-chat__msg-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.68rem;
  color: #9aaee0;
}

.home-live-chat__msg-meta strong {
  color: #c4b5fd;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.home-live-chat__msg-meta-trail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.home-live-chat__mod-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-live-chat__mod-btn {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.35);
  color: rgba(230, 238, 255, 0.92);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  line-height: 1.6;
}

.home-live-chat__mod-btn:hover {
  border-color: rgba(99, 131, 255, 0.55);
  background: rgba(30, 41, 59, 0.45);
}

.home-live-chat__mod-btn--danger {
  border-color: rgba(239, 68, 68, 0.45);
  color: rgba(255, 206, 200, 0.95);
  background: rgba(239, 68, 68, 0.12);
}

.home-live-chat__mod-btn--danger:hover {
  border-color: rgba(239, 68, 68, 0.75);
  background: rgba(239, 68, 68, 0.18);
}

.chat-mute-popover {
  position: fixed;
  z-index: 9999;
  width: 280px;
  max-width: calc(100vw - 24px);
  border-radius: 14px;
  border: 1px solid rgba(88, 104, 150, 0.45);
  background: linear-gradient(180deg, rgba(18, 24, 44, 0.98) 0%, rgba(10, 14, 28, 0.98) 100%);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(99, 131, 255, 0.12);
  padding: 12px;
  backdrop-filter: blur(10px);
}

.chat-mute-popover__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.chat-mute-popover__title {
  font-weight: 800;
  font-size: 0.9rem;
  color: #f4f7ff;
  letter-spacing: 0.01em;
}

.chat-mute-popover__close {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.45);
  color: rgba(230, 238, 255, 0.95);
  cursor: pointer;
  line-height: 1;
  font-size: 1.1rem;
}

.chat-mute-popover__close:hover {
  border-color: rgba(99, 131, 255, 0.55);
}

.chat-mute-popover__sub {
  font-size: 0.78rem;
  color: rgba(180, 195, 235, 0.86);
  margin-bottom: 10px;
}

.chat-mute-popover__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.chat-mute-popover__chip {
  appearance: none;
  border: 1px solid rgba(99, 131, 255, 0.35);
  background: rgba(37, 99, 235, 0.14);
  color: rgba(230, 238, 255, 0.95);
  border-radius: 10px;
  padding: 8px 0;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
}

.chat-mute-popover__chip:hover {
  border-color: rgba(99, 131, 255, 0.65);
  background: rgba(37, 99, 235, 0.18);
}

.chat-mute-popover__custom {
  border-top: 1px solid rgba(48, 56, 82, 0.45);
  padding-top: 10px;
}

.chat-mute-popover__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(203, 214, 255, 0.62);
  margin-bottom: 6px;
}

.chat-mute-popover__custom-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.chat-mute-popover__input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  background: rgba(4, 6, 12, 0.85);
  color: #f4f7ff;
  padding: 8px 10px;
  font-size: 0.9rem;
}

.chat-mute-popover__apply {
  appearance: none;
  border: 1px solid rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
  color: #fff;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.chat-mute-popover__apply:hover {
  filter: brightness(1.05);
}

.chat-mute-popover__hint {
  margin-top: 6px;
  font-size: 0.75rem;
  color: rgba(180, 195, 235, 0.75);
}

.chat-confirm {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
}

.chat-confirm__bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.chat-confirm__panel {
  position: relative;
  width: 420px;
  max-width: calc(100vw - 28px);
  border-radius: 16px;
  border: 1px solid rgba(88, 104, 150, 0.45);
  background: linear-gradient(180deg, rgba(18, 24, 44, 0.98) 0%, rgba(10, 14, 28, 0.98) 100%);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(99, 131, 255, 0.12);
  padding: 14px 14px 12px;
}

.chat-confirm__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.chat-confirm__title {
  font-weight: 900;
  font-size: 1rem;
  color: #f4f7ff;
}

.chat-confirm__message {
  margin-top: 6px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(180, 195, 235, 0.86);
}

.chat-confirm__close {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.45);
  color: rgba(230, 238, 255, 0.95);
  cursor: pointer;
  line-height: 1;
  font-size: 1.15rem;
}

.chat-confirm__close:hover {
  border-color: rgba(99, 131, 255, 0.55);
}

.chat-confirm__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.chat-confirm__btn {
  appearance: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 900;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.chat-confirm__btn--ghost {
  background: rgba(15, 23, 42, 0.35);
  color: rgba(230, 238, 255, 0.92);
}

.chat-confirm__btn--ghost:hover {
  border-color: rgba(99, 131, 255, 0.55);
  background: rgba(30, 41, 59, 0.45);
}

.chat-confirm__btn--primary {
  border: 1px solid rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.chat-confirm__btn--primary:hover {
  filter: brightness(1.05);
}

.chat-confirm__btn--danger {
  border: 1px solid rgba(239, 68, 68, 0.6);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.95) 55%, rgba(185, 28, 28, 0.95) 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.chat-confirm__btn--danger:hover {
  filter: brightness(1.05);
}

.home-live-chat__staff-badge {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 4px;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.45);
  line-height: 1.2;
}

.home-live-chat__msg-time {
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
  flex-shrink: 0;
  font-size: 0.65rem;
}

.home-live-chat__msg-text {
  color: #f0f4fc;
  word-break: break-word;
}

.home-live-chat-dock .home-live-chat__composer-bar {
  flex-shrink: 0;
  padding: 0 18px 14px;
}

.home-live-chat__composer-bar {
  padding: 0;
}

.home-live-chat-dock .home-live-chat__composer {
  flex-shrink: 0;
}

.home-live-chat-dock .home-live-chat__guest-note,
.home-live-chat-dock .home-live-chat__error {
  flex-shrink: 0;
}

.home-live-chat__composer {
  display: flex;
  gap: 0;
  align-items: stretch;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(88, 104, 150, 0.45);
  background: rgba(4, 6, 12, 0.92);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.home-live-chat__input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 9px 0 0 9px;
  border: none;
  background: transparent;
  color: #f4f7ff;
  font-size: 0.875rem;
  outline: none;
}

.home-live-chat__input::placeholder {
  color: rgba(160, 176, 220, 0.55);
}

.home-live-chat__input:focus {
  outline: none;
}

.home-live-chat__composer:focus-within {
  border-color: rgba(96, 140, 255, 0.55);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(96, 140, 255, 0.2);
}

.home-live-chat__input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.home-live-chat__send {
  flex-shrink: 0;
  padding: 0 16px;
  border-radius: 0 8px 8px 0;
  border: none;
  border-left: 1px solid rgba(70, 90, 150, 0.35);
  background: linear-gradient(180deg, #3b7cff 0%, #2563eb 48%, #1d4ed8 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.home-live-chat__send:hover:not(:disabled) {
  filter: brightness(1.06);
}

.home-live-chat__send:active:not(:disabled) {
  transform: translateY(0.5px);
}

.home-live-chat__send:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  filter: grayscale(0.3);
}

.home-live-chat__guest-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 8px 18px 14px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: #a0b2dc;
  border-top: 1px solid rgba(70, 82, 118, 0.28);
  background: rgba(5, 7, 12, 0.45);
}

/* display:flex acima ganha sobre o [hidden] nativo — sem isto a faixa de convidado fica sempre visível */
.home-live-chat__guest-note[hidden] {
  display: none !important;
}

.home-live-chat__guest-icon {
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  color: rgba(150, 175, 235, 0.85);
}

.home-live-chat__guest-icon svg {
  display: block;
}

.home-live-chat__guest-note a {
  color: #8eb8ff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(142, 184, 255, 0.35);
}

.home-live-chat__guest-note a:hover {
  color: #c5dcff;
  border-bottom-color: rgba(197, 220, 255, 0.55);
}

.home-live-chat__error {
  margin: 0;
  padding: 6px 18px 10px;
  font-size: 0.72rem;
  color: #ffb4a8;
}

.home-live-chat__conn {
  margin: 0;
  padding: 10px 18px 12px;
  font-size: 0.68rem;
  color: #7a8ab8;
  flex-shrink: 0;
  border-top: 1px solid rgba(70, 82, 118, 0.28);
}

.home-live-chat__conn[data-state='on'] {
  color: #6bdc9a;
}

.home-live-chat__typing-row {
  margin: 0 18px 8px;
  font-size: 0.7rem;
  font-style: italic;
  color: #98a8d8;
  min-height: 1.2em;
}

.home-live-chat__trim-warn {
  margin: 0 18px 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  line-height: 1.4;
  font-weight: 600;
  color: #ffe8b8;
  background: rgba(255, 180, 60, 0.1);
  border: 1px solid rgba(255, 190, 80, 0.35);
  min-height: 0;
}

.home-live-chat__trim-warn[hidden] {
  display: none !important;
}

.home-live-chat-dock--match-header .home-live-chat__trim-warn {
  color: #ffe0a8;
  background: rgba(255, 160, 50, 0.1);
  border-color: rgba(255, 180, 90, 0.4);
}

.home-live-chat__msg--system {
  opacity: 0.95;
  border-left: 2px solid rgba(95, 124, 255, 0.45);
  padding-left: 8px;
  margin-left: -4px;
}

.home-live-chat__msg-system-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8ea6ff;
  font-weight: 700;
}

.home-live-chat__new-jump {
  position: sticky;
  bottom: 8px;
  align-self: center;
  margin: -36px auto 8px;
  z-index: 3;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(95, 124, 255, 0.45);
  background: rgba(18, 22, 38, 0.95);
  color: #dce6ff;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.home-live-chat__new-jump:hover {
  border-color: rgba(130, 170, 255, 0.65);
}

/* ===== Live chat — mesmos tons que o header (azul, dourado, vidro escuro) ===== */
.home-live-chat-dock--match-header {
  border: 1px solid rgba(95, 124, 255, 0.22);
  background: linear-gradient(
    165deg,
    rgba(14, 16, 26, 0.98) 0%,
    rgba(8, 9, 14, 1) 45%,
    rgba(10, 12, 20, 1) 100%
  );
  box-shadow:
    -12px 0 40px rgba(0, 0, 0, 0.55),
    inset 1px 0 0 rgba(95, 124, 255, 0.1);
}

.home-live-chat-dock--match-header .home-live-chat--premium {
  border: 1px solid rgba(70, 82, 118, 0.5);
  background: linear-gradient(180deg, rgba(22, 26, 42, 0.98) 0%, rgba(12, 14, 24, 0.99) 100%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(95, 124, 255, 0.05);
}

.home-live-chat-dock--match-header .home-live-chat__top {
  border-bottom: 1px solid rgba(95, 124, 255, 0.14);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.07) 0%, transparent 100%);
}

.home-live-chat-dock--match-header .home-live-chat__icon {
  color: #a8c4ff;
  background: linear-gradient(145deg, rgba(59, 91, 180, 0.38) 0%, rgba(22, 28, 52, 0.92) 100%);
  border: 1px solid rgba(120, 150, 230, 0.28);
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.12);
}

.home-live-chat-dock--match-header .home-live-chat__eyebrow {
  color: rgba(170, 188, 224, 0.78);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.62rem;
}

.home-live-chat-dock--match-header .home-live-chat__title {
  color: rgba(232, 238, 251, 0.96);
  font-weight: 800;
}

/* Linha dourada do header → destaque da marca */
.home-live-chat-dock--match-header .home-live-chat__title-accent {
  color: #e8cf6a;
  text-shadow: 0 0 28px rgba(201, 162, 55, 0.28);
}

.home-live-chat-dock--match-header .home-live-chat__badge {
  color: rgba(232, 238, 251, 0.95);
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.18) 0%,
    rgba(29, 78, 216, 0.12) 100%
  );
  border: 1px solid rgba(59, 130, 246, 0.42);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.12);
}

.home-live-chat-dock--match-header .home-live-chat__badge-dot {
  background: #3ddc84;
  box-shadow: 0 0 10px rgba(61, 220, 132, 0.65);
  animation: home-chat-header-live-pulse 2s ease-in-out infinite;
}

@keyframes home-chat-header-live-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(61, 220, 132, 0.65);
  }
  50% {
    opacity: 0.82;
    box-shadow: 0 0 5px rgba(61, 220, 132, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-live-chat-dock--match-header .home-live-chat__badge-dot {
    animation: none;
  }
}

.home-live-chat-dock--match-header .home-live-chat__intro {
  color: rgba(154, 170, 214, 0.85);
  border-bottom: 1px solid rgba(95, 124, 255, 0.1);
  background: rgba(5, 7, 12, 0.4);
}

.home-live-chat-dock--match-header .home-live-chat__intro-strong {
  color: rgba(232, 238, 251, 0.94);
  font-weight: 700;
}

.home-live-chat-dock--match-header .home-live-chat__messages {
  border: 1px solid rgba(58, 68, 98, 0.55);
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(59, 130, 246, 0.06), transparent 52%),
    linear-gradient(180deg, #070910 0%, #05060c 100%);
  scrollbar-color: rgba(95, 124, 255, 0.35) transparent;
}

.home-live-chat-dock--match-header .home-live-chat__messages:empty::before {
  color: rgba(154, 170, 214, 0.62);
}

.home-live-chat-dock--match-header .home-live-chat__msg {
  color: #e8ecf8;
  border-radius: 6px;
  padding: 7px 6px;
}

.home-live-chat-dock--match-header .home-live-chat__msg:hover {
  background: rgba(255, 255, 255, 0.035);
}

.home-live-chat-dock--match-header .home-live-chat__msg + .home-live-chat__msg {
  border-top: 1px solid rgba(70, 82, 118, 0.35);
}

.home-live-chat-dock--match-header .home-live-chat__msg-meta {
  color: #9aaee0;
}

.home-live-chat-dock--match-header .home-live-chat__msg-meta strong {
  color: #f0f4fc;
  font-weight: 700;
}

.home-live-chat-dock--match-header .home-live-chat__staff-badge {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.45);
}

.home-live-chat-dock--match-header .home-live-chat__msg-text {
  color: #f0f4fc;
  font-size: 0.8rem;
  line-height: 1.42;
}

.home-live-chat-dock--match-header .home-live-chat__composer {
  border: 1px solid rgba(88, 104, 150, 0.45);
  background: rgba(4, 6, 12, 0.94);
  border-radius: 12px;
  padding: 4px;
}

.home-live-chat-dock--match-header .home-live-chat__input {
  color: #f4f7ff;
}

.home-live-chat-dock--match-header .home-live-chat__input::placeholder {
  color: rgba(160, 176, 220, 0.55);
}

.home-live-chat-dock--match-header .home-live-chat__composer:focus-within {
  border-color: rgba(95, 124, 255, 0.55);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(95, 124, 255, 0.18);
}

/* Igual ao #headerRegisterBtnMain */
.home-live-chat-dock--match-header .home-live-chat__send {
  border-left: 1px solid rgba(59, 130, 246, 0.45);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.home-live-chat-dock--match-header .home-live-chat__send:hover:not(:disabled) {
  filter: brightness(1.06);
}

.home-live-chat-dock--match-header .home-live-chat__guest-note {
  color: #a0b2dc;
  border-top: 1px solid rgba(70, 82, 118, 0.28);
  background: rgba(5, 7, 12, 0.45);
}

.home-live-chat-dock--match-header .home-live-chat__guest-note a {
  color: #8eb8ff;
  border-bottom-color: rgba(142, 184, 255, 0.35);
}

.home-live-chat-dock--match-header .home-live-chat__guest-note a:hover {
  color: #c5dcff;
  border-bottom-color: rgba(197, 220, 255, 0.55);
}

.home-live-chat-dock--match-header .home-live-chat__guest-icon {
  color: rgba(142, 184, 255, 0.85);
}

.home-live-chat-dock--match-header .home-live-chat__error {
  color: #ffb4a8;
}

.home-live-chat-dock--match-header .home-live-chat__conn {
  color: #7a8ab8;
  border-top: 1px solid rgba(70, 82, 118, 0.28);
}

.home-live-chat-dock--match-header .home-live-chat__conn[data-state='on'] {
  color: #6bdc9a;
}

.home-live-chat-dock--match-header .home-live-chat__typing-row {
  color: rgba(152, 168, 216, 0.85);
  font-style: italic;
  font-size: 0.7rem;
}

.home-live-chat-dock--match-header .home-live-chat__msg--system {
  border-left: 3px solid rgba(95, 124, 255, 0.55);
  background: rgba(59, 130, 246, 0.05);
}

.home-live-chat-dock--match-header .home-live-chat__msg-system-label {
  color: #8ea6ff;
}

.home-live-chat-dock--match-header .home-live-chat__new-jump {
  border: 1px solid rgba(95, 124, 255, 0.45);
  background: rgba(18, 22, 38, 0.96);
  color: #dce6ff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.home-live-chat-dock--match-header .home-live-chat__new-jump:hover {
  border-color: rgba(130, 170, 255, 0.65);
  color: #fff;
}

@media (max-width: 1200px) {
  .home-twitch-shell {
    padding: 0 12px;
    min-height: 0;
  }

  .home-twitch-shell__row {
    grid-template-columns: 1fr;
  }

  .home-live-chat-dock {
    position: static;
    margin-top: 0;
    width: 100%;
    max-width: none;
    flex: none;
    height: auto;
    max-height: min(440px, 58svh);
    margin-right: 0;
    border-radius: 14px;
    border: 1px solid rgba(88, 104, 160, 0.35);
    border-right: 1px solid rgba(88, 104, 160, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  }

  .home-live-chat-dock--match-header {
    border: 1px solid rgba(95, 124, 255, 0.22);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  }

  .home-live-chat-dock .home-live-chat__messages {
    max-height: min(220px, 34svh);
    flex: none;
    margin-left: 8px;
    margin-right: 8px;
  }

  .home-live-chat-dock .home-live-chat__messages:empty {
    min-height: 88px;
  }
}

/* ===== Páginas estáticas (informações / legais) ===== */
.legal-page-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: linear-gradient(180deg, #0a0c12 0%, #080910 100%);
  color: #e8ecf8;
  padding-top: 68px !important;
}

.legal-page-main {
  flex: 1;
  width: 100%;
  box-sizing: border-box;
  padding: 28px 20px 56px;
}

.legal-page {
  max-width: 44rem;
  margin: 0 auto;
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #8eb8ff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.legal-page__back:hover {
  color: #c5dcff;
  border-bottom-color: rgba(197, 220, 255, 0.4);
}

.legal-page__title {
  margin: 0 0 8px;
  font-family: 'Cinzel', 'Times New Roman', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f4f7ff;
  line-height: 1.2;
}

.legal-page__updated {
  margin: 0 0 24px;
  font-size: 0.78rem;
  color: #7a8ab8;
}

.legal-page__prose {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #c5cde0;
}

.legal-page__prose h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e4e9f7;
  letter-spacing: 0.02em;
}

.legal-page__prose h2:first-child {
  margin-top: 0;
}

.legal-page__prose p {
  margin: 0 0 0.9rem;
}

.legal-page__prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-page__prose li {
  margin-bottom: 0.45rem;
}

.legal-page__prose a {
  color: #8eb8ff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(142, 184, 255, 0.35);
}

.legal-page__prose a:hover {
  color: #c5dcff;
  border-bottom-color: rgba(197, 220, 255, 0.55);
}

.legal-page__lead {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #b4bfd8;
}

.legal-page__contact-card {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(25, 32, 55, 0.95) 0%, rgba(12, 14, 24, 0.98) 100%);
  border: 1px solid rgba(95, 124, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.legal-page__contact-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8ea2d4;
}

.legal-page__contact-mail {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #8eb8ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(142, 184, 255, 0.4);
  word-break: break-all;
}

.legal-page__contact-mail:hover {
  color: #c5dcff;
  border-bottom-color: rgba(197, 220, 255, 0.6);
}

.legal-page__contact-hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #9aa6c4;
}

.legal-page__note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(70, 82, 118, 0.35);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #8a96b8;
}

.legal-page__footer-mini {
  flex-shrink: 0;
  padding: 20px;
  text-align: center;
  font-size: 0.78rem;
  color: #6b7a9e;
  border-top: 1px solid rgba(70, 82, 118, 0.28);
  background: rgba(6, 8, 14, 0.85);
}

.legal-page__footer-mini a {
  color: #8eb8ff;
  text-decoration: none;
  margin: 0 8px;
  font-weight: 600;
}

.legal-page__footer-mini a:hover {
  text-decoration: underline;
}

.casino-footer__list a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(142, 184, 255, 0.22);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.casino-footer__list a:hover {
  color: #c5dcff;
  border-bottom-color: rgba(197, 220, 255, 0.45);
}

/* Página de suporte (estilo casino / centro de ajuda) */
.support-page--wide {
  max-width: 52rem;
}

.support-hero {
  margin: 0 0 1.5rem;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(42, 58, 112, 0.45) 0%, rgba(14, 18, 32, 0.98) 55%, rgba(10, 12, 20, 1) 100%);
  border: 1px solid rgba(110, 140, 255, 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.support-hero__badge {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8c4ff;
  background: rgba(80, 110, 200, 0.25);
  border-radius: 6px;
  border: 1px solid rgba(130, 160, 255, 0.35);
}

.support-hero__lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #aeb9d6;
}

.support-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 12px;
  margin: 0 0 1.35rem;
}

.support-trust-card {
  padding: 0.95rem 1rem;
  border-radius: 10px;
  background: rgba(18, 22, 38, 0.72);
  border: 1px solid rgba(82, 102, 160, 0.28);
}

.support-trust-card__icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.support-trust-card__title {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #e6ebfb;
}

.support-trust-card__text {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #8f9cbb;
}

.support-sla-line {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #8cb896;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(34, 72, 52, 0.35);
  border: 1px solid rgba(100, 180, 130, 0.28);
}

.support-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 0.85rem;
}

.support-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.72rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0a0c12;
  text-decoration: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #9ec0ff 0%, #6a9cff 45%, #4a7ae8 100%);
  box-shadow: 0 4px 18px rgba(80, 130, 255, 0.35);
  border: 1px solid rgba(200, 220, 255, 0.45);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.support-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(90, 140, 255, 0.45);
  color: #060810;
}

.support-cta-btn:active {
  transform: translateY(0);
}

.support-cta-note {
  margin: 0;
  font-size: 0.78rem;
  color: #7b88ab;
  max-width: 18rem;
}

.support-steps {
  margin: 1.5rem 0 0;
  padding: 1.15rem 1.1rem 1.1rem;
  border-radius: 12px;
  background: rgba(12, 14, 24, 0.65);
  border: 1px solid rgba(70, 82, 118, 0.35);
}

.support-steps h2 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  color: #e4e9f7;
}

.support-steps ol {
  margin: 0;
  padding-left: 1.15rem;
  color: #b4bfd8;
  font-size: 0.88rem;
  line-height: 1.55;
}

.support-steps li {
  margin-bottom: 0.5rem;
}

.support-steps li:last-child {
  margin-bottom: 0;
}

.support-security {
  margin: 1.35rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(200, 120, 90, 0.25);
  background: rgba(48, 28, 22, 0.35);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #d8b8a8;
}

.support-security strong {
  color: #f0d4c4;
}

.support-faq-mini {
  margin-top: 1.25rem;
}

@media (max-width: 520px) {
  .support-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .support-cta-btn {
    width: 100%;
    box-sizing: border-box;
  }
}

