:root {
    --black: #050505;
    --panel: #0b0b0b;
    --panel-soft: #111111;

    --gold: #d4af37;
    --gold-light: #f0d46a;
    --gold-deep: #8f6d14;

    --cyan: #39c7ff;
    --green: #39e58c;
    --red: #ff6666;

    --text: #ece5cf;
    --muted: #aa9f7d;

    --border: rgba(212, 175, 55, 0.28);
    --border-soft: rgba(255, 255, 255, 0.08);

    --shadow:
        0 0 40px rgba(212, 175, 55, 0.08);

    --radius: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at top,
            rgba(212, 175, 55, 0.09),
            transparent 38%
        ),
        #030303;

    color: var(--text);

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;
}

.citizen-control-center {
    width: min(1500px, 96%);
    margin: 0 auto;
    padding: 32px 0 50px;
}


/* =========================================
   HEADER
========================================= */

.control-center-header {
    position: relative;

    padding:
        clamp(36px, 6vw, 72px)
        clamp(24px, 5vw, 70px);

    border:
        1px solid
        var(--border);

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.08),
            rgba(0, 0, 0, 0.85)
        );

    box-shadow:
        inset 0 0 0 10px rgba(0, 0, 0, 0.35),
        var(--shadow);

    text-align: center;
}

.control-center-header::before,
.control-center-header::after {
    content: "";

    position: absolute;

    top: 18px;
    bottom: 18px;

    width: 1px;

    background:
        linear-gradient(
            transparent,
            var(--gold),
            transparent
        );

    opacity: 0.45;
}

.control-center-header::before {
    left: 18px;
}

.control-center-header::after {
    right: 18px;
}

.control-center-overline,
.section-overline,
.panel-overline {
    margin: 0 0 10px;

    color: var(--gold);

    font-size: 0.78rem;
    font-weight: 800;

    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.control-center-header h1 {
    margin: 0;

    color: var(--gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(3rem, 7vw, 6.2rem);

    font-weight: 400;
    line-height: 0.95;
}

.control-center-introduction {
    width: min(900px, 100%);
    margin: 26px auto 0;

    color: var(--muted);

    font-size:
        clamp(1rem, 1.7vw, 1.2rem);

    line-height: 1.8;
}


/* =========================================
   CITIZEN JOURNEY
========================================= */

.citizen-journey {
    margin-top: 28px;

    padding:
        clamp(28px, 4vw, 48px);

    border:
        1px solid
        var(--border);

    background:
        rgba(7, 7, 7, 0.96);

    box-shadow:
        var(--shadow);
}

.journey-heading {
    margin-bottom: 28px;
}

.journey-heading h2,
.control-panel h2 {
    margin: 0;

    color: var(--gold-light);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 400;
}

.journey-heading h2 {
    font-size:
        clamp(2rem, 4vw, 3.4rem);
}

.journey-track {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 14px;
}

.journey-stage {
    position: relative;

    min-height: 250px;

    padding: 24px 20px;

    border:
        1px solid
        var(--border-soft);

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.018),
            rgba(255, 255, 255, 0)
        );

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.journey-stage:hover {
    transform: translateY(-3px);

    border-color:
        rgba(212, 175, 55, 0.48);
}

.stage-number {
    display: inline-flex;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(212, 175, 55, 0.4);

    border-radius: 50%;

    color: var(--gold);

    font-weight: 800;
}

.journey-stage h3 {
    margin: 22px 0 12px;

    color: var(--text);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.35rem;
}

.journey-stage p {
    margin: 0 0 22px;

    color: var(--muted);

    line-height: 1.6;
}

.stage-status {
    position: absolute;

    left: 20px;
    bottom: 20px;

    color: #858585;

    font-size: 0.7rem;
    font-weight: 900;

    letter-spacing: 0.16em;
}

.journey-stage.is-active {
    border-color:
        rgba(212, 175, 55, 0.65);

    background:
        linear-gradient(
            180deg,
            rgba(212, 175, 55, 0.09),
            rgba(0, 0, 0, 0.22)
        );

    box-shadow:
        inset 0 0 35px
        rgba(212, 175, 55, 0.05);
}

.journey-stage.is-active
.stage-status {
    color: var(--green);
}

.journey-stage.is-current {
    border-color:
        rgba(57, 199, 255, 0.7);

    box-shadow:
        inset 0 0 30px
        rgba(57, 199, 255, 0.06);
}

.journey-stage.is-current
.stage-status {
    color: var(--cyan);
}


/* =========================================
   CONTROL GRID
========================================= */

.citizen-command-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-top: 22px;
}

