.cc-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0.5rem;
}

/* ── Top bar ──────────────────────────────────────────────────────────────── */
.cc-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 480px;
}

.cc-phase-label {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--game-accent);
}

.cc-round-label {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    color: var(--game-muted);
}

/* ── Timer bar ───────────────────────────────────────────────────────────── */
.cc-timer-track {
    width: 100%;
    max-width: 480px;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 255, 255, 0.1);
    overflow: hidden;
}

.cc-timer-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--game-success), var(--game-warning), var(--game-danger));
    transition: width linear;
}

/* ── Grid ────────────────────────────────────────────────────────────────── */
.cc-grid-wrapper {
    display: flex;
    justify-content: center;
}

.cc-board {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 5px;
    width: min(480px, 86vw);
    aspect-ratio: 1;
    padding: 10px;
    border: 1px solid var(--game-border);
    background: rgba(0, 0, 0, 0.4);
}

.cc-cell {
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: 120ms ease;
}

.cc-cell.blue   { background: rgba(0,   176, 255, 0.55); border-color: rgba(0,   200, 255, 0.35); }
.cc-cell.green  { background: rgba(90,  220, 70,  0.55); border-color: rgba(90,  220, 70,  0.35); }
.cc-cell.yellow { background: rgba(255, 220, 55,  0.55); border-color: rgba(255, 200, 40,  0.35); }
.cc-cell.red    { background: rgba(255,  75, 75,  0.55); border-color: rgba(255,  75, 75,  0.35); }
.cc-cell.purple { background: rgba(175,  75, 255, 0.55); border-color: rgba(175,  75, 255, 0.35); }
.cc-cell.hidden { background: rgba(255, 255, 255, 0.02) !important; border-color: transparent !important; }

/* ── Answer area ─────────────────────────────────────────────────────────── */
.cc-answer-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    max-width: 480px;
    min-height: 120px;
    justify-content: center;
}

.cc-question {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--game-text);
    text-align: center;
    line-height: 1.5;
}

.cc-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--game-border-strong);
    color: var(--game-accent);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2.6rem;
    text-align: center;
    width: 120px;
    padding: 0.3rem;
    outline: none;
    transition: 160ms ease;
}

.cc-input:focus {
    border-color: var(--game-accent);
    box-shadow: 0 4px 18px rgba(0, 255, 255, 0.12);
}

.cc-input:disabled {
    opacity: 0.38;
}

.cc-start-btn {
    margin-top: 0.4rem;
}
