/* =============================================================================
   ⛩ THE CHAMBER OF THE THIRTEEN COUNSELLORS — the paid patron page
   ---------------------------------------------------------------------------
   Deliberately its own palette, distinct from the Gate's mystical crimson/
   violet — the Gate is ritual and ceremony, the Chamber is the serious
   product itself. Navy/cyan/gold reads as "verified technical instrument",
   matching the register of the KAMPEKKI report rather than the gate cinematic.
   ============================================================================= */

.page-chamber {
    background: #060a14;
    min-height: 100%;
}

.chamber-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}

.chamber-head {
    text-align: center;
    margin-bottom: 28px;
}
.chamber-head h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e8b030;
    letter-spacing: 0.02em;
    margin: 0 0 6px;
}
.chamber-sub {
    color: #6f8bab;
    font-size: 0.95rem;
    font-style: italic;
    margin: 0;
}

/* Honesty banner — shared class, also used on the Engine Room page
   (engine_room.css intentionally does not redefine it). Real math,
   plainly stated: entertainment, not a promise to beat randomness. */
.honesty-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 640px;
    margin: 14px auto 26px;
    padding: 10px 18px;
    background: #0c1424;
    border: 1px solid #1c2c44;
    border-radius: 999px;
    color: #6f8bab;
    font-size: 0.8rem;
    text-align: center;
}
.honesty-banner strong {
    color: #cdd8e8;
    font-weight: 600;
}
.honesty-banner a {
    color: #4fd6ff;
    text-decoration: none;
    white-space: nowrap;
}
.honesty-banner a:hover {
    text-decoration: underline;
}

.chamber-card {
    background: #0c1424;
    border: 1px solid #1c2c44;
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 20px;
}
.chamber-card h3 {
    color: #4fd6ff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #1c2c44;
}
.chamber-card h4 {
    color: #cdd8e8;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.chamber-loading {
    color: #4a5c78;
    font-style: italic;
    font-size: 0.85rem;
}
.chamber-error {
    color: #ff8a80;
    font-size: 0.85rem;
}

/* ── Verdict ─────────────────────────────────────────────────────────── */
.chamber-verdict-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.chamber-pick-ball {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 35% 30%, #ffe9a8, #e8b030 60%, #a06010 100%);
    color: #241300;
    font-weight: 800; font-size: 0.95rem;
    box-shadow: 0 0 10px rgba(232, 176, 48, 0.35);
}
.chamber-verdict-meta {
    color: #8ea3bf;
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ── The Two Formulas ────────────────────────────────────────────────── */
.chamber-formulas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 640px) {
    .chamber-formulas-grid { grid-template-columns: 1fr; }
}
.chamber-formula-col {
    background: #0a101c;
    border: 1px solid #162236;
    border-radius: 8px;
    padding: 16px 18px;
}
.chamber-formula-eq {
    font-family: "Cambria Math", "STIX Two Math", Georgia, serif;
    font-size: 1.0rem;
    color: #e8f0fa;
    line-height: 1.7;
    background: #060a14;
    border: 1px solid #1c2c44;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 10px;
    overflow-x: auto;
}
.chamber-formula-eq sub, .chamber-formula-eq sup { color: #4fd6ff; }
.chamber-formula-pending {
    text-align: center;
    color: #6f8bab;
    font-family: inherit;
    font-style: italic;
}
.chamber-formula-pending-tag {
    display: block;
    font-size: 0.78rem;
    color: #e8b030;
    margin-top: 4px;
    font-style: normal;
    letter-spacing: 0.03em;
}
.chamber-formula-note {
    color: #8ea3bf;
    font-size: 0.78rem;
    line-height: 1.5;
    margin: 0;
}

/* ── The Brain — council interaction web ─────────────────────────────── */
.chamber-council-web-note {
    color: #8ea3bf;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0 0 14px;
}
.chamber-council-web-canvas-wrap {
    position: relative;
    background: #0a101c;
    border: 1px solid #162236;
    border-radius: 8px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chamber-council-web-canvas-wrap canvas {
    display: block;
}
.chamber-council-web-canvas-wrap .chamber-loading {
    position: absolute;
}

/* ── Thirteen Counsellors ────────────────────────────────────────────── */
.chamber-counsellors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}
.chamber-counsellor-card {
    background: #0a101c;
    border: 1px solid #162236;
    border-radius: 8px;
    padding: 12px 14px;
}
.chamber-counsellor-name {
    color: #4fd6ff;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 6px;
}
.chamber-counsellor-gauge {
    height: 6px;
    border-radius: 3px;
    background: #16233a;
    overflow: hidden;
    margin-bottom: 8px;
}
.chamber-counsellor-gauge-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff8a5b, #e8b030 55%, #4ee08a 100%);
    transition: width 400ms ease;
}
.chamber-counsellor-reason {
    color: #9db3cc;
    font-size: 0.78rem;
    line-height: 1.4;
}

/* ── Methodology ─────────────────────────────────────────────────────── */
.chamber-methodology p {
    color: #9db3cc;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0 0 10px;
}
.chamber-methodology ul {
    margin: 0 0 10px 18px;
    padding: 0;
    color: #8ea3bf;
    font-size: 0.8rem;
    line-height: 1.7;
}
.chamber-methodology a { color: #4fd6ff; }

/* ── Founder's Note — the one intentionally personal section ────────── */
.chamber-note {
    background: #0c1424;
    border-left: 3px solid #e8b030;
}
.chamber-note-text {
    color: #cdd8e8;
    font-style: italic;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 6px;
}
.chamber-note-meta {
    color: #5a6f8c;
    font-size: 0.75rem;
}