.control-panel {
    min-height: 280px;

    padding:
        clamp(24px, 4vw, 38px);

    border:
        1px solid
        var(--border);

    background:
        linear-gradient(
            145deg,
            rgba(212, 175, 55, 0.045),
            rgba(8, 8, 8, 0.98)
        );

    box-shadow:
        var(--shadow);
}

.control-panel h2 {
    margin-bottom: 25px;

    font-size:
        clamp(1.8rem, 3vw, 2.7rem);
}


/* =========================================
   PETITION STATUS
========================================= */

.petition-status-card {
    display: grid;
    gap: 15px;
}

.petition-status-card > div {
    padding: 18px;

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    background:
        rgba(0, 0, 0, 0.45);
}
.chamber-emblem-media span {
    font-size: 3.5rem;
}
.status-label {
    display: block;

    margin-bottom: 8px;

    color: var(--gold);

    font-size: 0.7rem;
    font-weight: 800;

    letter-spacing: 0.14em;
}

.petition-status-card strong {
    color: var(--text);

    font-size: 1.05rem;
}


/* =========================================
   NEXT STEP
========================================= */

.next-step-message {
    margin-bottom: 25px;

    color: var(--muted);

    line-height: 1.7;
}

.control-action {
    display: flex;

    min-height: 54px;

    align-items: center;
    justify-content: center;

    padding: 12px 18px;

    border:
        1px solid
        var(--gold);

    color: var(--gold-light);

    font-weight: 800;

    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.control-action:not(.is-locked):hover {
    background: var(--gold);

    color: var(--black);

    transform: translateY(-2px);
}

.control-action.is-locked {
    opacity: 0.42;

    cursor: not-allowed;

    pointer-events: none;
}


/* =========================================
   NOTICES
========================================= */

.notice-feed {
    padding: 18px;

    border-left:
        3px solid
        var(--cyan);

    background:
        rgba(57, 199, 255, 0.035);

    color: var(--muted);
}

.notice-feed p {
    margin: 0;

    line-height: 1.7;
}


/* =========================================
   IDENTITY
========================================= */

.identity-state {
    display: flex;

    gap: 16px;

    align-items: flex-start;

    padding: 20px;

    border:
        1px solid
        rgba(212, 175, 55, 0.18);

    background:
        rgba(0, 0, 0, 0.42);
}

.identity-indicator {
    width: 12px;
    height: 12px;

    flex: 0 0 12px;

    margin-top: 7px;

    border-radius: 50%;

    background: var(--gold);

    box-shadow:
        0 0 14px
        rgba(212, 175, 55, 0.65);
}

.identity-state strong {
    display: block;

    margin-bottom: 5px;

    color: var(--gold-light);
}

.identity-state p {
    margin: 0;

    color: var(--muted);

    line-height: 1.6;
}


/* =========================================
   FOOTER
========================================= */

.control-center-footer {
    margin-top: 26px;

    padding: 18px;

    border-top:
        1px solid
        var(--border);

    color: #8f8568;

    font-size: 0.76rem;

    letter-spacing: 0.12em;

    text-align: center;
    text-transform: uppercase;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .journey-track {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 760px) {

    .citizen-control-center {
        width: 94%;
    }

    .journey-track,
    .citizen-command-grid {
        grid-template-columns: 1fr;
    }

    .journey-stage {
        min-height: 220px;
    }

    .control-center-header h1 {
        font-size:
            clamp(2.6rem, 13vw, 4.6rem);
    }

}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration:
            0.01ms !important;
    }

}
/* =========================================================
   CITIZEN ACCESS GATEWAY
   ========================================================= */

