/* ==========================================================================
   darkside - camada V7
   --------------------------------------------------------------------------
   Componentes introduzidos no MorpheusV7 (checkout, confirmacao de pagamento,
   page builder, informacoes do servidor, vantagens VIP e as views de plugin
   que o tema NAO sobrescreve: BattlePass, Subscribe, Coupon, ItemMarket
   show/prices, Poll archive...), repintados com a paleta do darkside.

   ADITIVO: carrega por ULTIMO (depois do app.css, Stylenew.css, DarkSide2025.css
   e DarkSide-mobile.css) e nao redefine nenhuma classe que esses arquivos ja
   estilizam - toda regra aqui e escopada por uma classe que o tema nao tinha.
   O conteudo do darkside e CLARO (.container branco, .page branco) com a cor de
   destaque azul do proprio tema (--color-padrao #0d6efd) - por isso os tokens
   abaixo sao de superficie clara.

   NAO recompile o app.css (compilado, com edicoes manuais no corpo).
   ========================================================================== */

:root {
    --v7-bg: #141414;              /* body do tema                              */
    --v7-bg-rgb: 20, 20, 20;
    --v7-surface: #f8f9fa;
    --v7-card: #ffffff;            /* .container / .page do tema                */
    --v7-card-rgb: 255, 255, 255;
    --v7-sunken: #f1f3f5;
    --v7-sidebar: #e9ecef;
    --v7-primary: #0d6efd;         /* --color-padrao                            */
    --v7-primary-rgb: 13, 110, 253;
    --v7-primary-bright: #4285f4;  /* azul do DarkSide2025.css                  */
    --v7-primary-bright-rgb: 66, 133, 244;
    --v7-primary-hover: #0b5ed7;
    --v7-accent: #0a58ca;
    --v7-accent-rgb: 10, 88, 202;
    --v7-accent-hover: #084298;
    --v7-text: #212529;
    --v7-muted: #6c757d;
    --v7-muted-rgb: 108, 117, 125;
    --v7-line: #dee2e6;
    --v7-line-soft: #ced4da;
    --v7-shadow: 0 5px 15px rgba(0, 0, 0, .12);

    --v7-success-bg: rgba(25, 135, 84, .12);
    --v7-success-fg: #146c43;
    --v7-warning-bg: rgba(255, 193, 7, .18);
    --v7-warning-fg: #997404;
    --v7-danger-bg: rgba(220, 53, 69, .12);
    --v7-danger-fg: #b02a37;
    --v7-info-bg: rgba(13, 202, 240, .14);
    --v7-info-fg: #087990;
    --v7-primary-soft: rgba(13, 110, 253, .12);
}

/* ==========================================================================
   Componentes V7 (portados do v7.css do dk-purple, que por sua vez porta o
   app.css do default). Toda cor vem dos tokens --v7-* acima. Seletores cujas
   classes o darkside JA estilizava foram retirados na geracao, para que esta
   camada nunca redefina o visual existente do tema.
   ========================================================================== */

.checkout-layout {
    align-items: flex-start;
}

.checkout-pending {
    display: flex;
    gap: .85rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: var(--v7-warning-bg);
    border: 1px solid rgba(255, 193, 7, .35);
    color: var(--v7-text);
}

.checkout-pending-icon {
    font-size: 1.5rem;
    color: var(--v7-warning-fg);
    flex-shrink: 0;
}

.checkout-pending-body {
    flex: 1;
    min-width: 0;
}

.checkout-pending-list {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-top: .5rem;
}

.checkout-pending-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .5rem .75rem;
    background: var(--v7-card);
    border: 1px solid var(--v7-line);
    text-decoration: none;
    color: var(--v7-text);
    font-size: .875rem;
}

.checkout-pending-item:hover {
    color: var(--v7-accent-hover);
    border-color: var(--v7-primary-bright);
}

.checkout-pending-resume {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: var(--v7-accent);
    font-weight: 600;
    white-space: nowrap;
}

.checkout-pending-resume .material-symbols-outlined {
    font-size: 1rem;
}

.checkout-card {
    overflow: hidden;
    background: var(--v7-card);
    border: 1px solid var(--v7-line);
    box-shadow: var(--v7-shadow);
}

.checkout-step {
    padding: 1.25rem 1.25rem 0;
}

.checkout-step-title {
    margin-bottom: 1rem;
}

.checkout-step-title:before,
.checkout-step-title:after {
    display: none;
}

.checkout-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    background: var(--v7-primary);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.checkout-step-optional {
    font-size: .72rem;
    font-weight: 400;
    color: var(--v7-muted);
    margin-left: .35rem;
}

.checkout-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: .6rem;
    margin-bottom: 1rem;
}

.checkout-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .9rem .5rem;
    border: 2px solid var(--v7-line);
    background: var(--v7-surface);
    color: var(--v7-text);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.checkout-amount-icon {
    font-size: 1.6rem;
    width: 1.6rem;
    height: 1.6rem;
    color: var(--v7-accent);
}

.checkout-amount-value {
    font-weight: 700;
    font-size: .95rem;
}

.checkout-amount:hover {
    border-color: var(--v7-primary-bright);
}

.checkout-amount.is-active {
    border-color: var(--v7-primary-bright);
    background: var(--v7-primary-soft);
    color: var(--v7-accent); /* conteudo claro: #fff sumiria sobre o tom suave */
}

.checkout-amount-custom .form-label {
    color: var(--v7-muted);
}

.checkout-receive {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem;
    padding: .75rem 1rem;
    background: var(--v7-success-bg);
    border: 1px solid rgba(25, 135, 84, .35);
    color: var(--v7-success-fg);
    font-size: .95rem;
}

.checkout-receive strong {
    font-size: 1.1rem;
}

.checkout-receive-wallet {
    font-weight: 600;
}

.checkout-receive .material-symbols-outlined {
    font-size: 1.25rem;
}

.checkout-gateways {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: .6rem;
}

.checkout-gateway {
    cursor: pointer;
    margin: 0;
}

.checkout-gateway input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-gateway-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .4rem;
    padding: .9rem .6rem;
    height: 100%;
    border: 2px solid var(--v7-line);
    background: var(--v7-surface);
    transition: border-color .15s ease, background .15s ease;
}

.checkout-gateway input:checked + .checkout-gateway-card {
    border-color: var(--v7-primary-bright);
    background: var(--v7-primary-soft);
}

.checkout-gateway-logo {
    max-height: 28px;
    max-width: 100%;
    width: auto;
}

.checkout-gateway-name {
    font-weight: 600;
    font-size: .82rem;
    color: var(--v7-text);
}

.checkout-gateway-fee {
    font-size: .68rem;
    font-weight: 600;
    padding: .12rem .4rem;
    background: var(--v7-warning-bg);
    color: var(--v7-warning-fg);
    white-space: nowrap;
}

.checkout-gateway-fee.is-free {
    background: var(--v7-success-bg);
    color: var(--v7-success-fg);
}

.checkout-gateway-check {
    position: absolute;
    top: .4rem;
    right: .4rem;
    font-size: 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
    color: var(--v7-accent);
    opacity: 0;
}

.checkout-gateway input:checked + .checkout-gateway-card .checkout-gateway-check {
    opacity: 1;
}

.checkout-fields {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-fields .checkout-field[hidden] {
    display: none;
}

.checkout-summary {
    padding: 1.25rem;
}

.checkout-total {
    margin-bottom: 1rem;
}

.checkout-total[hidden] {
    display: none;
}

.checkout-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--v7-text);
}

.checkout-total-row strong {
    font-size: 1.3rem;
}

.checkout-total-discount {
    margin-bottom: .35rem;
    font-size: .9rem;
    color: var(--v7-success-fg);
}

.checkout-total-discount strong {
    font-size: .95rem;
}

.checkout-total-discount[hidden] {
    display: none;
}

.checkout-total-fee {
    display: block;
    margin-top: .25rem;
    font-size: .8rem;
    color: var(--v7-muted);
}

.checkout-total-fee[hidden] {
    display: none;
}

.checkout-coupon-feedback {
    display: block;
    margin-top: .5rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--v7-danger-fg);
}

.checkout-coupon-feedback[hidden] {
    display: none;
}

.checkout-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.checkout-continue-icon {
    font-size: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    line-height: 1;
}

.checkout-bank {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: 1rem;
    padding: .85rem 1.25rem;
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
    text-decoration: none;
    color: var(--v7-text);
    font-weight: 600;
}

.checkout-bank:hover {
    border-color: var(--v7-primary-bright);
    color: var(--v7-accent-hover);
}

.checkout-bank-icon {
    font-size: 1.4rem;
}

.checkout-bank > .material-symbols-outlined:last-child {
    margin-left: auto;
}

.checkout-history-title {
    margin: 0 0 1rem;
}

.checkout-history-title:before,
.checkout-history-title:after {
    display: none;
}

.checkout-history-grid {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.checkout-history-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .85rem 1rem;
    background: var(--v7-card);
    border: 1px solid var(--v7-line);
    box-shadow: var(--v7-shadow);
}

.checkout-history-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--v7-sunken);
}

.checkout-history-logo img {
    max-height: 22px;
    max-width: 32px;
    width: auto;
}

.checkout-history-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.checkout-history-body strong {
    color: var(--v7-text);
}

.checkout-history-date {
    font-size: .75rem;
    color: var(--v7-muted);
}

.checkout-history-status {
    flex-shrink: 0;
    align-self: flex-start;
    margin-left: auto;
}

.checkout-history-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 2.5rem 1rem;
    background: var(--v7-card);
    border: 1px dashed var(--v7-line-soft);
    color: var(--v7-muted);
}

.checkout-history-empty .material-symbols-outlined {
    font-size: 2.5rem;
}

.checkout-sidebar-item {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.checkout-sidebar-logo {
    max-height: 20px;
    max-width: 42px;
    width: auto;
    flex-shrink: 0;
}

.checkout-sidebar-name {
    flex: 1;
    min-width: 0;
}

.checkout-sidebar-chevron {
    font-size: 1.1rem;
    margin-left: auto;
    opacity: .5;
}

.donate-status {
    display: inline-flex;
    align-items: center;
    padding: .2rem .55rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.donate-status-waiting { background: var(--v7-warning-bg); color: var(--v7-warning-fg); }

.donate-status-analysis,
.donate-status-captured { background: var(--v7-info-bg);    color: var(--v7-info-fg); }

.donate-status-paid { background: var(--v7-success-bg); color: var(--v7-success-fg); }

.donate-status-refunded,
.donate-status-canceled { background: var(--v7-danger-bg);  color: var(--v7-danger-fg); }

.donate-form-amount {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    padding: .5rem 0 .25rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v7-text);
    line-height: 1;
}

.donate-gateway-sdk {
    padding: 1.5rem;
}

.donate-pix-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.75rem 1rem;
}

.donate-pix-qr img {
    width: 210px;
    height: 210px;
    display: block;
    background: #fff;
    padding: 6px;
}

.donate-pix-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.donate-pix-info-item {
    text-align: center;
}

.donate-pix-info-item-label {
    display: block;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--v7-muted);
    margin-bottom: .2rem;
}

.donate-pix-info-item-value {
    font-weight: 700;
    font-size: 1rem;
    color: var(--v7-text);
}

.donate-pix-steps {
    border-top: 1px solid var(--v7-line);
}

.donate-pix-step {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .65rem 1rem;
    border-bottom: 1px solid var(--v7-line);
}

