/* Card */
#memory-captcha-game {
    max-width: 480px;
    margin: 18px auto;
    padding: 20px 22px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    text-align: center;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* instruction */
.mc-instruction {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 14px;
}

/* memorize icons row */
.mc-memorize-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 14px;
}
.mc-memorize-icon {
    font-size: 32px;
    line-height: 1;
    display: inline-block;
    width: 44px;
    height: 44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background: rgba(0,0,0,0.03);
}

/* countdown/picks */
.mc-countdown {
    font-size: 20px;
    font-weight: 700;
    color: #d43f3f;
    margin-bottom: 8px;
}
#mc-countdown { /* id selector in case needed */ }
.mc-picks {
    font-size: 14px;
    color: #666;
    margin-bottom: 18px;
}

/* grid */
.mc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    justify-items: center;
    margin: 6px 0 12px;
}

/* cell button */
.mc-cell {
    width: 74px;
    height: 74px;
    border-radius: 12px;
    background: linear-gradient(180deg,#fbfbfb,#f2f6f8);
    border: 1px solid rgba(0,0,0,0.05);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 30px;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
    outline: none;
    user-select: none;
}
.mc-cell:active { transform: scale(.98); }

/* disabled look */
.mc-cell.mc-disabled {
    opacity: 0.45;
    pointer-events: none;
    transform: none;
}

/* selected */
.mc-cell.mc-selected {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    border-color: #99d3ff;
}

/* correctness */
.mc-cell.mc-correct {
    background: linear-gradient(180deg,#e6f7ea,#d4f0d5);
    border-color: #79c46b;
    color: #14561f;
}
.mc-cell.mc-wrong {
    background: linear-gradient(180deg,#ffecec,#ffd2d2);
    border-color: #ff7a7a;
    color: #5f1a1a;
}
.mc-cell.mc-missed {
    background: linear-gradient(180deg,#fff7e6,#fff1d1);
    border-color: #f1c46a;
    color: #6a4a13;
}

/* feedback */
.mc-feedback {
    margin-top: 10px;
    font-weight: 700;
    color: #333;
}

/* responsive */
@media (max-width:480px){
    #memory-captcha-game { padding: 16px; }
    .mc-cell { width:64px; height:64px; font-size:26px; }
    .mc-memorize-icon { width:40px; height:40px; font-size:26px; }
}
