/* ==========================================================================
   v3-diversos.css — design novo: Tickets, votação, clipes, screenshots, avisos, rádio, reações, menu da célula, loja, galeria/config/login no celular, ban.
   Usa os tokens de v3-base.css. Vale em todas as telas (PC e celular).

   O CSS antigo dessas telas está espalhado (index.css, social.css, hud.css,
   radio-live.css, cellmenu.css, update-restart.css, mobile*.css) e muito dele
   usa !important e estilo inline; por isso as regras daqui começam com
   `html body` e usam !important onde precisam vencer.
   Celular = @media (max-width: 640px), (orientation: landscape) and
   (max-height: 540px) and (pointer: coarse) — no fim de cada seção.
   ========================================================================== */

/* ---------- Painéis flutuantes (votação, bugs, pedido de música, enquete) ---
   Não são modais: ficam encostados no ranking e o jogo segue clicável. */
html body .px-float {
    background: var(--pc-corners), var(--pc-panel) !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    box-shadow: var(--pc-shadow) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    color: var(--pc-text) !important;
    font-family: var(--pc-body) !important;
}
html body .px-float-head {
    padding: 11px 10px 10px 14px !important;
    background: transparent !important;
    border-bottom: 1px solid var(--pc-line) !important;
}
html body .px-float-title {
    gap: 9px !important;
    font: 500 10.5px/1.2 var(--pc-mono) !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: var(--pc-text) !important;
}
html body .px-float-title i { color: var(--pc-acid) !important; font-size: 12px !important; }
html body .px-float-close {
    width: 28px !important; height: 28px !important;
    background: transparent !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    color: var(--pc-dim) !important;
    font-size: 17px !important;
}
html body .px-float-close:hover { color: var(--pc-hot) !important; border-color: var(--pc-hot) !important; background: transparent !important; }
html body .px-float-body { padding: 12px 14px 14px !important; }
html body .px-float-body::-webkit-scrollbar { width: 6px; }
html body .px-float-body::-webkit-scrollbar-thumb { background: var(--pc-line-2); border-radius: 0; }
html body #tk-float.px-float-tall { width: 340px !important; max-height: min(72vh, 600px) !important; }

/* ---------- Tickets (painel do jogador e aba do admin: mesmo markup .tk-*) - */
html body .tk-root { gap: 10px !important; color: var(--pc-text) !important; font-family: var(--pc-body) !important; }
html body .tk-section {
    display: flex !important; align-items: center !important; gap: 8px !important;
    margin: 2px 0 0 !important;
    font: 500 10px var(--pc-mono) !important; letter-spacing: .16em !important;
    text-transform: uppercase !important; color: var(--pc-faint) !important;
}
html body .tk-section i { color: var(--pc-acid) !important; }
html body .tk-refresh {
    margin-left: auto !important;
    width: 28px; height: 28px;
    display: inline-grid !important; place-items: center;
    background: transparent !important; border: 1px solid var(--pc-line) !important; border-radius: 2px !important;
    color: var(--pc-dim) !important; font-size: 11px !important;
}
html body .tk-refresh:hover { color: var(--pc-acid) !important; border-color: var(--pc-acid) !important; }

/* Formulário "Abrir novo ticket" recolhível */
html body .tk-new { gap: 8px !important; padding: 0 0 12px !important; border-bottom: 1px solid var(--pc-line) !important; }
html body .tk-new-toggle {
    display: flex; align-items: center; gap: 9px; width: 100%;
    min-height: 38px; padding: 0 12px;
    background: transparent; border: 1px dashed var(--pc-line-2); border-radius: 2px;
    color: var(--pc-text); cursor: pointer;
    font: 600 11px var(--pc-mono); letter-spacing: .1em; text-transform: uppercase;
}
html body .tk-new-toggle > i:first-child { color: var(--pc-acid); }
html body .tk-new-toggle span { flex: 1; text-align: left; }
html body .tk-new-toggle .tk-new-chev { color: var(--pc-faint); font-size: 10px; transition: transform .15s; }
html body .tk-new-toggle:hover { border-color: var(--pc-acid); }
html body .tk-new.is-open .tk-new-toggle { border-style: solid; border-color: var(--pc-line-2); }
html body .tk-new.is-open .tk-new-chev { transform: rotate(180deg); }
html body .tk-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
html body .tk-cat {
    display: flex; align-items: center; gap: 8px; min-width: 0;
    min-height: 34px; padding: 0 9px;
    background: var(--pc-ink); border: 1px solid var(--pc-line); border-radius: 2px;
    color: var(--pc-dim); cursor: pointer; text-align: left;
    font: 500 12px var(--pc-body);
}
html body .tk-cat i { width: 14px; text-align: center; color: var(--pc-faint); font-size: 11px; }
html body .tk-cat span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .tk-cat:hover { border-color: var(--pc-line-2); color: var(--pc-text); }
html body .tk-cat.on { border-color: var(--pc-acid); background: var(--pc-acid-soft); color: var(--pc-text); }
html body .tk-cat.on i { color: var(--pc-acid); }
html body .tk-new-foot { display: flex; align-items: center; gap: 10px; }
html body .tk-new-foot .tk-btn { margin-left: auto; padding: 0 14px !important; }
html body .tk-new-count { font: 500 10px var(--pc-mono); letter-spacing: .06em; color: var(--pc-faint); font-variant-numeric: tabular-nums; }
html body .tk-new-count.short { color: var(--pc-hot); }
html body .tk-new-status { font: 500 11px var(--pc-mono) !important; color: var(--pc-dim) !important; min-height: 0 !important; }
html body .tk-new-status:empty { display: none; }
html body .tk-new-status.ok { color: var(--pc-ok) !important; }
html body .tk-new-status.err { color: var(--pc-hot) !important; }

/* Campos e botões */
html body .tk-field,
html body .tk-input {
    background: var(--pc-ink) !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    color: var(--pc-text) !important;
    font: 500 13px var(--pc-body) !important;
    box-shadow: none !important;
}
html body .tk-field::placeholder, html body .tk-input::placeholder { color: var(--pc-faint) !important; }
html body .tk-field:focus,
html body .tk-input:focus { border-color: var(--pc-acid) !important; box-shadow: inset 3px 0 0 var(--pc-acid) !important; outline: none !important; }
html body select.tk-field option { background: var(--pc-panel) !important; color: var(--pc-text) !important; }
html body textarea.tk-field { min-height: 84px !important; line-height: 1.45 !important; }
html body .tk-btn,
html body .tk-mini,
html body #tk-float .tk-btn,
html body #tk-float .tk-mini {
    display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 7px !important;
    min-height: 34px !important;
    background: transparent !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    color: var(--pc-text) !important;
    font: 600 10.5px var(--pc-mono) !important; letter-spacing: .1em !important; text-transform: uppercase !important;
    box-shadow: none !important;
}
html body .tk-mini { min-height: 28px !important; padding: 0 10px !important; }
html body .tk-btn:hover, html body .tk-mini:hover,
html body #tk-float .tk-btn:hover, html body #tk-float .tk-mini:hover { border-color: var(--pc-text) !important; background: transparent !important; }
html body .tk-btn.tk-primary,
html body #tk-float .tk-btn.tk-primary { background: var(--pc-acid) !important; border-color: var(--pc-acid) !important; color: var(--pc-acid-ink) !important; }
html body .tk-btn.tk-primary:hover { box-shadow: 0 0 0 4px var(--pc-acid-soft) !important; }
html body .tk-btn.tk-ok { border-color: rgba(75, 227, 138, .5) !important; color: var(--pc-ok) !important; }
html body .tk-btn.tk-no { border-color: rgba(255, 84, 112, .5) !important; color: var(--pc-hot) !important; }

/* Filtros em chips (tickets e denúncias) */
html body .tk-filters { gap: 5px !important; margin: 0 !important; }
html body .tk-chip {
    display: inline-flex !important; align-items: center !important; gap: 6px !important;
    min-height: 28px !important; padding: 0 10px !important;
    background: transparent !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    color: var(--pc-dim) !important;
    font: 500 10.5px var(--pc-mono) !important; letter-spacing: .06em !important; text-transform: uppercase !important;
    cursor: pointer;
}
html body .tk-chip b { font-weight: 600; color: var(--pc-faint); font-variant-numeric: tabular-nums; }
html body .tk-chip:hover { color: var(--pc-text) !important; border-color: var(--pc-text) !important; }
html body .tk-chip.active { color: var(--pc-acid) !important; border-color: rgba(212, 255, 58, .45) !important; background: var(--pc-acid-soft) !important; }
html body .tk-chip.active b { color: var(--pc-acid); }
html body .tk-filters .tk-refresh { margin-left: auto !important; }

/* Lista */
html body .tk-list { gap: 5px !important; }
html body .tk-row {
    gap: 10px !important;
    padding: 9px 10px !important;
    background: var(--pc-ink) !important;
    border: 1px solid var(--pc-line) !important;
    border-radius: 2px !important;
    color: var(--pc-text) !important;
    transform: none !important;
    font-family: var(--pc-body) !important;
}
html body .tk-row:hover { border-color: var(--pc-line-2) !important; background: var(--pc-ink-2) !important; }
html body .tk-row.tk-row-unread { border-color: rgba(212, 255, 58, .45) !important; box-shadow: inset 3px 0 0 var(--pc-acid) !important; }
html body .tk-row-icon {
    width: 30px !important; height: 30px !important; flex: 0 0 30px !important;
    display: grid !important; place-items: center !important;
    border-radius: 2px !important;
    border: 1px solid var(--pc-line-2) !important;
    background: transparent !important;
    color: var(--pc-faint) !important;
    font-size: 12px !important;
}
html body .tk-row-icon.open { border-color: rgba(212, 255, 58, .45) !important; background: var(--pc-acid-soft) !important; color: var(--pc-acid) !important; }
html body .tk-row-icon.rp.open { border-color: rgba(255, 84, 112, .45) !important; background: var(--pc-hot-soft) !important; color: var(--pc-hot) !important; }
html body .tk-row-icon.rp.reviewing { border-color: rgba(255, 201, 74, .45) !important; background: var(--pc-gold-soft) !important; color: var(--pc-gold) !important; }
html body .tk-row-icon.rp.resolved { border-color: rgba(75, 227, 138, .45) !important; background: var(--pc-ok-soft) !important; color: var(--pc-ok) !important; }
html body .tk-row-main strong { font: 600 13px var(--pc-body) !important; color: var(--pc-text) !important; }
html body .tk-row-sub { font: 400 11.5px var(--pc-body) !important; color: var(--pc-dim) !important; }
html body .tk-row-sub b { color: var(--pc-text) !important; }
html body .tk-row-new {
    padding: 1px 5px; border: 1px solid rgba(212, 255, 58, .45); border-radius: 2px;
    font: 500 9px var(--pc-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pc-acid);
}
html body .tk-row-time { font: 500 10px var(--pc-mono) !important; color: var(--pc-faint) !important; font-variant-numeric: tabular-nums; }
html body .tk-row-status,
html body .tk-rp-status {
    padding: 2px 7px !important;
    border-radius: 2px !important;
    border: 1px solid var(--pc-line-2) !important;
    background: transparent !important;
    color: var(--pc-dim) !important;
    font: 500 9.5px var(--pc-mono) !important; letter-spacing: .08em !important; text-transform: uppercase !important;
}
html body .tk-row-status.open { color: var(--pc-acid) !important; border-color: rgba(212, 255, 58, .45) !important; background: var(--pc-acid-soft) !important; }
html body .tk-rp-status.open { color: var(--pc-hot) !important; border-color: rgba(255, 84, 112, .45) !important; background: var(--pc-hot-soft) !important; }
html body .tk-rp-status.reviewing { color: var(--pc-gold) !important; border-color: rgba(255, 201, 74, .45) !important; background: var(--pc-gold-soft) !important; }
html body .tk-rp-status.resolved { color: var(--pc-ok) !important; border-color: rgba(75, 227, 138, .45) !important; background: var(--pc-ok-soft) !important; }

html body .tk-empty {
    display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
    min-height: 96px; padding: 18px !important;
    border: 1px dashed var(--pc-line-2) !important;
    background: radial-gradient(rgba(233, 239, 228, .05) 1px, transparent 1.2px) 0 0 / 14px 14px !important;
    font: 500 10.5px var(--pc-mono) !important; letter-spacing: .06em !important; text-transform: uppercase !important;
    color: var(--pc-dim) !important;
}
html body .tk-empty i { color: var(--pc-acid) !important; opacity: 1 !important; font-size: 18px !important; }
html body .tk-msgs .tk-empty { min-height: 60px; }