.donate-pix-step:last-child {
    border-bottom: none;
}

.donate-pix-step-icon {
    font-size: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--v7-accent);
    flex-shrink: 0;
    margin-top: .1rem;
}

.donate-pix-step-text {
    font-size: .85rem;
    color: var(--v7-text);
    line-height: 1.5;
}

.donate-pix-copy {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    background: var(--v7-sunken);
    border-top: 1px solid var(--v7-line);
}

.donate-pix-copy-code {
    flex: 1;
    font-size: .75rem;
    color: var(--v7-muted);
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-family: monospace;
}

.donate-pix-after {
    padding: .65rem 1rem;
    font-size: .8rem;
    color: var(--v7-muted);
    text-align: center;
    border-top: 1px solid var(--v7-line);
}

.donate-pix-success,
.donate-pix-error {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.donate-pix-success-icon,
.donate-pix-error-icon {
    font-size: 3.5rem;
    width: 3.5rem;
    height: 3.5rem;
    display: block;
    margin: 0 auto 1rem;
}

.donate-pix-success-icon { color: var(--v7-success-fg); }

.donate-pix-error-icon { color: var(--v7-danger-fg); }

.donate-pix-success-title,
.donate-pix-error-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--v7-text);
    margin-bottom: .5rem;
}

.donate-pix-error-title {
    margin-bottom: 1.25rem;
}

.donate-pix-success-text {
    font-size: .9rem;
    color: var(--v7-muted);
    margin-bottom: 1.5rem;
}

.card.pixpage {
    border: 1px solid #7b1dc1;
    background: #261235;
}

.donate-messages {
    list-style: none;
    padding: 0;
    margin: 0;
}

.donate-messages li {
    padding: .75rem 0;
    border-bottom: 1px solid var(--v7-line);
}

.donate-messages li:last-child {
    border-bottom: none;
}

.donate-messages-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .35rem;
    flex-wrap: wrap;
}

.donate-messages-author {
    font-weight: 600;
    font-size: .85rem;
    color: var(--v7-text);
}

.donate-messages-date {
    font-size: .75rem;
    color: var(--v7-muted);
}

.donate-messages-text {
    font-size: .875rem;
    color: var(--v7-text);
    line-height: 1.6;
    width: 100%;
    margin: 0;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    border: 1px solid var(--v7-line);
    background: var(--v7-card);
    color: var(--v7-text);
    box-shadow: var(--v7-shadow);
    transition: border-color .15s, box-shadow .15s;
    height: 100%;
}

.feature-card:hover {
    border-color: var(--v7-primary-bright);
    color: var(--v7-text);
}

.feature-card:hover .feature-card-arrow {
    opacity: 1;
    color: var(--v7-accent);
    transform: translateX(2px);
}

.feature-card-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--v7-primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card-icon {
    font-size: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--v7-accent);
}

.feature-card-body {
    flex: 1;
    min-width: 0;
}

.feature-card-title {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .2rem;
}

.feature-card-desc {
    font-size: .8rem;
    color: var(--v7-muted);
    margin: 0;
    line-height: 1.4;
}

.feature-card-arrow {
    font-size: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
    color: var(--v7-muted);
    opacity: .35;
    flex-shrink: 0;
    transition: opacity .15s, color .15s, transform .15s;
}

.card-stats {
    display: flex;
    gap: .35rem;
    margin-top: .45rem;
}

.card-stat {
    flex: 1;
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
    padding: .4rem .55rem;
}

.card-stat-label {
    display: block;
    font-size: .6rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--v7-muted);
    margin-bottom: .2rem;
}

.card-stat-value {
    font-size: .88rem;
    font-weight: 700;
    color: var(--v7-text);
}

.card-stat-value span,
.card-stat-value small {
    font-size: .68rem;
    font-weight: 400;
    color: var(--v7-muted);
}

.card-stat-value--price {
    color: var(--v7-accent);
}

.card-stat--lg .card-stat-value {
    font-size: 1.2rem;
}

.card-stat--lg .card-stat-value span,
.card-stat--lg .card-stat-value small {
    font-size: .8rem;
}

.card-stat-cta {
    display: block;
    margin-top: .3rem;
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--v7-accent);
    text-decoration: none;
}

.card-stat-cta:hover {
    text-decoration: underline;
    color: var(--v7-accent-hover);
}

.gateway-card {
    display: flex;
    flex-direction: column;
    border: 2px solid var(--v7-line);
    overflow: hidden;
    text-decoration: none;
    transition: border-color .15s ease;
    height: 100%;
}

.gateway-card:hover {
    border-color: var(--v7-primary-bright);
}

.gateway-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: var(--v7-sunken);
    flex: 1;
}

.gateway-card-logo img {
    max-height: 48px;
    max-width: 100%;
}

.gateway-card-label {
    padding: .6rem;
    text-align: center;
    font-size: .8rem;
    font-weight: 600;
    color: var(--v7-text);
    background: var(--v7-card);
    border-top: 1px solid var(--v7-line);
}

.plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .75rem;
}

@media (max-width: 575px) {
.plan-cards {
        grid-template-columns: repeat(2, 1fr);
    }

}

.plan-card {
    border: 2px solid var(--v7-line);
    overflow: hidden;
    background: var(--v7-card);
}

.plan-card-header {
    background: var(--v7-sunken);
    padding: 1.1rem .75rem .9rem;
    border-bottom: 1px solid var(--v7-line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.plan-card-icon {
    font-size: 1.6rem;
    width: 1.6rem;
    height: 1.6rem;
    color: var(--v7-muted);
    opacity: .6;
    margin-bottom: .3rem;
    flex-shrink: 0;
}

.plan-card-name {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--v7-text);
    line-height: 1.2;
}

.plan-card-category {
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--v7-muted);
    background: var(--v7-sunken);
    padding: .4rem .7rem;
    border-top: 1px solid var(--v7-line);
}

.plan-card-featured .plan-card-category {
    background: var(--v7-primary-soft);
    color: var(--v7-text);
    border-top-color: var(--v7-primary-bright);
}

.plan-card-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plan-card-feature {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .7rem;
    font-size: .78rem;
    border-top: 1px solid var(--v7-line);
    line-height: 1.3;
    color: var(--v7-text);
}

.plan-card-feature-icon {
    font-size: .9rem;
    width: .9rem;
    height: .9rem;
    flex-shrink: 0;
}

.plan-card-feature--on .plan-card-feature-icon {
    color: var(--v7-success-fg);
}

.plan-card-feature--off {
    color: var(--v7-muted);
}

.plan-card-feature--off .plan-card-feature-icon {
    color: var(--v7-line-soft);
}

.plan-card-featured {
    border-color: var(--v7-primary-bright);
}

.plan-card-featured .plan-card-header {
    background: var(--v7-primary);
    border-bottom-color: var(--v7-primary-bright);
}

.plan-card-featured .plan-card-icon,
.plan-card-featured .plan-card-name {
    color: #fff;
    opacity: 1;
}

.nav-sidebar-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .85rem;
    background: var(--v7-surface);
    border: 1px solid var(--v7-line);
    border-bottom: none;
    color: var(--v7-text);
    text-decoration: none;
}

.nav-sidebar-item:last-child {
    border-bottom: 1px solid var(--v7-line);
}

.nav-sidebar-item:hover {
    background: var(--v7-primary-hover);
    color: #fff;
}

.nav-sidebar-item--active {
    background: var(--v7-primary);
    color: #fff;
}

.nav-sidebar-logo {
    max-height: 20px;
    max-width: 42px;
    width: auto;
    flex-shrink: 0;
}

.nav-sidebar-name {
    flex: 1;
    min-width: 0;
}

.nav-sidebar-chevron {
    font-size: 1.1rem;
    margin-left: auto;
    opacity: .5;
}

.nav.page-tabs {
    gap: .25rem;
    border-bottom: 1px solid var(--v7-line);
}

.nav.page-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--v7-muted);
    font-weight: 600;
    padding: .55rem .9rem;
}

.nav.page-tabs .nav-link:hover {
    color: var(--v7-accent);
}

.nav.page-tabs .nav-link.active {
    color: var(--v7-text);
    border-bottom-color: var(--v7-primary-bright);
    background: none;
}

.item-rarity-badge {
    position: absolute;
    top: .35rem;
    left: .35rem;
    padding: .1rem .4rem;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #fff;
    background: var(--rarity-color, var(--v7-primary));
}

.main-page-builder {
    margin: 0;
}

.page-block {
    padding: 3rem 0;
}

.page-block .container {
    max-width: 1140px;
}

.page-block-hero {
    position: relative;
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.page-block-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(var(--v7-bg-rgb), .55), rgba(var(--v7-bg-rgb), .9));
}

.page-block-hero-content {
    position: relative;
    text-align: center;
}

.page-block-hero-title {
    font-family: inherit;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: .75rem;
}

.page-block-hero-subtitle {
    font-size: 1.05rem;
    color: var(--v7-text);
    margin-bottom: 1.5rem;
}

.page-block-text-title,
.page-block-img-text-title,
.page-block-guides-title,
.page-block-cta-title {
    font-family: inherit;
    font-weight: 700;
    color: var(--v7-text);
    margin-bottom: 1rem;
}

.page-block-text-body,
.page-block-img-text-body {
    color: var(--v7-text);
    line-height: 1.7;
}

.page-block-img-text-image img {
    max-width: 100%;
    height: auto;
}

.page-block-guides-card {
    display: block;
    padding: 1.1rem 1.25rem;
    background: var(--v7-card);
    border: 1px solid var(--v7-line);
    box-shadow: var(--v7-shadow);
    text-decoration: none;
    height: 100%;
}

.page-block-guides-card:hover {
    border-color: var(--v7-primary-bright);
}

.page-block-guides-card-title {
    font-weight: 700;
    color: var(--v7-text);
    margin-bottom: .3rem;
}

.page-block-guides-card-desc {
    font-size: .85rem;
    color: var(--v7-muted);
    margin: 0;
}

.page-block-cta {
    background: var(--v7-surface);
    text-align: center;
}

.page-block-cta-subtitle {
    color: var(--v7-muted);
    margin-bottom: 1.25rem;
}

.coupon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: .9rem 1.1rem;
    border-bottom: 1px solid var(--v7-line);
}

.coupon-item:last-of-type {
    border-bottom: none;
}

.coupon-item-left {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.coupon-item-icon {
    font-size: 1.75rem;
    color: var(--v7-accent);
    flex-shrink: 0;
}

.coupon-item-code {
    font-family: monospace;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--v7-text);
}

.coupon-item-expire {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .72rem;
    color: var(--v7-muted);
}

.coupon-item-expire-icon {
    font-size: .85rem;
}

.achievement-icon-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.achievement-rarity {
    font-size: .7rem;
    color: var(--v7-muted);
}

.achievement-reward-icon {
    font-size: 1.1rem;
    color: var(--v7-accent);
}

.achievement-reward-image {
    max-height: 28px;
    width: auto;
}

.profile-achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: .5rem;
}

.profile-achievement {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .25rem;
    padding: .6rem .4rem;
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
}

.profile-achievement-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
}

.profile-achievement-icon img {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
}

.profile-achievement-symbol {
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
    color: var(--v7-warning-fg);
}

.profile-achievement-name {
    font-size: .68rem;
    font-weight: 600;
    color: var(--v7-text);
    line-height: 1.2;
}

.profile-achievement-date {
    font-size: .6rem;
    color: var(--v7-muted);
}

