
/* Apex Tale - Fase 5: Dashboard do Jogador */
.apex-player-dashboard{--apx-gold:#58b6ea;--apx-gold-2:#9edcff;--apx-panel:#10141d;--apx-panel-2:#151b26;--apx-line:rgba(88,182,234,.18);--apx-soft:#8e99ab}
.apex-player-dashboard .nk-content-wrap{padding-top:1.15rem}
.apx-player-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;margin-bottom:18px;border:1px solid var(--apx-line);border-radius:18px;background:radial-gradient(circle at 86% 15%,rgba(88,182,234,.18),transparent 34%),linear-gradient(135deg,#151a24 0%,#0e121a 72%);box-shadow:0 18px 45px rgba(0,0,0,.22)}
.apx-player-hero:before{content:"";position:absolute;inset:0;border-top:1px solid rgba(240,206,120,.22);pointer-events:none}
.apx-player-kicker,.apx-section-eyebrow{display:block;color:var(--apx-gold);font-size:.67rem;font-weight:800;letter-spacing:.16em}
.apx-player-hero h2{margin:.25rem 0 .3rem;color:#fff;font-size:1.7rem}
.apx-player-hero p{margin:0;color:#9ba6b7}
.apx-player-hero__meta{display:flex;flex-wrap:wrap;gap:14px;margin-top:16px;color:#c6ccd6;font-size:.78rem}
.apx-player-hero__meta span{display:flex;align-items:center;gap:6px}
.apx-player-hero__meta .is-ok{color:#69d59b}.apx-player-hero__meta .is-danger{color:#ff7c88}
.apx-player-hero__actions{display:flex;gap:10px;flex-wrap:wrap;position:relative;z-index:1}
.apex-player-dashboard .btn-primary{background:linear-gradient(135deg,#198fd0,#72c9f1)!important;border-color:#67c3ef!important;color:#15100a!important;font-weight:700;box-shadow:0 8px 24px rgba(88,182,234,.16)}
.apex-player-dashboard .btn-outline-primary{border-color:rgba(88,182,234,.5)!important;color:#7ccff4!important}
.apex-player-dashboard .btn-outline-primary:hover{background:rgba(88,182,234,.1)!important;color:#fff!important}
.apx-player-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.apx-stat-card{display:flex;align-items:center;gap:14px;min-height:112px;padding:18px;border:1px solid rgba(255,255,255,.07);border-radius:15px;background:linear-gradient(145deg,#131924,#0f141d);color:inherit;transition:.2s ease}
.apx-stat-card:hover{transform:translateY(-2px);border-color:rgba(88,182,234,.38);box-shadow:0 12px 26px rgba(0,0,0,.18)}
.apx-stat-icon{width:46px;height:46px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(88,182,234,.1);color:var(--apx-gold-2);font-size:1.35rem;border:1px solid rgba(88,182,234,.18)}
.apx-stat-card small{display:block;color:#818c9d;text-transform:uppercase;font-weight:700;letter-spacing:.07em;font-size:.64rem}
.apx-stat-card strong{display:block;color:#fff;font-size:1.35rem;line-height:1.2;margin:3px 0}
.apx-stat-card div>span{color:#7f8a9c;font-size:.72rem}
.apx-panel-card{background:linear-gradient(145deg,var(--apx-panel-2),var(--apx-panel))!important;border-color:rgba(255,255,255,.07)!important;border-radius:16px!important;box-shadow:0 10px 30px rgba(0,0,0,.14)}
.apx-panel-card .card-inner{padding:22px}
.apx-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.apx-section-head h5{margin:3px 0 0;color:#f5f7fa;font-size:1.05rem}
.apx-count-pill{min-width:42px;padding:5px 9px;text-align:center;border-radius:999px;background:rgba(88,182,234,.1);border:1px solid rgba(88,182,234,.2);color:var(--apx-gold-2);font-size:.72rem;font-weight:800}
.apx-main-char{display:flex;align-items:center;gap:18px;padding:18px;margin-bottom:15px;border-radius:14px;background:linear-gradient(120deg,rgba(88,182,234,.14),rgba(88,182,234,.03));border:1px solid rgba(88,182,234,.19)}
.apx-main-char__portrait{width:66px;height:66px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:#0b0f16;border:1px solid rgba(88,182,234,.25)}
.apx-main-char__portrait img{max-width:54px;max-height:54px}
.apx-main-char__info>span{font-size:.61rem;color:var(--apx-gold);font-weight:800;letter-spacing:.12em}
.apx-main-char__info h3{margin:2px 0;color:#fff;font-size:1.3rem}
.apx-main-char__info div{display:flex;gap:12px;color:#929daf;font-size:.77rem}
.apx-main-char__info b{color:#9edcff}
.apx-char-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.apx-char-card{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid rgba(255,255,255,.06);border-radius:12px;background:rgba(255,255,255,.018)}
.apx-char-card.is-main{border-color:rgba(88,182,234,.26)}
.apx-char-card img{width:38px;height:38px;object-fit:contain}
.apx-char-card__body strong,.apx-char-card__body span,.apx-char-card__body small{display:block}
.apx-char-card__body strong{color:#fff;font-size:.83rem}
.apx-char-card__body span{color:#72c9f1;font-size:.72rem;font-weight:700}
.apx-char-card__body small{color:#798496;font-size:.68rem;margin-top:2px}
.apx-account-list{display:grid;gap:0;border:1px solid rgba(255,255,255,.06);border-radius:13px;overflow:hidden}
.apx-account-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.055)}
.apx-account-list>div:last-child{border-bottom:0}
.apx-account-list span{color:#808b9d;font-size:.74rem}
.apx-account-list strong{color:#e7ebf0;font-size:.76rem;text-align:right;word-break:break-word}
.apx-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:13px}
.apx-quick-actions a{display:flex;align-items:center;gap:8px;padding:12px;border-radius:11px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06);color:#b7c0cd;font-size:.74rem}
.apx-quick-actions a:hover{border-color:rgba(88,182,234,.3);color:#72c9f1;background:rgba(88,182,234,.055)}
.apx-text-link{font-size:.72rem;color:#72c9f1}
.apx-ticket-list,.apx-notification-list{display:grid;gap:8px}
.apx-ticket-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:12px;border-radius:11px;border:1px solid rgba(255,255,255,.055);background:rgba(255,255,255,.018)}
.apx-ticket-row:hover{border-color:rgba(88,182,234,.25);background:rgba(88,182,234,.035)}
.apx-ticket-id{font-weight:800;color:#58b6ea;font-size:.72rem}
.apx-ticket-main strong,.apx-ticket-main span{display:block}
.apx-ticket-main strong{color:#e8ecf2;font-size:.77rem}.apx-ticket-main span{color:#7d8899;font-size:.67rem;margin-top:2px}
.apx-notification-row{display:flex;align-items:flex-start;gap:10px;padding:11px 9px;border-bottom:1px solid rgba(255,255,255,.05)}
.apx-notification-row:last-child{border-bottom:0}
.apx-notification-row strong,.apx-notification-row span{display:block}
.apx-notification-row strong{color:#dbe0e8;font-size:.75rem;font-weight:600}.apx-notification-row span{color:#747f90;font-size:.65rem;margin-top:3px}
.apx-notification-dot{width:7px;height:7px;margin-top:6px;border-radius:50%;background:#596273;flex:0 0 auto}
.apx-notification-row.is-unread .apx-notification-dot{background:#65bfe9;box-shadow:0 0 0 4px rgba(88,182,234,.08)}
.apx-notification-row.is-unread strong{color:#fff}
.apx-player-table{margin-bottom:0;color:#c4cbd5}
.apx-player-table thead th{color:#8e98a8!important;background:rgba(255,255,255,.02)!important;border-bottom:1px solid rgba(88,182,234,.12)!important;font-size:.66rem;text-transform:uppercase;letter-spacing:.06em}
.apx-player-table td{border-top:1px solid rgba(255,255,255,.05)!important;vertical-align:middle;color:#bdc5d0!important;font-size:.75rem}
.apx-player-table td strong{color:#eef1f5}
.apx-empty-state{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 14px;color:#778294}
.apx-empty-state em{font-size:1.8rem;color:#4d9cc7;margin-bottom:8px}.apx-empty-state strong{color:#d9dee6;font-size:.82rem}.apx-empty-state span{font-size:.7rem;margin-top:3px}
.apx-empty-state.is-compact{padding:20px 10px}.apx-empty-inline{text-align:center;padding:18px;color:#747f90}
@media(max-width:991.98px){.apx-player-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.apx-player-hero{align-items:flex-start;flex-direction:column}.apx-player-hero__actions{width:100%}}
@media(max-width:575.98px){.apx-player-hero{padding:22px 18px;border-radius:14px}.apx-player-hero h2{font-size:1.35rem}.apx-player-stats{grid-template-columns:1fr}.apx-char-grid{grid-template-columns:1fr}.apx-quick-actions{grid-template-columns:1fr}.apx-ticket-row{grid-template-columns:auto 1fr}.apx-ticket-row>.badge{grid-column:2}.apx-panel-card .card-inner{padding:17px}.apx-player-hero__actions .btn{flex:1}}


/* Apex Tale - Fase 6: Battle Pass e Eventos */
.apx-season-preview p,.apx-event-preview p{color:#8d98a8;font-size:.78rem;line-height:1.6;margin-bottom:16px}
.apx-season-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;margin-bottom:18px;border-radius:18px;border:1px solid rgba(88,182,234,.2);background:radial-gradient(circle at 85% 10%,rgba(88,182,234,.2),transparent 35%),linear-gradient(135deg,#171b25,#0e1219);box-shadow:0 18px 45px rgba(0,0,0,.2)}
.apx-season-hero h2{color:#fff;margin:4px 0 6px;font-size:1.65rem}.apx-season-hero p{color:#929dae;margin:0}
.apx-season-dates{display:flex;gap:16px;flex-wrap:wrap;margin-top:14px;color:#a8b0be;font-size:.73rem}
.apx-season-level{width:112px;height:112px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 auto;background:rgba(88,182,234,.08);border:1px solid rgba(88,182,234,.34);box-shadow:inset 0 0 25px rgba(88,182,234,.07)}
.apx-season-level small{font-size:.58rem;color:#4f9fc6;letter-spacing:.08em}.apx-season-level strong{font-size:2rem;color:#9edcff;line-height:1}.apx-season-level span{color:#798496;font-size:.65rem}
.apx-bp-summary{display:grid;grid-template-columns:2fr 1fr;gap:14px}
.apx-bp-progress-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px}.apx-bp-progress-head h5{margin:3px 0 0;color:#fff}.apx-bp-progress-head>strong{color:#58b6ea;font-size:.72rem}
.apx-bp-progress{height:10px;margin:15px 0 10px;border-radius:999px;background:#0a0e14;border:1px solid rgba(255,255,255,.05);overflow:hidden}.apx-bp-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#147eb6,#8edbfa)}
.apx-bp-note{margin:0;color:#747f91;font-size:.68rem}.apx-premium-card p{color:#818c9d;font-size:.74rem;line-height:1.55}.apx-premium-card h5{color:#fff;margin:3px 0 8px}
.apx-reward-track{display:grid;gap:8px;max-height:720px;overflow:auto;padding-right:4px}.apx-reward-level{display:grid;grid-template-columns:76px 1fr 1fr;gap:9px;align-items:stretch}
.apx-reward-level__num,.apx-reward-box{padding:13px;border-radius:11px;border:1px solid rgba(255,255,255,.055);background:rgba(255,255,255,.018)}
.apx-reward-level__num{display:flex;flex-direction:column;align-items:center;justify-content:center}.apx-reward-level__num span{font-size:.55rem;color:#6f7a8b}.apx-reward-level__num strong{font-size:1.15rem;color:#fff}
.apx-reward-box small,.apx-reward-box strong,.apx-reward-box span{display:block}.apx-reward-box small{font-size:.56rem;color:#7e8999;font-weight:800;letter-spacing:.08em}.apx-reward-box strong{font-size:.74rem;color:#dce1e8;margin:3px 0}.apx-reward-box span{font-size:.63rem;color:#6f7a89}.apx-reward-box.is-premium{border-color:rgba(88,182,234,.15)}.apx-reward-box.is-premium small,.apx-reward-box.is-premium strong{color:#72c9f1}
.apx-reward-level.is-unlocked{opacity:1}.apx-reward-level.is-unlocked .apx-reward-level__num{border-color:rgba(88,182,234,.28);background:rgba(88,182,234,.055)}.apx-reward-level.is-locked{opacity:.58}
.apx-events-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.apx-event-card{padding:20px;border-radius:15px;border:1px solid rgba(255,255,255,.07);background:linear-gradient(145deg,#151b25,#10141c);box-shadow:0 10px 28px rgba(0,0,0,.14)}
.apx-event-card__top{display:flex;align-items:center;justify-content:space-between;gap:10px}.apx-event-type{font-size:.58rem;font-weight:800;letter-spacing:.12em;color:#58b6ea}.apx-event-state{font-size:.6rem;font-weight:800;padding:4px 8px;border-radius:999px}.apx-event-state.is-scheduled{color:#72c9f1;background:rgba(88,182,234,.09)}.apx-event-state.is-active{color:#66d49a;background:rgba(80,202,137,.1)}.apx-event-state.is-ended{color:#7f8998;background:rgba(255,255,255,.05)}.apx-event-state.is-cancelled{color:#ef6b73;background:rgba(239,107,115,.1)}
.apx-event-card h4{color:#fff;margin:12px 0 6px;font-size:1rem}.apx-event-card>p{color:#8490a1;font-size:.73rem;line-height:1.55;min-height:46px}.apx-event-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}.apx-event-meta div{padding:10px;border-radius:9px;background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.05)}.apx-event-meta small,.apx-event-meta strong{display:block}.apx-event-meta small{font-size:.55rem;color:#6f7988}.apx-event-meta strong{font-size:.66rem;color:#cbd2dc;margin-top:2px}.apx-event-reward{display:flex;align-items:center;gap:8px;margin-top:11px;padding-top:11px;border-top:1px solid rgba(255,255,255,.05);color:#72c9f1;font-size:.7rem}
@media(max-width:991.98px){.apx-bp-summary{grid-template-columns:1fr}.apx-events-grid{grid-template-columns:1fr 1fr}.apx-season-hero{align-items:flex-start}.apx-reward-level{grid-template-columns:62px 1fr 1fr}}
@media(max-width:575.98px){.apx-season-hero{flex-direction:column;padding:22px 18px}.apx-season-level{width:88px;height:88px}.apx-events-grid{grid-template-columns:1fr}.apx-reward-level{grid-template-columns:52px 1fr}.apx-reward-box.is-premium{grid-column:2}.apx-bp-progress-head{align-items:flex-start;flex-direction:column}}

/* ===== DONATION LAYOUT MERGED FROM css-update.css ===== */
:root {
    --var(--main-color): #677afc;
}
.inner-content {
  margin: 110px auto 60px;
}

@media (max-width: 900px) {
  .inner-content {
    margin: 80px auto 60px;
  }
}

.donate-content {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.donate-content__col {
  width: calc( ( 100% - 30px ) / 2);
}

@media (max-width: 900px) {
  .donate-content__col {
    width: 100%;
  }
}

.donate-content__bonuses {
  width: 100%;
  margin-bottom: 25px;
}

.donate-content__bonuses-title {
  width: 100%;
  margin-bottom: 5px;
}

.donate-content__bonuses-item {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 5px;
  background: rgba(18, 32, 62, 0.42);
  border-radius: 8px;
  color: #e2e8f0;
  border: 1px solid rgba(96, 165, 250, 0.28);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.donate-content__bonuses-item:not(:last-child) {
  margin-bottom: 14px;
}

.donate-content__bonuses-item-col {
  width: calc( ( 100% - 5px ) / 2);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media (max-width: 540px) {
  .donate-content__bonuses-item-col {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .donate-content__bonuses-item-col:not(:last-child) {
    margin-bottom: 5px;
  }
}

.donate-content__bonuses-item-name {
  width: 100px;
  padding: 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.15);
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  color: #b7b7b7;
  -ms-flex-item-align: stretch;
  -ms-grid-row-align: stretch;
  align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.donate-content__bonuses-item-val {
  width: calc( 100% - 100px - 5px);
  padding: 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
  color: #8fd8f7;
  -ms-flex-item-align: stretch;
  -ms-grid-row-align: stretch;
  align-self: stretch;
}

.donate-content .btn-primary {
  background-color: var(--main-color);
  border-color: var(--main-color);
  color: #1b1b1a;
}

.rating-container .select-server-menu {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 0px;
}

@media (max-width: 540px) {
  .rating-container .select-server-menu .nk-menu-heading {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .rating-container .select-server-menu .nk-menu-item {
    width: 100%;
  }
}

.rating-container .select-server-menu #select-server {
  width: 200px;
  margin-left: 10px;
}

@media (max-width: 540px) {
  .rating-container .select-server-menu #select-server {
    width: 100%;
    margin-left: 0px;
    margin-top: 5px;
  }
}

.rating-container .nav-tabs {
  margin: 0px;
  border-bottom: 1px solid #424242;
}

.rating-container .nav-tabs-card {
  padding: 0px;
}

.rating-container .nav-tabs .nav-item .nav-link {
  padding: 10px 0px;
  font-size: 16px;
  color: #cfcfcf !important;
}

.rating-container .nav-tabs .nav-item .nav-link.active {
  color: #219bd3 !important;
}

@media (max-width: 540px) {
  .rating-container .nav-tabs .nav-item .nav-link {
    margin-right: 0px;
  }
}

.rating-container .tab-content {
  margin: 0px;
}

.rating-container table {
  min-width: 700px;
}

.rating-container table thead th {
  background-color: #424242 !important;
  border: none !important;
  color: #8fd8f7 !important;
  font-size: 14px;
  line-height: 14px;
  border-radius: 5px;
  padding: 15px 5px;
}

.rating-container table th:first-child {
  padding-left: 5px;
}

.rating-container table th, .rating-container table td {
  font-size: 16px;
  line-height: 16px;
  color: #cfcfcf;
  padding: 15px 5px;
  border-top: 1px solid #424242;
}

.rating-container table th.align-middle, .rating-container table td.align-middle {
  text-align: center;
}

.rating-container #select-server {
  height: 34px !important;
}

.rating-container .table-responsive {
  overflow-x: hidden;
}

#payment, #server, #select-server {
  height: 44px !important;
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  padding: 5px 10px 5px 10px;
  background-color: rgba(12, 24, 52, 0.38);
  color: #f1f5f9;
}

.card-inner {
  padding-bottom: 0px;
}

.card-inner input, .card-inner select {
  height: 44px;
}

.card-inner .form-group .form-control {
  background-color: rgba(12, 24, 52, 0.38);
  border-color: rgba(59, 130, 246, 0.28);
  color: #f1f5f9;
}

.card-inner .input-group {
  position: relative;
  margin-top: 5px;
}

.card-inner .count-bonus {
  padding: 3px 8px 4px;
  background: #219bd3;
  border-radius: 4px;
  font-size: 14px;
  color: #000;
  position: absolute;
  top: 7px;
  right: 7px;
}

@media (max-width: 540px) {
  .card-title {
    font-size: 22px;
    line-height: 22px;
  }
}

.irs--round {
  font-family: Intro, sans-serif;
}

.irs--round .irs-line, .irs--round .irs-grid-pol, .irs--round .irs-min, .irs--round .irs-max {
  font-family: Intro, sans-serif;
  background-color: rgba(59, 130, 246, 0.2);
  color: #94a3b8;
}

.irs--round .irs-single {
  font-family: Intro, sans-serif;
  background-color: #3b82f6;
  color: #fff;
}

.irs--round .irs-single::before {
  border-top-color: #3b82f6;
}

.irs--round .irs-handle {
  cursor: pointer;
  border: 4px solid #3b82f6;
  background-color: rgba(15, 30, 60, 0.85);
  -webkit-transition: background-color .3s ease-in-out;
  -o-transition: background-color .3s ease-in-out;
  transition: background-color .3s ease-in-out;
}

.irs--round .irs-handle:hover, .irs--round .irs-handle.state_hover {
  background-color: #60a5fa;
}

.irs--round .irs-bar {
  background-color: #3b82f6;
}
.ditems-block {
    display: none;
}

.donate-item-name {
    width: 200% !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
}
.donate-item-name .item-name img {
    margin-right: 15px;
    width: 32px;
}
.donate-item-val {
    width: calc( 100% - 150px - 5px) !important;
    padding-top: 12px;
}

.donate-item-row {
    width: 100%;
}
.donate-item-val-block {
    width: calc( 100% - 5px) !important;
}
.user-card {
    align-items: center;
    display: flex;
}
.item-name {
    display: flex;
    align-items: center;
}
.exchange_rates {
    padding: 10px;
}

@font-face {
    font-family: "ApexAngelus";
    src: url("../../site/templates/default/fonts/AngelusMedieval/AngelusMedieval.woff2") format("woff2");
    font-display: swap;
}

@media (min-width: 799px) {
.donate-content-group {
    display: flex;
    justify-content: space-between;
}
}

.voting-img {
  width: 80px;
}

/* =====================================================================
   APEX TALE — RESTAURAÇÃO DO LOGIN/CADASTRO CENTRALIZADO
   Painel translúcido sobre o background, SEM layout dividido.
   ===================================================================== */

/* A página inteira usa o background existente. */
body.dark-mode.bg-white:has(.nk-split-page) {
    min-height: 100vh !important;
    margin: 0 !important;
    background:
        linear-gradient(180deg, rgba(2,4,8,.64), rgba(2,4,8,.76)),
        url(../img/apex-auth-bg-premium.jpg) center center / cover fixed no-repeat !important;
    color: #f3e7ce !important;
}

/* Remove somente a coluna/imagem lateral do layout antigo. */
body.dark-mode.bg-white .nk-split-page > .nk-split-stretch {
    display: none !important;
}

/* O wrapper da esquerda deixa de ocupar "metade da tela". */
body.dark-mode.bg-white .nk-split-page > .nk-split-content,
body.dark-mode.bg-white .nk-split-page .nk-split-content-md {
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh !important;
    flex: 1 1 100% !important;
    background: transparent !important;
}

/* Centraliza todo o painel. */
body.dark-mode.bg-white .nk-split-page {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 100vh !important;
    padding: 34px 18px !important;
    background: transparent !important;
}

/* Painel translúcido real */
body.dark-mode.bg-white .nk-split-page .nk-auth-container,
body.dark-mode.bg-white .nk-split-page .nk-auth-container.bg-white {
    position: relative !important;
    isolation: isolate !important;
    display: block !important;
    width: min(560px, calc(100vw - 36px)) !important;
    max-width: 560px !important;
    min-height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    flex: 0 0 auto !important;

    background:
        linear-gradient(180deg,
            rgba(30, 20, 15, .82) 0%,
            rgba(9, 9, 10, .88) 100%) !important;

    border: 1px solid rgba(213, 168, 77, .52) !important;
    border-radius: 18px !important;

    box-shadow:
        0 28px 90px rgba(0,0,0,.56),
        inset 0 1px 0 rgba(255,230,170,.035) !important;

    backdrop-filter: blur(12px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(12px) saturate(1.08) !important;
    overflow: hidden !important;
}

/* Linha dourada superior */
body.dark-mode.bg-white .nk-split-page .nk-auth-container::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(221,177,83,.20),
        rgba(242,201,103,.88),
        rgba(221,177,83,.20),
        transparent
    );
    z-index: 1;
}

/* Reverte a margem especial do template para telas grandes. */
@media (min-width: 1540px) {
    body.dark-mode.bg-white .nk-split-page .nk-auth-body,
    body.dark-mode.bg-white .nk-split-page .nk-auth-footer {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Logo no topo do painel */
body.dark-mode.bg-white .nk-split-page .brand-logo,
body.dark-mode.bg-white .nk-split-page .logo-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 22px 28px 0 !important;
}

body.dark-mode.bg-white .nk-split-page .brand-logo .logo-img,
body.dark-mode.bg-white .nk-split-page .logo-link .logo-img {
    display: block !important;
    width: auto !important;
    max-width: 92% !important;
    max-height: 176px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

/* Conteúdo interno */
body.dark-mode.bg-white .nk-split-page .nk-auth-body,
body.dark-mode.bg-white .nk-split-page .nk-auth-footer {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: 470px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.dark-mode.bg-white .nk-split-page .nk-auth-body {
    padding: 18px 32px 26px !important;
}

body.dark-mode.bg-white .nk-split-page .nk-auth-footer {
    padding: 18px 32px 26px !important;
    border-top: 1px solid rgba(213,168,77,.16) !important;
}

/* Voltar ao site */
body.dark-mode.bg-white .nk-split-page .nk-auth-back .link-primary {
    color: #e8c46d !important;
}

body.dark-mode.bg-white .nk-split-page .nk-auth-back .link-primary:hover {
    color: #ffe2a0 !important;
}

/* Títulos */
body.dark-mode.bg-white .nk-split-page .nk-auth-body .nk-block-title,
body.dark-mode.bg-white .nk-split-page .nk-auth-body h5.nk-block-title {
    color: #f2cf78 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: .07em !important;
}

/* Labels */
body.dark-mode.bg-white .nk-split-page .nk-auth-body .form-label {
    color: #dfcfb1 !important;
    font-weight: 600 !important;
}

/* Inputs */
body.dark-mode.bg-white .nk-split-page .nk-auth-body .form-control {
    min-height: 54px !important;
    background: rgba(5,6,8,.70) !important;
    border: 1px solid rgba(202,154,63,.42) !important;
    border-radius: 10px !important;
    color: #f8f1e5 !important;
}

body.dark-mode.bg-white .nk-split-page .nk-auth-body .form-control:focus {
    background: rgba(5,6,8,.84) !important;
    border-color: rgba(222,174,75,.82) !important;
    box-shadow: 0 0 0 3px rgba(213,168,77,.10) !important;
    color: #fff !important;
}

body.dark-mode.bg-white .nk-split-page .nk-auth-body .form-control::placeholder {
    color: #95866e !important;
}

/* Ícones */
body.dark-mode.bg-white .nk-split-page .nk-auth-body .form-icon .icon,
body.dark-mode.bg-white .nk-split-page .nk-auth-body .passcode-switch .icon {
    color: #d8aa4f !important;
}

/* Checkbox */
body.dark-mode.bg-white .nk-split-page .nk-auth-body .custom-control-label {
    color: #e8decd !important;
}

body.dark-mode.bg-white .nk-split-page .nk-auth-body .custom-control-label:before {
    background: rgba(6,6,8,.74) !important;
    border-color: rgba(200,151,60,.48) !important;
}

body.dark-mode.bg-white .nk-split-page .nk-auth-body .custom-control-input:checked ~ .custom-control-label:before {
    background-color: #126b99 !important;
    border-color: #dbad54 !important;
}

/* Botão entrar */
body.dark-mode.bg-white .nk-split-page .nk-auth-body .btn-primary {
    min-height: 54px !important;
    background: linear-gradient(180deg,#edc36d 0%,#c38a32 46%,#89501b 100%) !important;
    border: 1px solid #f3d687 !important;
    border-radius: 10px !important;
    color: #160d05 !important;
    font-weight: 800 !important;
    letter-spacing: .06em !important;
    box-shadow:
        inset 0 1px 0 rgba(255,236,183,.22),
        0 6px 20px rgba(0,0,0,.28) !important;
}

body.dark-mode.bg-white .nk-split-page .nk-auth-body .btn-primary:hover,
body.dark-mode.bg-white .nk-split-page .nk-auth-body .btn-primary:focus {
    background: linear-gradient(180deg,#f7d989 0%,#d49a3e 48%,#985a20 100%) !important;
    border-color: #ffe5a5 !important;
    color: #100904 !important;
}

/* Links */
body.dark-mode.bg-white .nk-split-page .nk-auth-body .form-note,
body.dark-mode.bg-white .nk-split-page .nk-auth-body .form-note-s2 {
    color: rgba(237,229,214,.74) !important;
}

body.dark-mode.bg-white .nk-split-page .nk-auth-body .form-note-s2 a,
body.dark-mode.bg-white .nk-split-page .nk-auth-body .link-primary {
    color: #dfb45d !important;
}

body.dark-mode.bg-white .nk-split-page .nk-auth-body .form-note-s2 a:hover,
body.dark-mode.bg-white .nk-split-page .nk-auth-body .link-primary:hover {
    color: #f2d58e !important;
}

/* Rodapé */
body.dark-mode.bg-white .nk-split-page .nk-auth-footer,
body.dark-mode.bg-white .nk-split-page .nk-auth-footer * {
    color: #9f9078 !important;
}

/* Mobile */
@media (max-width: 575.98px) {
    body.dark-mode.bg-white:has(.nk-split-page) {
        background-attachment: scroll !important;
    }

    body.dark-mode.bg-white .nk-split-page {
        align-items: flex-start !important;
        padding: 16px 10px !important;
    }

    body.dark-mode.bg-white .nk-split-page .nk-auth-container,
    body.dark-mode.bg-white .nk-split-page .nk-auth-container.bg-white {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 12px !important;
    }

    body.dark-mode.bg-white .nk-split-page .nk-auth-body {
        padding: 14px 20px 22px !important;
    }

    body.dark-mode.bg-white .nk-split-page .nk-auth-footer {
        padding: 16px 20px 22px !important;
    }

    body.dark-mode.bg-white .nk-split-page .brand-logo .logo-img,
    body.dark-mode.bg-white .nk-split-page .logo-link .logo-img {
        max-height: 155px !important;
    }
}


/* =====================================================================
   APEX TALE — BACKGROUND OFICIAL LOGIN / REGISTRE-SE / PAINEL
   Imagem real instalada em ../img/apex-auth-bg-premium.png
   ===================================================================== */

html,
body {
    background-color: #050608;
}

/* AUTENTICAÇÃO — Login / Registre-se */
body.dark-mode.bg-white .nk-app-root,
body.dark-mode.bg-white .nk-main,
body.dark-mode.bg-white .nk-wrap,
body.dark-mode.bg-white .nk-content,
body.dark-mode.bg-white .nk-split,
body.dark-mode.bg-white .nk-split-content,
body.dark-mode.bg-white .nk-split-content-md,
body.dark-mode.bg-white .nk-auth-container,
body.dark-mode.bg-white .nk-auth-footer,
body.dark-mode.bg-white .nk-auth-footer-wrap {
    background-color: transparent !important;
}

body.dark-mode.bg-white .nk-split-page {
    position: relative !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    height: auto !important;

    background-color: #050608 !important;
    background-image:
        linear-gradient(180deg, rgba(2,4,8,.20), rgba(2,4,8,.34)),
        url("../img/apex-auth-bg-premium.png") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

/* O formulário pode ultrapassar a viewport sem revelar azul embaixo */
body.dark-mode.bg-white .nk-split-page > .nk-split-content,
body.dark-mode.bg-white .nk-split-page .nk-split-content-md {
    min-height: 100vh !important;
    height: auto !important;
    background: transparent !important;
}

/* PAINEL — usa a mesma imagem */
body.dark-mode:not(.bg-white) .nk-app-root,
body.dark-mode:not(.bg-white) .nk-main,
body.dark-mode:not(.bg-white) .nk-wrap,
body.dark-mode:not(.bg-white) .nk-content {
    background-color: transparent !important;
}

body.dark-mode:not(.bg-white) {
    min-height: 100vh !important;
    background-color: #050608 !important;
    background-image:
        linear-gradient(180deg, rgba(2,4,8,.40), rgba(2,4,8,.55)),
        url("../img/apex-auth-bg-premium.png") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

/* Evita o azul do template no fim da página */
body.dark-mode .nk-app-root,
body.dark-mode .nk-main {
    min-height: 100vh !important;
}

/* Mobile */
@media (max-width: 767.98px) {
    body.dark-mode.bg-white .nk-split-page,
    body.dark-mode:not(.bg-white) {
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
    }
}


/* ===== DONATION UI MERGED FROM OLD KLVN CUSTOM TAIL ===== */
/* APEX SALDO + DONATE UI 20260814 */

/* ----------------------------------------------------------
   SALDO NO MENU — SEM SOBREPOSIÇÃO
   ---------------------------------------------------------- */
html body.apex-player-panel .painel-sidebar .apx-balance-menu-link,
html body.apex-player-panel .nk-aside .apx-balance-menu-link {
    display: grid !important;
    grid-template-columns: 24px minmax(0,1fr) auto !important;
    align-items: center !important;
    column-gap: 10px !important;
    width: auto !important;
}

html body.apex-player-panel .apx-balance-menu-link .nk-menu-icon {
    width: 24px !important;
    min-width: 24px !important;
    margin: 0 !important;
}

html body.apex-player-panel .apx-balance-menu-label {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html body.apex-player-panel .apx-balance-menu-value {
    min-width: 0 !important;
    max-width: 110px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px !important;

    padding: 5px 8px !important;
    color: #dff7ff !important;
    border: 1px solid rgba(105,198,239,.24) !important;
    border-radius: 8px !important;
    background: rgba(23,111,159,.20) !important;

    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

html body.apex-player-panel .apx-balance-menu-value strong {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

html body.apex-player-panel .apx-balance-menu-value .icon {
    flex: 0 0 auto !important;
    color: #79cdf1 !important;
    font-size: 12px !important;
}

/* ----------------------------------------------------------
   PÁGINA DE DOAÇÕES
   ---------------------------------------------------------- */
html body.apex-player-panel .apx-donate-page {
    --don-surface: rgba(18,31,39,.42);
    --don-surface-hi: rgba(24,44,55,.54);
    --don-border: rgba(105,198,239,.28);
    --don-border-hi: rgba(121,205,241,.50);
    --don-accent: #79cdf1;
    --don-accent-hi: #9edfff;
    --don-text: #e8f5fb;
    --don-muted: #a9bec9;
}

html body.apex-player-panel .apx-donate-hero {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 22px;
    align-items: center;
    margin-bottom: 16px;
    padding: 22px;

    border: 1px solid var(--don-border);
    border-radius: 15px;
    background:
        radial-gradient(circle at 90% 5%, rgba(88,182,234,.10), transparent 38%),
        var(--don-surface);
    box-shadow: 0 12px 30px rgba(0,0,0,.10);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

html body.apex-player-panel .apx-donate-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--don-accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .10em;
}

html body.apex-player-panel .apx-donate-hero h3 {
    margin: 0 0 7px !important;
    color: var(--don-text) !important;
    font-size: 22px !important;
}

html body.apex-player-panel .apx-donate-hero p {
    max-width: 720px;
    margin: 0 !important;
    color: var(--don-muted) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

html body.apex-player-panel .apx-donate-balance {
    min-width: 190px;
    padding: 14px 16px;

    border: 1px solid var(--don-border);
    border-radius: 12px;
    background: rgba(8,31,45,.28);
}

html body.apex-player-panel .apx-donate-balance span {
    display: block;
    margin-bottom: 5px;
    color: #88a9ba;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

html body.apex-player-panel .apx-donate-balance strong {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--don-accent-hi);
    font-size: 20px;
    line-height: 1.2;
}

html body.apex-player-panel .apx-donate-info-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px;
    margin-bottom: 16px;
}

html body.apex-player-panel .apx-donate-info-card {
    min-width: 0;
    padding: 13px 14px;

    border: 1px solid var(--don-border);
    border-radius: 11px;
    background: var(--don-surface);
}

html body.apex-player-panel .apx-donate-info-card span {
    display: block;
    margin-bottom: 4px;
    color: #7798aa;
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .06em;
}

html body.apex-player-panel .apx-donate-info-card strong {
    display: block;
    color: var(--don-text);
    font-size: 13px;
    line-height: 1.35;
}

html body.apex-player-panel .apx-donate-info-card.is-highlight {
    border-color: var(--don-border-hi);
    background: rgba(23,111,159,.20);
}

html body.apex-player-panel .apx-donate-panel {
    padding: 20px !important;
    border: 1px solid var(--don-border) !important;
    border-radius: 15px !important;
    background: var(--don-surface) !important;
}

html body.apex-player-panel .apx-donate-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(105,198,239,.16);
}

html body.apex-player-panel .apx-donate-panel-head h4 {
    margin: 0 0 4px !important;
    color: var(--don-text) !important;
    font-size: 17px !important;
}

html body.apex-player-panel .apx-donate-panel-head p {
    margin: 0 !important;
    color: var(--don-muted) !important;
    font-size: 12px !important;
}

html body.apex-player-panel .apx-donate-rate {
    flex: 0 0 auto;
    padding: 8px 11px;
    color: var(--don-accent-hi);
    border: 1px solid var(--don-border);
    border-radius: 9px;
    background: rgba(8,31,45,.28);
    font-size: 11px;
    font-weight: 800;
}

/* métodos de pagamento */
html body.apex-player-panel .apx-donate-page .payment-method {
    min-height: 94px !important;
    padding: 10px !important;
    border: 1px solid var(--don-border) !important;
    border-radius: 12px !important;
    background: rgba(10,30,42,.25) !important;
    box-shadow: none !important;
}

html body.apex-player-panel .apx-donate-page .payment-method:hover {
    border-color: var(--don-border-hi) !important;
    background: var(--don-surface-hi) !important;
}

html body.apex-player-panel .apx-donate-page .payment-method.active {
    border-color: var(--don-accent-hi) !important;
    background: rgba(23,111,159,.30) !important;
    box-shadow:
        0 0 0 2px rgba(88,182,234,.06),
        inset 0 1px 0 rgba(255,255,255,.035) !important;
}

html body.apex-player-panel .apx-donate-page .payment-method-group img {
    width: 120px !important;
    max-width: 100% !important;
    height: 48px !important;
    object-fit: contain !important;
}

html body.apex-player-panel .apx-donate-page .payment-method-group span {
    height: auto !important;
    margin-top: 6px;
    color: #c4d8e3;
    font-size: 11px !important;
}

/* formulário */
html body.apex-player-panel .apx-donate-page .form-group {
    margin-bottom: 17px !important;
}

html body.apex-player-panel .apx-donate-page .form-label {
    margin-bottom: 6px !important;
    color: #b4cad5 !important;
    font-size: 12px !important;
    font-weight: 750 !important;
}

html body.apex-player-panel .apx-donate-page .form-control,
html body.apex-player-panel .apx-donate-page .input-group-text {
    min-height: 44px !important;
    color: var(--don-text) !important;
    border-color: var(--don-border) !important;
    background: rgba(8,28,42,.30) !important;
}

html body.apex-player-panel .apx-donate-page .form-control:focus {
    border-color: var(--don-border-hi) !important;
    box-shadow: 0 0 0 3px rgba(88,182,234,.08) !important;
}

/* resumo de compra */
html body.apex-player-panel .apx-donate-page .donate-content__bonuses {
    padding: 15px 16px !important;
    border: 1px solid var(--don-border) !important;
    border-radius: 11px !important;
    background: rgba(8,31,45,.28) !important;
    color: #bdd2dd !important;
}

html body.apex-player-panel .apx-donate-page #sum_COIN {
    color: var(--don-accent-hi) !important;
}

html body.apex-player-panel .apx-donate-page #sum_BRL {
    color: #75d8ac !important;
}

html body.apex-player-panel .apx-donate-page .btn-success {
    min-height: 44px !important;
    padding: 9px 16px !important;
    color: #fff !important;
    border-color: var(--don-border-hi) !important;
    background: rgba(23,111,159,.62) !important;
}

html body.apex-player-panel .apx-donate-page .btn-success:hover {
    border-color: var(--don-accent-hi) !important;
    background: rgba(31,142,194,.76) !important;
}

html body.apex-player-panel .apx-donate-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 14px;
    padding: 11px 12px;

    color: #91aebb;
    border: 1px solid rgba(105,198,239,.16);
    border-radius: 9px;
    background: rgba(8,31,45,.18);
    font-size: 11px;
    line-height: 1.5;
}

html body.apex-player-panel .apx-donate-note .icon {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--don-accent);
}

/* range slider coerente com a paleta */
html body.apex-player-panel .apx-donate-page .irs--round .irs-bar,
html body.apex-player-panel .apx-donate-page .irs--round .irs-from,
html body.apex-player-panel .apx-donate-page .irs--round .irs-to,
html body.apex-player-panel .apx-donate-page .irs--round .irs-single {
    background-color: #2588b9 !important;
}

html body.apex-player-panel .apx-donate-page .irs--round .irs-handle {
    border-color: #79cdf1 !important;
    background-color: #0f3349 !important;
}

@media (max-width: 991.98px) {
    html body.apex-player-panel .apx-balance-menu-value {
        max-width: 100px !important;
    }

    html body.apex-player-panel .apx-donate-hero {
        grid-template-columns: 1fr;
    }

    html body.apex-player-panel .apx-donate-balance {
        min-width: 0;
        width: 100%;
    }

    html body.apex-player-panel .apx-donate-info-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    html body.apex-player-panel .apx-donate-page .payment-method {
        width: 100% !important;
        min-height: 76px !important;
        margin: 5px 0 !important;
    }

    html body.apex-player-panel .apx-donate-page .form-group[style*="max-width"] {
        max-width: 100% !important;
    }
}

@media (max-width: 575.98px) {
    html body.apex-player-panel .apx-balance-menu-link {
        grid-template-columns: 22px minmax(0,1fr) auto !important;
        column-gap: 7px !important;
    }

    html body.apex-player-panel .apx-balance-menu-value {
        max-width: 86px !important;
        padding: 4px 6px !important;
        font-size: 10px !important;
    }

    html body.apex-player-panel .apx-donate-hero,
    html body.apex-player-panel .apx-donate-panel {
        padding: 16px !important;
    }

    html body.apex-player-panel .apx-donate-info-grid {
        grid-template-columns: 1fr;
    }

    html body.apex-player-panel .apx-donate-panel-head {
        flex-direction: column;
    }
}

/* APEX DONATE IMPLEMENTACAO COMPLETA 20260814 */

/* RESUMO EM TEMPO REAL */
html body.apex-player-panel .apx-donate-live-summary {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px;
    margin: 13px 0 4px;
}

html body.apex-player-panel .apx-donate-live-summary > div {
    min-width: 0;
    padding: 10px 11px;

    border: 1px solid rgba(105,198,239,.15);
    border-radius: 9px;
    background: rgba(7,28,41,.18);
}

html body.apex-player-panel .apx-donate-live-summary span {
    display: block;
    margin-bottom: 3px;
    color: #708f9f;
    font-size: 8.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

html body.apex-player-panel .apx-donate-live-summary strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #dcedf5;
    font-size: 12px;
}

html body.apex-player-panel .apx-donate-live-summary .is-accent strong {
    color: #9edfff;
}

/* CONFIRMAÇÃO FINAL — popup próprio, sem Bootstrap */
html.apx-donate-dialog-open,
body.apx-donate-dialog-open {
    overflow: hidden !important;
}

.apx-donate-confirm[hidden] {
    display: none !important;
}

.apx-donate-confirm {
    position: fixed;
    inset: 0;
    z-index: 100000;

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.apx-donate-confirm__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1,8,14,.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.apx-donate-confirm__panel {
    position: relative;
    z-index: 1;

    width: min(620px,100%);
    max-height: calc(100dvh - 40px);
    overflow: hidden;

    color: #e8f5fb;
    border: 1px solid rgba(105,198,239,.34);
    border-radius: 16px;

    background:
        radial-gradient(circle at 100% 0%,rgba(88,182,234,.10),transparent 38%),
        linear-gradient(150deg,rgba(14,37,51,.98),rgba(6,23,35,.99));

    box-shadow: 0 30px 80px rgba(0,0,0,.50);
}

.apx-donate-confirm__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 18px 20px;
    border-bottom: 1px solid rgba(105,198,239,.13);
}

.apx-donate-confirm__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #79cdf1;
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: .10em;
}

.apx-donate-confirm__header h4 {
    margin: 0 !important;
    color: #edfaff !important;
    font-size: 19px !important;
}

.apx-donate-confirm__close {
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #9fc8dc;
    border: 1px solid rgba(105,198,239,.18);
    border-radius: 9px;
    background: rgba(13,54,76,.40);
    cursor: pointer;
}

.apx-donate-confirm__body {
    max-height: calc(100dvh - 180px);
    overflow-y: auto;
    padding: 19px 20px;
}

.apx-donate-confirm__grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
    margin-bottom: 13px;
}

.apx-donate-confirm__grid > div {
    min-width: 0;
    padding: 11px 12px;

    border: 1px solid rgba(105,198,239,.14);
    border-radius: 9px;
    background: rgba(8,30,44,.52);
}

.apx-donate-confirm__grid span {
    display: block;
    margin-bottom: 4px;
    color: #708e9f;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.apx-donate-confirm__grid strong {
    display: block;
    color: #dcecf4;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.apx-donate-confirm__total {
    padding: 14px 15px;
    border: 1px solid rgba(121,205,241,.27);
    border-radius: 10px;
    background: rgba(23,111,159,.18);
}

.apx-donate-confirm__total span {
    display: block;
    margin-bottom: 4px;
    color: #86b8ce;
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.apx-donate-confirm__total strong {
    color: #9edfff;
    font-size: 20px;
}

.apx-donate-confirm__footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;

    padding: 13px 20px;
    border-top: 1px solid rgba(105,198,239,.12);
}

/* HISTÓRICO RECENTE */
html body.apex-player-panel .apx-donate-history {
    margin-top: 16px;
    padding: 19px 20px;

    border: 1px solid rgba(105,198,239,.28);
    border-radius: 15px;
    background: rgba(18,31,39,.42);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

html body.apex-player-panel .apx-donate-history__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin-bottom: 13px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(105,198,239,.14);
}

html body.apex-player-panel .apx-donate-history__head span {
    display: block;
    margin-bottom: 3px;
    color: #79cdf1;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

html body.apex-player-panel .apx-donate-history__head h4 {
    margin: 0 !important;
    color: #e8f5fb !important;
    font-size: 16px !important;
}

html body.apex-player-panel .apx-donate-history__link {
    flex: 0 0 auto;
    color: #79cdf1 !important;
    font-size: 11px;
    font-weight: 750;
}

html body.apex-player-panel .apx-donate-history__table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

html body.apex-player-panel .apx-donate-history table {
    width: 100%;
    min-width: 610px;
    margin: 0;
}

html body.apex-player-panel .apx-donate-history th {
    padding: 9px 10px !important;
    color: #84a6b7 !important;
    border-color: rgba(105,198,239,.13) !important;
    background: rgba(15,55,76,.24) !important;

    font-size: 9.5px !important;
    font-weight: 850 !important;
    text-transform: uppercase;
}

html body.apex-player-panel .apx-donate-history td {
    padding: 10px !important;
    color: #c7d9e2 !important;
    border-color: rgba(105,198,239,.08) !important;
    background: transparent !important;

    font-size: 11.5px !important;
    vertical-align: middle !important;
}

html body.apex-player-panel .apx-donate-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;

    border: 1px solid transparent;
    border-radius: 7px;

    font-size: 9px;
    font-weight: 850;
}

html body.apex-player-panel .apx-donate-status.is-approved {
    color: #93e8bd;
    border-color: rgba(67,201,142,.24);
    background: rgba(67,201,142,.10);
}

html body.apex-player-panel .apx-donate-status.is-pending {
    color: #f0cd83;
    border-color: rgba(226,173,87,.24);
    background: rgba(226,173,87,.10);
}

html body.apex-player-panel .apx-donate-status.is-cancelled {
    color: #f0a2a8;
    border-color: rgba(237,109,118,.24);
    background: rgba(237,109,118,.09);
}

html body.apex-player-panel .apx-donate-status.is-other {
    color: #a9c8d7;
    border-color: rgba(126,168,191,.20);
    background: rgba(126,168,191,.08);
}

html body.apex-player-panel .apx-donate-history__empty {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #7695a5;
    font-size: 11.5px;
    text-align: center;
}

/* mensagens inline */
html body.apex-player-panel .apx-donate-form-message {
    display: none;
    margin: 10px 0 0;
    padding: 9px 11px;

    color: #f0bdc1;
    border: 1px solid rgba(237,109,118,.23);
    border-radius: 8px;
    background: rgba(139,47,57,.12);

    font-size: 10.5px;
}

html body.apex-player-panel .apx-donate-form-message.is-visible {
    display: block;
}

@media (max-width: 991.98px) {
    html body.apex-player-panel .apx-donate-packages__grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    html body.apex-player-panel .apx-donate-live-summary {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 575.98px) {
    html body.apex-player-panel .apx-donate-packages__head,
    html body.apex-player-panel .apx-donate-history__head {
        align-items: flex-start;
        flex-direction: column;
    }

    html body.apex-player-panel .apx-donate-packages__grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    html body.apex-player-panel .apx-donate-live-summary {
        grid-template-columns: 1fr;
    }

    .apx-donate-confirm {
        padding: 10px;
    }

    .apx-donate-confirm__panel {
        max-height: calc(100dvh - 20px);
        border-radius: 13px;
    }

    .apx-donate-confirm__grid {
        grid-template-columns: 1fr;
    }

    .apx-donate-confirm__footer {
        flex-direction: column-reverse;
    }

    .apx-donate-confirm__footer .btn {
        width: 100%;
    }
}

/* APEX DONATE SEM PACOTES FINAL 20260814 */

/* botão Saldo */
html body.apex-player-panel .painel-sidebar .apx-balance-menu-link,
html body.apex-player-panel .nk-aside .apx-balance-menu-link{
    display:grid !important;
    grid-template-columns:24px minmax(58px,1fr) auto !important;
    align-items:center !important;
    gap:8px !important;
}
html body.apex-player-panel .apx-balance-menu-label{
    min-width:0 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
html body.apex-player-panel .apx-balance-menu-value{
    min-width:64px !important;
    max-width:112px !important;
    margin:0 !important;
    padding:5px 7px !important;
    justify-self:end !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:5px !important;
}
html body.apex-player-panel .apx-balance-menu-value strong{
    min-width:0 !important;
    max-width:82px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
}

/* saldo na página */
html body.apex-player-panel .apx-donate-account-summary{
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);
    gap:12px;
    margin-bottom:16px;
}
html body.apex-player-panel .apx-donate-account-card{
    padding:16px 18px;
    border:1px solid rgba(105,198,239,.28);
    border-radius:13px;
    background:rgba(18,31,39,.42);
    backdrop-filter:blur(7px);
}
html body.apex-player-panel .apx-donate-account-card span{
    display:block;
    margin-bottom:5px;
    color:#7898aa;
    font-size:9.5px;
    font-weight:850;
    text-transform:uppercase;
}
html body.apex-player-panel .apx-donate-account-card strong{
    display:flex;
    align-items:center;
    gap:7px;
    color:#eaf8ff;
    font-size:17px;
}
html body.apex-player-panel .apx-donate-account-card.is-balance{
    border-color:rgba(121,205,241,.46);
    background:radial-gradient(circle at 90% 10%,rgba(88,182,234,.11),transparent 40%),rgba(18,31,39,.46);
}
html body.apex-player-panel .apx-donate-account-card.is-balance strong{
    color:#9edfff;
    font-size:24px;
}
html body.apex-player-panel .apx-donate-account-card small{
    display:block;
    margin-top:6px;
    color:#7898aa !important;
    font-size:10.5px !important;
}

/* valor livre */
html body.apex-player-panel .apx-donate-free-value{
    margin:0 0 16px;
    padding:13px 14px;
    border:1px solid rgba(105,198,239,.17);
    border-radius:10px;
    background:rgba(7,28,41,.16);
}
html body.apex-player-panel .apx-donate-free-value strong{
    display:block;
    margin-bottom:4px;
    color:#dcecf4;
    font-size:12.5px;
}
html body.apex-player-panel .apx-donate-free-value span{
    color:#839fad;
    font-size:10.5px;
}

/* histórico */
html body.apex-player-panel .apx-donate-history td:nth-child(3){
    color:#9edfff !important;
    font-weight:750;
}
@media(max-width:991.98px){
    html body.apex-player-panel .apx-donate-account-summary{grid-template-columns:1fr;}
}
@media(max-width:575.98px){
    html body.apex-player-panel .apx-balance-menu-value{
        min-width:56px !important;
        max-width:92px !important;
    }
    html body.apex-player-panel .apx-balance-menu-value strong{
        max-width:64px !important;
        font-size:10px !important;
    }
}

/* ==========================================================================
   APEX TALE PLAYER — TEMA VISUAL ÚNICO
   ÚNICO arquivo responsável por login + topo + sidebar + cards + páginas.
   ========================================================================== */

html body.apex-player-login,
html body.apex-player-panel {
    --apx-bg-deep:#04131f;
    --apx-top:#073752;
    --apx-sidebar:rgba(7,55,82,.90);
    --apx-card:rgba(7,55,82,.82);
    --apx-card-soft:rgba(7,55,82,.72);
    --apx-card-hover:rgba(10,76,111,.90);
    --apx-field:rgba(5,43,64,.82);

    --apx-border:rgba(105,198,239,.30);
    --apx-border-hi:rgba(121,205,241,.52);

    --apx-white:#ffffff;
    --apx-text:#edf9ff;
    --apx-muted:#c6dce7;
    --apx-blue:#82d8f8;
    --apx-blue-hi:#a9e8ff;
}

/* ==========================================================
   BACKGROUND
   ========================================================== */
html body.apex-player-login,
html body.apex-player-panel {
    min-height:100vh !important;
    color:var(--apx-text) !important;
    background-color:var(--apx-bg-deep) !important;
    background-image:
        linear-gradient(180deg,rgba(2,10,17,.05),rgba(2,10,17,.13)),
        url("../img/apex-auth-bg-premium.png") !important;
    background-position:center center !important;
    background-repeat:no-repeat !important;
    background-size:cover !important;
    background-attachment:fixed !important;
}

html body.apex-player-login .nk-app-root,
html body.apex-player-login .nk-main,
html body.apex-player-login .nk-wrap,
html body.apex-player-login .nk-wrap-nosidebar,
html body.apex-player-login .nk-content,
html body.apex-player-login .nk-content-body,
html body.apex-player-login .nk-split,
html body.apex-player-login .nk-split-page,
html body.apex-player-login .nk-split-content,
html body.apex-player-panel .nk-app-root,
html body.apex-player-panel .nk-main,
html body.apex-player-panel .nk-wrap,
html body.apex-player-panel .nk-content,
html body.apex-player-panel .nk-content-inner,
html body.apex-player-panel .nk-content-body,
html body.apex-player-panel .nk-content-wrap {
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
}

/* ==========================================================
   LOGIN — centralizado e translúcido
   ========================================================== */
html body.apex-player-login .nk-content,
html body.apex-player-login .nk-split,
html body.apex-player-login .nk-split-page,
html body.apex-player-login .nk-split-content {
    width:100% !important;
    min-height:100vh !important;
    min-height:100dvh !important;
}

html body.apex-player-login .nk-split,
html body.apex-player-login .nk-split-page,
html body.apex-player-login .nk-split-content {
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    padding:24px !important;
}

html body.apex-player-login .nk-auth-container,
html body.apex-player-login .nk-auth-container.bg-white {
    position:relative !important;
    inset:auto !important;
    transform:none !important;
    float:none !important;

    width:min(500px,calc(100vw - 36px)) !important;
    max-width:500px !important;
    min-width:0 !important;
    min-height:auto !important;
    margin:auto !important;
    padding:32px 38px 28px !important;

    background:rgba(5,47,72,.30) !important;
    background-color:rgba(5,47,72,.30) !important;
    background-image:none !important;

    border:1px solid rgba(105,198,239,.42) !important;
    border-radius:20px !important;

    box-shadow:0 22px 60px rgba(0,0,0,.22) !important;
    backdrop-filter:blur(3px) saturate(108%) !important;
    -webkit-backdrop-filter:blur(3px) saturate(108%) !important;
}

html body.apex-player-login .nk-auth-container::before,
html body.apex-player-login .nk-auth-container::after,
html body.apex-player-login .nk-auth-body,
html body.apex-player-login .nk-block,
html body.apex-player-login .nk-block-head,
html body.apex-player-login .form-group {
    background:transparent !important;
    background-image:none !important;
}

html body.apex-player-login .brand-logo {
    display:flex !important;
    justify-content:center !important;
    width:100% !important;
    margin:0 auto 14px !important;
}

html body.apex-player-login .brand-logo .logo-img {
    display:block !important;
    width:min(300px,82%) !important;
    max-width:300px !important;
    height:auto !important;
    margin:0 auto !important;
    object-fit:contain !important;
}

html body.apex-player-login .nk-block-title {color:var(--apx-white)!important;}
html body.apex-player-login .form-label,
html body.apex-player-login .custom-control-label,
html body.apex-player-login .form-note-s2 {color:var(--apx-muted)!important;}

html body.apex-player-login .form-control {
    min-height:52px !important;
    color:var(--apx-white) !important;
    border:1px solid var(--apx-border) !important;
    border-radius:10px !important;
    background:rgba(4,29,44,.38) !important;
}
html body.apex-player-login .form-control:focus {
    border-color:var(--apx-border-hi) !important;
    background:rgba(4,29,44,.48) !important;
    box-shadow:0 0 0 3px rgba(105,198,239,.08) !important;
}
html body.apex-player-login .form-icon,
html body.apex-player-login .link-primary,
html body.apex-player-login .form-note-s2 a {
    color:var(--apx-blue) !important;
}
html body.apex-player-login .btn-primary {
    min-height:52px !important;
    color:#fff !important;
    border:1px solid var(--apx-border-hi) !important;
    background:rgba(20,119,169,.72) !important;
    box-shadow:none !important;
}

/* ==========================================================
   TOPO INTERNO — uma única estrutura
   ========================================================== */
html body.apex-player-panel .apx-topbar {
    position:fixed !important;
    z-index:1030 !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;

    width:100% !important;
    min-height:72px !important;
    margin:0 !important;
    padding:0 !important;

    background:rgba(7,55,82,.98) !important;
    border:0 !important;
    border-bottom:1px solid var(--apx-border) !important;
    box-shadow:0 8px 24px rgba(0,0,0,.18) !important;
}

html body.apex-player-panel .apx-topbar__inner {
    width:100% !important;
    max-width:1480px !important;
    min-height:72px !important;
    margin:0 auto !important;
    padding:0 26px !important;

    display:grid !important;
    grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr) !important;
    align-items:center !important;
    column-gap:24px !important;

    box-sizing:border-box !important;
}

html body.apex-player-panel .apx-topbar__user {
    justify-self:start !important;
    min-width:0 !important;
}
html body.apex-player-panel .apx-topbar__user-toggle {
    display:inline-flex !important;
    align-items:center !important;
    gap:9px !important;

    min-height:44px !important;
    max-width:320px !important;
    padding:5px 10px 5px 6px !important;

    color:#fff !important;
    border:1px solid rgba(121,205,241,.16) !important;
    border-radius:10px !important;
    background:rgba(3,28,43,.20) !important;
}
html body.apex-player-panel .apx-topbar__user-name {
    min-width:0 !important;
}
html body.apex-player-panel .apx-topbar__user-name small,
html body.apex-player-panel .apx-topbar__user-name strong {
    display:block !important;
}
html body.apex-player-panel .apx-topbar__user-name small {
    color:var(--apx-blue) !important;
    font-size:9px !important;
    font-weight:850 !important;
    letter-spacing:.08em !important;
}
html body.apex-player-panel .apx-topbar__user-name strong {
    max-width:220px !important;
    overflow:hidden !important;
    color:#fff !important;
    font-size:13px !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
}

html body.apex-player-panel .apx-topbar__nav {
    justify-self:center !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:4px !important;
}
html body.apex-player-panel .apx-topbar__link {
    min-height:38px !important;
    padding:0 13px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    color:#dceff7 !important;
    border:1px solid transparent !important;
    border-radius:8px !important;
    background:transparent !important;
    font-size:12px !important;
    font-weight:650 !important;
}
html body.apex-player-panel .apx-topbar__link:hover {
    color:#fff !important;
    border-color:rgba(121,205,241,.20) !important;
    background:rgba(105,198,239,.09) !important;
}

html body.apex-player-panel .apx-topbar__actions {
    justify-self:end !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:10px !important;
}
html body.apex-player-panel .apx-topbar__languages {
    width:auto !important;
    margin:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
}

/* ==========================================================
   SIDEBAR
   ========================================================== */
html body.apex-player-panel .painel-sidebar,
html body.apex-player-panel .nk-aside.painel-sidebar,
html body.apex-player-panel .painel-sidebar .nk-sidebar-menu {
    background:var(--apx-sidebar) !important;
    border-color:var(--apx-border) !important;
    box-shadow:5px 0 20px rgba(0,0,0,.12) !important;
}

html body.apex-player-panel .painel-sidebar .overline-title {
    color:var(--apx-blue) !important;
}

html body.apex-player-panel .painel-sidebar .nk-menu-item > .nk-menu-link,
html body.apex-player-panel .painel-aside-nav .nk-menu-item > .nk-menu-link {
    min-height:46px !important;
    margin:5px 9px !important;
    padding:10px 12px !important;

    color:var(--apx-blue-hi) !important;
    border:1px solid rgba(105,198,239,.20) !important;
    border-radius:10px !important;
    background:rgba(5,43,64,.62) !important;
    box-shadow:none !important;
}
html body.apex-player-panel .painel-sidebar .nk-menu-item > .nk-menu-link:hover {
    color:#fff !important;
    border-color:var(--apx-border-hi) !important;
    background:rgba(10,76,111,.82) !important;
}
html body.apex-player-panel .painel-sidebar .nk-menu-item.active > .nk-menu-link,
html body.apex-player-panel .painel-sidebar .nk-menu-item.current-page > .nk-menu-link {
    color:#fff !important;
    border-color:var(--apx-blue-hi) !important;
    background:rgba(18,112,159,.90) !important;
    box-shadow:inset 3px 0 0 var(--apx-blue-hi) !important;
}
html body.apex-player-panel .painel-sidebar .nk-menu-icon,
html body.apex-player-panel .painel-sidebar .icon {
    color:var(--apx-blue) !important;
}

/* Saldo */
html body.apex-player-panel .apx-balance-menu-link {
    display:grid !important;
    grid-template-columns:24px minmax(58px,1fr) minmax(64px,auto) !important;
    align-items:center !important;
    gap:8px !important;
}
html body.apex-player-panel .apx-balance-menu-label {
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
}
html body.apex-player-panel .apx-balance-menu-value {
    min-width:64px !important;
    max-width:112px !important;
    justify-self:end !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:5px !important;
    padding:5px 7px !important;

    color:#fff !important;
    border:1px solid var(--apx-border) !important;
    border-radius:8px !important;
    background:rgba(10,76,111,.72) !important;
}

/* ==========================================================
   CARDS / PAINÉIS / TEXTOS
   ========================================================== */
html body.apex-player-panel .card,
html body.apex-player-panel .card.card-bordered,
html body.apex-player-panel .modal-content,
html body.apex-player-panel .dropdown-menu,
html body.apex-player-panel .alert,
html body.apex-player-panel .accordion-item,
html body.apex-player-panel .list-group-item,
html body.apex-player-panel .apx-player-hero,
html body.apex-player-panel .apx-panel-card,
html body.apex-player-panel .apx-stat-card,
html body.apex-player-panel .apx-char-card,
html body.apex-player-panel .apx-event-card,
html body.apex-player-panel .apx-ticket-row,
html body.apex-player-panel .apx-notification-row,
html body.apex-player-panel .apx-main-char,
html body.apex-player-panel .apx-account-list,
html body.apex-player-panel .apx-quick-actions a,
html body.apex-player-panel .apx-donate-hero,
html body.apex-player-panel .apx-donate-account-card,
html body.apex-player-panel .apx-donate-info-card,
html body.apex-player-panel .apx-donate-panel,
html body.apex-player-panel .apx-donate-history {
    color:var(--apx-text) !important;
    border-color:var(--apx-border) !important;
    background:var(--apx-card) !important;
    background-color:var(--apx-card) !important;
    background-image:none !important;
    box-shadow:0 11px 28px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.02) !important;
    backdrop-filter:blur(5px) !important;
    -webkit-backdrop-filter:blur(5px) !important;
}

html body.apex-player-panel .card-header,
html body.apex-player-panel .card-footer,
html body.apex-player-panel .card-inner,
html body.apex-player-panel .nk-block-head,
html body.apex-player-panel .modal-header,
html body.apex-player-panel .modal-footer,
html body.apex-player-panel .dropdown-inner {
    background:transparent !important;
    border-color:rgba(105,198,239,.18) !important;
}

html body.apex-player-panel h1,
html body.apex-player-panel h2,
html body.apex-player-panel h3,
html body.apex-player-panel h4,
html body.apex-player-panel h5,
html body.apex-player-panel h6,
html body.apex-player-panel .card-title,
html body.apex-player-panel strong,
html body.apex-player-panel .lead-text {
    color:#fff !important;
}
html body.apex-player-panel p,
html body.apex-player-panel .sub-text,
html body.apex-player-panel .text-soft,
html body.apex-player-panel small {
    color:var(--apx-muted) !important;
}
html body.apex-player-panel .form-label,
html body.apex-player-panel .text-primary,
html body.apex-player-panel .link-primary,
html body.apex-player-panel .apx-player-kicker,
html body.apex-player-panel .apx-section-eyebrow,
html body.apex-player-panel .apx-text-link,
html body.apex-player-panel .apx-event-type,
html body.apex-player-panel .apx-ticket-id {
    color:var(--apx-blue) !important;
}

/* ==========================================================
   FORMULÁRIOS / TABELAS / BOTÕES
   ========================================================== */
html body.apex-player-panel .form-control,
html body.apex-player-panel select,
html body.apex-player-panel textarea,
html body.apex-player-panel .custom-select,
html body.apex-player-panel .input-group-text {
    color:#fff !important;
    border-color:var(--apx-border) !important;
    background:var(--apx-field) !important;
}
html body.apex-player-panel .form-control:focus,
html body.apex-player-panel select:focus,
html body.apex-player-panel textarea:focus {
    border-color:var(--apx-border-hi) !important;
    box-shadow:0 0 0 3px rgba(105,198,239,.08) !important;
}

html body.apex-player-panel .table,
html body.apex-player-panel .table th,
html body.apex-player-panel .table td,
html body.apex-player-panel .nk-tb-list,
html body.apex-player-panel .nk-tb-item {
    color:var(--apx-text) !important;
    border-color:rgba(105,198,239,.15) !important;
    background:transparent !important;
}
html body.apex-player-panel .table thead th,
html body.apex-player-panel .nk-tb-head {
    color:var(--apx-blue-hi) !important;
    background:rgba(5,43,64,.92) !important;
    border-color:var(--apx-border) !important;
}

html body.apex-player-panel .btn {
    border-color:var(--apx-border) !important;
    background:rgba(5,43,64,.72) !important;
    color:var(--apx-blue-hi) !important;
    box-shadow:none !important;
}
html body.apex-player-panel .btn:hover {
    border-color:var(--apx-border-hi) !important;
    background:var(--apx-card-hover) !important;
    color:#fff !important;
}
html body.apex-player-panel .btn-primary,
html body.apex-player-panel .btn-info,
html body.apex-player-panel .btn-success {
    color:#fff !important;
    border-color:var(--apx-border-hi) !important;
    background:rgba(20,119,169,.84) !important;
}

/* Notifications / support */
html body.apex-player-panel .nk-ibx-item,
html body.apex-player-panel .nk-reply-item {
    color:var(--apx-text) !important;
    border-color:rgba(105,198,239,.16) !important;
    background:rgba(5,43,64,.64) !important;
}
html body.apex-player-panel .nk-ibx-item:hover {
    background:rgba(10,76,111,.76) !important;
}

/* Donation */
html body.apex-player-panel .apx-donate-page .payment-method,
html body.apex-player-panel .apx-donate-page .donate-content__bonuses,
html body.apex-player-panel .apx-donate-page .accordion-item {
    color:var(--apx-text) !important;
    border-color:var(--apx-border) !important;
    background:var(--apx-card) !important;
}
html body.apex-player-panel .apx-donate-page .payment-method.active,
html body.apex-player-panel .apx-donate-page .payment-method:hover {
    border-color:var(--apx-border-hi) !important;
    background:var(--apx-card-hover) !important;
}
html body.apex-player-panel .apx-donate-page #sum_COIN,
html body.apex-player-panel .apx-donate-page .apx-donate-history__link,
html body.apex-player-panel .apx-donate-page .donate-content__bonuses-item-val {
    color:var(--apx-blue) !important;
}

/* Lines + scrollbar */
html body.apex-player-panel hr,
html body.apex-player-panel .border,
html body.apex-player-panel .border-top,
html body.apex-player-panel .border-bottom,
html body.apex-player-panel .border-left,
html body.apex-player-panel .border-right {
    border-color:rgba(105,198,239,.20) !important;
}
html body.apex-player-panel * {
    scrollbar-color:rgba(105,198,239,.62) rgba(5,34,49,.22);
}
html body.apex-player-panel *::-webkit-scrollbar {width:8px;height:8px;}
html body.apex-player-panel *::-webkit-scrollbar-track {background:rgba(5,34,49,.22);}
html body.apex-player-panel *::-webkit-scrollbar-thumb {
    background:rgba(105,198,239,.62);
    border-radius:999px;
}

/* Mobile */
@media(max-width:991.98px) {
    html body.apex-player-login,
    html body.apex-player-panel {
        background-attachment:scroll !important;
        background-position:center top !important;
    }

    html body.apex-player-panel .apx-topbar {
        min-height:66px !important;
    }
    html body.apex-player-panel .apx-topbar__inner {
        min-height:66px !important;
        padding:0 14px !important;
        grid-template-columns:minmax(0,1fr) auto !important;
        column-gap:10px !important;
    }
    html body.apex-player-panel .apx-topbar__nav {
        display:none !important;
    }
}
@media(max-width:575.98px) {
    html body.apex-player-login .nk-split,
    html body.apex-player-login .nk-split-page,
    html body.apex-player-login .nk-split-content {
        padding:12px !important;
    }
    html body.apex-player-login .nk-auth-container,
    html body.apex-player-login .nk-auth-container.bg-white {
        width:calc(100vw - 24px) !important;
        padding:25px 20px !important;
    }
    html body.apex-player-panel .apx-topbar__inner {
        padding:0 10px !important;
    }
}

/* ==========================================================================
   APEX INTERNAL LAYOUT FINAL 20260814
   SOMENTE PARTE INTERNA DO PAINEL.
   Não altera login.
   ========================================================================== */

html body.apex-player-panel {
    --apx-header-h: 72px;
    --apx-sidebar-w: 224px;

    --apx-internal-blue: rgba(7,55,82,.88);
    --apx-internal-blue-soft: rgba(7,55,82,.82);
    --apx-internal-blue-hover: rgba(10,76,111,.92);
    --apx-internal-field: rgba(5,43,64,.88);

    --apx-internal-border: rgba(105,198,239,.30);
    --apx-internal-border-hi: rgba(121,205,241,.52);

    --apx-internal-white: #ffffff;
    --apx-internal-text: #edf9ff;
    --apx-internal-muted: #c6dce7;
    --apx-internal-accent: #82d8f8;
    --apx-internal-accent-hi: #a9e8ff;
}

/* --------------------------------------------------------------------------
   1. SHELL / ESTRUTURA GERAL
   -------------------------------------------------------------------------- */

html body.apex-player-panel .painel-shell {
    min-height: 100vh !important;
    display: block !important;
}

/* O template original tenta usar aside + content em flex.
   Neste painel a sidebar será fixa, então neutralizamos essa reserva. */
html body.apex-player-panel .has-aside .nk-content-inner,
html body.apex-player-panel .painel-main .nk-content-inner {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

html body.apex-player-panel .has-aside .nk-content-body,
html body.apex-player-panel .painel-main .nk-content-body {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* --------------------------------------------------------------------------
   2. TOPO — largura total, acima da sidebar
   -------------------------------------------------------------------------- */

html body.apex-player-panel .apx-topbar,
html body.apex-player-panel .painel-header.nk-header-fixed {
    position: fixed !important;
    z-index: 1200 !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    max-width: none !important;
    height: var(--apx-header-h) !important;
    min-height: var(--apx-header-h) !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #073752 !important;
    background-color: #073752 !important;
    background-image: none !important;

    border: 0 !important;
    border-bottom: 1px solid var(--apx-internal-border) !important;

    box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
}

/* O conteúdo do topo fica centralizado e dimensionado dentro da viewport. */
html body.apex-player-panel .apx-topbar__inner {
    width: 100% !important;
    max-width: 1500px !important;
    height: var(--apx-header-h) !important;

    margin: 0 auto !important;
    padding: 0 24px !important;

    display: grid !important;
    grid-template-columns: minmax(220px,1fr) auto minmax(180px,1fr) !important;
    align-items: center !important;
    column-gap: 24px !important;

    box-sizing: border-box !important;
}

html body.apex-player-panel .apx-topbar__user {
    justify-self: start !important;
}

html body.apex-player-panel .apx-topbar__nav {
    justify-self: center !important;
}

html body.apex-player-panel .apx-topbar__actions {
    justify-self: end !important;
}

/* --------------------------------------------------------------------------
   3. SIDEBAR — fixa abaixo do topo
   -------------------------------------------------------------------------- */

@media (min-width: 992px) {
    html body.apex-player-panel .painel-sidebar.nk-aside {
        position: fixed !important;
        z-index: 950 !important;

        top: var(--apx-header-h) !important;
        left: 0 !important;
        bottom: 0 !important;

        width: var(--apx-sidebar-w) !important;
        height: calc(100vh - var(--apx-header-h)) !important;
        max-height: none !important;

        margin: 0 !important;
        padding: 14px 8px 18px !important;

        transform: none !important;
        visibility: visible !important;

        background: rgba(6,49,73,.94) !important;
        background-color: rgba(6,49,73,.94) !important;
        background-image: none !important;

        border: 0 !important;
        border-right: 1px solid var(--apx-internal-border) !important;

        box-shadow: 5px 0 22px rgba(0,0,0,.12) !important;

        overflow: hidden !important;
    }

    html body.apex-player-panel .painel-sidebar .nk-sidebar-menu {
        height: 100% !important;
        max-height: 100% !important;
        padding: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    html body.apex-player-panel .painel-sidebar .painel-aside-links-mob {
        display: none !important;
    }

    /* Conteúdo começa imediatamente abaixo do topo,
       ao lado da sidebar. */
    html body.apex-player-panel .painel-main.nk-content {
        width: calc(100% - var(--apx-sidebar-w)) !important;
        max-width: none !important;

        min-height: calc(100vh - var(--apx-header-h)) !important;

        margin: 0 0 0 var(--apx-sidebar-w) !important;
        padding: calc(var(--apx-header-h) + 22px) 24px 34px !important;

        box-sizing: border-box !important;
    }

    html body.apex-player-panel .painel-container.container.wide-xl {
        width: 100% !important;
        max-width: 1500px !important;

        margin: 0 auto !important;
        padding: 0 !important;
    }

    html body.apex-player-panel .painel-main .nk-content-inner {
        margin: 0 !important;
        padding: 0 !important;
    }

    html body.apex-player-panel .painel-main .nk-content-body {
        min-height: 0 !important;
        padding: 0 !important;
    }

    html body.apex-player-panel .painel-main .nk-content-wrap {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Rodapé acompanha o conteúdo, não a viewport inteira. */
    html body.apex-player-panel .painel-footer-wrap {
        width: calc(100% - var(--apx-sidebar-w)) !important;
        margin: 0 0 0 var(--apx-sidebar-w) !important;
        padding: 12px 24px 26px !important;
        box-sizing: border-box !important;
    }

    html body.apex-player-panel .painel-footer-wrap .painel-container {
        width: 100% !important;
        max-width: 1500px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
}

/* --------------------------------------------------------------------------
   4. MENU LATERAL
   -------------------------------------------------------------------------- */

html body.apex-player-panel .painel-sidebar .nk-menu-heading {
    margin: 8px 10px 10px !important;
}

html body.apex-player-panel .painel-sidebar .overline-title {
    color: rgba(169,232,255,.72) !important;
    font-size: 10px !important;
    letter-spacing: .10em !important;
}

html body.apex-player-panel .painel-sidebar .nk-menu-item > .nk-menu-link {
    min-height: 44px !important;
    margin: 5px 0 !important;
    padding: 9px 11px !important;

    color: #dceff7 !important;

    border: 1px solid rgba(105,198,239,.15) !important;
    border-radius: 9px !important;

    background: rgba(5,43,64,.72) !important;

    box-shadow: none !important;
}

html body.apex-player-panel .painel-sidebar .nk-menu-item > .nk-menu-link:hover {
    color: #fff !important;

    border-color: rgba(121,205,241,.40) !important;
    background: rgba(10,76,111,.88) !important;
}

html body.apex-player-panel .painel-sidebar .nk-menu-item.active > .nk-menu-link,
html body.apex-player-panel .painel-sidebar .nk-menu-item.current-page > .nk-menu-link,
html body.apex-player-panel .painel-sidebar .nk-menu-item.current-menu > .nk-menu-link {
    color: #fff !important;

    border-color: var(--apx-internal-accent) !important;

    background: rgba(20,119,169,.94) !important;

    box-shadow:
        inset 3px 0 0 var(--apx-internal-accent-hi),
        0 5px 15px rgba(0,0,0,.10) !important;
}

html body.apex-player-panel .painel-sidebar .nk-menu-icon,
html body.apex-player-panel .painel-sidebar .icon {
    color: var(--apx-internal-accent) !important;
}

/* --------------------------------------------------------------------------
   5. TODOS OS CARDS INTERNOS — MESMO AZUL
   -------------------------------------------------------------------------- */

html body.apex-player-panel .card,
html body.apex-player-panel .card.card-bordered,
html body.apex-player-panel .card-full,

html body.apex-player-panel .apx-player-hero,
html body.apex-player-panel .apx-panel-card,
html body.apex-player-panel .apx-stat-card,
html body.apex-player-panel .apx-char-card,
html body.apex-player-panel .apx-main-char,
html body.apex-player-panel .apx-event-card,
html body.apex-player-panel .apx-ticket-row,
html body.apex-player-panel .apx-notification-row,
html body.apex-player-panel .apx-account-list,
html body.apex-player-panel .apx-quick-actions a,

html body.apex-player-panel .apx-donate-hero,
html body.apex-player-panel .apx-donate-account-card,
html body.apex-player-panel .apx-donate-info-card,
html body.apex-player-panel .apx-donate-panel,
html body.apex-player-panel .apx-donate-history,

html body.apex-player-panel .modal-content,
html body.apex-player-panel .dropdown-menu,
html body.apex-player-panel .accordion-item,
html body.apex-player-panel .list-group-item {
    color: var(--apx-internal-text) !important;

    border: 1px solid var(--apx-internal-border) !important;

    background: var(--apx-internal-blue) !important;
    background-color: var(--apx-internal-blue) !important;
    background-image: none !important;

    box-shadow:
        0 10px 28px rgba(0,0,0,.14),
        inset 0 1px 0 rgba(255,255,255,.018) !important;

    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

/* Hero da Home mantém leve profundidade azul, nunca cinza/preto. */
html body.apex-player-panel .apx-player-hero {
    background:
        radial-gradient(circle at 88% 5%,rgba(105,198,239,.10),transparent 34%),
        rgba(7,55,82,.88) !important;
}

/* Cards menores */
html body.apex-player-panel .apx-stat-card,
html body.apex-player-panel .apx-char-card,
html body.apex-player-panel .apx-main-char,
html body.apex-player-panel .apx-ticket-row,
html body.apex-player-panel .apx-notification-row {
    background: rgba(7,55,82,.86) !important;
}

html body.apex-player-panel .apx-stat-card:hover,
html body.apex-player-panel .apx-char-card:hover,
html body.apex-player-panel .apx-event-card:hover,
html body.apex-player-panel .apx-ticket-row:hover {
    border-color: var(--apx-internal-border-hi) !important;
    background: var(--apx-internal-blue-hover) !important;
}

/* Cabeçalho e miolo nunca criam uma segunda cor. */
html body.apex-player-panel .card-inner,
html body.apex-player-panel .card-header,
html body.apex-player-panel .card-footer,
html body.apex-player-panel .nk-block-head,
html body.apex-player-panel .dropdown-inner,
html body.apex-player-panel .modal-header,
html body.apex-player-panel .modal-footer {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border-color: rgba(105,198,239,.16) !important;
}

/* --------------------------------------------------------------------------
   6. TEXTOS — BRANCO + AZUL CLARO
   -------------------------------------------------------------------------- */

html body.apex-player-panel h1,
html body.apex-player-panel h2,
html body.apex-player-panel h3,
html body.apex-player-panel h4,
html body.apex-player-panel h5,
html body.apex-player-panel h6,
html body.apex-player-panel .card-title,
html body.apex-player-panel .title,
html body.apex-player-panel strong,
html body.apex-player-panel .lead-text,
html body.apex-player-panel .nk-ibx-context-text,
html body.apex-player-panel .nk-reply-entry {
    color: var(--apx-internal-white) !important;
}

html body.apex-player-panel p,
html body.apex-player-panel .sub-text,
html body.apex-player-panel .text-soft,
html body.apex-player-panel small {
    color: var(--apx-internal-muted) !important;
}

html body.apex-player-panel .apx-player-kicker,
html body.apex-player-panel .apx-section-eyebrow,
html body.apex-player-panel .apx-text-link,
html body.apex-player-panel .apx-event-type,
html body.apex-player-panel .apx-ticket-id,
html body.apex-player-panel .form-label,
html body.apex-player-panel .text-primary,
html body.apex-player-panel .link-primary {
    color: var(--apx-internal-accent) !important;
}

/* --------------------------------------------------------------------------
   7. TABELAS / CAMPOS / BOTÕES
   -------------------------------------------------------------------------- */

html body.apex-player-panel .form-control,
html body.apex-player-panel select,
html body.apex-player-panel textarea,
html body.apex-player-panel .custom-select,
html body.apex-player-panel .input-group-text {
    color: #fff !important;

    border-color: var(--apx-internal-border) !important;

    background: var(--apx-internal-field) !important;
    background-color: var(--apx-internal-field) !important;
}

html body.apex-player-panel .form-control:focus,
html body.apex-player-panel select:focus,
html body.apex-player-panel textarea:focus {
    border-color: var(--apx-internal-border-hi) !important;

    box-shadow: 0 0 0 3px rgba(105,198,239,.08) !important;
}

html body.apex-player-panel .table,
html body.apex-player-panel .table th,
html body.apex-player-panel .table td,
html body.apex-player-panel .nk-tb-list,
html body.apex-player-panel .nk-tb-item {
    color: var(--apx-internal-text) !important;
    border-color: rgba(105,198,239,.15) !important;
    background: transparent !important;
}

html body.apex-player-panel .table thead th,
html body.apex-player-panel .nk-tb-head {
    color: var(--apx-internal-accent-hi) !important;

    background: rgba(5,43,64,.92) !important;

    border-color: var(--apx-internal-border) !important;
}

html body.apex-player-panel .btn {
    color: var(--apx-internal-accent-hi) !important;

    border-color: var(--apx-internal-border) !important;

    background: rgba(5,43,64,.78) !important;

    box-shadow: none !important;
}

html body.apex-player-panel .btn:hover {
    color: #fff !important;

    border-color: var(--apx-internal-border-hi) !important;

    background: var(--apx-internal-blue-hover) !important;
}

html body.apex-player-panel .btn-primary,
html body.apex-player-panel .btn-info,
html body.apex-player-panel .btn-success {
    color: #fff !important;

    border-color: var(--apx-internal-border-hi) !important;

    background: rgba(20,119,169,.90) !important;
}

/* --------------------------------------------------------------------------
   8. EVENTOS / NOTIFICAÇÕES / SUPORTE / DOAÇÕES
   -------------------------------------------------------------------------- */

html body.apex-player-panel .apx-events-grid {
    align-items: stretch !important;
}

html body.apex-player-panel .apx-event-meta > div {
    background: rgba(5,43,64,.72) !important;
    border-color: rgba(105,198,239,.16) !important;
}

html body.apex-player-panel .nk-ibx-item,
html body.apex-player-panel .nk-reply-item {
    color: var(--apx-internal-text) !important;

    border-color: rgba(105,198,239,.15) !important;

    background: rgba(5,43,64,.72) !important;
}

html body.apex-player-panel .nk-ibx-item:hover {
    background: rgba(10,76,111,.82) !important;
}

html body.apex-player-panel .apx-donate-page .payment-method,
html body.apex-player-panel .apx-donate-page .donate-content__bonuses,
html body.apex-player-panel .apx-donate-page .donate-content__bonuses-item {
    color: var(--apx-internal-text) !important;

    border-color: var(--apx-internal-border) !important;

    background: var(--apx-internal-blue) !important;
}

html body.apex-player-panel .apx-donate-page .payment-method:hover,
html body.apex-player-panel .apx-donate-page .payment-method.active {
    border-color: var(--apx-internal-border-hi) !important;

    background: var(--apx-internal-blue-hover) !important;
}

/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */

html body.apex-player-panel .painel-footer {
    margin: 0 !important;

    color: rgba(214,235,245,.72) !important;

    font-size: 12px !important;
    text-align: center !important;
}

/* --------------------------------------------------------------------------
   10. MOBILE / TABLET
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    html body.apex-player-panel {
        --apx-header-h: 66px;
    }

    html body.apex-player-panel .apx-topbar {
        height: var(--apx-header-h) !important;
        min-height: var(--apx-header-h) !important;
    }

    html body.apex-player-panel .apx-topbar__inner {
        height: var(--apx-header-h) !important;

        padding: 0 14px !important;

        grid-template-columns: minmax(0,1fr) auto !important;
        column-gap: 10px !important;
    }

    html body.apex-player-panel .apx-topbar__nav {
        display: none !important;
    }

    html body.apex-player-panel .painel-sidebar.nk-aside {
        position: fixed !important;
        z-index: 1100 !important;

        top: var(--apx-header-h) !important;
        left: 0 !important;

        width: min(280px,88vw) !important;
        height: calc(100vh - var(--apx-header-h)) !important;

        margin: 0 !important;
        padding: 12px 8px !important;

        background: rgba(6,49,73,.98) !important;

        border-right: 1px solid var(--apx-internal-border) !important;
    }

    html body.apex-player-panel .painel-main.nk-content {
        width: 100% !important;

        margin: 0 !important;

        padding: calc(var(--apx-header-h) + 16px) 14px 28px !important;
    }

    html body.apex-player-panel .painel-container.container.wide-xl {
        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    html body.apex-player-panel .painel-footer-wrap {
        width: 100% !important;

        margin: 0 !important;
        padding: 12px 14px 24px !important;
    }
}

@media (max-width: 575.98px) {
    html body.apex-player-panel {
        --apx-header-h: 62px;
    }

    html body.apex-player-panel .apx-topbar__inner {
        padding: 0 10px !important;
    }

    html body.apex-player-panel .apx-player-hero,
    html body.apex-player-panel .apx-panel-card,
    html body.apex-player-panel .card {
        border-radius: 12px !important;
    }
}

/* ==========================================================================
   APEX PURGE OLD COLORS FINAL 20260814
   Remove visualmente qualquer superfície preta/marrom/dourada remanescente
   da PARTE INTERNA do painel.
   Não altera o card de login.
   ========================================================================== */

html body.apex-player-panel {
    --apx-unified-top: #073752;
    --apx-unified-side: #073752;
    --apx-unified-card: rgba(7,55,82,.90);
    --apx-unified-card-soft: rgba(7,55,82,.84);
    --apx-unified-card-hover: rgba(10,78,113,.94);
    --apx-unified-field: rgba(5,43,64,.92);

    --apx-unified-border: rgba(105,198,239,.32);
    --apx-unified-border-hi: rgba(130,216,248,.58);

    --apx-unified-white: #ffffff;
    --apx-unified-text: #edf9ff;
    --apx-unified-muted: #c6dce7;
    --apx-unified-accent: #82d8f8;
    --apx-unified-accent-hi: #a9e8ff;
}

/* ------------------------------------------------------------------
   TOPO — elimina qualquer fundo preto herdado
   ------------------------------------------------------------------ */

html body.apex-player-panel .apx-topbar,
html body.apex-player-panel .painel-header,
html body.apex-player-panel .painel-header.nk-header,
html body.apex-player-panel .painel-header.nk-header-fixed,
html body.apex-player-panel .painel-header.is-light,
html body.apex-player-panel .painel-header.is-theme {
    background: var(--apx-unified-top) !important;
    background-color: var(--apx-unified-top) !important;
    background-image: none !important;

    border-color: var(--apx-unified-border) !important;
}

html body.apex-player-panel .apx-topbar__inner,
html body.apex-player-panel .painel-header .nk-header-wrap,
html body.apex-player-panel .painel-header .container,
html body.apex-player-panel .painel-header .container-fluid,
html body.apex-player-panel .painel-header .container-lg,
html body.apex-player-panel .painel-header .container-xl {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* ------------------------------------------------------------------
   SIDEBAR — uma única cor em toda a altura
   ------------------------------------------------------------------ */

html body.apex-player-panel .painel-sidebar,
html body.apex-player-panel .painel-sidebar.nk-aside,
html body.apex-player-panel .nk-aside.painel-sidebar,
html body.apex-player-panel .painel-sidebar .nk-sidebar-menu,
html body.apex-player-panel .painel-sidebar .nk-menu,
html body.apex-player-panel .painel-sidebar .nk-aside-menu {
    background: var(--apx-unified-side) !important;
    background-color: var(--apx-unified-side) !important;
    background-image: none !important;

    border-color: var(--apx-unified-border) !important;
}

/* menu */
html body.apex-player-panel .painel-sidebar .nk-menu-item > .nk-menu-link {
    color: #dceff7 !important;

    border-color: rgba(105,198,239,.15) !important;

    background: rgba(5,43,64,.78) !important;
    background-image: none !important;
}

html body.apex-player-panel .painel-sidebar .nk-menu-item > .nk-menu-link:hover {
    color: #fff !important;
    border-color: var(--apx-unified-border-hi) !important;
    background: rgba(10,78,113,.90) !important;
}

html body.apex-player-panel .painel-sidebar .nk-menu-item.active > .nk-menu-link,
html body.apex-player-panel .painel-sidebar .nk-menu-item.current-page > .nk-menu-link,
html body.apex-player-panel .painel-sidebar .nk-menu-item.current-menu > .nk-menu-link {
    color: #fff !important;
    border-color: var(--apx-unified-accent) !important;
    background: rgba(20,119,169,.96) !important;
    box-shadow: inset 3px 0 0 var(--apx-unified-accent-hi) !important;
}

html body.apex-player-panel .painel-sidebar .overline-title,
html body.apex-player-panel .painel-sidebar .nk-menu-heading,
html body.apex-player-panel .painel-sidebar .nk-menu-heading .overline-title {
    color: var(--apx-unified-accent) !important;
}

/* ------------------------------------------------------------------
   CAMADAS EXTERNAS DOS CARDS
   Estas eram justamente as áreas ainda marrons/pretas nas imagens.
   ------------------------------------------------------------------ */

html body.apex-player-panel .nk-block,
html body.apex-player-panel .nk-block-between,
html body.apex-player-panel .nk-block-head,
html body.apex-player-panel .nk-block-head-content,

html body.apex-player-panel .card,
html body.apex-player-panel .card-bordered,
html body.apex-player-panel .card-full,
html body.apex-player-panel .card-inner,
html body.apex-player-panel .card-header,
html body.apex-player-panel .card-footer,

html body.apex-player-panel .apx-player-hero,
html body.apex-player-panel .apx-panel-card,
html body.apex-player-panel .apx-stat-card,
html body.apex-player-panel .apx-char-card,
html body.apex-player-panel .apx-main-char,
html body.apex-player-panel .apx-event-card,
html body.apex-player-panel .apx-ticket-row,
html body.apex-player-panel .apx-notification-row,
html body.apex-player-panel .apx-account-list,
html body.apex-player-panel .apx-quick-actions a,

html body.apex-player-panel .nk-ibx,
html body.apex-player-panel .nk-ibx-aside,
html body.apex-player-panel .nk-ibx-body,
html body.apex-player-panel .nk-reply,
html body.apex-player-panel .nk-reply-item,

html body.apex-player-panel .nk-tb-list,
html body.apex-player-panel .nk-tb-item,

html body.apex-player-panel .modal-content,
html body.apex-player-panel .dropdown-menu,
html body.apex-player-panel .accordion,
html body.apex-player-panel .accordion-item,
html body.apex-player-panel .list-group,
html body.apex-player-panel .list-group-item {
    color: var(--apx-unified-text) !important;

    border-color: var(--apx-unified-border) !important;

    background: var(--apx-unified-card) !important;
    background-color: var(--apx-unified-card) !important;
    background-image: none !important;

    box-shadow:
        0 10px 28px rgba(0,0,0,.12),
        inset 0 1px 0 rgba(255,255,255,.018) !important;
}

/* Miolos de cards usam a mesma tonalidade, levemente mais suave. */
html body.apex-player-panel .card-inner,
html body.apex-player-panel .card-header,
html body.apex-player-panel .card-footer,
html body.apex-player-panel .nk-block-head,
html body.apex-player-panel .dropdown-inner,
html body.apex-player-panel .modal-header,
html body.apex-player-panel .modal-footer {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* ------------------------------------------------------------------
   HOME — personagens / conta / tickets / notificações
   ------------------------------------------------------------------ */

html body.apex-player-panel .apex-player-dashboard .apx-panel-card,
html body.apex-player-panel .apex-player-dashboard .apx-player-hero,
html body.apex-player-panel .apex-player-dashboard .apx-stat-card,
html body.apex-player-panel .apex-player-dashboard .apx-char-card,
html body.apex-player-panel .apex-player-dashboard .apx-main-char,
html body.apex-player-panel .apex-player-dashboard .apx-ticket-row,
html body.apex-player-panel .apex-player-dashboard .apx-notification-row,
html body.apex-player-panel .apex-player-dashboard .apx-account-list {
    background: var(--apx-unified-card) !important;
    background-color: var(--apx-unified-card) !important;
    background-image: none !important;

    border-color: var(--apx-unified-border) !important;
}

/* ------------------------------------------------------------------
   NOTIFICAÇÕES
   ------------------------------------------------------------------ */

html body.apex-player-panel .nk-ibx,
html body.apex-player-panel .nk-ibx-head,
html body.apex-player-panel .nk-ibx-body,
html body.apex-player-panel .nk-ibx-item,
html body.apex-player-panel .nk-reply,
html body.apex-player-panel .nk-reply-head,
html body.apex-player-panel .nk-reply-item {
    border-color: rgba(105,198,239,.18) !important;

    background: var(--apx-unified-card) !important;
    background-color: var(--apx-unified-card) !important;
    background-image: none !important;
}

html body.apex-player-panel .nk-ibx-item:hover {
    background: var(--apx-unified-card-hover) !important;
}

/* ------------------------------------------------------------------
   SUPORTE
   ------------------------------------------------------------------ */

html body.apex-player-panel .nk-tb-list,
html body.apex-player-panel .nk-tb-item,
html body.apex-player-panel .nk-tb-head {
    background-image: none !important;
}

html body.apex-player-panel .nk-tb-list {
    background: var(--apx-unified-card) !important;
}

html body.apex-player-panel .nk-tb-item {
    background: rgba(5,43,64,.74) !important;
}

html body.apex-player-panel .nk-tb-item:hover {
    background: var(--apx-unified-card-hover) !important;
}

html body.apex-player-panel .nk-tb-head {
    background: rgba(5,43,64,.94) !important;
}

/* ------------------------------------------------------------------
   DOAÇÕES / SALDO
   ------------------------------------------------------------------ */

html body.apex-player-panel .apx-donate-page,
html body.apex-player-panel .apx-donate-page .card,
html body.apex-player-panel .apx-donate-hero,
html body.apex-player-panel .apx-donate-account-card,
html body.apex-player-panel .apx-donate-info-card,
html body.apex-player-panel .apx-donate-panel,
html body.apex-player-panel .apx-donate-history,
html body.apex-player-panel .apx-donate-free-value,
html body.apex-player-panel .apx-donate-live-summary > div,
html body.apex-player-panel .apx-donate-page .payment-method,
html body.apex-player-panel .apx-donate-page .donate-content__bonuses,
html body.apex-player-panel .apx-donate-page .donate-content__bonuses-item {
    color: var(--apx-unified-text) !important;

    border-color: var(--apx-unified-border) !important;

    background: var(--apx-unified-card) !important;
    background-color: var(--apx-unified-card) !important;
    background-image: none !important;
}

html body.apex-player-panel .apx-donate-page .payment-method:hover,
html body.apex-player-panel .apx-donate-page .payment-method.active {
    background: var(--apx-unified-card-hover) !important;
    border-color: var(--apx-unified-border-hi) !important;
}

/* mata explicitamente os pequenos fundos pretos do formulário antigo */
html body.apex-player-panel .donate-content__bonuses-item-name,
html body.apex-player-panel .donate-content__bonuses-item-val,
html body.apex-player-panel .apx-donate-confirm__grid > div,
html body.apex-player-panel .apx-donate-confirm__total {
    background: rgba(5,43,64,.90) !important;
    background-color: rgba(5,43,64,.90) !important;
    border-color: rgba(105,198,239,.20) !important;
}

/* ------------------------------------------------------------------
   SETTINGS / ALTERAR DADOS
   ------------------------------------------------------------------ */

/* O grande card externo que ainda aparecia marrom. */
html body.apex-player-panel .nk-content-body .card,
html body.apex-player-panel .nk-content-body .card.card-bordered,
html body.apex-player-panel .nk-content-body .card-inner {
    border-color: var(--apx-unified-border) !important;

    background-color: var(--apx-unified-card) !important;
    background-image: none !important;
}

html body.apex-player-panel .nav-tabs {
    border-color: var(--apx-unified-border) !important;
}

html body.apex-player-panel .nav-tabs .nav-link,
html body.apex-player-panel .nav-pills .nav-link {
    color: var(--apx-unified-muted) !important;
    border-color: transparent !important;
    background: transparent !important;
}

html body.apex-player-panel .nav-tabs .nav-link.active,
html body.apex-player-panel .nav-pills .nav-link.active,
html body.apex-player-panel .nav-tabs .nav-link:hover {
    color: var(--apx-unified-accent-hi) !important;
    border-color: var(--apx-unified-border) !important;
    background: rgba(10,78,113,.62) !important;
}

/* Todos os inputs, incluindo os que ainda apareciam brancos/dourados. */
html body.apex-player-panel input.form-control,
html body.apex-player-panel textarea.form-control,
html body.apex-player-panel select.form-control,
html body.apex-player-panel .form-control,
html body.apex-player-panel .custom-select,
html body.apex-player-panel .input-group-text {
    color: #fff !important;

    border: 1px solid var(--apx-unified-border) !important;

    background: var(--apx-unified-field) !important;
    background-color: var(--apx-unified-field) !important;
    background-image: none !important;

    box-shadow: none !important;
}

html body.apex-player-panel input.form-control:focus,
html body.apex-player-panel textarea.form-control:focus,
html body.apex-player-panel select.form-control:focus,
html body.apex-player-panel .form-control:focus {
    border-color: var(--apx-unified-border-hi) !important;

    background: rgba(7,55,82,.96) !important;

    box-shadow: 0 0 0 3px rgba(105,198,239,.08) !important;
}

html body.apex-player-panel input.form-control:disabled,
html body.apex-player-panel input.form-control[readonly],
html body.apex-player-panel .form-control:disabled,
html body.apex-player-panel .form-control[readonly] {
    color: #dceff7 !important;

    border-color: rgba(105,198,239,.20) !important;

    background: rgba(5,43,64,.68) !important;
    opacity: 1 !important;
}

/* ------------------------------------------------------------------
   TEXTOS / LINHAS / BORDAS
   ------------------------------------------------------------------ */

html body.apex-player-panel h1,
html body.apex-player-panel h2,
html body.apex-player-panel h3,
html body.apex-player-panel h4,
html body.apex-player-panel h5,
html body.apex-player-panel h6,
html body.apex-player-panel .card-title,
html body.apex-player-panel strong,
html body.apex-player-panel .lead-text,
html body.apex-player-panel .nk-ibx-context-text,
html body.apex-player-panel .nk-reply-entry {
    color: var(--apx-unified-white) !important;
}

html body.apex-player-panel p,
html body.apex-player-panel .sub-text,
html body.apex-player-panel .text-soft,
html body.apex-player-panel small {
    color: var(--apx-unified-muted) !important;
}

html body.apex-player-panel .form-label,
html body.apex-player-panel .text-primary,
html body.apex-player-panel .link-primary,
html body.apex-player-panel .apx-player-kicker,
html body.apex-player-panel .apx-section-eyebrow,
html body.apex-player-panel .apx-event-type,
html body.apex-player-panel .apx-ticket-id,
html body.apex-player-panel .apx-text-link {
    color: var(--apx-unified-accent) !important;
}

html body.apex-player-panel hr,
html body.apex-player-panel .border,
html body.apex-player-panel .border-top,
html body.apex-player-panel .border-bottom,
html body.apex-player-panel .border-left,
html body.apex-player-panel .border-right {
    border-color: rgba(105,198,239,.22) !important;
}

/* Botões */
html body.apex-player-panel .btn {
    color: var(--apx-unified-accent-hi) !important;
    border-color: var(--apx-unified-border) !important;
    background: rgba(5,43,64,.84) !important;
    background-image: none !important;
}

html body.apex-player-panel .btn:hover {
    color: #fff !important;
    border-color: var(--apx-unified-border-hi) !important;
    background: var(--apx-unified-card-hover) !important;
}

html body.apex-player-panel .btn-primary,
html body.apex-player-panel .btn-info,
html body.apex-player-panel .btn-success {
    color: #fff !important;
    border-color: var(--apx-unified-border-hi) !important;
    background: rgba(20,119,169,.92) !important;
}

/* ------------------------------------------------------------------
   Rodapé sem placa preta
   ------------------------------------------------------------------ */

html body.apex-player-panel .painel-footer-wrap,
html body.apex-player-panel .painel-footer,
html body.apex-player-panel .nk-footer {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Mobile mantém a mesma paleta */
@media (max-width: 991.98px) {
    html body.apex-player-panel .painel-sidebar,
    html body.apex-player-panel .painel-sidebar.nk-aside {
        background: var(--apx-unified-side) !important;
    }
}

/* ==========================================================================
   APEX SALDO LAYOUT FINAL 20260814
   SOMENTE página Saldo/Doações.
   ========================================================================== */

/* Página inteira centralizada no mesmo eixo visual da Home. */
html body.apex-player-panel .apx-donate-page {
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
}

/* Não deixa rows/cols do Bootstrap criarem largura artificial. */
html body.apex-player-panel .apx-donate-page > .nk-block,
html body.apex-player-panel .apx-donate-page .row,
html body.apex-player-panel .apx-donate-page .col-lg-12,
html body.apex-player-panel .apx-donate-page .donate-content,
html body.apex-player-panel .apx-donate-page .donate-content__col,
html body.apex-player-panel .apx-donate-page .apx-donate-form-column {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Cabeçalho mais compacto. */
html body.apex-player-panel .apx-donate-page .apx-donate-hero {
    min-height: 0 !important;
    margin-bottom: 12px !important;
    padding: 20px 22px !important;
    border-radius: 13px !important;
}

html body.apex-player-panel .apx-donate-page .apx-donate-hero h3 {
    margin-bottom: 6px !important;
    font-size: 20px !important;
}

html body.apex-player-panel .apx-donate-page .apx-donate-hero p {
    max-width: 760px !important;
    margin: 0 !important;
    line-height: 1.55 !important;
}

/* Saldo + conversão em duas colunas iguais e proporcionais. */
html body.apex-player-panel .apx-donate-page .apx-donate-account-summary {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

html body.apex-player-panel .apx-donate-page .apx-donate-account-card {
    min-height: 104px !important;
    padding: 16px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    border-radius: 12px !important;
}

/* Faixas de bônus alinhadas e compactas. */
html body.apex-player-panel .apx-donate-page .apx-donate-info-grid {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 9px !important;
    margin-bottom: 14px !important;
}

html body.apex-player-panel .apx-donate-page .apx-donate-info-card {
    min-height: 64px !important;
    padding: 11px 13px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    border-radius: 10px !important;
}

/* Card principal de pagamento deixa de ser uma placa gigante. */
html body.apex-player-panel .apx-donate-page .apx-donate-panel {
    width: 100% !important;
    max-width: none !important;
    padding: 20px 22px !important;
    border-radius: 13px !important;
}

html body.apex-player-panel .apx-donate-page .apx-donate-panel-head {
    margin-bottom: 15px !important;
    padding-bottom: 13px !important;
}

/* Valor livre ocupa só o espaço necessário. */
html body.apex-player-panel .apx-donate-page .apx-donate-free-value {
    max-width: 760px !important;
    margin: 0 0 16px !important;
    padding: 12px 14px !important;
}

/* Remove de vez o antigo max-width 60%. */
html body.apex-player-panel .apx-donate-page .apx-donate-payment-section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
}

/* Métodos: três cards iguais, alinhados. */
html body.apex-player-panel .apx-donate-page .apx-donate-payment-grid {
    width: 100% !important;
    max-width: 900px !important;

    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 12px !important;

    margin-top: 7px !important;
}

html body.apex-player-panel .apx-donate-page .payment-method {
    width: 100% !important;
    max-width: none !important;
    min-height: 96px !important;

    margin: 0 !important;
    padding: 12px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 11px !important;
}

html body.apex-player-panel .apx-donate-page .payment-method-group {
    width: 100% !important;
    min-height: 68px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
}

html body.apex-player-panel .apx-donate-page .payment-method-group img {
    width: 120px !important;
    max-width: 82% !important;
    height: 42px !important;
    object-fit: contain !important;
}

html body.apex-player-panel .apx-donate-page .payment-method-group span {
    height: auto !important;
    margin: 0 !important;
}

/* Campos principais seguem uma largura confortável, sem esticar demais. */
html body.apex-player-panel .apx-donate-page .apx-donate-form > .form-group {
    width: 100% !important;
    max-width: 100% !important;
}

html body.apex-player-panel .apx-donate-page #brl_amount,
html body.apex-player-panel .apx-donate-page #coin {
    min-height: 44px !important;
}

/* Slider e campos ficam alinhados com o formulário. */
html body.apex-player-panel .apx-donate-page .input-slider,
html body.apex-player-panel .apx-donate-page .irs,
html body.apex-player-panel .apx-donate-page .irs--round {
    width: 100% !important;
    max-width: none !important;
}

/* Resumo em uma linha de quatro cards iguais. */
html body.apex-player-panel .apx-donate-page .apx-donate-live-summary {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr)) !important;
    gap: 9px !important;
    margin: 15px 0 5px !important;
}

html body.apex-player-panel .apx-donate-page .apx-donate-live-summary > div {
    min-height: 60px !important;
    padding: 10px 12px !important;
}

/* Botão fica alinhado à esquerda e com tamanho normal. */
html body.apex-player-panel .apx-donate-page .apx-donate-form > .form-group:last-of-type {
    display: flex !important;
    justify-content: flex-start !important;
}

html body.apex-player-panel .apx-donate-page .apx-donate-form .btn-success {
    width: auto !important;
    min-width: 150px !important;
    min-height: 42px !important;
    margin-left: 0 !important;
}

/* Aviso final */
html body.apex-player-panel .apx-donate-page .apx-donate-note {
    margin-top: 14px !important;
    padding: 11px 13px !important;
}

/* Histórico usa exatamente a mesma largura do formulário. */
html body.apex-player-panel .apx-donate-page .apx-donate-history {
    width: 100% !important;
    max-width: none !important;
    margin: 14px 0 0 !important;
    padding: 18px 20px !important;
    border-radius: 13px !important;
}

/* Fallback invisível de plataformas não interfere no grid. */
html body.apex-player-panel .apx-donate-page .apx-donate-platform-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin-top: 20px !important;
}

/* Responsividade */
@media (max-width: 991.98px) {
    html body.apex-player-panel .apx-donate-page {
        max-width: 100% !important;
    }

    html body.apex-player-panel .apx-donate-page .apx-donate-info-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }

    html body.apex-player-panel .apx-donate-page .apx-donate-payment-grid {
        max-width: 100% !important;
    }

    html body.apex-player-panel .apx-donate-page .apx-donate-live-summary {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
}

@media (max-width: 575.98px) {
    html body.apex-player-panel .apx-donate-page .apx-donate-account-summary,
    html body.apex-player-panel .apx-donate-page .apx-donate-info-grid,
    html body.apex-player-panel .apx-donate-page .apx-donate-payment-grid,
    html body.apex-player-panel .apx-donate-page .apx-donate-live-summary {
        grid-template-columns: 1fr !important;
    }

    html body.apex-player-panel .apx-donate-page .apx-donate-hero,
    html body.apex-player-panel .apx-donate-page .apx-donate-panel,
    html body.apex-player-panel .apx-donate-page .apx-donate-history {
        padding: 15px !important;
    }

    html body.apex-player-panel .apx-donate-page .payment-method {
        min-height: 82px !important;
    }
}

/* ==========================================================================
   APEX LOGIN BLUE FINAL 20260814
   SOMENTE LOGIN/CADASTRO — mantém exatamente a transparência atual.
   ========================================================================== */

/* Painel: troca apenas a tonalidade marrom pela azul. */
html body.apex-player-login .nk-split-content,
html body.apex-player-login .nk-block,
html body.apex-player-login .card,
html body.apex-player-login .card-inner,
html body.apex-player-login .login-card,
html body.apex-player-login .apx-login-card {
    background-color: rgba(4, 37, 58, .68) !important;
    border-color: rgba(105, 198, 239, .42) !important;
}

/* Mantém blur/transparência e remove pigmentação dourada/marrom. */
html body.apex-player-login .nk-split-content,
html body.apex-player-login .login-card,
html body.apex-player-login .apx-login-card {
    background-image:
        linear-gradient(rgba(4,37,58,.68), rgba(4,37,58,.68)) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Títulos, links, ícones e detalhes. */
html body.apex-player-login h1,
html body.apex-player-login h2,
html body.apex-player-login h3,
html body.apex-player-login h4,
html body.apex-player-login .text-primary,
html body.apex-player-login a,
html body.apex-player-login .link-primary,
html body.apex-player-login .icon {
    color: #82d8f8 !important;
}

html body.apex-player-login .form-label,
html body.apex-player-login p,
html body.apex-player-login .sub-text {
    color: #e8f6fc !important;
}

/* Campos com borda azul. */
html body.apex-player-login .form-control {
    border-color: rgba(105,198,239,.55) !important;
    box-shadow: none !important;
}

html body.apex-player-login .form-control:focus {
    border-color: #82d8f8 !important;
    box-shadow: 0 0 0 3px rgba(130,216,248,.12) !important;
}

/* Checkbox */
html body.apex-player-login .custom-control-input:checked ~ .custom-control-label::before,
html body.apex-player-login .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #49b9e9 !important;
    background-color: #168bc1 !important;
}

/* Botão Login: remove definitivamente o dourado. */
html body.apex-player-login .btn-primary,
html body.apex-player-login button[type="submit"],
html body.apex-player-login input[type="submit"] {
    color: #fff !important;
    border: 1px solid rgba(130,216,248,.72) !important;
    background: linear-gradient(180deg, #249fd5 0%, #0b6f9f 100%) !important;
    background-color: #0b6f9f !important;
    box-shadow: 0 7px 18px rgba(0,92,137,.22) !important;
}

html body.apex-player-login .btn-primary:hover,
html body.apex-player-login button[type="submit"]:hover,
html body.apex-player-login input[type="submit"]:hover {
    border-color: #a9e8ff !important;
    background: linear-gradient(180deg, #38b4e8 0%, #1084bb 100%) !important;
    background-color: #1084bb !important;
}

/* Linhas/divisores deixam de ser dourados. */
html body.apex-player-login hr,
html body.apex-player-login .border-top,
html body.apex-player-login .border-bottom {
    border-color: rgba(105,198,239,.22) !important;
}

/* ==========================================================================
   APEX LOGIN — TODO AZUL TRANSPARENTE FINAL
   Corrige painel externo + miolo + rodapé + botão.
   ========================================================================== */

/* O container externo inteiro do login */
body:not(.apex-player-panel) .nk-split-content,
body:not(.apex-player-panel) .nk-split-content-auth,
body:not(.apex-player-panel) .nk-block,
body:not(.apex-player-panel) .nk-block-middle,
body:not(.apex-player-panel) .card,
body:not(.apex-player-panel) .card-inner,
body:not(.apex-player-panel) .login-card,
body:not(.apex-player-panel) .apx-login-card {
    border-color: rgba(96, 195, 238, .42) !important;
    background: rgba(3, 36, 57, .68) !important;
    background-color: rgba(3, 36, 57, .68) !important;
    background-image: none !important;
}

/* Mantém o vidro no bloco principal, inclusive as laterais e o rodapé. */
body:not(.apex-player-panel) .nk-split-content,
body:not(.apex-player-panel) .nk-split-content-auth {
    background: rgba(3, 36, 57, .68) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Remove a placa azul opaca interna que apareceu na captura. */
body:not(.apex-player-panel) .nk-block,
body:not(.apex-player-panel) .nk-block-middle,
body:not(.apex-player-panel) .card,
body:not(.apex-player-panel) .card-inner,
body:not(.apex-player-panel) .login-card,
body:not(.apex-player-panel) .apx-login-card,
body:not(.apex-player-panel) form {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Bordas/divisores */
body:not(.apex-player-panel) hr,
body:not(.apex-player-panel) .border-top,
body:not(.apex-player-panel) .border-bottom,
body:not(.apex-player-panel) .nk-block + .nk-block {
    border-color: rgba(96,195,238,.24) !important;
}

/* Textos que ainda herdavam dourado */
body:not(.apex-player-panel) h1,
body:not(.apex-player-panel) h2,
body:not(.apex-player-panel) h3,
body:not(.apex-player-panel) h4,
body:not(.apex-player-panel) .text-primary,
body:not(.apex-player-panel) .link-primary,
body:not(.apex-player-panel) a {
    color: #78d2f5 !important;
}

body:not(.apex-player-panel) .form-label,
body:not(.apex-player-panel) p,
body:not(.apex-player-panel) .sub-text,
body:not(.apex-player-panel) .custom-control-label {
    color: #edf9ff !important;
}

/* Inputs */
body:not(.apex-player-panel) .form-control {
    border: 1px solid rgba(96,195,238,.55) !important;
    box-shadow: none !important;
}
body:not(.apex-player-panel) .form-control:focus {
    border-color: #78d2f5 !important;
    box-shadow: 0 0 0 3px rgba(120,210,245,.12) !important;
}

/* Checkbox azul */
body:not(.apex-player-panel) .custom-control-label::before {
    border-color: rgba(96,195,238,.65) !important;
    background-color: rgba(3,36,57,.62) !important;
}
body:not(.apex-player-panel) .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #78d2f5 !important;
    background-color: #168fca !important;
}

/* BOTÃO — seletores amplos para vencer o CSS dourado antigo */
body:not(.apex-player-panel) .btn,
body:not(.apex-player-panel) .btn-primary,
body:not(.apex-player-panel) .btn-lg,
body:not(.apex-player-panel) button,
body:not(.apex-player-panel) button[type="submit"],
body:not(.apex-player-panel) input[type="submit"],
body:not(.apex-player-panel) form .btn {
    color: #fff !important;
    border: 1px solid rgba(143,221,251,.72) !important;
    background: linear-gradient(180deg, rgba(38,165,218,.96) 0%, rgba(9,105,151,.96) 100%) !important;
    background-color: #0b78aa !important;
    background-image: linear-gradient(180deg, rgba(38,165,218,.96) 0%, rgba(9,105,151,.96) 100%) !important;
    box-shadow: 0 7px 18px rgba(0,85,130,.22) !important;
}

body:not(.apex-player-panel) .btn:hover,
body:not(.apex-player-panel) .btn-primary:hover,
body:not(.apex-player-panel) button:hover,
body:not(.apex-player-panel) button[type="submit"]:hover,
body:not(.apex-player-panel) input[type="submit"]:hover {
    color: #fff !important;
    border-color: #b8edff !important;
    background: linear-gradient(180deg, #39b8ea 0%, #0d82b9 100%) !important;
    background-color: #0d82b9 !important;
}

/* Ícone de olho e voltar ao site */
body:not(.apex-player-panel) .form-icon,
body:not(.apex-player-panel) .icon,
body:not(.apex-player-panel) .link-back {
    color: #78d2f5 !important;
}

/* ========================================================================== 
   APEX AUTH — MARROM UNIFORME FINAL
   Remove as últimas camadas azuis do login, cadastro e recuperação.
   ========================================================================== */
html body.apex-player-login .nk-split-page .nk-auth-container,
html body.apex-player-login .nk-split-page .nk-auth-container.bg-white,
html body.apex-player-login .nk-split-page .nk-split-content.nk-auth-container {
    background: rgba(107,75,55,.40) !important;
    background-color: rgba(107,75,55,.40) !important;
    background-image: none !important;
    border-color: rgba(235,193,105,.58) !important;
    animation: none !important;
}

html body.apex-player-login .nk-split-page .nk-auth-container .nk-block,
html body.apex-player-login .nk-split-page .nk-auth-container .nk-block-middle,
html body.apex-player-login .nk-split-page .nk-auth-container .nk-auth-body,
html body.apex-player-login .nk-split-page .nk-auth-container .nk-auth-footer,
html body.apex-player-login .nk-split-page .nk-auth-container .tabs,
html body.apex-player-login .nk-split-page .nk-auth-container .tab-content,
html body.apex-player-login .nk-split-page .nk-auth-container .tab-pane,
html body.apex-player-login .nk-split-page .nk-auth-container form,
html body.apex-player-login .nk-split-page .nk-auth-container .form-group {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

html body.apex-player-login .nk-split-page .nk-auth-container a,
html body.apex-player-login .nk-split-page .nk-auth-container .icon,
html body.apex-player-login .nk-split-page .nk-auth-container .form-icon,
html body.apex-player-login .nk-split-page .nk-auth-container .passcode-icon,
html body.apex-player-login .nk-split-page .nk-auth-container .link-primary {
    color: #f1cd79 !important;
}

html body.apex-player-login .nk-split-page .nk-auth-container .form-control {
    background: rgba(42,28,21,.88) !important;
    background-color: rgba(42,28,21,.88) !important;
    border-color: rgba(235,193,105,.5) !important;
}

html body.apex-player-login .nk-split-page .nk-auth-container .form-control:focus {
    background: rgba(34,22,17,.96) !important;
    border-color: #f2cf78 !important;
}

html body.apex-player-login .nk-split-page .nk-auth-container .apx-login-discord-btn {
    color: #f8e7c1 !important;
    background: #523725 !important;
    background-color: #523725 !important;
    background-image: none !important;
    border-color: rgba(235,193,105,.42) !important;
}

html body.apex-player-login .nk-split-page .nk-auth-container .apx-login-discord-btn:hover {
    color: #fff1cf !important;
    background: #61422d !important;
    border-color: rgba(242,207,120,.72) !important;
}

html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-split-content.nk-auth-container.bg-white {
    background: rgba(107,75,55,.40) !important;
    background-color: rgba(107,75,55,.40) !important;
    background-image: none !important;
}

html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-block.nk-auth-body {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-auth-body .form-control.form-control-lg {
    background: rgba(42,28,21,.88) !important;
    background-color: rgba(42,28,21,.88) !important;
    background-image: none !important;
}

/* Botão oficial do Discord */
html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .apx-login-discord-btn {
    min-width: 176px !important;
    height: 46px !important;
    gap: 10px !important;
    color: #fff !important;
    background: #5865f2 !important;
    background-color: #5865f2 !important;
    background-image: none !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    box-shadow: 0 9px 22px rgba(32,38,112,.28) !important;
}

html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .apx-login-discord-btn:hover,
html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .apx-login-discord-btn:focus {
    color: #fff !important;
    background: #4752c4 !important;
    border-color: rgba(255,255,255,.34) !important;
    box-shadow: 0 12px 26px rgba(32,38,112,.38) !important;
}

html body.apex-player-login .apx-login-discord-btn .apx-login-discord-icon {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
    color: #fff !important;
}

/* Discord somente como símbolo */
html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .apx-login-discord-btn {
    min-width: 0 !important;
    width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    color: #ffffff !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
}

html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .apx-login-discord-btn:hover,
html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .apx-login-discord-btn:focus {
    color: #7289ff !important;
    background: rgba(88,101,242,.10) !important;
    border: 0 !important;
    box-shadow: 0 0 22px rgba(88,101,242,.18) !important;
    transform: translateY(-1px) scale(1.06) !important;
}

html body.apex-player-login .apx-login-discord-btn .apx-login-discord-icon {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
    color: #5865f2 !important;
    opacity: 1 !important;
    filter: none !important;
}

html body.apex-player-login .apx-login-discord-btn:hover .apx-login-discord-icon,
html body.apex-player-login .apx-login-discord-btn:focus .apx-login-discord-icon {
    color: #ffffff !important;
}

/* Discord com contraste e halo azul reforçados */
html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-auth-footer .apx-login-discord-btn {
    width: 64px !important;
    height: 64px !important;
    color: #ffffff !important;
    opacity: 1 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
}

html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-auth-footer .apx-login-discord-btn .apx-login-discord-icon {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
    color: #ffffff !important;
    opacity: 1 !important;
    filter: drop-shadow(0 0 4px rgba(255,255,255,.7)) drop-shadow(0 0 10px rgba(102,142,255,.95)) !important;
}

html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-auth-footer .apx-login-discord-btn:hover,
html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-auth-footer .apx-login-discord-btn:focus {
    color: #ffffff !important;
    opacity: 1 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-auth-footer .apx-login-discord-btn {
    position: relative !important;
    isolation: isolate !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 86px !important;
    height: 78px !important;
    gap: 4px !important;
    overflow: visible !important;
}

html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-auth-footer .apx-login-discord-btn::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 38% !important;
    width: 74px !important;
    height: 58px !important;
    transform: translate(-50%,-50%) !important;
    z-index: -1 !important;
    pointer-events: none !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: radial-gradient(ellipse, rgba(82,119,255,.62) 0%, rgba(60,93,255,.3) 38%, transparent 72%) !important;
    filter: blur(10px) !important;
    opacity: .9 !important;
}

html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-auth-footer .apx-login-discord-label {
    position: relative !important;
    z-index: 1 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.82), 0 0 7px rgba(92,128,255,.72) !important;
}

html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-auth-footer .apx-login-discord-btn:hover::before,
html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-auth-footer .apx-login-discord-btn:focus::before {
    opacity: 1 !important;
    filter: blur(13px) !important;
    background: radial-gradient(ellipse, rgba(105,142,255,.82) 0%, rgba(64,103,255,.42) 40%, transparent 74%) !important;
}

/* Botão principal com a arte fornecida */
html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-auth-body form button[type="submit"].btn-primary {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 88% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    height: clamp(82px, 13vw, 92px) !important;
    min-height: 82px !important;
    aspect-ratio: auto !important;
    padding: 0 14% 1% !important;
    color: #2a1405 !important;
    background: transparent url("../img/botao-principal-hover.png") center / 100% 100% no-repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: "ApexAngelus", "Cinzel", Georgia, serif !important;
    font-size: clamp(1.18rem, 2.8vw, 1.45rem) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    text-shadow: 0 1px 0 rgba(255,231,165,.7), 0 2px 4px rgba(59,27,5,.28) !important;
    filter: drop-shadow(0 8px 13px rgba(0,0,0,.28)) !important;
    transition: transform .16s ease, filter .16s ease !important;
}

html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-auth-body form button[type="submit"].btn-primary:hover,
html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-auth-body form button[type="submit"].btn-primary:focus {
    color: #1d0d02 !important;
    background: transparent url("../img/botao-principal-hover.png") center / 100% 100% no-repeat !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: translateY(-2px) scale(1.015) !important;
    filter:
        brightness(1.1)
        drop-shadow(0 0 7px rgba(255,220,116,.9))
        drop-shadow(0 0 18px rgba(225,158,42,.72))
        drop-shadow(0 12px 18px rgba(0,0,0,.34)) !important;
}

html body.apex-player-login.dark-mode.bg-white .nk-split-page.nk-split-md .nk-auth-container .nk-auth-body form button[type="submit"].btn-primary:active {
    transform: translateY(0) scale(.99) !important;
    filter: brightness(.96) drop-shadow(0 7px 12px rgba(0,0,0,.25)) !important;
}