/* Conversa */
html body .tk-thread-head { gap: 9px !important; padding-bottom: 10px !important; border-bottom: 1px solid var(--pc-line) !important; }
html body .tk-back {
    width: 30px !important; height: 30px !important; flex: 0 0 30px !important;
    display: grid !important; place-items: center !important; padding: 0 !important;
    background: transparent !important; border: 1px solid var(--pc-line-2) !important; border-radius: 2px !important;
    color: var(--pc-dim) !important; font-size: 12px !important;
}
html body .tk-back:hover { color: var(--pc-acid) !important; border-color: var(--pc-acid) !important; }
html body .tk-thread-title {
    display: flex; flex-direction: column; gap: 2px; min-width: 0;
    font: 800 13px/1.15 var(--pc-display) !important; text-transform: uppercase !important; letter-spacing: -.01em !important;
    color: var(--pc-text) !important;
}
html body .tk-thread-title small { font: 500 9.5px var(--pc-mono); letter-spacing: .08em; color: var(--pc-faint); text-transform: uppercase; }
html body .tk-msgs { gap: 8px !important; padding: 6px 2px !important; }
html body .tk-msg-name { font: 500 9.5px var(--pc-mono) !important; letter-spacing: .04em !important; color: var(--pc-faint) !important; }
html body .tk-msg-body {
    border-radius: 2px !important;
    font: 400 13px/1.45 var(--pc-body) !important;
}
html body .tk-msg.player .tk-msg-body { background: var(--pc-panel-2) !important; border: 1px solid var(--pc-line-2) !important; color: var(--pc-text) !important; }
html body .tk-msg.admin .tk-msg-body,
html body #tk-float .tk-msg.admin .tk-msg-body { background: var(--pc-acid-soft) !important; border: 1px solid rgba(212, 255, 58, .35) !important; color: var(--pc-text) !important; }
html body .tk-msg.sys { font: 500 10px var(--pc-mono) !important; font-style: normal !important; letter-spacing: .06em; text-transform: uppercase; color: var(--pc-faint) !important; }
html body .tk-media { border-radius: 2px !important; border: 1px solid var(--pc-line-2); }
html body .tk-compose { gap: 6px !important; padding-top: 10px !important; border-top: 1px solid var(--pc-line) !important; }
html body .tk-attach {
    width: 36px !important; height: 36px !important;
    background: transparent !important; border: 1px solid var(--pc-line-2) !important; border-radius: 2px !important;
    color: var(--pc-dim) !important; font-size: 13px !important;
}
html body .tk-attach:hover { color: var(--pc-acid) !important; border-color: var(--pc-acid) !important; }
html body .tk-input { min-height: 36px !important; padding: 0 11px !important; }
html body .tk-send { min-width: 40px !important; min-height: 36px !important; }
html body .tk-closed-note {
    padding: 10px 0 0 !important; border-top: 1px solid var(--pc-line) !important;
    font: 500 10.5px var(--pc-mono) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--pc-dim) !important;
}
html body .tk-closed-note i { color: var(--pc-faint); }

/* Seções do admin (Tickets | Reports) e ficha da denúncia */
html body .tk-nav { gap: 2px !important; border-bottom: 1px solid var(--pc-line) !important; padding: 0 !important; background: transparent !important; }
html body .tk-nav-tab {
    position: relative;
    padding: 10px 14px !important;
    background: transparent !important; border: 0 !important; border-radius: 0 !important;
    color: var(--pc-dim) !important;
    font: 500 11px var(--pc-mono) !important; letter-spacing: .1em !important; text-transform: uppercase !important;
    box-shadow: none !important;
}
html body .tk-nav-tab i { color: var(--pc-faint) !important; }
html body .tk-nav-tab:hover { color: var(--pc-text) !important; }
html body .tk-nav-tab.active { color: var(--pc-text) !important; }
html body .tk-nav-tab.active i { color: var(--pc-acid) !important; }
html body .tk-nav-tab.active::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--pc-acid); }
html body .tk-nav-badge { border-radius: 2px !important; background: var(--pc-hot) !important; color: #fff !important; font: 600 9.5px var(--pc-mono) !important; }
html body .tk-rep { border-radius: 2px !important; font-family: var(--pc-mono) !important; }
html body .tk-rp-multi { border-radius: 2px !important; font-family: var(--pc-mono) !important; }
html body .tk-rp-card,
html body .tk-rp-block,
html body .tk-rp-chat { background: var(--pc-ink) !important; border: 1px solid var(--pc-line) !important; border-radius: 2px !important; }
html body .tk-rp-card.danger { border-color: rgba(255, 84, 112, .4) !important; background: var(--pc-hot-soft) !important; }
html body .tk-rp-cap,
html body .tk-rp-tgrid span { font: 500 9.5px var(--pc-mono) !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--pc-faint) !important; }
html body .tk-rp-cap i { color: var(--pc-acid) !important; }
html body .tk-rp-tgrid b { font-family: var(--pc-mono) !important; font-variant-numeric: tabular-nums; }
html body .tk-rp-team { border-radius: 2px !important; font-family: var(--pc-mono) !important; }
html body .tk-rp-mark span { font: 500 9.5px var(--pc-mono) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--pc-hot) !important; }

@media (max-width: 640px), (orientation: landscape) and (max-height: 540px) and (pointer: coarse) {
    /* Bugs vira folha de tela cheia (digitar e ler a conversa no celular). */
    html body #tk-float.px-float,
    html body #tk-float.px-float-tall {
        top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
        width: auto !important; max-height: none !important; height: 100% !important;
        padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
        box-sizing: border-box;
        border: 0 !important;
        z-index: 100002 !important;
    }
    html body #tk-float .tk-msgs { max-height: none !important; }
    /* Os outros flutuantes ocupam a largura toda, presos no alto. */
    html body .px-float:not(#tk-float) {
        top: calc(8px + env(safe-area-inset-top, 0px)) !important;
        left: 8px !important; right: 8px !important;
        width: auto !important;
        max-height: calc(100vh - 16px) !important;
        max-height: calc(100dvh - 16px - env(safe-area-inset-top, 0px)) !important;
    }
    html body .px-float-close { width: 40px !important; height: 40px !important; }
    html body .tk-row { min-height: 52px; }
    html body .tk-cat, html body .tk-chip, html body .tk-new-toggle { min-height: 40px !important; }
    html body .tk-btn, html body .tk-attach, html body .tk-input, html body .tk-send { min-height: 42px !important; }
    html body .tk-attach { width: 42px !important; }
    html body .tk-back { width: 40px !important; height: 40px !important; flex-basis: 40px !important; }
    html body .tk-field, html body .tk-input { font-size: 16px !important; }
}

/* ---------- Votação: lista de propostas e balão da votação ativa ---------- */
html body .vote-options { gap: 5px !important; }
html body .vote-option {
    min-height: 40px !important;
    gap: 10px !important;
    padding: 0 10px !important;
    background: var(--pc-ink) !important;
    border: 1px solid var(--pc-line) !important;
    border-radius: 2px !important;
    color: var(--pc-text) !important;
    font: 600 13px var(--pc-body) !important;
    box-shadow: none !important;
    transform: none !important;
}
html body .vote-option:hover { border-color: var(--pc-acid) !important; background: var(--pc-ink-2) !important; }
html body .vote-option-icon {
    width: 26px !important; height: 26px !important; border-radius: 2px !important;
    background: transparent !important; border: 1px solid var(--pc-line-2) !important; color: var(--pc-acid) !important;
}
html body .vote-option-label small {
    display: block; margin-top: 1px;
    font: 500 9.5px var(--pc-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pc-faint);
}
html body .vote-option-go { color: var(--pc-faint) !important; }
html body .vote-option:hover .vote-option-go { color: var(--pc-acid) !important; }
html body .vote-hint { margin-top: 6px; font: 400 11.5px/1.4 var(--pc-body); color: var(--pc-dim); }
html body .vote-substep { gap: 8px !important; margin-bottom: 6px !important; font: 500 10px var(--pc-mono) !important; letter-spacing: .12em !important; text-transform: uppercase !important; color: var(--pc-faint) !important; }
html body .vote-back {
    min-height: 28px !important; padding: 0 10px !important;
    background: transparent !important; border: 1px solid var(--pc-line-2) !important; border-radius: 2px !important;
    color: var(--pc-dim) !important; font: 600 10px var(--pc-mono) !important; letter-spacing: .1em !important; text-transform: uppercase !important;
}
html body .vote-back:hover { color: var(--pc-text) !important; border-color: var(--pc-text) !important; }
html body .vote-empty { font: 500 10.5px var(--pc-mono) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--pc-dim) !important; }
html body .vote-target-dot.on { background: var(--pc-ok) !important; }
html body .vote-target-dot.off { background: var(--pc-faint) !important; }

html body .vote-toast {
    width: min(340px, calc(100vw - 24px)) !important;
    padding: 0 !important;
    background: var(--pc-corners), var(--pc-panel) !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    box-shadow: var(--pc-shadow) !important;
    color: var(--pc-text) !important;
    font-family: var(--pc-body) !important;
    overflow: hidden;
}
html body .vote-toast-head { display: flex; align-items: center; gap: 8px; padding: 9px 8px 0 12px; }
html body .vote-toast-kicker { font: 500 10px var(--pc-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--pc-acid); }
html body .vote-toast-kicker i { margin-right: 4px; }
html body .vote-time { margin-left: auto; font: 600 11px var(--pc-mono) !important; color: var(--pc-text) !important; font-variant-numeric: tabular-nums; }
html body .vote-toast-x {
    width: 26px; height: 26px; display: grid; place-items: center;
    background: transparent; border: 1px solid var(--pc-line-2); border-radius: 2px;
    color: var(--pc-dim); font-size: 16px; line-height: 1; cursor: pointer;
}
html body .vote-toast-x:hover { color: var(--pc-hot); border-color: var(--pc-hot); }
html body .vote-toast-title {
    margin: 6px 12px 8px !important;
    font: 800 14px/1.2 var(--pc-display) !important; text-transform: uppercase; letter-spacing: -.01em;
    color: var(--pc-text) !important;
}
html body .vote-timebar { height: 2px; margin: 0 12px 8px; background: var(--pc-line); }
html body .vote-timebar i { display: block; height: 100%; width: 100%; background: var(--pc-acid); transition: width .25s linear; }
html body .vote-bar { height: 6px !important; margin: 0 12px !important; border-radius: 0 !important; background: rgba(255, 84, 112, .55) !important; }
html body .vote-bar-yes { background: var(--pc-ok) !important; }
html body .vote-tally { margin: 6px 12px 10px !important; font: 600 10.5px var(--pc-mono) !important; letter-spacing: .06em; text-transform: uppercase; }
html body .vote-tally .yes { color: var(--pc-ok) !important; }
html body .vote-tally .no { color: var(--pc-hot) !important; }
html body .vote-need { color: var(--pc-faint); font-weight: 500; }
html body .vote-need.is-met { color: var(--pc-acid); }
html body .vote-toast-actions { gap: 6px !important; padding: 0 12px 10px; }
html body .vote-yes-btn, html body .vote-no-btn {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 7px;
    min-height: 36px !important;
    border-radius: 2px !important;
    background: transparent !important;
    font: 600 11px var(--pc-mono) !important; letter-spacing: .12em !important; text-transform: uppercase !important;
}
html body .vote-yes-btn { border: 1px solid rgba(75, 227, 138, .5) !important; color: var(--pc-ok) !important; }
html body .vote-no-btn { border: 1px solid rgba(255, 84, 112, .5) !important; color: var(--pc-hot) !important; }
html body .vote-yes-btn:hover { background: var(--pc-ok-soft) !important; }
html body .vote-no-btn:hover { background: var(--pc-hot-soft) !important; }
html body .vote-yes-btn.chosen { background: var(--pc-ok) !important; border-color: var(--pc-ok) !important; color: var(--pc-ink) !important; }
html body .vote-no-btn.chosen { background: var(--pc-hot) !important; border-color: var(--pc-hot) !important; color: var(--pc-ink) !important; }
html body .vote-mine { padding: 0 12px 10px; font: 400 11.5px var(--pc-body); color: var(--pc-dim); }
html body .vote-mine:empty { display: none; }
html body .vote-mine b { color: var(--pc-text); }
html body .vote-toast-login { padding: 0 12px 12px !important; font: 500 10.5px var(--pc-mono) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--pc-dim) !important; }
html body .vote-toast.is-done .vote-timebar { display: none; }
html body .vote-toast.is-done { padding-bottom: 2px !important; }
html body .vote-toast.is-approved { border-color: rgba(75, 227, 138, .6) !important; }
html body .vote-toast.is-approved .vote-time { color: var(--pc-ok) !important; text-transform: uppercase; letter-spacing: .1em; }
html body .vote-toast.is-rejected { border-color: rgba(255, 84, 112, .6) !important; }
html body .vote-toast.is-rejected .vote-time { color: var(--pc-hot) !important; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Meus clipes / Minhas screenshots ------------------------------- */
html body .clips-modal {
    background: var(--pc-backdrop) !important;
    -webkit-backdrop-filter: blur(4px) saturate(.5) !important;
    backdrop-filter: blur(4px) saturate(.5) !important;
}
html body .clips-card,
html body.px-mmv2 .clips-card {
    display: flex !important; flex-direction: column !important;
    width: min(760px, calc(100vw - 24px)) !important;
    max-height: calc(100vh - 32px) !important;
    padding: 0 !important;
    background: var(--pc-corners), var(--pc-panel) !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    box-shadow: var(--pc-shadow) !important;
    color: var(--pc-text) !important;
    font-family: var(--pc-body) !important;
    animation: none !important;
}
html body .clips-card h3 {
    margin: 0 !important;
    padding: 18px 64px 14px 20px !important;
    border-bottom: 1px solid var(--pc-line) !important;
    font: 800 20px/1.1 var(--pc-display) !important; letter-spacing: -.02em !important; text-transform: uppercase !important;
    color: var(--pc-text) !important;
}
html body .clips-close {
    top: 14px !important; right: 16px !important;
    width: 34px !important; height: 34px !important;
    background: transparent !important; border: 1px solid var(--pc-line-2) !important; border-radius: 2px !important;
    color: var(--pc-dim) !important; font-size: 18px !important; line-height: 1 !important;
}
html body .clips-close:hover { color: var(--pc-hot) !important; border-color: var(--pc-hot) !important; }
html body .clips-actions {
    display: flex !important; flex-wrap: wrap; align-items: center !important; gap: 8px !important;
    margin: 0 !important; padding: 12px 20px !important;
    border-bottom: 1px solid var(--pc-line);
}
html body .clips-actions button {
    min-height: 36px !important; padding: 0 14px !important;
    background: transparent !important; border: 1px solid var(--pc-line-2) !important; border-radius: 2px !important;
    color: var(--pc-text) !important;
    font: 600 11px var(--pc-mono) !important; letter-spacing: .1em !important; text-transform: uppercase !important;
}
html body .clips-actions button:hover { border-color: var(--pc-text) !important; }
html body .clips-actions button:first-child { background: var(--pc-acid) !important; border-color: var(--pc-acid) !important; color: var(--pc-acid-ink) !important; }
html body .clips-actions button:last-child { margin-left: auto; }
html body .clip-duration-label { gap: 8px !important; font: 500 10px var(--pc-mono) !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--pc-faint) !important; }
html body .clip-duration-label select {
    min-height: 36px !important; padding: 0 8px !important;
    background: var(--pc-ink) !important; border: 1px solid var(--pc-line-2) !important; border-radius: 2px !important;
    color: var(--pc-text) !important; font: 600 12px var(--pc-mono) !important;
}
html body .clip-duration-label select option { background: var(--pc-panel); color: var(--pc-text); }
html body .clips-list {
    display: block !important;
    flex: 1 1 auto; min-height: 120px;
    max-height: none !important;
    overflow-y: auto !important;
    padding: 14px 20px !important;
    color: var(--pc-dim) !important;
    font: 400 13px var(--pc-body) !important;
}
html body .clips-card .modal-ad-slot { margin: 0 20px 16px !important; flex: 0 0 auto; }