.subscribe-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.subscribe-plan {
    background: var(--v7-card);
    border: 2px solid var(--v7-line);
    box-shadow: var(--v7-shadow);
    padding: 1.25rem;
    text-align: center;
}

.subscribe-plan--featured,
.subscribe-plan.is-featured {
    border-color: var(--v7-primary-bright);
}

.subscribe-plan-name {
    font-family: inherit;
    font-weight: 700;
    color: var(--v7-text);
    margin-bottom: .35rem;
}

.subscribe-plan-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--v7-accent);
    margin-bottom: .75rem;
}

.subscribe-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    color: var(--v7-text);
    font-size: .85rem;
}

.subscribe-plan-features li {
    padding: .35rem 0;
    border-top: 1px solid var(--v7-line);
}

.subscribe-billing,
.subscribe-billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    color: var(--v7-muted);
}

.battlepass-header,
.battlepass-track,
.battlepass-tier,
.battlepass-reward {
    background: var(--v7-card);
    border: 1px solid var(--v7-line);
    color: var(--v7-text);
}

.battlepass-tier--unlocked,
.battlepass-reward--unlocked {
    border-color: var(--v7-primary-bright);
}

.battlepass-progress {
    background: var(--v7-sunken);
}

.battlepass-progress-bar {
    background: var(--v7-primary);
}

.ticket-status,
.ticket-priority {
    display: inline-flex;
    align-items: center;
    padding: .2rem .55rem;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ticket-status-pending { background: var(--v7-warning-bg); color: var(--v7-warning-fg); }

.ticket-status-waiting { background: var(--v7-info-bg);    color: var(--v7-info-fg); }

.ticket-status-finished { background: var(--v7-success-bg); color: var(--v7-success-fg); }

.ticket-status-canceled { background: var(--v7-danger-bg);  color: var(--v7-danger-fg); }

.ticket-priority-low { background: var(--v7-sunken);     color: var(--v7-muted); }

.ticket-priority-normal { background: var(--v7-info-bg);    color: var(--v7-info-fg); }

.ticket-priority-high { background: var(--v7-warning-bg); color: var(--v7-warning-fg); }

.ticket-priority-critical { background: var(--v7-danger-bg);  color: var(--v7-danger-fg); }

.ticket-rating {
    display: inline-flex;
    gap: .1rem;
}

.ticket-rating-star {
    color: var(--v7-line-soft);
}

.ticket-rating-star--active {
    color: var(--v7-warning-fg);
}

.ticket-rate {
    display: inline-flex;
    gap: .15rem;
}

.ticket-rate-btn {
    background: none;
    border: none;
    padding: 0 .1rem;
    color: var(--v7-line-soft);
    cursor: pointer;
    line-height: 1;
}

.ticket-rate-btn:hover,
.ticket-rate-btn.is-active {
    color: var(--v7-warning-fg);
}

.market-filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .75rem;
}

.market-filters-clear {
    font-size: .75rem;
    font-weight: 600;
    color: var(--v7-accent);
    text-decoration: none;
    white-space: nowrap;
}

.market-filters-clear:hover {
    color: var(--v7-accent-hover);
    text-decoration: underline;
}

.market-filters-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 .3rem;
    margin-left: .35rem;
    background: var(--v7-primary);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
}

.market-filter-flags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .1rem .5rem;
    margin-bottom: .75rem;
}

.market-filter-category .form-check-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    width: 100%;
}

.market-filter-category-icon {
    font-size: 1rem;
    color: var(--v7-accent);
    flex-shrink: 0;
}

.market-filter-category-count {
    margin-left: auto;
    padding: 0 .35rem;
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
    color: var(--v7-muted);
    font-size: .68rem;
    font-weight: 600;
}

.market-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.market-orders {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
}

.market-orders-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--v7-muted);
}

.market-order {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .25rem .6rem;
    background: var(--v7-surface);
    border: 1px solid var(--v7-line);
    color: var(--v7-text);
    font-size: .78rem;
    text-decoration: none;
}

.market-order:hover {
    border-color: var(--v7-primary-bright);
    color: var(--v7-accent-hover);
}

.market-order--active {
    background: var(--v7-primary);
    border-color: var(--v7-primary-bright);
    color: #fff;
}

.market-order .material-symbols-outlined {
    font-size: .95rem;
}

.product--rarity {
    border-color: var(--rarity-color, var(--v7-line)) !important;
}

.item-rarity-tag {
    display: inline-block;
    margin-top: .25rem;
    padding: .05rem .4rem;
    background: var(--rarity-color, var(--v7-primary));
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem;
    margin-bottom: .35rem;
}

.product-badge {
    padding: .05rem .35rem;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
    color: var(--v7-muted);
}

.product-badge--excellent {
    background: rgba(25, 135, 84, .2);
    border-color: rgba(25, 135, 84, .45);
    color: var(--v7-success-fg);
}

.product-badge--ancient {
    background: rgba(255, 193, 7, .16);
    border-color: rgba(255, 193, 7, .4);
    color: var(--v7-warning-fg);
}

.market-row-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
    border-left: 3px solid var(--rarity-color, var(--v7-line));
}

.market-row-thumb img {
    max-width: 100%;
    max-height: 100%;
}

.market-price-history {
    margin-top: .75rem;
    padding: .75rem;
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
}

.market-price-history[hidden] {
    display: none;
}

.market-price-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .5rem;
}

.market-price-history-head strong {
    color: var(--v7-text);
    font-size: .9rem;
}

.market-price-chart {
    display: block;
    width: 100%;
    height: 60px;
}

.market-price-chart polyline {
    fill: none;
    stroke: var(--v7-accent);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.market-price-history-hint {
    display: block;
    font-size: .72rem;
    color: var(--v7-muted);
}

.auction-item--warning .card,
.card.auction-item--warning {
    border-color: var(--v7-warning-fg);
    animation: auction-pulse-warning 1s ease-in-out infinite;
}

.auction-item--danger .card,
.card.auction-item--danger {
    border-color: var(--v7-danger-fg);
    animation: auction-pulse-danger .7s ease-in-out infinite;
}

.auction-item--expired {
    opacity: 0;
    transform: scale(.95);
}

@keyframes auction-pulse-warning {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 205, 57, .45); }
    50%      { box-shadow: 0 0 0 6px rgba(255, 205, 57, 0); }
}

@keyframes auction-pulse-danger {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 123, 136, .5); }
    50%      { box-shadow: 0 0 0 6px rgba(255, 123, 136, 0); }
}

.auction-bid-info {
    display: flex;
    gap: .35rem;
    margin: .5rem 0;
}

.auction-bid-info .card-stat {
    flex: 1;
}

.auction-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding-top: .5rem;
    border-top: 1px solid var(--v7-line);
    font-size: .78rem;
    color: var(--v7-muted);
}

.auction-item-meta-bidder,
.auction-item-meta-timer {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    min-width: 0;
}

.auction-item-meta-icon {
    font-size: .95rem;
    color: var(--v7-accent);
    flex-shrink: 0;
}

.auction-item-meta-timer [data-print-time] {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--v7-text);
}

.auction-card-period {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-top: .5rem;
    font-size: .75rem;
    color: var(--v7-muted);
}

.auction-card-period-icon {
    font-size: .95rem;
    color: var(--v7-accent);
}

.raffle-progress {
    margin-bottom: 1rem;
}

.raffle-progress-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .35rem;
    font-size: .8rem;
    color: var(--v7-muted);
}

.raffle-progress-info strong {
    color: var(--v7-text);
}

.raffle-progress .progress {
    height: 8px;
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
}

.raffle-progress .progress-bar {
    background: var(--v7-primary);
    transition: width .4s ease;
}

.raffle-number {
    border: 1px solid var(--v7-line);
    background: var(--v7-surface);
    color: var(--v7-text);
}

.raffle-number--available {
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.raffle-number--available:hover {
    border-color: var(--v7-primary-bright);
    color: var(--v7-accent-hover);
}

.raffle-number--selected {
    background: var(--v7-primary);
    border-color: var(--v7-primary-bright);
    color: #fff;
    font-weight: 700;
}

.raffle-number--mine {
    background: rgba(25, 135, 84, .25);
    border-color: rgba(25, 135, 84, .5);
    color: var(--v7-success-fg);
    cursor: not-allowed;
}

.raffle-number--sold {
    background: var(--v7-sunken);
    border-color: var(--v7-line);
    color: var(--v7-muted);
    opacity: .5;
    cursor: not-allowed;
}

.raffle-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.raffle-summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.raffle-summary-label {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--v7-muted);
}

.raffle-summary-item strong {
    font-size: 1.3rem;
    color: var(--v7-text);
}

.raffle-summary .raffle-price {
    color: var(--v7-accent);
}

.raffle-card-total {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-top: .5rem;
    font-size: .78rem;
    color: var(--v7-muted);
}

.raffle-card-total .material-symbols-outlined {
    font-size: 1rem;
    color: var(--v7-accent);
}

.package-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin: .5rem 0;
}

.package-benefit {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .1rem .4rem;
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
    color: var(--v7-text);
    font-size: .7rem;
}

.package-benefit .material-symbols-outlined {
    font-size: .9rem;
    color: var(--v7-accent);
}

.package-progress {
    height: 6px;
    margin-top: .3rem;
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
}

.package--sold-out .card {
    opacity: .65;
}

.ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: .85rem 1rem;
    margin-bottom: 1rem;
    background: var(--v7-card);
    border: 1px solid var(--v7-line);
}

.ticket-meta-item {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.ticket-meta-label {
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--v7-muted);
}

.ticket-meta-item strong {
    color: var(--v7-text);
    font-size: .85rem;
}

