/* ══════════════════════════════════════════
   잉조이 퀴즈 게임 · game.css
   벤토 라이트 스타일 (크림 + 검정 외곽선 + 컬러 하드 섀도우)
   ══════════════════════════════════════════ */

@font-face {
  font-family: 'Jalnan2';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2107@1.1/Jalnan2.woff') format('woff');
  font-weight: normal;
  font-display: swap;
}

:root {
  --game-bg:      #FBF5E9;  /* 크림 배경 */
  --cream-deep:   #ECE4D2;  /* 진행바 트랙 */
  --cream-line:   #E2DBC9;  /* 디바이더 */
  --ink:          #1A1714;  /* 검정 외곽선/텍스트 */
  --muted:        #8A8270;  /* 보조 텍스트 */
  --muted-soft:   #A89F8B;

  /* 모드별 컬러 */
  --pink:         #FF5D73;  --pink-deep: #FF3D5A;  --pink-pale: #FFE4E8;   /* 4지선다 */
  --teal:         #2EC4B6;  --teal-deep: #129B8E;  --teal-pale: #D6F7F3;   /* 단어순서 */
  --purple:       #9B5DE5;  --purple-deep: #7C3FD4; --purple-pale: #EFE4FB;/* 듣기 */
  --orange:       #FF8C42;  --orange-deep: #F2750A; --orange-pale: #FFE9D6;/* 혼합 */
  --yellow:       #FFCE2E;

  /* 채점 컬러 */
  --green:        #1FB573;  --green-pale: #DDF5E8;
  --red:          #FF3D5A;  --red-pale:   #FFE1E5;
  --blue:         #2E7BF0;  --blue-pale:  #DDEBFF;

  --g-border:     2px solid var(--ink);
  --g-radius:     20px;
  --g-radius-sm:  14px;
  --g-shadow:     4px 4px 0px var(--ink);
  --g-shadow-sm:  2px 2px 0px var(--ink);

  --display:      'Jalnan2', 'Pretendard', -apple-system, sans-serif;
  --body:         'Pretendard', -apple-system, sans-serif;
}

/* ── 오버레이 전체 화면 ── */
#game-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--game-bg);
  z-index: 9000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#game-overlay.active { display: block; }

#game-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 18px 40px;
  min-height: 100vh;
  font-family: var(--body);
}

/* ── 탑바 ── */
.game-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0 12px;
}
.game-topbar .game-close-btn { margin-left: auto; }
.game-close-btn {
  width: 34px; height: 34px;
  background: white; border: var(--g-border);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--g-shadow-sm);
  color: var(--ink); flex-shrink: 0;
  transition: transform 0.1s, box-shadow 0.1s;
}
.game-close-btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }

.game-pill {
  font-size: 0.6875rem; font-weight: 900;
  background: white; border: var(--g-border);
  border-radius: 99px; padding: 5px 11px;
  box-shadow: var(--g-shadow-sm); color: var(--ink);
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.game-pill.score { color: var(--pink-deep); }

/* ── 진행바 (알약형 + 검정 보더 채움) ── */
.game-prog-wrap {
  height: 12px; background: var(--cream-deep);
  border: var(--g-border); border-radius: 99px;
  margin-bottom: 18px; overflow: hidden;
}
.game-prog-bar {
  height: 100%;
  background: var(--purple);
  border-right: 2px solid var(--ink);
  border-radius: 0 99px 99px 0;
  transition: width 0.4s cubic-bezier(.4,0,.2,1);
}
/* 모드별 진행바 색 — 컨테이너에 클래스로 분기 */
.q-mc  .game-prog-bar { background: var(--pink); }
.q-ws  .game-prog-bar { background: var(--teal); }
.q-li  .game-prog-bar { background: var(--purple); }

/* ── 모드 뱃지 (퀴즈 진행 중 상단) ── */
.game-mode-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8125rem; font-weight: 900;
  padding: 5px 13px; border-radius: 99px;
  border: var(--g-border); margin-bottom: 14px;
  box-shadow: var(--g-shadow-sm);
  color: white;
}
.game-mode-badge svg { width: 14px; height: 14px; }
.badge-mc  { background: var(--pink); }
.badge-ws  { background: var(--teal); }
.badge-li  { background: var(--purple); }
.badge-mix { background: var(--orange); }

