/* Apex Tale authenticated area: standardized to match the Master Panel's visual
   identity (2026-08-17) — flat/opaque white-and-blue "Admin Premium" palette,
   no gradients/blur/gold on structural surfaces. Kept separate from the legacy
   bundle so every logged-in page shares one palette. Player's own background
   art, logo, character art and the community CTA button image are preserved. */
body.apex-player-panel {
    --apex-panel-bg: #f6f8fb;
    --apex-panel-deep: #eef2f7;
    --apex-panel-surface: #ffffff;
    --apex-panel-surface-2: #ffffff;
    --apex-panel-surface-soft: #f8fafc;
    --apex-panel-hover: #edf4ff;
    --apex-panel-border: #e4e9f0;
    --apex-panel-border-strong: #d7dee8;
    --apex-panel-gold: #326dcc;
    --apex-panel-gold-light: #285daf;
    --apex-panel-bronze: #1f4c94;
    --apex-panel-text: #172033;
    --apex-panel-text-soft: #51607a;
    --apex-panel-text-muted: #8a94a6;
    --apex-panel-success: #2f855a;
    --apex-panel-danger: #c94a4a;
    --apex-panel-shadow: 0 1px 3px rgba(16,24,40,.04),0 4px 12px rgba(16,24,40,.04);

    /* Compatibility tokens used by the final legacy theme layer. */
    --apx-unified-top: #ffffff;
    --apx-unified-side: #ffffff;
    --apx-unified-card: #ffffff;
    --apx-unified-card-soft: #f8fafc;
    --apx-unified-card-hover: #edf4ff;
    --apx-unified-field: #ffffff;
    --apx-unified-border: #e4e9f0;
    --apx-unified-border-hi: #d7dee8;
    --apx-unified-white: #172033;
    --apx-unified-text: #172033;
    --apx-unified-muted: #51607a;
    --apx-unified-accent: #326dcc;
    --apx-unified-accent-hi: #285daf;
    color: var(--apex-panel-text-soft);
    background:
        linear-gradient(rgba(30, 18, 12, .20), rgba(30, 18, 12, .28)),
        url("../img/apex-auth-bg-clean.png") center top / cover fixed no-repeat !important;
}

body.apex-player-panel .painel-shell,
body.apex-player-panel .nk-main,
body.apex-player-panel .nk-wrap,
body.apex-player-panel .nk-content,
body.apex-player-panel .painel-main { background: transparent !important; }

/* Transição padrão para estados de hover/focus em todo o painel logado.
   Levantamento: 68 regras :hover em apex-panel-theme.css e 45 em
   apex-player-dashboard.css, mas só 12 e 5 delas (respectivamente) já
   tinham `transition` — a maioria trocava de cor/fundo/sombra de forma
   instantânea. Esta regra cobre os componentes interativos mais comuns
   (links, botões, cards, itens de menu) de uma vez só, sem redefinir
   nenhuma cor/fundo/sombra existente — é puramente aditiva. Onde uma regra
   mais específica já define seu próprio `transition` (a maioria com
   `!important`), ela continua tendo prioridade; isto só cobre o que ainda
   não tinha nenhuma. Não afeta a tela de login (`body.apex-player-login`,
   escopo diferente, já com suas próprias transições). */
body.apex-player-panel a,
body.apex-player-panel button,
body.apex-player-panel .btn,
body.apex-player-panel .card,
body.apex-player-panel [class*="nk-menu-link"],
body.apex-player-panel [class^="apx-"],
body.apex-player-panel [class*=" apx-"] {
    transition: color .18s ease, background-color .18s ease,
        border-color .18s ease, box-shadow .18s ease, transform .18s ease,
        filter .18s ease;
}

/* Top bar and account menu */
body.apex-player-panel .apx-topbar,
body.apex-player-panel .painel-header {
    background:#ffffff!important;
    border-bottom: 1px solid var(--apex-panel-border) !important;
    box-shadow:0 8px 28px rgba(16,24,40,0.12)!important;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}
