/* 앱의 핵심 행동과 선택 준비를 구분한다. 랜딩의 연출은 기존 스타일을 쓴다. */
body { --faint: #697586; --muted: #596575; --dark-muted: #b7b7c0; }
.main { padding-top: 40px; }
.page-head { margin-bottom: 24px; }
.eyebrow { font-size: 13px; }
.nav-item.on { background: var(--accent-weak); color: #b73509; }
.nav-item.on .no { background: transparent; color: var(--accent-ink); }
.nav-item .no { background: transparent; }
.nav-item .no svg { width: 21px; height: 21px; }
.nav-item.done .no { background: transparent; }
.option .d, .q-sub, .hint, .nav-item .meta { color: var(--faint); }
.input::placeholder, .composer-box textarea::placeholder { color: #738091; }
.text-btn { display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.text-btn:hover { color: #b73509; }
.disclosure { margin-top: 16px; border-radius: 20px; background: var(--surface); }
.disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 24px; list-style: none; cursor: pointer; font-weight: 600; }
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary::after { content: ''; flex: none; width: 8px; height: 8px; margin-right: 3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .18s; }
.disclosure[open] > summary::after { transform: rotate(225deg); }
.disclosure > summary small { display: inline-block; margin-left: 14px; color: var(--muted); font-size: 13px; font-weight: 400; }
.disclosure[open] > summary { border-bottom: 1px solid var(--line); }

.ready { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); }
.ready .big-start { gap: 24px; padding: 28px; border-radius: 20px; background: radial-gradient(ellipse at 80% 45%, rgba(255, 103, 43, .19), transparent 72%), #1c1b1f; }
.ready-overview { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 8px; min-height: 200px; }
.ready-overview > div:first-child { flex: none; position: relative; z-index: 1; }
.ready .big-start .label { font-size: 13px; font-weight: 500; color: #c3bec0; }
.ready .big-start .count { gap: 6px; margin-top: 14px; }
.ready .big-start .count b { font-size: clamp(52px, 5vw, 68px); font-weight: 700; letter-spacing: -.045em; }
.ready .big-start .count span { font-size: 17px; font-weight: 500; }
.ready-moki { flex: 0 1 190px; min-width: 0; }
.ready-moki img { width: 100%; max-width: 190px; }
.ready .big-start .eta { margin-top: 0; font-size: 13px; color: #c3bec0; }
.ready-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
.ready-question-link { display: inline-flex; align-items: center; gap: 5px; padding: 4px 0; border: 0; background: none; color: #ffd1b9; font-size: 13px; }
.ready-question-link svg { width: 14px; height: 14px; }
.ready-question-link:hover { color: #fff; }
.ready .ready-check { display: flex; flex-direction: column; min-width: 0; padding: 20px 24px 18px 28px; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.ready-check h2 { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.ready-check .option { gap: 12px; min-height: 76px; padding: 15px 0; }
.ready-check .option .t { font-size: 14px; }
.ready-check .option .d { font-size: 12px; margin-top: 4px; }
.ready-check .option select.input { width: 88px; flex: none; }
.ready-check .option .btn { flex: none; min-width: 72px; }
.ready-check .meter { flex: none; height: 4px; margin: 0; }
.ready-voice { margin: 12px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.ready-check .ready-start { margin-top: auto; min-height: 48px; height: 48px; border-radius: 13px; font-size: 15px; font-weight: 600; }
.ready-access { margin: 12px 4px 20px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.ready-access .text-btn { margin-left: 4px; font-size: inherit; }
.ready-settings .option-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; padding-top: 0; }
.ready-settings .option:nth-child(2) { border-top: 0; }
.ready-settings .option .d { font-size: 13px; }
.switch input:disabled + i { opacity: .4; cursor: not-allowed; }
.ready-preparation { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 20px 4px 0; color: var(--muted); font-size: 13px; }
.ready-preparation > div { display: flex; flex-wrap: wrap; gap: 16px; }
.ready-preparation .text-btn { font-size: 13px; }
.ready-flow { margin-top: 32px; }
.flow-step { padding: 20px; }
.flow-step p { font-size: 14px; }

.coach-intro { display: flex; align-items: center; gap: 24px; padding: 24px 28px; }
.coach-intro > img { width: 100px; height: 100px; object-fit: contain; flex: none; }
.coach-intro h2 { font-size: 19px; }
.coach-intro p { margin: 8px 0 14px; color: var(--muted); font-size: 14px; }
.coach-intro p.hint { margin-bottom: 0; font-size: 12px; }
.avatar, .coach-face { background: none; box-shadow: none; }
.avatar img { width: 36px; height: 36px; object-fit: contain; }
.coach-face img { width: 54px; height: 54px; object-fit: contain; }
.chat-log { height: clamp(220px, 36vh, 380px); }
.chat .card-head { align-items: flex-start; }
.chat .card-head .actions { flex: none; }

@media (max-width: 860px) {
  .main { padding-top: 24px; }
  .ready { grid-template-columns: minmax(0, 1fr); }
  .ready-overview { min-height: 150px; }
  .ready .ready-check { padding: 24px 20px 14px; }
  .ready-settings .option-list { grid-template-columns: 1fr; }
  .ready-settings .option:nth-child(2) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .side { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px 16px 10px; overflow: visible; }
  .brand div { display: block; }
  .brand small { display: none; }
  .brand { padding: 0; }
  .side-foot { grid-column: 2; grid-row: 1; margin: 0; }
  .side-foot .nav-item { padding: 6px; }
  .steps { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .steps .nav-item { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 8px 2px; border-radius: 12px; min-width: 0; }
  .steps .nav-item .no { width: 20px; height: 20px; }
  .steps .nav-item .label { font-size: 12px; }
  .page-head { gap: 12px; margin-bottom: 20px; }
  .lead { font-size: 14px; }
  .ready { padding: 8px; border-radius: 24px; gap: 0; }
  .ready .big-start { padding: 20px; gap: 16px; border-radius: 17px; }
  .ready-overview { min-height: 116px; }
  .ready-moki { flex-basis: 136px; }
  .ready .big-start .count b { font-size: 52px; }
  .ready .big-start .count span { font-size: 15px; }
  .ready-info { padding-top: 14px; }
  .ready .ready-check { padding: 22px 12px 12px; }
  .ready-check h2 { margin-bottom: 6px; }
  .ready-check .option { min-height: 68px; }
  .disclosure > summary { padding: 18px 20px; }
  .disclosure > summary small { display: block; margin: 3px 0 0; }
  .ready-preparation { align-items: flex-start; flex-direction: column; gap: 6px; }
  .coach-intro { align-items: flex-start; gap: 14px; padding: 22px 20px; }
  .coach-intro > img { width: 64px; height: 64px; }
  .coach-intro h2 { font-size: 17px; }
  .coach-intro p br { display: none; }
  .chat .card-head { flex-direction: column; gap: 14px; }
  .chat-log { padding: 16px; }
  .msg { max-width: 85%; font-size: 14px; }
}

/* 모의면접 화면: 면접 시작 바로 아래에 '준비하기' 카드 (상세 설정·팁보다 위) */
.ready-prep { margin-top: 32px; }
.ready-prep .section-title { margin-bottom: 12px; }
.ready-prep .section-title p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.prep-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prep-tile { position: relative; display: block; width: 100%; padding: 22px 56px 22px 24px; border: 0; text-align: left; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.prep-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.pt-eyebrow { display: block; font-size: 13px; font-weight: 700; color: #c2410c; }
.prep-tile b { display: block; margin-top: 6px; font-size: 18px; line-height: 1.4; color: var(--ink); }
.pt-meta { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.pt-go { position: absolute; right: 22px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grey-100); color: var(--ink-2); transition: background .15s, color .15s; }
.prep-tile:hover .pt-go { background: var(--accent); color: #fff; }
.ready-prep + .ready-settings { margin-top: 24px; }
@media (max-width: 640px) {
  .prep-tiles { grid-template-columns: 1fr; }
}
.ready-flow + .tip-card, .ready-flow + .tip-carousel, .ready-flow + section, .ready-flow + aside { margin-top: 24px; }

/* 처음 온 사람: 직군 고르기 → 3분 체험 → 결과 확인을 한 장에 */
.first-run { padding: 24px 28px 22px; }
.fr-steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 18px; }
.fr-steps > li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.fr-no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--grey-100); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.fr-body { display: grid; gap: 6px; min-width: 0; padding-top: 3px; }
.fr-body > b { font-size: 16px; }
.fr-desc { font-size: 14px; color: var(--muted); }
.fr-tracks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.fr-tracks .seg { height: 36px; padding: 0 14px; font-size: 14px; }
.fr-options { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 6px; }
.fr-mic { display: flex; align-items: center; gap: 10px; }
.fr-mic .meter { width: 96px; height: 4px; margin: 0; }
.cam-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.cam-switch > span:first-child { font-size: 14px; font-weight: 600; color: var(--ink); }
.cam-switch small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.first-run .btn.lg svg { width: 20px; height: 20px; }
.fr-alt { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.fr-alt .text-btn { font-size: 13px; }
.fr-later { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px 18px; }
.fr-later img { flex: none; mix-blend-mode: multiply; }
.fr-later b { display: block; font-size: 15px; }
.fr-later span { font-size: 13px; color: var(--muted); }
.ready-check .cam-switch { padding: 14px 0; border-top: 1px solid var(--line); }
.ready-trial { align-self: center; margin-top: 10px; font-size: 13px; }
@media (max-width: 640px) {
  .first-run { padding: 18px 16px 16px; }
  .fr-steps { gap: 14px; margin-bottom: 14px; }
  .fr-alt { text-align: left; }
  /* 모바일 첫 화면: 질문 수 카드를 줄여 시작 버튼이 첫 화면 안에 보이게 */
  .ready .big-start { padding: 16px 18px; gap: 10px; }
  .ready-overview { min-height: 0; }
  .ready-moki { flex-basis: 84px; }
  .ready .big-start .count { margin-top: 6px; }
  .ready .big-start .count b { font-size: 40px; }
  .ready .big-start .ready-info { display: none; }
  .ready .ready-check { padding: 16px 16px 12px; }
  .ready-check h2 { display: none; }
  .ready-check .option { min-height: 0; padding: 10px 0; }
}

/* 처음 온 사람 카드: 왼쪽 단계, 오른쪽 모키 하나 */
.fr-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: center; }
.fr-moki { position: relative; display: grid; justify-items: center; gap: 4px; }
.fr-moki::before { content: ''; position: absolute; inset: 6% 6% 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 90, 31, .18), transparent); }
.fr-moki img { position: relative; width: 220px; height: 220px; animation: frFloat 3.6s ease-in-out infinite; }
.fr-moki span { position: relative; font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent-weak); padding: 4px 10px; border-radius: 999px; }
@keyframes frFloat { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .fr-moki img { animation: none; } }

/* 다시 온 사람: 최근 연습 한 줄 */
.recent-card { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding: 16px 20px; }
.recent-card img { flex: none; width: 64px; height: 64px; object-fit: contain; }
.recent-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.recent-main .eyebrow { margin: 0; }
.recent-main b { font-size: 16px; }
.recent-main span:last-child { font-size: 13px; color: var(--muted); }
.recent-card .btn { flex: none; }
.ready-prep { margin-top: 40px; }

/* 설정: 면접 진행 스위치 묶음 */
.option-stack { gap: 0; }
.option-stack .option { min-height: 64px; padding: 12px 0; }

@media (max-width: 640px) {
  .fr-grid { grid-template-columns: minmax(0, 1fr); }
  .fr-moki { display: none; }
  .recent-card { flex-wrap: wrap; padding: 14px 16px; }
  .recent-card .btn { width: 100%; }
}
.ready-prep + .tip-carousel, .ready-prep ~ .tip-carousel { margin-top: 24px; }

/* 어두운 시작 카드: 숫자를 앞세우지 않고, 한 문장 + 모키로 차분하게 */
.ready .ready-overview { align-items: center; gap: 16px; }
.ready .ready-overview > .ready-copy { flex: 1 1 0; min-width: 0; position: relative; z-index: 1; }
.ready .big-start .ready-copy .label { font-size: 14px; font-weight: 600; color: #c3bec0; }
.ready-title { margin: 12px 0 0; font-size: clamp(24px, 2.3vw, 30px); line-height: 1.4; font-weight: 700; letter-spacing: -.035em; color: #fff; }
.ready .ready-moki { flex: 0 0 200px; }
.ready .ready-moki img { width: 200px; max-width: none; }
@media (max-width: 1100px) { .ready .ready-moki { flex-basis: 150px; } .ready .ready-moki img { width: 150px; } }
@media (max-width: 640px) {
  .ready-title { font-size: 18px; margin-top: 6px; }
  .ready .ready-moki { flex-basis: 84px; } .ready .ready-moki img { width: 84px; }
}
.ready-title { font-size: 24px; word-break: keep-all; }
.ready .ready-moki { flex-basis: 140px; } .ready .ready-moki img { width: 140px; }
@media (max-width: 640px) { .ready-title { font-size: 18px; } .ready .ready-moki { flex-basis: 84px; } .ready .ready-moki img { width: 84px; } }
@media (max-width: 1180px) and (min-width: 641px) { .ready-title { font-size: 20px; } .ready .ready-moki { flex-basis: 104px; } .ready .ready-moki img { width: 104px; } }
.ready-alt { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 10px; color: var(--faint); font-size: 13px; }
.ready-alt .ready-trial { margin-top: 0; }
@media (max-width: 640px) {
  .page-head .actions { display: flex; flex-wrap: nowrap; gap: 6px; width: 100%; }
  .page-head .actions .btn { flex: 1 1 0; min-width: 0; height: 40px; padding: 0 8px; font-size: 13px; white-space: nowrap; }
}
/* 홈: 면접 외 연습은 작은 바로가기 버튼으로 */
.home-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.home-shortcut { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 14px 18px 14px 14px; border: 0; border-radius: 20px; background: var(--surface, #fff); text-align: left; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.home-shortcut:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.home-shortcut img { flex: 0 0 48px; width: 48px; height: 48px; object-fit: contain; }
.home-shortcut span { flex: 1 1 auto; min-width: 0; }
.home-shortcut b { display: block; font-size: 15px; font-weight: 700; color: var(--ink, #191f28); }
.home-shortcut small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-shortcut > svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--faint); }
@media (max-width: 900px) {
  .home-shortcuts { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .home-shortcut { min-height: 64px; }
}
.home-shortcut { padding-left: 16px; }
.home-shortcut .hs-icon { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grey-100); color: var(--ink); font-style: normal; }
.home-shortcut:hover .hs-icon { color: var(--accent-ink, #c2410c); background: #fff4ed; }
/* 하위 기능: 제목 위 작은 뒤로 가기 */
.page-back { display: inline-flex; align-items: center; gap: 2px; margin: 0 0 8px -4px; padding: 4px 8px 4px 2px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.page-back:hover { color: var(--ink); background: var(--grey-100); }

/* 무료 · AI 분석 안내 */
.price-note { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; word-break: keep-all; }
.first-run .price-note { margin-top: 14px; }

/* 답변 중 받아쓰기 끊김 */
.stage-error { max-width: 560px; margin: 18px auto 0; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); text-align: left; }
.stage-error b { display: block; font-size: 16px; color: #fff; }
.stage-error p { margin: 6px 0 0; font-size: 14px; color: rgba(255, 255, 255, .72); }
.stage-error .stage-kept { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .85); }
.stage-error-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.stage-end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* 마이크 권한 기다리는 중 */
.mic-hint { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translateX(-50%); width: min(520px, calc(100% - 32px)); padding: 16px 20px; border-radius: 16px; background: var(--grey-900); color: #fff; box-shadow: 0 12px 36px rgba(0, 0, 0, .25); animation: micHintIn .2s ease-out; }
.mic-hint b { display: block; font-size: 15px; }
.mic-hint span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .75); }
@keyframes micHintIn { from { opacity: 0; transform: translate(-50%, 8px); } }
/* 시작 전 확인: 직무 선택은 이름이 길어서 넓게 */
.ready-check #readyTrack { flex: 0 0 auto; width: 156px; max-width: 48%; }
/* 어두운 시작 카드 (시안): 문장은 위, 모키는 아래쪽 오른편에 크게, 예상 시간은 맨 아래 */
@media (min-width: 641px) {
  .ready .big-start { background: radial-gradient(circle at 66% 66%, rgba(255, 103, 43, .2), transparent 46%), #1c1b1f; }
  .ready .ready-overview { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding-top: 14px; }
  .ready .ready-overview > .ready-copy { flex: none; }
  .ready-title { font-size: 28px; margin-top: 14px; }
  .ready .ready-moki { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; padding: 16px 9% 8px 0; }
  .ready .ready-moki img { width: 200px; }
}
@media (max-width: 1180px) and (min-width: 641px) {
  .ready-title { font-size: 24px; }
  .ready .ready-moki img { width: 168px; }
}
/* 면접 종류 탭: 종합 · 기본 인성 · 직무 실무 */
.mode-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: var(--grey-100); }
.mode-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 44px; padding: 6px 4px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.mode-tab small { font-size: 11px; font-weight: 600; color: var(--accent-ink); }
.mode-tab.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.mode-desc { margin: 10px 2px 4px; font-size: 12px; line-height: 1.6; color: var(--muted); }
/* 홈 모키: 둥둥 떠다니기 + 말풍선 대사 (어두운 카드 안에서만) */
.ready .ready-moki { position: relative; flex-direction: column; align-items: flex-end; gap: 10px; }
.moki-poke { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.moki-poke:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.moki-poke img { display: block; animation: mokiFloat 4.2s ease-in-out infinite; transform-origin: 50% 80%; }
.moki-poke img.hop { animation: mokiHop .5s cubic-bezier(.3, 1.6, .5, 1), mokiFloat 4.2s ease-in-out .5s infinite; }
@keyframes mokiFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes mokiHop { 0% { transform: translateY(0) scale(1); } 35% { transform: translateY(-18px) scale(1.04, .97); } 70% { transform: translateY(2px) scale(.98, 1.03); } 100% { transform: translateY(0) scale(1); } }
.moki-bubble { position: relative; max-width: min(240px, 100%); margin: 0 6% 0 0; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.5; word-break: keep-all; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; backdrop-filter: blur(6px); }
.moki-bubble.show { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .moki-bubble { display: none; }
  .ready .ready-moki { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .moki-poke img, .moki-poke img.hop { animation: none; }
  .moki-bubble { transition: none; }
}
/* 홈 시작 카드: 항목이 줄어든 만큼 왼쪽 · 오른쪽 높이와 간격을 다시 맞춘다 */
@media (min-width: 641px) {
  .ready .ready-check { padding: 22px 26px 20px 28px; }
  .ready-check h2 { margin-bottom: 14px; }
  .ready-check .mode-desc { margin: 10px 2px 8px; }
  .ready-check .option { min-height: 80px; padding: 16px 0; }
  .ready-check .option:has(+ .ready-start) { margin-bottom: 24px; }
  .ready-check .ready-trial { margin-top: 12px; }
  .ready .ready-moki { padding: 8px 9% 4px 0; }
  .ready .ready-moki img { width: 176px; }
  .ready .big-start { gap: 18px; }
}
@media (max-width: 1180px) and (min-width: 641px) {
  .ready .ready-moki img { width: 150px; }
}
/* 면접 화면 위쪽: 오른쪽 버튼 묶음은 오른쪽 끝에 붙인다 */
.stage-top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: none; margin-left: auto; }
/* 페이지 위 버튼 위계: 주 작업은 진한 버튼, 보조 연습은 아이콘 + 가벼운 버튼 */
.page-head .head-sub { gap: 6px; color: var(--ink-2); }
.page-head .head-sub svg { color: var(--muted); }
.page-head .head-sub:hover { background: var(--grey-200); color: var(--ink); }
.page-head .head-sub:hover svg { color: var(--accent-ink); }
.page-head .actions .btn.primary svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .page-head .actions .btn.primary { order: -1; flex-basis: 100%; }
}
@media (max-width: 640px) {
  .page-head .actions:has(.head-sub) { flex-wrap: wrap; row-gap: 4px; }
  .page-head .actions:has(.head-sub) .btn.primary { flex: 1 1 100%; }
  .page-head .actions .head-sub { flex: 1 1 0; justify-content: center; }
}
/* 사이드 메뉴: 주황은 지금 보는 메뉴에만. 나머지 아이콘은 회색 */
.nav-item:not(.on) .no, .nav-item.done:not(.on) .no { color: var(--grey-500); }
.nav-item:not(.on):hover .no { color: var(--ink-2); }
/* 좁은 화면(위쪽 메뉴): 의견 보내기 · 설정 아이콘을 가로로 나란히, 메뉴와 같은 높이에 */
@media (max-width: 860px) {
  .side-foot { display: flex; flex-direction: row; align-items: center; gap: 2px; }
  .side-foot .nav-item { display: flex; align-items: center; justify-content: center; }
}
@media (max-width: 640px) {
  .side-foot { align-self: center; }
}
/* 화상 면접 모드: 사진 타일 + 말할 때만 켜지는 테두리 · 소리 막대 */
.vc-tile { position: relative; width: min(560px, 80vw); aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); transition: box-shadow .25s ease; }
.vc-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vc-name { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; font-weight: 600; }
.vc-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.vc-bars i { width: 3px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .5); }
#stage[data-phase="asking"] .vc-tile, #stage[data-phase="intro"] .vc-tile { box-shadow: 0 0 0 3px var(--accent), 0 0 32px rgba(255, 90, 31, .35); }
#stage[data-phase="asking"] .vc-bars i, #stage[data-phase="intro"] .vc-bars i { background: var(--accent); animation: vcBar .9s ease-in-out infinite; }
#stage[data-phase="asking"] .vc-bars i:nth-child(2), #stage[data-phase="intro"] .vc-bars i:nth-child(2) { animation-delay: .15s; }
#stage[data-phase="asking"] .vc-bars i:nth-child(3), #stage[data-phase="intro"] .vc-bars i:nth-child(3) { animation-delay: .3s; }
@keyframes vcBar { 0%, 100% { height: 4px; } 50% { height: 12px; } }
.stage-center:has(.stage-aids) .vc-tile { width: min(360px, 60vw); }
@media (max-width: 640px) { .vc-tile { width: 92vw; border-radius: 14px; } }
@media (prefers-reduced-motion: reduce) { .vc-bars i { animation: none !important; height: 8px; } }
/* 처음 온 사람 홈: 일반 홈과 같은 틀, 오른쪽에 진행 순서 2줄 */
.fr-flow { display: grid; gap: 8px; margin: 0 0 6px; padding: 0; list-style: none; counter-reset: fr; }
.fr-flow li { position: relative; padding: 12px 14px 12px 44px; border-radius: 12px; background: var(--grey-50); counter-increment: fr; }
.fr-flow li::before { content: counter(fr); position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-weak); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.fr-flow b { display: block; font-size: 14px; }
.fr-flow span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .ready-check #readyTrack { width: auto; min-width: 150px; max-width: 60%; } }
/* 홈 모키: 몸통 이미지 위에 눈을 얹어 주기적으로 깜빡인다 (가끔 두 번) */
.home-moki { position: relative; display: block; animation: mokiFloat 4.2s ease-in-out infinite; transform-origin: 50% 80%; }
.home-moki.hop { animation: mokiHop .5s cubic-bezier(.3, 1.6, .5, 1), mokiFloat 4.2s ease-in-out .5s infinite; }
.moki-poke .home-moki img { display: block; animation: none; filter: drop-shadow(0 18px 36px rgba(255, 90, 31, .25)); }
.home-eyes { position: absolute; left: 50%; top: 44%; width: 21%; height: 20%; translate: -50% -50%; display: flex; justify-content: space-between; pointer-events: none; }
.home-eyes i { width: 27%; height: 100%; border-radius: 999px; background: linear-gradient(180deg, #ff7b45, #ff5a1f 60%, #ef4a10); box-shadow: inset 0 3px 4px rgba(255, 255, 255, .35), 0 3px 10px rgba(255, 90, 31, .3); transform-origin: 50% 60%; animation: mokiBlink 4.6s ease-in-out infinite; }
@keyframes mokiBlink { 0%, 86%, 100% { transform: scaleY(1); } 88% { transform: scaleY(.1); } 90% { transform: scaleY(1); } 93% { transform: scaleY(.1); } 95% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .home-moki, .home-moki.hop, .home-eyes i { animation: none; } }
/* 큰 모니터(1600px 이상): 홈만 넓게 쓰고 제목 · 모키도 한 단계 키운다. 글을 읽고 쓰는 화면은 그대로 */
@media (min-width: 1600px) {
  .page:has(> .ready) { max-width: 1120px; }
  .page:has(> .ready) .ready-title { font-size: 34px; }
  .page:has(> .ready) .ready .ready-moki img { width: 220px; }
  .page:has(> .ready) .moki-bubble { font-size: 15px; max-width: 280px; }
  .page:has(> .ready) .ready-check .option { min-height: 88px; }
  .page:has(> .ready) .ready-check .ready-start { height: 52px; font-size: 16px; }
}