.achievement-header {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.achievement-title {
    flex: 1;
    min-width: 0;
}

.achievement-stats {
    display: flex;
    gap: 1rem;
    margin-top: .5rem;
    font-size: .72rem;
    color: var(--v7-muted);
}

.achievement-rarity,
.achievement-unlocked {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
}

.achievement-stats .material-symbols-outlined {
    font-size: .95rem;
    color: var(--v7-accent);
}

.achievement-reward {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.achievement--rescued {
    border-color: rgba(25, 135, 84, .5);
}

.achievement--available {
    border-color: var(--v7-primary-bright);
}

.slide-links {
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .35rem;
    z-index: 2;
}

.direct-status--pending { background: var(--v7-sunken);     color: var(--v7-muted); }

.direct-status--waiting { background: var(--v7-warning-bg); color: var(--v7-warning-fg); }

.direct-status--payed { background: var(--v7-info-bg);    color: var(--v7-info-fg); }

.direct-status--delivered { background: var(--v7-success-bg); color: var(--v7-success-fg); }

.direct-status--canceled { background: var(--v7-danger-bg);  color: var(--v7-danger-fg); }

.streamer-invite {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.streamer-invite code {
    padding: .1rem .35rem;
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
    color: var(--v7-accent);
    font-size: .72rem;
    word-break: break-all;
}

.webshop-single-product-sold {
    font-size: .72rem;
    color: var(--v7-muted);
    text-align: center;
    margin-bottom: .25rem;
}

.vip-about {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2.5rem;
    margin-top: 2.75rem;
    padding-top: 2.25rem;
    border-top: 1px solid var(--v7-line);
}

@media (max-width: 575px) {
.vip-about { grid-template-columns: 1fr; }

}

@media (min-width: 576px) and (max-width: 767px) {
.vip-about { grid-template-columns: repeat(2, 1fr); }

}

.vip-about-item {
    text-align: center;
    padding: 0 .5rem;
}

.vip-about-icon {
    font-size: 1.85rem;
    width: 1.85rem;
    height: 1.85rem;
    display: block;
    margin: 0 auto .6rem;
    color: var(--v7-accent);
    opacity: .8;
}

.vip-about-title {
    font-family: inherit;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: .65rem;
    color: var(--v7-text);
}

.vip-about-text {
    font-size: .85rem;
    color: var(--v7-muted);
    margin: 0;
    line-height: 1.65;
}

.vip-about-text a {
    color: var(--v7-accent);
    text-decoration: none;
}

.vip-about-text a:hover {
    text-decoration: underline;
    color: var(--v7-accent-hover);
}

.vip-gateway-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

.vip-gateway-logo img {
    max-height: 40px;
    width: auto;
}

.vip-bank-header {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .85rem;
    background: var(--v7-sunken);
    border-bottom: 1px solid var(--v7-line);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--v7-text);
}

.vip-bank-icon {
    font-size: .95rem;
    width: .95rem;
    height: .95rem;
    color: var(--v7-accent);
    flex-shrink: 0;
}

.vip-bank-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: .5rem;
    padding: .4rem .85rem;
    font-size: .82rem;
    border-bottom: 1px solid var(--v7-line);
}

.vip-bank-row:last-child {
    border-bottom: none;
}

.vip-bank-label {
    color: var(--v7-muted);
    flex-shrink: 0;
}

.vip-bank-value {
    font-weight: 500;
    text-align: right;
    color: var(--v7-text);
}

.vip-bank-notes {
    font-size: .8rem;
    color: var(--v7-muted);
}

.vip-coin {
    border: 1px solid var(--v7-line);
    background: var(--v7-card);
    box-shadow: var(--v7-shadow);
    padding: 1.5rem 1rem;
    text-align: center;
    height: 100%;
}

.vip-coin-icon {
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
    display: block;
    margin: 0 auto .5rem;
    color: var(--v7-accent);
    opacity: .85;
}

.vip-coin-name {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--v7-text);
    margin-bottom: .5rem;
}

.vip-coin-balance {
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--v7-text);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.vip-coin-label {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--v7-muted);
    margin-top: .2rem;
}

.events-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .15rem;
    border-bottom: 1px solid var(--v7-line);
}

.events-row:last-child {
    border-bottom: none;
}

.events-row-label {
    flex: 1;
    min-width: 0;
}

.events-row-name {
    display: block;
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--v7-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.events-row-next {
    display: block;
    font-size: .7rem;
    line-height: 1.3;
    margin-top: .1rem;
    color: var(--v7-muted);
    font-variant-numeric: tabular-nums;
}

.events-row-next:empty {
    display: none;
}

.events-row-timer {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-shrink: 0;
    padding-left: .35rem;
}

.events-row-countdown {
    min-width: 5.1rem;
    padding: .22rem .45rem;
    text-align: center;
    font-size: .74rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    color: var(--v7-text);
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
    transition: background .3s, color .3s, border-color .3s;
}

.events-row.is-upcoming .events-row-countdown {
    color: var(--v7-warning-fg);
    background: rgba(240, 192, 90, .12);
    border-color: rgba(240, 192, 90, .34);
}

.events-row.is-soon .events-row-countdown {
    color: var(--v7-success-fg);
    background: rgba(92, 214, 160, .13);
    border-color: rgba(92, 214, 160, .38);
}

.events-row.is-live .events-row-countdown {
    color: var(--v7-danger-fg);
    background: rgba(255, 107, 129, .15);
    border-color: rgba(255, 107, 129, .42);
}

.events-row.is-live .events-row-next {
    color: var(--v7-danger-fg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.events-row-notify {
    margin: 0;
    min-height: auto;
    padding-left: 2.1em;
}

.events-row-notify .form-check-input {
    width: 1.8em;
    height: .95em;
    margin-top: .15em;
    margin-left: -2.1em;
    cursor: pointer;
}

.event-category-dot {
    display: inline-block;
    width: .6rem;
    height: .6rem;
    margin-right: .4rem;
    vertical-align: middle;
    border-radius: 50%;
}

.card > .events,
.card > .tab-content > .events {
    padding: .3rem .9rem;
}

[data-spotlight] .events-row {
    padding: .38rem .1rem;
}

[data-spotlight] .events-row-name {
    font-size: .78rem;
}

[data-spotlight] .events-row-next {
    display: none;
}

[data-spotlight] .events-row-countdown {
    min-width: 4.85rem;
    padding: .18rem .35rem;
    font-size: .7rem;
}

[data-spotlight] .events-row-notify {
    display: none;
}

.countdowns .countdown-timer .countdown-unit-value {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    color: var(--v7-text);
}

.countdowns .countdown-timer .countdown-unit-label {
    font-size: .52rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .7;
}

.avatar-upload-input {
    display: none;
}

.avatar-upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 1.5rem;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    background: var(--v7-sunken);
    border: 2px dashed var(--v7-line-soft);
    transition: border-color .15s, background .15s;
}

.avatar-upload-zone:hover {
    background: rgba(var(--v7-primary-rgb), .22);
    border-color: var(--v7-accent);
}

.avatar-upload-zone--has-file {
    padding: 0;
    background: transparent;
    border-style: solid;
    border-color: var(--v7-accent);
}

.avatar-upload-zone--error,
.avatar-upload-zone--error:hover {
    background: rgba(255, 107, 129, .1);
    border-style: solid;
    border-color: #ff6b81;
}

.avatar-upload-preview {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
}

.avatar-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
}

.avatar-upload-icon {
    font-size: 3rem;
    width: 3rem;
    height: 3rem;
    color: var(--v7-muted);
    opacity: .55;
}

.avatar-upload-label {
    font-size: .9rem;
    font-weight: 600;
    color: var(--v7-text);
}

.avatar-upload-hint {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--v7-muted);
}

.avatar-upload-error {
    margin-top: .5rem;
    font-size: .8rem;
    color: var(--v7-danger-fg);
}

.avatar-upload-rules {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .65rem;
}

.avatar-upload-rule {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .5rem;
    font-size: .72rem;
    line-height: 1.4;
    color: var(--v7-muted);
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
}

.avatar-upload-rule-icon {
    flex-shrink: 0;
    font-size: .85rem;
    width: .85rem;
    height: .85rem;
}

.avatar-upload-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .75rem;
}

.ticket-rate-stars {
    display: flex;
    gap: .25rem;
}

.ticket-rate-btn {
    padding: 0;
    font-size: 2rem;
    line-height: 1;
    color: var(--v7-line-soft);
    background: none;
    border: none;
    cursor: pointer;
    transition: color .15s ease, transform .1s ease;
}

.ticket-rate-btn--active {
    color: var(--v7-warning-fg);
    transform: scale(1.1);
}

.ticket-rate-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.lootbox-case {
    position: relative;
    padding: 18px 0;
}

.lootbox-case-window {
    position: relative;
    display: flex;
    align-items: center;
    height: 240px;
    overflow: hidden;
}

.lootbox-case-shadow {
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 0;
    right: 0;
    z-index: 100;
    overflow: hidden;
    pointer-events: none;
    box-shadow: inset 60px 0 120px -20px var(--v7-bg), inset -60px 0 120px -20px var(--v7-bg);
}

.lootbox-case-line {
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    z-index: 101;
    background-color: var(--v7-accent);
}

.lootbox-case-line::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -100%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid var(--v7-accent);
}

.lootbox-case-line::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 100%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 14px solid var(--v7-accent);
}

.lootbox-case-rotatable {
    display: flex;
    gap: 8px;
    will-change: transform;
}

.lootbox-case-item {
    --lootbox-item-rarity: var(--v7-line-soft);
    position: relative;
    z-index: 100;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    padding: 10px;
    color: #fff;
    
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 100%),
        var(--lootbox-item-rarity);
    border: 2px solid var(--lootbox-item-rarity);
}

.lootbox-case-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120px;
    flex: 0 0 auto;
    overflow: hidden;
}

.lootbox-case-item-image img {
    max-width: 88%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lootbox-case-item-name {
    width: 100%;
    padding: .2rem 0;
    text-align: center;
    font-size: .72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.market-product {
    height: 100%;
}

.market-product .card {
    height: 100%;
}

.market-product-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.market-product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    padding: .75rem;
    overflow: hidden;
    border-bottom: 1px solid var(--v7-line);
    background:
        radial-gradient(circle at 50% 40%, rgba(var(--v7-primary-bright-rgb), .26) 0%, rgba(var(--v7-card-rgb), .96) 72%),
        var(--v7-sunken);
}

.market-product-image[style*="--rarity-color"],
.market-product[style*="--rarity-color"] .market-product-image {
    border-bottom-color: var(--rarity-color, var(--v7-line));
    box-shadow: inset 0 -2px 0 -1px var(--rarity-color, transparent);
}

.market-product-image img {
    max-height: 80px;
    width: auto;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .65));
}

.market-product-expire {
    position: absolute;
    top: .3rem;
    right: .3rem;
    padding: .1rem .32rem;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    background: rgba(0, 0, 0, .55);
}

.market-product-name {
    margin-bottom: .25rem;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--v7-text);
}

.market-product-name a {
    color: inherit;
    text-decoration: none;
}

.market-product-name a:hover {
    color: var(--v7-accent-hover);
}

.market-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem;
    margin-bottom: .25rem;
}

.market-badge {
    display: inline-block;
    padding: .1rem .35rem;
    font-size: .6rem;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .03em;
    border: 1px solid transparent;
}

.market-badge-normal {
    color: var(--v7-muted);
    background: rgba(var(--v7-muted-rgb), .16);
    border-color: rgba(var(--v7-muted-rgb), .34);
}

.market-badge-excellent {
    color: #5ef2a0;
    background: rgba(25, 255, 128, .14);
    border-color: rgba(25, 255, 128, .38);
}

.market-badge-ancient {
    color: #7dd3fc;
    background: rgba(0, 102, 255, .2);
    border-color: rgba(0, 102, 255, .45);
}

.market-badge-socket {
    color: #d8b4fe;
    background: rgba(178, 102, 255, .18);
    border-color: rgba(178, 102, 255, .42);
}

.market-badge-harmony {
    color: #fadf5a;
    background: rgba(250, 222, 9, .14);
    border-color: rgba(250, 222, 9, .38);
}

.market-badge-luck,
.market-badge-skill {
    color: #a8c8ff;
    background: rgba(128, 178, 255, .16);
    border-color: rgba(128, 178, 255, .4);
}

.market-badge-refine {
    color: #e0b4e1;
    background: rgba(174, 128, 175, .18);
    border-color: rgba(174, 128, 175, .42);
}

.market-filter-icon {
    font-size: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
}

.market-filter-heading {
    display: block;
    margin-bottom: .5rem;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--v7-muted);
}

.market-filter-range-value {
    width: 28px;
    flex-shrink: 0;
}

.market-order-select,
.market-account-tabs {
    overflow-x: auto;
}

.market-empty {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--v7-muted);
}

.market-empty p {
    margin: 0;
}

.market-empty-icon {
    display: block;
    margin: 0 auto 1rem;
    font-size: 4rem;
    width: 4rem;
    height: 4rem;
    color: var(--v7-primary-bright);
}

.market-price-history {
    padding: .75rem .9rem;
    margin-bottom: 1rem;
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
}

.market-price-history-suggestion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}

