/* Loja e compras da camada de jogo: #store-modal, #purchase-thanks-modal e #pix-support-modal.
   Os ids, os onclick e o JS atuais seguem mandando (preço, produto, compra e Pix não mudam);
   aqui só o visual, atrás de .wb-game-ui. Painéis sólidos, borda fina, sem brilho nem desfoque;
   o único degrau de 3 px é o do botão de preço (a ação principal da loja) e o de "Jogar agora".
   O botão de fechar fica sempre à vista: é uma barra colada ao fim do painel (sticky), e o
   conteúdo rola por dentro. Contraste AA nos pares: branco e #dfe6ff sobre #16246f e sobre o
   cartão #1d2c86 (>= 9:1), ouro #ffe14d sobre ambos (>= 7:1), texto escuro #1b1340 sobre ouro e verde. */

/* Ícones novos: sem a classe da camada nem existem para o resto do site. */
.gm-st-ic {
    display: none;
}

.wb-game-ui .gm-st-ic {
    display: block;
    width: 1.5em;
    height: 1.5em;
    flex: none;
    object-fit: contain;
}

/* Emoji do Pix: só existem para quem está sem a camada */
.wb-game-ui .pix-emoji {
    display: none;
}

/* ——— Loja ——— */
/* --st-reserve: o que o fim da tela dá ao menu inferior e às faixas (divulgação do site, banner do app) */
html.wb-game-ui body #store-modal {
    --st-card: var(--gm-card);
    --st-line: var(--gm-line);
    --st-reserve: var(--wb-nav-space, 0px);
    padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right))
        calc(var(--st-reserve) + 8px) max(10px, env(safe-area-inset-left));
    overflow: hidden;
    color: var(--gm-text);
    font-family: var(--gm-font-label);
}

/* Fundo: o cenário opaco, sem desfoque nem véu (fechar ao tocar continua valendo) */
html.wb-game-ui body.wb-banner-visible #store-modal {
    --st-reserve: calc(var(--wb-nav-space, 0px) + var(--wb-banner-height, 60px) + 10px);
}

html.wb-game-ui body:has(#wb-house-banner.is-visible) #store-modal {
    --st-reserve: max(var(--wb-nav-space, 0px), 66px);
}

@media (min-width: 768px) {
    html.wb-game-ui body:has(#wb-house-banner.is-visible) #store-modal {
        --st-reserve: max(var(--wb-nav-space, 0px), 98px);
    }
}

html.wb-game-ui body #store-modal .stats-modal-overlay {
    background-color: var(--gm-panel);
    background-image: var(--gm-stage);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
}

html.wb-game-ui body #store-modal .stats-modal-content.st-modal {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(480px, 100%) !important;
    max-width: none;
    max-height: calc(100dvh - 18px - var(--st-reserve));
    padding: 14px 14px 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--gm-panel);
    color: var(--gm-text);
    border: var(--gm-border) solid var(--gm-outline);
    border-radius: var(--gm-radius);
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
}

.wb-game-ui #store-modal .st-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
}

.wb-game-ui #store-modal .st-head .pg-kicker {
    font-family: var(--gm-font-label);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gm-accent);
}

.wb-game-ui #store-modal .st-head .er-title {
    margin: 0;
    font-family: var(--gm-font);
    font-weight: 400;
    font-size: 1.45rem;
    line-height: 1.1;
    letter-spacing: 0;
    text-shadow: none;
    color: var(--gm-text);
}

/* Saldo de energia */
.wb-game-ui #store-modal .st-balance {
    gap: 6px;
    min-height: 40px;
    padding: 4px 12px 4px 8px;
    background: var(--gm-outline);
    border: 1.5px solid var(--st-line);
    border-radius: 999px;
    color: var(--gm-accent);
    font-family: var(--gm-font);
    font-size: 1.15rem;
    font-weight: 400;
}

.wb-game-ui #store-modal .st-balance strong {
    font-weight: 400;
    color: var(--gm-accent);
}

