/* Overview page subscriber benefits panel.
   Owns only the Overview subscriber explanation card, Overview card theming, and adjusted guide layout. */

#overview.support-view-active .overview-guide-grid,
#overview.support-view-active .overview-guide-main {
    display: grid;
    gap: 14px;
    min-width: 0;
}

#overview.support-view-active .overview-guide-grid {
    align-items: start;
}

@media (min-width: 1001px) {
    #overview.support-view-active .overview-guide-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(520px, 580px) !important;
        gap: 18px !important;
        align-items: start !important;
    }

    #overview.support-view-active .overview-guide-main { min-width: 0; }

    #overview.support-view-active .overview-subscription-panel {
        width: 100%;
        min-width: 520px;
        max-width: 580px;
        align-self: stretch;
        position: sticky;
        top: 104px;
    }
}

@media (min-width: 1500px) {
    #overview.support-view-active .overview-guide-grid {
        grid-template-columns: minmax(0, 1fr) minmax(600px, 660px) !important;
    }

    #overview.support-view-active .overview-subscription-panel {
        min-width: 600px;
        max-width: 660px;
    }
}

#overview .card-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

#overview .overview-card-rank .card-icon img {
    width: 31px;
    height: 31px;
}

#overview .overview-card-credits { order: 1; }
#overview .overview-card-standing { order: 2; }
#overview .overview-card-rank { order: 3; }
#overview .overview-card-redemptions { order: 4; }
#overview .overview-card-achievements { order: 5; }

#overview .info-card::before {
    top: -1px;
    left: -1px;
    width: 15px;
    height: 15px;
    border-top: 2px solid rgba(126, 223, 255, 0.50);
    border-left: 2px solid rgba(126, 223, 255, 0.50);
    border-right: 0;
    border-bottom: 0;
    border-top-left-radius: 15px;
    background: transparent;
    box-shadow: none;
    opacity: 0.62;
}

#overview .info-card::after {
    top: auto;
    left: auto;
    right: -1px;
    bottom: -1px;
    width: 15px;
    height: 15px;
    border-top: 0;
    border-left: 0;
    border-right: 2px solid rgba(126, 223, 255, 0.30);
    border-bottom: 2px solid rgba(126, 223, 255, 0.30);
    border-bottom-right-radius: 15px;
    background: transparent;
    box-shadow: none;
    opacity: 0.42;
    transform: none;
}

#overview .info-card:hover::before,
#overview .info-card:focus-visible::before {
    opacity: 0.82;
    border-color: rgba(126, 223, 255, 0.68);
}

#overview .info-card:hover::after,
#overview .info-card:focus-visible::after {
    opacity: 0.72;
    border-color: rgba(126, 223, 255, 0.52);
    transform: none;
}

#overview .overview-card-credits .card-icon,
#overview .overview-card-standing .card-icon {
    position: relative;
    display: grid;
    place-items: center;
    color: transparent;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

#overview .overview-card-credits .card-icon::before,
#overview .overview-card-standing .card-icon::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 26px;
    height: 26px;
    transform: translate(-50%, -50%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#overview .overview-card-credits .card-icon::before {
    background-image: url("../assets/icons/bunker-credit-192px.png");
}

#overview .overview-card-standing .card-icon::before {
    background-image: url("../assets/icons/standing.svg");
}

#overview .overview-card-credits {
    border-color: rgba(129, 255, 195, 0.38);
    background:
        linear-gradient(135deg, rgba(129, 255, 195, 0.105), rgba(8, 24, 45, 0.70)),
        radial-gradient(circle at 10% 0%, rgba(126, 223, 255, 0.08), transparent 34%);
}

#overview .overview-card-credits::before {
    border-color: rgba(129, 255, 195, 0.58);
}

#overview .overview-card-credits::after {
    border-color: rgba(126, 223, 255, 0.34);
}

#overview .overview-card-credits .card-icon {
    border-color: rgba(129, 255, 195, .36);
    background: rgba(129, 255, 195, .08);
    box-shadow: 0 0 18px rgba(129, 255, 195, .12), inset 0 0 14px rgba(129, 255, 195, .05);
}

#overview .overview-card-credits:hover,
#overview .overview-card-credits:focus-visible {
    border-color: rgba(129, 255, 195, 0.74);
    background:
        linear-gradient(135deg, rgba(129, 255, 195, 0.16), rgba(18, 51, 84, 0.84)),
        radial-gradient(circle at 10% 0%, rgba(126, 223, 255, 0.10), transparent 34%);
    box-shadow: 0 0 28px rgba(129, 255, 195, 0.18), inset 0 0 20px rgba(129, 255, 195, 0.055);
}

#overview .overview-credit-word { color: var(--success); }
#overview .overview-charge-word { color: var(--accent); }

