/* Mini game Tìm 5 Điểm Khác Nhau — Spot the Difference */
.df-toprow { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.df-levels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 10px; }
@media (min-width: 760px) { .df-levels { grid-template-columns: repeat(3, 1fr); } }
.df-lv { border: 1px solid var(--gold); background: rgba(212,175,55,.06); border-radius: 14px; padding: 8px; cursor: pointer; color: inherit; font-family: inherit; text-align: left; }
.df-lv:hover { background: rgba(212,175,55,.16); }
.df-lv img { width: 100%; border-radius: 9px; display: block; }
.df-lv .df-lv-name { display: block; font-weight: 800; margin: 8px 2px 2px; font-size: 1rem; }
.df-lv .df-lv-best { display: block; margin: 0 2px 4px; font-size: .88rem; color: var(--gold2); font-weight: 700; min-height: 1.1em; }
.df-hud { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin: 4px 0 10px; font-size: 1.02rem; }
.df-hud #dfLvName { font-weight: 800; color: var(--gold2); }
.df-board { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 860px) { .df-board { grid-template-columns: 1fr 1fr; } }
.df-stage { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(212,175,55,.5); line-height: 0; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.df-stage img { width: 100%; display: block; pointer-events: none; }
.df-marks { position: absolute; inset: 0; pointer-events: none; }
.df-ring { position: absolute; border: 3px solid #57e389; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 2px rgba(0,0,0,.45), 0 0 14px rgba(87,227,137,.8); }
.df-ring.pulse { animation: dfPulse 0.55s ease-in-out 3; border-color: #ffd94d; box-shadow: 0 0 0 2px rgba(0,0,0,.45), 0 0 18px rgba(255,217,77,.95); }
@keyframes dfPulse { 50% { transform: translate(-50%, -50%) scale(1.25); } }
.df-miss { position: absolute; transform: translate(-50%, -50%); color: #ff6b57; font-weight: 900; font-size: 30px; text-shadow: 0 1px 4px rgba(0,0,0,.7); animation: dfMiss 0.6s ease-out forwards; }
@keyframes dfMiss { to { opacity: 0; transform: translate(-50%, -70%); } }
.df-feedback { min-height: 1.4em; text-align: center; font-weight: 800; font-size: 1.08rem; margin: 12px 0 2px; }
.df-feedback.good { color: #7ed491; }
.df-feedback.bad { color: #ff9a8a; }
.df-controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 12px; }
.df-done { text-align: center; margin-top: 14px; border-top: 1px dashed rgba(212,175,55,.5); padding-top: 12px; }
.df-done-t { font-size: 1.3rem; font-weight: 800; color: var(--gold2); margin: 4px 0; }
.df-best { font-weight: 700; color: var(--gold2); min-height: 1.2em; margin: 6px 0; }
