/* 卡通风格 + 大点击区，适配微信 H5 */

:root {
  --bg: linear-gradient(165deg, #fff0f8 0%, #e8f4ff 38%, #fff9e6 72%, #e8fff0 100%);
  --card: #ffffff;
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --candy-pink: #ff6b9d;
  --candy-mint: #34d399;
  --candy-sun: #fbbf24;
  --success: #10b981;
  --danger: #f43f5e;
  --text: #334155;
  --muted: #64748b;
  --radius: 24px;
  --radius-pill: 999px;
  --shadow: 0 6px 0 rgba(91, 33, 182, 0.12), 0 10px 28px rgba(124, 58, 237, 0.15);
  --shadow-soft: 0 4px 14px rgba(255, 107, 157, 0.2);
  --safe-bottom: env(safe-area-inset-bottom, 12px);
  --font-round: "Fredoka", "Nunito", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}

body.theme-cartoon {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-round);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  background-attachment: fixed;
  padding: 16px;
  padding-bottom: calc(16px + var(--safe-bottom));
  -webkit-tap-highlight-color: transparent;
}

body.theme-cartoon b,
body.theme-cartoon strong {
  font-weight: 400;
}

body.theme-cartoon button,
body.theme-cartoon input,
body.theme-cartoon textarea {
  font-weight: 400;
}

body.theme-cartoon::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 182, 193, 0.35) 0%, transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(186, 230, 253, 0.45) 0%, transparent 40%),
    radial-gradient(circle at 50% 88%, rgba(254, 240, 138, 0.35) 0%, transparent 45%);
}

#app.screen {
  position: relative;
  z-index: 1;
}

.app-title-cute {
  font-size: 1.9rem;
  margin: 0 0 10px;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #7c3aed;
  text-shadow:
    3px 3px 0 #fde68a,
    -1px -1px 0 #fff,
    0 2px 0 rgba(255, 255, 255, 0.9);
  line-height: 1.25;
}

.app-title-cute::before {
  content: "✨ ";
}

.app-title-cute::after {
  content: " ✨";
}

h1:not(.app-title-cute) {
  font-size: 1.75rem;
  margin: 0 0 8px;
  text-align: center;
  font-weight: 400;
  color: var(--primary-dark);
}

.subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 20px;
  font-weight: 400;
}

.screen {
  max-width: 480px;
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1.2rem;
  font-weight: 400;
  font-family: var(--font-round);
  cursor: pointer;
  transition: transform 0.1s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.96) translateY(2px);
}

.btn-primary {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 45%, #ea580c 100%);
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 5px 0 #c2410c, 0 8px 20px rgba(234, 88, 12, 0.35);
}

.btn-primary:active {
  box-shadow: 0 2px 0 #c2410c, 0 4px 12px rgba(234, 88, 12, 0.3);
}

.btn-ghost {
  background: #fff;
  color: var(--primary-dark);
  border: 3px solid #e9d5ff;
  box-shadow: 0 3px 0 #ddd6fe;
}

.btn-block {
  width: 100%;
}

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  border: 4px solid #fef3c7;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.mode-grid {
  display: grid;
  gap: 14px;
}