.market-price-history-suggestion-label {
    font-size: .9rem;
    font-weight: 700;
    color: var(--v7-text);
}

.market-price-history-use {
    padding: .2rem .6rem;
    font-size: .72rem;
    font-weight: 600;
    color: var(--v7-accent);
    background: transparent;
    border: 1px solid var(--v7-primary-bright);
    cursor: pointer;
    transition: background-color .12s ease, color .12s ease;
}

.market-price-history-use:hover {
    color: #fff;
    background: var(--v7-primary);
}

.market-price-history-hint {
    margin-top: .15rem;
    font-size: .72rem;
    color: var(--v7-muted);
}

.market-price-history-toggle {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin: .5rem 0;
    font-size: .78rem;
    color: var(--v7-muted);
    cursor: pointer;
}

.market-price-history-chart {
    display: block;
    width: 100%;
    height: 60px;
}

.market-price-history-chart polyline {
    fill: none;
    stroke: var(--v7-accent);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.market-item-rows {
    margin: 0;
}

.market-item-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    padding: .4rem 0;
    font-size: .84rem;
    border-bottom: 1px solid var(--v7-line);
}

.market-item-row:last-child {
    border-bottom: none;
}

.market-item-price-diff {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-top: .5rem;
    font-size: .72rem;
    font-weight: 600;
    color: var(--v7-muted);
}

.market-item-price-diff-below {
    color: var(--v7-success-fg);
}

.market-item-price-diff-above {
    color: var(--v7-danger-fg);
}

.market-item-price-diff-icon {
    font-size: 1rem;
    width: 1rem;
    height: 1rem;
}

.market-item-section {
    margin-bottom: 2.25rem;
}

.market-item-section:last-child {
    margin-bottom: 0;
}

.market-item-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .35rem .75rem;
    margin-bottom: .85rem;
}

.market-item-hint {
    font-size: .78rem;
    font-weight: 400;
    color: var(--v7-muted);
}

.market-item-hint a {
    color: inherit;
    text-decoration: underline;
}

.market-item-hint a:hover {
    color: var(--v7-accent-hover);
}

.market-item-details {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.market-item-details-rows {
    flex: 1;
    min-width: 220px;
    margin: 0;
}

.market-item-info {
    flex: 0 0 auto;
    min-width: 240px;
    max-width: 100%;
    padding: 1rem 1.25rem;
    background: var(--v7-card);
    border: 1px solid var(--v7-line);
}

.market-item-info .item-info {
    font-size: .8rem;
}

.market-item-classes {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .3rem;
}

.market-item-classes img {
    width: 26px;
    height: 26px;
}

.market-item-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.25rem;
}

.market-item-stat {
    display: flex;
    flex-direction: column;
    flex: 1 1 140px;
    padding: .6rem .9rem;
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
}

.market-item-stat-label {
    margin-bottom: .15rem;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--v7-muted);
}

.market-item-stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    color: var(--v7-text);
}

.market-item-stat-value-price {
    color: var(--v7-accent);
}

.market-item-empty {
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--v7-muted);
}

.market-item-chart-wrap {
    position: relative;
}

.market-item-chart {
    display: block;
    width: 100%;
}

.market-item-chart-line {
    fill: none;
    stroke: var(--v7-accent);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.market-item-chart-area {
    fill: rgba(var(--v7-accent-rgb), .18);
    stroke: none;
}

.market-item-chart-grid {
    stroke: var(--v7-line);
    stroke-width: 1;
}

.market-item-chart-point {
    fill: var(--v7-accent);
}

.market-item-chart-label {
    font-size: .68rem;
    fill: var(--v7-muted);
}

.market-item-chart-tooltip {
    position: absolute;
    padding: .25rem .5rem;
    font-size: .72rem;
    color: var(--v7-text);
    background: var(--v7-card);
    border: 1px solid var(--v7-line-soft);
    pointer-events: none;
}

.market-prices-search {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.75rem;
}

.market-prices-search .form-control {
    flex: 1;
}

.market-prices-suggestion {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.market-prices-suggestion:hover .market-product-name {
    color: var(--v7-accent-hover);
}

.market-prices-suggestion-count {
    font-size: .72rem;
    color: var(--v7-muted);
}

.market-prices-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    margin-bottom: .75rem;
}

.market-prices-change {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--v7-muted);
    text-decoration: none;
}

.market-prices-change:hover {
    color: var(--v7-accent-hover);
}

.market-prices-change-icon {
    font-size: 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
}

.market-prices-tabs {
    margin-bottom: 1rem;
}

.market-prices-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.market-prices-count {
    font-size: .68rem;
    font-weight: 600;
    color: var(--v7-muted);
}

.market-prices-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
.market-item-details {
        flex-direction: column;
    }

}

.market-toolbar-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.server-info .title {
    font-family: inherit;
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--v7-text);
    padding-bottom: .5rem;
    margin-bottom: .9rem;
    border-bottom: 1px solid var(--v7-line);
}

.server-rates {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--v7-primary);
    border: 1px solid var(--v7-line-soft);
    overflow: hidden;
    margin-bottom: 2rem;
}

@media (max-width: 575px) {
.server-rates {
        grid-template-columns: repeat(2, 1fr);
    }

}

.server-rate {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .15);
}

.server-rate:last-child {
    border-right: none;
}

@media (max-width: 575px) {
.server-rate {
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

.server-rate:nth-child(2) { border-right: none; }

.server-rate:nth-child(3),
.server-rate:nth-child(4) { border-bottom: none; }

}

.server-rate-icon {
    font-size: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    color: rgba(255, 255, 255, .6);
    margin-bottom: .3rem;
}

.server-rate-value {
    font-family: inherit;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.server-rate-label {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255, 255, 255, .65);
    margin-top: .2rem;
}

.server-stat {
    border: 1px solid var(--v7-line);
    background: var(--v7-card);
    padding: 1rem .75rem;
    text-align: center;
    height: 100%;
}

.server-stat-icon {
    font-size: 1.6rem;
    width: 1.6rem;
    height: 1.6rem;
    color: var(--v7-accent);
    opacity: .55;
    display: block;
    margin: 0 auto .3rem;
}

.server-stat-value {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--v7-text);
}

.server-stat-value a {
    color: inherit;
    text-decoration: none;
}

.server-stat-value a:hover {
    color: var(--v7-accent-hover);
}

.server-stat-value-sm {
    font-size: .9rem;
}

.server-stat-label {
    font-size: .65rem;
    color: var(--v7-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: .2rem;
    line-height: 1.3;
}

.server-specs {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
}

.server-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .6rem 0;
    border-bottom: 1px solid var(--v7-line);
    font-size: .875rem;
}

.server-spec:last-child {
    border-bottom: none;
}

.server-spec dt {
    font-weight: 400;
    color: var(--v7-muted);
    flex-shrink: 0;
}

.server-spec dd {
    margin: 0;
    font-weight: 500;
    text-align: right;
    color: var(--v7-text);
}

.server-event-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.server-event-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .35rem .8rem;
    font-size: .8rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.server-event-pill-icon {
    font-size: .95rem;
    width: .95rem;
    height: .95rem;
}

.server-event-pill-on {
    background: var(--v7-success-bg);
    border-color: rgba(99, 209, 158, .35);
    color: var(--v7-success-fg);
}

.server-event-pill-off {
    background: var(--v7-sunken);
    border-color: var(--v7-line);
    color: var(--v7-muted);
}

.server-commands {
    border: 1px solid var(--v7-line);
    overflow: hidden;
}

.server-command {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .55rem .9rem;
    border-bottom: 1px solid var(--v7-line);
    font-size: .8rem;
}

.server-command:last-child {
    border-bottom: none;
}

.server-command kbd {
    min-width: 85px;
    text-align: center;
    font-size: .72rem;
    flex-shrink: 0;
    color: var(--v7-accent);
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line-soft);
}

.server-command-desc {
    color: var(--v7-muted);
    line-height: 1.4;
}

.lootbox__items {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 576px) {
.lootbox__items { grid-template-columns: repeat(3, 1fr); }

}

@media (min-width: 768px) {
.lootbox__items { grid-template-columns: repeat(4, 1fr); }

}

@media (min-width: 992px) {
.lootbox__items { grid-template-columns: repeat(5, 1fr); }

}

@media (min-width: 1200px) {
.lootbox__items { grid-template-columns: repeat(6, 1fr); }

}

.lootbox__item {
    --lootbox-item-rarity: var(--v7-line-soft);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: .75rem .75rem .6rem;
    color: var(--v7-text);
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 100%),
        var(--lootbox-item-rarity);
    border: 2px solid var(--lootbox-item-rarity);
}

.lootbox__item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 72px;
    flex: 0 0 auto;
    margin-bottom: .4rem;
    overflow: hidden;
}

.lootbox__item-image img {
    max-width: 88%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lootbox__item-image:empty::before {
    content: "";
    display: block;
    width: 52px;
    height: 52px;
    background: var(--v7-sunken);
    border: 1px solid var(--v7-line);
}

.lootbox__item-percent {
    position: absolute;
    top: .25rem;
    right: .3rem;
    font-size: .62rem;
    font-weight: 600;
    opacity: .65;
}

.lootbox__item-name {
    margin-bottom: .2rem;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lootbox__item-rarity {
    font-size: .6rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--lootbox-item-rarity);
}

.lootbox__price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    margin-bottom: .75rem;
}

.lootbox__price-text {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--v7-muted);
}

.lootbox__price-value {
    font-size: 1.15rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--v7-accent);
}

.lootbox__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.lootbox,
.lootboxes {
    display: block;
}

.lootbox-wheel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.5rem 2rem;
}

.lootbox-wheel canvas {
    display: block;
    position: relative;
    z-index: 1;
    max-width: min(480px, 100%);
    height: auto;
}

/* ==========================================================================
   darkside - invólucro das views de plugin SEM override no tema
   --------------------------------------------------------------------------
   BattlePass, Subscribe, Coupon/used, Poll/archive, ItemMarket show/prices,
   Streamer/indications e Pages renderizam a view do proprio plugin:
   .page > .page-header (h3 + breadcrumb) > .container. O darkside so estiliza
   .page (caixa branca) e .page-title; .page-header nao tinha regra.
   O `.page h3` do app.css vira flex com linhas laterais - no cabecalho isso
   empurraria o breadcrumb para baixo, por isso e neutralizado so ali.
   ========================================================================== */
.page > .page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    padding-bottom: .75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--v7-line);
}

.page > .page-header h3 {
    display: block;
    width: auto;
    margin: 0;
    text-align: left;
}

.page > .page-header h3::before,
.page > .page-header h3::after {
    content: none;
}

.page > .page-header .breadcrumb {
    margin: 0;
}

/* ==========================================================================
   Aliases de Bootstrap 4 usados pelas views do darkside
   --------------------------------------------------------------------------
   O tema roda Bootstrap 5, onde estas classes nao existem: `badge badge-primary`
   vira texto branco sem fundo (invisivel no conteudo claro) e `pull-right` nao
   flutua. Resolvido por alias, sem editar o markup do tema. Ficam DE FORA de
   proposito form-group / ml-* / mr-* / media: o tema sempre renderizou sem
   esse espacamento e adiciona-lo mudaria o visual existente.
   ========================================================================== */
.badge-primary { color: #fff; background-color: var(--v7-primary); }
.pull-right { float: right !important; }

/* HelpDesk/view: nota ja dada ao ticket (bloco novo da V7, porte do default). */
.ticket-rating-display {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .5rem;
}

.ticket-rating-label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--v7-muted);
    margin-right: .35rem;
}

