.memory-heading { background: linear-gradient(145deg, #7056ad, #3d3168); box-shadow: 0 0 30px rgba(130,105,205,.22); }
.memory-stage { max-width: 560px; margin: 15px auto; padding: clamp(22px, 5vw, 42px); border: 1px solid rgba(166,149,230,.25); border-radius: 22px; background: rgba(20,23,34,.9); box-shadow: 0 24px 70px rgba(0,0,0,.3); text-align: center; }
.memory-stage [hidden] { display: none !important; }
.score-line { display: flex; justify-content: space-between; color: var(--muted); }
.score-line b { color: #c5b6ff; }
#instruction { min-height: 48px; margin: 28px 0 12px; color: #c9c9d1; }
.flash-digit { display: grid; width: min(220px, 65vw); height: min(220px, 65vw); margin: 0 auto 28px; place-items: center; border: 1px solid rgba(175,158,241,.32); border-radius: 28px; background: radial-gradient(circle, #33295b, #171a28 70%); color: #fff; font-size: clamp(76px, 22vw, 126px); font-weight: 900; text-shadow: 0 0 28px rgba(186,169,255,.55); }
#answer-form { display: grid; gap: 13px; }
#answer-form label { color: var(--muted); font-size: 14px; }
#answer { width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #0e1018; color: #fff; font-size: 26px; letter-spacing: .18em; text-align: center; }
.start-button { max-width: 320px; }
.correct-sequence { padding: 12px; border-radius: 9px; background: #10131d; color: #c5b6ff !important; font-size: 20px; letter-spacing: .14em; }