.citizen-access-gateway {
    margin-top: 2rem;
    padding: 3rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background:
        radial-gradient(
            circle at top,
            rgba(212, 175, 55, 0.06),
            transparent 45%
        ),
        #0a0a0a;
}

.citizen-access-gateway__heading {
    max-width: 900px;
    margin-bottom: 2rem;
}

.citizen-access-gateway__heading h2 {
    margin: 0.45rem 0 1rem;
    color: #f3d66f;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
}

.citizen-access-gateway__intro {
    max-width: 850px;
    color: #cbb978;
    line-height: 1.7;
    font-size: 1rem;
}

.citizen-access-form {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
}

.citizen-access-field {
    display: grid;
    gap: 0.55rem;
}

.citizen-access-field label {
    color: #f3d66f;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.citizen-access-field input {
    width: 100%;
    min-height: 58px;
    box-sizing: border-box;
    padding: 0 1rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font: inherit;
    outline: none;
}

.citizen-access-field input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.12);
}

/* Private Access Key with embedded eye */
.citizen-password-field {
    position: relative;
    width: 100%;
}

.citizen-password-field input {
    width: 100%;
    padding-right: 60px;
}

.citizen-password-toggle {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);

    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;

    margin: 0;
    padding: 0;

    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;

    color: #d4af37;
    font-size: 18px;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    z-index: 10;
}

.citizen-password-toggle:hover,
.citizen-password-toggle:focus {
    color: #f3d66f;
    background: transparent;
    transform: translateY(-50%);
}

.citizen-access-submit {
    min-height: 58px;
    padding: 0.9rem 1.6rem;
    border: 1px solid #d4af37;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.06);
    color: #f3d66f;
    font-weight: 800;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.citizen-access-submit:hover {
    background: rgba(212, 175, 55, 0.14);
}

.citizen-access-message {
    min-height: 1.4rem;
    margin: 0;
    color: #cbb978;
}

@media (max-width: 720px) {
    .citizen-access-gateway {
        padding: 1.5rem;
    }

    .citizen-access-submit {
        width: 100%;
    }
}
/* =========================================================
   OFFICIAL GCCSS–THETA GOVERNMENT HEADER
   ========================================================= */

.theta-government-header {
    position: relative;
    overflow: hidden;
    margin: 0 0 36px;
    border: 1px solid rgba(212, 175, 55, 0.42);
    background:
        radial-gradient(
            circle at center,
            rgba(212, 175, 55, 0.06),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            #050505 0%,
            #090806 55%,
            #050505 100%
        );
    box-shadow:
        0 0 0 1px rgba(255, 215, 90, 0.05),
        0 22px 60px rgba(0, 0, 0, 0.55);
}

.theta-government-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 8px;
    width: 100%;
}

.theta-band-black {
    background: #000000;
}

.theta-band-red {
    background: #b40018;
}

.theta-band-blue {
    background: #0636d8;
}

.theta-government-header__inner {
    display: grid;
    grid-template-columns:
        minmax(145px, 190px)
        minmax(0, 1fr)
        minmax(145px, 190px);
    align-items: center;
    gap: 34px;
    padding: 38px 54px 34px;
}

.theta-government-seal {
    display: flex;
    align-items: center;
    justify-content: center;
}

.theta-government-seal img {
    display: block;
    width: min(100%, 170px);
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 8px 18px rgba(0, 0, 0, 0.75))
        drop-shadow(0 0 10px rgba(212, 175, 55, 0.16));
}

.theta-government-identity {
    text-align: center;
    min-width: 0;
}

.theta-government-authority {
    margin: 0 0 12px;
    color: #d4af37;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.theta-government-title {
    margin: 0;
    color: #f3d56a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6vw, 6.6rem);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.035em;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.9),
        0 0 24px rgba(212, 175, 55, 0.08);
}