body.apex-player-panel .apx-topbar__user-toggle {
    background:#f8fafc!important;
    border-color: var(--apex-panel-border) !important;
    color: var(--apex-panel-text) !important;
}
body.apex-player-panel .apx-topbar__user-toggle:hover,
body.apex-player-panel .apx-topbar__user.show .apx-topbar__user-toggle {
    background:#ffffff!important;
    border-color: var(--apex-panel-border-strong) !important;
    box-shadow:0 0 18px rgba(16,24,40,0.1)!important;
}
body.apex-player-panel .apx-topbar__user-name small { color: var(--apex-panel-gold-light) !important; }
body.apex-player-panel .apx-topbar__user-name strong,
body.apex-player-panel .apx-topbar__link { color: var(--apex-panel-text) !important; }
body.apex-player-panel .apx-topbar__link:hover { color: var(--apex-panel-gold-light) !important; text-shadow: none; }
body.apex-player-panel .dropdown-menu,
body.apex-player-panel .dropdown-inner {
    background:#ffffff!important;
    border-color: var(--apex-panel-border) !important;
    color: var(--apex-panel-text-soft) !important;
    backdrop-filter:none;
}
body.apex-player-panel .dropdown-menu a { color: var(--apex-panel-text-soft) !important; }
body.apex-player-panel .dropdown-menu a:hover { color: var(--apex-panel-gold-light) !important; background:#f8fafc!important; }

/* Sidebar */
body.apex-player-panel .painel-sidebar,
body.apex-player-panel .nk-aside {
    background:#ffffff!important;
    border-right: 1px solid var(--apex-panel-border) !important;
    box-shadow:12px 0 32px rgba(16,24,40,0.12)!important;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}
body.apex-player-panel .painel-aside-nav .nk-menu-heading .overline-title { color: var(--apex-panel-gold-light) !important; }
body.apex-player-panel .painel-aside-nav .nk-menu-link,
body.apex-player-panel .painel-aside-links-mob .nk-menu-link {
    background:#ffffff!important;
    border: 1px solid #e4e9f0!important;
    color: var(--apex-panel-text) !important;
}
body.apex-player-panel .painel-aside-nav .nk-menu-icon,
body.apex-player-panel .painel-aside-nav .nk-menu-link .icon { color: var(--apex-panel-text-soft) !important; }
body.apex-player-panel .painel-aside-nav .nk-menu-link:hover,
body.apex-player-panel .painel-aside-links-mob .nk-menu-link:hover {
    background: var(--apex-panel-hover) !important;
    border-color:#d7dee8!important;
    box-shadow:0 8px 22px rgba(16,24,40,0.12), 0 0 16px rgba(16,24,40,0.07)!important;
}
body.apex-player-panel .painel-aside-nav .nk-menu-link:hover .icon { color: var(--apex-panel-gold-light) !important; }
body.apex-player-panel .painel-aside-nav .nk-menu-item.active > .nk-menu-link,
body.apex-player-panel .painel-aside-nav .nk-menu-item.nk-menu-item-active > .nk-menu-link {
    background:#ffffff;
    border-color:#d7dee8!important;
    box-shadow:inset 3px 0 0 var(--apex-panel-gold-light), 0 8px 22px rgba(16,24,40,0.12)!important;
    color:#172033!important;
}
body.apex-player-panel .painel-aside-nav .nk-menu-item.active > .nk-menu-link .icon { color: var(--apex-panel-gold-light) !important; }
body.apex-player-panel .apx-balance-menu-value,
body.apex-player-panel .nk-menu-badge {
    color:#285daf!important;
    background:#edf4ff!important;
    border-color:#d7dee8!important;
}
body.apex-player-panel .apx-balance-menu-value .icon { color: var(--apex-panel-gold-light) !important; }

/* Shared glass surfaces */
body.apex-player-panel .apex-player-dashboard { --apx-gold: var(--apex-panel-gold); --apx-gold-2: var(--apex-panel-gold-light); --apx-panel: rgba(48,32,24,.88); --apx-panel-2: rgba(73,51,40,.84); --apx-line: var(--apex-panel-border); --apx-soft: var(--apex-panel-text-muted); }
body.apex-player-panel .card,
body.apex-player-panel .apx-panel-card,
body.apex-player-panel .accordion-item,
body.apex-player-panel .modal-content,
body.apex-player-panel .alert:not(.alert-success):not(.alert-danger):not(.alert-warning),
body.apex-player-panel .apx-events-grid .apx-event-card {
    color: var(--apex-panel-text-soft) !important;
    background: var(--apex-panel-surface) !important;
    border-color: var(--apex-panel-border) !important;
    box-shadow:var(--apex-panel-shadow)!important;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}
body.apex-player-panel .apx-player-hero,
body.apex-player-panel .apx-season-hero {
    background:#ffffff;
    border-color:#e4e9f0!important;
    box-shadow:0 18px 45px rgba(16,24,40,0.12)!important;
    backdrop-filter:none;
}
body.apex-player-panel h1, body.apex-player-panel h2, body.apex-player-panel h3,
body.apex-player-panel h4, body.apex-player-panel h5, body.apex-player-panel h6,
body.apex-player-panel .card-title, body.apex-player-panel .lead-text { color: var(--apex-panel-text) !important; }
body.apex-player-panel .apx-player-kicker,
body.apex-player-panel .apx-section-eyebrow,
body.apex-player-panel .overline-title,
body.apex-player-panel .apx-event-type { color: var(--apex-panel-gold-light) !important; }
body.apex-player-panel p,
body.apex-player-panel .sub-text,
body.apex-player-panel .text-soft,
body.apex-player-panel .text-muted { color: var(--apex-panel-text-soft) !important; }

/* CTAs, secondary buttons and badges */
body.apex-player-panel .btn-primary {
    color:#fff!important;
    background:#326dcc!important;
    border-color:#326dcc!important;
    box-shadow:0 9px 24px rgba(16,24,40,0.12)!important;
}
body.apex-player-panel .btn-primary:hover,
body.apex-player-panel .btn-primary:focus {
    color:#fff!important; transform: translateY(-1px);
    background:#285daf!important;
    border-color:#285daf!important;
    box-shadow:0 12px 28px rgba(16,24,40,0.12), 0 0 18px rgba(16,24,40,0.12)!important;
}
body.apex-player-panel .btn-outline-primary,
body.apex-player-panel .btn-secondary,
body.apex-player-panel .btn-outline-light {
    color: var(--apex-panel-text-soft) !important;
    background:#f8fafc!important;
    border-color:#e4e9f0!important;
}
body.apex-player-panel .btn-outline-primary:hover,
body.apex-player-panel .btn-secondary:hover,
body.apex-player-panel .btn-outline-light:hover {
    color: var(--apex-panel-gold-light) !important;
    background:#f8fafc!important;
    border-color: var(--apex-panel-border-strong) !important;
}
body.apex-player-panel .badge-primary,
body.apex-player-panel .badge-info,
body.apex-player-panel .apx-count-pill {
    color:#285daf!important;
    background:#edf4ff!important;
    border: 1px solid #e4e9f0!important;
}

/* Dashboard statistics and characters */
body.apex-player-panel .apx-stat-card {
    background:#ffffff;
    border-color:#e4e9f0!important;
    box-shadow:0 10px 28px rgba(16,24,40,0.12);
}
body.apex-player-panel .apx-stat-card:hover { border-color:#d7dee8!important; box-shadow:0 12px 28px rgba(16,24,40,0.12)!important; }
body.apex-player-panel .apx-stat-icon { background:#f8fafc!important; border-color:#e4e9f0!important; color: var(--apex-panel-gold-light) !important; }
body.apex-player-panel .apx-stat-card small,
body.apex-player-panel .apx-stat-card div > span { color: var(--apex-panel-text-muted) !important; }
body.apex-player-panel .apx-stat-card strong { color: var(--apex-panel-text) !important; }
body.apex-player-panel .apx-main-char { background:#ffffff; border-color:#e4e9f0!important; }
body.apex-player-panel .apx-main-char__portrait { background:#ffffff!important; border-color:#e4e9f0!important; }
body.apex-player-panel .apx-main-char__info > span,
body.apex-player-panel .apx-main-char__info b,
body.apex-player-panel .apx-char-card__body span { color: var(--apex-panel-gold-light) !important; }
body.apex-player-panel .apx-char-card { background:#f8fafc!important; border-color:#e4e9f0!important; }
body.apex-player-panel .apx-char-card.is-main { border-color:#e4e9f0!important; }

/* Forms, tables, tabs and interactive rows across all authenticated pages */
body.apex-player-panel .form-control,
body.apex-player-panel input:not([type="checkbox"]):not([type="radio"]),
body.apex-player-panel textarea,
body.apex-player-panel select,
body.apex-player-panel .custom-select,
body.apex-player-panel .select2-selection {
    color: var(--apex-panel-text) !important;
    background:#ffffff!important;
    border-color:#e4e9f0!important;
}
body.apex-player-panel .form-control::placeholder,
body.apex-player-panel input::placeholder,
body.apex-player-panel textarea::placeholder { color:#172033!important; }
body.apex-player-panel .form-control:focus,
body.apex-player-panel input:focus,
body.apex-player-panel textarea:focus,
body.apex-player-panel select:focus {
    color: var(--apex-panel-text) !important;
    background:#ffffff!important;
    border-color:#d7dee8!important;
    box-shadow:0 0 0 3px rgba(16,24,40,0.12)!important;
}
body.apex-player-panel option { color: var(--apex-panel-text); background: var(--apex-panel-deep); }
body.apex-player-panel .custom-control-label::before { background:#ffffff!important; border-color:#e4e9f0!important; }
body.apex-player-panel .custom-control-input:checked ~ .custom-control-label::before { background: var(--apex-panel-bronze) !important; border-color: var(--apex-panel-gold-light) !important; }
body.apex-player-panel .table { color: var(--apex-panel-text-soft) !important; }
body.apex-player-panel .table thead th { color: var(--apex-panel-gold-light) !important; background:#f8fafc!important; border-color: var(--apex-panel-border) !important; }
body.apex-player-panel .table td,
body.apex-player-panel .table th { border-color:#e4e9f0!important; }
body.apex-player-panel .table-select tr:hover,
body.apex-player-panel .table tbody tr:hover { background:#f8fafc!important; }
body.apex-player-panel .nav-tabs { border-color: var(--apex-panel-border) !important; }
body.apex-player-panel .nav-tabs .nav-link { color: var(--apex-panel-text-soft) !important; }
body.apex-player-panel .nav-tabs .nav-link:hover,
body.apex-player-panel .nav-tabs .nav-link.active { color: var(--apex-panel-gold-light) !important; border-color: transparent transparent var(--apex-panel-gold) !important; }

/* Lists, tickets, notifications, events and donation controls */
body.apex-player-panel .apx-account-list,
body.apex-player-panel .apx-account-list > div,
body.apex-player-panel .apx-ticket-row,
body.apex-player-panel .apx-notification-row,
body.apex-player-panel .apx-event-meta div,
body.apex-player-panel .apx-reward-level__num,
body.apex-player-panel .apx-reward-box,
body.apex-player-panel .apx-quick-actions a {
    background:#f8fafc!important;
    border-color:#e4e9f0!important;
}
body.apex-player-panel .apx-ticket-row:hover,
body.apex-player-panel .apx-quick-actions a:hover { background:#f8fafc!important; border-color:#e4e9f0!important; color: var(--apex-panel-gold-light) !important; }
body.apex-player-panel .apx-ticket-id,
body.apex-player-panel .apx-text-link,
body.apex-player-panel a:not(.btn):not(.nk-menu-link):not(.apx-topbar__link) { color: var(--apex-panel-gold-light); }
body.apex-player-panel .apx-notification-row.is-unread .apx-notification-dot { background:#326dcc!important; box-shadow:0 0 0 4px rgba(16,24,40,0.1)!important; }
body.apex-player-panel .accordion-item__header-icon,
body.apex-player-panel .payment-method,
body.apex-player-panel .payment-platform,
body.apex-player-panel .donate-content__bonuses-item {
    background:#f8fafc!important;
    border-color:#e4e9f0!important;
}
body.apex-player-panel .payment-method:hover,
body.apex-player-panel .payment-platform:hover,
body.apex-player-panel .payment-method.active,
body.apex-player-panel .payment-platform.active {
    background:#f8fafc!important;
    border-color:#d7dee8!important;
    box-shadow:0 0 20px rgba(16,24,40,0.12)!important;
}
body.apex-player-panel .irs--round .irs-bar,
body.apex-player-panel .irs--round .irs-single { background-color: var(--apex-panel-gold) !important; }
body.apex-player-panel .irs--round .irs-single::before { border-top-color: var(--apex-panel-gold) !important; }
body.apex-player-panel .irs--round .irs-handle { border-color:#326dcc!important; background: var(--apex-panel-deep) !important; }

/* Modals, pagination and footer */
body.apex-player-panel .modal-backdrop { background-color:#ffffff!important; }
body.apex-player-panel .modal-header,
body.apex-player-panel .modal-footer { border-color: var(--apex-panel-border) !important; }
body.apex-player-panel .modal-content .close { color: var(--apex-panel-gold-light) !important; }
body.apex-player-panel .page-link { color: var(--apex-panel-text-soft) !important; background:#ffffff!important; border-color: var(--apex-panel-border) !important; }
body.apex-player-panel .page-item.active .page-link,
body.apex-player-panel .page-link:hover { color:#fff!important; background:#326dcc!important; border-color:#326dcc!important; }
body.apex-player-panel .painel-footer-wrap { background:#ffffff!important; border-top: 1px solid #e4e9f0!important; backdrop-filter:none; }
body.apex-player-panel .painel-footer { color: var(--apex-panel-text-muted) !important; }

/* Keep scrolling warm and unobtrusive. */
body.apex-player-panel { scrollbar-color: #c3cddc #eef1f5; }
body.apex-player-panel ::-webkit-scrollbar-thumb { background:#c3cddc!important; border: 2px solid #eef1f5; }
body.apex-player-panel ::-webkit-scrollbar-track { background:#eef1f5!important; }

@media (max-width: 991.98px) {
    body.apex-player-panel .painel-sidebar { box-shadow:14px 0 34px rgba(16,24,40,0.12)!important; }
}
@media (max-width: 575.98px) {
    body.apex-player-panel .apx-player-hero,
    body.apex-player-panel .card,
    body.apex-player-panel .apx-panel-card { backdrop-filter:none; -webkit-backdrop-filter:none; }
}

/* Legacy dashboard has late high-specificity !important rules. These final
   anchors deliberately outrank them without coupling the theme to page markup. */
html body.apex-player-panel .nk-main .apx-topbar,
html body.apex-player-panel .nk-main .painel-header { background:#ffffff!important; border-color: var(--apex-panel-border) !important; box-shadow:0 8px 28px rgba(16,24,40,0.12)!important; }
html body.apex-player-panel .nk-main .painel-sidebar,
html body.apex-player-panel .nk-main .nk-aside { background:#ffffff!important; border-color: var(--apex-panel-border) !important; box-shadow:12px 0 32px rgba(16,24,40,0.12)!important; }
html body.apex-player-panel .painel-sidebar .painel-aside-nav .nk-menu-item.active > .nk-menu-link,
html body.apex-player-panel .painel-sidebar .painel-aside-nav .nk-menu-item.nk-menu-item-active > .nk-menu-link { background:#ffffff; border-color:#d7dee8!important; box-shadow:inset 3px 0 0 var(--apex-panel-gold-light),0 8px 22px rgba(16,24,40,0.12)!important; }
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-player-hero,
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-season-hero { background:#ffffff; border-color:#e4e9f0!important; box-shadow:0 18px 45px rgba(16,24,40,0.12)!important; }
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-stat-card,
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-panel-card,
html body.apex-player-panel .painel-main .card { background:#ffffff; border-color:#e4e9f0!important; box-shadow:var(--apex-panel-shadow)!important; }
html body.apex-player-panel .painel-main .btn.btn-primary { color:#fff!important; background:#326dcc!important; border-color:#326dcc!important; box-shadow:0 9px 24px rgba(16,24,40,0.12)!important; }

/* Complete authenticated-area override for hardcoded legacy blues. */
html body.apex-player-panel {
    --apx-unified-top: #ffffff;
    --apx-unified-side: #ffffff;
    --apx-unified-card: #ffffff;
    --apx-unified-card-soft: #f8fafc;
    --apx-unified-card-hover: #edf4ff;
    --apx-unified-field: #ffffff;
    --apx-unified-border: #e4e9f0;
    --apx-unified-border-hi: #d7dee8;
    --apx-unified-white: #172033;
    --apx-unified-text: #172033;
    --apx-unified-muted: #51607a;
    --apx-unified-accent: #326dcc;
    --apx-unified-accent-hi: #285daf;
}
html body.apex-player-panel .painel-sidebar .nk-menu-item > .nk-menu-link {
    color: var(--apex-panel-text) !important;
    background:#ffffff!important;
    background-color:#ffffff!important;
    background-image: none !important;
    border-color:#e4e9f0!important;
}
html body.apex-player-panel .painel-sidebar .nk-menu-item > .nk-menu-link:hover {
    color: var(--apex-panel-gold-light) !important;
    background:#ffffff!important;
    border-color:#d7dee8!important;
    box-shadow:0 8px 22px rgba(16,24,40,0.12)!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.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:#172033!important;
    background:#ffffff;
    border-color:#d7dee8!important;
    box-shadow:inset 3px 0 0 var(--apex-panel-gold-light),0 8px 22px rgba(16,24,40,0.12)!important;
}
html body.apex-player-panel .painel-sidebar .nk-menu-icon,
html body.apex-player-panel .painel-sidebar .nk-menu-icon .icon { color:#172033!important; }
html body.apex-player-panel .painel-sidebar .nk-menu-link:hover .nk-menu-icon,
html body.apex-player-panel .painel-sidebar .nk-menu-link:hover .icon,
html body.apex-player-panel .painel-sidebar .nk-menu-item.active > .nk-menu-link .icon { color: var(--apex-panel-gold-light) !important; }
html body.apex-player-panel .painel-sidebar .apx-balance-menu-value {
    color: var(--apex-panel-text) !important;
    background:#ffffff!important;
    background-color:#ffffff!important;
    border-color:#d7dee8!important;
}
html body.apex-player-panel .painel-sidebar .apx-balance-menu-value .icon { color: var(--apex-panel-gold-light) !important; }

html body.apex-player-panel .painel-main .apex-player-dashboard .apx-panel-card {
    background:#ffffff!important;
    background-color:#ffffff!important;
    background-image: none !important;
    border-color:#e4e9f0!important;
}
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-main-char {
    background:#ffffff;
    border-color:#e4e9f0!important;
    box-shadow:inset 0 1px 0 rgba(16,24,40,0.05)!important;
}
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-char-card {
    background:#ffffff!important;
    background-color:#ffffff!important;
    background-image: none !important;
    border-color:#e4e9f0!important;
    box-shadow:none!important;
}
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-char-card:hover {
    background:#ffffff!important;
    border-color:#e4e9f0!important;
}
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-account-list {
    background:#f8fafc!important;
    background-color:#f8fafc!important;
    background-image: none !important;
    border-color:#e4e9f0!important;
    box-shadow:none!important;
}
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-account-list > div {
    background: transparent !important;
    border-color:#e4e9f0!important;
}
html body.apex-player-panel .apx-section-eyebrow,
html body.apex-player-panel .apx-player-kicker,
html body.apex-player-panel .form-label,
html body.apex-player-panel .text-primary,
html body.apex-player-panel .link-primary { color: var(--apex-panel-gold-light) !important; }
html body.apex-player-panel .painel-main .btn:not(.btn-primary) {
    color: var(--apex-panel-text-soft) !important;
    background:#ffffff!important;
    background-color:#ffffff!important;
    background-image: none !important;
    border-color:#e4e9f0!important;
}
html body.apex-player-panel .painel-main .btn:not(.btn-primary):hover {
    color: var(--apex-panel-gold-light) !important;
    background:#ffffff!important;
    border-color:#d7dee8!important;
}
html body.apex-player-panel .nk-tb-item { background:#ffffff!important; }
html body.apex-player-panel .nk-tb-head { background:#ffffff!important; }
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:#ffffff!important; border-color:#e4e9f0!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 { background:#ffffff!important; border-color:#d7dee8!important; box-shadow:0 0 0 3px rgba(16,24,40,0.12)!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:#285daf!important; background:#f8fafc!important; border-color:#e4e9f0!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:#e4e9f0!important; }

html body.apex-player-panel .apx-topbar__user-toggle,
html body.apex-player-panel .dropdown-menu,
html body.apex-player-panel .dropdown-inner,
html body.apex-player-panel .nk-sidebar-menu,
html body.apex-player-panel .nk-menu,
html body.apex-player-panel .nk-menu-heading,
html body.apex-player-panel .card-inner { border-color:#e4e9f0!important; }
html body.apex-player-panel .user-avatar { background-color:#326dcc!important; color:#fff!important; }
html body.apex-player-panel .apx-text-link,
html body.apex-player-panel .apx-ticket-id { color: var(--apex-panel-gold-light) !important; }
html body.apex-player-panel .apx-ticket-row { background:#f8fafc!important; border-color:#e4e9f0!important; }
html body.apex-player-panel .apx-empty-state em { color:#285daf!important; }
html body.apex-player-panel .apx-player-table,
html body.apex-player-panel .apx-player-table thead,
html body.apex-player-panel .apx-player-table tbody,
html body.apex-player-panel .apx-player-table tr,
html body.apex-player-panel .apx-player-table th,
html body.apex-player-panel .apx-player-table td { border-color:#e4e9f0!important; }
html body.apex-player-panel .apx-player-table thead th { color:#285daf!important; background:#f8fafc!important; }
html body.apex-player-panel .painel-sidebar,
html body.apex-player-panel .painel-main .card,
html body.apex-player-panel .painel-main .apx-panel-card { color: var(--apex-panel-text) !important; }
html body.apex-player-panel small,
html body.apex-player-panel .icon { border-color:#e4e9f0!important; }
html body.apex-player-panel .table th,
html body.apex-player-panel .table td,
html body.apex-player-panel table th,
html body.apex-player-panel table td { border-color:#e4e9f0!important; }
html body.apex-player-panel .painel-main .apex-player-dashboard small { color: var(--apex-panel-text-muted) !important; }
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-section-eyebrow,
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-player-kicker { color: var(--apex-panel-gold-light) !important; }
html body.apex-player-panel .nk-aside-close .icon { color: var(--apex-panel-gold-light) !important; }
html body.apex-player-panel .apx-topbar__user-name small { color: var(--apex-panel-gold-light) !important; }
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-player-table thead tr th { border-color:#e4e9f0!important; }

/* ========================================================================== */
/* APEX TALE — MEDIEVAL PREMIUM UI 20260816                                  */
/* Final, isolated presentation layer. It intentionally follows legacy CSS.  */
/* ========================================================================== */
html body.apex-player-panel {
    --apx-header-h: 78px;
    --apx-sidebar-w: 244px;
    --apx-ink: #f6f8fb;
    --apx-ink-2: #eef2f7;
    --apx-wood: #eef2f7;
    --apx-surface: #ffffff;
    --apx-surface-soft: #f8fafc;
    --apx-surface-hover: #edf4ff;
    --apx-gold: #326dcc;
    --apx-gold-hi: #285daf;
    --apx-gold-pale: #edf4ff;
    --apx-line: #e4e9f0;
    --apx-line-soft: #eef2f7;
    --apx-copy: #172033;
    --apx-copy-soft: #51607a;
    --apx-copy-muted: #8a94a6;
    background:
        linear-gradient(rgba(8,5,3,.20),rgba(8,5,3,.32)),
        url("../img/apex-auth-bg-premium.png") center top / cover fixed no-repeat !important;
    color: var(--apx-copy) !important;
}

/* Topbar */
html body.apex-player-panel .apx-topbar,
html body.apex-player-panel .painel-header {
    height: var(--apx-header-h) !important;
    min-height: var(--apx-header-h) !important;
    background:#ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid #d7dee8!important;
    box-shadow:0 7px 22px rgba(0,0,0,.55),inset 0 -1px rgba(16,24,40,0.05)!important;
}
html body.apex-player-panel .apx-topbar__inner {
    max-width: none !important;
    height: var(--apx-header-h) !important;
    padding: 0 26px 0 calc(var(--apx-sidebar-w) + 30px) !important;
    grid-template-columns: minmax(250px,1fr) auto minmax(180px,1fr) !important;
}
html body.apex-player-panel .apx-topbar__user-toggle {
    min-width: 238px;
    min-height: 56px;
    padding: 7px 12px !important;
    background:#ffffff;
    border: 1px solid #e4e9f0!important;
    border-radius: 8px !important;
    box-shadow:inset 0 0 20px rgba(16,24,40,0.025)!important;
    transition: border-color .2s ease,box-shadow .2s ease,background .2s ease !important;
}
html body.apex-player-panel .apx-topbar__user-toggle:hover,
html body.apex-player-panel .apx-topbar__user.show .apx-topbar__user-toggle {
    background:#ffffff;
    border-color:#d7dee8!important;
    box-shadow:0 0 20px rgba(16,24,40,0.12),inset 0 0 18px rgba(16,24,40,0.04)!important;
}
html body.apex-player-panel .apx-topbar__user-toggle .user-avatar {
    width: 38px !important;height: 38px !important;
    border: 1px solid #d7dee8!important;
    box-shadow:0 0 10px rgba(16,24,40,0.12)!important;
}
html body.apex-player-panel .apx-topbar__user-name small {
    color: var(--apx-gold-hi) !important;font-size: 10px !important;letter-spacing: .12em !important;
}
html body.apex-player-panel .apx-topbar__user-name strong {color:#172033!important;font-size:13px !important;}
html body.apex-player-panel .apx-topbar__nav {gap:28px !important;}
html body.apex-player-panel .apx-topbar__link {
    display:inline-flex !important;align-items:center;gap:8px;
    padding:8px 0;color:#172033!important;font-size:12px !important;
    transition:color .18s ease,text-shadow .18s ease,transform .18s ease !important;
}
html body.apex-player-panel .apx-topbar__link .icon {font-size:18px;color:#172033!important;}
html body.apex-player-panel .apx-topbar__link:hover {color:var(--apx-gold-hi) !important;text-shadow:none;transform:translateY(-1px);}

/* Sidebar and identity */
html body.apex-player-panel .painel-sidebar,
html body.apex-player-panel .painel-sidebar.nk-aside {
    z-index:1300 !important;top:0 !important;width:var(--apx-sidebar-w) !important;height:100vh !important;
    padding:108px 12px 272px !important;
    background:#ffffff !important;
    border:0 !important;border-right:1px solid #e4e9f0!important;
    box-shadow:8px 0 26px rgba(0,0,0,.56),inset -1px 0 rgba(16,24,40,0.04)!important;
    overflow:hidden !important;
}
html body.apex-player-panel .apx-sidebar-brand {
    position:absolute;z-index:3;top:3px;left:8px;right:8px;height:96px;
    display:flex;align-items:center;justify-content:center;
    border-bottom:1px solid #e4e9f0;
}
html body.apex-player-panel .apx-sidebar-brand::after {
    content:"";position:absolute;left:15%;right:15%;bottom:-1px;height:1px;
    background:#ffffff;
    box-shadow:0 0 8px rgba(16,24,40,0.12);
}
html body.apex-player-panel .apx-sidebar-brand img {width:190px;max-height:88px;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,0,0,.7));}
html body.apex-player-panel .painel-sidebar .nk-sidebar-menu {height:100% !important;overflow-y:auto !important;padding:0 0 8px !important;}
html body.apex-player-panel .painel-sidebar .nk-menu-heading {margin:0 7px 11px !important;padding:10px 8px !important;text-align:center;border:1px solid #e4e9f0!important;background:#f8fafc!important;}
html body.apex-player-panel .painel-sidebar .nk-menu-heading .overline-title {color:#285daf!important;font-size:10px !important;letter-spacing:.14em !important;}
html body.apex-player-panel .painel-sidebar .nk-menu-item>.nk-menu-link {
    min-height:47px !important;margin:6px 0 !important;padding:10px 12px !important;
    color:#172033!important;background:#ffffff;
    border:1px solid #e4e9f0!important;border-radius:8px !important;
    box-shadow:inset 0 1px rgba(16,24,40,0.025)!important;
    transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease !important;
}
html body.apex-player-panel .painel-sidebar .nk-menu-item>.nk-menu-link:hover {
    color:#172033!important;background:#ffffff;
    border-color:#d7dee8!important;box-shadow:0 0 16px rgba(16,24,40,0.1),inset 0 0 14px rgba(16,24,40,0.05)!important;transform:translateX(1px);
}
html body.apex-player-panel .painel-sidebar .nk-menu-item.active>.nk-menu-link,
html body.apex-player-panel .painel-sidebar .nk-menu-item.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:#172033!important;background:#ffffff;
    border-color:#d7dee8!important;
    box-shadow:inset 4px 0 0 rgba(16,24,40,.10),inset 0 0 22px rgba(16,24,40,0.12),0 0 18px rgba(16,24,40,0.12)!important;
}
html body.apex-player-panel .painel-sidebar .nk-menu-icon,
html body.apex-player-panel .painel-sidebar .nk-menu-icon .icon {color:#285daf!important;font-size:22px !important;}
html body.apex-player-panel .painel-sidebar .apx-balance-menu-value {background:#ffffff!important;border-color:#d7dee8!important;color:#172033!important;}

html body.apex-player-panel .apx-sidebar-community {
    position:absolute;z-index:3;left:12px;right:12px;bottom:18px;
    display:flex;flex-direction:column;align-items:center;text-align:center;
    padding:10px 11px 0;border-top:1px solid #e4e9f0;
    background:#ffffff;
}
html body.apex-player-panel .apx-sidebar-community>img {width:118px;height:92px;object-fit:contain;margin:-8px 0 0;filter:drop-shadow(0 5px 9px rgba(0,0,0,.75));}
html body.apex-player-panel .apx-sidebar-community strong {color:#285daf!important;font-size:11px;line-height:1.45;letter-spacing:.08em;}
html body.apex-player-panel .apx-sidebar-community strong span {display:block;color:#172033;font-size:17px;letter-spacing:.02em;}
html body.apex-player-panel .apx-sidebar-community p {margin:8px 0 11px;color:#285daf!important;font-size:10px;line-height:1.5;}
html body.apex-player-panel .apx-sidebar-community a {width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px;color:#172033!important;background:#ffffff;border:1px solid #d7dee8;border-radius:8px;font-size:11px;font-weight:700;box-shadow:inset 0 0 14px rgba(16,24,40,0.06);}
html body.apex-player-panel .apx-sidebar-community a:hover {color:#fff !important;border-color:#d7dee8;box-shadow:0 0 18px rgba(16,24,40,0.12),inset 0 0 16px rgba(16,24,40,0.1);}

/* Main geometry */
@media (min-width:992px) {
    html body.apex-player-panel .painel-main.nk-content {width:calc(100% - var(--apx-sidebar-w)) !important;margin-left:var(--apx-sidebar-w) !important;padding:calc(var(--apx-header-h) + 14px) 30px 32px !important;}
    html body.apex-player-panel .painel-container.container.wide-xl {max-width:1480px !important;}
    html body.apex-player-panel .painel-footer-wrap {width:calc(100% - var(--apx-sidebar-w)) !important;margin-left:var(--apx-sidebar-w) !important;}
}
html body.apex-player-panel .apex-player-dashboard .nk-content-wrap {padding-top:0 !important;}
html body.apex-player-panel .apex-player-dashboard .row.g-gs {margin-left:-7px !important;margin-right:-7px !important;}
html body.apex-player-panel .apex-player-dashboard .row.g-gs>[class*=col-] {padding-left:7px !important;padding-right:7px !important;}

/* Shared ornamental panels */
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-panel-card {position:relative;isolation:isolate;border-radius:8px !important;border:1px solid #d7dee8!important;box-shadow:0 9px 25px rgba(0,0,0,.46),inset 0 0 0 1px rgba(16,24,40,0.025),inset 0 0 35px rgba(0,0,0,.20)!important;backdrop-filter:none!important;}
html body.apex-player-panel .apex-player-dashboard .apx-player-hero::after,
html body.apex-player-panel .apex-player-dashboard .apx-stat-card::after,
html body.apex-player-panel .apex-player-dashboard .apx-panel-card::after {display:none;}
html body.apex-player-panel .apex-player-dashboard .apx-panel-card {background:#ffffff;}
html body.apex-player-panel .apex-player-dashboard .apx-panel-card>.card-inner {position:relative;z-index:2;padding:18px 20px !important;background:#ffffff;}

/* Hero */
html body.apex-player-panel .apex-player-dashboard .apx-player-hero {
    min-height:158px;margin-bottom:16px !important;padding:24px 34px !important;
    background:
        linear-gradient(90deg,rgba(7,5,3,.99) 0%,rgba(11,7,4,.93) 44%,rgba(7,5,3,.86) 100%),
        url("../img/apex-auth-bg-premium.png") center 42% / cover no-repeat !important;
}
html body.apex-player-panel .apx-player-hero__content {position:relative;z-index:2;}
html body.apex-player-panel .apx-player-kicker,
html body.apex-player-panel .apx-section-eyebrow {color:var(--apx-gold-hi) !important;font-size:10px !important;letter-spacing:.15em !important;}
html body.apex-player-panel .apx-player-hero h2 {margin:4px 0 3px !important;color:#172033!important;font-size:25px !important;font-weight:500 !important;}
html body.apex-player-panel .apx-player-hero p {color:#285daf!important;font-size:13px !important;}
html body.apex-player-panel .apx-player-hero__meta {margin-top:15px !important;gap:17px !important;color:#285daf!important;font-size:11px !important;}
html body.apex-player-panel .apx-player-hero__meta .is-ok {color:#51607a!important;}
html body.apex-player-panel .apx-player-hero__actions .btn {min-height:48px;padding:0 20px !important;border-radius:8px !important;font-size:12px !important;}
html body.apex-player-panel .btn.btn-primary {color:#fff!important;background:#326dcc!important;border:1px solid #326dcc!important;box-shadow:inset 0 0 0 2px rgba(16,24,40,0.07),0 0 18px rgba(16,24,40,0.12)!important;}
html body.apex-player-panel .btn.btn-primary:hover {background:#285daf!important;border-color:#285daf!important;box-shadow:inset 0 0 0 2px rgba(16,24,40,0.09),0 0 24px rgba(16,24,40,0.12)!important;}

/* Statistics */
html body.apex-player-panel .apx-player-stats {gap:14px;margin-bottom:14px !important;}
html body.apex-player-panel .apex-player-dashboard .apx-stat-card {min-height:98px;padding:15px 20px !important;gap:15px;background:#ffffff;}
html body.apex-player-panel .apex-player-dashboard .apx-stat-card:hover {transform:translateY(-2px);background:#ffffff;border-color:#d7dee8!important;box-shadow:0 12px 30px rgba(0,0,0,.52),0 0 18px rgba(16,24,40,0.12)!important;}
html body.apex-player-panel .apx-stat-icon {width:56px;height:56px;border-radius:8px !important;background:#ffffff;border:1px solid #d7dee8!important;color:#172033!important;font-size:24px !important;box-shadow:inset 0 0 15px rgba(16,24,40,0.08);}
html body.apex-player-panel .apx-stat-card small {color:#285daf!important;font-size:9px !important;letter-spacing:.12em !important;}
html body.apex-player-panel .apx-stat-card strong {color:#172033!important;font-size:23px !important;font-weight:500 !important;}
html body.apex-player-panel .apx-stat-card div>span {color:#285daf!important;font-size:11px !important;}

/* Dashboard internals */
html body.apex-player-panel .apx-section-head {margin-bottom:13px !important;}
html body.apex-player-panel .apx-section-head h5 {color:#172033!important;font-size:16px !important;font-weight:500 !important;}
html body.apex-player-panel .apx-count-pill {color:#285daf!important;background:#edf4ff!important;border:1px solid #d7dee8!important;}
html body.apex-player-panel .apex-player-dashboard .apx-main-char {padding:14px 16px !important;margin-bottom:11px !important;border-radius:8px !important;background:#ffffff;border:1px solid #d7dee8!important;}
html body.apex-player-panel .apx-main-char__portrait {width:68px;height:68px;border-radius:8px !important;background:#ffffff!important;border:1px solid #d7dee8!important;box-shadow:0 0 0 3px rgba(16,24,40,0.12),inset 0 0 15px rgba(0,0,0,.6);}
html body.apex-player-panel .apx-main-char__portrait img {max-width:62px;max-height:62px;}
html body.apex-player-panel .apx-main-char__info h3 {font-size:20px !important;font-weight:500 !important;}
html body.apex-player-panel .apx-main-char__info>span,
html body.apex-player-panel .apx-main-char__info b,
html body.apex-player-panel .apx-char-card__body span {color:#285daf!important;}
html body.apex-player-panel .apex-player-dashboard .apx-char-card {padding:11px 14px !important;border-radius:8px !important;background:#ffffff!important;border:1px solid #e4e9f0!important;}
html body.apex-player-panel .apx-char-card img {width:48px;height:48px;border:1px solid #e4e9f0;background:#ffffff;}
html body.apex-player-panel .apx-char-card__body strong {color:#172033!important;}
html body.apex-player-panel .apx-account-list {border-radius:8px !important;background:#f8fafc!important;border:1px solid #e4e9f0!important;}
html body.apex-player-panel .apx-account-list>div {min-height:42px;padding:10px 13px !important;border-color:#e4e9f0!important;}
html body.apex-player-panel .apx-account-list span {color:#285daf!important;}
html body.apex-player-panel .apx-account-list strong {color:#172033!important;}
html body.apex-player-panel .apx-quick-actions a,
html body.apex-player-panel .apx-ticket-row {border-radius:8px !important;background:#f8fafc!important;border:1px solid #e4e9f0!important;}
html body.apex-player-panel .apx-quick-actions a:hover,
html body.apex-player-panel .apx-ticket-row:hover {color:#172033!important;background:#ffffff!important;border-color:#d7dee8!important;}
html body.apex-player-panel .apx-notification-row {border-color:#e4e9f0!important;background:transparent !important;}
html body.apex-player-panel .apx-text-link,
html body.apex-player-panel .apx-ticket-id {color:#285daf!important;}
html body.apex-player-panel .badge-success {color:#236848!important;background:#edf9f1!important;border:1px solid #c7ecd7!important;}
html body.apex-player-panel .apx-empty-state em {color:#285daf!important;text-shadow:none;}
html body.apex-player-panel .apx-empty-state strong {color:#172033!important;}
html body.apex-player-panel .apx-empty-state span {color:#285daf!important;}
html body.apex-player-panel .apx-player-table thead th {color:#285daf!important;background:#ffffff!important;}
html body.apex-player-panel .apx-player-table td {color:#285daf!important;border-color:#e4e9f0!important;}

/* Focus and motion */
html body.apex-player-panel a:focus-visible,
html body.apex-player-panel button:focus-visible,
html body.apex-player-panel input:focus-visible,
html body.apex-player-panel select:focus-visible,
html body.apex-player-panel textarea:focus-visible {outline:2px solid var(--apx-gold-hi) !important;outline-offset:3px !important;box-shadow:0 0 0 4px rgba(16,24,40,0.12)!important;}

@media (max-width:1199.98px) and (min-width:992px) {
    html body.apex-player-panel {--apx-sidebar-w:220px;}
    html body.apex-player-panel .apx-topbar__inner {padding-left:calc(var(--apx-sidebar-w) + 20px) !important;}
    html body.apex-player-panel .apx-topbar__nav {gap:17px !important;}
    html body.apex-player-panel .painel-main.nk-content {padding-left:18px !important;padding-right:18px !important;}
}
@media (max-width:991.98px) {
    html body.apex-player-panel {--apx-header-h:66px;}
    html body.apex-player-panel .apx-topbar__inner {padding:0 14px !important;grid-template-columns:minmax(0,1fr) auto !important;}
    html body.apex-player-panel .painel-sidebar.nk-aside {top:var(--apx-header-h) !important;width:min(290px,88vw) !important;height:calc(100vh - var(--apx-header-h)) !important;padding:96px 10px 18px !important;overflow-y:auto !important;}
    html body.apex-player-panel .apx-sidebar-brand {height:86px;}
    html body.apex-player-panel .apx-sidebar-brand img {width:168px;max-height:78px;}
    html body.apex-player-panel .apx-sidebar-community {display:none;}
    html body.apex-player-panel .painel-main.nk-content {padding:calc(var(--apx-header-h) + 14px) 14px 26px !important;}
    html body.apex-player-panel .apx-player-hero {align-items:flex-start;}
}
@media (max-width:575.98px) {
    html body.apex-player-panel {--apx-header-h:62px;}
    html body.apex-player-panel .apx-topbar__user-toggle {min-width:0;min-height:48px;padding:5px 8px !important;}
    html body.apex-player-panel .apx-topbar__user-toggle .user-avatar {width:34px !important;height:34px !important;}
    html body.apex-player-panel .apx-topbar__user-name strong {display:block;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
    html body.apex-player-panel .apx-player-hero {min-height:0;padding:20px 18px !important;}
    html body.apex-player-panel .apx-player-hero h2 {font-size:21px !important;}
    html body.apex-player-panel .apx-player-hero__actions {display:grid;grid-template-columns:1fr;width:100%;}
    html body.apex-player-panel .apx-player-hero__actions .btn {width:100%;}
    html body.apex-player-panel .apex-player-dashboard .apx-panel-card>.card-inner {padding:16px !important;}
    html body.apex-player-panel .apex-player-dashboard .apx-main-char {align-items:flex-start;gap:13px;padding:13px !important;}
    html body.apex-player-panel .apx-main-char__portrait {width:58px;height:58px;flex:0 0 58px;}
    html body.apex-player-panel .apx-main-char__portrait img {max-width:52px;max-height:52px;}
}
@media (prefers-reduced-motion:reduce) {
    html body.apex-player-panel *,html body.apex-player-panel *::before,html body.apex-player-panel *::after {scroll-behavior:auto !important;transition-duration:.01ms !important;animation-duration:.01ms !important;animation-iteration-count:1 !important;}
}

/* ========================================================================== 
   PLAYER GLASS SURFACES — LIGHT MODE (2026-08-17)
   Canonical final layer: keeps the panel artwork visible through every
   structural surface while preserving the existing blue accent palette.
   ========================================================================== */
html body.apex-player-panel {
    --apex-panel-bg: rgba(255,255,255,.08);
    --apex-panel-deep: rgba(242,246,251,.72);
    --apex-panel-surface: rgba(255,255,255,.78);
    --apex-panel-surface-2: rgba(255,255,255,.72);
    --apex-panel-surface-soft: rgba(248,250,252,.64);
    --apex-panel-hover: rgba(237,244,255,.78);
    --apex-panel-border: rgba(203,214,228,.72);
    --apex-panel-border-strong: rgba(173,190,211,.82);
    --apx-unified-top: rgba(255,255,255,.82);
    --apx-unified-side: rgba(255,255,255,.80);
    --apx-unified-card: rgba(255,255,255,.78);
    --apx-unified-card-soft: rgba(248,250,252,.64);
    --apx-unified-card-hover: rgba(237,244,255,.78);
    --apx-unified-field: rgba(255,255,255,.72);
    --apx-unified-border: rgba(203,214,228,.72);
    --apx-unified-border-hi: rgba(173,190,211,.82);
}
html body.apex-player-panel .nk-wrap,
html body.apex-player-panel .nk-content,
html body.apex-player-panel .nk-content-wrap,
html body.apex-player-panel .nk-content-body,
html body.apex-player-panel .painel-main { background:transparent !important; }
html body.apex-player-panel .nk-main .apx-topbar,
html body.apex-player-panel .nk-main .painel-header,
html body.apex-player-panel .nk-main .painel-sidebar,
html body.apex-player-panel .nk-main .nk-aside,
html body.apex-player-panel .painel-footer-wrap {
    background:rgba(255,255,255,.82)!important;
    border-color:rgba(203,214,228,.72)!important;
    backdrop-filter:blur(14px) saturate(125%)!important;
    -webkit-backdrop-filter:blur(14px) saturate(125%)!important;
}
html body.apex-player-panel .card,
html body.apex-player-panel .apx-panel-card,
html body.apex-player-panel .accordion-item,
html body.apex-player-panel .modal-content,
html body.apex-player-panel .dropdown-menu,
html body.apex-player-panel .dropdown-inner,
html body.apex-player-panel .apx-events-grid .apx-event-card,
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-player-hero,
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-season-hero,
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-stat-card,
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-panel-card {
    background:rgba(255,255,255,.78)!important;
    background-color:rgba(255,255,255,.78)!important;
    border-color:rgba(203,214,228,.72)!important;
    backdrop-filter:blur(12px) saturate(120%)!important;
    -webkit-backdrop-filter:blur(12px) saturate(120%)!important;
}
html body.apex-player-panel .painel-sidebar .nk-menu-item > .nk-menu-link,
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-main-char,
html body.apex-player-panel .painel-main .apex-player-dashboard .apx-char-card,
html body.apex-player-panel .apx-account-list,
html body.apex-player-panel .apx-account-list > div,
html body.apex-player-panel .apx-ticket-row,
html body.apex-player-panel .apx-notification-row,
html body.apex-player-panel .apx-quick-actions a,
html body.apex-player-panel .table thead th {
    background:rgba(248,250,252,.66)!important;
    background-color:rgba(248,250,252,.66)!important;
    border-color:rgba(203,214,228,.68)!important;
}
html body.apex-player-panel .painel-sidebar .nk-menu-item > .nk-menu-link:hover,
html body.apex-player-panel .painel-sidebar .nk-menu-item.active > .nk-menu-link,
html body.apex-player-panel .painel-sidebar .nk-menu-item.nk-menu-item-active > .nk-menu-link,
html body.apex-player-panel .table tbody tr:hover {
    background:rgba(237,244,255,.78)!important;
}
html body.apex-player-panel .form-control,
html body.apex-player-panel input:not([type="checkbox"]):not([type="radio"]),
html body.apex-player-panel textarea,
html body.apex-player-panel select,
html body.apex-player-panel .custom-select,
html body.apex-player-panel .select2-selection,
html body.apex-player-panel .page-link,
html body.apex-player-panel .apx-stat-icon,
html body.apex-player-panel .apx-main-char__portrait {
    background:rgba(255,255,255,.72)!important;
    background-color:rgba(255,255,255,.72)!important;
    border-color:rgba(203,214,228,.72)!important;
}
html body.apex-player-panel .modal-backdrop { background-color:rgba(12,18,28,.48)!important; }

/* Topbar links: a soft light sweep plus forward motion on hover. */
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link { overflow:hidden!important; }
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link::before {
    display:block!important; inset:-40% auto -40% -55%!important; width:32%!important;
    border-radius:0!important; opacity:0!important; filter:blur(3px)!important;
    background:linear-gradient(100deg,transparent,rgba(255,255,255,.92),transparent)!important;
    transform:skewX(-18deg) translateX(0)!important;
}
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:hover::before,
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:focus-visible::before {
    display:block!important; opacity:1!important; transform:skewX(-18deg) translateX(520%)!important;
    transition:transform .55s ease,opacity .12s ease!important;
}

/* ========================================================================== */
/* AUTHENTICATED SUBPAGES — reuse the Main Page visual language               */
/* ========================================================================== */

/* Page rhythm and legacy Bootstrap card shell. Main dashboard is excluded. */
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard)>.nk-content-wrap {
    padding-top:0 !important;
}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .nk-block {
    margin:0 !important;
}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .row.g-gs {
    margin-left:-7px !important;margin-right:-7px !important;
}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .row.g-gs>[class*=col-] {
    padding-left:7px !important;padding-right:7px !important;
}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .card,
html body.apex-player-panel .painel-main .apx-donate-page .card,
html body.apex-player-panel .painel-main .apx-donate-history,
html body.apex-player-panel .painel-main .apx-donate-confirm__panel {
    position:relative;border-radius:8px !important;
    color:var(--apx-copy) !important;
    background:#ffffff;
    border:1px solid #d7dee8!important;
    box-shadow:0 9px 25px rgba(0,0,0,.46),inset 0 0 0 1px rgba(16,24,40,0.025),inset 0 0 35px rgba(0,0,0,.2)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    overflow:visible;
}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .card::after,
html body.apex-player-panel .painel-main .apx-donate-page .card::after,
html body.apex-player-panel .painel-main .apx-donate-history::after,
html body.apex-player-panel .painel-main .apx-donate-confirm__panel::after {
    display:none;
}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .card-inner {
    position:relative;z-index:1;padding:20px 22px !important;
    background:#ffffff;
}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .card-inner.p-0 {
    padding:0 !important;background:transparent !important;
}
html body.apex-player-panel .painel-main .card-title-group {align-items:center !important;gap:14px;}
html body.apex-player-panel .painel-main .card-title {
    margin:0 !important;color:#172033!important;font-size:17px !important;font-weight:500 !important;
}
html body.apex-player-panel .painel-main .card-title::before {
    content:"";display:inline-block;width:3px;height:15px;margin-right:9px;vertical-align:-2px;
    background:#326dcc;box-shadow:none;
}
html body.apex-player-panel .painel-main .card-head {margin-bottom:18px !important;}
html body.apex-player-panel .painel-main .title,
html body.apex-player-panel .painel-main .nk-title {color:#172033!important;font-weight:500 !important;}

/* Forms and input groups */
html body.apex-player-panel .painel-main .form-group {margin-bottom:18px !important;}
html body.apex-player-panel .painel-main .form-label {
    margin-bottom:7px !important;color:#285daf!important;font-size:11px !important;font-weight:700 !important;letter-spacing:.025em;
}
html body.apex-player-panel .painel-main .form-control,
html body.apex-player-panel .painel-main input:not([type=checkbox]):not([type=radio]),
html body.apex-player-panel .painel-main textarea,
html body.apex-player-panel .painel-main select,
html body.apex-player-panel .painel-main .custom-select,
html body.apex-player-panel .painel-main .select2-selection,
html body.apex-player-panel .painel-main .input-group-text,
html body.apex-player-panel .painel-main .custom-file-label {
    min-height:42px;color:#172033!important;background:#ffffff!important;
    border:1px solid #e4e9f0!important;border-radius:8px !important;
    box-shadow:inset 0 2px 8px rgba(0,0,0,.28)!important;
}
html body.apex-player-panel .painel-main textarea.form-control {min-height:120px;}
html body.apex-player-panel .painel-main .form-control:focus,
html body.apex-player-panel .painel-main input:focus,
html body.apex-player-panel .painel-main textarea:focus,
html body.apex-player-panel .painel-main select:focus {
    color:#172033!important;background:#ffffff!important;
    border-color:#d7dee8!important;box-shadow:0 0 0 3px rgba(16,24,40,0.12),inset 0 2px 8px rgba(0,0,0,.25)!important;
}
html body.apex-player-panel .painel-main .input-group>.form-control:not(:last-child) {border-radius:8px 0 0 4px !important;}
html body.apex-player-panel .painel-main .input-group-append .input-group-text {border-radius:0 4px 4px 0 !important;color:#285daf!important;background:#ffffff!important;}
html body.apex-player-panel .painel-main .custom-control-label::before {background:#ffffff!important;border-color:#d7dee8!important;}
html body.apex-player-panel .painel-main .custom-control-input:checked~.custom-control-label::before {background:#ffffff!important;border-color:#d7dee8!important;}

/* Tabs */
html body.apex-player-panel .painel-main .nav-tabs {
    gap:5px;padding:10px 12px 0 !important;background:#ffffff!important;border:1px solid #e4e9f0!important;border-bottom-color:#d7dee8!important;
}
html body.apex-player-panel .painel-main .nav-tabs .nav-link {
    min-height:45px;display:flex;align-items:center;gap:8px;padding:10px 15px !important;
    color:#285daf!important;background:transparent !important;border:0 !important;border-bottom:2px solid transparent !important;border-radius:8px 3px 0 0 !important;
}
html body.apex-player-panel .painel-main .nav-tabs .nav-link:hover {color:#172033!important;background:#f8fafc!important;border-bottom-color:#e4e9f0!important;}
html body.apex-player-panel .painel-main .nav-tabs .nav-link.active {
    color:#172033!important;background:#ffffff;
    border-bottom-color:#d7dee8!important;box-shadow:inset 0 0 13px rgba(16,24,40,0.06)!important;
}
html body.apex-player-panel .painel-main .nav-tabs .nav-link::after {background:#326dcc!important;box-shadow:none!important;}
html body.apex-player-panel .painel-main .nav-tabs .nav-link .icon {color:#285daf!important;}

/* Tables */
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .table-responsive {border:1px solid #e4e9f0;border-radius:8px;overflow:auto;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .table {margin:0 !important;background:#f8fafc!important;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .table thead th,
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .thead-dark th,
html body.apex-player-panel .painel-main .nk-tb-head {
    color:#285daf!important;background:#ffffff!important;border-color:#e4e9f0!important;
    font-size:10px !important;text-transform:uppercase;letter-spacing:.08em;
}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .table td,
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .table th,
html body.apex-player-panel .painel-main .nk-tb-item {
    color:#285daf!important;background:#f8fafc!important;border-color:#e4e9f0!important;
}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .table-striped tbody tr:nth-of-type(odd) {background:#f8fafc!important;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .table tbody tr:hover,
html body.apex-player-panel .painel-main .nk-tb-item:not(.nk-tb-head):hover {background:#f8fafc!important;}
html body.apex-player-panel .painel-main .nk-tb-list {border-color:#e4e9f0!important;background:#f8fafc!important;}

/* Inbox-style lists used by notifications and support */
html body.apex-player-panel .painel-main .nk-ibx-item {
    position:relative;min-height:66px;padding:13px 20px !important;color:#172033!important;
    background:#f8fafc!important;border-color:#e4e9f0!important;
    transition:background .18s ease,border-color .18s ease,box-shadow .18s ease !important;
}
html body.apex-player-panel .painel-main .nk-ibx-item:hover {
    background:#ffffff;
    border-color:#d7dee8!important;box-shadow:inset 3px 0 rgba(16,24,40,.10)!important;
}
html body.apex-player-panel .painel-main .nk-ibx-item.is-unread::before {
    content:"";position:absolute;left:8px;top:50%;width:5px;height:5px;border-radius:50%;transform:translateY(-50%);background:#ffffff;box-shadow:0 0 8px rgba(16,24,40,0.12);
}
html body.apex-player-panel .painel-main .nk-ibx-context-text,
html body.apex-player-panel .painel-main .nk-ibx-context-text .heading,
html body.apex-player-panel .painel-main .nk-ibx-item .lead-text {color:#172033!important;}
html body.apex-player-panel .painel-main .nk-ibx-item .sub-text,
html body.apex-player-panel .painel-main .nk-ibx-item .text-gray {color:#285daf!important;}

/* Conversations / replies */
html body.apex-player-panel .painel-main .nk-reply-item {padding:18px 20px !important;background:#f8fafc!important;border-color:#e4e9f0!important;}
html body.apex-player-panel .painel-main .nk-reply-item+.nk-reply-item {border-top:1px solid #e4e9f0!important;}
html body.apex-player-panel .painel-main .nk-reply-header {color:#285daf!important;}
html body.apex-player-panel .painel-main .nk-reply-entry {color:#172033!important;line-height:1.65 !important;}
html body.apex-player-panel .painel-main .user-avatar {border:1px solid #d7dee8;box-shadow:0 0 10px rgba(16,24,40,0.12);}

/* Buttons, statuses, pagination, alerts */
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .btn:not(.btn-primary):not(.btn-success) {
    color:#172033!important;background:#ffffff;border:1px solid #e4e9f0!important;border-radius:8px !important;box-shadow:none!important;
}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .btn:not(.btn-primary):not(.btn-success):hover {color:#172033!important;background:#ffffff;border-color:#d7dee8!important;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .btn-success {color:#172033!important;background:#ffffff;border:1px solid #d7dee8!important;border-radius:8px !important;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .btn-primary,
html body.apex-player-panel .modal-content .btn-primary {
    color:#fff!important;background:#326dcc!important;
    border:1px solid #326dcc!important;border-radius:8px !important;
    box-shadow:inset 0 0 0 2px rgba(16,24,40,0.06),0 6px 18px rgba(16,24,40,0.12)!important;
}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .btn-primary:hover,
html body.apex-player-panel .modal-content .btn-primary:hover {
    color:#fff!important;background:#285daf!important;
    border-color:#285daf!important;box-shadow:0 8px 22px rgba(16,24,40,0.12),0 0 14px rgba(16,24,40,0.12)!important;
}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .badge {border-radius:8px !important;font-size:10px !important;font-weight:700 !important;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .badge-info,
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .badge-primary {color:#285daf!important;background:#edf4ff!important;border:1px solid #d7dee8!important;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .badge-warning {color:#8a5a13!important;background:#fff8e7!important;border:1px solid #f0d9a8!important;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .badge-danger {color:#a13b3b!important;background:#fff0f0!important;border:1px solid #f3caca!important;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .badge-secondary,
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .badge-light {color:#285daf!important;background:#ffffff!important;border:1px solid #e4e9f0!important;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .badge-outline-info,
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .badge-outline-success,
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .badge-outline-danger,
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .badge-outline-light {background:#f8fafc!important;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .pagination .page-link {color:#285daf!important;background:#ffffff!important;border-color:#e4e9f0!important;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .pagination .page-item.active .page-link,
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .pagination .page-link:hover {color:#fff!important;background:#326dcc!important;border-color:#326dcc!important;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .alert {color:#172033!important;background:#ffffff!important;border:1px solid #e4e9f0!important;border-left:3px solid #d7dee8!important;border-radius:8px !important;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .alert-success {background:#edf9f1!important;border-color:#c7ecd7!important;}
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .alert-danger {background:#fff0f0!important;border-color:#f3caca!important;}

/* Modals */
html body.apex-player-panel .modal-backdrop {background:#ffffff!important;}
html body.apex-player-panel .modal-content {border-radius:8px !important;background:#ffffff;border:1px solid #d7dee8!important;box-shadow:0 24px 70px rgba(0,0,0,.72),0 0 24px rgba(16,24,40,0.12)!important;}
html body.apex-player-panel .modal-header,
html body.apex-player-panel .modal-footer {background:#f8fafc!important;border-color:#e4e9f0!important;}
html body.apex-player-panel .modal-title {color:#172033!important;font-weight:500 !important;}
html body.apex-player-panel .modal-content .close {color:#285daf!important;text-shadow:none !important;}

/* Events: remove remaining legacy blue while keeping its dedicated layout. */
html body.apex-player-panel .apx-events-page .apx-events-grid {gap:14px !important;}
html body.apex-player-panel .apx-events-page .apx-event-card {
    position:relative;border-radius:8px !important;padding:20px !important;
    color:var(--apx-copy) !important;background:#ffffff;
    border:1px solid #d7dee8!important;box-shadow:0 9px 25px rgba(0,0,0,.42),inset 0 0 26px rgba(0,0,0,.18)!important;
}
html body.apex-player-panel .apx-events-page .apx-event-card:hover {transform:translateY(-2px);border-color:#d7dee8!important;box-shadow:0 13px 30px rgba(0,0,0,.50),0 0 17px rgba(16,24,40,0.1)!important;}
html body.apex-player-panel .apx-events-page .apx-event-type {color:#285daf!important;}
html body.apex-player-panel .apx-events-page .apx-event-card h4 {color:#172033!important;font-weight:500 !important;}
html body.apex-player-panel .apx-events-page .apx-event-card p {color:#285daf!important;}
html body.apex-player-panel .apx-events-page .apx-event-meta>div {background:#ffffff!important;border:1px solid #e4e9f0!important;border-radius:8px !important;}
html body.apex-player-panel .apx-events-page .apx-event-meta small {color:#285daf!important;}
html body.apex-player-panel .apx-events-page .apx-event-meta strong {color:#172033!important;}
html body.apex-player-panel .apx-events-page .apx-event-reward {color:#285daf!important;border-color:#e4e9f0!important;}
html body.apex-player-panel .apx-events-page .apx-event-state {border:1px solid #e4e9f0!important;}
html body.apex-player-panel .apx-events-page .apx-event-state.is-scheduled {color:#285daf!important;background:#f8fafc!important;}

/* Donation and balance pages */
html body.apex-player-panel .apx-donate-page .apx-donate-hero,
html body.apex-player-panel .apx-donate-page .apx-donate-account-card,
html body.apex-player-panel .apx-donate-page .apx-donate-info-card,
html body.apex-player-panel .apx-donate-page .apx-donate-panel,
html body.apex-player-panel .apx-donate-page .apx-donate-history {
    color:var(--apx-copy) !important;background:#ffffff;border-color:#d7dee8!important;box-shadow:0 8px 24px rgba(0,0,0,.38),inset 0 0 28px rgba(0,0,0,.14)!important;
}
html body.apex-player-panel .apx-donate-page .apx-donate-hero {border-radius:8px !important;}
html body.apex-player-panel .apx-donate-page .apx-donate-eyebrow,
html body.apex-player-panel .apx-donate-page .apx-donate-info-card>span,
html body.apex-player-panel .apx-donate-page .apx-donate-account-card>span,
html body.apex-player-panel .apx-donate-page .apx-donate-history__head>div>span {color:#285daf!important;}
html body.apex-player-panel .apx-donate-page .apx-donate-hero h3,
html body.apex-player-panel .apx-donate-page .apx-donate-panel h4,
html body.apex-player-panel .apx-donate-page .apx-donate-history h4 {color:#172033!important;font-weight:500 !important;}
html body.apex-player-panel .apx-donate-page .apx-donate-hero p,
html body.apex-player-panel .apx-donate-page .apx-donate-panel p,
html body.apex-player-panel .apx-donate-page .apx-donate-account-card small {color:#285daf!important;}
html body.apex-player-panel .apx-donate-page .apx-donate-rate {color:#172033!important;background:#ffffff!important;border-color:#d7dee8!important;}
html body.apex-player-panel .apx-donate-page .apx-donate-free-value,
html body.apex-player-panel .apx-donate-page .apx-donate-live-summary>div,
html body.apex-player-panel .apx-donate-page .apx-donate-note {background:#f8fafc!important;border-color:#e4e9f0!important;}
html body.apex-player-panel .apx-donate-page .payment-method,
html body.apex-player-panel .apx-donate-page .payment-platform {background:#ffffff!important;border:1px solid #e4e9f0!important;border-radius:8px !important;}
html body.apex-player-panel .apx-donate-page .payment-method:hover,
html body.apex-player-panel .apx-donate-page .payment-method.active,
html body.apex-player-panel .apx-donate-page .payment-platform:hover,
html body.apex-player-panel .apx-donate-page .payment-platform.active {background:#ffffff;border-color:#d7dee8!important;box-shadow:0 0 17px rgba(16,24,40,0.12),inset 0 0 14px rgba(16,24,40,0.05)!important;}
html body.apex-player-panel .apx-donate-page .apx-donate-live-summary .is-accent {background:#f8fafc!important;border-color:#d7dee8!important;}
html body.apex-player-panel .apx-donate-page .apx-donate-live-summary .is-accent strong,
html body.apex-player-panel .apx-donate-page .apx-donate-history__link {color:#285daf!important;}
html body.apex-player-panel .apx-donate-page .irs--round .irs-bar,
html body.apex-player-panel .apx-donate-page .irs--round .irs-single {background:#326dcc!important;}
html body.apex-player-panel .apx-donate-page .irs--round .irs-handle {border-color:#326dcc!important;background:#ffffff!important;}

/* Settings: constrain legacy full-width form and restore card hierarchy. */
html body.apex-player-panel .apx-settings-page .nav-tabs {margin-bottom:14px !important;}
html body.apex-player-panel .apx-settings-page .card {max-width:900px;}
html body.apex-player-panel .apx-settings-page .card .row.g-4 {max-width:760px;}
html body.apex-player-panel .apx-settings-page .card .col-lg-6 {flex:0 0 100% !important;max-width:100% !important;}
html body.apex-player-panel .apx-settings-page .nk-form {max-width:720px;}

@media (max-width:991.98px) {
    html body.apex-player-panel .painel-main .nk-ibx-item {flex-wrap:wrap !important;gap:8px !important;}
    html body.apex-player-panel .painel-main .nk-ibx-item-user {min-width:180px !important;}
    html body.apex-player-panel .apx-events-page .apx-events-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width:575.98px) {
    html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .card-inner {padding:16px !important;}
    html body.apex-player-panel .painel-main .card-title-group {align-items:flex-start !important;flex-wrap:wrap !important;row-gap:8px !important;}
    html body.apex-player-panel .painel-main .card-title {line-height:1.55 !important;flex-wrap:wrap !important;gap:6px !important;}
    html body.apex-player-panel .painel-main .card-title .btn {margin-top:6px !important;margin-right:6px !important;}
    html body.apex-player-panel .painel-main .nk-ibx-item {padding:13px 14px !important;}
    html body.apex-player-panel .painel-main .nk-ibx-item-user {display:none !important;}
    html body.apex-player-panel .painel-main .nk-ibx-item .sub-text {width:100%;white-space:normal !important;}
    html body.apex-player-panel .apx-events-page .apx-events-grid {grid-template-columns:1fr !important;}
    html body.apex-player-panel .painel-main .nav-tabs {padding:7px 7px 0 !important;}
    html body.apex-player-panel .painel-main .nav-tabs .nav-link {padding:9px 10px !important;font-size:11px !important;}
    html body.apex-player-panel .modal-dialog {margin:12px !important;}
}

/* ========================================================================== */
/* GLOBAL STRUCTURAL PALETTE 20260816                                         */
/* Color-only consolidation for every authenticated Player Panel page.       */
/* ========================================================================== */
html body.apex-player-panel {
    --panel-bg-deep:#eef2f7;
    --panel-bg-dark:#f6f8fb;
    --panel-bg-medium:#ffffff;
    --panel-bg-soft:#f8fafc;
    --sidebar-bg:#ffffff;
    --sidebar-inner-bg:#ffffff;
    --menu-bg:#ffffff;
    --menu-hover:#edf4ff;
    --menu-active:#edf4ff;
    --header-bg:#ffffff;
    --gold-primary:#326dcc;
    --gold-soft:#285daf;
    --gold-border:#d7dee8;
    --gold-border-soft:#e4e9f0;
    --text-primary:#172033;
    --text-secondary:#51607a;
    --text-muted:#8a94a6;
    --surface-main:#ffffff;
    --surface-raised:#ffffff;
    --surface-inset:#f8fafc;

    --apex-panel-bg:var(--panel-bg-deep);
    --apex-panel-deep:var(--panel-bg-dark);
    --apex-panel-surface:var(--surface-main);
    --apex-panel-surface-2:var(--surface-raised);
    --apex-panel-surface-soft:#f8fafc;
    --apex-panel-hover:var(--menu-hover);
    --apex-panel-border:var(--gold-border-soft);
    --apex-panel-border-strong:var(--gold-border);
    --apex-panel-gold:var(--gold-primary);
    --apex-panel-gold-light:var(--gold-soft);
    --apex-panel-bronze:#1f4c94;
    --apex-panel-text:var(--text-primary);
    --apex-panel-text-soft:var(--text-secondary);
    --apex-panel-text-muted:var(--text-muted);
    --apx-ink:var(--panel-bg-deep);
    --apx-ink-2:var(--panel-bg-dark);
    --apx-wood:var(--panel-bg-medium);
    --apx-surface:var(--surface-main);
    --apx-surface-soft:var(--surface-raised);
    --apx-surface-hover:var(--menu-hover);
    --apx-gold:var(--gold-primary);
    --apx-gold-hi:var(--gold-soft);
    --apx-gold-pale:#edf4ff;
    --apx-line:var(--gold-border);
    --apx-line-soft:var(--gold-border-soft);
    --apx-copy:var(--text-primary);
    --apx-copy-soft:var(--text-secondary);
    --apx-copy-muted:var(--text-muted);
}

/* Header and dropdowns */
html body.apex-player-panel .apx-topbar,
html body.apex-player-panel .painel-header {
    background:#ffffff;
    border-bottom-color:var(--gold-border) !important;
    box-shadow:0 7px 22px rgba(16,24,40,0.12),inset 0 -1px rgba(16,24,40,0.04)!important;
}
html body.apex-player-panel .apx-topbar__user-toggle {
    color:var(--text-primary) !important;
    background:#ffffff;
    border-color:var(--gold-border-soft) !important;
}
html body.apex-player-panel .apx-topbar__user-toggle:hover,
html body.apex-player-panel .apx-topbar__user.show .apx-topbar__user-toggle {
    background:#ffffff;
    border-color:#d7dee8!important;
}
html body.apex-player-panel .dropdown-menu,
html body.apex-player-panel .dropdown-inner {
    color:var(--text-secondary) !important;background:#ffffff!important;
    border-color:var(--gold-border) !important;
}
html body.apex-player-panel .dropdown-menu a:hover {color:var(--gold-soft) !important;background:#ffffff!important;}

/* Sidebar structural layers and menu states */
html body.apex-player-panel .painel-sidebar,
html body.apex-player-panel .painel-sidebar.nk-aside {
    background:#ffffff;
    border-right-color:var(--gold-border) !important;
    box-shadow:8px 0 26px rgba(16,24,40,0.12),inset -1px 0 rgba(16,24,40,0.035)!important;
}
html body.apex-player-panel .painel-sidebar .nk-sidebar-menu {
    background:#ffffff;
    box-shadow:inset 0 0 0 1px rgba(16,24,40,0.09),inset 0 14px 28px rgba(16,24,40,0.12)!important;
}
html body.apex-player-panel .painel-sidebar .nk-menu,
html body.apex-player-panel .painel-sidebar .nk-menu-heading {background:transparent !important;}
html body.apex-player-panel .painel-sidebar .nk-menu-item>.nk-menu-link {
    color:var(--text-primary) !important;background:var(--menu-bg) !important;
    border-color:#e4e9f0!important;
    box-shadow:inset 0 1px rgba(16,24,40,0.018)!important;
}
html body.apex-player-panel .painel-sidebar .nk-menu-item>.nk-menu-link:hover {
    color:#172033!important;background:var(--menu-hover) !important;
    border-color:var(--gold-border) !important;
    box-shadow:0 0 14px rgba(16,24,40,0.08),inset 0 0 12px rgba(16,24,40,0.03)!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.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:#172033!important;
    background:#ffffff;
    border-color:#d7dee8!important;
    box-shadow:inset 4px 0 0 var(--gold-soft),inset 0 0 18px rgba(16,24,40,0.08),0 0 15px rgba(16,24,40,0.12)!important;
}
html body.apex-player-panel .painel-sidebar .nk-menu-icon,
html body.apex-player-panel .painel-sidebar .nk-menu-icon .icon {color:var(--gold-soft) !important;}
html body.apex-player-panel .painel-sidebar .apx-balance-menu-value {color:#172033!important;background:#ffffff!important;border-color:var(--gold-border) !important;}
html body.apex-player-panel .apx-sidebar-community {background:#ffffff;border-top-color:var(--gold-border-soft) !important;}

/* Main Page and dedicated modern surfaces */
html body.apex-player-panel .apex-player-dashboard .apx-player-hero {
    background:linear-gradient(90deg,rgba(21,14,9,.98),rgba(33,21,15,.91) 48%,rgba(21,14,9,.83)),url("../img/apex-auth-bg-premium.png") center 42%/cover no-repeat !important;
    border-color:var(--gold-border) !important;
}
html body.apex-player-panel .apex-player-dashboard .apx-stat-card,
html body.apex-player-panel .apex-player-dashboard .apx-panel-card {
    color:var(--text-primary) !important;
    background:#ffffff;
    border-color:var(--gold-border) !important;
}
html body.apex-player-panel .apex-player-dashboard .apx-stat-card:hover {
    background:#ffffff;
    border-color:#d7dee8!important;
}
html body.apex-player-panel .apex-player-dashboard .apx-main-char,
html body.apex-player-panel .apex-player-dashboard .apx-char-card,
html body.apex-player-panel .apex-player-dashboard .apx-account-list,
html body.apex-player-panel .apex-player-dashboard .apx-quick-actions a,
html body.apex-player-panel .apex-player-dashboard .apx-ticket-row {
    color:var(--text-primary) !important;background:var(--surface-inset) !important;
    border-color:var(--gold-border-soft) !important;
}
html body.apex-player-panel .apex-player-dashboard .apx-quick-actions a:hover,
html body.apex-player-panel .apex-player-dashboard .apx-ticket-row:hover,
html body.apex-player-panel .apex-player-dashboard .apx-char-card:hover {
    background:var(--menu-hover) !important;border-color:var(--gold-border) !important;
}

/* All legacy and secondary page surfaces */
html body.apex-player-panel .painel-main .nk-content-body:not(.apex-player-dashboard) .card,
html body.apex-player-panel .painel-main .apx-donate-page .card,
html body.apex-player-panel .painel-main .apx-donate-history,
html body.apex-player-panel .painel-main .apx-donate-confirm__panel,
html body.apex-player-panel .apx-events-page .apx-event-card,
html body.apex-player-panel .apx-donate-page .apx-donate-hero,
html body.apex-player-panel .apx-donate-page .apx-donate-account-card,
html body.apex-player-panel .apx-donate-page .apx-donate-info-card,
html body.apex-player-panel .apx-donate-page .apx-donate-panel,
html body.apex-player-panel .apx-donate-page .apx-donate-history {
    color:var(--text-primary) !important;
    background:#ffffff;
    border-color:var(--gold-border) !important;
    box-shadow:0 9px 25px rgba(16,24,40,0.12),inset 0 0 0 1px rgba(16,24,40,0.02),inset 0 0 30px rgba(16,24,40,0.12)!important;
}
html body.apex-player-panel .painel-main .nk-ibx-item,
html body.apex-player-panel .painel-main .nk-reply-item,
html body.apex-player-panel .painel-main .nk-tb-item,
html body.apex-player-panel .painel-main .table td,
html body.apex-player-panel .apx-events-page .apx-event-meta>div,
html body.apex-player-panel .apx-donate-page .payment-method,
html body.apex-player-panel .apx-donate-page .payment-platform,
html body.apex-player-panel .apx-donate-page .apx-donate-free-value,
html body.apex-player-panel .apx-donate-page .apx-donate-live-summary>div,
html body.apex-player-panel .apx-donate-page .apx-donate-note {
    color:var(--text-secondary) !important;background:var(--surface-inset) !important;
    border-color:var(--gold-border-soft) !important;
}
html body.apex-player-panel .painel-main .nk-ibx-item:hover,
html body.apex-player-panel .painel-main .nk-tb-item:not(.nk-tb-head):hover,
html body.apex-player-panel .painel-main .table tbody tr:hover,
html body.apex-player-panel .apx-donate-page .payment-method:hover,
html body.apex-player-panel .apx-donate-page .payment-method.active,
html body.apex-player-panel .apx-donate-page .payment-platform:hover,
html body.apex-player-panel .apx-donate-page .payment-platform.active {
    background:var(--menu-hover) !important;border-color:var(--gold-border) !important;
}

/* Shared controls */
html body.apex-player-panel .painel-main .form-control,
html body.apex-player-panel .painel-main input:not([type=checkbox]):not([type=radio]),
html body.apex-player-panel .painel-main textarea,
html body.apex-player-panel .painel-main select,
html body.apex-player-panel .painel-main .custom-select,
html body.apex-player-panel .painel-main .select2-selection,
html body.apex-player-panel .painel-main .input-group-text,
html body.apex-player-panel .painel-main .custom-file-label {
    color:var(--text-primary) !important;background:#ffffff!important;
    border-color:var(--gold-border-soft) !important;
}
html body.apex-player-panel .painel-main .form-control:focus,
html body.apex-player-panel .painel-main input:focus,
html body.apex-player-panel .painel-main textarea:focus,
html body.apex-player-panel .painel-main select:focus {
    color:#172033!important;background:var(--panel-bg-dark) !important;
    border-color:#d7dee8!important;box-shadow:0 0 0 3px rgba(16,24,40,0.11)!important;
}
html body.apex-player-panel .painel-main .nav-tabs {background:#ffffff!important;border-color:var(--gold-border-soft) !important;}
html body.apex-player-panel .painel-main .nav-tabs .nav-link {color:var(--text-secondary) !important;}
html body.apex-player-panel .painel-main .nav-tabs .nav-link:hover {color:var(--gold-soft) !important;background:#f8fafc!important;}
html body.apex-player-panel .painel-main .nav-tabs .nav-link.active {color:#172033!important;background:#ffffff;border-bottom-color:var(--gold-primary) !important;}
html body.apex-player-panel .painel-main .table,
html body.apex-player-panel .painel-main .nk-tb-list {color:var(--text-secondary) !important;background:#ffffff!important;border-color:var(--gold-border-soft) !important;}
html body.apex-player-panel .painel-main .table thead th,
html body.apex-player-panel .painel-main .thead-dark th,
html body.apex-player-panel .painel-main .nk-tb-head {color:#285daf!important;background:var(--panel-bg-dark) !important;border-color:var(--gold-border) !important;}

/* Buttons, overlays, footer and scrollbar */
html body.apex-player-panel .painel-main .btn:not(.btn-primary):not(.btn-success) {color:var(--text-secondary) !important;background:#ffffff;border-color:var(--gold-border-soft) !important;}
html body.apex-player-panel .painel-main .btn:not(.btn-primary):not(.btn-success):hover {color:#172033!important;background:#ffffff;border-color:var(--gold-border) !important;}
html body.apex-player-panel .modal-content {color:var(--text-primary) !important;background:#ffffff;border-color:var(--gold-border) !important;}
html body.apex-player-panel .modal-header,
html body.apex-player-panel .modal-footer {background:#f8fafc!important;border-color:var(--gold-border-soft) !important;}
html body.apex-player-panel .painel-footer-wrap {background:#ffffff!important;border-top-color:var(--gold-border-soft) !important;}
html body.apex-player-panel .painel-footer {color:var(--text-muted) !important;}
html body.apex-player-panel {scrollbar-color:#c3cddc #eef1f5;}
html body.apex-player-panel ::-webkit-scrollbar-track {background:#eef1f5 !important;}
html body.apex-player-panel ::-webkit-scrollbar-thumb {background:#c3cddc!important;border-color:#eef1f5 !important;}

/* Last legacy-blue neutralizers found by the rendered-style audit. */
html body.apex-player-panel .apx-sidebar-community a .icon {color:var(--gold-soft) !important;}
html body.apex-player-panel .apex-player-dashboard .apx-empty-state,
html body.apex-player-panel .apex-player-dashboard .apx-empty-state span {color:var(--text-muted) !important;border-color:var(--gold-border-soft) !important;}
html body.apex-player-panel .apx-donate-page .apx-donate-panel-head {border-bottom-color:var(--gold-border-soft) !important;}
html body.apex-player-panel .apx-donate-page .input-group-append,
html body.apex-player-panel .apx-donate-page .count-bonus,
html body.apex-player-panel .apx-donate-page .input-group-text {color:var(--gold-soft) !important;background:var(--panel-bg-medium) !important;background-color:var(--panel-bg-medium) !important;border-color:var(--gold-border-soft) !important;}
html body.apex-player-panel .apx-donate-page .apx-donate-free-value span,
html body.apex-player-panel .apx-donate-page .apx-donate-live-summary span,
html body.apex-player-panel .apx-donate-page .apx-donate-note span {color:var(--text-secondary) !important;border-color:var(--gold-border-soft) !important;}
html body.apex-player-panel .apx-donate-page .irs--round .irs-line {background:var(--panel-bg-dark) !important;border-color:var(--gold-border-soft) !important;}
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 {color:#51607a!important;background:#326dcc!important;}
html body.apex-player-panel .apx-donate-page .irs--round .irs-from::before,
html body.apex-player-panel .apx-donate-page .irs--round .irs-to::before,
html body.apex-player-panel .apx-donate-page .irs--round .irs-single::before {border-top-color:var(--gold-primary) !important;}
html body.apex-player-panel .apx-donate-page .irs-grid-text,
html body.apex-player-panel .apx-donate-page .irs-min,
html body.apex-player-panel .apx-donate-page .irs-max {color:var(--text-muted) !important;}
html body.apex-player-panel .apx-donate-page .irs-grid-pol {background:var(--gold-border) !important;border-color:var(--gold-border) !important;color:var(--gold-border) !important;}
html body.apex-player-panel .apex-player-dashboard .apx-main-char__info>div,
html body.apex-player-panel .apex-player-dashboard .apx-main-char__info>div span {color:var(--text-secondary) !important;}
html body.apex-player-panel .apx-donate-page .payment-method-group span {color:var(--text-primary) !important;border-color:var(--gold-border-soft) !important;}
html body.apex-player-panel .apx-donate-page #bonus_sum {color:var(--gold-soft) !important;background:var(--panel-bg-medium) !important;background-color:var(--panel-bg-medium) !important;border-color:var(--gold-border-soft) !important;}
html body.apex-player-panel .apx-donate-page #sum_COIN {color:var(--gold-soft) !important;border-color:var(--gold-border-soft) !important;}
html body.apex-player-panel .apx-donate-page .apx-donate-note .icon {color:var(--gold-soft) !important;}
html body.apex-player-panel .apx-donate-page .apx-donate-history__head {border-bottom-color:var(--gold-border-soft) !important;}
html body.apex-player-panel .apx-donate-page .apx-donate-history__empty {color:var(--text-secondary) !important;border-color:var(--gold-border-soft) !important;}
html body.apex-player-panel .apx-donate-page .irs--round .irs-line {color:var(--text-muted) !important;}

/* ========================================================================== */
/* PLAYER PANEL — transparent shared shells and refined navigation (2026-08) */
/* ========================================================================== */

/* Remove placas externas claras: o cenário permanece visível entre os cards. */
html body.apex-player-panel .painel-main,
html body.apex-player-panel .painel-main > .painel-container,
html body.apex-player-panel .painel-main .nk-content-inner,
html body.apex-player-panel .painel-main .nk-content-body,
html body.apex-player-panel .painel-main .nk-content-wrap,
html body.apex-player-panel .painel-main .nk-block,
html body.apex-player-panel .painel-main .row.g-gs,
html body.apex-player-panel .painel-main .row.g-gs > [class*="col-"] {
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;
    box-shadow:none!important;
}

/* O conteúdo útil continua em um café profundo, agora realmente translúcido. */
html body.apex-player-panel .painel-main .nk-content-body .card,
html body.apex-player-panel .painel-main .nk-content-body .card.card-bordered {
    background:#ffffff;
    border:1px solid #d7dee8!important;
    box-shadow:0 10px 28px rgba(0,0,0,.38),inset 0 0 30px rgba(0,0,0,.16)!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
}
html body.apex-player-panel .painel-main .nk-content-body .card-inner {
    background:#ffffff;
    border-color:#e4e9f0!important;
}
html body.apex-player-panel .painel-main .nk-content-body .card-inner.p-0 {
    background:transparent !important;
}

/* Abas sem barra marrom externa; apenas os controles recebem acabamento. */
html body.apex-player-panel .painel-main .nav-tabs {
    gap:8px !important;
    padding:8px 0 6px !important;
    background:transparent !important;
    border:0 !important;
    border-bottom:1px solid #e4e9f0!important;
    box-shadow:none!important;
}
html body.apex-player-panel .painel-main .nav-tabs .nav-link {
    min-height:42px !important;
    padding:9px 16px !important;
    color:#285daf!important;
    background:#ffffff;
    border:1px solid #e4e9f0!important;
    border-radius:8px !important;
    box-shadow:inset 0 1px 0 rgba(16,24,40,0.025)!important;
}
html body.apex-player-panel .painel-main .nav-tabs .nav-link:hover {
    color:#172033!important;
    background:#ffffff;
    border-color:#d7dee8!important;
    box-shadow:0 0 12px rgba(16,24,40,0.12),inset 0 1px 0 rgba(16,24,40,0.08)!important;
}
html body.apex-player-panel .painel-main .nav-tabs .nav-link.active {
    color:#172033!important;
    background:#ffffff;
    border-color:#d7dee8!important;
    box-shadow:0 0 14px rgba(16,24,40,0.12),inset 0 0 16px rgba(16,24,40,0.1)!important;
}
html body.apex-player-panel .painel-main .nav-tabs .nav-link.active::after {
    left:14% !important;right:14% !important;bottom:-1px !important;
    height:2px !important;background:#326dcc!important;
    box-shadow:none!important;
}

/* Rodapé sem placa própria em todas as páginas autenticadas. */
html body.apex-player-panel .painel-footer-wrap,
html body.apex-player-panel .painel-footer-wrap .painel-container,
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;
    border:0 !important;
    box-shadow:none!important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
}

/* CTA da comunidade usa a mesma placa dourada da tela de login. */
html body.apex-player-panel .apx-sidebar-community > a {
    position:relative !important;
    width:100% !important;
    min-height:48px !important;
    padding:0 18% 2px !important;
    color:#51607a!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:10px !important;
    font-weight:700 !important;
    letter-spacing:.045em !important;
    text-shadow:0 1px 0 rgba(255,231,165,.65),0 2px 3px rgba(59,27,5,.25) !important;
    filter:drop-shadow(0 5px 8px rgba(0,0,0,.35)) !important;
    transition:transform .18s ease,filter .18s ease !important;
}
html body.apex-player-panel .apx-sidebar-community > a .icon {
    color:#51607a!important;
    text-shadow:none !important;
}
html body.apex-player-panel .apx-sidebar-community > a:hover,
html body.apex-player-panel .apx-sidebar-community > a:focus-visible {
    color:#51607a!important;
    border:0 !important;
    transform:translateY(-1px) scale(1.015) !important;
    filter:brightness(1.1) drop-shadow(0 0 6px rgba(255,220,116,.72)) drop-shadow(0 7px 10px rgba(0,0,0,.32)) !important;
}

/* ========================================================================== */
/* SIDEBAR / USER MENU — final polish shared by the whole player panel        */
/* ========================================================================== */
html body.apex-player-panel .painel-sidebar,
html body.apex-player-panel .painel-sidebar.nk-aside {
    background:#ffffff !important;
    border-right:1px solid #d7dee8!important;
    box-shadow:10px 0 30px rgba(0,0,0,.52),inset -1px 0 rgba(16,24,40,0.045)!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
}
html body.apex-player-panel .painel-sidebar .nk-sidebar-menu,
html body.apex-player-panel .painel-sidebar .simplebar-content-wrapper,
html body.apex-player-panel .painel-sidebar .simplebar-content {
    background:#ffffff;
    box-shadow:inset 0 0 0 1px rgba(16,24,40,0.075),inset 0 16px 28px rgba(16,24,40,0.12)!important;
}
html body.apex-player-panel .painel-sidebar .nk-menu-heading {
    margin:0 4px 12px !important;
    background:#ffffff;
    border:1px solid #e4e9f0!important;
    box-shadow:inset 0 1px rgba(16,24,40,0.035)!important;
}
html body.apex-player-panel .painel-sidebar .nk-menu-item > .nk-menu-link {
    min-height:49px !important;
    margin:7px 1px !important;
    padding:10px 13px !important;
    color:#172033!important;
    background:#ffffff;
    border:1px solid #e4e9f0!important;
    border-radius:8px !important;
    box-shadow:inset 0 1px rgba(16,24,40,0.035),0 4px 10px rgba(0,0,0,.12)!important;
}
html body.apex-player-panel .painel-sidebar .nk-menu-item > .nk-menu-link:hover,
html body.apex-player-panel .painel-sidebar .nk-menu-item > .nk-menu-link:focus-visible {
    color:#172033!important;
    background:#ffffff;
    border-color:#d7dee8!important;
    box-shadow:0 0 15px rgba(16,24,40,0.12),inset 0 0 16px rgba(16,24,40,0.06)!important;
    transform:translateX(2px) !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.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:#172033!important;
    background:#ffffff;
    border-color:#d7dee8!important;
    box-shadow:inset 4px 0 rgba(16,24,40,.10),inset 0 0 22px rgba(16,24,40,0.12),0 0 17px rgba(16,24,40,0.12)!important;
}
html body.apex-player-panel .painel-sidebar .painel-aside-nav .nk-menu-item.active > .nk-menu-link,
html body.apex-player-panel .painel-sidebar .painel-aside-nav .nk-menu-item.nk-menu-item-active > .nk-menu-link,
html body.apex-player-panel .painel-sidebar .painel-aside-nav .nk-menu-item.current-page > .nk-menu-link,
html body.apex-player-panel .painel-sidebar .painel-aside-nav .nk-menu-item.current-menu > .nk-menu-link {
    color:#172033!important;
    background:#ffffff;
    border-color:#d7dee8!important;
    box-shadow:inset 4px 0 rgba(16,24,40,.10),inset 0 0 22px rgba(16,24,40,0.12),0 0 17px rgba(16,24,40,0.12)!important;
}

/* Halo quente contido atrás da marca do painel. */
html body.apex-player-panel .apx-sidebar-brand {
    isolation:isolate !important;
}
html body.apex-player-panel .apx-sidebar-brand::before {
    display:none;
}
html body.apex-player-panel .apx-sidebar-brand img {
    position:relative !important;
    z-index:1 !important;
}
html body.apex-player-panel .apx-sidebar-brand:hover::before {
    display:none;
}

/* Engrenagem do menu de usuário no mesmo padrão do restante do painel. */
html body.apex-player-panel .apx-topbar__user .dropdown-menu .user-action > a.btn.btn-icon {
    width:38px !important;
    height:38px !important;
    min-height:38px !important;
    padding:0 !important;
    color:#285daf!important;
    background:#ffffff;
    border:1px solid #d7dee8!important;
    border-radius:8px !important;
    box-shadow:inset 0 1px rgba(16,24,40,0.08),inset 0 0 12px rgba(16,24,40,0.06),0 5px 10px rgba(0,0,0,.24)!important;
    transition:transform .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease !important;
}
html body.apex-player-panel .apx-topbar__user .dropdown-menu .user-action > a.btn.btn-icon:hover,
html body.apex-player-panel .apx-topbar__user .dropdown-menu .user-action > a.btn.btn-icon:focus-visible {
    color:#172033!important;
    background:#ffffff;
    border-color:#d7dee8!important;
    box-shadow:0 0 14px rgba(16,24,40,0.12),inset 0 0 14px rgba(16,24,40,0.09)!important;
    transform:translateY(-1px) !important;
}
html body.apex-player-panel .apx-topbar__user .dropdown-menu .user-action > a.btn.btn-icon .icon {
    color:inherit !important;
    font-size:19px !important;
}

/* Topbar: sem placa de seleção; destaque por flash dourado atrás do conteúdo. */
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link {
    position:relative !important;
    isolation:isolate !important;
    overflow:visible !important;
    padding:10px 8px !important;
    color:#172033!important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none!important;
    outline:0 !important;
    text-shadow:none !important;
    transform:translateZ(0) scale(1) !important;
    transform-origin:center !important;
    transition:color .2s ease,text-shadow .2s ease,transform .2s cubic-bezier(.2,.75,.25,1),filter .2s ease !important;
}
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link::before {
    content:"" !important;
    position:absolute !important;
    inset:10% -12% !important;
    z-index:-1 !important;
    pointer-events:none !important;
    border-radius:50% !important;
    background:#ffffff;
    filter:blur(9px) !important;
    opacity:0 !important;
    transform:scale(.7) !important;
    transition:opacity .22s ease,transform .25s ease,filter .22s ease !important;
}
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:hover,
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:focus-visible {
    color:#172033!important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none!important;
    outline:0 !important;
    text-shadow:none !important;
    transform:translateY(-2px) scale(1.055) !important;
    filter:drop-shadow(0 5px 7px rgba(0,0,0,.28)) !important;
}
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:active {
    color:#172033!important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none!important;
    transform:translateY(0) scale(.97) !important;
    filter:brightness(1.08) !important;
}
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:hover::before,
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:focus-visible::before,
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:active::before {
    display:none;
}
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link .icon {
    color:#285daf!important;
    transition:color .2s ease,filter .2s ease !important;
}
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:hover .icon,
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:focus-visible .icon {
    color:#172033!important;
    }
@media (prefers-reduced-motion:reduce) {
    html body.apex-player-panel .apx-topbar__nav .apx-topbar__link::before {
        animation:none !important;
    }
    html body.apex-player-panel .apx-topbar__nav .apx-topbar__link {
        transition:none !important;
    }
}

/* Absolute final anchors for late legacy selectors. */
html body.apex-player-panel .nk-main > .painel-sidebar,
html body.apex-player-panel .nk-main .painel-sidebar,
html body.apex-player-panel .nk-main .nk-aside {
    background:rgba(255,255,255,.82)!important;
    background-color:rgba(255,255,255,.82)!important;
    border-color:rgba(203,214,228,.72)!important;
    backdrop-filter:blur(14px) saturate(125%)!important;
    -webkit-backdrop-filter:blur(14px) saturate(125%)!important;
}
html body.apex-player-panel .painel-footer-wrap {
    background:rgba(255,255,255,.76)!important;
    background-color:rgba(255,255,255,.76)!important;
    border-color:rgba(203,214,228,.68)!important;
    backdrop-filter:blur(12px) saturate(120%)!important;
    -webkit-backdrop-filter:blur(12px) saturate(120%)!important;
}
html body.apex-player-panel .painel-main .apx-panel-card {
    background:rgba(255,255,255,.78)!important;
    background-color:rgba(255,255,255,.78)!important;
    border-color:rgba(203,214,228,.72)!important;
    backdrop-filter:blur(12px) saturate(120%)!important;
    -webkit-backdrop-filter:blur(12px) saturate(120%)!important;
}

/* ==========================================================================
   Transparência real dos cards — passe final (claro)
   Vários componentes abaixo tinham fundo sólido #ffffff reintroduzido por
   regras posteriores no arquivo (cascade "final override" empilhada nas
   últimas rodadas de edição). Esta seção, sendo a última do arquivo com
   seletores de igual/maior especificidade + !important, garante que TODO
   card/painel real fique translúcido nos dois temas, sem tocar em botões,
   campos de formulário, badges, células de tabela ou ícones (esses
   continuam sólidos de propósito, por legibilidade). Mesma linguagem visual
   já usada acima: rgba(255,255,255,.78) + blur(12px) saturate(120%).
   ========================================================================== */
html body.apex-player-panel .card,
html body.apex-player-panel .card.card-bordered,
html body.apex-player-panel .painel-main .nk-content-body .card,
html body.apex-player-panel .painel-main .nk-content-body .card.card-bordered,
html body.apex-player-panel .accordion-item,
html body.apex-player-panel .apx-player-hero,
html body.apex-player-panel .apx-season-hero,
html body.apex-player-panel .apx-stat-card,
html body.apex-player-panel .apex-player-dashboard .apx-stat-card,
html body.apex-player-panel .apx-main-char,
html body.apex-player-panel .apex-player-dashboard .apx-main-char,
html body.apex-player-panel .apx-char-card,
html body.apex-player-panel .apx-events-grid .apx-event-card,
html body.apex-player-panel .apx-events-page .apx-event-meta>div,
html body.apex-player-panel .apx-donate-confirm__panel,
html body.apex-player-panel .apx-donate-confirm__total,
html body.apex-player-panel .apx-donate-page .apx-donate-rate,
html body.apex-player-panel .apx-donate-page .apx-donate-panel,
html body.apex-player-panel .apx-donate-page .apx-donate-history,
html body.apex-player-panel .apx-donate-page .payment-platform,
html body.apex-player-panel .apx-sidebar-community {
    background:rgba(255,255,255,.78)!important;
    background-color:rgba(255,255,255,.78)!important;
    border-color:rgba(203,214,228,.72)!important;
    backdrop-filter:blur(12px) saturate(120%)!important;
    -webkit-backdrop-filter:blur(12px) saturate(120%)!important;
}
html body.apex-player-panel .apex-player-dashboard .apx-stat-card:hover {
    background:rgba(255,255,255,.86)!important;
    background-color:rgba(255,255,255,.86)!important;
}
html body.apex-player-panel .apx-donate-page .payment-platform.active {
    background:rgba(255,255,255,.9)!important;
    background-color:rgba(255,255,255,.9)!important;
    border-color:rgba(203,214,228,.85)!important;
}
html body.apex-player-panel .card-inner:not(.p-0),
html body.apex-player-panel .painel-main .nk-content-body .card-inner:not(.p-0),
html body.apex-player-panel .apx-panel-card>.card-inner {
    background:transparent!important;
    background-color:transparent!important;
}
html body.apex-player-panel .nav-tabs,
html body.apex-player-panel .painel-main .nav-tabs {
    background:rgba(255,255,255,.6)!important;
    background-color:rgba(255,255,255,.6)!important;
}
html body.apex-player-panel .nk-tb-list,
html body.apex-player-panel .painel-main .table,
html body.apex-player-panel .painel-main .nk-tb-list {
    background:rgba(255,255,255,.7)!important;
    background-color:rgba(255,255,255,.7)!important;
}
html body.apex-player-panel .modal-content {
    background:rgba(255,255,255,.9)!important;
    background-color:rgba(255,255,255,.9)!important;
    border-color:rgba(203,214,228,.75)!important;
    backdrop-filter:blur(18px) saturate(120%)!important;
    -webkit-backdrop-filter:blur(18px) saturate(120%)!important;
}
html body.apex-player-panel .dropdown-menu,
html body.apex-player-panel .dropdown-inner,
html body.apex-player-panel .apx-topbar__user-toggle {
    background:rgba(255,255,255,.92)!important;
    background-color:rgba(255,255,255,.92)!important;
    backdrop-filter:blur(14px) saturate(115%)!important;
    -webkit-backdrop-filter:blur(14px) saturate(115%)!important;
}
/* O fundo do modal (scrim) precisa ficar translúcido/escuro para escurecer o
   conteúdo por trás — antes estava sólido branco (#ffffff), o que "estourava"
   a tela inteira em branco ao abrir qualquer modal. */
html body.apex-player-panel .modal-backdrop {
    background:rgba(13,17,23,.55)!important;
    background-color:rgba(13,17,23,.55)!important;
}
/* Textos da página de doação (Donate/default.php e default2.php) que antes
   vinham com cor fixa clara (#eaf7fd/#a7bfcb/#60a5fa) direto no <style>
   inline da página — ilegíveis sobre o card claro deste tema. Centralizados
   aqui; ver contraparte em apex-panel-theme-dark.css. */
html body.apex-player-panel .accordion-item__header-caption-title,
html body.apex-player-panel .grid-list-item__title {
    color:rgba(23,32,51,.82)!important;
}
html body.apex-player-panel .accordion-item__header-caption-subtitle {
    color:rgba(23,32,51,.6)!important;
}
html body.apex-player-panel #btn-help {
    color:#285daf!important;
}
/* Hover das tabelas de clã (clan.php / clanlider.php / vicelider.php) —
   antes triplicado como <style> inline idêntico em cada página, agora
   centralizado aqui (ver contraparte em apex-panel-theme-dark.css). */
html body.apex-player-panel .table-select tr:hover {
    background-color:rgba(203,214,228,.45)!important;
}

/* Ajustes de contraste solicitados — camada final do tema claro. */
html body.apex-player-panel .apx-sidebar-brand { border-bottom:0!important;box-shadow:none!important; }
html body.apex-player-panel .apx-sidebar-brand::after { content:none!important;display:none!important;background:none!important;box-shadow:none!important; }
html body.apex-player-panel .apx-player-hero {
    background:rgba(244,248,253,.82)!important;
    background-image:none!important;
}
html body.apex-player-panel .apx-player-kicker { color:#174f9d!important; font-weight:800!important; }
html body.apex-player-panel .apx-player-hero h2 { color:#111827!important; font-weight:650!important; }
html body.apex-player-panel .apx-player-hero p { color:#334155!important; font-weight:500!important; }
html body.apex-player-panel .apx-player-hero__meta { color:#1f5fae!important; font-weight:600!important; }
html body.apex-player-panel .apx-player-hero__meta .is-ok { color:#147a43!important; font-weight:800!important; }
html body.apex-player-panel .apx-player-hero__meta .is-ok .icon { color:#16a05d!important; font-size:14px!important; }
html body.apex-player-panel .apx-topbar__user-name small { color:#174f9d!important; font-weight:800!important; }
html body.apex-player-panel .apx-topbar__user-name strong { color:#111827!important; font-weight:700!important; }
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link { color:#182235!important;font-weight:750!important;opacity:1!important;text-shadow:none!important; }
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link .icon { color:#1764c0!important;opacity:1!important; }
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:hover,
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:focus-visible { color:#07111f!important; }
/* Links sociais: halo azul individual no hover, sem varredura branca. */
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link { overflow:visible!important;isolation:isolate!important; }
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link::before {
    content:""!important;display:block!important;position:absolute!important;
    inset:4px -7px!important;width:auto!important;z-index:-1!important;
    border-radius:10px!important;pointer-events:none!important;
    background:radial-gradient(ellipse at center,rgba(42,142,255,.42) 0%,rgba(25,108,225,.22) 48%,transparent 76%)!important;
    box-shadow:0 0 0 1px rgba(42,133,242,0),0 0 18px rgba(23,111,226,0)!important;
    filter:blur(7px)!important;opacity:0!important;
    transform:scale(.82)!important;animation:none!important;
    transition:opacity .2s ease,transform .2s ease,box-shadow .2s ease!important;
}
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:hover::before,
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:focus-visible::before {
    display:block!important;opacity:1!important;transform:scale(1)!important;animation:none!important;
    box-shadow:0 0 0 1px rgba(42,133,242,.28),0 0 20px rgba(23,111,226,.38)!important;
}
html body.apex-player-panel .apx-topbar__nav .apx-topbar__link:active::before {
    display:block!important;opacity:.7!important;transform:scale(.93)!important;animation:none!important;
}
html body.apex-player-panel .apx-sidebar-community { background:rgba(244,248,253,.86)!important; background-image:none!important; }
html body.apex-player-panel .apx-sidebar-community strong,
html body.apex-player-panel .apx-sidebar-community strong span { color:#172033!important; font-weight:800!important; }
html body.apex-player-panel .apx-sidebar-community p { color:#334155!important; font-weight:550!important; }
html body.apex-player-panel .painel-footer-wrap { color:#334155!important; }
html body.apex-player-panel .painel-footer { color:#334155!important; font-weight:600!important; }
html body.apex-player-panel .painel-footer-wrap { width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border-radius:0!important; }
html body.apex-player-panel .painel-footer-wrap .painel-container { width:100%!important;max-width:none!important;margin:0!important;display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:nowrap;padding:8px 18px!important;min-height:62px; }
.painel-footer-wrap .painel-footer { margin:0!important;font-size:11px!important;line-height:1.3!important;white-space:nowrap; }
.apx-panel-credit { display:inline-flex;align-items:center;gap:12px;color:#334155!important;text-decoration:none; }
.apx-panel-credit img { width:auto;height:28px;max-width:78px;object-fit:contain; }
.apx-panel-credit__divider { width:1px;height:30px;background:rgba(51,65,85,.35); }
.apx-panel-credit>span:last-child { display:flex;flex-direction:column;align-items:flex-start;line-height:1.2; }
.apx-panel-credit small { color:#64748b;font-size:9px;letter-spacing:.1em;text-transform:uppercase; }
.apx-panel-credit strong { color:#9a6815;font-size:11px;letter-spacing:.08em;text-transform:uppercase; }
@media(max-width:575.98px){
  html body.apex-player-panel .painel-footer-wrap .painel-container{min-height:0;gap:7px;flex-direction:column;padding:10px 12px!important;text-align:center}
  .painel-footer-wrap .painel-footer{white-space:normal;font-size:10px!important}
  .apx-panel-credit{justify-content:center;gap:9px}
  .apx-panel-credit img{height:24px;max-width:68px}
  .apx-panel-credit__divider{height:24px}
  .apx-panel-credit small{font-size:8px}.apx-panel-credit strong{font-size:10px}
}