.wb-game-ui #store-modal .st-balance .gm-st-ic {
    width: 1.35em;
    height: 1.35em;
}

.wb-game-ui #store-modal i.bi {
    display: none;
}

/* Cartões de oferta (os fixos e os gerados em JS) */
.wb-game-ui #store-modal .st-offer {
    gap: 10px;
    padding: 10px;
    background: var(--st-card);
    border: 1.5px solid var(--gm-outline);
    border-radius: 14px;
    box-shadow: none;
}

.wb-game-ui #store-modal .st-offer--vip {
    background: var(--st-card);
    border-color: var(--gm-accent);
}

.wb-game-ui #store-modal .st-offer--won {
    animation: none;
    border-color: var(--gm-accent);
}

.wb-game-ui #store-modal .st-offer-icon {
    width: 48px;
    height: 48px;
    background: var(--gm-outline);
    border: 1.5px solid var(--st-line);
    border-radius: 12px;
}

.wb-game-ui #store-modal .st-offer-icon .gm-st-ic {
    width: 30px;
    height: 30px;
}

.wb-game-ui #store-modal .st-offer--energy .st-offer-icon,
.wb-game-ui #store-modal .st-offer--xp .st-offer-icon,
.wb-game-ui #store-modal .st-offer--vip .st-offer-icon {
    border-color: var(--gm-accent);
}

.wb-game-ui #store-modal .st-offer--bundle .st-offer-icon,
.wb-game-ui #store-modal .st-offer--ad_free .st-offer-icon {
    border-color: var(--gm-green);
}

.wb-game-ui #store-modal .st-offer--support .st-offer-icon,
.wb-game-ui #store-modal .st-offer--powerups .st-offer-icon {
    border-color: var(--gm-pink);
}

.wb-game-ui #store-modal .st-offer-text {
    gap: 2px;
}

.wb-game-ui #store-modal .st-offer-text strong {
    font-family: var(--gm-font-label);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--gm-text);
}

.wb-game-ui #store-modal .st-offer-text small {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--gm-text-soft);
}

/* Botões da oferta: anúncio e apoio, planos */
.wb-game-ui #store-modal .st-offer-btn {
    min-width: var(--gm-touch);
    min-height: var(--gm-touch);
    padding: 6px 12px;
    background: var(--gm-green);
    color: var(--gm-text-dark);
    border: var(--gm-border) solid var(--gm-outline);
    border-radius: 14px;
    box-shadow: none;
    font-family: var(--gm-font);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    white-space: nowrap;
    cursor: pointer;
    transition: none;
}

.wb-game-ui #store-modal .st-offer-btn:active {
    transform: translateY(1px);
    box-shadow: none;
}

.wb-game-ui #store-modal .st-offer-btn:focus-visible,
.wb-game-ui #store-modal .er-close:focus-visible,
.wb-game-ui #store-modal .st-paid-legal a:focus-visible {
    outline: 3px solid var(--gm-accent);
    outline-offset: 2px;
}

.wb-game-ui #store-modal .st-offer-btn:disabled {
    background: var(--gm-outline);
    color: var(--gm-text-soft);
    border-color: var(--st-line);
    box-shadow: none;
    cursor: default;
}

.wb-game-ui #store-modal .st-offer-btn--ghost {
    background: var(--gm-panel);
    color: var(--gm-text);
    border-color: var(--st-line);
}

/* Preço: a ação principal da loja, em ouro, grande e com o degrau de 3 px */
.wb-game-ui #store-modal .st-offer-btn--price {
    min-width: 96px;
    margin-bottom: 3px;
    background: var(--gm-accent);
    color: var(--gm-text-dark);
    box-shadow: 0 3px 0 var(--gm-outline);
    font-size: 1.1rem;
}

.wb-game-ui #store-modal .st-offer-btn--price:active:not(:disabled) {
    transform: translateY(3px);
    box-shadow: none;
}