.theta-government-office {
    margin: 22px 0 0;
    color: #d4af37;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.theta-government-divider {
    width: min(470px, 78%);
    height: 1px;
    margin: 18px auto 20px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(212, 175, 55, 0.9),
            transparent
        );
}

.theta-government-header .control-center-introduction {
    max-width: 920px;
    margin: 0 auto;
    color: #bda870;
    font-size: 1.08rem;
    line-height: 1.8;
}

.theta-government-classification {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 46px;
    padding: 10px 24px;
    border-top: 1px solid rgba(212, 175, 55, 0.28);
    background: rgba(0, 0, 0, 0.42);
    color: #d4af37;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.theta-government-classification span:nth-child(2),
.theta-government-classification span:nth-child(4) {
    color: #8a7329;
}

/* subtle official vertical sovereign accents */

.theta-government-header::before,
.theta-government-header::after {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 46px;
    width: 5px;
    z-index: 1;
}

.theta-government-header::before {
    left: 0;
    background:
        linear-gradient(
            180deg,
            #000000 0%,
            #000000 33.333%,
            #b40018 33.333%,
            #b40018 66.666%,
            #0636d8 66.666%,
            #0636d8 100%
        );
}

.theta-government-header::after {
    right: 0;
    background:
        linear-gradient(
            180deg,
            #000000 0%,
            #000000 33.333%,
            #b40018 33.333%,
            #b40018 66.666%,
            #0636d8 66.666%,
            #0636d8 100%
        );
}

@media (max-width: 980px) {
    .theta-government-header__inner {
        grid-template-columns: 110px minmax(0, 1fr) 110px;
        gap: 18px;
        padding: 30px 24px;
    }

    .theta-government-seal img {
        width: 108px;
    }

    .theta-government-title {
        font-size: clamp(2.5rem, 8vw, 4.7rem);
    }
}

@media (max-width: 720px) {
    .theta-government-header__inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 28px 22px;
    }

    .theta-government-seal--right {
        display: none;
    }

    .theta-government-seal img {
        width: 118px;
    }

    .theta-government-title {
        font-size: clamp(2.5rem, 13vw, 4.2rem);
    }

    .theta-government-authority,
    .theta-government-office {
        letter-spacing: 0.16em;
    }

    .theta-government-classification {
        gap: 8px;
        font-size: 0.62rem;
    }
}
/* =========================================================
   OFFICIAL GCCSS–THETA CITIZEN CONTROL CENTER BANNER
   ========================================================= */

.theta-government-header--official {
    width: 100%;
    margin: 0 0 32px;
    padding: 0;
    background: #000;
    border: 1px solid rgba(212, 175, 55, 0.45);
    overflow: hidden;
    line-height: 0;
}

.theta-official-header-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

/* =========================================================
   GCCSS–THETA
   CITIZEN CONTROL CENTER — CHAMBER NAVIGATION SYSTEM
   ========================================================= */

.citizen-command-grid {
    width: min(1540px, calc(100% - 4rem));
    margin: 2.5rem auto 4rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}


/* =========================================================
   CHAMBER FRAME
   ========================================================= */

.chamber-card {
    position: relative;
    min-height: 560px;

    padding: 2px;

    border: 1px solid rgba(212, 175, 55, 0.78);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 220, 105, 0.85),
            rgba(88, 58, 5, 0.55) 22%,
            rgba(212, 175, 55, 0.9) 50%,
            rgba(65, 43, 5, 0.6) 78%,
            rgba(255, 222, 111, 0.9)
        );

    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(212, 175, 55, 0.12),
        inset 0 0 24px rgba(212, 175, 55, 0.08);

    overflow: visible;
    isolation: isolate;
}


.chamber-card::before,
.chamber-card::after {
    content: "";
    position: absolute;
    z-index: 4;
    width: 34px;
    height: 34px;
    pointer-events: none;
}


.chamber-card::before {
    top: 8px;
    left: 8px;

    border-top: 2px solid #d4af37;
    border-left: 2px solid #d4af37;
    border-radius: 8px 0 0 0;
}