/* Grade (PXMedia) */
html body .pxm-count { margin-bottom: 10px; font: 500 10px var(--pc-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--pc-faint); }
html body .pxm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
html body .pxm-card { display: flex; flex-direction: column; background: var(--pc-ink); border: 1px solid var(--pc-line); border-radius: 2px; min-width: 0; }
html body .pxm-card:hover { border-color: var(--pc-line-2); }
html body .pxm-thumb {
    position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0;
    background: #000; border: 0; border-bottom: 1px solid var(--pc-line); border-radius: 0; cursor: pointer; overflow: hidden;
}
html body .pxm-thumb video, html body .pxm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; border-radius: 0; max-height: none; }
html body .pxm-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px; display: grid; place-items: center;
    background: rgba(11, 13, 12, .72); border: 1px solid var(--pc-line-2); border-radius: 2px;
    color: var(--pc-text); font-size: 13px; transition: background .12s, color .12s, border-color .12s;
}
html body .pxm-thumb:hover .pxm-play { background: var(--pc-acid); border-color: var(--pc-acid); color: var(--pc-acid-ink); }
html body .pxm-dur {
    position: absolute; right: 6px; bottom: 6px; padding: 1px 6px;
    background: rgba(11, 13, 12, .85); border: 1px solid var(--pc-line-2); border-radius: 2px;
    font: 600 10px var(--pc-mono); color: var(--pc-text);
}
html body .pxm-meta { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 4px; min-width: 0; }
html body .pxm-meta b { font: 600 13px var(--pc-body); color: var(--pc-text); }
html body .pxm-meta span { font: 500 10px var(--pc-mono); letter-spacing: .04em; color: var(--pc-faint); font-variant-numeric: tabular-nums; }
html body .pxm-acts { display: flex; gap: 6px; padding: 6px 10px 10px; }
html body .pxm-acts button, html body .pxm-acts a {
    flex: 1; display: inline-flex; align-items: center; justify-content: center;
    min-height: 32px; background: transparent; border: 1px solid var(--pc-line-2); border-radius: 2px;
    color: var(--pc-dim); font-size: 12px; cursor: pointer; text-decoration: none;
}
html body .pxm-acts button:hover, html body .pxm-acts a:hover { color: var(--pc-acid); border-color: var(--pc-acid); }
html body .pxm-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    min-height: 160px; padding: 20px;
    border: 1px dashed var(--pc-line-2);
    background: radial-gradient(rgba(233, 239, 228, .05) 1px, transparent 1.2px) 0 0 / 14px 14px;
    text-align: center;
    font: 500 11px/1.5 var(--pc-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--pc-dim);
}
html body .pxm-empty i { font-size: 20px; color: var(--pc-acid); }

/* Visualizador grande */
html body #pxm-view {
    position: fixed; inset: 0; z-index: 100060;
    display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(6, 8, 7, .9);
}
html body .pxm-view-card {
    display: flex; flex-direction: column;
    width: min(1100px, 100%); max-height: 100%;
    background: var(--pc-corners), var(--pc-panel);
    border: 1px solid var(--pc-line-2); border-radius: 2px;
    box-shadow: var(--pc-shadow); color: var(--pc-text); font-family: var(--pc-body);
}
html body .pxm-view-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 12px; border-bottom: 1px solid var(--pc-line); }
html body .pxm-view-kick { font: 500 10px var(--pc-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--pc-acid); }
html body .pxm-view-head h3 { margin: 2px 0 0; font: 800 17px var(--pc-display); text-transform: uppercase; letter-spacing: -.01em; }
html body .pxm-view-x {
    margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center;
    background: transparent; border: 1px solid var(--pc-line-2); border-radius: 2px; color: var(--pc-dim); cursor: pointer;
}
html body .pxm-view-x:hover { color: var(--pc-hot); border-color: var(--pc-hot); }
html body .pxm-view-stage { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; background: #000; }
html body .pxm-view-stage video, html body .pxm-view-stage img { display: block; max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; }
html body .pxm-view-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 56px; display: grid; place-items: center;
    background: rgba(11, 13, 12, .72); border: 1px solid var(--pc-line-2); border-radius: 2px;
    color: var(--pc-text); cursor: pointer;
}
html body .pxm-view-nav.prev { left: 10px; }
html body .pxm-view-nav.next { right: 10px; }
html body .pxm-view-nav:hover:not(:disabled) { border-color: var(--pc-acid); color: var(--pc-acid); }
html body .pxm-view-nav:disabled { opacity: .25; cursor: default; }
html body .pxm-view-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--pc-line); }
html body .pxm-view-foot span { flex: 1 1 auto; font: 500 10.5px var(--pc-mono); letter-spacing: .04em; color: var(--pc-faint); }
html body .pxm-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
    background: transparent; border: 1px solid var(--pc-line-2); border-radius: 2px;
    color: var(--pc-text); text-decoration: none; cursor: pointer;
    font: 600 11px var(--pc-mono); letter-spacing: .1em; text-transform: uppercase;
}
html body .pxm-btn:hover { border-color: var(--pc-acid); color: var(--pc-acid); }

@media (max-width: 640px), (orientation: landscape) and (max-height: 540px) and (pointer: coarse) {
    html body .clips-modal { align-items: stretch !important; justify-content: stretch !important; padding: 0 !important; }
    html body .clips-card,
    html body.px-mmv2 .clips-card {
        width: 100vw !important; height: 100vh !important; height: 100dvh !important; max-height: none !important;
        border: 0 !important;
        padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px) !important;
        box-sizing: border-box !important;
    }
    html body .clips-card h3 { padding: 16px 64px 12px 14px !important; font-size: 17px !important; }
    html body .clips-close { top: calc(10px + env(safe-area-inset-top, 0px)) !important; right: 12px !important; width: 40px !important; height: 40px !important; }
    html body .clips-actions { padding: 10px 14px !important; }
    html body .clips-actions button, html body .clip-duration-label select { min-height: 42px !important; }
    html body .clips-actions button:first-child { flex: 1 1 100%; }
    html body .clips-list { padding: 12px 14px !important; }
    html body .clips-card .modal-ad-slot { display: none !important; }
    html body .pxm-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    html body .pxm-acts button, html body .pxm-acts a { min-height: 40px; }
    html body #pxm-view { padding: 0; }
    html body .pxm-view-card { width: 100%; height: 100%; border: 0; }
    html body .pxm-view-x, html body .pxm-btn { min-height: 42px; }
    html body .pxm-view-x { width: 42px; height: 42px; }
    html body .pxm-view-stage video, html body .pxm-view-stage img { max-height: 100%; }
    html body .pxm-view-foot span { flex: 1 1 100%; }
    html body .pxm-view-foot .pxm-btn { flex: 1; justify-content: center; white-space: nowrap; }
}

/* ---------- Avisos (carrossel do menu) ------------------------------------ */
html body #notices-carousel,
html body.px-mmv2.menu-single-column #notices-carousel {
    background: var(--pc-panel) !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    font-family: var(--pc-body) !important;
    animation: none !important;
}
html body #notices-carousel.ncar-flash { animation: v3NcarFlash 1.2s ease-out !important; }
@keyframes v3NcarFlash { 0%, 40% { border-color: var(--pc-acid); box-shadow: 0 0 0 3px var(--pc-acid-soft); } 100% { border-color: var(--pc-line-2); box-shadow: none; } }
html body #notices-carousel .ncar-head,
html body.px-mmv2.menu-single-column #notices-carousel .ncar-head {
    gap: 8px !important;
    padding: 8px 8px 8px 14px !important;
    background: transparent !important;
    border-bottom: 1px solid var(--pc-line) !important;
    font: 500 10px var(--pc-mono) !important; letter-spacing: .16em !important; text-transform: uppercase !important;
    color: var(--pc-text) !important;
}
html body #notices-carousel .ncar-head i { color: var(--pc-acid) !important; }
html body #notices-carousel .ncar-count { margin-left: auto !important; font: 500 10px var(--pc-mono) !important; color: var(--pc-faint) !important; font-variant-numeric: tabular-nums; }
html body #notices-carousel .ncar-nav {
    width: 26px; height: 26px; display: grid; place-items: center; padding: 0;
    background: transparent; border: 1px solid var(--pc-line-2); border-radius: 2px;
    color: var(--pc-dim); cursor: pointer;
}
html body #notices-carousel .ncar-nav i { color: inherit !important; font-size: 10px; }
html body #notices-carousel .ncar-nav:hover { color: var(--pc-acid); border-color: var(--pc-acid); }
html body #notices-carousel .ncar-slide { padding: 12px 16px 14px !important; border-left: 3px solid var(--pc-line-2) !important; }
html body #notices-carousel .ncar-slide.type-info { border-left-color: var(--pc-info) !important; }
html body #notices-carousel .ncar-slide.type-warning { border-left-color: var(--pc-gold) !important; }
html body #notices-carousel .ncar-slide.type-danger,
html body #notices-carousel .ncar-slide.type-alert { border-left-color: var(--pc-hot) !important; }
html body #notices-carousel .ncar-slide.type-success { border-left-color: var(--pc-ok) !important; }
html body #notices-carousel .ncar-slide.type-event { border-left-color: var(--pc-acid) !important; }
html body #notices-carousel .ncar-slide h3 {
    font: 800 14px/1.2 var(--pc-display) !important; text-transform: uppercase !important; letter-spacing: -.01em !important;
    color: var(--pc-text) !important;
}
html body #notices-carousel .ncar-pin { color: var(--pc-gold); font-size: 11px; }
html body #notices-carousel .ncar-tag {
    border-radius: 2px !important; background: transparent !important; border: 1px solid var(--pc-line-2);
    font: 500 9.5px var(--pc-mono) !important; letter-spacing: .1em !important; color: var(--pc-dim) !important;
}
html body #notices-carousel .type-warning .ncar-tag { color: var(--pc-gold) !important; border-color: rgba(255, 201, 74, .45); }
html body #notices-carousel .type-danger .ncar-tag, html body #notices-carousel .type-alert .ncar-tag { color: var(--pc-hot) !important; border-color: rgba(255, 84, 112, .45); }
html body #notices-carousel .type-success .ncar-tag { color: var(--pc-ok) !important; border-color: rgba(75, 227, 138, .45); }
html body #notices-carousel .type-event .ncar-tag { color: var(--pc-acid) !important; border-color: rgba(212, 255, 58, .45); }
html body #notices-carousel .ncar-body { font: 400 13px/1.5 var(--pc-body) !important; color: var(--pc-dim) !important; }
html body #notices-carousel .ncar-body b, html body #notices-carousel .ncar-body strong { color: var(--pc-text); }
html body #notices-carousel .ncar-body h1, html body #notices-carousel .ncar-body h2 { font-family: var(--pc-display) !important; color: var(--pc-text) !important; }
html body #notices-carousel .ncar-body a { color: var(--pc-acid) !important; }
html body #notices-carousel .ncar-dots { gap: 5px !important; padding: 0 0 10px !important; }
html body #notices-carousel .ncar-dot { width: 14px !important; height: 3px !important; border-radius: 0 !important; background: var(--pc-line-2) !important; transform: none !important; }
html body #notices-carousel .ncar-dot.active { background: var(--pc-acid) !important; width: 22px !important; }
@media (max-width: 640px), (orientation: landscape) and (max-height: 540px) and (pointer: coarse) {
    html body #notices-carousel .ncar-nav { width: 36px; height: 36px; }
}