.wb-game-ui #store-modal .st-offer-btn--price:disabled {
    margin-bottom: 0;
    background: var(--gm-outline);
    color: var(--gm-text);
    border-color: var(--st-line);
    box-shadow: none;
}

.wb-game-ui #store-modal .st-section-title {
    margin: 4px 0 0;
    font-family: var(--gm-font);
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--gm-accent);
}

.wb-game-ui #store-modal .st-app-only {
    min-height: var(--gm-touch);
    padding: 8px 12px;
    background: var(--st-card);
    border: 1.5px solid var(--gm-green);
    border-radius: 14px;
    color: var(--gm-text);
    font-size: 0.95rem;
    font-weight: 700;
}

.wb-game-ui #store-modal .st-paid-legal {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--gm-text-soft);
}

.wb-game-ui #store-modal .st-paid-legal a {
    display: inline-flex;
    align-items: center;
    min-height: var(--gm-touch);
    margin-left: 0;
    color: var(--gm-accent);
    font-weight: 700;
    text-decoration: underline;
}

/* Aviso da compra (pendente, cancelada, erro): painel escuro com borda ouro */
.wb-game-ui #store-modal #st-note {
    margin: 0;
    padding: 10px 12px;
    background: var(--gm-outline);
    border: 1.5px solid var(--gm-accent);
    border-radius: 12px;
    color: var(--gm-text);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
}

/* Fechar: barra colada ao fim do painel, sempre à vista; o conteúdo rola por trás dela */
.wb-game-ui #store-modal .er-close {
    position: sticky;
    bottom: 0;
    flex: none;
    box-sizing: border-box;
    width: calc(100% + 28px);
    min-height: 52px;
    margin: 0 -14px;
    padding: 8px 14px;
    background: var(--gm-panel);
    color: var(--gm-text);
    border: 0;
    border-top: var(--gm-border) solid var(--gm-outline);
    border-radius: 0 0 calc(var(--gm-radius) - 2px) calc(var(--gm-radius) - 2px);
    font-family: var(--gm-font);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    cursor: pointer;
}

/* Comemoração do anúncio: selo e partículas sólidos, sem brilho */
.wb-game-ui .st-fx-badge {
    background: var(--gm-accent);
    color: var(--gm-text-dark);
    border: var(--gm-border) solid var(--gm-outline);
    box-shadow: none;
    font-family: var(--gm-font);
    font-weight: 400;
}

.wb-game-ui .st-fx-badge--bundle {
    background: var(--gm-green);
}

.wb-game-ui .st-fx-particle {
    width: 1.4rem;
    height: 1.4rem;
    filter: none;
    object-fit: contain;
}

.wb-game-ui .st-balance--pop {
    animation: none;
}

/* ——— Agradecimento depois da compra ——— */
html.wb-game-ui body #purchase-thanks-modal,
html.wb-game-ui body #pix-support-modal {
    --st-card: var(--gm-card);
    --st-line: var(--gm-line);
    --st-reserve: 0px;
}

html.wb-game-ui body.wb-banner-visible #purchase-thanks-modal,
html.wb-game-ui body.wb-banner-visible #pix-support-modal {
    --st-reserve: calc(var(--wb-banner-height, 60px) + 6px);
}

html.wb-game-ui body:has(#wb-house-banner.is-visible) #purchase-thanks-modal,
html.wb-game-ui body:has(#wb-house-banner.is-visible) #pix-support-modal {
    --st-reserve: 66px;
}

@media (min-width: 768px) {
    html.wb-game-ui body:has(#wb-house-banner.is-visible) #purchase-thanks-modal,
    html.wb-game-ui body:has(#wb-house-banner.is-visible) #pix-support-modal {
        --st-reserve: 98px;
    }
}

html.wb-game-ui body #purchase-thanks-modal {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right))
        calc(max(10px, var(--wb-safe-bottom)) + var(--st-reserve)) max(10px, env(safe-area-inset-left));
    background-color: var(--gm-panel);
    background-image: var(--gm-stage);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: hidden;
    color: var(--gm-text);
    font-family: var(--gm-font-label);
}

html.wb-game-ui body #purchase-thanks-modal.hidden {
    display: none;
}

