/* Scoped: витрина виртуального магазина на /charge/ — этап 1 */
.virtual-shop-anchor {
    display: block;
    position: relative;
    top: -72px;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

.cotinder-virtual-shop {
    box-sizing: border-box;
    margin: 0 0 20px;
    padding: 18px 16px 20px;
    border-radius: 16px;
    border: 1px solid #fcd9b8;
    background: linear-gradient(165deg, #fffaf5 0%, #fff5f8 48%, #f8fff9 100%);
    max-width: 100%;
}

.cotinder-virtual-shop__title {
    margin: 0 0 8px;
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 800;
    color: #3d2a1e;
}

.cotinder-virtual-shop__lead {
    margin: 0 0 12px;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #5c4a3d;
}

.cotinder-virtual-shop__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 16px;
}

.cotinder-virtual-shop__quick-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: #c45a12;
    text-decoration: none;
}

.cotinder-virtual-shop__quick-link:hover,
.cotinder-virtual-shop__quick-link:focus-visible {
    text-decoration: underline;
}

.cotinder-virtual-shop__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cotinder-virtual-shop--collections {
    margin-bottom: 16px;
}

.cotinder-virtual-shop--after-contests {
    margin: 22px 0 20px;
}

.cotinder-virtual-shop--stage2-first {
    margin: 0;
}

.cotinder-virtual-shop__collections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 0;
}

.cotinder-virtual-shop__card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 12px 10px;
    border-radius: 14px;
    border: 1px solid #f0c9a0;
    background: #fff;
    text-decoration: none;
    color: inherit;
    min-height: 100%;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.cotinder-virtual-shop__card:hover,
.cotinder-virtual-shop__card:focus-visible {
    border-color: #e8a56a;
    box-shadow: 0 6px 18px rgba(196, 90, 18, 0.12);
}

.cotinder-virtual-shop__card-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.cotinder-virtual-shop__card-title {
    font-size: 0.98rem;
    line-height: 1.25;
    color: #2d2d2d;
}

.cotinder-virtual-shop__card-desc {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.35;
    color: #6b5b52;
    flex: 1 1 auto;
}

.cotinder-virtual-shop__card-count {
    font-size: 0.78rem;
    font-weight: 700;
    color: #c45a12;
}

.cotinder-virtual-shop__sub {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #3d2a1e;
}

.cotinder-virtual-shop__spotlight {
    margin-bottom: 16px;
}

.cotinder-virtual-shop__spotlight-card {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px dashed #e8a56a;
    background: #fff;
    text-decoration: none;
    color: #2d2d2d;
}

.cotinder-virtual-shop__spotlight-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.cotinder-virtual-shop__spotlight-card span {
    display: block;
    font-size: 0.82rem;
    color: #6b5b52;
    margin-bottom: 6px;
}

.cotinder-virtual-shop__spotlight-card em {
    font-style: normal;
    font-weight: 800;
    color: #c45a12;
}

.cotinder-virtual-shop__empty {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #6b5b52;
}

.cotinder-virtual-shop__mine-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cotinder-virtual-shop__mine-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 2px 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #f5e0cc;
}

.cotinder-virtual-shop__mine-item.is-temporary {
    border-style: dashed;
}

.cotinder-virtual-shop__mine-title {
    grid-column: 1;
    font-weight: 700;
    font-size: 0.9rem;
    color: #2d2d2d;
}

.cotinder-virtual-shop__mine-meta {
    grid-column: 1;
    font-size: 0.78rem;
    color: #7a6a5e;
}

.cotinder-virtual-shop__mine-badge {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff0e0;
    color: #b45309;
}

.cotinder-virtual-shop__mine-badge.is-perm {
    background: #e8f8ec;
    color: #2f6b3b;
}

.cotinder-virtual-shop__mine-cta {
    grid-column: 1 / -1;
    justify-self: start;
    font-size: 0.82rem;
    font-weight: 700;
    color: #c45a12;
    text-decoration: none;
}