/* ---------- Rádio: player do HUD, canais, pedido de música ---------------- */
html body #px-radio {
    background: var(--pc-panel) !important;
    border: 1px solid var(--pc-line) !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    font-family: var(--pc-body) !important;
}
html body #px-radio .px-radio-btn { border-radius: 2px !important; background: var(--pc-acid) !important; color: var(--pc-acid-ink) !important; border: 0 !important; }
html body #px-radio .px-radio-btn.on { background: var(--pc-acid) !important; color: var(--pc-acid-ink) !important; }
html body #px-radio .px-radio-name { font: 600 11.5px var(--pc-body) !important; color: var(--pc-text) !important; }
html body #px-radio .px-radio-station i { color: var(--pc-faint) !important; }
html body #px-radio .px-radio-station:hover .px-radio-name,
html body #px-radio .px-radio-station:hover i { color: var(--pc-acid) !important; }
html body #px-radio .px-radio-state { font: 500 9.5px var(--pc-mono) !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: var(--pc-dim) !important; }
html body #px-radio .px-radio-state.on { color: var(--pc-acid) !important; }
html body #px-radio .px-radio-state.err { color: var(--pc-hot) !important; }
html body #px-radio .px-radio-mini { color: var(--pc-dim) !important; border-radius: 2px !important; }
html body #px-radio .px-radio-mini:hover { color: var(--pc-text) !important; }
html body #px-radio .px-radio-mini.on { color: var(--pc-hot) !important; }
html body #px-radio .px-radio-range { accent-color: var(--pc-acid) !important; }
html body #px-radio .px-radio-np { border-top: 1px solid var(--pc-line) !important; font-family: var(--pc-body) !important; }
html body #px-radio .px-radio-np i { color: var(--pc-acid) !important; }
html body #px-radio .px-radio-np-lead { font: 500 9.5px var(--pc-mono) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--pc-faint) !important; }
html body #px-radio .px-radio-song,
html body #px-radio .px-radio-np b { color: var(--pc-text) !important; }
html body #px-radio .px-radio-locutor { color: var(--pc-hot) !important; }
html body #px-radio .px-radio-req {
    border-radius: 2px !important;
    border: 1px solid rgba(212, 255, 58, .45) !important;
    background: transparent !important;
    color: var(--pc-acid) !important;
    font: 600 10px var(--pc-mono) !important; letter-spacing: .1em !important; text-transform: uppercase !important;
}
html body #px-radio .px-radio-req i { color: var(--pc-acid) !important; }
html body #px-radio .px-radio-req:hover { background: var(--pc-acid) !important; color: var(--pc-acid-ink) !important; }
html body #px-radio .px-radio-req:hover i { color: var(--pc-acid-ink) !important; }
html body #px-radio .px-radio-req.is-new { animation: v3ReqNew 2s ease-in-out infinite !important; }
@keyframes v3ReqNew { 50% { box-shadow: 0 0 0 3px var(--pc-acid-soft); } }
html body .px-radio-chmenu {
    border-radius: 2px !important;
    border: 1px solid var(--pc-line-2) !important;
    background: var(--pc-panel) !important;
    box-shadow: var(--pc-shadow) !important;
}
html body .px-radio-chmenu-head {
    border-bottom: 1px solid var(--pc-line) !important; background: transparent !important;
    font: 500 9.5px var(--pc-mono) !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--pc-faint) !important;
}
html body .px-radio-chmenu-head i { color: var(--pc-acid) !important; }
html body .px-radio-chmenu-live { border-radius: 2px !important; background: var(--pc-hot-soft) !important; color: var(--pc-hot) !important; border: 1px solid rgba(255, 84, 112, .45) !important; font-family: var(--pc-mono) !important; }
html body .px-radio-ch { border-radius: 2px !important; color: var(--pc-dim) !important; font: 500 12px var(--pc-body) !important; }
html body .px-radio-ch:hover { background: rgba(233, 239, 228, .04) !important; color: var(--pc-text) !important; }
html body .px-radio-ch.on { background: var(--pc-acid-soft) !important; color: var(--pc-text) !important; box-shadow: inset 2px 0 0 var(--pc-acid); }
html body .px-radio-ch i { color: var(--pc-acid) !important; }
html body .px-radio-tip {
    border-radius: 2px !important;
    border: 1px solid rgba(212, 255, 58, .5) !important;
    background: var(--pc-panel) !important;
    color: var(--pc-text) !important;
    font: 500 11px/1.4 var(--pc-body) !important;
}
html body .px-radio-tip::before { background: var(--pc-panel) !important; border-color: rgba(212, 255, 58, .5) !important; }
html body .px-radio-tip b { color: var(--pc-acid) !important; }
html body .px-radio-tip-x { color: var(--pc-dim) !important; }

/* Pedido de música: campo, espera e "Meus pedidos" */
html body .pxrl-req, html body .pxrl-poll { width: 290px !important; }
html body .pxrl-req-hint { font: 400 12px/1.4 var(--pc-body) !important; color: var(--pc-dim) !important; }
html body .pxrl-req-input {
    min-height: 38px; border-radius: 2px !important;
    border: 1px solid var(--pc-line-2) !important; background: var(--pc-ink) !important;
    color: var(--pc-text) !important; font: 500 13px var(--pc-body) !important;
}
html body .pxrl-req-input:focus { border-color: var(--pc-acid) !important; box-shadow: inset 3px 0 0 var(--pc-acid); }
html body .pxrl-req-send {
    min-height: 38px; border-radius: 2px !important;
    border: 1px solid var(--pc-acid) !important; background: var(--pc-acid) !important; color: var(--pc-acid-ink) !important;
    font: 600 11px var(--pc-mono) !important; letter-spacing: .1em !important; text-transform: uppercase !important;
}
html body .pxrl-req-send:disabled { background: transparent !important; border-color: var(--pc-line-2) !important; color: var(--pc-dim) !important; cursor: default; }
html body .pxrl-req-hist:not(:empty) { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--pc-line); }
html body .pxrl-req-cap { margin-bottom: 6px; font: 500 9.5px var(--pc-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--pc-faint); }
html body .pxrl-req-item { display: grid; grid-template-columns: 1fr auto; gap: 1px 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--pc-line); }
html body .pxrl-req-item:last-child { border-bottom: 0; }
html body .pxrl-req-song { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 12.5px var(--pc-body); color: var(--pc-text); }
html body .pxrl-req-when { grid-column: 1; font: 500 9.5px var(--pc-mono); color: var(--pc-faint); }
html body .pxrl-req-st {
    grid-row: 1 / span 2; grid-column: 2;
    padding: 2px 6px; border: 1px solid var(--pc-line-2); border-radius: 2px;
    font: 500 9.5px var(--pc-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pc-dim);
}
html body .pxrl-req-st.st-pending { color: var(--pc-gold); border-color: rgba(255, 201, 74, .45); }
html body .pxrl-req-st.st-accepted { color: var(--pc-acid); border-color: rgba(212, 255, 58, .45); background: var(--pc-acid-soft); }
html body .pxrl-req-st.st-playing { color: var(--pc-ok); border-color: rgba(75, 227, 138, .45); background: var(--pc-ok-soft); }
html body .pxrl-req-st.st-rejected { color: var(--pc-hot); border-color: rgba(255, 84, 112, .45); }

/* Enquete / quiz da RadioX */
html body .pxrl-poll-q { font: 800 13px/1.3 var(--pc-display) !important; text-transform: uppercase; color: var(--pc-text) !important; }
html body .pxrl-poll-prize { border-radius: 2px !important; border: 1px solid rgba(255, 201, 74, .45) !important; background: var(--pc-gold-soft) !important; color: var(--pc-gold) !important; font: 500 11px var(--pc-mono) !important; }
html body .pxrl-opt {
    min-height: 38px; border-radius: 2px !important;
    border: 1px solid var(--pc-line) !important; background: var(--pc-ink) !important;
    color: var(--pc-text) !important; font: 600 12.5px var(--pc-body) !important;
}
html body .pxrl-opt:hover:not(:disabled) { border-color: var(--pc-acid) !important; background: var(--pc-ink-2) !important; }
html body .pxrl-opt.chosen { border-color: var(--pc-acid) !important; background: var(--pc-acid-soft) !important; }
html body .pxrl-opt-key { border-radius: 2px !important; background: transparent !important; border: 1px solid var(--pc-line-2) !important; color: var(--pc-acid) !important; font-family: var(--pc-mono) !important; }
html body .pxrl-poll-foot { font: 500 10px var(--pc-mono) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--pc-faint) !important; }
html body .pxrl-poll-time { color: var(--pc-acid) !important; }

/* Faixas do topo (avisos ao vivo, evento, resultado), sorteio, prêmio */
html body .pxrl-note,
html body .pxrl-event,
html body .pxrl-result,
html body .pxrl-reqst,
html body .pxrl-prize,
html body .pxrl-raffle {
    border-radius: 2px !important;
    background: var(--pc-panel) !important;
    border: 1px solid var(--pc-line-2) !important;
    box-shadow: var(--pc-shadow) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    color: var(--pc-text) !important;
    font-family: var(--pc-body) !important;
}
html body .pxrl-note { border-left: 3px solid var(--pc-hot) !important; }
html body .pxrl-note i { color: var(--pc-hot) !important; }
html body .pxrl-note.pxrl-info { border-left-color: var(--pc-info) !important; }
html body .pxrl-note.pxrl-info i { color: var(--pc-info) !important; }
html body .pxrl-note.pxrl-warn { border-left-color: var(--pc-gold) !important; }
html body .pxrl-note.pxrl-warn i { color: var(--pc-gold) !important; }
html body .pxrl-note.pxrl-prize { border-left-color: var(--pc-ok) !important; }
html body .pxrl-note.pxrl-prize i { color: var(--pc-ok) !important; }
html body .pxrl-note-by { font: 500 10px var(--pc-mono) !important; color: var(--pc-faint) !important; }
html body .pxrl-event i { color: var(--pc-acid) !important; }
html body .pxrl-event b { font-family: var(--pc-display) !important; text-transform: uppercase; font-size: 12px; }
html body .pxrl-event span { color: var(--pc-dim) !important; }
html body .pxrl-event em { color: var(--pc-gold) !important; }
html body .pxrl-ev-clock { border-radius: 2px !important; font-family: var(--pc-mono) !important; }
html body .pxrl-ev-me.on { color: var(--pc-ok) !important; }
html body .pxrl-ev-me.off { color: var(--pc-hot) !important; }
html body .pxrl-event.is-warmup { border-color: rgba(255, 201, 74, .5) !important; }
html body .pxrl-event.is-winner { border-color: rgba(255, 201, 74, .6) !important; }
html body .pxrl-event.is-winner i { color: var(--pc-gold) !important; }
html body .pxrl-result-head { font: 800 12px var(--pc-display) !important; text-transform: uppercase; }
html body .pxrl-result-head i { color: var(--pc-acid) !important; }
html body .pxrl-res-bar { border-radius: 0 !important; background: var(--pc-line) !important; }
html body .pxrl-res-bar span { border-radius: 0 !important; background: var(--pc-dim) !important; }
html body .pxrl-res-row.is-correct .pxrl-res-bar span { background: var(--pc-ok) !important; }
html body .pxrl-res-row.is-correct .pxrl-res-lbl { color: var(--pc-ok) !important; }
html body .pxrl-res-row.is-top .pxrl-res-bar span { background: var(--pc-acid) !important; }
html body .pxrl-res-pct, html body .pxrl-result-foot { font-family: var(--pc-mono) !important; }
html body .pxrl-raffle { border-color: rgba(255, 201, 74, .55) !important; }
html body .pxrl-raffle-lead { font: 500 10px var(--pc-mono) !important; letter-spacing: .16em !important; color: var(--pc-gold) !important; }
html body .pxrl-raffle-name { font-family: var(--pc-display) !important; text-transform: uppercase; color: var(--pc-text) !important; text-shadow: none !important; }
html body .pxrl-raffle.is-done .pxrl-raffle-name { color: var(--pc-gold) !important; }
html body .pxrl-raffle-prize { color: var(--pc-gold) !important; }
html body .pxrl-prize { border-color: rgba(75, 227, 138, .55) !important; }
html body .pxrl-prize i { color: var(--pc-ok) !important; }
html body .pxrl-prize span, html body .pxrl-prize em { color: var(--pc-dim) !important; }
html body .pxrl-gain { font-family: var(--pc-mono) !important; color: var(--pc-gold) !important; }
html body .pxrl-reqst.is-ok { border-color: rgba(212, 255, 58, .5) !important; }
html body .pxrl-reqst.is-ok i { color: var(--pc-acid) !important; }
html body .pxrl-reqst.is-no { border-color: rgba(255, 84, 112, .5) !important; }
html body .pxrl-reqst.is-no i { color: var(--pc-hot) !important; }
html body .pxrl-reqst span { color: var(--pc-dim) !important; }