/* ==========================================================================
   Renderizadores do core (inventario, bau e equipamentos)
   --------------------------------------------------------------------------
   getInventory()->getRenderer()->render() emite .morpheus-inventory-items /
   .morpheus-warehouse com cada .item em position:absolute + coordenadas inline,
   e o Profile emite .equipments > .mapping > .item-mapping.itemN. O CSS disso
   NAO vem do core nem do plugin: no default mora em workshop.scss:74-117 e
   profile.scss:2-28. Sem a caixa posicionada os itens caem em pilha solta
   (WorkShop, venda do ItemMarket/DirectMarket e equipamentos do perfil).
   ========================================================================== */
.morpheus-inventory-equipments {
    display: none;
}

.morpheus-inventory-items {
    position: relative;
    width: 256px;
    height: 256px;
}

.morpheus-warehouse {
    position: relative;
    width: 256px;
    height: 480px;
}

.morpheus-inventory-items .item,
.morpheus-warehouse .item {
    position: absolute;
    background-color: rgba(11, 26, 51, .5);
    border: 1px solid rgba(22, 54, 103, .5);
}

.morpheus-inventory-items .item .image,
.morpheus-warehouse .item .image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Paper-doll: caixa 400x388, 12 slots (item8 nao existe no layout). */
.equipments .mapping {
    position: relative;
    width: 400px;
    height: 388px;
}

.equipments .mapping .item-mapping {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

.equipments .mapping .item-mapping img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.equipments .mapping .item0  { bottom: 17px; width: 70px; height: 130px; left: 7px; }
.equipments .mapping .item1  { bottom: 17px; width: 70px; height: 130px; right: 2px; }
.equipments .mapping .item2  { top: 58px; width: 56px; height: 65px; left: 76px; }
.equipments .mapping .item3  { top: 133px; width: 82px; height: 98px; left: 39px; }
.equipments .mapping .item4  { bottom: 17px; width: 60px; height: 74px; left: 88px; }
.equipments .mapping .item5  { bottom: 155px; width: 83px; height: 54px; right: 44px; }
.equipments .mapping .item6  { bottom: 17px; width: 57px; height: 74px; right: 84px; }
.equipments .mapping .item7  { top: 59px; width: 127px; height: 112px; right: 0px; }
.equipments .mapping .item8  { display: none; }
.equipments .mapping .item9  { top: 81px; width: 30px; height: 30px; right: 137px; }
.equipments .mapping .item10 { bottom: 106px; width: 30px; height: 30px; left: 102px; }
.equipments .mapping .item11 { bottom: 106px; width: 30px; height: 30px; right: 99px; }

/* ==========================================================================
   ItemMarket - detalhe do item (show) e consulta de precos (prices)
   --------------------------------------------------------------------------
   Views NOVAS da V7 que o tema nao sobrescreve (caem na view do plugin). O
   v7.css ja cobria market-item-* / market-prices-*; faltavam a coluna lateral
   (.view-sidebar-*: imagem tingida pela raridade, preco, ficha do item), a
   tabela de vendas recentes e os filtros da consulta. Porte de
   components.scss:369-470 e market.scss:1088-1225 do default.
   ========================================================================== */
.view-sidebar {
    position: sticky;
    top: 1.5rem;
}

.view-sidebar-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 1.5rem;
    overflow: hidden;
    border-radius: .375rem .375rem 0 0;
    background: linear-gradient(135deg, var(--rarity-color, var(--v7-primary)) 0%, color-mix(in srgb, var(--rarity-color, var(--v7-primary)), #000 40%) 100%);
}

.view-sidebar-image img {
    max-height: 150px;
    width: auto;
    object-fit: contain;
}

.view-sidebar-icon {
    font-size: 4rem;
    width: 4rem;
    height: 4rem;
    opacity: .6;
    color: #fff;
}

.view-sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--v7-text);
    line-height: 1.25;
    margin-bottom: .35rem;
}

.view-sidebar-price {
    text-align: center;
    padding: 1rem 0 .5rem;
}

.view-sidebar-price-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--v7-muted);
}

.view-sidebar-price-value {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--v7-danger-fg);
}

.view-sidebar-price-name {
    font-size: .8rem;
    color: var(--v7-muted);
}

.view-sidebar-rows {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin: 0 0 1rem;
}

.view-sidebar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .5rem .8rem;
    font-size: .85rem;
    background: var(--v7-sunken);
    color: var(--v7-text);
    border-radius: .375rem;
}

.view-sidebar-row dt {
    font-weight: 400;
    color: var(--v7-muted);
}

.view-sidebar-row dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.view-sidebar-notice {
    text-align: center;
    font-size: .85rem;
    color: var(--v7-muted);
    padding: .5rem 0;
}

.market-item-sales {
    font-size: .85rem;
}

.market-item-sales th {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--v7-muted);
    font-weight: 600;
    border-top: 0;
}

.market-item-sales-price {
    font-weight: 700;
    color: var(--v7-danger-fg);
    white-space: nowrap;
}

.market-item-sales-price span {
    font-size: .72rem;
    font-weight: 400;
    color: var(--v7-muted);
}

.market-prices-filters-field {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
}

.market-prices-filters-label {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--v7-muted);
}

/* ==========================================================================
   ItemMarket - raridade no card da listagem (recurso novo da V7)
   --------------------------------------------------------------------------
   A view emite style="--rarity-color:#hex" no contêiner da imagem SO quando o
   item tem raridade. O atributo e o gatilho: item comum continua identico.
   ========================================================================== */
.itemmarket-item[style*="--rarity-color"] {
    border-radius: .375rem;
    box-shadow:
        inset 0 0 0 2px var(--rarity-color),
        inset 0 -22px 30px -20px var(--rarity-color);
}


/* ==========================================================================
   ItemMarket - painel de filtros completo da V7 (categoria por icone/slug,
   classe por imagem, atributos, excellent e sockets em checkboxes) e
   Profile - avatar dos membros da guild. Porte do v7.css do dk-purple
   (secoes 11/23/24), mesmos tokens --v7-*.
   ========================================================================== */

.filter-grid {
    display: grid;
    gap: .3rem;
    margin-bottom: 1rem;
}

.filter-grid--category {
    grid-template-columns: repeat(auto-fill, minmax(34px, 1fr));
}

.filter-grid--class {
    grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
}

.filter-tile {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.filter-tile input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter-tile-box {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    width: 100%;
    background: var(--v7-surface);
    border: 1px solid var(--v7-line);
    color: var(--v7-muted);
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.filter-tile-box .material-symbols-outlined {
    font-size: 1.15rem;
}

.filter-tile-box img {
    max-width: 78%;
    max-height: 78%;
    object-fit: contain;
    opacity: .55;
    transition: opacity .15s ease;
}

.filter-tile:hover .filter-tile-box {
    border-color: var(--v7-primary-bright);
    color: var(--v7-accent);
}

.filter-tile:hover .filter-tile-box img {
    opacity: .85;
}

.filter-tile--active .filter-tile-box {
    background: var(--v7-primary-soft);
    border-color: var(--v7-primary-bright);
    color: var(--v7-text);
}

.filter-tile--active .filter-tile-box img {
    opacity: 1;
}

.filter-tile input:focus-visible + .filter-tile-box {
    outline: 2px solid var(--v7-accent);
    outline-offset: 1px;
}

.filter-tile-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 15px;
    padding: 0 3px;
    background: var(--v7-primary);
    border: 1px solid var(--v7-card);
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
}

.filter-tile input:checked + .filter-tile-box {
    background: var(--v7-primary-soft);
    border-color: var(--v7-primary-bright);
    color: var(--v7-text);
}

.filter-tile input:checked + .filter-tile-box img {
    opacity: 1;
}

.filter-tile input:checked + .filter-tile-box::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--v7-accent);
}

.filter-tile-box {
    position: relative;
}

.market-filter-flags--stack {
    grid-template-columns: 1fr;
    max-height: 190px;
    overflow-y: auto;
    padding-right: .2rem;
}

.market-filter-flags .form-check {
    min-width: 0;
    margin-bottom: 0;
}

.market-filter-flags .form-check-label {
    display: block;
    font-size: .78rem;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.market-filter-flags--stack::-webkit-scrollbar {
    width: 6px;
}

.market-filter-flags--stack::-webkit-scrollbar-thumb {
    background: var(--v7-line-soft);
}

.market-filter-flags--stack::-webkit-scrollbar-track {
    background: var(--v7-sunken);
}

.filter-tile-abbr {
    font-size: .6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .02em;
    color: var(--v7-muted);
    transition: color .15s ease;
}

.filter-tile:hover .filter-tile-abbr,
.filter-tile--active .filter-tile-abbr,
.filter-tile input:checked + .filter-tile-box .filter-tile-abbr {
    color: var(--v7-text);
}

.filter-tile--empty .filter-tile-box {
    opacity: .4;
}

.filter-tile--empty:hover .filter-tile-box {
    opacity: .75;
}

/* Avatar do membro na lista da guild: character_avatar_or_class() devolve
   imagens de tamanhos muito diferentes (o fallback de classe e bem maior) -
   caixa fixa + object-fit, nunca width/height no HTML. */
.guild-member-avatar {
    display: inline-flex;
    width: 28px;
    height: 28px;
    margin-right: .4rem;
    vertical-align: middle;
    overflow: hidden;
    border-radius: 50%;
    background: var(--v7-sunken);
}

.guild-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Profile - atributos (.profile-attr, porte de profile.scss:196-234 do default)
   e respiro entre a lista de itens a venda e a vitrine de Conquistas.
   ========================================================================== */
.profile-attrs {
    margin-bottom: 1.5rem;
    background: var(--v7-card);
    border: 1px solid var(--v7-line);
    border-radius: .375rem;
    overflow: hidden;
}

.profile-attr {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .5rem 1.25rem;
    border-bottom: 1px solid var(--v7-line);
}

.profile-attr:last-child {
    border-bottom: 0;
}

.profile-attr-abbr {
    flex-shrink: 0;
    width: 38px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--v7-primary-soft);
    color: var(--v7-accent);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: .375rem;
}

.profile-attr-label {
    flex: 1;
    font-size: .82rem;
    color: var(--v7-muted);
}

.profile-attr-value {
    font-size: .88rem;
    font-weight: 700;
    color: var(--v7-text);
    white-space: nowrap;
}

.profile-achievements {
    margin-top: 1.5rem;
}

/* ==========================================================================
   Views de plugin SEM override no tema: BattlePass, Subscribe, Countdown
   (unidades), bloco de videos do Pages.
   --------------------------------------------------------------------------
   Porte das regras do app.css do default (battlepass.scss, subscribe.scss,
   countdown.scss, pages.scss) com as cores claras traduzidas para os tokens
   --v7-* por propriedade (fundo branco -> --v7-card, texto #212529 ->
   --v7-text, azul -> --v7-primary, tons pasteis do premium -> --v7-warning-bg).
   Seletores cujas classes o tema ja estilizava foram descartados.
   ========================================================================== */

.video-card {
    height:100%;
    border:1px solid var(--v7-line);
    border-radius:.375rem;
    background:var(--v7-card);
    overflow:hidden
}

.video-card-embed {
    position:relative;
    padding-top:56.25%
}

.video-card-embed iframe {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    border:none;
    display:block
}

.video-card-body {
    padding:.9rem 1rem
}

