/* Making Words (Language Arts). Big tap targets for ages 5-9. Dice are placeholders until Picasso's art arrives. */
.mw-title { margin: 6px 0 10px; }
.mw-instruction-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-bottom: 10px; }
.mw-instruction { margin: 0; font-size: 1.25rem; font-weight: 700; max-width: 760px; }
.mw-clock { min-width: 96px; padding: 8px 16px; border-radius: 14px; border: 3px solid var(--blue-action); background: #fff; color: var(--blue-action); font-size: 2rem; font-weight: 900; text-align: center; }
.mw-pair { color: var(--blue-action); font-size: 1.15em; }
.mw-dice-row { display: flex; justify-content: center; gap: 28px; margin: 10px 0 14px; }
.mw-die { width: 108px; height: 108px; border-radius: 22px; display: flex; align-items: center; justify-content: center; border: 4px solid; box-shadow: inset 0 -8px 0 rgba(0,0,0,.12), 0 6px 10px rgba(0,0,0,.18); }
.mw-die-consonant { background: #dcecff; border-color: var(--blue-action); color: var(--blue-action); }
.mw-die-vowel { background: #fff1dc; border-color: #c9791a; color: #9a5a0c; }
.mw-die.mw-die-y { background: #f1e3fa; border-color: #7b2fa3; color: #6a1f8f; } /* Y is on both dice: purple, the same in the Sorting game */
.mw-face { font-size: 3.6rem; font-weight: 900; line-height: 1; }
.mw-face-note { display: block; font-size: 1.05rem; font-weight: 800; line-height: 1.1; margin-top: 4px; text-align: center; white-space: nowrap; } /* Y (i/e) / Y (yo-yo): the note sits under the big Y inside the die */
.mw-die-y .mw-face { display: flex; flex-direction: column; align-items: center; font-size: 3rem; }
.mw-die.mw-rolling { animation: mw-tumble .26s linear infinite; }
@keyframes mw-tumble { 0% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(12deg) translateY(-8px); } 100% { transform: rotate(-12deg) translateY(0); } }
.mw-roll-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 12px; }
.mw-play-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 20px 32px; align-items: start; margin-top: 6px; }
.mw-dice-col { display: flex; flex-direction: row; justify-content: center; align-items: flex-start; gap: 20px; }
.mw-die-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mw-die-label { font-size: 1.2rem; font-weight: 800; }
.mw-left .mw-roll-row { margin-top: 16px; }
.mw-seconds { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }
.mw-seconds-label { font-weight: 800; margin-right: 4px; }
.mw-seconds-opt { min-height: 46px; padding: 6px 16px; border: 3px solid var(--border); border-radius: 14px; background: #fff; color: var(--ink); font-size: 1.1rem; font-weight: 800; cursor: pointer; }
.mw-seconds-opt.mw-seconds-on { border-color: var(--blue-action); background: var(--sky); color: var(--blue-action); }
.mw-seconds-opt:focus-visible { outline: 4px solid var(--blue-action); outline-offset: 2px; }
.mw-boxes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mw-box-row { display: flex; align-items: center; gap: 10px; }
.mw-box-n { width: 1.6em; text-align: right; font-weight: 800; color: var(--muted); font-size: 1.2rem; }
.mw-input { width: min(420px, 100%); min-width: 200px; min-height: 52px; padding: 6px 14px; font-size: 1.5rem; border: 3px solid var(--border); border-radius: 14px; }
.mw-input:focus-visible { outline: 4px solid var(--blue-action); outline-offset: 2px; }
.mw-input[readonly] { background: #f6f3ea; }
.mw-mark { width: 2.2rem; font-size: 2rem; font-weight: 900; color: var(--green-dark); }
.mw-finish-row { margin-top: 16px; padding-left: calc(1.6em + 10px); }
.mw-finish { min-width: 160px; min-height: 54px; font-size: 1.25rem; }
.mw-roll-btn { min-width: 190px; min-height: 58px; font-size: 1.3rem; }
.mw-lead { font-size: 1.25rem; text-align: center; }
.mw-cols { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 10px 0; }
.mw-cols h2 { font-size: 1.15rem; margin: 0 0 6px; }
.mw-list { list-style: none; padding: 0; margin: 0; font-size: 1.2rem; font-weight: 700; }
.mw-list li { margin: 4px 0; }
.mw-good { color: var(--green-dark); }
.mw-none { color: var(--muted); font-weight: 600; }
.mw-examples li { display: inline-block; margin: 4px 6px 4px 0; padding: 4px 12px; border-radius: 12px; background: #fff1dc; border: 2px solid #c9791a; color: #9a5a0c; }
.mw-table { border-collapse: collapse; margin: 10px auto; font-size: 1.15rem; }
.mw-table th, .mw-table td { border: 2px solid var(--border); padding: 8px 16px; text-align: left; }
.mw-table th { background: var(--sky); }
.mw-results td:nth-child(n+3), .mw-results th:nth-child(n+3) { text-align: center; }
.mw-final { text-align: center; }
.mw-final-piko, .mw-hint-piko { width: 110px; height: auto; }
.mw-hint { font-size: 1.2rem; }
.mw-hint .mw-hint-piko { float: right; margin: 0 0 8px 12px; } /* rule 15: Piko on a Hint page = top-right corner */
.mw-steps { font-size: 1.3rem; line-height: 1.5; font-weight: 700; max-width: 780px; }
.mw-steps li { margin-bottom: 10px; }
.mw-c { color: var(--blue-action); } .mw-v { color: #9a5a0c; }
.mw-y-line { max-width: 780px; margin: 0 0 10px; font-size: 1.3rem; line-height: 1.5; font-weight: 700; color: #6a1f8f; }
.mw-paused { margin-left: 10px; font-weight: 800; }
.mw-example { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; }
.mw-hint .mw-die { width: 84px; height: 84px; } .mw-hint .mw-face { font-size: 2.6rem; }
.mw-summary-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 40px; align-items: start; margin-top: 6px; }
.mw-summary-dice .mw-dice-row { margin-top: 4px; }
.mw-summary-info .mw-lead { text-align: left; margin-top: 8px; }
.mw-next-row { margin: 10px 0 12px; }
@media (max-width: 700px) { .mw-play-grid, .mw-summary-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mw-die.mw-rolling { animation: none; } }

/* Oct 17 2026 batch 2 (Brandie play-test) */
.mw-more { text-align: right; clear: right; margin: 0 0 8px; }
.mw-more-btn { min-height: 36px; padding: 4px 12px; font-size: .95rem; }
.mw-y-line { color: #b8362a; } /* the one Y sentence on the hint is red (brand red #B8362A) */
.mw-details { margin-top: 18px; }
.mw-box-right, .mw-box-try, .sw-box-right, .sw-box-try { padding: 12px 16px 14px; border-radius: 16px; border: 3px solid; }
.mw-box-right, .sw-box-right { background: var(--cream); border-color: #c9791a; }
.mw-box-try, .sw-box-try { background: #dff1e4; border-color: var(--green-dark); }
.mw-box-try h2, .sw-box-try h2 { color: var(--green-dark); }
.mw-box-try .mw-examples li { background: #fff; border-color: var(--green-dark); color: var(--green-dark); }