/* ---------- Menu da célula (clique direito / toque longo) e painel de admin - */
html body .pxc-usermenu.pxc-um-onmap {
    background: rgba(19, 23, 21, .78) !important;
    border-color: var(--pc-line-2) !important;
    border-radius: 2px !important;
    box-shadow: var(--pc-shadow) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
html body .pxc-usermenu.pxc-um-onmap:hover { background: var(--pc-panel) !important; }
html body .pxc-um-item.pxa-open { color: var(--pc-hot) !important; }
html body .pxc-um-item.pxa-open i { color: var(--pc-hot) !important; }
html body .pxc-um-item.pxa-open:hover { background: var(--pc-hot-soft) !important; color: var(--pc-text) !important; }
html body .pxa-quick {
    padding: 10px !important;
    border-radius: 2px !important;
    background: var(--pc-corners), var(--pc-panel) !important;
    border: 1px solid rgba(255, 84, 112, .45) !important;
    box-shadow: var(--pc-shadow) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    font-family: var(--pc-body) !important;
    color: var(--pc-text);
}
html body .pxa-head {
    border-bottom: 1px solid var(--pc-line) !important;
    font: 500 10px var(--pc-mono) !important; letter-spacing: .12em !important; text-transform: uppercase !important;
    color: var(--pc-dim) !important;
}
html body .pxa-head i { color: var(--pc-hot) !important; }
html body .pxa-head b { color: var(--pc-text) !important; }
html body .pxa-pid { border-radius: 2px !important; background: transparent !important; border: 1px solid rgba(212, 255, 58, .45) !important; color: var(--pc-acid) !important; font-family: var(--pc-mono) !important; }
html body .pxa-pid.err { border-color: rgba(255, 84, 112, .45) !important; color: var(--pc-hot) !important; }
html body .pxa-x { border-radius: 2px !important; background: transparent !important; border: 1px solid var(--pc-line-2) !important; color: var(--pc-dim) !important; }
html body .pxa-x:hover { color: var(--pc-hot) !important; border-color: var(--pc-hot) !important; }
html body .pxa-btn {
    border-radius: 2px !important;
    border: 1px solid var(--pc-line) !important;
    background: var(--pc-ink) !important;
    color: var(--pc-text) !important;
    font: 600 11.5px var(--pc-body) !important;
}
html body .pxa-btn i { color: var(--pc-acid) !important; }
html body .pxa-btn:hover { border-color: var(--pc-acid) !important; background: var(--pc-ink-2) !important; }
html body .pxa-btn.danger i { color: var(--pc-hot) !important; }
html body .pxa-btn.danger:hover { border-color: var(--pc-hot) !important; background: var(--pc-hot-soft) !important; }
html body .pxa-btn.mother i { color: #ce6363 !important; }
html body .pxa-sub { border-top: 1px solid var(--pc-line) !important; }
html body .pxa-label { font: 500 9.5px var(--pc-mono) !important; letter-spacing: .14em !important; color: var(--pc-faint) !important; }
html body .pxa-input, html body .pxa-picker {
    border-radius: 2px !important; border: 1px solid var(--pc-line-2) !important; background: var(--pc-ink) !important;
    color: var(--pc-text) !important; font-family: var(--pc-body) !important;
}
html body .pxa-input:focus { border-color: var(--pc-acid) !important; }
html body .pxa-mini, html body .pxa-chip {
    border-radius: 2px !important; border: 1px solid var(--pc-line-2) !important; background: transparent !important;
    color: var(--pc-text) !important; font: 600 10px var(--pc-mono) !important; letter-spacing: .08em; text-transform: uppercase;
}
html body .pxa-mini.ok { border-color: var(--pc-acid) !important; color: var(--pc-acid) !important; }
html body .pxa-mini.danger { border-color: rgba(255, 84, 112, .5) !important; color: var(--pc-hot) !important; }
html body .pxa-mini:hover, html body .pxa-chip:hover { border-color: var(--pc-text) !important; background: transparent !important; }
html body .pxa-color { border-radius: 2px !important; }
html body .pxa-skin { border-color: var(--pc-line-2) !important; background: var(--pc-ink) !important; }
html body .pxa-skin:hover { border-color: var(--pc-acid) !important; }
html body .pxa-hint, html body .pxa-confirm p { font-family: var(--pc-body) !important; color: var(--pc-dim) !important; }
html body .pxa-skins::-webkit-scrollbar-thumb { background: var(--pc-line-2) !important; border-radius: 0 !important; }
@media (max-width: 640px), (orientation: landscape) and (max-height: 540px) and (pointer: coarse) {
    html body .pxa-btn, html body .pxa-input, html body .pxa-mini { min-height: 40px !important; }
    html body .pxa-x { width: 36px !important; height: 36px !important; }
}

/* ---------- Aviso de ban (renderizado pelo ui.js com estilo inline) -------- */
html body #ban-notice-modal { background: var(--pc-backdrop) !important; -webkit-backdrop-filter: blur(4px) saturate(.5); backdrop-filter: blur(4px) saturate(.5); }
html body #ban-notice-modal > div {
    position: relative;
    background: var(--pc-panel) !important;
    border: 1px solid rgba(255, 84, 112, .55) !important;
    border-top: 3px solid var(--pc-hot) !important;
    border-radius: 2px !important;
    box-shadow: var(--pc-shadow) !important;
    color: var(--pc-text) !important;
    font-family: var(--pc-body) !important;
    padding: 22px 22px 18px !important;
}
html body #ban-notice-modal h2 {
    margin: 0 0 14px !important;
    font: 800 22px/1.1 var(--pc-display) !important; text-transform: uppercase !important; letter-spacing: -.02em !important;
    color: var(--pc-hot) !important;
}
html body #ban-notice-modal p { font: 400 14px/1.5 var(--pc-body) !important; color: var(--pc-dim) !important; margin: 0 0 10px !important; }
html body #ban-notice-modal p strong { font: 500 10px var(--pc-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pc-faint); margin-right: 4px; }
html body #ban-notice-modal p:first-of-type strong { font: 600 14px var(--pc-body); letter-spacing: 0; text-transform: none; color: var(--pc-text); }
html body #ban-notice-modal p:last-of-type { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--pc-line); font-size: 13px !important; }
html body #ban-notice-modal button {
    min-height: 40px !important; padding: 0 20px !important;
    background: transparent !important; border: 1px solid var(--pc-hot) !important; border-radius: 2px !important;
    color: var(--pc-hot) !important;
    font: 600 11px var(--pc-mono) !important; letter-spacing: .12em !important; text-transform: uppercase !important;
    cursor: pointer;
}
html body #ban-notice-modal button:hover { background: var(--pc-hot) !important; color: var(--pc-ink) !important; }

/* ---------- "O que mudou" e "Novidades" (update-restart.js) --------------- */
html body #px-changelog-back { background: var(--pc-backdrop) !important; -webkit-backdrop-filter: blur(4px) saturate(.5) !important; backdrop-filter: blur(4px) saturate(.5) !important; }
html body #px-changelog {
    background: var(--pc-corners), var(--pc-panel) !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    box-shadow: var(--pc-shadow) !important;
    color: var(--pc-text) !important;
    font-family: var(--pc-body) !important;
}
html body #px-changelog .pxcl-head { border-bottom: 1px solid var(--pc-line) !important; padding: 18px 20px 14px !important; align-items: center !important; }
html body #px-changelog .pxcl-kicker { font: 500 10px var(--pc-mono) !important; letter-spacing: .16em !important; color: var(--pc-acid) !important; }
html body #px-changelog h2 { margin-top: 5px !important; font: 800 20px/1.1 var(--pc-display) !important; letter-spacing: -.02em !important; text-transform: uppercase !important; color: var(--pc-text) !important; }
html body #px-changelog .pxcl-x {
    width: 34px !important; height: 34px !important; flex: 0 0 auto;
    background: transparent !important; border: 1px solid var(--pc-line-2) !important; border-radius: 2px !important; color: var(--pc-dim) !important;
}
html body #px-changelog .pxcl-x:hover { color: var(--pc-hot) !important; border-color: var(--pc-hot) !important; }
html body #px-changelog .pxcl-body { padding: 6px 20px 8px !important; }
html body #px-changelog .pxcl-sec + .pxcl-sec { border-top: 1px solid var(--pc-line) !important; }
html body #px-changelog h3 { font: 500 10px var(--pc-mono) !important; letter-spacing: .16em !important; text-transform: uppercase !important; margin-bottom: 10px !important; }
html body #px-changelog .pxcl-new h3 { color: var(--pc-acid) !important; }
html body #px-changelog .pxcl-fix h3 { color: var(--pc-gold) !important; }
html body #px-changelog .pxcl-info h3 { color: var(--pc-info) !important; }
html body #px-changelog li { font: 400 13.5px/1.5 var(--pc-body) !important; color: var(--pc-dim) !important; }
html body #px-changelog li b { color: var(--pc-text) !important; font-weight: 600 !important; }
html body #px-changelog li::before { border-radius: 0 !important; width: 5px !important; height: 5px !important; top: 13px !important; }
html body #px-changelog .pxcl-new li::before { background: var(--pc-acid) !important; }
html body #px-changelog .pxcl-fix li::before { background: var(--pc-gold) !important; }
html body #px-changelog .pxcl-info li::before { background: var(--pc-info) !important; }
html body #px-changelog .pxcl-p2 { border-radius: 2px !important; background: var(--pc-acid) !important; color: var(--pc-acid-ink) !important; font-family: var(--pc-mono) !important; }
html body #px-changelog .pxcl-foot { border-top: 1px solid var(--pc-line) !important; padding: 12px 20px 16px !important; }
html body #px-changelog .pxcl-ok {
    min-height: 44px; border-radius: 2px !important;
    background: var(--pc-acid) !important; border: 0 !important; color: var(--pc-acid-ink) !important;
    font: 800 14px var(--pc-display) !important; letter-spacing: .06em !important; text-transform: uppercase !important;
}
html body #px-changelog .pxcl-ok:hover { box-shadow: 0 0 0 4px var(--pc-acid-soft); }
html body #px-changelog .pxcl-ver { border: 1px solid var(--pc-line) !important; border-radius: 2px !important; background: var(--pc-ink) !important; }
html body #px-changelog .pxcl-ver[open] { border-color: var(--pc-line-2) !important; background: var(--pc-ink-2) !important; }
html body #px-changelog .pxcl-ver > summary:hover .pxcl-vnum { color: var(--pc-acid) !important; }
html body #px-changelog .pxcl-vnum { font: 700 15px var(--pc-mono) !important; color: var(--pc-text) !important; }
html body #px-changelog .pxcl-vnow { border-radius: 2px !important; background: var(--pc-acid) !important; color: var(--pc-acid-ink) !important; font: 600 9.5px var(--pc-mono) !important; letter-spacing: .1em !important; }
html body #px-changelog .pxcl-vmeta { font: 500 10.5px var(--pc-mono) !important; letter-spacing: .04em; color: var(--pc-faint) !important; }
html body #px-changelog .pxcl-vchev { color: var(--pc-faint) !important; }
html body #px-changelog .pxcl-vbody { border-top: 1px solid var(--pc-line) !important; }

/* Contagem do reinício do servidor */
html body #px-restart {
    background: var(--pc-panel) !important;
    border: 1px solid rgba(255, 201, 74, .55) !important;
    border-radius: 2px !important;
    box-shadow: var(--pc-shadow) !important;
    font-family: var(--pc-body) !important;
    color: var(--pc-text) !important;
}
html body #px-restart .pxr-track { stroke: var(--pc-line-2) !important; }
html body #px-restart .pxr-prog { stroke: var(--pc-gold) !important; stroke-linecap: butt !important; }
html body #px-restart .pxr-ring b { font-family: var(--pc-mono) !important; color: var(--pc-gold) !important; }
html body #px-restart .pxr-title { font: 500 10px var(--pc-mono) !important; letter-spacing: .16em !important; color: var(--pc-gold) !important; }
html body #px-restart .pxr-msg { font: 700 14px/1.3 var(--pc-body) !important; color: var(--pc-text) !important; }
html body #px-restart .pxr-sub { font: 400 12px/1.35 var(--pc-body) !important; color: var(--pc-dim) !important; }
html body #px-restart.is-now { border-color: rgba(212, 255, 58, .55) !important; }
html body #px-restart.is-now .pxr-prog { stroke: var(--pc-acid) !important; }
html body #px-restart.is-now .pxr-ring b { color: var(--pc-acid) !important; }

/* Aviso de versão nova (main_out.js, estilo inline) */
html body #agariobr-update-toast {
    background: var(--pc-panel) !important;
    border: 1px solid var(--pc-line-2) !important;
    border-left: 3px solid var(--pc-acid) !important;
    border-radius: 2px !important;
    box-shadow: var(--pc-shadow) !important;
    font-family: var(--pc-body) !important;
    padding: 14px !important;
}
html body #agariobr-update-toast > div:first-child { font: 500 10px var(--pc-mono) !important; letter-spacing: .16em !important; text-transform: uppercase !important; color: var(--pc-acid) !important; margin-bottom: 6px !important; }
html body #agariobr-update-toast > div:nth-child(2) { font: 400 13px/1.45 var(--pc-body) !important; color: var(--pc-dim) !important; }
html body #agariobr-update-toast button {
    min-height: 38px !important;
    border-radius: 2px !important;
    font: 600 11px var(--pc-mono) !important; letter-spacing: .1em !important; text-transform: uppercase !important;
    background: transparent !important; border: 1px solid var(--pc-line-2) !important; color: var(--pc-dim) !important;
}
html body #agariobr-update-toast #agariobr-toast-update-btn { background: var(--pc-acid) !important; border-color: var(--pc-acid) !important; color: var(--pc-acid-ink) !important; }

@media (max-width: 640px), (orientation: landscape) and (max-height: 540px) and (pointer: coarse) {
    html body #px-changelog {
        left: 0 !important; top: 0 !important; transform: none !important;
        width: 100vw !important; height: 100vh !important; height: 100dvh !important; max-height: none !important;
        border: 0 !important;
        padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
        box-sizing: border-box;
        animation: none !important;
    }
    html body #px-changelog .pxcl-head { padding: 14px 14px 12px !important; }
    html body #px-changelog h2 { font-size: 17px !important; }
    html body #px-changelog .pxcl-x { width: 40px !important; height: 40px !important; }
    html body #px-changelog .pxcl-body { flex: 1 1 auto; padding: 4px 14px !important; }
    html body #px-changelog .pxcl-foot { padding: 10px 14px 12px !important; }
    html body #agariobr-update-toast { left: 12px !important; right: 12px !important; bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important; max-width: none !important; }
    html body #agariobr-update-toast button { min-height: 42px !important; }
}