html.wb-game-ui body #purchase-thanks-modal > .container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    min-height: 0 !important;
    padding: 0;
}

html.wb-game-ui body #purchase-thanks-modal .purchase-thanks-card {
    box-sizing: border-box;
    width: min(420px, 100%) !important;
    max-width: none;
    max-height: calc(100dvh - 20px - var(--st-reserve));
    padding: 18px 18px 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--gm-panel);
    color: var(--gm-text);
    border: var(--gm-border) solid var(--gm-outline);
    border-radius: var(--gm-radius);
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
}

.wb-game-ui #purchase-thanks-modal .purchase-thanks-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 12px;
    background: var(--gm-outline);
    border: var(--gm-border) solid var(--gm-accent);
    border-radius: 20px;
    box-shadow: none;
}

.wb-game-ui #purchase-thanks-modal .purchase-thanks-icon i.bi {
    display: none;
}

.wb-game-ui #purchase-thanks-modal .purchase-thanks-icon .gm-st-ic {
    width: 44px;
    height: 44px;
}

.wb-game-ui #purchase-thanks-modal .ranking-alert-kicker {
    margin: 0 0 2px;
    font-family: var(--gm-font-label);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gm-accent);
}

.wb-game-ui #purchase-thanks-modal #purchase-thanks-title {
    margin: 0 0 8px !important;
    font-family: var(--gm-font);
    font-size: 1.7rem;
    font-weight: 400 !important;
    line-height: 1.1;
    letter-spacing: 0;
    text-shadow: none;
    color: var(--gm-text);
}

.wb-game-ui #purchase-thanks-modal .purchase-thanks-item {
    margin: 0 0 6px;
    font-family: var(--gm-font);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gm-text);
}

.wb-game-ui #purchase-thanks-modal #purchase-thanks-detail {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gm-text-soft);
}

.wb-game-ui #purchase-thanks-modal .purchase-thanks-support {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gm-accent);
}

/* Os dois botões: "Jogar agora" é a ação principal (verde, degrau de 3 px); o outro, plano */
.wb-game-ui #purchase-thanks-modal .d-grid {
    gap: 10px !important;
    margin: 14px 0 0 !important;
    padding-bottom: 18px;
}

.wb-game-ui #purchase-thanks-modal .d-grid .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 8px 16px;
    border: var(--gm-border) solid var(--gm-outline);
    border-radius: var(--gm-radius) !important;
    box-shadow: none;
    font-family: var(--gm-font);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.wb-game-ui #purchase-thanks-modal .d-grid .btn i.bi {
    display: none;
}

.wb-game-ui #purchase-thanks-modal #purchase-thanks-play {
    margin-bottom: 3px;
    background: var(--gm-green);
    color: var(--gm-text-dark);
    box-shadow: 0 3px 0 var(--gm-outline);
}

.wb-game-ui #purchase-thanks-modal #purchase-thanks-play:active {
    transform: translateY(3px);
    box-shadow: none;
}

.wb-game-ui #purchase-thanks-modal #purchase-thanks-close {
    background: var(--gm-panel);
    color: var(--gm-text);
    border-color: var(--st-line, var(--gm-line));
}

.wb-game-ui #purchase-thanks-modal .btn:focus-visible {
    outline: 3px solid var(--gm-accent);
    outline-offset: 2px;
}

/* ——— Apoie um Dev (Pix) ——— */
html.wb-game-ui body #pix-support-modal {
    box-sizing: border-box;
    padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right))
        calc(max(10px, var(--wb-safe-bottom)) + var(--st-reserve)) max(10px, env(safe-area-inset-left));
    background-color: var(--gm-panel);
    background-image: var(--gm-stage);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: hidden;
    color: var(--gm-text);
    font-family: var(--gm-font-label);
}

html.wb-game-ui body #pix-support-modal.hidden {
    display: none;
}

