/* Missing Piece — one clean word, one puzzle-shaped gap, the piece that fits. */
.dxg .mp { position: relative; height: 100%; display: flex; flex-direction: column; gap: 8px; padding: clamp(8px, 1.6vh, 16px) clamp(10px, 2.4vw, 28px); }
.mp-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; }
.mp-skill { font-family: var(--g-head); font-size: .85rem; padding: 3px 12px; border-radius: 999px; background: #DDF2F0; color: #0E4A49; }
.mp-count { font-family: var(--g-head); font-size: 1rem; color: var(--g-navy); }
.mp-hint { min-height: 34px; font-size: .9rem; padding: 0 14px; }
.mp-q { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.mp .dxq-custom { display: flex; flex-direction: column; align-items: center; gap: clamp(8px, 1.6vh, 14px); }
.mp-top { display: flex; align-items: center; gap: 16px; }
.mp-pic { width: clamp(110px, 16vw, 170px); height: auto; max-height: 20vh; object-fit: contain; }
.mp-hear { min-height: 52px; font-size: 1.05rem; }
.mp-context { margin: 0; font-size: 1.3rem; text-align: center; max-width: 640px; }
/* The word: large, calm letters with a slot shaped like a puzzle gap */
.mp-word { display: flex; align-items: center; gap: 4px; margin: 4px 0 0; font-family: var(--g-head); font-weight: 500; font-size: clamp(3rem, 2.2rem + 3.4vw, 4.8rem); line-height: 1; color: var(--g-navy); transition: gap .25s ease; }
.mp-part { padding: 0 2px; }
.mp-slot {
	position: relative; display: inline-grid; place-items: center; min-width: 1.5em; height: 1.25em; padding: 0 .15em; margin: 0 .06em;
	border: 4px dashed #9FB2B5; border-radius: 16px; background: #F7FAFA; transition: background-color .2s ease, border-color .2s ease;
}
.mp-slot::before { /* the small tab that makes it read as a puzzle gap */
	content: ""; position: absolute; top: -12px; left: 50%; width: 22px; height: 12px; margin-left: -11px; border-radius: 12px 12px 0 0;
	border: 4px dashed #9FB2B5; border-bottom: 0; background: #F7FAFA;
}
.mp-slot__q { font-size: .55em; color: #9FB2B5; }
.mp-slot.is-wrong { animation: dxg-wiggle .38s ease-in-out; border-color: #E08B7A; }
.mp-slot.is-filled { border-style: solid; border-color: var(--g-aqua); background: #E2F5F3; animation: mp-snap .35s cubic-bezier(.3, 1.5, .6, 1); }
.mp-slot.is-filled::before { border-style: solid; border-color: var(--g-aqua); background: #E2F5F3; }
@keyframes mp-snap { 0% { transform: translateY(-18px) scale(1.1); } 100% { transform: none; } }
.mp-slot__piece { font-weight: 700; color: #0E4A49; }
.mp-word.is-complete { gap: 0; }
.mp-word.is-complete::after { content: "✓"; margin-left: .25em; font-size: .5em; color: var(--g-aqua); }
.mp-readit { margin: 0; min-height: 1.4em; font-family: var(--g-head); font-weight: 500; font-size: 1.2rem; color: var(--g-blue); }
.mp .dxq-choices { width: min(100%, 640px); }
.mp .dxq-choice { min-height: 86px; font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3rem); }
.mp-streak { position: absolute; top: 8px; right: 14px; padding: 3px 12px; border-radius: 999px; background: #FFF5D1; border: 2px solid #E9C85A;
	font-family: var(--g-head); font-weight: 600; font-size: .9rem; color: #5C4500; opacity: 0; transition: opacity .2s; }
.mp-streak.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .mp-slot.is-filled { animation: none; } }
@media (max-height: 700px) { .mp-pic { max-height: 16vh; } .mp-word { font-size: clamp(2.6rem, 2rem + 3vw, 4rem); } }
@media (max-width: 599px) {
	.mp-skill { display: none; }
	.mp-top { gap: 10px; } .mp-pic { width: 90px; }
	.mp-word { font-size: 3rem; }
	.mp .dxq-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mp .dxq-choice { min-height: 64px; font-size: 2rem; }
	.mp .dxq-choices--3 .dxq-choice:last-child { grid-column: auto; }
	.mp-streak { top: 2px; right: 4px; font-size: .78rem; }
}
