/* ==========================================================================
   IndusMagical Spoken English - Games Stylesheet
   Vocabulary Quiz, Word Builder, Grammar Challenge & Speak & Record
   ========================================================================== */

.games-arena-wrapper {
  margin-top: 40px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15, 34, 61, 0.08);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.games-tab-bar {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafd;
  padding: 8px 16px;
  gap: 8px;
  overflow-x: auto;
}

.game-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.game-tab-btn:hover {
  color: var(--brand-navy);
  background: #ffffff;
}

.game-tab-btn.active {
  background: #ffffff;
  color: var(--brand-coral);
  box-shadow: 0 2px 8px rgba(15, 34, 61, 0.08);
}

.game-arena-content {
  padding: 36px 32px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.game-pane {
  display: none;
  animation: fadeInPane 0.3s ease forwards;
}

.game-pane.active {
  display: block;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Common Game Header */
.game-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.game-level-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: #e0f2fe;
  color: #0369a1;
  text-transform: uppercase;
}

.game-score-display {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.score-pill {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: #fef3c7;
  color: #b45309;
}

/* ==========================================================================
   Game 1: Vocabulary Quiz
   ========================================================================== */
.quiz-question-box {
  background: #f8fafd;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 24px;
  border-left: 5px solid var(--brand-coral);
}

.quiz-question-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.quiz-question-context {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.quiz-option-btn {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
}

.quiz-option-btn:hover:not(:disabled) {
  border-color: var(--brand-coral);
  background: var(--pastel-pink-bg);
  transform: translateY(-2px);
}

.quiz-option-btn.correct {
  border-color: #10b981;
  background: #dcfce7;
  color: #065f46;
}

.quiz-option-btn.wrong {
  border-color: #ef4444;
  background: #fee2e2;
  color: #991b1b;
}

.option-prefix {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.quiz-feedback-box {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: none;
}

.quiz-feedback-box.show-correct {
  display: block;
  background: #dcfce7;
  color: #065f46;
  border: 1px solid #86efac;
}

.quiz-feedback-box.show-wrong {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ==========================================================================
   Game 2: Word Builder (Scrambled Letters)
   ========================================================================== */
.word-builder-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.word-hint-card {
  background: var(--pastel-peach-bg);
  border: 1px solid var(--pastel-peach-border);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 28px;
}

.word-slots-display {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
  min-height: 60px;
}

.letter-slot {
  width: 52px;
  height: 56px;
  border: 2.5px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy);
  background: #ffffff;
  transition: all var(--transition-fast);
}

.letter-slot.filled {
  border-style: solid;
  border-color: var(--brand-coral);
  background: var(--pastel-pink-bg);
  color: var(--brand-coral);
  transform: scale(1.05);
}

.letter-slot.success {
  border-color: #10b981;
  background: #dcfce7;
  color: #065f46;
}

.scrambled-letters-tray {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.letter-tile {
  width: 52px;
  height: 54px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-navy);
  cursor: pointer;
  transition: all var(--transition-bounce);
}

.letter-tile:hover {
  transform: translateY(-4px);
  border-color: var(--brand-coral);
  color: var(--brand-coral);
}

.letter-tile.used {
  opacity: 0.3;
  pointer-events: none;
  transform: scale(0.9);
}

.word-builder-actions {
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   Game 3: Grammar Challenge
   ========================================================================== */
.grammar-sentence-box {
  background: var(--pastel-mint-bg);
  border: 1px solid var(--pastel-mint-border);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin-bottom: 24px;
  text-align: center;
}

.grammar-sentence {
  font-size: 1.35rem;
  font-weight: 700;
  color: #065f46;
}

.grammar-blank {
  display: inline-block;
  min-width: 100px;
  border-bottom: 3px solid var(--brand-coral);
  color: var(--brand-coral);
  padding: 0 8px;
}

/* ==========================================================================
   Game 4: Speak & Record (Microphone & Audio Playback)
   ========================================================================== */
.voice-challenge-card {
  background: #f8fafd;
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.voice-prompt-title {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.voice-target-phrase {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 20px;
  line-height: 1.35;
}

.listen-sample-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 30px;
  transition: all var(--transition-fast);
}

.listen-sample-btn:hover {
  background: var(--pastel-blue-bg);
  border-color: var(--pastel-blue-accent);
  color: var(--pastel-blue-accent);
}

.mic-recorder-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
}

.mic-record-btn {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--brand-coral-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 10px 30px rgba(255, 75, 110, 0.4);
  transition: all var(--transition-bounce);
  position: relative;
  z-index: 2;
}

.mic-record-btn:hover {
  transform: scale(1.06);
}

.mic-record-btn.recording {
  background: #ef4444;
  animation: pulseMic 1.2s infinite;
}

@keyframes pulseMic {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 25px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.recording-timer {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-top: 16px;
}

.audio-player-preview {
  margin-top: 24px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  width: 100%;
  max-width: 480px;
}

.audio-player-preview.active {
  display: flex;
}

.audio-feedback-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
}

/* Final Score / Summary Card */
.game-summary-card {
  text-align: center;
  padding: 40px 20px;
}

.summary-trophy {
  font-size: 4rem;
  margin-bottom: 14px;
  animation: bounceTrophy 1s ease;
}

@keyframes bounceTrophy {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.summary-title {
  font-size: 2rem;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.summary-score-big {
  font-size: 3rem;
  font-weight: 900;
  color: var(--brand-coral);
  margin-bottom: 20px;
}

.btn-game-action {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-game-primary {
  background: var(--brand-coral-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-coral);
}

.btn-game-primary:hover {
  transform: translateY(-2px);
}

.btn-game-secondary {
  background: #f1f5f9;
  color: var(--brand-navy);
}

.btn-game-secondary:hover {
  background: #e2e8f0;
}

/* ==========================================================================
   Game 5: Word Hunter (Missing Letters in Sentence Activity)
   ========================================================================== */
.tab-badge-new {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  letter-spacing: 0.5px;
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
  animation: badgePulse 2s infinite ease-in-out;
}

.hunter-container {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.hunter-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 12px;
}

.hunter-level-pills {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
  border: 1px solid #e2e8f0;
}

.hunter-level-btn {
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hunter-level-btn:hover {
  color: var(--brand-navy);
}

.hunter-level-btn.active {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hunter-level-btn.basic.active {
  color: #047857;
  border-left: 3px solid #10b981;
}

.hunter-level-btn.intermediate.active {
  color: #b45309;
  border-left: 3px solid #f59e0b;
}

.hunter-level-btn.advanced.active {
  color: #b91c1c;
  border-left: 3px solid #ef4444;
}

.hunter-score-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hunter-streak-pill {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
  color: #9a3412;
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #fdba74;
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.15);
}

.hunter-rank-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: #ede9fe;
  color: #6d28d9;
}

/* Mission Sentence Card */
.hunter-mission-card {
  background: linear-gradient(145deg, #ffffff, #f8fafd);
  border-radius: var(--radius-xl);
  border: 1.5px solid #e2e8f0;
  padding: 24px 28px;
  box-shadow: 0 10px 30px -10px rgba(15, 34, 61, 0.08);
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
}

.hunter-mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #ec4899, #3b82f6);
}

.hunter-mission-tagline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #f97316;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hunter-sentence-display {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.6;
  margin-bottom: 16px;
}

.hunter-inline-target {
  display: inline-flex;
  align-items: center;
  padding: 2px 14px;
  margin: 0 4px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  border: 2px dashed #3b82f6;
  border-radius: var(--radius-pill);
  font-family: 'Space Mono', monospace, monospace;
  letter-spacing: 3px;
  font-weight: 800;
  font-size: 1.25rem;
  vertical-align: middle;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
  transition: all 0.2s ease;
}

.hunter-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.hunter-tags-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hunter-tag {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
}

.hunter-tag.pos { background: #ede9fe; color: #6d28d9; }
.hunter-tag.phonetic { background: #e0f2fe; color: #0369a1; font-family: monospace; }

.btn-hunter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: var(--brand-navy);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-hunter-pill:hover {
  background: #f8fafd;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.hunter-hindi-clue-box {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-top: 12px;
  font-size: 0.95rem;
  color: #92400e;
  display: none;
  align-items: center;
  gap: 8px;
}

.hunter-hindi-clue-box.active {
  display: flex;
}

/* Letter Boxes Grid */
.hunter-boxes-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.hunter-boxes-instruction {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-align: center;
}

.hunter-boxes-tray {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.hunter-box {
  position: relative;
  width: 54px;
  height: 64px;
  border-radius: 14px;
  background: #ffffff;
  border: 2.5px solid #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 34, 61, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-navy);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.hunter-box:hover:not(.is-given) {
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.hunter-box.is-focused {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25), 0 8px 16px rgba(59, 130, 246, 0.2);
  transform: translateY(-4px) scale(1.04);
  background: #ffffff;
}

.hunter-box.is-given {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border-color: #f59e0b;
  color: #b45309;
  cursor: default;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.15);
}

.hunter-box.is-given::after {
  content: 'GIVEN';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  background: #f59e0b;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1;
}

.hunter-box.is-revealed-hint {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-color: #10b981;
  color: #047857;
}

.hunter-box.is-revealed-hint::after {
  content: 'HINT';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  background: #10b981;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1;
}

.hunter-box.is-filled {
  border-color: #64748b;
  animation: popBox 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hunter-box.is-correct {
  background: linear-gradient(135deg, #dcfce7, #86efac) !important;
  border-color: #10b981 !important;
  color: #065f46 !important;
  animation: bounceSuccess 0.5s ease;
}

.hunter-box.is-wrong {
  background: #fef2f2 !important;
  border-color: #ef4444 !important;
  color: #991b1b !important;
  animation: shakeBox 0.4s ease;
}

@keyframes popBox {
  0% { transform: scale(0.9); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes bounceSuccess {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-10px) scale(1.05); }
  60% { transform: translateY(-4px); }
}

@keyframes shakeBox {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Virtual Keyboard */
.hunter-keyboard-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: #f8fafd;
  padding: 14px 16px;
  border-radius: var(--radius-xl);
  border: 1px solid #e2e8f0;
}

.hunter-kb-row {
  display: flex;
  gap: 6px;
  justify-content: center;
  width: 100%;
}

.hunter-kb-key {
  min-width: 36px;
  height: 44px;
  padding: 0 10px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.hunter-kb-key:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.hunter-kb-key:active {
  transform: translateY(1px);
  box-shadow: none;
}

.hunter-kb-key.action-key {
  min-width: 68px;
  font-size: 0.85rem;
  background: #f1f5f9;
  color: #475569;
}

/* Hunter Actions Row */
.hunter-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn-hunter-hunt {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #ffffff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: all var(--transition-fast);
}

.btn-hunter-hunt:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
}

/* Hunter Feedback Box */
.hunter-feedback-box {
  margin-top: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  display: none;
  animation: fadeInPane 0.3s ease;
}

.hunter-feedback-box.correct {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #14532d;
}

.hunter-feedback-box.wrong {
  display: block;
  background: #fef2f2;
  border: 1.5px solid #fca5a5;
  color: #7f1d1d;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .quiz-options-grid { grid-template-columns: 1fr; }
  .game-arena-content { padding: 24px 16px; }
  .letter-slot, .letter-tile { width: 42px; height: 46px; font-size: 1.2rem; }
  .hunter-box { width: 44px; height: 54px; font-size: 1.5rem; }
}

@media (max-width: 600px) {
  .hunter-box {
    width: 36px;
    height: 48px;
    font-size: 1.3rem;
    border-radius: 10px;
  }
  .hunter-box.is-given::after, .hunter-box.is-revealed-hint::after {
    display: none;
  }
  .hunter-kb-key {
    min-width: 28px;
    height: 38px;
    padding: 0 4px;
    font-size: 0.9rem;
  }
  .hunter-kb-key.action-key {
    min-width: 48px;
    font-size: 0.75rem;
  }
  .hunter-sentence-display {
    font-size: 1.12rem;
  }
}

@media (max-width: 380px) {
  .hunter-keyboard-container {
    padding: 10px 6px;
  }
  .hunter-kb-row {
    gap: 3px;
  }
  .hunter-kb-key {
    min-width: 24px;
    height: 36px;
    padding: 0 2px;
    font-size: 0.82rem;
  }
  .hunter-kb-key.action-key {
    min-width: 38px;
    font-size: 0.68rem;
  }
  .hunter-box {
    width: 30px;
    height: 42px;
    font-size: 1.15rem;
  }
  .letter-slot,
  .letter-tile {
    width: 36px;
    height: 40px;
    font-size: 1.05rem;
  }
}