html.wb-game-ui body #pix-support-modal > .container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    min-height: 0 !important;
    padding: 0;
}

html.wb-game-ui body #pix-support-modal .glass-panel {
    box-sizing: border-box;
    width: min(480px, 100%) !important;
    max-width: none !important;
    max-height: calc(100dvh - 20px - var(--st-reserve));
    padding: 18px 18px 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--gm-panel);
    color: var(--gm-text);
    border: var(--gm-border) solid var(--gm-outline);
    border-radius: var(--gm-radius);
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
}

/* X: gruda no topo do cartão enquanto o conteúdo rola */
html.wb-game-ui body #pix-support-modal .btn-close {
    position: sticky !important;
    top: 0;
    z-index: 2;
    display: block;
    box-sizing: border-box;
    width: var(--gm-touch);
    height: var(--gm-touch);
    margin: 0 0 -44px auto;
    padding: 0;
    background-color: var(--gm-accent);
    border: var(--gm-border) solid var(--gm-outline);
    border-radius: 12px;
    opacity: 1;
    filter: none;
    box-shadow: none;
}

.wb-game-ui #pix-support-modal .gm-st-ic--hero {
    width: 56px;
    height: 56px;
    margin: 0 auto;
}

.wb-game-ui #pix-support-modal h3 {
    margin: 0 0 6px;
    font-family: var(--gm-font);
    font-size: 1.7rem;
    font-weight: 400 !important;
    letter-spacing: 0;
    text-shadow: none;
    color: var(--gm-text);
}

.wb-game-ui #pix-support-modal p {
    font-size: 1rem !important;
    font-weight: 600;
    color: var(--gm-text-soft);
}

/* Chave Pix: o dado que a pessoa precisa copiar, grande e em ouro */
.wb-game-ui #pix-support-modal .glass-panel > .p-3 {
    padding: 12px !important;
    background: var(--gm-outline) !important;
    border: 1.5px solid var(--st-line, var(--gm-line)) !important;
    border-radius: 14px !important;
}

.wb-game-ui #pix-support-modal code {
    font-family: var(--gm-font) !important;
    font-size: 1.6rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.04em !important;
    color: var(--gm-accent);
    background: none;
}

.wb-game-ui #pix-support-modal button[onclick^='copyPixKey'] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--gm-touch);
    height: var(--gm-touch);
    padding: 0;
    background: var(--gm-panel);
    color: var(--gm-text);
    border: var(--gm-border) solid var(--st-line, var(--gm-line));
    border-radius: 12px;
}

.wb-game-ui #pix-support-modal button[onclick^='copyPixKey'] i.bi {
    display: none;
}

.wb-game-ui #pix-support-modal button[onclick^='copyPixKey'] .gm-st-ic {
    width: 26px;
    height: 26px;
}

/* Confirmação de "copiado" (o JS troca o conteúdo por um ícone por 2 s) */
.wb-game-ui #pix-support-modal button[onclick^='copyPixKey'].btn-success {
    background: var(--gm-green);
    color: var(--gm-text-dark);
    border-color: var(--gm-outline);
}

.wb-game-ui #pix-support-modal button[onclick^='copyPixKey'].btn-success i.bi {
    display: inline-block;
    font-size: 1.4rem;
}

/* Sugestões de valor */
.wb-game-ui #pix-support-modal [onclick^='openPixApp'] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 48px;
    padding: 6px 14px;
    background: var(--st-card, var(--gm-card));
    color: var(--gm-text);
    border: var(--gm-border) solid var(--gm-green);
    border-radius: 14px;
    box-shadow: none;
    font-family: var(--gm-font);
    font-size: 1.1rem;
    font-weight: 400;
    text-align: left;
    transition: none;
}

.wb-game-ui #pix-support-modal [onclick^='openPixApp']:hover,
.wb-game-ui #pix-support-modal [onclick^='openPixApp']:active {
    background: var(--gm-green);
    color: var(--gm-text-dark);
    border-color: var(--gm-outline);
}

