/* ══════════════════════════════════════════════════════════════════════════════
   threeStoogesChatlogStyles.css
   TNT | Tool Time | Three Stooges Driver — Entry #6 Chatlog
   Created: 11/01/2026
   Palette: vintage B&W film · warm sepia accent
   ══════════════════════════════════════════════════════════════════════════════ */

:root {
    --st-dark:    #0e0e0e;
    --st-card:    #1a1a1a;
    --st-sepia:   #c49a20;
    --st-sepia2:  rgba(196,154,32,0.18);
    --st-blue:    #4287c8;
    --st-blue2:   rgba(66,135,200,0.18);
    --st-cream:   #f0e8d0;
    --st-dim:     rgba(240,232,208,0.60);
    --st-border:  rgba(196,154,32,0.22);
}

body {
    background: var(--st-dark);
    color: var(--st-cream);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.72;
}

/* ── Back bar ──────────────────────────────────────────────────────────────── */
.st-back-bar {
    background: rgba(14,14,14,0.96);
    border-bottom: 1px solid var(--st-border);
    padding: 0.45rem 1.2rem;
    display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px;
}
.st-back-bar a       { color: var(--st-sepia); text-decoration: none; transition: color 0.18s; }
.st-back-bar a:hover { color: var(--st-cream); }
.st-back-bar span    { color: rgba(240,232,208,0.28); margin-left: auto; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
#hero {
    min-height: 30vh;
    background:
        linear-gradient(160deg, rgba(14,14,14,0.90) 0%, rgba(30,20,5,0.72) 100%),
        url('../images/stoogesThanksgiving.jpg') center 35% / cover no-repeat;
    padding: 3.5rem 1rem 2.5rem;
    display: flex; align-items: center; justify-content: center;
}
.hero-content   { text-align: center; max-width: 700px; margin: 0 auto; }
.hero-eyebrow   { display: block; font-size: 0.75rem; font-weight: 600;
                   letter-spacing: 2.5px; text-transform: uppercase;
                   color: var(--st-sepia); margin-bottom: 0.55rem; }
.hero-title     { font-family: 'Boogaloo', sans-serif;
                   font-size: clamp(1.8rem, 4.5vw, 2.8rem);
                   color: var(--st-cream); margin-bottom: 0.5rem; }
.hero-subtitle  { font-size: 0.95rem; color: var(--st-dim);
                   max-width: 560px; margin: 0 auto; line-height: 1.65; }

/* ── Log container ─────────────────────────────────────────────────────────── */
.log-container { max-width: 820px; margin: 0 auto; padding: 0 1rem 4rem; }

/* ── Log divider ───────────────────────────────────────────────────────────── */
.log-divider {
    text-align: center;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: rgba(196,154,32,0.55);
    margin: 2rem 0 1.1rem;
    position: relative;
}
.log-divider::before,
.log-divider::after {
    content: ''; position: absolute; top: 50%;
    width: 25%; height: 1px; background: rgba(196,154,32,0.22);
}
.log-divider::before { left: 0; }
.log-divider::after  { right: 0; }