/* ---------- "Instalar app" no celular -------------------------------------- */
html body #pwa-gate {
    background:
        radial-gradient(rgba(233, 239, 228, .05) 1px, transparent 1.2px) 0 0 / 16px 16px,
        var(--pc-ink) !important;
    font-family: var(--pc-body) !important;
}
html body .pwa-gate-card { max-width: 400px !important; }
html body .pwa-gate-logo { border-radius: 2px !important; box-shadow: none !important; border: 1px solid var(--pc-line-2); animation: none !important; }
html body .pwa-gate-title {
    font: 900 28px/1 var(--pc-display) !important; text-transform: uppercase !important; letter-spacing: -.02em !important;
    background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--pc-text) !important;
}
html body .pwa-gate-sub { font: 400 15px/1.45 var(--pc-body) !important; color: var(--pc-dim) !important; }
html body .pwa-gate-feats li {
    border-radius: 2px !important; background: var(--pc-panel) !important; border: 1px solid var(--pc-line) !important;
    color: var(--pc-text) !important; font: 500 14px var(--pc-body) !important; box-shadow: none !important;
}
html body .pwa-gate-install {
    border-radius: 2px !important; background: var(--pc-acid) !important; border: 0 !important; color: var(--pc-acid-ink) !important;
    font: 800 16px var(--pc-display) !important; letter-spacing: .04em !important; text-transform: uppercase !important;
    box-shadow: none !important; animation: none !important;
}
html body .pwa-gate-ios, html body .pwa-gate-hint {
    border-radius: 2px !important; background: var(--pc-panel) !important; border: 1px solid var(--pc-line-2) !important;
    color: var(--pc-dim) !important; font-family: var(--pc-body) !important;
}
html body .pwa-gate-ios p { color: var(--pc-text) !important; }
html body .pwa-gate-ios strong { color: var(--pc-acid) !important; }
html body .pwa-gate-ios-share { border-radius: 2px !important; }
html body .pwa-gate-skip {
    min-height: 44px; border-radius: 2px !important;
    background: transparent !important; border: 1px solid var(--pc-line-2) !important; color: var(--pc-dim) !important;
    font: 600 11px var(--pc-mono) !important; letter-spacing: .12em !important; text-transform: uppercase !important; text-decoration: none !important;
}
html body #pwa-banner {
    background: var(--pc-panel) !important;
    border-top: 1px solid var(--pc-line-2) !important;
    box-shadow: 0 -20px 60px -10px rgba(0, 0, 0, .8) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    font-family: var(--pc-body) !important;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
}
html body #pwa-banner .pwa-icon { border-radius: 2px !important; background: var(--pc-ink) !important; border: 1px solid var(--pc-line-2) !important; width: 46px !important; height: 46px !important; font-size: 26px !important; }
html body #pwa-banner .pwa-text strong { font: 800 13px var(--pc-display) !important; text-transform: uppercase !important; color: var(--pc-text) !important; }
html body #pwa-banner .pwa-text span { font: 400 12px var(--pc-body) !important; color: var(--pc-dim) !important; }
html body #pwa-banner .pwa-install {
    min-height: 40px; border-radius: 2px !important; background: var(--pc-acid) !important; color: var(--pc-acid-ink) !important; box-shadow: none !important;
    font: 600 11px var(--pc-mono) !important; letter-spacing: .1em !important; text-transform: uppercase !important;
}
html body #pwa-banner .pwa-dismiss { width: 40px; height: 40px; color: var(--pc-dim) !important; border: 1px solid var(--pc-line-2) !important; border-radius: 2px !important; font-size: 16px !important; }

/* ---------- Tutorial e aviso de modo (tutorial.js) ------------------------ */
html body #tut-spot {
    border-radius: 2px !important;
    border: 2px solid var(--pc-acid) !important;
    animation: v3TutPulse 1.6s ease-in-out infinite !important;
    box-shadow: 0 0 0 9999px rgba(6, 8, 7, .8) !important;
}
@keyframes v3TutPulse {
    0%, 100% { box-shadow: 0 0 0 9999px rgba(6, 8, 7, .8), 0 0 0 0 var(--pc-acid-soft); }
    50% { box-shadow: 0 0 0 9999px rgba(6, 8, 7, .8), 0 0 0 6px var(--pc-acid-soft); }
}
html body #tut-callout {
    padding: 16px 16px 14px !important;
    background: var(--pc-corners), var(--pc-panel) !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    box-shadow: var(--pc-shadow) !important;
    color: var(--pc-text) !important;
    font-family: var(--pc-body) !important;
}
html body #tut-emoji { font-size: 24px !important; }
html body #tut-title { font: 800 16px/1.15 var(--pc-display) !important; text-transform: uppercase !important; letter-spacing: -.01em !important; color: var(--pc-text) !important; }
html body #tut-text { font: 400 13.5px/1.5 var(--pc-body) !important; color: var(--pc-dim) !important; }
html body #tut-text b { color: var(--pc-text); }
html body #tut-text kbd { border-radius: 2px !important; border-color: var(--pc-line-2) !important; background: var(--pc-ink) !important; color: var(--pc-text) !important; font-family: var(--pc-mono) !important; }
html body #tut-progress { font: 500 10px var(--pc-mono) !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--pc-faint) !important; }
html body #tut-dots { gap: 4px !important; margin: 10px 0 12px !important; }
html body .tut-dot { width: 12px !important; height: 3px !important; border-radius: 0 !important; background: var(--pc-line-2) !important; transform: none !important; }
html body .tut-dot.on { background: var(--pc-acid) !important; width: 20px !important; }
html body #tut-actions button {
    min-height: 38px !important; border-radius: 2px !important;
    background: transparent !important; border: 1px solid var(--pc-line-2) !important; color: var(--pc-text) !important;
    font: 600 11px var(--pc-mono) !important; letter-spacing: .1em !important; text-transform: uppercase !important;
}
html body #tut-actions button:hover { border-color: var(--pc-text) !important; }
html body #tut-actions .tut-primary { background: var(--pc-acid) !important; border-color: var(--pc-acid) !important; color: var(--pc-acid-ink) !important; }
html body #tut-actions #tut-skip { border-color: transparent !important; color: var(--pc-dim) !important; }
html body #tut-help-btn {
    background: var(--pc-panel) !important; border: 1px solid var(--pc-line-2) !important; border-radius: 2px !important;
    color: var(--pc-dim) !important; font: 700 16px var(--pc-mono) !important; box-shadow: none !important;
}
html body #tut-help-btn:hover { color: var(--pc-acid) !important; border-color: var(--pc-acid) !important; }

html body #px-modehelp { background: var(--pc-backdrop) !important; -webkit-backdrop-filter: blur(4px) saturate(.5); backdrop-filter: blur(4px) saturate(.5); }
html body #px-modehelp .pmh-card {
    border-radius: 2px !important;
    background: var(--pc-corners), var(--pc-panel) !important;
    border: 1px solid var(--pc-line-2) !important;
    box-shadow: var(--pc-shadow) !important;
    color: var(--pc-text) !important;
    font: 400 14px/1.55 var(--pc-body) !important;
}
html body #px-modehelp .pmh-ico { border-radius: 2px !important; background: var(--pc-acid-soft) !important; border: 1px solid rgba(212, 255, 58, .45) !important; }
html body #px-modehelp .pmh-kick { font: 500 10px var(--pc-mono) !important; letter-spacing: .16em !important; color: var(--pc-acid) !important; }
html body #px-modehelp h3 { font: 800 18px/1.15 var(--pc-display) !important; text-transform: uppercase !important; letter-spacing: -.01em !important; color: var(--pc-text) !important; }
html body #px-modehelp p { color: var(--pc-dim) !important; }
html body #px-modehelp p b { color: var(--pc-text); }
html body #px-modehelp .pmh-keys li { padding: 6px 8px; background: var(--pc-ink); border: 1px solid var(--pc-line); border-radius: 2px; color: var(--pc-text); font-size: 13px; }
html body #px-modehelp kbd { border-radius: 2px !important; border-color: rgba(212, 255, 58, .45) !important; background: transparent !important; color: var(--pc-acid) !important; font-family: var(--pc-mono) !important; }
html body #px-modehelp .pmh-foot { font-size: 12.5px !important; color: var(--pc-faint) !important; }
html body #px-modehelp .pmh-ok {
    min-height: 44px; border-radius: 2px !important;
    background: var(--pc-acid) !important; color: var(--pc-acid-ink) !important;
    font: 800 14px var(--pc-display) !important; letter-spacing: .06em !important; text-transform: uppercase !important;
}

/* ---------- Configurações, Aparência, Loja e Login em QUALQUER tela --------
   No PC ≥1025px o pc-redesign.css ("Modais: base comum") já pinta o básico;
   aqui o mesmo tema vale também em telas menores e no celular, mais os
   detalhes que lá não existem (controles, linhas da loja, PIX, OTP). */
html body #pxs-modal,
html body #pxg-modal,
html body .coin-store-card,
html body.px-mmv2 .coin-store-card,
html body .auth-modal-card,
html body.px-mmv2 .auth-modal-card {
    background: var(--pc-corners), var(--pc-panel) !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    box-shadow: var(--pc-shadow) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    color: var(--pc-text) !important;
    font-family: var(--pc-body) !important;
}
html body #pxs-modal::before, html body #pxs-modal::after,
html body #pxg-modal::before, html body #pxg-modal::after,
html body .coin-store-card::before, html body .auth-modal-card::before { display: none !important; }
html body #pxs-back, html body #pxg-back,
html body #coin-store-modal,
html body #auth-modal,
html body #phone-verify-modal { background: var(--pc-backdrop) !important; -webkit-backdrop-filter: blur(4px) saturate(.5) !important; backdrop-filter: blur(4px) saturate(.5) !important; }

/* Cabeçalhos e fechar */
html body #pxs-modal .pxs-head,
html body #pxg-modal .pxg-head,
html body .coin-store-header,
html body .auth-modal-header { border-bottom: 1px solid var(--pc-line) !important; background: transparent !important; }
html body #pxs-modal .pxs-head h2,
html body #pxg-modal .pxg-head h2,
html body .coin-store-header h3,
html body #auth-modal-title,
html body #phone-verify-modal .pv-header h3 {
    font: 800 20px/1.1 var(--pc-display) !important;
    letter-spacing: -.02em !important;
    text-transform: uppercase !important;
    color: var(--pc-text) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}
html body #pxs-modal .pxs-head h2 i,
html body #pxg-modal .pxg-head h2 i { color: var(--pc-acid) !important; }
html body .coin-store-header span { font: 500 11px var(--pc-mono) !important; color: var(--pc-dim) !important; letter-spacing: .06em !important; }
html body .coin-store-header strong { color: var(--pc-gold) !important; }
html body #pxs-modal .pxs-x,
html body #pxg-modal .pxg-x,
html body .coin-store-close,
html body .auth-modal-close {
    background: transparent !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    color: var(--pc-dim) !important;
    box-shadow: none !important;
}
html body #pxs-modal .pxs-x:hover,
html body #pxg-modal .pxg-x:hover,
html body .coin-store-close:hover,
html body .auth-modal-close:hover { color: var(--pc-hot) !important; border-color: var(--pc-hot) !important; }

/* Busca */
html body #pxs-q,
html body #pxg-q {
    background: var(--pc-ink) !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    color: var(--pc-text) !important;
    font: 500 12px var(--pc-mono) !important;
    box-shadow: none !important;
}
html body #pxs-q:focus, html body #pxg-q:focus { border-color: var(--pc-acid) !important; outline: none !important; }
html body .pxs-search > i, html body .pxg-search > i { color: var(--pc-faint) !important; }
html body .pxs-q-x { color: var(--pc-faint) !important; background: transparent !important; border-radius: 2px !important; }

/* Navegação lateral */
html body #pxs-nav,
html body .pxg-nav { background: var(--pc-ink-2) !important; border-right: 1px solid var(--pc-line) !important; }
html body #pxs-nav .pxs-nav-group { font: 500 10px var(--pc-mono) !important; letter-spacing: .16em !important; color: var(--pc-faint) !important; }
html body #pxs-nav button,
html body .pxg-nav button {
    background: transparent !important;
    border: 0 !important;
    border-left: 2px solid transparent !important;
    border-radius: 0 !important;
    color: var(--pc-dim) !important;
    font: 600 14px var(--pc-body) !important;
    box-shadow: none !important;
}
html body #pxs-nav button i, html body .pxg-nav button i { color: var(--pc-faint) !important; }
html body #pxs-nav button:hover, html body .pxg-nav button:hover { color: var(--pc-text) !important; background: rgba(233, 239, 228, .03) !important; }
html body #pxs-nav button.on, html body .pxg-nav button.on { color: var(--pc-text) !important; background: var(--pc-acid-soft) !important; border-left-color: var(--pc-acid) !important; }
html body #pxs-nav button.on i, html body .pxg-nav button.on i { color: var(--pc-acid) !important; }
html body .pxg-nav .pxg-count { background: transparent !important; border: 1px solid var(--pc-line-2) !important; border-radius: 2px !important; color: var(--pc-dim) !important; font: 500 10px var(--pc-mono) !important; }

/* Conteúdo */
html body #pxs-modal .pxs-sec-title,
html body #pxg-modal .pxg-sec-title { font: 800 18px var(--pc-display) !important; text-transform: uppercase !important; letter-spacing: -.01em !important; color: var(--pc-text) !important; }
html body #pxs-modal .pxs-sec-desc,
html body #pxg-modal .pxg-sec-desc { font: 400 13px var(--pc-body) !important; color: var(--pc-dim) !important; }
html body #pxs-modal .pxs-card,
html body #pxg-modal .pxg-card { background: var(--pc-ink-2) !important; border: 1px solid var(--pc-line) !important; border-radius: 2px !important; box-shadow: none !important; }
html body #pxs-modal .pxs-card-head,
html body #pxg-modal .pxg-card-head,
html body #pxg-modal .pxg-group {
    background: transparent !important;
    border-bottom: 1px solid var(--pc-line) !important;
    font: 500 10px var(--pc-mono) !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: var(--pc-acid) !important;
}
html body #pxg-modal .pxg-group { border-bottom: 0 !important; }
html body #pxg-modal .pxg-group .pxg-line { background: var(--pc-line) !important; }
html body #pxs-modal .pxs-card-head i { color: var(--pc-acid) !important; }
html body #pxs-modal .pxs-row { border-color: var(--pc-line) !important; }
html body #pxs-modal .pxs-row:hover { background: rgba(233, 239, 228, .02) !important; }
html body #pxs-modal .pxs-row-lab { font: 600 14px var(--pc-body) !important; color: var(--pc-text) !important; }
html body #pxs-modal .pxs-row-desc { font: 400 12px var(--pc-body) !important; color: var(--pc-dim) !important; }

/* Controles */
html body #pxs-modal .pxs-sw { background: transparent !important; border: 1px solid var(--pc-line-2) !important; border-radius: 2px !important; box-shadow: none !important; }
html body #pxs-modal .pxs-sw::after,
html body #pxs-modal .pxs-sw::before { border-radius: 1px !important; background: var(--pc-faint) !important; box-shadow: none !important; }
html body #pxs-modal .pxs-sw.on { background: var(--pc-acid) !important; border-color: var(--pc-acid) !important; }
html body #pxs-modal .pxs-sw.on::after,
html body #pxs-modal .pxs-sw.on::before { background: var(--pc-acid-ink) !important; }
html body #pxs-modal .pxs-btn,
html body #pxg-modal .pxg-btn,
html body #pxs-modal .pxs-sel,
html body #pxs-modal .pxs-key {
    background: transparent !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    color: var(--pc-text) !important;
    font: 600 11px var(--pc-mono) !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}