.wb-game-ui #pix-support-modal [onclick^='openPixApp'] .gm-st-ic {
    width: 28px;
    height: 28px;
}

.wb-game-ui #pix-support-modal [onclick^='openPixApp']:hover .gm-st-ic {
    filter: brightness(0);
}

.wb-game-ui #pix-support-modal #pix-thanks-label {
    margin: 14px 0 0 !important;
    font-size: 0.95rem !important;
    color: var(--gm-text-soft);
}

/* Fechar: barra colada ao fim do cartão, sempre à vista */
.wb-game-ui #pix-support-modal #pix-close-label {
    position: sticky;
    bottom: 0;
    box-sizing: border-box;
    width: calc(100% + 36px) !important;
    min-height: 52px;
    margin: 14px -18px 0 !important;
    padding: 8px 14px;
    background: var(--gm-panel);
    color: var(--gm-text);
    border: 0;
    border-top: var(--gm-border) solid var(--gm-outline);
    border-radius: 0 0 calc(var(--gm-radius) - 2px) calc(var(--gm-radius) - 2px) !important;
    font-family: var(--gm-font);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.wb-game-ui #pix-support-modal :is(#pix-close-label, .btn-close, [onclick^='openPixApp'], button[onclick^='copyPixKey']):focus-visible {
    outline: 3px solid var(--gm-accent);
    outline-offset: 2px;
}

/* QR do Pix, se a janela vier a mostrar um: fundo branco, margem e tamanho para a câmera ler */
.wb-game-ui #pix-support-modal :is(img, canvas, svg)[class*='qr' i]:not(.gm-st-ic) {
    display: block;
    width: min(220px, 100%);
    height: auto;
    margin: 0 auto 12px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
    .wb-game-ui #store-modal .st-offer-btn,
    .wb-game-ui #pix-support-modal [onclick^='openPixApp'] {
        transition: none;
    }

    .wb-game-ui #purchase-thanks-modal .purchase-thanks-icon,
    .wb-game-ui .st-fx-badge {
        animation: none;
    }
}

/* Sem aviso, sem caixa */
.wb-game-ui #store-modal #st-note:empty {
    display: none;
}

/* Economia de XP: saldo ao lado da energia, cartão de troca e boas-vindas */
.wb-game-ui #store-modal .st-head {
    flex-wrap: wrap;
    gap: 8px;
}

.wb-game-ui #store-modal .st-balance--xp small {
    font-size: 0.7em;
    opacity: 0.85;
}

.wb-game-ui #store-modal .st-offer--xp.is-dimmed .st-offer-btn {
    opacity: 0.55;
}

#xp-welcome-modal .xp-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 380px;
    margin: 0 auto;
    padding: 24px 20px;
    text-align: center;
}

#xp-welcome-modal .xp-welcome-ic {
    width: 72px;
    height: 72px;
}

#xp-welcome-modal .xp-welcome-text {
    margin: 0;
    opacity: 0.9;
}

#xp-welcome-modal .xp-welcome-bonus {
    font-size: 1.25rem;
}

#xp-welcome-modal .xp-welcome-cta {
    width: 100%;
    justify-content: center;
}

#xp-welcome-modal .xp-welcome-close {
    border: 0;
    background: transparent;
    color: inherit;
    opacity: 0.75;
    text-decoration: underline;
    cursor: pointer;
}

/* Troca por XP bloqueada: o anúncio (e, sem saldo, as ofertas pagas) ganha destaque */
.wb-game-ui #store-modal .st-offer--energy.is-highlight,
#store-modal .st-offer--energy.is-highlight {
    box-shadow: 0 0 0 2px var(--gm-accent, #ffd23f), 0 0 18px rgba(255, 210, 63, 0.35);
}

.wb-game-ui #store-modal .st-paid.is-highlight .st-section-title,
#store-modal .st-paid.is-highlight .st-section-title {
    color: var(--gm-accent, #ffd23f);
}