.video-card-title {
    font-weight:600;
    font-size:.95rem;
    margin-bottom:.35rem;
    line-height:1.3
}

.video-card-description {
    font-size:.85rem;
    color:var(--v7-muted);
    line-height:1.55
}

.countdown-unit {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:.1rem;
    background:rgba(0,0,0,.55);
    padding:.35rem .2rem;
    border-radius:.375rem
}

.countdown-unit-value {
    font-size:1.2rem;
    font-weight:700;
    line-height:1;
    font-variant-numeric:tabular-nums
}

.countdown-unit-label {
    font-size:.52rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.05em;
    opacity:.65
}

.battlepass-empty {
    text-align:center;
    padding:4rem 2rem
}

.battlepass-empty-icon {
    display:block;
    font-size:4rem;
    width:4rem;
    height:4rem;
    color:var(--v7-muted);
    margin:0 auto 1rem
}

.battlepass-empty h3,
.battlepass-empty .h3 {
    color:var(--v7-muted)
}

.battlepass-header {
    display:flex;
    align-items:center;
    gap:1.25rem;
    padding:1.2rem 1.5rem;
    background:linear-gradient(135deg, var(--v7-primary-hover), var(--v7-primary));
    border-radius:.375rem;
    margin-bottom:1.25rem;
    color:#fff;
    flex-wrap:wrap
}

.battlepass-header-info {
    flex:1;
    min-width:0
}

.battlepass-header-title {
    font-size:1.4rem;
    font-weight:700;
    margin-bottom:.1rem
}

.battlepass-header-desc {
    opacity:.8;
    margin-bottom:.3rem;
    font-size:.85rem
}

.battlepass-header-dates {
    display:inline-flex;
    align-items:center;
    gap:.2rem;
    opacity:.7;
    font-size:.78rem
}

.battlepass-header-dates-icon {
    font-size:.9rem;
    width:.9rem;
    height:.9rem
}

.battlepass-header-actions {
    flex-shrink:0
}

.battlepass-premium-badge {
    display:inline-flex;
    align-items:center;
    gap:.4rem;
    background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.3);
    border-radius:.375rem;
    padding:.4rem .9rem;
    font-weight:600;
    font-size:.85rem
}

.battlepass-premium-badge-icon {
    font-size:1.1rem;
    width:1.1rem;
    height:1.1rem;
    color:#ffc107
}

.battlepass-btn-premium {
    background:#ffc107;
    color:var(--v7-text);
    border:none;
    font-weight:600;
    font-size:.85rem;
    display:inline-flex;
    align-items:center;
    gap:.4rem;
    border-radius:.375rem;
    padding:.45rem 1rem
}

.battlepass-btn-premium-icon {
    font-size:1rem;
    width:1rem;
    height:1rem
}

.battlepass-btn-premium:hover {
    background:#e6ae06;
    color:var(--v7-text)
}

.battlepass-progress {
    margin-bottom:1.25rem
}

.battlepass-progress-info {
    display:flex;
    justify-content:space-between;
    margin-bottom:.3rem;
    font-size:.82rem;
    font-weight:500;
    color:var(--v7-muted)
}

.battlepass-progress-bar {
    height:8px;
    background:var(--v7-sunken);
    border-radius:.375rem;
    overflow:hidden
}

.battlepass-progress-fill {
    height:100%;
    background:linear-gradient(90deg, var(--v7-primary), var(--v7-primary-hover));
    border-radius:.375rem;
    transition:width .4s ease
}

.battlepass-track {
    display:flex;
    flex-direction:column;
    min-width:max-content
}

.battlepass-track-wrap {
    overflow-x:auto;
    padding-bottom:.25rem
}

.battlepass-track-row {
    display:flex;
    align-items:center
}

.battlepass-track-row--free {
    margin-bottom:.35rem
}

.battlepass-track-row--nodes {
    position:relative;
    padding:.35rem 0
}

.battlepass-track-row--nodes::before {
    content:"";
    position:absolute;
    top:50%;
    left:0;
    right:0;
    height:3px;
    background:var(--v7-sunken);
    transform:translateY(-50%);
    z-index:0
}

.battlepass-track-row--xp {
    margin-bottom:.35rem
}

.battlepass-track-cell {
    width:90px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 .25rem
}

.battlepass-track-cell--node {
    position:relative;
    z-index:1;
    padding:0
}

.battlepass-track-node {
    width:34px;
    height:34px;
    border-radius:50%;
    border:3px solid var(--v7-line);
    background:var(--v7-card);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:.78rem;
    font-weight:700;
    color:var(--v7-muted);
    position:relative;
    z-index:1;
    transition:background .2s,border-color .2s,color .2s;
    border-radius:50%
}

.battlepass-track-node-icon {
    font-size:.9rem;
    width:.9rem;
    height:.9rem
}

.battlepass-track-cell--node.is-unlocked .battlepass-track-node {
    background:var(--v7-primary);
    border-color:var(--v7-primary-bright);
    color:#fff
}

.battlepass-track-xp {
    font-size:.6rem;
    color:var(--v7-muted);
    white-space:nowrap
}

.battlepass-reward {
    width:calc(100% - .4rem);
    background:var(--v7-sunken);
    border:1px solid var(--v7-line);
    border-radius:.375rem;
    padding:.55rem .35rem .4rem;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:.2rem;
    text-align:center;
    opacity:.45;
    transition:opacity .2s,border-color .2s,background .2s;
    min-height:88px;
    justify-content:space-between
}

.battlepass-reward.is-unlocked {
    opacity:1
}

.battlepass-reward[data-tooltip] {
    cursor:help
}

.battlepass-reward.is-claimed {
    opacity:1;
    border-color:rgba(25, 135, 84, .45);
    background:var(--v7-success-bg)
}

.battlepass-reward--premium {
    background:var(--v7-warning-bg);
    border-color:rgba(255, 193, 7, .45)
}

.battlepass-reward--premium.is-unlocked {
    background:var(--v7-warning-bg);
    border-color:rgba(255, 193, 7, .45)
}

.battlepass-reward-icon {
    font-size:1.3rem;
    width:1.3rem;
    height:1.3rem;
    color:var(--v7-accent)
}

.battlepass-reward--premium .battlepass-reward-icon {
    color:#cc9a06
}

.battlepass-reward.is-claimed .battlepass-reward-icon {
    color:#198754
}

.battlepass-reward-label {
    font-size:.64rem;
    line-height:1.2;
    color:var(--v7-text);
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical
}

.battlepass-reward-check {
    font-size:.85rem;
    width:.85rem;
    height:.85rem;
    color:#198754
}

.battlepass-reward-lock {
    font-size:.82rem;
    width:.82rem;
    height:.82rem;
    color:var(--v7-muted);
    opacity:.55
}

.battlepass-reward-img {
    width:36px;
    height:36px;
    object-fit:contain;
    border-radius:.375rem
}

.battlepass-premium-checkout-header {
    display:flex;
    align-items:center;
    gap:1rem;
    padding:1.2rem 1.5rem;
    background:linear-gradient(135deg, #e6ae06, #ffc107);
    border-radius:.375rem;
    margin-bottom:1.5rem;
    color:var(--v7-text)
}

.battlepass-premium-checkout-icon {
    font-size:2.5rem;
    width:2.5rem;
    height:2.5rem;
    flex-shrink:0
}

.battlepass-premium-checkout-title {
    font-size:1.1rem;
    font-weight:700;
    margin:0 0 .1rem
}

.battlepass-premium-checkout-price {
    margin:0;
    font-size:.9rem;
    opacity:.75
}

.battlepass-premium-checkout-label {
    font-weight:500;
    margin-bottom:.75rem;
    color:var(--v7-muted)
}

.battlepass-sources {
    margin-top:2rem
}

.battlepass-sources-title {
    font-size:.8rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.07em;
    color:var(--v7-muted);
    margin-bottom:.75rem
}

.battlepass-sources-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
    gap:.5rem
}

.battlepass-source {
    display:flex;
    align-items:center;
    gap:.75rem;
    padding:.65rem .9rem;
    min-height:3.4rem;
    background:var(--v7-sunken);
    border:1px solid var(--v7-line);
    border-radius:.375rem
}

.battlepass-source-info {
    flex:1;
    display:flex;
    flex-direction:column;
    min-width:0
}

.battlepass-source-label {
    font-size:.8rem;
    font-weight:500;
    color:var(--v7-text);
    line-height:1.3
}

.battlepass-source-limit {
    font-size:.7rem;
    color:var(--v7-muted);
    margin-top:.1rem
}

.battlepass-source-xp {
    font-size:.8rem;
    font-weight:700;
    color:var(--v7-accent);
    white-space:nowrap;
    flex-shrink:0
}

.battlepass-btn-claim {
    background:var(--v7-primary);
    color:#fff;
    border:none;
    font-size:.63rem;
    padding:.2rem .5rem;
    border-radius:.375rem;
    font-weight:600;
    line-height:1.4;
    cursor:pointer;
    white-space:nowrap
}

.battlepass-btn-claim:hover {
    background:var(--v7-primary-hover);
    color:#fff
}

.subscribe-current {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    padding:1rem 1.25rem;
    margin-bottom:1.5rem;
    border:1px solid var(--v7-line);
    border-radius:.375rem;
    background:var(--v7-sunken)
}

.subscribe-current-label {
    color:var(--v7-muted);
    margin-right:.5rem
}

.subscribe-current-renew {
    color:var(--v7-muted);
    margin-left:.75rem
}

.subscribe-badge {
    display:inline-block;
    padding:.15rem .5rem;
    border-radius:.375rem;
    font-size:.75rem
}

.subscribe-badge.is-active {
    background:rgba(25,135,84,.15);
    color:#198754
}

.subscribe-badge.is-muted {
    background:var(--v7-sunken);
    color:var(--v7-muted)
}

.subscribe-cancel {
    border:1px solid #dc3545;
    color:#dc3545;
    background:rgba(0,0,0,0);
    padding:.35rem .9rem;
    border-radius:.375rem
}

.subscribe-cancel:hover {
    background:#dc3545;
    color:#fff
}

.subscribe-billing {
    display:inline-flex;
    gap:.25rem;
    padding:.25rem;
    margin:0 auto 1.75rem;
    border:1px solid var(--v7-line);
    border-radius:.375rem;
    background:var(--v7-sunken)
}

.subscribe-billing-btn {
    border:0;
    background:rgba(0,0,0,0);
    color:var(--v7-muted);
    padding:.4rem 1.25rem;
    border-radius:.375rem;
    transition:all .15s ease
}

.subscribe-billing-btn.is-active {
    background:var(--v7-primary);
    color:#fff
}

.subscribe-charges {
    margin-bottom:1.75rem
}

.subscribe-charges-title {
    font-size:1rem;
    margin-bottom:.75rem
}

.subscribe-charges-table {
    width:100%;
    border-collapse:collapse;
    border:1px solid var(--v7-line);
    border-radius:.375rem;
    overflow:hidden
}

.subscribe-charges-table th,
.subscribe-charges-table td {
    padding:.6rem .85rem;
    text-align:left;
    border-bottom:1px solid var(--v7-line)
}

.subscribe-charges-table th {
    background:var(--v7-sunken);
    color:var(--v7-muted);
    font-size:.82rem;
    font-weight:600
}

.subscribe-charges-table tbody tr:last-child td {
    border-bottom:0
}