.mode-card {
  display: block;
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border-radius: 22px;
  border: 3px solid #fbcfe8;
  background: linear-gradient(145deg, #fff 0%, #fdf4ff 100%);
  cursor: pointer;
  transition: transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 0 #f9a8d4, 0 8px 16px rgba(244, 114, 182, 0.2);
  font-family: var(--font-round);
}

.mode-card:nth-child(3n + 2) {
  border-color: #a5f3fc;
  background: linear-gradient(145deg, #fff 0%, #ecfeff 100%);
  box-shadow: 0 4px 0 #67e8f9, 0 8px 16px rgba(34, 211, 238, 0.2);
}

.mode-card:nth-child(3n) {
  border-color: #fde68a;
  background: linear-gradient(145deg, #fff 0%, #fffbeb 100%);
  box-shadow: 0 4px 0 #fcd34d, 0 8px 16px rgba(251, 191, 36, 0.25);
}

.mode-card:active {
  transform: scale(0.98) translateY(3px);
  box-shadow: 0 1px 0 #f9a8d4, 0 4px 10px rgba(244, 114, 182, 0.15);
}

.mode-card:hover,
.mode-card:focus-visible {
  border-color: var(--primary);
  outline: none;
}

.mode-card h3 {
  margin: 0 0 6px;
  font-size: 1.28rem;
  font-weight: 400;
  color: #86198f;
}

.mode-card:nth-child(3n + 2) h3 {
  color: #0e7490;
}

.mode-card:nth-child(3n) h3 {
  color: #b45309;
}

.mode-card p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 400;
}

.progress-bar {
  height: 16px;
  background: #e9d5ff;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 16px;
  border: 3px solid #fff;
  box-shadow: inset 0 2px 4px rgba(124, 58, 237, 0.15);
}

.progress-bar > div {
  height: 100%;
  background: linear-gradient(90deg, #34d399, #a3e635, #fbbf24);
  background-size: 200% 100%;
  animation: progress-shine 3s linear infinite;
  border-radius: var(--radius-pill);
  transition: width 0.25s ease;
}

@keyframes progress-shine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.prompt {
  font-size: 1.48rem;
  font-weight: 400;
  text-align: center;
  margin: 16px 0 20px;
  line-height: 1.45;
  word-break: break-word;
  font-family: var(--font-round);
}

.prompt-cartoon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.prompt-zh {
  font-weight: 400;
  color: #0f766e;
}

/* 英文题干：可点读 */
.prompt-en-tap {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: #5b21b6;
  background: linear-gradient(180deg, #fef9c3, #fde68a);
  border: 3px solid #fbbf24;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  cursor: pointer;
  box-shadow: 0 4px 0 #d97706;
  transition: transform 0.1s ease;
}

.prompt-en-tap:active {
  transform: scale(0.97) translateY(2px);
  box-shadow: 0 2px 0 #d97706;
}

/* 小喇叭听英文 */
.btn-speak-pop {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: linear-gradient(180deg, #a78bfa, #7c3aed);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 0 #5b21b6, var(--shadow-soft);
  transition: transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-speak-pop:active {
  transform: scale(0.92);
}

.prompt .hint {
  display: block;
  width: 100%;
  font-size: 1.05rem;
  font-weight: 400;
  color: #64748b;
  margin-top: 10px;
}

.font-en-round {
  font-family: "Fredoka", "Nunito", sans-serif;
}

.options {
  display: grid;
  gap: 10px;
}

.option-btn {
  min-height: 58px;
  padding: 16px 16px;
  border-radius: 18px;
  border: 3px solid #c4b5fd;
  background: linear-gradient(180deg, #fff 0%, #f5f3ff 100%);
  font-size: 1.22rem;
  font-weight: 400;
  font-family: var(--font-round);
  cursor: pointer;
  text-align: center;
  transition: transform 0.1s ease, border-color 0.15s, background 0.15s;
  box-shadow: 0 3px 0 #a78bfa;
}

.option-btn:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #a78bfa;
}

.option-btn.correct {
  border-color: var(--success);
  background: rgba(34, 197, 94, 0.12);
}

.option-btn.wrong {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

.option-btn:disabled {
  opacity: 0.85;
  cursor: default;
}

.feedback {
  text-align: center;
  font-size: 1.22rem;
  font-weight: 400;
  min-height: 1.5em;
  margin: 12px 0;
}

.feedback.ok {
  color: var(--success);
}

.feedback.bad {
  color: var(--danger);
}

.score-line {
  text-align: center;
  color: #7c3aed;
  font-size: 1.08rem;
  margin-bottom: 8px;
  font-weight: 400;
}

.pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pair-col h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--muted);
  text-align: center;
  font-weight: 400;
}

.pair-chip {
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 3px solid #bae6fd;
  background: linear-gradient(180deg, #fff, #f0f9ff);
  font-size: 1.12rem;
  font-weight: 400;
  font-family: var(--font-round);
  cursor: pointer;
  text-align: center;
  margin-bottom: 8px;
  word-break: break-word;
  box-shadow: 0 3px 0 #7dd3fc;
  transition: transform 0.08s ease;
}

.pair-chip:active:not(.matched) {
  transform: scale(0.98);
}

.pair-chip.selected {
  border-color: #f97316;
  background: #ffedd5;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.35);
}

.pair-chip.matched {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.2);
  pointer-events: none;
  opacity: 0.88;
  box-shadow: none;
}

.letters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}

.letter-btn {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 3px solid #fcd34d;
  background: linear-gradient(180deg, #fffbeb, #fef3c7);
  font-size: 1.35rem;
  font-weight: 400;
  font-family: "Fredoka", "Nunito", sans-serif;
  cursor: pointer;
  box-shadow: 0 3px 0 #f59e0b;
  transition: transform 0.08s ease;
}

.letter-btn:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #f59e0b;
}

.letter-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.spell-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  min-height: 48px;
  margin-bottom: 8px;
}

.spell-slot {
  width: 44px;
  height: 48px;
  border-radius: 8px;
  border: 2px dashed rgba(100, 116, 139, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.32rem;
  font-weight: 400;
}

.footer-links {
  text-align: center;
  margin-top: 24px;
}

.footer-links a {
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 400;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + var(--safe-bottom));
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 1.08rem;
  font-weight: 400;
  z-index: 100;
  max-width: 90vw;
  text-align: center;
  border: 3px solid #fff;
  box-shadow: var(--shadow-soft);
}

/* 单词卡片大词可点读 */
.flash-word-tap {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #5b21b6;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: #f472b6;
  padding: 4px 8px;
  border-radius: 12px;
}

.flash-word-tap:active {
  background: rgba(244, 114, 182, 0.15);
}

/* 后台录入（字号略小于学生端） */
body.admin-page.theme-cartoon {
  font-size: 14px;
}

body.admin-page.theme-cartoon .subtitle {
  font-size: 0.95rem;
}

body.admin-page.theme-cartoon h1 {
  font-size: 1.35rem;
}

body.admin-page.theme-cartoon .card h3 {
  font-size: 1.05rem;
}

.admin-toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-top: 4px;
  line-height: 1.4;
}

.admin-toggle-row input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.admin-visible-modes {
  display: grid;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  padding: 4px 0;
}

.admin-vis-mode-row {
  margin: 0;
}

.home-game-closed {
  border: 2px solid #cbd5e1;
  color: var(--muted);
  background: rgba(248, 250, 252, 0.95);
}

.admin-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.admin-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-wrap th,
.admin-wrap td {
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 6px;
  text-align: left;
  vertical-align: middle;
}

.admin-wrap input[type="text"] {
  width: 100%;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
  font-weight: 400;
}

.admin-records-table {
  font-size: 0.88rem;
}

.admin-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-actions .btn {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 0.9rem;
}

/* 后台：启用开关按钮 */
.btn-enable-on {
  background: rgba(34, 197, 94, 0.2);
  color: #166534;
  border: 2px solid rgba(34, 197, 94, 0.55);
}

.btn-enable-off {
  background: rgba(148, 163, 184, 0.2);
  color: var(--muted);
  border: 2px solid rgba(148, 163, 184, 0.45);
}

.admin-wrap tr.row-disabled td:nth-child(2),
.admin-wrap tr.row-disabled td:nth-child(3) {
  opacity: 0.72;
}

/* 判断题大按钮 */
.judge-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.judge-btn {
  min-height: 64px;
  font-size: 1.38rem;
  border-radius: 16px;
  border: 3px solid rgba(59, 130, 246, 0.35);
  background: #fff;
  font-weight: 400;
  cursor: pointer;
}

.judge-btn-yes {
  border-color: rgba(34, 197, 94, 0.55);
  color: #166534;
  background: rgba(34, 197, 94, 0.12);
}

.judge-btn-no {
  border-color: rgba(239, 68, 68, 0.45);
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
}

.judge-btn:disabled {
  opacity: 0.85;
  cursor: default;
}

/* 挖空：单词展示行 */
.blank-word-line {
  font-size: 1.62rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-align: center;
  margin: 16px 0;
  font-family: ui-monospace, monospace;
  word-break: break-all;
}

.blank-word-line .hole {
  display: inline-block;
  min-width: 1.1em;
  border-bottom: 3px solid var(--primary);
  margin: 0 2px;
  color: var(--primary-dark);
}

/* 翻牌网格 */
.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 380px) {
  .memory-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.memory-card {
  aspect-ratio: 1;
  min-height: 72px;
  border-radius: 14px;
  border: 2px solid rgba(59, 130, 246, 0.35);
  background: linear-gradient(145deg, #eff6ff, #fff);
  font-size: 1.08rem;
  font-weight: 400;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  word-break: break-word;
  transition: transform 0.12s ease, background 0.2s ease;
}

.memory-card:active:not(:disabled) {
  transform: scale(0.97);
}

.memory-card.face-down {
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  color: #fff;
  font-size: 1.55rem;
}

.memory-card.matched {
  border-color: var(--success);
  background: rgba(34, 197, 94, 0.15);
  pointer-events: none;
  cursor: default;
}

.memory-card.face-up {
  background: #fff;
}

.memory-card:disabled:not(.matched) {
  opacity: 0.95;
  cursor: default;
}

.hint-first-letter {
  font-size: 1.32rem;
  font-weight: 400;
  color: var(--primary-dark);
  letter-spacing: 0.08em;
}

/* 单词消消乐（参考常见「满屏配对消除」样式） */
.eliminate-panel {
  background: linear-gradient(180deg, #fff9e6 0%, #fff3cc 100%);
  border-radius: var(--radius);
  padding: 12px 10px 16px;
  margin: -8px -8px 0;
}

.eliminate-game-title {
  text-align: center;
  font-size: 1.52rem;
  font-weight: 400;
  color: #5d4037;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.eliminate-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.08rem;
  color: #6d4c41;
  margin-bottom: 12px;
  padding: 0 4px;
}

.eliminate-stats b {
  color: #e65100;
  font-weight: 400;
}

.eliminate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.eliminate-slot {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eliminate-slot--empty {
  min-height: 8px;
  opacity: 0;
  pointer-events: none;
}

.eliminate-bubble {
  width: 100%;
  min-height: 54px;
  padding: 10px 8px;
  border: none;
  border-radius: 999px;
  font-size: 1.12rem;
  font-weight: 400;
  color: #1a1a1a;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.1s ease, box-shadow 0.15s ease, filter 0.15s ease;
  line-height: 1.25;
  word-break: break-word;
  text-align: center;
}

.eliminate-bubble:active {
  transform: scale(0.96);
}

.eliminate-bubble--selected {
  box-shadow:
    0 0 0 3px #ff9800,
    0 6px 0 rgba(255, 152, 0, 0.35);
  filter: brightness(1.03);
}

#screen-play.play-eliminate .card {
  background: transparent;
  box-shadow: none;
  padding-top: 8px;
}

/* 闯关配图（维基媒体外链） */
.word-illustration {
  width: 100%;
  text-align: center;
  margin: 4px 0 12px;
}

.word-illustration img {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  border: 3px solid #fef3c7;
  vertical-align: middle;
}

/* 后台列表缩略图 */
.admin-word-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #e9d5ff;
  display: block;
}

.admin-no-thumb {
  color: var(--muted);
  font-size: 1rem;
}

.admin-thumb-cell {
  vertical-align: middle;
}

.admin-sentence-cell {
  vertical-align: top;
  min-width: 180px;
}

.admin-sentence-ta {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.88rem;
  font-weight: 400;
  resize: vertical;
  min-height: 44px;
  box-sizing: border-box;
}

.admin-sentence-ta-zh {
  min-height: 36px;
  margin-bottom: 0;
}

/* 学生端：配图下方例句 */
.word-example-sentence {
  margin: 10px 0 14px;
  padding: 12px 14px;
  text-align: left;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
  border-radius: 16px;
  border: 2px dashed rgba(52, 211, 153, 0.45);
}

.word-example-en {
  margin: 0 0 6px;
  font-size: 1.12rem;
  color: #0f766e;
  line-height: 1.45;
}

.word-example-zh {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.4;
}

/* 单词拼读 */
.phonics-panel {
  text-align: center;
  padding: 8px 4px 4px;
}

.phonics-word-tap {
  display: block;
  width: 100%;
  margin: 8px 0 14px;
  padding: 12px 16px;
  font-size: clamp(2rem, 9vw, 3.1rem);
  font-weight: 400;
  color: #2563eb;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  border: 3px solid rgba(37, 99, 235, 0.35);
  border-radius: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.phonics-word-tap:active {
  transform: scale(0.98);
}

.phonics-ipa-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  margin: 10px 0 16px;
}

.phonics-slash {
  font-size: 1.5rem;
  color: var(--muted);
  font-weight: 400;
}

.phonics-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.phoneme-chip {
  min-width: 44px;
  min-height: 48px;
  padding: 8px 12px;
  font-size: 1.35rem;
  font-weight: 400;
  border-radius: 14px;
  border: 3px solid rgba(59, 130, 246, 0.4);
  background: #fff;
  color: #1e40af;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(37, 99, 235, 0.12);
}

.phoneme-chip--active {
  background: #fecaca;
  border-color: #ef4444;
  color: #991b1b;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.35);
}

.phonics-zh {
  font-size: 1.35rem;
  margin: 0 0 18px;
  color: var(--text);
}

.phonics-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-bottom: 10px;
}

.phonics-fab {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12);
}

.phonics-fab:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
}

.phonics-fab--play {
  background: linear-gradient(165deg, #fb923c, #ea580c);
  color: #fff;
}

.phonics-fab--mic {
  background: linear-gradient(165deg, #a78bfa, #7c3aed);
  color: #fff;
}

.phonics-hint {
  margin-top: 4px;
  font-size: 0.95rem;
}