html body #pxs-modal .pxs-sel { background: var(--pc-ink) !important; text-transform: none !important; letter-spacing: .02em !important; }
html body #pxs-modal .pxs-sel option { background: var(--pc-panel) !important; color: var(--pc-text) !important; }
html body #pxs-modal .pxs-key { color: var(--pc-acid) !important; border-color: rgba(212, 255, 58, .4) !important; }
html body #pxs-modal .pxs-key.capturing { color: var(--pc-gold) !important; border-color: var(--pc-gold) !important; background: var(--pc-gold-soft) !important; }
html body #pxs-modal .pxs-btn:hover,
html body #pxg-modal .pxg-btn:hover,
html body #pxs-modal .pxs-key:hover { border-color: var(--pc-text) !important; background: transparent !important; }
html body #pxs-modal .pxs-btn.accent,
html body #pxs-done,
html body #pxg-done,
html body #pxg-modal .pxg-btn:not(.ghost):not(.danger) { background: var(--pc-acid) !important; border-color: var(--pc-acid) !important; color: var(--pc-acid-ink) !important; }
html body #pxs-modal .pxs-btn.ghost, html body #pxg-modal .pxg-btn.ghost { color: var(--pc-dim) !important; }
html body #pxg-modal .pxg-btn.danger { border-color: rgba(255, 84, 112, .5) !important; color: var(--pc-hot) !important; }
html body #pxs-modal .pxs-range input[type="range"] { height: 3px !important; border-radius: 0 !important; background: var(--pc-line-2) !important; }
html body #pxs-modal .pxs-range input[type="range"]::-webkit-slider-thumb { border-radius: 1px !important; background: var(--pc-acid) !important; box-shadow: none !important; }
html body #pxs-modal .pxs-range input[type="range"]::-moz-range-thumb { border-radius: 1px !important; background: var(--pc-acid) !important; }
html body #pxs-modal .pxs-range-val { font: 600 11px var(--pc-mono) !important; color: var(--pc-acid) !important; }
html body #pxs-modal .pxs-choice { border: 1px solid var(--pc-line) !important; border-radius: 2px !important; background: var(--pc-ink) !important; }
html body #pxs-modal .pxs-choice:hover { border-color: var(--pc-line-2) !important; }
html body #pxs-modal .pxs-choice.on { border-color: var(--pc-acid) !important; background: var(--pc-acid-soft) !important; }
html body #pxs-modal .pxs-choice-t { font: 700 13px var(--pc-body) !important; color: var(--pc-text) !important; }
html body #pxs-modal .pxs-choice-tag { border-radius: 2px !important; background: transparent !important; border: 1px solid rgba(212, 255, 58, .45); color: var(--pc-acid) !important; font: 500 9.5px var(--pc-mono) !important; }
html body #pxs-modal .pxs-choice-d { color: var(--pc-dim) !important; }
html body #pxs-modal .pxs-sw-color { border-radius: 2px !important; }
html body #pxs-modal .pxs-sw-color.on { outline-color: var(--pc-acid) !important; }
html body #pxs-modal .pxs-pick { border-radius: 2px !important; border-color: var(--pc-line-2) !important; }
html body #pxs-modal .pxs-note,
html body #pxg-modal .pxg-note { border-radius: 2px !important; border: 1px solid rgba(255, 201, 74, .35) !important; background: var(--pc-gold-soft) !important; color: var(--pc-gold) !important; font: 400 12px/1.45 var(--pc-body) !important; }
html body #pxs-modal .pxs-foot,
html body #pxg-modal .pxg-foot { border-top: 1px solid var(--pc-line) !important; background: transparent !important; font: 400 12px var(--pc-body) !important; color: var(--pc-dim) !important; }
html body #pxs-modal .pxs-content::-webkit-scrollbar-thumb,
html body #pxg-modal .pxg-content::-webkit-scrollbar-thumb { background: var(--pc-line-2) !important; border-radius: 0 !important; }

/* Galeria */
html body #pxg-modal .pxg-preview { background: var(--pc-ink) !important; border: 1px solid var(--pc-line-2) !important; border-radius: 2px !important; }
html body #pxg-modal .pxg-eq { color: var(--pc-dim) !important; font-family: var(--pc-body) !important; }
html body #pxg-modal .pxg-eq b { color: var(--pc-text) !important; }
html body #pxg-modal .pxg-item {
    background: var(--pc-ink-2) !important;
    border: 1px solid var(--pc-line) !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    transition: border-color .12s, transform .12s !important;
}
html body #pxg-modal .pxg-item:hover { border-color: var(--pc-line-2) !important; transform: translateY(-2px) !important; }
html body #pxg-modal .pxg-item.on { border-color: var(--pc-acid) !important; background: var(--pc-acid-soft) !important; }
html body #pxg-modal .pxg-item.on::after { border-radius: 1px !important; background: var(--pc-acid) !important; color: var(--pc-acid-ink) !important; }
html body #pxg-modal .pxg-item.locked:hover { transform: none !important; border-color: var(--pc-line) !important; }
html body #pxg-modal .pxg-thumb { background: var(--pc-ink) !important; border: 1px dashed var(--pc-line-2) !important; }
html body #pxg-modal .pxg-name { font: 600 12px var(--pc-body) !important; color: var(--pc-text) !important; }
html body #pxg-modal .pxg-req { font: 500 9.5px var(--pc-mono) !important; color: var(--pc-faint) !important; }
html body #pxg-modal .pxg-tag { border-radius: 2px !important; font: 500 9px var(--pc-mono) !important; letter-spacing: .08em !important; border: 1px solid currentColor; background: transparent !important; }
html body #pxg-modal .pxg-tag.priv { color: var(--pc-gold) !important; }
html body #pxg-modal .pxg-tag.wait { color: var(--pc-info) !important; }
html body #pxg-modal .pxg-tag.no { color: var(--pc-hot) !important; }
html body #pxg-modal .pxg-tag.ok { color: var(--pc-ok) !important; }
html body #pxg-modal .pxg-tag.gif { color: var(--pc-acid) !important; }
html body #pxg-modal .pxg-drop { border: 1px dashed var(--pc-line-2) !important; border-radius: 2px !important; background: radial-gradient(rgba(233, 239, 228, .05) 1px, transparent 1.2px) 0 0 / 14px 14px !important; }
html body #pxg-modal .pxg-drop:hover, html body #pxg-modal .pxg-drop.over { border-color: var(--pc-acid) !important; }
html body #pxg-modal .pxg-drop i { color: var(--pc-acid) !important; }
html body #pxg-modal .pxg-drop-t { font: 700 14px var(--pc-body) !important; color: var(--pc-text) !important; }
html body #pxg-modal .pxg-drop-d, html body #pxg-modal .pxg-sel-info { color: var(--pc-dim) !important; }
html body #pxg-modal .pxg-rule { border-radius: 2px !important; border-color: var(--pc-line) !important; background: transparent !important; color: var(--pc-dim) !important; font-family: var(--pc-body) !important; }
html body #pxg-modal .pxg-rule i { color: var(--pc-acid) !important; }
html body #pxg-modal .pxg-sel-file,
html body #pxg-modal .pxg-vis label { border-radius: 2px !important; border-color: var(--pc-line) !important; background: var(--pc-ink) !important; }
html body #pxg-modal .pxg-vis label.on { border-color: var(--pc-acid) !important; background: var(--pc-acid-soft) !important; }
html body #pxg-modal .pxg-msg.err { color: var(--pc-hot) !important; }
html body #pxg-modal .pxg-msg.ok { color: var(--pc-ok) !important; }
html body #pxg-modal .pxg-off { border-radius: 2px !important; border-color: rgba(255, 201, 74, .35) !important; background: var(--pc-gold-soft) !important; color: var(--pc-gold) !important; }
html body #pxg-modal .pxg-off > i, html body #pxg-modal .pxg-off b { color: var(--pc-gold) !important; }
html body #pxg-modal .pxg-empty { border: 1px dashed var(--pc-line-2); background: radial-gradient(rgba(233, 239, 228, .05) 1px, transparent 1.2px) 0 0 / 14px 14px; font: 500 11px var(--pc-mono) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--pc-dim) !important; }
html body #pxg-modal .pxg-empty i { color: var(--pc-acid) !important; }
html body #pxg-modal .pxg-del { border-radius: 2px !important; background: rgba(11, 13, 12, .85) !important; border-color: rgba(255, 84, 112, .45) !important; color: var(--pc-hot) !important; }

/* Loja */
html body .coin-store-tabs { display: flex !important; gap: 2px !important; padding: 0 20px !important; border-bottom: 1px solid var(--pc-line); }
html body .coin-store-tab,
html body.px-mmv2 .coin-store-tab.active {
    position: relative;
    flex: 0 0 auto;
    min-height: 42px !important;
    padding: 0 14px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--pc-dim) !important;
    font: 600 11px var(--pc-mono) !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}
html body .coin-store-tab:hover { color: var(--pc-text) !important; }
html body .coin-store-tab.active,
html body.px-mmv2 .coin-store-tab.active { color: var(--pc-text) !important; background: transparent !important; }
html body .coin-store-tab.active::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--pc-acid); }
html body .coin-store-body { padding: 16px 20px !important; font-family: var(--pc-body); color: var(--pc-text); }
html body .coin-store-slots {
    background: transparent !important; border: 1px dashed rgba(255, 201, 74, .4) !important; border-radius: 2px !important;
    color: var(--pc-dim) !important; font: 500 12px var(--pc-mono) !important;
}
html body .coin-store-slots strong { color: var(--pc-gold) !important; }
html body .coin-store-price-section h4 { font: 800 16px var(--pc-display) !important; text-transform: uppercase !important; letter-spacing: -.01em !important; color: var(--pc-text) !important; }
html body .coin-store-note { font: 400 12px/1.45 var(--pc-body) !important; color: var(--pc-dim) !important; opacity: 1 !important; }
html body .coin-store-price-table { border-top: 1px solid var(--pc-line) !important; }
html body .coin-store-price-table div { border-bottom: 1px solid var(--pc-line) !important; color: var(--pc-text) !important; font: 500 14px var(--pc-body) !important; }
html body .coin-store-price-table div > span { flex: 1 1 auto; min-width: 0; }
html body .coin-store-price-table strong { font: 600 13px var(--pc-mono) !important; color: var(--pc-gold) !important; }
html body .coin-store-price-table button,
html body .coin-store-upload button,
html body .coin-store-pix button {
    min-height: 34px !important; padding: 0 14px !important;
    background: transparent !important; border: 1px solid rgba(212, 255, 58, .5) !important; border-radius: 2px !important;
    color: var(--pc-acid) !important;
    font: 600 11px var(--pc-mono) !important; letter-spacing: .1em !important; text-transform: uppercase !important;
}
html body .coin-store-price-table button:hover:not(:disabled),
html body .coin-store-pix button:hover { background: var(--pc-acid) !important; color: var(--pc-acid-ink) !important; }
html body .coin-store-price-table button:disabled { border-color: var(--pc-line-2) !important; color: var(--pc-dim) !important; cursor: default; }
html body .coin-package-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; gap: 8px !important; }
html body .coin-package-card {
    min-height: 124px !important;
    background: var(--pc-ink-2) !important;
    border: 1px solid var(--pc-line) !important;
    border-radius: 2px !important;
    color: var(--pc-text) !important;
    font-family: var(--pc-body) !important;
    gap: 6px !important;
    transition: border-color .12s, transform .12s;
}
html body .coin-package-card:hover { border-color: var(--pc-gold) !important; background: var(--pc-gold-soft) !important; transform: translateY(-2px); }
html body .coin-package-card span { font: 500 10px var(--pc-mono) !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--pc-faint) !important; }
html body .coin-package-card strong { font: 800 18px var(--pc-display) !important; color: var(--pc-gold) !important; }
html body .coin-package-card em { display: inline-block; margin-top: 2px; padding: 3px 10px; border: 1px solid var(--pc-line-2); border-radius: 2px; font: 600 12px var(--pc-mono) !important; color: var(--pc-text) !important; }
html body .coin-package-card:hover em { background: var(--pc-acid); border-color: var(--pc-acid); color: var(--pc-acid-ink) !important; }
html body .coin-store-pix { background: var(--pc-ink) !important; border: 1px solid var(--pc-line-2) !important; border-radius: 2px !important; }
html body .coin-store-pix-head { font: 500 11px var(--pc-mono) !important; letter-spacing: .06em; color: var(--pc-dim) !important; }
html body .coin-store-pix-head strong { font: 800 14px var(--pc-display) !important; text-transform: uppercase; color: var(--pc-acid) !important; }
html body .coin-store-qr { border-radius: 2px !important; }
html body #coin-store-copy { background: var(--pc-ink-2) !important; border: 1px solid var(--pc-line-2) !important; border-radius: 2px !important; color: var(--pc-text) !important; font: 500 11px var(--pc-mono) !important; }
html body .coin-store-status, html body .coin-store-empty { font: 500 11px var(--pc-mono) !important; letter-spacing: .04em; color: var(--pc-dim) !important; }
html body .coin-store-error { font: 500 12px var(--pc-body) !important; color: var(--pc-hot) !important; }
html body .coin-store-upload, html body .private-skin-row { background: var(--pc-ink) !important; border: 1px solid var(--pc-line) !important; border-radius: 2px !important; }
html body .private-skin-row strong { color: var(--pc-text) !important; }
html body .private-skin-row span { color: var(--pc-dim) !important; }
html body .modal-ad-slot { background: var(--pc-ink) !important; border: 1px dashed var(--pc-line-2) !important; border-radius: 2px !important; color: var(--pc-faint) !important; font-family: var(--pc-mono) !important; box-shadow: none !important; }
html body .modal-ad-slot * { border-color: transparent !important; color: var(--pc-faint) !important; }