.subscribe-charges-status {
    display:inline-block;
    padding:.15rem .5rem;
    border-radius:.375rem;
    font-size:.75rem;
    background:var(--v7-sunken);
    color:var(--v7-muted)
}

.subscribe-charges-status.is-paid {
    background:rgba(25,135,84,.15);
    color:#198754
}

.subscribe-charges-status.is-refunded,
.subscribe-charges-status.is-canceled {
    background:rgba(220,53,69,.15);
    color:#dc3545
}

.subscribe-charges-status.is-waiting,
.subscribe-charges-status.is-analysis {
    background:rgba(255,193,7,.15);
    color:#cc9a06
}

.subscribe-plans-block {
    margin-bottom:2rem
}

.subscribe-plans-heading {
    font-size:1.25rem;
    margin-bottom:.35rem
}

.subscribe-plans-subheading {
    color:var(--v7-muted);
    font-size:.9rem;
    margin-bottom:1.35rem
}

.subscribe-plans {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
    gap:1.5rem;
    align-items:stretch
}

.subscribe-plan {
    position:relative;
    display:flex;
    flex-direction:column;
    padding:1.75rem 1.5rem;
    border:1px solid var(--v7-line);
    border-radius:.375rem;
    background:var(--v7-card);
    transition:transform .15s ease,box-shadow .15s ease
}

.subscribe-plan.is-recommended {
    border-color:var(--v7-primary-bright);
    box-shadow:0 .75rem 2rem rgba(var(--v7-primary-rgb), .18);
    transform:translateY(-0.35rem)
}

.subscribe-plan-badge {
    position:absolute;
    top:-0.75rem;
    left:50%;
    transform:translateX(-50%);
    padding:.2rem .75rem;
    border-radius:.375rem;
    background:var(--v7-primary);
    color:#fff;
    font-size:.72rem;
    text-transform:uppercase;
    letter-spacing:.04em
}

.subscribe-plan-name {
    margin:0 0 .35rem;
    font-size:1.15rem
}

.subscribe-plan-desc {
    color:var(--v7-muted);
    font-size:.9rem;
    margin-bottom:1rem
}

.subscribe-plan-price {
    margin-bottom:1.25rem
}

.subscribe-plan-value {
    font-size:2rem;
    font-weight:700;
    color:var(--v7-text)
}

.subscribe-plan-cycle {
    color:var(--v7-muted);
    font-size:.9rem
}

.subscribe-plan-features {
    list-style:none;
    padding:0;
    margin:0 0 1.5rem;
    display:flex;
    flex-direction:column;
    gap:.55rem
}

.subscribe-plan-features li {
    display:flex;
    align-items:center;
    gap:.5rem;
    font-size:.92rem
}

.subscribe-plan-check {
    font-size:1.15rem;
    width:1.15rem;
    height:1.15rem;
    color:#198754
}

.subscribe-plan-gateway {
    margin-bottom:.6rem
}

.subscribe-plan-nogateway {
    color:var(--v7-muted);
    font-size:.85rem;
    margin-bottom:.6rem
}

.subscribe-plan-btn {
    margin-top:auto;
    width:100%;
    border:0;
    padding:.6rem 1rem;
    border-radius:.375rem;
    background:var(--v7-primary);
    color:#fff;
    font-weight:600;
    transition:background .15s ease
}

.subscribe-plan-btn:hover:not(:disabled) {
    background:var(--v7-primary-hover)
}

.subscribe-plan-btn:disabled {
    opacity:.55
}

/* ==========================================================================
   Blocos novos das views de plugin (paridade de conteudo): tooltip de
   personagem do AccountMarket, estados do produto do WebShop (quantidade,
   nivel, estoque, esgotado), icone de categoria e alinhamento do switch.
   Porte do app.css do default com recolor.pl. Classes que o markup V6 do tema
   ja emitia (nome do produto, "sold", corpo do post) ficaram de fora de
   proposito: estilizar agora mudaria o visual existente.
   ========================================================================== */

.webshop-product--sold .webshop-product-image img {
    filter:grayscale(40%);
    opacity:.7
}

.webshop-product-level {
    position:absolute;
    bottom:.3rem;
    right:.3rem;
    font-size:.65rem;
    font-weight:700;
    background:rgba(255,255,255,.18);
    color:#fff;
    border:1px solid rgba(255,255,255,.35);
    border-radius:.375rem;
    padding:.1rem .32rem;
    line-height:1.5
}

.webshop-product-qty {
    position:absolute;
    top:.3rem;
    left:.3rem;
    font-size:.75rem;
    font-weight:700;
    background:rgba(0,0,0,.35);
    color:#fff;
    border-radius:.375rem;
    padding:.1rem .32rem;
    line-height:1.5
}

.webshop-product-stock .progress {
    height:3px;
    margin-bottom:.2rem
}

.webshop-product-stock-text {
    font-size:.66rem;
    color:var(--v7-muted)
}

.webshop-categories-icon {
    width:20px;
    height:20px;
    flex-shrink:0;
    object-fit:contain
}

.tippy-tooltip:has(.market-char-tooltip) {
    padding:0 !important
}

.tippy-tooltip:has(.market-char-tooltip) .tippy-content {
    padding:0 !important
}

.market-char-tooltip {
    width:230px;
    border-radius:.375rem;
    overflow:hidden;
    text-align:left
}

.market-char-tooltip-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:.4rem;
    padding:.5rem .65rem;
    background:rgba(255,255,255,.07);
    border-bottom:1px solid rgba(255,255,255,.1)
}

.market-char-tooltip-name {
    font-size:.82rem;
    font-weight:700;
    color:#fff;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap
}

.market-char-tooltip-class {
    font-size:.6rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;
    padding:.15rem .4rem;
    border-radius:.375rem;
    background:rgba(255,255,255,.15);
    color:rgba(255,255,255,.85);
    white-space:nowrap;
    flex-shrink:0
}

.market-char-tooltip-attrs {
    display:flex;
    flex-direction:column;
    gap:0;
    padding:.4rem .65rem;
    border-bottom:1px solid rgba(255,255,255,.1)
}

.market-char-tooltip-attr {
    display:flex;
    align-items:center;
    gap:.35rem;
    padding:.15rem 0
}

.market-char-tooltip-attr-label {
    font-size:.75rem;
    color:rgba(255,255,255,.5);
    flex:1
}

.market-char-tooltip-attr-val {
    font-size:.75rem;
    font-weight:600;
    color:#fff
}

.market-char-tooltip-dot {
    width:6px;
    height:6px;
    border-radius:50%;
    flex-shrink:0
}

.market-char-tooltip-dot-str {
    background:#dc3545
}

.market-char-tooltip-dot-agi {
    background:#ffc107
}

.market-char-tooltip-dot-vit {
    background:#198754
}

.market-char-tooltip-dot-ene {
    background:var(--v7-primary)
}

.market-char-tooltip-dot-cmd {
    background:rgba(255,255,255,.6)
}

.market-char-tooltip-rows {
    margin:0
}

.market-char-tooltip-row {
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    gap:.5rem;
    padding:.28rem .65rem;
    font-size:.75rem;
    border-bottom:1px solid rgba(255,255,255,.08)
}

.market-char-tooltip-row:last-child {
    border-bottom:none
}

.market-char-tooltip-row dt {
    font-weight:400;
    color:rgba(255,255,255,.45)
}

.market-char-tooltip-row dd {
    margin:0;
    font-weight:500;
    color:#fff;
    text-align:right
}

/* ==========================================================================
   Paridade de conteudo (auditoria por plugin): vencedor da rifa, meta/capa do
   post, card do VoteReward (porte do app.css do default, recolor.pl) e os
   blocos novos das views do tema (titulo "Caixa aberta", intervalo de voto,
   membro online da guild).
   ========================================================================== */

.single-post-meta {
    display:flex;
    align-items:center;
    gap:.75rem;
    margin-bottom:1rem;
    flex-wrap:wrap
}

.single-post-date,
.single-post-views {
    display:flex;
    align-items:center;
    gap:.25rem;
    font-size:.85rem;
    color:var(--v7-muted)
}

.single-post-date-icon,
.single-post-views-icon {
    font-size:1rem;
    width:1rem;
    height:1rem
}

.raffle-card--drawn .raffle-card-image {
    background:linear-gradient(135deg, #198754 0%, #0f5132 100%)
}

.raffle-card-winner {
    display:flex;
    align-items:center;
    gap:.5rem;
    margin-top:auto;
    padding-top:.35rem;
    border-top:1px solid var(--v7-line)
}

.raffle-card-winner-icon {
    font-size:1.5rem;
    width:1.5rem;
    height:1.5rem;
    color:#ffc107;
    flex-shrink:0
}

.raffle-card-winner-info {
    display:flex;
    flex-direction:column
}

.raffle-card-winner-label {
    font-size:.65rem;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:var(--v7-muted)
}

.raffle-card-winner-number {
    font-size:1rem;
    font-weight:700;
    color:var(--v7-text)
}

.vote-reward-card {
    height:100%
}

.vote-reward-card .card {
    height:100%
}

.vote-reward-card-header {
    background:linear-gradient(135deg, var(--v7-primary) 0%, var(--v7-primary-hover) 100%);
    border-radius:.375rem .375rem 0 0;
    min-height:120px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden
}

.vote-reward-card-header img {
    max-height:120px;
    object-fit:contain
}

.vote-reward-card-icon {
    font-size:2rem;
    width:2rem;
    height:2rem;
    opacity:.45;
    color:#fff
}

.vote-reward-card-name {
    font-weight:600;
    font-size:.95rem;
    margin-bottom:.6rem;
    line-height:1.25
}

.vote-reward-card-badges {
    display:flex;
    flex-wrap:wrap;
    gap:.3rem
}

.vote-reward-card-badge {
    display:inline-flex;
    align-items:center;
    gap:.25rem;
    font-size:.7rem;
    padding:.2rem .55rem;
    border-radius:50px;
    font-weight:500;
    background:var(--v7-success-bg);
    color:var(--v7-success-fg)
}

.vote-reward-card-badge-icon {
    font-size:.8rem;
    width:.8rem;
    height:.8rem
}

.lootbox__title {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding: .5rem .75rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--v7-text);
    background: var(--v7-sunken);
    border-radius: .375rem;
}

.vote-reward-card-delay {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-top: .5rem;
    font-size: .75rem;
    color: var(--v7-muted);
}

.guild-member-avatar.is-online {
    box-shadow: 0 0 0 2px var(--v7-success-fg);
}

.webshop-single-section {
    margin-bottom: 1rem;
}

.posts-views {
    margin-left: .75rem;
}

/* ==========================================================================
   Subscribe (grade de assinaturas do /vip, notify vip.plans; plugin sem override) - out/2026
   --------------------------------------------------------------------------
   O componente completo do app.css do default ja esta acima (subscribe-plans-block ... -btn).
   Aqui so os acertos do encaixe no darkside:
   - icone de check no verde do tema (era #198754 do default);
   - o DarkSide2025.css zera a margem de todo h1-h6 com !important: o titulo "Planos de
     assinatura" (h2) colava no subtitulo e o nome do plano (h4) no preco/descricao. A margem do
     componente volta so dentro dele (o !important e o unico jeito de vencer o do tema).
   ========================================================================== */

.subscribe-plan-check {
    color: var(--v7-success-fg);
}

.subscribe-plans-block .subscribe-plans-heading {
    margin-bottom: .35rem !important;
}

.subscribe-plans-block .subscribe-plan-name {
    margin: 0 0 .35rem !important;
}