.chamber-card::after {
    right: 8px;
    bottom: 8px;

    border-right: 2px solid #d4af37;
    border-bottom: 2px solid #d4af37;
    border-radius: 0 0 8px 0;
}


.chamber-inner {
    position: relative;

    height: 100%;
    min-height: 556px;

    padding:
        4.4rem
        1.5rem
        1.3rem;

    display: flex;
    flex-direction: column;
    align-items: center;

    border-radius: 16px;

    background:
        radial-gradient(
            circle at 50% 18%,
            rgba(212, 175, 55, 0.08),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #080808 0%,
            #050505 52%,
            #0b0905 100%
        );

    box-shadow:
        inset 0 0 0 1px rgba(255, 215, 95, 0.14),
        inset 0 0 34px rgba(212, 175, 55, 0.035);

    overflow: hidden;
}


/* =========================================================
   FEATURED 04 — OPERATION CHAMBER
   ========================================================= */

.chamber-card-featured .chamber-inner {
    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(17, 71, 185, 0.40),
            transparent 45%
        ),
        linear-gradient(
            180deg,
            #061229 0%,
            #07152f 48%,
            #050b18 100%
        );
}


.chamber-card-featured {
    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.65),
        0 0 24px rgba(18, 73, 214, 0.16),
        0 0 0 1px rgba(212, 175, 55, 0.15);
}


/* =========================================================
   NUMBER CROWN / MEDALLION
   ========================================================= */

.chamber-number {
    position: absolute;
    z-index: 10;

    top: -26px;
    left: 50%;
    transform: translateX(-50%);

    width: 68px;
    height: 68px;

    display: grid;
    place-items: center;

    border: 2px solid #d4af37;
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 25%,
            #ffd968 0%,
            #c48b18 28%,
            #513204 58%,
            #0a0804 100%
        );

    color: #ffe385;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 800;

    letter-spacing: 0.05em;

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.75),
        0 0 18px rgba(212, 175, 55, 0.23),
        inset 0 0 0 4px rgba(0, 0, 0, 0.35);
}


.chamber-number::before {
    content: "♛";

    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);

    color: #d4af37;

    font-size: 1.65rem;

    text-shadow:
        0 2px 5px #000,
        0 0 8px rgba(212, 175, 55, 0.45);
}


/* =========================================================
   TEXT
   ========================================================= */

.chamber-kicker {
    margin: 0 0 0.8rem;

    color: #c7a44b;

    font-size: 0.67rem;
    font-weight: 800;

    letter-spacing: 0.20em;
    text-align: center;
}


.chamber-card h2 {
    min-height: 92px;
    margin: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;

    color: #f3d66f;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 1.45vw, 1.55rem);
    font-weight: 700;

    line-height: 1.08;
    text-align: center;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(212, 175, 55, 0.10);
}


.chamber-card h2 span {
    font-size: 0.92em;
}


.chamber-description {
    margin: 1.15rem auto 1.35rem;

    color: #d2ba77;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;

    line-height: 1.55;
    text-align: center;
}


/* =========================================================
   CENTRAL CHAMBER EMBLEMS
   ========================================================= */

.chamber-emblem {
    position: relative;

    width: 118px;
    height: 118px;

    margin: 1rem auto 0.25rem;

    display: grid;
    place-items: center;

    border: 1px solid rgba(212, 175, 55, 0.66);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(212, 175, 55, 0.18) 0%,
            rgba(212, 175, 55, 0.055) 44%,
            transparent 71%
        );

    color: #e0b83c;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 3.2rem;
    font-weight: 700;

    text-shadow:
        0 2px 6px #000,
        0 0 16px rgba(212, 175, 55, 0.28);

    box-shadow:
        inset 0 0 22px rgba(212, 175, 55, 0.08),
        0 0 18px rgba(212, 175, 55, 0.05);
}


.chamber-emblem::before,
.chamber-emblem::after {
    position: absolute;
    bottom: 5px;

    color: #b68d22;

    font-size: 2.5rem;
    line-height: 1;
}