/* ── SPARK banners ─────────────────────────────────────────────────────────── */
.spark-banner {
    display: flex; align-items: flex-start; gap: 0.9rem;
    padding: 0.9rem 1.1rem; border-radius: 10px;
    margin: 1.5rem 0 0.7rem; font-size: 0.9rem;
}
.spark-icon { font-size: 1.6rem; flex-shrink: 0; line-height: 1.2; }
.spark-banner strong { display: block; font-size: 1rem; margin-bottom: 0.2rem; }
.spark-s  { background: rgba(66,135,200,0.14); border-left: 5px solid var(--st-blue);    color: #d4e9f7; }
.spark-p  { background: rgba(196,154,32,0.12); border-left: 5px solid var(--st-sepia);   color: #fef0d0; }
.spark-a  { background: rgba(66,135,200,0.10); border-left: 5px solid #5dade2;            color: #d4e9f7; }
.spark-r  { background: rgba(66,135,200,0.14); border-left: 5px solid var(--st-blue);    color: #d4e9f7; }
.spark-k  { background: rgba(196,154,32,0.14); border-left: 5px solid var(--st-sepia);   color: #fef0d0; }

/* ── Aside / info boxes ────────────────────────────────────────────────────── */
.aside-box {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-left: 4px solid var(--st-sepia);
    border-radius: 0 8px 8px 0;
    padding: 0.9rem 1.1rem;
    margin: 1.1rem 0;
    font-size: 0.88rem;
    color: var(--st-dim);
}
.aside-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
               text-transform: uppercase; color: var(--st-sepia); margin-bottom: 0.45rem; }
.aside-box a { color: var(--st-sepia); font-weight: 600; }

/* ── Chat turns ────────────────────────────────────────────────────────────── */
.chat-turn { margin: 0.5rem 0 1.2rem; }
.chat-speaker {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; margin-bottom: 0.3rem;
}
.chat-speaker.user    { color: var(--st-blue);  text-align: right; }
.chat-speaker.copilot { color: var(--st-sepia); }
.chat-bubble {
    display: inline-block; max-width: 88%;
    background: var(--st-card); border-radius: 10px;
    padding: 0.7rem 1rem; font-size: 0.88rem;
    color: var(--st-dim); line-height: 1.68;
}
.bubble-user-wrap { text-align: right; }
.bubble-user-wrap .chat-bubble {
    background: rgba(66,135,200,0.12);
    border: 1px solid rgba(66,135,200,0.25);
    text-align: left;
}

/* ── Critique box ──────────────────────────────────────────────────────────── */
.critique-box {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: 10px;
    padding: 1.4rem 1.6rem;
    margin: 1rem 0;
    position: relative;
}
.critique-label {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--st-sepia); margin-bottom: 2rem;
}
.prompt-grade {
    position: absolute; top: 1.1rem; right: 1.3rem;
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Boogaloo', sans-serif; font-size: 1.6rem; font-weight: 700;
}
.grade-a  { background: rgba(39,174,96,0.18);  border: 2px solid #27AE60; color: #27AE60; }
.grade-b  { background: rgba(66,135,200,0.18); border: 2px solid var(--st-blue); color: var(--st-blue); }
.grade-b-plus { background: rgba(66,135,200,0.20); border: 2px solid #5ba3d9; color: #5ba3d9; }

.prompt-check {
    display: flex; gap: 0.7rem; align-items: flex-start;
    padding: 0.45rem 0; border-bottom: 1px solid rgba(196,154,32,0.08);
    font-size: 0.86rem; color: var(--st-dim);
}
.prompt-check:last-of-type { border-bottom: none; }
.check-icon { flex-shrink: 0; font-size: 1rem; margin-top: 0.1rem; }

/* ── Code snap ─────────────────────────────────────────────────────────────── */
.code-snap {
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(66,135,200,0.20);
    border-radius: 6px;
    padding: 0.65rem 0.9rem;
    font-family: 'Source Code Pro', 'Courier New', monospace;
    font-size: 0.82rem;
    color: #b8d4f0;
    overflow-x: auto;
    white-space: pre;
    margin: 0.65rem 0;
}

/* ── Decision box ──────────────────────────────────────────────────────────── */
.decision-box {
    background: rgba(66,135,200,0.06);
    border: 1px solid rgba(66,135,200,0.20);
    border-radius: 10px;
    padding: 1.1rem 1.4rem;
    margin: 1rem 0;
    font-size: 0.88rem;
    color: var(--st-dim);
}
.decision-label {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--st-blue); margin-bottom: 0.55rem;
}
.decision-box code { color: var(--st-sepia); background: rgba(196,154,32,0.10);
                      padding: 1px 5px; border-radius: 3px; font-size: 0.87em; }
.decision-box a    { color: var(--st-sepia); font-weight: 600; }