#overview .overview-card-standing {
    border-color: rgba(190, 225, 255, 0.28);
    background: linear-gradient(135deg, rgba(190, 225, 255, 0.065), rgba(8, 24, 45, 0.70));
}

#overview .overview-card-standing:hover,
#overview .overview-card-standing:focus-visible {
    border-color: rgba(190, 225, 255, 0.58);
    background: linear-gradient(135deg, rgba(190, 225, 255, 0.11), rgba(18, 51, 84, 0.84));
    box-shadow: 0 0 24px rgba(190, 225, 255, 0.14), inset 0 0 18px rgba(190, 225, 255, 0.04);
}

#overview .overview-card-rank {
    border-color: rgba(177, 126, 255, 0.38);
    background: linear-gradient(135deg, rgba(177, 126, 255, 0.12), rgba(8, 24, 45, 0.70));
}

#overview .overview-card-rank .card-icon,
#overview .overview-card-rank h2 { color: #d8ceff; }

#overview .overview-card-rank:hover,
#overview .overview-card-rank:focus-visible {
    border-color: rgba(177, 126, 255, 0.78);
    background: linear-gradient(135deg, rgba(177, 126, 255, 0.18), rgba(18, 51, 84, 0.84));
    box-shadow: 0 0 28px rgba(177, 126, 255, 0.20), inset 0 0 20px rgba(177, 126, 255, 0.06);
}

#overview .overview-card-achievements {
    border-color: rgba(255, 211, 126, 0.38);
    background: linear-gradient(135deg, rgba(255, 211, 126, 0.105), rgba(8, 24, 45, 0.70));
}

#overview .overview-card-achievements .card-icon,
#overview .overview-card-achievements h2 { color: #ffd37e; }

#overview .overview-card-achievements:hover,
#overview .overview-card-achievements:focus-visible {
    border-color: rgba(255, 211, 126, 0.74);
    background: linear-gradient(135deg, rgba(255, 211, 126, 0.16), rgba(18, 51, 84, 0.84));
    box-shadow: 0 0 28px rgba(255, 211, 126, 0.18), inset 0 0 20px rgba(255, 211, 126, 0.055);
}

#overview .overview-card-redemptions {
    border-color: rgba(255, 138, 61, 0.38);
    background: linear-gradient(135deg, rgba(255, 138, 61, 0.105), rgba(8, 24, 45, 0.70));
}

#overview .overview-card-redemptions .card-icon,
#overview .overview-card-redemptions h2 { color: #ffb16a; }

#overview .overview-card-redemptions:hover,
#overview .overview-card-redemptions:focus-visible {
    border-color: rgba(255, 138, 61, 0.74);
    background: linear-gradient(135deg, rgba(255, 138, 61, 0.16), rgba(18, 51, 84, 0.84));
    box-shadow: 0 0 28px rgba(255, 138, 61, 0.18), inset 0 0 20px rgba(255, 138, 61, 0.055);
}