.chamber-emblem::before {
    content: "❧";
    left: -25px;
    transform: rotate(-32deg);
}


.chamber-emblem::after {
    content: "❧";
    right: -25px;
    transform: scaleX(-1) rotate(-32deg);
}


.chamber-emblem-shield span {
    width: 66px;
    height: 76px;

    display: grid;
    place-items: center;

    border: 4px solid #bd8a20;
    border-radius: 42% 42% 52% 52% / 28% 28% 70% 70%;

    font-size: 2rem;
}


.chamber-emblem-scroll span {
    font-size: 3.7rem;
}


.chamber-emblem-compass span {
    font-size: 4rem;
}


.chamber-emblem-palace {
    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            rgba(212, 175, 55, 0.13),
            rgba(212, 175, 55, 0.02)
        );

    font-size: 3rem;
}


.chamber-emblem-book span {
    font-size: 3.65rem;
}


/* =========================================================
   ENTER CHAMBER BUTTON
   ========================================================= */

.chamber-enter {
    width: 100%;

    margin-top: auto;
    padding: 0.86rem 0.75rem;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #a87e14;
    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            rgba(212, 175, 55, 0.07),
            rgba(0, 0, 0, 0.18)
        );

    color: #f1cf5d !important;

    text-decoration: none !important;

    font-size: 0.84rem;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-align: center;

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease;
}


.chamber-enter:visited {
    color: #f1cf5d !important;
}


.chamber-enter:hover,
.chamber-enter:focus-visible {
    transform: translateY(-2px);

    border-color: #f0cc54;

    background:
        linear-gradient(
            180deg,
            rgba(212, 175, 55, 0.18),
            rgba(212, 175, 55, 0.06)
        );

    color: #ffe485 !important;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.42),
        0 0 15px rgba(212, 175, 55, 0.12);

    outline: none;
}


/* =========================================================
   INTERACTION
   ========================================================= */

.chamber-card {
    transition:
        transform 190ms ease,
        box-shadow 190ms ease;
}


.chamber-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 28px 62px rgba(0, 0, 0, 0.72),
        0 0 20px rgba(212, 175, 55, 0.11);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1400px) {

    .citizen-command-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}


@media (max-width: 950px) {

    .citizen-command-grid {
        width: min(94%, 760px);

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 2.2rem 1rem;
    }
}


