/* 자석글자 영어 놀이터 (js/play-english.js) — 아이 혼자 누를 수 있게 큰 단추 */
.en { padding: 20px 0 48px; background: linear-gradient(180deg, #FFF8EC, #fff 320px); }
.en-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.en-top h1 { font-size: 26px; font-weight: 800; margin: 0; }
.en-stars { font-size: 22px; font-weight: 800; min-width: 64px; text-align: right; }
.en-stars.pop { animation: en-pop .4s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes en-pop { 0% { transform: scale(1.5); } 100% { transform: none; } }
.en-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.en-tabs button { min-height: 76px; border-radius: 20px; border: 3px solid #EFE6DA; background: #fff; font: inherit; font-size: 15px; font-weight: 800; color: #444; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.en-tabs button span { font-size: 28px; line-height: 1; }
.en-tabs button[aria-pressed="true"] { border-color: #886A60; background: #FBF3E8; }
.en-card { background: #fff; border: 1px solid #EFE6DA; border-radius: 24px; padding: 20px 16px; box-shadow: 0 6px 24px rgba(136, 106, 96, .08); text-align: center; }
.en-pic { font-size: 96px; line-height: 1.1; }
.en-word { font-size: 48px; font-weight: 900; letter-spacing: 4px; margin: 6px 0 14px; font-family: "Arial Rounded MT Bold", "Arial", sans-serif; }
.en-word b { color: #E2391F; }
.en-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.en-letter { width: 84px; height: 92px; border-radius: 20px; border: 3px solid #EFE6DA; background: #fff; font: 900 52px/1 "Arial Rounded MT Bold", "Arial", sans-serif; color: #E2391F; cursor: pointer; box-shadow: 0 4px 0 rgba(0, 0, 0, .08); }
.en-letter.v { color: #123E93; }
.en-letter.ok { border-color: #2E9E5B; background: #E9F8EF; }
.en-letter.no { animation: en-no .35s; }
.en-letter:disabled { opacity: .45; }
.en-letter.ok:disabled { opacity: 1; }
.en-letter.used { visibility: hidden; }
@keyframes en-no { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.en-slots { display: flex; justify-content: center; gap: 10px; margin: 8px 0 18px; }
.en-slot { width: 76px; height: 88px; border-radius: 18px; border: 3px dashed #D9C6B4; display: flex; align-items: center; justify-content: center; font: 900 52px/1 "Arial Rounded MT Bold", "Arial", sans-serif; }
.en-slot.full { border-style: solid; border-color: #EFE6DA; color: #E2391F; }
.en-slot.full.v { color: #123E93; }
.en-slots.done .en-slot { border-color: #2E9E5B; background: #E9F8EF; }
.en-again { margin-top: 16px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 2px solid #886A60; background: #fff; color: #886A60; font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; }
.en-books { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.en-books button { min-height: 52px; padding: 0 16px; border-radius: 999px; border: 2px solid #EFE6DA; background: #fff; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.en-books button span { font-size: 22px; }
.en-books button[aria-pressed="true"] { border-color: #886A60; background: #FBF3E8; }
.en-play { min-height: 64px; min-width: 180px; border-radius: 999px; border: 0; background: #886A60; color: #fff; font: 900 22px/1 "Arial Rounded MT Bold", "Arial", sans-serif; cursor: pointer; margin-bottom: 14px; }
.en-text { text-align: left; max-width: 560px; margin: 0 auto; }
.en-text p { font: 700 21px/1.45 "Arial Rounded MT Bold", "Arial", sans-serif; margin: 0 0 6px; padding: 6px 10px; border-radius: 12px; color: #444; cursor: pointer; transition: background .2s; }
.en-text p.en-ttl { font-size: 23px; color: #886A60; cursor: default; }
.en-text p.now { background: #FFF1B8; color: #222; transform: scale(1.02); }
@media (min-width: 768px) {
  .en-letter { width: 100px; height: 108px; font-size: 62px; }
  .en-slot { width: 92px; height: 104px; font-size: 62px; }
  .en-pic { font-size: 120px; }
}
@media (prefers-reduced-motion: reduce) { .en-stars.pop, .en-letter.no { animation: none; } }