/* ── 문제 카드 ── */
.game-q-card {
  background: white; border: var(--g-border);
  border-radius: var(--g-radius); padding: 18px 17px;
  margin-bottom: 18px;
  box-shadow: 5px 5px 0 var(--q-accent, var(--pink));
}
.game-q-label {
  font-size: 0.625rem; font-weight: 800;
  color: var(--muted-soft); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 10px;
}
.game-q-kr {
  font-family: var(--display);
  font-size: 1.5rem; font-weight: normal;
  color: var(--ink); line-height: 1.25;
}
/* 패턴 힌트 — 작은 노란 태그 */
.game-q-pt {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 11px; padding: 3px 10px;
  background: #FFF3E2; border: 1.5px solid #E7B765;
  border-radius: 99px;
  font-size: 0.6875rem; font-weight: 800; color: #A9750C;
}
.game-q-pt svg { fill: #A9750C; }

/* ── 선택지 ── */
.game-opts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.game-opt-btn {
  width: 100%; text-align: left;
  background: white; border: var(--g-border);
  border-radius: var(--g-radius-sm); padding: 13px 14px;
  font-size: 0.8125rem; font-weight: 700; color: var(--ink);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  line-height: 1.35; display: flex; align-items: center; gap: 11px;
  font-family: var(--body);
}
.game-opt-btn:active:not(:disabled) { transform: translate(2px,2px); }
/* 넘버링 칩 */
.game-opt-num {
  width: 27px; height: 27px; flex-shrink: 0;
  border-radius: 8px; border: var(--g-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 900;
  background: var(--pink-pale); color: var(--pink-deep);
}
.q-ws .game-opt-num, .badge-ws ~ .game-opts .game-opt-num { background: var(--teal-pale); color: var(--teal-deep); }
.q-li .game-opt-num { background: var(--purple-pale); color: var(--purple-deep); }

.game-opt-btn.correct { background: var(--green-pale); box-shadow: 3px 3px 0 var(--green); }
.game-opt-btn.correct .game-opt-num { background: var(--green); color: white; }
.game-opt-btn.correct > span:last-child { color: #0A6B43; font-weight: 800; }
.game-opt-btn.wrong   { background: var(--red-pale);   box-shadow: 3px 3px 0 var(--red); }
.game-opt-btn.wrong   .game-opt-num { background: var(--red); color: white; }
.game-opt-btn.wrong   > span:last-child { color: #B11A2E; font-weight: 800; }
.game-opt-btn:disabled:not(.correct):not(.wrong) { opacity: 0.55; }
.game-opt-btn:disabled { cursor: default; }

/* ── 듣기 카드 ── */
.game-listen-card {
  background: white; border: var(--g-border);
  border-radius: 22px; padding: 22px 18px 18px;
  margin-bottom: 16px; box-shadow: 5px 5px 0 var(--purple);
  text-align: center;
}
.game-voice-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.6875rem; font-weight: 800;
  padding: 4px 11px; border-radius: 99px; margin-bottom: 16px;
  border: 1.5px solid;
}
.game-voice-tag.female { background: #FCE9F4;  color: #C13C8E; border-color: #E368B0; }
.game-voice-tag.male   { background: var(--blue-pale);  color: var(--blue); border-color: var(--blue); }

/* 사운드 웨이브 */
.game-wave {
  display: flex; align-items: flex-end; justify-content: center;
  gap: 4px; height: 30px; margin-top: 16px; margin-bottom: 10px;
}
.game-wave-bar { width: 5px; border-radius: 4px; animation: gameWave 0.8s ease-in-out infinite; }
.game-wave.female .game-wave-bar { background: #E368B0; }
.game-wave.male   .game-wave-bar { background: var(--blue); }
.game-wave-bar:nth-child(1){height:11px;animation-delay:0s}
.game-wave-bar:nth-child(2){height:22px;animation-delay:0.1s}
.game-wave-bar:nth-child(3){height:30px;animation-delay:0.2s}
.game-wave-bar:nth-child(4){height:16px;animation-delay:0.3s}
.game-wave-bar:nth-child(5){height:26px;animation-delay:0.15s}
.game-wave-bar:nth-child(6){height:12px;animation-delay:0.05s}
.game-wave-bar:nth-child(7){height:20px;animation-delay:0.25s}
@keyframes gameWave {
  0%,100%{transform:scaleY(0.3)} 50%{transform:scaleY(1)}
}
.game-wave.hidden { display: none; }

.game-play-btn {
  width: 80px; height: 80px; border-radius: 50%;
  border: var(--g-border); box-shadow: var(--g-shadow);
  cursor: pointer; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.1s, box-shadow 0.1s;
  color: white; background: var(--purple);
}
.game-play-btn.female { background: #E368B0; }
.game-play-btn.male   { background: var(--blue); }
.game-play-btn.playing { filter: brightness(0.9); }
.game-play-btn:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }

.game-play-hint { font-size: 0.6875rem; color: var(--muted-soft); font-weight: 700; margin-top: 0; margin-bottom: 0; }

/* ── 단어 순서 ── */
.game-ws-section { margin-bottom: 14px; }
.game-ws-label {
  font-size: 0.625rem; font-weight: 900;
  color: var(--muted-soft); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 8px;
}
.game-slots {
  min-height: 54px; background: #F4EFE3; border: 2px dashed #C9BFA8;
  border-radius: var(--g-radius-sm); padding: 9px 11px;
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-bottom: 16px; align-content: flex-start;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.game-slots.ok   { border-style: solid; border-color: var(--green); background: var(--green-pale); box-shadow: 3px 3px 0 var(--green); }
.game-slots.fail { border-style: solid; border-color: var(--red);   background: var(--red-pale);   box-shadow: 3px 3px 0 var(--red); }
.game-bank { display: flex; flex-wrap: wrap; gap: 9px; min-height: 40px; }
.game-chip {
  background: white; border: var(--g-border);
  border-radius: 99px; padding: 8px 14px;
  font-size: 0.8125rem; font-weight: 900;
  cursor: pointer; user-select: none;
  color: var(--ink); box-shadow: var(--g-shadow-sm);
  transition: transform 0.1s, box-shadow 0.1s;
  font-family: var(--body);
}
.game-chip:active:not(.used) { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.game-chip.placed { background: var(--teal); border-color: var(--ink); color: white; box-shadow: var(--g-shadow-sm); }
.game-chip.used   { opacity: 0.4; pointer-events: none; text-decoration: line-through; color: #BCB29A; background: #F4EFE3; border-color: #D8CFB9; box-shadow: none; }

/* ── 버튼 ── */
.game-btn-check {
  width: 100%; padding: 15px;
  background: var(--teal); border: var(--g-border);
  border-radius: var(--g-radius-sm); color: white;
  font-size: 1rem; font-family: var(--display); font-weight: normal;
  cursor: pointer; margin-bottom: 10px; box-shadow: var(--g-shadow);
  transition: transform 0.1s, box-shadow 0.1s;
}
.game-btn-check:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }
.game-btn-check:disabled { opacity: 0.4; cursor: default; transform: none; box-shadow: var(--g-shadow); }

.game-btn-next {
  width: 100%; padding: 15px;
  background: var(--ink); border: var(--g-border);
  border-radius: var(--g-radius-sm); color: white;
  font-size: 1rem; font-family: var(--display); font-weight: normal;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  animation: gamePopIn 0.3s cubic-bezier(.34,1.56,.64,1);
}
.game-btn-next:active { transform: translate(2px,2px); }

@keyframes gamePopIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* ── 피드백 ── */
.game-fb {
  background: white; border: var(--g-border);
  border-radius: var(--g-radius-sm);
  padding: 13px 14px; margin-bottom: 13px;
  animation: gameFbSlide 0.22s ease;
}
@keyframes gameFbSlide {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.game-fb.ok   { box-shadow: 3px 3px 0 var(--green); }
.game-fb.fail { box-shadow: 3px 3px 0 var(--red); }
.game-fb-head { font-size: 0.9375rem; font-weight: 900; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.game-fb.ok   .game-fb-head { color: #0A6B43; }
.game-fb.fail .game-fb-head { color: var(--red); }
.game-fb-en   { font-size: 0.8125rem; font-weight: 800; margin-top: 4px; color: var(--ink); line-height: 1.4; }
.game-fb-pron { font-size: 0.6875rem; color: var(--muted); margin-top: 5px; font-weight: 700; }
.game-fb-hint { font-size: 0.75rem; color: var(--muted); margin-top: 7px; padding-top: 7px; border-top: 1.5px dashed var(--cream-line); line-height: 1.4; font-weight: 600; }

/* ── 콤보 ── */
.game-combo {
  background: var(--yellow); border: var(--g-border);
  border-radius: 12px; padding: 8px 14px;
  font-size: 0.875rem; font-weight: 900; color: var(--ink);
  text-align: center; margin-bottom: 10px;
  box-shadow: var(--g-shadow-sm);
  animation: gamePopIn 0.3s cubic-bezier(.34,1.56,.64,1);
}

/* ══════════════════════════════════════════
   인트로 (벤토 레이아웃)
   ══════════════════════════════════════════ */
.game-topbar-intro { justify-content: space-between; }
.game-intro-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.7125rem; font-weight: 900; color: var(--ink);
  background: var(--yellow); border: var(--g-border);
  border-radius: 99px; padding: 4px 12px;
  box-shadow: var(--g-shadow-sm);
}
.game-intro-tag svg { width: 13px; height: 13px; }
.game-intro-title {
  font-family: var(--display); font-weight: normal;
  font-size: 2.375rem; color: var(--ink);
  line-height: 1.06; letter-spacing: -0.01em;
  margin-bottom: 14px; padding-top: 2px;
}
.game-session-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: white; color: var(--ink);
  font-size: 0.7125rem; font-weight: 800;
  padding: 6px 13px; border-radius: 99px;
  border: var(--g-border); box-shadow: var(--g-shadow-sm);
  margin-bottom: 22px;
}
.game-session-chip svg { fill: var(--pink); }
.game-intro-divider {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.game-intro-divider span {
  font-family: var(--display); font-size: 0.875rem; color: var(--ink);
}
.game-intro-divider i { flex: 1; height: 2px; background: var(--cream-line); }

/* 아이콘 박스 (공통) */
.game-fi {
  border-radius: 12px; border: var(--g-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.game-fi svg { width: 24px; height: 24px; }
.game-fi.pink   { background: var(--pink-pale);   color: var(--pink-deep); }
.game-fi.teal   { background: var(--teal-pale);   color: var(--teal-deep); }
.game-fi.purple { background: var(--purple-pale); color: var(--purple-deep); }
.game-fi.orange { background: var(--orange-pale); color: var(--orange-deep); }

/* 난이도/범위 배지 */
.game-lvl {
  font-size: 0.6875rem; font-weight: 900; flex-shrink: 0;
  border-radius: 7px; padding: 3px 8px; border: 1.5px solid;
}
.game-lvl.pink   { color: var(--pink-deep);   background: var(--pink-pale);   border-color: var(--pink-deep); }
.game-lvl.teal   { color: var(--teal-deep);   background: var(--teal-pale);   border-color: var(--teal-deep); }
.game-lvl.purple { color: var(--purple-deep); background: var(--purple-pale); border-color: var(--purple-deep); }
.game-lvl.orange { color: var(--orange-deep); background: var(--orange-pale); border-color: var(--orange-deep); }

/* 추천(혼합) 대형 스택 카드 */
.game-featured-wrap { position: relative; margin: 0 8px 28px 0; cursor: pointer; }
.game-featured-badge {
  position: absolute; top: -11px; left: 16px; z-index: 3;
  font-size: 0.625rem; font-weight: 900; color: white;
  background: var(--ink); border-radius: 99px; padding: 3px 10px;
  transform: rotate(-4deg);
}
.game-featured-card {
  background: white; border: var(--g-border);
  border-radius: 22px; padding: 16px 17px;
  box-shadow: 5px 5px 0 var(--pink), 10px 10px 0 var(--yellow);
  transition: transform 0.1s, box-shadow 0.1s;
}
.game-featured-wrap:active .game-featured-card { transform: translate(3px,3px); box-shadow: 3px 3px 0 var(--pink), 6px 6px 0 var(--yellow); }
.game-featured-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.game-featured-head .game-fi { width: 46px; height: 46px; border-radius: 13px; }
.game-featured-body { flex: 1; }
.game-featured-title { font-family: var(--display); font-size: 1.3125rem; color: var(--ink); line-height: 1; }
.game-featured-desc { font-size: 0.6875rem; color: var(--muted); font-weight: 700; margin-top: 5px; }
.game-featured-foot {
  display: flex; align-items: center; gap: 8px;
  border-top: 2px dashed var(--cream-deep); padding-top: 11px;
}
.game-featured-meta { font-size: 0.6875rem; font-weight: 800; color: var(--muted); }
.game-featured-go {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px;
  background: var(--ink); color: white; border-radius: 99px;
  padding: 6px 13px; font-size: 0.75rem; font-weight: 900;
}

/* 벤토: 작은 사각 2개 */
.game-bento-row { display: flex; gap: 13px; margin-bottom: 13px; }
.game-square {
  flex: 1; background: white; border: var(--g-border);
  border-radius: 18px; padding: 14px; min-height: 122px;
  display: flex; flex-direction: column; cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
}
.game-square .game-fi { width: 42px; height: 42px; border-radius: 11px; margin-bottom: auto; }
.gsq-pink { box-shadow: 4px 4px 0 var(--pink); }
.gsq-teal { box-shadow: 4px 4px 0 var(--teal); }
.gsq-pink:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--pink); }
.gsq-teal:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--teal); }
.game-square-title { font-size: 0.9rem; font-weight: 900; color: var(--ink); margin-top: 12px; }
.game-square-desc { font-size: 0.625rem; color: var(--muted); font-weight: 700; margin-top: 2px; }

/* 벤토: 와이드 카드 */
.game-wide {
  position: relative; display: flex; align-items: center; gap: 12px;
  background: white; border: var(--g-border);
  border-radius: 18px; padding: 13px 15px; margin: 0 4px 0 0;
  cursor: pointer; transition: transform 0.1s, box-shadow 0.1s;
}
.gwd-purple { box-shadow: 4px 4px 0 var(--purple); }
.gwd-purple:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--purple); }
.game-wide .game-fi { width: 42px; height: 42px; border-radius: 11px; }
.game-wide-body { flex: 1; }
.game-wide-title { font-size: 0.9rem; font-weight: 900; color: var(--ink); }
.game-wide-desc { font-size: 0.6875rem; color: var(--muted); font-weight: 700; margin-top: 1px; }
.game-wide-new {
  position: absolute; top: -9px; left: 14px;
  font-size: 0.5625rem; font-weight: 900; color: white;
  background: var(--purple); border: var(--g-border);
  border-radius: 99px; padding: 2px 8px;
  transform: rotate(-5deg); box-shadow: 1.5px 1.5px 0 var(--ink);
}
.game-wide-arrow { font-size: 1.375rem; color: var(--ink); flex-shrink: 0; line-height: 1; }

/* ══════════════════════════════════════════
   결과
   ══════════════════════════════════════════ */
.game-result-card {
  background: white; border: var(--g-border);
  border-radius: 22px; padding: 28px 20px;
  box-shadow: 5px 5px 0 var(--yellow); text-align: center;
  animation: gamePopIn 0.4s cubic-bezier(.34,1.56,.64,1);
}
.game-result-emoji {
  font-size: 3rem; margin: 0 auto 12px; display: flex;
  width: 92px; height: 92px; align-items: center; justify-content: center;
  background: var(--yellow); border: var(--g-border); border-radius: 50%;
  box-shadow: var(--g-shadow);
}
.game-result-title { font-family: var(--display); font-size: 1.625rem; color: var(--ink); margin-bottom: 8px; }
.game-result-score {
  font-family: var(--display); font-size: 3.125rem; color: var(--pink);
  line-height: 1; margin: 8px 0;
}
.game-result-sub { font-size: 0.8125rem; color: var(--muted); margin-bottom: 22px; font-weight: 700; }

.game-bars { text-align: left; margin-bottom: 22px; }
.game-bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.game-bar-lbl { width: 38px; font-size: 0.7125rem; font-weight: 800; color: var(--muted); }
.game-bar-track { flex: 1; height: 13px; background: #F4EFE3; border: var(--g-border); border-radius: 99px; overflow: hidden; }
.game-bar-fill  { height: 100%; border-right: 2px solid var(--ink); }
.game-bar-c { background: var(--green); }
.game-bar-w { background: var(--red); }
.game-bar-cnt { font-family: var(--display); font-size: 0.9375rem; width: 22px; text-align: right; }
.game-bar-cnt.c { color: var(--green); }
.game-bar-cnt.w { color: var(--red); }

.game-btn-restart {
  width: 100%; padding: 15px;
  background: var(--pink); border: var(--g-border);
  border-radius: var(--g-radius-sm); color: white;
  font-size: 1rem; font-family: var(--display); font-weight: normal;
  cursor: pointer; box-shadow: var(--g-shadow); margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform 0.1s, box-shadow 0.1s;
}
.game-btn-restart:active { transform: translate(3px,3px); box-shadow: 1px 1px 0 var(--ink); }
.game-btn-home {
  width: 100%; padding: 15px;
  background: white; border: var(--g-border);
  border-radius: var(--g-radius-sm); color: var(--ink);
  font-size: 0.9rem; font-weight: 900; cursor: pointer;
  box-shadow: var(--g-shadow-sm);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body);
  transition: transform 0.1s, box-shadow 0.1s;
}
.game-btn-home:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }

/* ══════════════════════════════════════════
   글자 크게(large) 모드 — 게임 화면 여백 압축
   ══════════════════════════════════════════ */
html[data-font-size="large"] #game-inner { padding: 0 14px 20px; }
html[data-font-size="large"] .game-topbar { padding: 12px 0 8px; }
html[data-font-size="large"] .game-prog-wrap { margin-bottom: 12px; }
html[data-font-size="large"] .game-mode-badge { margin-bottom: 10px; padding: 5px 12px; }
html[data-font-size="large"] .game-q-card { padding: 14px 16px; margin-bottom: 12px; }
html[data-font-size="large"] .game-q-kr { font-size: 1.3125rem; }
html[data-font-size="large"] .game-q-pt { margin-top: 8px; }
html[data-font-size="large"] .game-opts { gap: 8px; margin-bottom: 8px; }
html[data-font-size="large"] .game-opt-btn { padding: 11px 14px; }
html[data-font-size="large"] .game-listen-card { padding: 16px 16px; margin-bottom: 14px; }
html[data-font-size="large"] .game-play-btn { width: 72px; height: 72px; }
html[data-font-size="large"] .game-wave { height: 24px; margin-top: 10px; }
html[data-font-size="large"] .game-ws-section { margin-bottom: 8px; }
html[data-font-size="large"] .game-slots { padding: 8px 10px; margin-bottom: 10px; }
html[data-font-size="large"] .game-session-chip { margin-bottom: 14px; }
html[data-font-size="large"] .game-intro-title { font-size: 2rem; margin-bottom: 10px; }
html[data-font-size="large"] .game-featured-wrap { margin-bottom: 22px; }
html[data-font-size="large"] .game-featured-card { padding: 13px 15px; }
html[data-font-size="large"] .game-bento-row { margin-bottom: 10px; }
html[data-font-size="large"] .game-square { min-height: 108px; padding: 12px; }