.cotinder-virtual-shop__mine-cta:hover,
.cotinder-virtual-shop__mine-cta:focus-visible {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .cotinder-virtual-shop__collections {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .cotinder-virtual-shop {
        padding: 22px 20px 24px;
    }

    .cotinder-virtual-shop__mine-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (min-width: 1024px) {
    .cotinder-virtual-shop__mine-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 374px) {
    .cotinder-virtual-shop__title {
        font-size: 1.2rem;
    }

    .cotinder-virtual-shop__card-desc {
        font-size: 0.76rem;
    }
}

/* /charge/ — промо фишек → конкурсы → полка */
.charge-chip-promo {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px;
    padding: 12px 14px 14px;
    border-radius: 16px;
    border: 1px solid #f0c9a0;
    background: linear-gradient(135deg, #fff8f2 0%, #fff 55%);
}

.charge-chip-promo__kicker {
    margin: 0 0 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #c45a12;
}

.charge-chip-promo__down {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #c45a12;
    text-decoration: none;
}

.charge-chip-promo__down:hover,
.charge-chip-promo__down:focus-visible {
    text-decoration: underline;
}

.charge-contests {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px;
}

.charge-shop-block {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px;
    scroll-margin-top: 72px;
}

.charge-shop-block #arena-shop {
    scroll-margin-top: 72px;
}

/* Conversion Upgrade — коллекции, полка, карточки (scoped) */
.cotinder-virtual-shop__card.is-active {
    border-color: #e27d2a;
    box-shadow: 0 8px 22px rgba(196, 90, 18, 0.18);
    background: linear-gradient(180deg, #fff 0%, #fff8f0 100%);
}

.charge-shop-block .arena-shop__collection-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.charge-shop-block .arena-shop__collection-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid #f0c9a0;
    background: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    color: #5c4a3d;
    text-decoration: none;
    line-height: 1.2;
}

.charge-shop-block .arena-shop__collection-pill:hover,
.charge-shop-block .arena-shop__collection-pill:focus-visible {
    border-color: #e8a56a;
    color: #c45a12;
}

.charge-shop-block .arena-shop__collection-pill.is-active {
    background: linear-gradient(135deg, #fff0e3 0%, #ffe8d6 100%);
    border-color: #e27d2a;
    color: #9a3412;
}

.charge-shop-block .arena-shop__collection-lead {
    margin: 0 0 12px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #5c4a3d;
}

.charge-shop-block .arena-shop__collection-all {
    margin-left: 8px;
    font-weight: 700;
    color: #c45a12;
    text-decoration: none;
}

.charge-shop-block .arena-shop__collection-all:hover,
.charge-shop-block .arena-shop__collection-all:focus-visible {
    text-decoration: underline;
}

.charge-shop-block .arena-shop__collection-empty {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px dashed #e8a56a;
    background: #fffaf5;
    font-size: 0.88rem;
    color: #6b5b52;
}

.charge-shop-block .arena-shop__recs--conversion {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #f5e0cc;
    background: rgba(255, 255, 255, 0.92);
}

.charge-shop-block .arena-shop__recs--conversion > .arena-shop__recs-sum {
    font-size: 0.95rem;
    font-weight: 800;
    color: #3d2a1e;
    cursor: pointer;
}

.charge-shop-block .arena-shop__card--vshop {
    border-radius: 14px;
    border: 1px solid #f0e0d0;
    background: linear-gradient(165deg, #fff 0%, #fffaf7 100%);
    box-shadow: 0 2px 10px rgba(61, 42, 30, 0.06);
    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.charge-shop-block .arena-shop__card--vshop:hover {
    border-color: #e8c4a0;
    box-shadow: 0 10px 24px rgba(196, 90, 18, 0.12);
    transform: translateY(-1px);
}

.charge-shop-block .arena-shop__col-pill {
    display: inline-block;
    align-self: flex-start;
    margin: 0 0 6px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #9a3412;
    background: #fff0e3;
}

.cotinder-virtual-shop__mine-icon {
    grid-column: 1;
    font-size: 1.1rem;
    line-height: 1;
    margin-bottom: 2px;
}

.cotinder-virtual-shop__mine-item:has(.cotinder-virtual-shop__mine-icon) {
    grid-template-columns: 1fr auto;
}

@media (max-width: 374px) {
    .charge-shop-block .arena-shop__collection-pill {
        font-size: 0.78rem;
        padding: 6px 10px;
    }
}