@media (max-width: 640px) {

    .citizen-command-grid {
        width: calc(100% - 2rem);

        grid-template-columns: 1fr;

        gap: 2.8rem;
    }

    .chamber-card {
        min-height: 510px;
    }

    .chamber-inner {
        min-height: 506px;
    }

    .chamber-card h2 {
        min-height: auto;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .chamber-card,
    .chamber-enter {
        transition: none;
    }

    .chamber-card:hover,
    .chamber-enter:hover {
        transform: none;
    }
}
/* =========================================================
   GCCSS–THETA READINESS INDICATOR SYSTEM
   ========================================================= */

/* GREEN — READY */
.chamber-card.status-ready .chamber-inner {
    background:
        radial-gradient(
            circle at 50% 28%,
            rgba(20, 150, 80, 0.32),
            transparent 48%
        ),
        linear-gradient(
            180deg,
            #07140d 0%,
            #081b11 48%,
            #040a06 100%
        );
}

/* GOLD / YELLOW — UNDER DEVELOPMENT */
.chamber-card.status-development .chamber-inner {
    background:
        radial-gradient(
            circle at 50% 28%,
            rgba(212, 175, 55, 0.26),
            transparent 48%
        ),
        linear-gradient(
            180deg,
            #171305 0%,
            #211a06 48%,
            #0b0903 100%
        );
}

/* ORANGE — COMING SOON */
.chamber-card.status-coming-soon .chamber-inner {
    background:
        radial-gradient(
            circle at 50% 28%,
            rgba(210, 105, 25, 0.30),
            transparent 48%
        ),
        linear-gradient(
            180deg,
            #1a0d04 0%,
            #241207 48%,
            #0d0703 100%
        );
}

/* BLACK — TO BE DEVELOPED */
.chamber-card.status-planned .chamber-inner {
    background:
        radial-gradient(
            circle at 50% 28%,
            rgba(255, 255, 255, 0.035),
            transparent 48%
        ),
        linear-gradient(
            180deg,
            #090909 0%,
            #050505 52%,
            #020202 100%
        );
}
/* Commonwealth Connection is the first and primary citizen destination. */
.chamber-card-primary {
    border-color: #d4af37;
    box-shadow: 0 0 24px rgba(212, 175, 55, 0.18);
}
.chamber-primary-label {
    color: #f3d66f;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}
.chamber-card-primary .chamber-enter {
    background: #d4af37;
    color: #0a0a0a;
}
.chamber-card-primary .chamber-enter:focus-visible {
    outline: 3px solid #39c7ff;
    outline-offset: 5px;
}

/* Session controls stay outside creation and media surfaces. */
.citizen-session-bar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; margin:24px 0; border:1px solid #d4af3759; border-radius:16px; background:#101823; color:#eee8d8; }
.citizen-session-bar p { margin:4px 0; }
.citizen-session-bar .section-overline { color:#32d6f4; }
.citizen-session-switch { padding:12px 18px; min-height:44px; border:1px solid #d4af37; border-radius:10px; background:#192434; color:#f0d481; font:inherit; cursor:pointer; }
.citizen-session-switch:focus-visible { outline:2px solid #32d6f4; outline-offset:4px; }
.citizen-session-switch:disabled { opacity:.65; cursor:wait; }
#citizenSessionMessage { flex-basis:100%; }
#citizenSessionMessage:empty { display:none; }


.citizen-session-actions { display:flex; flex-wrap:wrap; gap:10px; }
.citizen-privacy-dialog { width:min(560px,calc(100% - 40px)); max-height:85vh; overflow:auto; padding:28px; border:1px solid #d4af37; border-radius:18px; background:#101823; color:#eee8d8; line-height:1.6; }
.citizen-privacy-dialog::backdrop { background:#03070dd9; }
.citizen-privacy-dialog h2 { color:#f0d481; }
.citizen-privacy-dialog .section-overline { color:#32d6f4; }
.citizen-privacy-choice { display:flex; align-items:center; gap:12px; padding:12px 0; font-weight:600; }
.citizen-privacy-choice input { width:22px; height:22px; accent-color:#d4af37; }

/* THETA-Meeting has its own citizen destination: card 08. */
.chamber-card-meeting{border-color:rgba(57,199,255,.3)}
.chamber-card-meeting .chamber-kicker{color:var(--cyan)}
.chamber-card-meeting .chamber-emblem-meeting span{color:var(--gold-light);font-size:48px}
.chamber-card-meeting .chamber-enter:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}

#publicationAudience{display:block;width:100%;min-height:46px;margin:12px 0;padding:12px;background:#0a1420;border:1px solid #8c7745;color:#f2e4bd;font:inherit;border-radius:9px}.citizen-privacy-dialog section{border-top:1px solid #485361;margin:22px 0;padding-top:16px}.citizen-privacy-dialog a{color:#8fcfff}

/* Card 02 · THETA-Verify */
.theta-verify-card .chamber-kicker{color:#98dcf5}
.theta-verify-card .chamber-emblem-shield{box-shadow:0 0 32px #84d8fc12;background:radial-gradient(circle,#9ce3c91a,transparent 70%)}
.theta-verify-card .chamber-emblem-shield span{color:#b0ead2}
.theta-verify-card .chamber-enter{border-color:#84d8fc88}

.quick-relay-card .chamber-kicker{color:#a7e1c8}.quick-relay-card .chamber-emblem{background:radial-gradient(circle,#8bcfdd1c,transparent 70%);box-shadow:0 0 30px #93dafa12}.quick-relay-card .chamber-emblem>span{color:#a7e1c8}.quick-relay-card .chamber-enter{border-color:#a7e1c888}