.overview-subscription-panel { display: grid; gap: 10px; padding: 18px; }
.overview-subscription-kicker { color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; }
.overview-subscription-copy { margin: 0; color: var(--muted); line-height: 1.45; }
.overview-benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.overview-benefit-card, .overview-emote-card { min-width: 0; padding: 10px; border: 1px solid rgba(93, 210, 255, 0.2); border-radius: 12px; background: rgba(8, 24, 45, 0.62); }
.overview-benefit-card { position: relative; display: grid; align-content: center; min-height: 74px; padding-left: 52px; text-align: center; text-decoration: none; color: inherit; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.overview-benefit-card.overview-benefit-link:hover, .overview-benefit-card.overview-benefit-link:focus-visible, .overview-benefit-card.overview-benefit-static:hover { transform: translateY(-1px); border-color: rgba(126, 223, 255, 0.48); background: rgba(18, 51, 84, 0.72); box-shadow: 0 0 18px rgba(35, 180, 255, 0.12), inset 0 0 18px rgba(126, 223, 255, 0.035); outline: none; }
.overview-benefit-card > div { display: block; }
.overview-benefit-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 10px; background: rgba(126, 223, 255, 0.08); color: var(--accent); font-size: 17px; font-weight: 1000; line-height: 1; box-shadow: 0 0 18px rgba(35, 180, 255, 0.10), inset 0 0 14px rgba(126, 223, 255, 0.05); }
.overview-benefit-icon img { width: 26px; height: 26px; object-fit: contain; display: block; }
.overview-benefit-icon.badge-icon img { width: 30px; height: 30px; }
.overview-benefit-card strong { display: block; color: var(--text); font-size: 15px; font-weight: 900; line-height: 1.15; margin: 0 0 4px; text-align: center; }
.overview-benefit-card > div > span { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; text-align: center; }
.overview-emote-card { display: grid; grid-column: 1 / -1; gap: 8px; }
.overview-emote-copy { display: block; }
.overview-emote-copy strong { display: block; color: var(--text); font-size: 15px; font-weight: 900; line-height: 1.15; margin: 0 0 4px; }
.overview-emote-copy span:not(.overview-benefit-icon) { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.overview-emote-preview { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.overview-emote-slot { display: grid; place-items: center; aspect-ratio: 1; min-width: 0; padding: 4px; border: 1px solid rgba(126, 223, 255, 0.16); border-radius: 11px; background: rgba(3, 10, 22, 0.34); box-shadow: inset 0 0 14px rgba(126, 223, 255, 0.04); overflow: hidden; }
.overview-emote-slot img { width: 100%; height: 100%; max-width: 42px; max-height: 42px; object-fit: contain; display: block; }
.overview-subscription-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.overview-subscribe-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 7px 9px; border: 1px solid rgba(126, 223, 255, 0.20); border-radius: 999px; background: rgba(8, 24, 45, 0.48); color: rgba(234, 247, 255, 0.72); font-size: 10px; font-weight: 950; text-decoration: none; text-transform: uppercase; transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.overview-subscribe-link img { width: 13px; height: 13px; object-fit: contain; display: block; }
.overview-subscribe-link:hover, .overview-subscribe-link:focus-visible { transform: translateY(-1px); outline: none; }
.overview-subscribe-link.twitch:hover, .overview-subscribe-link.twitch:focus-visible { border-color: rgba(145, 91, 255, 0.62); background: rgba(145, 91, 255, 0.13); color: #d7c2ff; box-shadow: 0 0 14px rgba(145, 91, 255, 0.14); }
.overview-subscribe-link.youtube:hover, .overview-subscribe-link.youtube:focus-visible { border-color: rgba(255, 76, 94, 0.58); background: rgba(255, 76, 94, 0.11); color: #ffb8c4; box-shadow: 0 0 14px rgba(255, 76, 94, 0.12); }
.overview-subscribe-link.kick:hover, .overview-subscribe-link.kick:focus-visible { border-color: rgba(83, 255, 112, 0.54); background: rgba(83, 255, 112, 0.10); color: #b9ffa8; box-shadow: 0 0 14px rgba(83, 255, 112, 0.10); }
.overview-subscribe-link.rumble:hover, .overview-subscribe-link.rumble:focus-visible { border-color: rgba(159, 255, 88, 0.52); background: rgba(159, 255, 88, 0.09); color: #dbffad; box-shadow: 0 0 14px rgba(159, 255, 88, 0.10); }
.overview-subscribe-link.facebook:hover, .overview-subscribe-link.facebook:focus-visible { border-color: rgba(88, 153, 255, 0.58); background: rgba(88, 153, 255, 0.11); color: #bdd8ff; box-shadow: 0 0 14px rgba(88, 153, 255, 0.12); }
.overview-target-pulse { border-color: rgba(126, 223, 255, 0.82) !important; animation: overviewTargetPulse 1600ms ease-out !important; }
@keyframes overviewTargetPulse { 0% { border-color: rgba(126, 223, 255, 0.82); box-shadow: 0 0 0 rgba(126, 223, 255, 0); background-color: rgba(55, 187, 255, 0.16); } 45% { box-shadow: 0 0 34px rgba(126, 223, 255, 0.34); } 100% { box-shadow: none; } }
@media (max-width: 1180px) and (min-width: 1001px) { #overview.support-view-active .overview-guide-grid { grid-template-columns: minmax(0, 1fr) minmax(480px, 540px) !important; } #overview.support-view-active .overview-subscription-panel { min-width: 480px; max-width: 540px; } .overview-subscription-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) { #overview .overview-guide-grid { grid-template-columns: 1fr; } .overview-subscription-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .overview-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .overview-emote-preview { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; } .overview-emote-slot { padding: 2px; border-radius: 8px; } .overview-emote-slot img { max-width: 30px; max-height: 30px; } }

@media (max-width: 620px) {
    #overview .overview-grid {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-bottom: 16px;
    }

    #overview .overview-grid .info-card {
        grid-template-columns: 34px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 10px;
        row-gap: 2px;
        align-items: center;
        min-height: 0;
        padding: 10px 12px;
        border-radius: 14px;
    }

    #overview .overview-grid .card-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    #overview .overview-grid .card-icon img {
        width: 22px;
        height: 22px;
    }

    #overview .overview-grid .overview-card-rank .card-icon img {
        width: 28px;
        height: 28px;
    }

    #overview .overview-card-credits .card-icon::before,
    #overview .overview-card-standing .card-icon::before {
        width: 23px;
        height: 23px;
    }

    #overview .overview-grid .info-card h2 {
        grid-column: 2;
        grid-row: 1;
        font-size: 16px;
        line-height: 1.08;
        margin: 0;
    }

    #overview .overview-grid .info-card p {
        grid-column: 2;
        grid-row: 2;
        font-size: 12.5px;
        line-height: 1.28;
        margin: 0;
    }
}