/* Login / cadastro / verificação */
html body .auth-mode-tabs { display: flex !important; gap: 2px !important; padding: 0 18px !important; border-bottom: 1px solid var(--pc-line); }
html body .auth-mode-tabs button {
    position: relative;
    flex: 1 1 0;
    min-height: 44px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--pc-dim) !important;
    font: 600 11px var(--pc-mono) !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}
html body .auth-mode-tabs button.active { color: var(--pc-text) !important; background: transparent !important; }
html body .auth-mode-tabs button.active::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--pc-acid); }
html body .auth-form-grid { padding-top: 16px !important; }
/* Passo do código SMS: esconde abas/formulário (o display:flex acima venceria a regra antiga) */
html body #auth-modal[data-otp="1"] .auth-mode-tabs { display: none !important; }
html body #auth-modal[data-otp="1"] #otp-step,
html body #phone-verify-modal .otp-step { display: flex !important; flex-direction: column !important; gap: 10px !important; padding: 18px 18px 16px !important; }
html body #phone-verify-modal #pv-otp[style*="none"] { display: none !important; }
/* O otp.js liga os passos com style.display = 'block', que desmontava a coluna */
html body #phone-verify-modal #pv-enter:not([style*="none"]) { display: flex !important; flex-direction: column; gap: 12px; }
html body #phone-verify-modal .pv-hero { animation: none !important; }
html body #auth-modal #otp-step .auth-submit,
html body #auth-modal #otp-step .otp-secondary { width: 100%; }
html body #auth-modal .form-control,
html body #phone-verify-modal .form-control {
    min-height: 44px;
    background: var(--pc-ink) !important;
    border: 1px solid var(--pc-line-2) !important;
    border-radius: 2px !important;
    color: var(--pc-text) !important;
    font: 600 15px var(--pc-body) !important;
    box-shadow: none !important;
}
html body #auth-modal .form-control::placeholder,
html body #phone-verify-modal .form-control::placeholder { color: var(--pc-faint) !important; }
html body #auth-modal .form-control:focus,
html body #phone-verify-modal .form-control:focus { border-color: var(--pc-acid) !important; box-shadow: inset 3px 0 0 var(--pc-acid) !important; outline: none !important; }
html body #auth-modal select.form-control option,
html body #phone-verify-modal select.form-control option { background: var(--pc-panel); color: var(--pc-text); }
html body #auth-modal .auth-submit,
html body.px-mmv2 #auth-modal .auth-submit,
html body #phone-verify-modal .auth-submit,
html body.px-mmv2 #phone-verify-modal .auth-submit {
    min-height: 46px !important;
    background: var(--pc-acid) !important;
    border: 0 !important;
    border-radius: 2px !important;
    color: var(--pc-acid-ink) !important;
    font: 800 14px var(--pc-display) !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}
html body #auth-modal .auth-submit:disabled { opacity: .5; }
html body #auth-modal .auth-separator,
html body #auth-modal .auth-separator span { font: 500 10px var(--pc-mono) !important; letter-spacing: .2em !important; color: var(--pc-faint) !important; }
html body #auth-modal .auth-separator::before,
html body #auth-modal .auth-separator::after { background: var(--pc-line) !important; }
html body #auth-modal .auth-discord-btn { min-height: 46px; border-radius: 2px !important; box-shadow: none !important; font-family: var(--pc-body) !important; }
html body #auth-modal .discord-mark { border-radius: 2px !important; }
html body .otp-title { font: 800 17px var(--pc-display) !important; text-transform: uppercase !important; color: var(--pc-text) !important; }
html body .otp-sub { font: 400 13px var(--pc-body) !important; color: var(--pc-dim) !important; }
html body .otp-sub strong { color: var(--pc-acid) !important; }
html body .otp-code, html body #phone-verify-modal .otp-code { font: 700 22px var(--pc-mono) !important; letter-spacing: .4em !important; text-align: center !important; }
html body .otp-msg { font: 500 11px var(--pc-mono) !important; color: var(--pc-dim) !important; }
html body .otp-msg-error { color: var(--pc-hot) !important; }
html body .otp-msg-ok { color: var(--pc-ok) !important; }
html body .otp-secondary {
    min-height: 42px; border-radius: 2px !important; background: transparent !important; border: 1px solid var(--pc-line-2) !important;
    color: var(--pc-text) !important; font: 600 11px var(--pc-mono) !important; letter-spacing: .1em; text-transform: uppercase;
}
html body .otp-link { font: 400 12.5px var(--pc-body) !important; color: var(--pc-dim) !important; }
html body .otp-link:hover { color: var(--pc-acid) !important; }
html body #phone-verify-modal .pv-header-icon, html body #phone-verify-modal .pv-hero { border-radius: 2px !important; background: var(--pc-acid-soft) !important; border-color: rgba(212, 255, 58, .45) !important; color: var(--pc-acid) !important; box-shadow: none !important; }

/* Guia "Conta criada" (approval-guide.js), logo depois do cadastro */
html body .pxag-back { background: var(--pc-backdrop) !important; }
html body .pxag-modal {
    border-radius: 2px !important;
    background: var(--pc-corners), var(--pc-panel) !important;
    border: 1px solid var(--pc-line-2) !important;
    box-shadow: var(--pc-shadow) !important;
    color: var(--pc-text) !important;
    font-family: var(--pc-body) !important;
}
html body .pxag-x { border-radius: 2px !important; background: transparent !important; border-color: var(--pc-line-2) !important; color: var(--pc-dim) !important; }
html body .pxag-x:hover { color: var(--pc-hot) !important; border-color: var(--pc-hot) !important; }
html body .pxag-check { border-radius: 2px !important; background: var(--pc-acid-soft) !important; border-color: rgba(212, 255, 58, .45) !important; color: var(--pc-acid) !important; }
html body .pxag-title { font: 800 19px/1.15 var(--pc-display) !important; text-transform: uppercase; color: var(--pc-text) !important; }
html body .pxag-sub { color: var(--pc-dim) !important; }
html body .pxag-sub b { color: var(--pc-text); }
html body .pxag-hero { padding-right: 40px; }
html body .pxag-warn { display: block !important; border-radius: 2px !important; border-color: rgba(255, 201, 74, .35) !important; background: var(--pc-gold-soft) !important; color: var(--pc-gold) !important; }
html body .pxag-warn i { color: var(--pc-gold) !important; margin-right: 6px; }
html body .pxag-num { border-radius: 2px !important; background: transparent !important; border-color: rgba(212, 255, 58, .45) !important; color: var(--pc-acid) !important; font-family: var(--pc-mono) !important; }
html body .pxag-body b { color: var(--pc-text) !important; }
html body .pxag-body b i { color: var(--pc-acid) !important; }
html body .pxag-body > span { color: var(--pc-dim) !important; }
html body .pxag-body > span b { color: var(--pc-text) !important; }
html body .pxag-cta { border-radius: 2px !important; box-shadow: none !important; background: #5865f2 !important; transform: none !important; }
html body .pxag-ghost {
    min-height: 42px; border-radius: 2px !important; background: transparent !important; border-color: var(--pc-line-2) !important;
    color: var(--pc-dim) !important; font: 600 11px var(--pc-mono) !important; letter-spacing: .1em; text-transform: uppercase;
}

/* Celular: Loja e Login viram folha de tela cheia; Configurações e Aparência
   (que já ocupam a tela) ganham abas roláveis com sublinhado e alvos ≥ 40px. */
@media (max-width: 640px), (orientation: landscape) and (max-height: 540px) and (pointer: coarse) {
    html body #coin-store-modal,
    html body #auth-modal,
    html body #phone-verify-modal { padding: 0 !important; align-items: stretch !important; justify-content: stretch !important; }
    html body .coin-store-card,
    html body.px-mmv2 .coin-store-card,
    html body .auth-modal-card,
    html body.px-mmv2 .auth-modal-card {
        width: 100vw !important; max-width: none !important;
        height: 100vh !important; height: 100dvh !important; max-height: none !important;
        border: 0 !important;
        padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px) !important;
        box-sizing: border-box !important;
        overflow-y: auto !important;
        animation: none !important;
        display: flex !important; flex-direction: column !important;
    }
    html body .coin-store-header, html body .auth-modal-header { padding: 14px 14px 12px !important; }
    html body .coin-store-header, html body .coin-store-tabs, html body .auth-modal-header, html body .auth-mode-tabs { flex: 0 0 auto !important; }
    html body .coin-store-header h3, html body #auth-modal-title, html body #phone-verify-modal .pv-header h3 { font-size: 17px !important; }
    html body .coin-store-close, html body .auth-modal-close, html body #pxs-modal .pxs-x, html body #pxg-modal .pxg-x { width: 40px !important; height: 40px !important; }
    html body .coin-store-tabs { padding: 0 6px !important; overflow-x: auto; scrollbar-width: none; }
    html body .coin-store-tab { flex: 1 0 auto !important; min-height: 44px !important; }
    html body .coin-store-body { flex: 1 1 auto; overflow-y: auto; padding: 14px !important; }
    html body .coin-store-card .modal-ad-slot, html body .auth-modal-card .modal-ad-slot { display: none !important; }
    html body .coin-store-price-table div { flex-wrap: wrap; row-gap: 6px; padding: 10px 0; min-height: 0 !important; }
    html body .coin-store-price-table div > span { flex: 1 0 100%; }
    html body .coin-store-price-table button { margin-left: auto; min-height: 40px !important; }
    html body .coin-package-grid { grid-template-columns: 1fr 1fr !important; }
    html body .coin-package-card { min-height: 112px !important; }
    html body .coin-store-pix button { min-height: 44px !important; }
    html body .auth-mode-tabs { padding: 0 6px !important; }
    html body .auth-form-grid { padding: 16px 14px 0 !important; }
    html body #auth-modal .auth-separator { padding: 16px 14px 12px !important; }
    html body #auth-modal .auth-discord-btn { width: calc(100% - 28px) !important; margin: 0 14px 16px !important; }
    html body #auth-modal .form-control, html body #phone-verify-modal .form-control { min-height: 48px; font-size: 16px !important; }
    html body .otp-step { padding: 16px 14px 8px !important; }
    html body .pxag-modal { top: 0 !important; left: 0 !important; transform: none !important; width: 100vw !important; height: 100dvh !important; max-height: none !important; border: 0 !important; box-sizing: border-box; animation: none !important; }
    html body .pxag-x { width: 40px !important; height: 40px !important; }
    html body .pxag-cta, html body .pxag-ghost { min-height: 48px; }

    /* Deitado: as duas ocupam a tela toda e mantêm a barra lateral. */
    html body #pxs-modal, html body #pxg-modal {
        left: 0 !important; top: 0 !important; transform: none !important;
        width: 100vw !important; height: 100vh !important; height: 100dvh !important; max-height: none !important;
        border: 0 !important;
        padding: 0 env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
        box-sizing: border-box;
    }
    html body #pxs-nav button, html body .pxg-nav button { min-height: 40px !important; }
    html body #pxs-q, html body #pxg-q { min-height: 42px; font: 500 16px var(--pc-body) !important; }
    html body #pxs-modal .pxs-sw { min-width: 48px; min-height: 28px; }
    html body #pxs-modal .pxs-btn, html body #pxs-modal .pxs-sel, html body #pxs-modal .pxs-key,
    html body #pxg-modal .pxg-btn { min-height: 40px !important; }
    html body #pxs-modal .pxs-foot, html body #pxg-modal .pxg-foot { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important; }
}

/* Barra de seções horizontal (Configurações/Aparência abaixo de 760px, onde
   settings-v2.css e gallery-v2.css já a deitam): abas com sublinhado ácido. */
@media (max-width: 760px) {
    html body #pxs-nav,
    html body .pxg-nav {
        gap: 0 !important; padding: 0 6px !important;
        border-right: 0 !important; border-bottom: 1px solid var(--pc-line) !important;
        scrollbar-width: none;
    }
    html body #pxs-nav::-webkit-scrollbar, html body .pxg-nav::-webkit-scrollbar { display: none; }
    html body #pxs-nav button,
    html body .pxg-nav button {
        position: relative;
        flex: 0 0 auto;
        min-height: 44px !important;
        padding: 0 12px !important;
        border-left: 0 !important;
        background: transparent !important;
        font: 600 11px var(--pc-mono) !important; letter-spacing: .08em !important; text-transform: uppercase !important;
    }
    html body #pxs-nav button.on,
    html body .pxg-nav button.on { background: transparent !important; }
    html body #pxs-nav button.on::after,
    html body .pxg-nav button.on::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 0; height: 2px; background: var(--pc-acid); }
}

/* Seção "Painel admin" do changelog: chega do servidor só para admins
   (update-restart.js, ADMIN_CHANGELOG). A moldura avisa que jogador comum
   não vê esta parte. */
html body #px-changelog .pxcl-sec.pxcl-admin {
    margin-top: 8px;
    padding: 12px 12px 6px !important;
    border: 1px dashed rgba(255, 84, 112, .5) !important;
    background: var(--pc-hot-soft) !important;
}
html body #px-changelog .pxcl-sec.pxcl-admin h3 { color: var(--pc-hot) !important; }
html body #px-changelog .pxcl-sec.pxcl-admin h3::after {
    content: 'só admins';
    margin-left: auto;
    padding: 2px 6px;
    border: 1px solid rgba(255, 84, 112, .5);
    font: 500 9.5px var(--pc-mono);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--pc-hot);
}
html body #px-changelog .pxcl-sec.pxcl-admin li::before { background: var(--pc-hot) !important; opacity: .9 !important; }
