/* ============================================================
   CCG OPTIONAL SUPPORT + SUPPORTER RECOGNITION
   Understated support routes and privacy-safe public thanks.
   ============================================================ */

/* Fourthwall and the retired shop route stay out of public promotion. */
a[href*="fourthwall.com"],
.ccg-footer-legal a[href="/shop.html"],
.ccg-legal-nav a[href="/shop.html"],
.ccg-passive-actions a[href="/shop.html"],
.ccg-passive-revenue-panel__actions a[href="/shop.html"] {
    display: none !important;
}

.ccg-passive-main {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 2rem));
    margin: clamp(1.2rem, 4vw, 2.8rem) auto;
}

.ccg-passive-hero {
    overflow: hidden;
    position: relative;
    padding: clamp(1.5rem, 4vw, 2.6rem);
    border: 1px solid rgba(var(--accent-rgb, 0, 170, 255), 0.3);
    border-radius: 20px;
    background:
        radial-gradient(circle at 15% 10%, rgba(var(--accent-rgb, 0, 170, 255), 0.14), transparent 38%),
        linear-gradient(145deg, rgba(7, 13, 30, 0.96), rgba(2, 5, 14, 0.98));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), 0 0 26px rgba(var(--accent-rgb, 0, 170, 255), 0.09);
    text-align: center;
}

.ccg-passive-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 4px);
    opacity: 0.35;
}

.ccg-passive-hero > * {
    position: relative;
    z-index: 1;
}

.ccg-passive-kicker {
    margin: 0 0 0.55rem;
    color: var(--accent, #43c6ff);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ccg-passive-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 6vw, 3.35rem);
    line-height: 1.05;
}

.ccg-passive-hero p {
    max-width: 72ch;
    margin: 0.9rem auto 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}

.ccg-passive-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.2rem;
}

.ccg-passive-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(var(--accent-rgb, 0, 170, 255), 0.5);
    border-radius: 10px;
    color: #06101a;
    background: var(--accent, #43c6ff);
    font-weight: 800;
    text-decoration: none;
}

.ccg-passive-button--ghost {
    color: rgba(255, 255, 255, 0.88);
    background: rgba(var(--accent-rgb, 0, 170, 255), 0.07);
}

.ccg-passive-button:hover,
.ccg-passive-button:focus-visible {
    transform: translateY(-1px);
    outline: 2px solid rgba(var(--accent-rgb, 0, 170, 255), 0.65);
    outline-offset: 3px;
}

.ccg-passive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.ccg-passive-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(var(--accent-rgb, 0, 170, 255), 0.24);
    border-radius: 15px;
    background:
        linear-gradient(145deg, rgba(var(--accent-rgb, 0, 170, 255), 0.06), rgba(4, 7, 16, 0.9) 42%),
        rgba(7, 11, 22, 0.95);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.ccg-passive-card h2,
.ccg-passive-card h3 {
    margin: 0 0 0.55rem;
    color: #ffffff;
}

.ccg-passive-card p,
.ccg-passive-card li {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.65;
}

.ccg-passive-card p {
    margin: 0.45rem 0;
}

.ccg-passive-card ul {
    margin: 0.5rem 0 0;
    padding-left: 1.15rem;
}

.ccg-passive-card .ccg-passive-actions {
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 0.75rem;
}

.ccg-hall-status {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    text-align: center;
}

.ccg-hall-tier {
    margin-top: 1.2rem;
}

.ccg-hall-tier__heading {
    margin: 0 0 0.7rem;
    color: #ffffff;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    text-align: center;
}

.ccg-hall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.75rem;
}

.ccg-hall-card {
    padding: 1rem;
    border: 1px solid rgba(var(--accent-rgb, 0, 170, 255), 0.24);
    border-radius: 13px;
    background: rgba(6, 10, 22, 0.9);
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.ccg-hall-card__badge {
    display: inline-flex;
    margin-bottom: 0.55rem;
    padding: 0.28rem 0.52rem;
    border: 1px solid rgba(var(--accent-rgb, 0, 170, 255), 0.28);
    border-radius: 999px;
    color: var(--accent, #43c6ff);
    background: rgba(var(--accent-rgb, 0, 170, 255), 0.07);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ccg-hall-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
}

.ccg-hall-card p {
    margin: 0.45rem 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.78rem;
    line-height: 1.5;
}

.ccg-hall-empty {
    grid-column: 1 / -1;
    padding: 1.2rem;
    border: 1px dashed rgba(var(--accent-rgb, 0, 170, 255), 0.3);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.68);
    background: rgba(5, 9, 19, 0.68);
    text-align: center;
}

/*
   The shared script still creates the original panel container.
   It is reduced here to one muted line with support and recognition links.
*/
.ccg-passive-revenue-panel {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: min(820px, calc(100% - 2rem));
    margin: 0.8rem auto;
    padding: 0.42rem 0.65rem;
    border: 0;
    border-top: 1px solid rgba(var(--accent-rgb, 0, 170, 255), 0.16);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0.72;
    text-align: center;
}

.ccg-passive-revenue-panel__copy {
    display: inline;
}

.ccg-passive-revenue-panel__copy strong {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.72rem;
    font-weight: 500;
}

.ccg-passive-revenue-panel__copy span {
    display: none;
}

.ccg-passive-revenue-panel__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
}

.ccg-passive-revenue-panel__actions a {
    display: none;
}

.ccg-passive-revenue-panel__actions a[href="/support.html"],
.ccg-passive-revenue-panel__actions a[href="/supporters.html"] {
    display: inline;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: rgba(var(--accent-rgb, 0, 170, 255), 0.82);
    background: transparent;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.ccg-passive-revenue-panel__actions a[href="/supporters.html"]::before {
    content: "· ";
    color: rgba(255, 255, 255, 0.38);
    text-decoration: none;
}

.ccg-passive-revenue-panel:hover,
.ccg-passive-revenue-panel:focus-within {
    opacity: 0.95;
}

.ccg-passive-revenue-panel__actions a[href="/support.html"]:hover,
.ccg-passive-revenue-panel__actions a[href="/support.html"]:focus-visible,
.ccg-passive-revenue-panel__actions a[href="/supporters.html"]:hover,
.ccg-passive-revenue-panel__actions a[href="/supporters.html"]:focus-visible {
    transform: none;
    outline: 1px solid rgba(var(--accent-rgb, 0, 170, 255), 0.45);
    outline-offset: 3px;
}

@media (max-width: 720px) {
    .ccg-passive-main {
        width: min(100% - 1.1rem, 1120px);
    }

    .ccg-passive-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .ccg-passive-button {
        width: 100%;
    }

    .ccg-passive-revenue-panel {
        width: min(100% - 1.1rem, 820px);
        flex-wrap: wrap;
        gap: 0.3rem;
    }
}
