/* ═══════════════════════════════════════════════════════
   aptitude.css — 적성검사 전용 스타일
═══════════════════════════════════════════════════════ */

/* ── APTITUDE SPECIFIC ── */
.apt-main { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }

/* ── INTRO ── */
.intro-card {
  background: white; border-radius: 20px; padding: 52px 48px;
  text-align: center; border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.intro-icon { font-size: 56px; margin-bottom: 20px; line-height: 1; }
.intro-card h1 { font-size: 32px; font-weight: 900; margin-bottom: 8px; color: var(--text); }
.intro-meta { font-size: 13px; color: var(--text-sub); margin-bottom: 32px; }
.intro-features {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin: 0 auto 36px; max-width: 360px; text-align: left;
}
.intro-features li {
  font-size: 14px; color: var(--text-sub);
  display: flex; align-items: center; gap: 10px;
}
.intro-features li .fi {
  width: 24px; height: 24px; background: #EBF2FF; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0;
}
.btn-start {
  background: #7C3AED; color: white; border: none;
  border-radius: 12px; padding: 16px 48px;
  font-size: 16px; font-weight: 700; font-family: 'Noto Sans KR', sans-serif;
  cursor: pointer; transition: background .2s;
}
.btn-start:hover { background: #6D28D9; }

/* ── QUIZ PROGRESS ── */
.quiz-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.q-counter { font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.progress-bar-wrap { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: #7C3AED; border-radius: 3px; transition: width .4s ease; }
.q-time { font-size: 12px; color: var(--text-sub); white-space: nowrap; }

/* ── QUESTION CARD ── */
.question-card {
  background: white; border-radius: 16px; padding: 40px 36px;
  border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0,0,0,.06);
  margin-bottom: 24px;
}
.q-section-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 20px;
  background: #F3E8FF; color: #7C3AED;
}
.question-text {
  font-size: 20px; font-weight: 700; color: var(--text); line-height: 1.6; margin-bottom: 0;
}

/* ── YES / NO BUTTONS ── */
.yn-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.yn-btn {
  padding: 20px 12px; border-radius: 14px; border: 2.5px solid var(--border);
  background: white; cursor: pointer; font-size: 17px; font-weight: 800;
  font-family: 'Noto Sans KR', sans-serif;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: all .15s; color: var(--text-sub);
}
.yn-btn .yn-emoji { font-size: 26px; line-height: 1; }
.yn-btn:hover { border-color: #7C3AED; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(124,58,237,.15); }
.yn-btn.selected-yes { border-color: #00875A; background: #00875A; color: white; box-shadow: 0 4px 14px rgba(0,135,90,.25); }
.yn-btn.selected-no  { border-color: #97A0AF; background: #97A0AF; color: white; }

/* ── QUIZ NAV ── */
.quiz-nav { display: flex; justify-content: flex-start; }
.btn-prev {
  padding: 12px 20px; border: 1.5px solid var(--border);
  border-radius: 10px; background: white; color: var(--text-sub);
  font-size: 13px; font-weight: 600; font-family: 'Noto Sans KR', sans-serif;
  cursor: pointer; transition: all .2s;
}
.btn-prev:hover { border-color: var(--primary); color: var(--primary); }
.btn-prev:disabled { opacity: .3; cursor: not-allowed; }

/* ── LOADING ── */
.loading-apt {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 340px; text-align: center;
}
.spinner-apt {
  width: 52px; height: 52px; border: 4px solid var(--border);
  border-top-color: #7C3AED; border-radius: 50%;
  animation: spin 1s linear infinite; margin-bottom: 24px;
}

/* ════════════════════════════════════════
   RESULT — v3 프리미엄 리포트 스타일
════════════════════════════════════════ */

/* 결과 화면 넓게 */
#resultScreen.apt-main { max-width: 1020px; }

/* ══════════════════════════════
   애니메이션 키프레임
══════════════════════════════ */
@keyframes apt-slideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes apt-slideLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes apt-popIn {
  0%   { opacity: 0; transform: scale(0.88) translateY(10px); }
  65%  { transform: scale(1.02) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes apt-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ill-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}
@keyframes ill-sub-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ── 애니메이션 상태 클래스 ── */
.apt-hidden {
  opacity: 0 !important;
  pointer-events: none;
}
.apt-reveal {
  animation: apt-slideUp 0.55s cubic-bezier(0.22,1,0.36,1) both;
}
.persona-block.apt-reveal {
  animation: apt-slideLeft 0.55s cubic-bezier(0.22,1,0.36,1) both;
}
.job-card.apt-reveal, .work-card.apt-reveal {
  animation: apt-popIn 0.45s cubic-bezier(0.22,1,0.36,1) both;
}

/* ══════════════════════════════
   완료 배너
══════════════════════════════ */
.result-done-banner {
  background: linear-gradient(135deg, #0d1117 0%, #1a1e3c 60%, #2d1b69 100%);
  border-radius: 16px; padding: 18px 26px; margin-bottom: 18px;
  display: flex; align-items: center; gap: 16px; color: white;
  border: 1px solid rgba(167,139,250,0.2);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1), 0 4px 24px rgba(0,0,0,0.25);
  position: relative; overflow: hidden;
}
.result-done-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    transparent 0%, rgba(167,139,250,0.06) 50%, transparent 100%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}
.done-check {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900;
  box-shadow: 0 0 16px rgba(167,139,250,0.5);
}
.done-copy { flex: 1; }
.done-title { font-size: 14px; font-weight: 900; margin-bottom: 3px; letter-spacing: 0.2px; }
.done-meta  { font-size: 11px; opacity: 0.4; letter-spacing: 0.5px; }

/* ══════════════════════════════
   결과 그리드 레이아웃
══════════════════════════════ */
.result-grid {
  display: grid;
  grid-template-columns: 252px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}
.result-grid:not(.has-persona) { grid-template-columns: 1fr; }
.result-ranks { display: flex; flex-direction: column; gap: 14px; }

/* ══════════════════════════════
   페르소나 블록
══════════════════════════════ */
.persona-block {
  background: #0e0c1e;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: 80px;
}

/* ── 일러스트 영역 ── */
#personaIllust { display: block; }
.ill-bg {
  width: 100%; height: 168px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
/* 이미지 모드: 높이 확장 */
.ill-bg--img {
  height: 220px;
  align-items: flex-end;
  justify-content: center;
}
.ill-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%),
    repeating-linear-gradient(45deg,
      transparent, transparent 24px,
      rgba(255,255,255,0.02) 24px, rgba(255,255,255,0.02) 25px);
  pointer-events: none;
}
/* 페르소나 이미지 */
.ill-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 8px 8px 0;
  box-sizing: border-box;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.45));
  animation: ill-float 5s ease-in-out infinite;
}
.ill-glow {
  position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 60px; border-radius: 50%;
  filter: blur(28px); opacity: 0.5;
  pointer-events: none;
}
.ill-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.ill-tag {
  font-size: 8px; font-weight: 900; letter-spacing: 2.5px;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px; padding: 4px 12px;
  text-transform: uppercase;
  /* 이미지 모드에서 하단 오버레이 배지 */
  position: relative; z-index: 3;
  margin-bottom: 10px;
  backdrop-filter: blur(6px);
}
.ill-main-icon {
  font-size: 54px; line-height: 1;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
  animation: ill-float 4s ease-in-out infinite;
}
.ill-subs {
  display: flex; gap: 10px;
}
.ill-sub {
  font-size: 20px; line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  opacity: 0.8;
}
.ill-sub:nth-child(1) { animation: ill-sub-float 3.2s ease-in-out infinite 0.2s; }
.ill-sub:nth-child(2) { animation: ill-sub-float 3.2s ease-in-out infinite 0.6s; }
.ill-sub:nth-child(3) { animation: ill-sub-float 3.2s ease-in-out infinite 1.0s; }

/* ── 페르소나 헤더 ── */
.persona-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
}
.persona-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 8.5px; font-weight: 900;
  letter-spacing: 2px; color: #A78BFA;
  margin-bottom: 8px; text-transform: uppercase;
}
.persona-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #A78BFA; display: block;
  box-shadow: 0 0 8px #A78BFA;
}
.persona-name {
  font-size: 19px; font-weight: 900; color: white;
  margin-bottom: 4px; line-height: 1.25;
  letter-spacing: -0.3px;
}
.persona-combo {
  font-size: 10.5px; color: rgba(255,255,255,.32); font-weight: 500;
}

/* ── 페르소나 바디 ── */
.persona-body {
  padding: 16px 20px 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.persona-section-label {
  display: flex; align-items: center; gap: 5px;
  font-size: 8.5px; font-weight: 900;
  letter-spacing: 1.5px; margin-bottom: 6px;
  text-transform: uppercase;
}
.persona-section-label::before {
  content: ''; width: 12px; height: 2px; border-radius: 1px; display: block;
}
.persona-trait-label       { color: #A78BFA; }
.persona-trait-label::before { background: #A78BFA; }
.persona-ai-label          { color: #34D399; }
.persona-ai-label::before  { background: #34D399; }
.persona-section-text {
  font-size: 12px; line-height: 1.8;
  color: rgba(255,255,255,.62); margin: 0;
}

/* ══════════════════════════════
   1순위 블록
══════════════════════════════ */
.rank1-block {
  background: white; border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.1);
  border: 1px solid rgba(0,0,0,.06);
}

/* 헤더 */
.rank1-hd {
  padding: 26px 26px 20px; color: white;
  position: relative; overflow: hidden;
  min-height: 140px;
}
.rank1-hd::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.12) 100%);
}
.rank1-hd::after {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.r1-inner { position: relative; z-index: 1; }

.r1-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.r1-rank-badge {
  font-size: 8.5px; font-weight: 900; letter-spacing: 2px;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}
.r1-archetype {
  font-size: 9.5px; font-weight: 700; letter-spacing: 1.5px;
  opacity: 0.55; text-transform: uppercase;
}

.r1-mid { display: flex; align-items: center; gap: 14px; }
.r1-icon { font-size: 44px; line-height: 1; flex-shrink: 0; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
.r1-info { flex: 1; min-width: 0; }
.r1-name {
  font-size: 26px; font-weight: 900; line-height: 1.1;
  margin-bottom: 10px; letter-spacing: -0.5px;
}

/* 적성도 바 */
.r1-affinity-row   { display: flex; align-items: center; gap: 10px; }
.r1-affinity-label { font-size: 8px; font-weight: 900; letter-spacing: 1.5px; opacity: 0.55; white-space: nowrap; text-transform: uppercase; }
.r1-affinity-track { flex: 1; height: 5px; background: rgba(255,255,255,0.18); border-radius: 3px; overflow: hidden; }
.r1-affinity-fill  {
  height: 100%; background: white; border-radius: 3px; width: 0%;
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}
.r1-affinity-pct   { font-size: 11px; font-weight: 700; opacity: 0.9; flex-shrink: 0; }

/* 점수 숫자 */
.r1-score-col { flex-shrink: 0; text-align: right; }
.r1-score-num {
  display: block; font-family: 'Bebas Neue', sans-serif;
  font-size: 76px; line-height: 1;
  text-shadow: 0 0 40px rgba(255,255,255,0.3);
}
.r1-score-sub { display: block; font-size: 10px; opacity: 0.45; text-align: right; margin-top: 2px; }

/* Lore */
.r1-lore {
  position: relative; z-index: 1;
  font-size: 12px; line-height: 1.9; opacity: 0.72; font-style: italic;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

/* ── AI 분석 패널 ── */
.rank1-reason {
  padding: 16px 26px;
  background: linear-gradient(135deg, #faf7ff, #f0ebff);
  border-bottom: 1px solid #e5d9ff;
}
.rank1-reason-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 8.5px; font-weight: 900; color: #6D28D9;
  letter-spacing: 1.5px; margin-bottom: 8px; text-transform: uppercase;
}
.rank1-reason-label::before {
  content: ''; width: 16px; height: 2px;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  border-radius: 1px; display: block;
}
.rank1-reason-text {
  font-size: 13px; line-height: 1.9; color: #2D2250;
}

/* ── 직업 카드 ── */
.rank1-career { padding: 0; }
.rank1-jobs { padding: 20px 26px 14px; }
.rank1-jobs-title {
  font-size: 8.5px; font-weight: 900; letter-spacing: 1.5px;
  color: #C0C7D2; text-transform: uppercase; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.rank1-jobs-title::after {
  content: ''; flex: 1; height: 1px; background: #F0F2F5;
}

.job-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.job-card {
  padding: 14px; background: #FAFBFC; border-radius: 12px;
  border: 1.5px solid #ECEEF2;
  border-left: 3px solid var(--tc, #7C3AED);
  transition: transform 0.2s, box-shadow 0.2s;
}
.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.job-card-icon  { font-size: 22px; margin-bottom: 8px; line-height: 1; }
.job-card-title { font-size: 13px; font-weight: 800; color: #111827; margin-bottom: 4px; }
.job-card-desc  { font-size: 11px; color: #6B7280; line-height: 1.55; }

/* ── 작업물 쇼케이스 ── */
.rank1-works {
  padding: 0 26px 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.work-card {
  border-radius: 12px; padding: 16px 14px; color: white;
  position: relative; overflow: hidden;
  min-height: 80px; display: flex; flex-direction: column; justify-content: flex-end;
  cursor: default;
  transition: transform 0.2s;
}
.work-card:hover { transform: scale(1.02); }
.work-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.42) 100%);
}
.work-card-inner { position: relative; z-index: 1; }
.work-card-icon  { font-size: 24px; margin-bottom: 4px; display: block; line-height: 1; }
.work-card-title { font-size: 12px; font-weight: 700; line-height: 1.3; }

/* ── 연봉 스트립 ── */
.rank1-salary-strip {
  background: linear-gradient(135deg, #0d1117, #1a1e3c);
  padding: 14px 26px;
  display: flex; align-items: center; gap: 14px; color: white;
  border-radius: 0 0 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.salary-ico  { font-size: 18px; }
.salary-info { flex: 1; }
.salary-lbl  { display: block; font-size: 8px; font-weight: 900; letter-spacing: 1.5px; opacity: 0.4; margin-bottom: 2px; text-transform: uppercase; }
.salary-val  { font-size: 15px; font-weight: 700; letter-spacing: -0.2px; }
.salary-note-txt { font-size: 10px; opacity: 0.28; }

/* ══════════════════════════════
   구분선
══════════════════════════════ */
.rank-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 0;
}
.rank-divider-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #E0E3E8, transparent); }
.rank-divider-text {
  font-size: 9.5px; font-weight: 700; color: #B0B8C4;
  letter-spacing: 1px; white-space: nowrap;
  padding: 0 4px;
}

/* ══════════════════════════════
   2순위 블록
══════════════════════════════ */
.rank2-block {
  background: white; border-radius: 18px; overflow: hidden;
  border: 1.5px solid #E8EAED;
  box-shadow: 0 2px 8px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
}
.rank2-hd {
  padding: 18px 22px; color: white;
  position: relative; overflow: hidden;
}
.rank2-hd::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(0,0,0,0.44) 0%, rgba(0,0,0,0.08) 100%);
}
.rank2-hd::after {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.r2-inner { position: relative; z-index: 1; }
.r2-top-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.r2-badge {
  font-size: 8.5px; font-weight: 900; letter-spacing: 1.5px;
  padding: 3px 10px; border-radius: 10px;
  background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.25);
}
.r2-archetype { font-size: 9px; font-weight: 700; letter-spacing: 1px; opacity: 0.55; text-transform: uppercase; }
.r2-main-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.r2-icon     { font-size: 22px; flex-shrink: 0; }
.r2-name     { font-size: 17px; font-weight: 900; flex: 1; letter-spacing: -0.3px; }
.r2-score    { font-family: 'Bebas Neue', sans-serif; font-size: 36px; line-height: 1; flex-shrink: 0; }
.r2-lore {
  font-size: 11.5px; line-height: 1.75; opacity: 0.68; font-style: italic;
  padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.16);
}

.rank2-body {
  padding: 14px 22px;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 12px; align-items: start;
}
.r2-skill-row { display: flex; flex-direction: column; gap: 6px; }
.r2-skill-label {
  font-size: 8.5px; font-weight: 900; color: #B0B8C4;
  letter-spacing: 0.8px; text-transform: uppercase;
}
.r2-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.r2-tag {
  font-size: 10.5px; background: #F4F6F8;
  border: 1px solid #E8EAED; border-radius: 16px;
  padding: 2px 9px; color: #374151; font-weight: 500;
}
.r2-salary-val { font-size: 12.5px; font-weight: 700; color: #1A1F36; }

/* ══════════════════════════════
   비정상 모드 (fallback)
══════════════════════════════ */
.result-banner-fallback {
  border-radius: 16px; padding: 28px; margin-bottom: 16px;
  color: white; text-align: center;
}
.rfb-icon { font-size: 40px; margin-bottom: 10px; }
.rfb-name { font-size: 20px; font-weight: 900; margin-bottom: 5px; }
.rfb-sub  { font-size: 13px; opacity: 0.8; }
.mentor-box { border-radius: 12px; padding: 18px 22px; border-left: 4px solid; margin-bottom: 14px; }
.mentor-box p { font-size: 13px; color: var(--text); line-height: 1.7; }

/* ══════════════════════════════
   액션 버튼
══════════════════════════════ */
.action-row { display: flex; gap: 10px; margin-top: 10px; }
.btn-gap {
  flex: 1; padding: 15px; color: white;
  background: linear-gradient(135deg, #0052cc, #0041a3);
  border: none; border-radius: 12px; font-size: 14px; font-weight: 700;
  font-family: 'Noto Sans KR', sans-serif; cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(0,82,204,0.3);
}
.btn-gap:hover {
  background: linear-gradient(135deg, #0041a3, #003380);
  box-shadow: 0 6px 20px rgba(0,82,204,0.4);
  transform: translateY(-1px);
}
.btn-retry {
  padding: 15px 22px; border: 1.5px solid #E0E3E8;
  border-radius: 12px; background: white; color: #6B7280;
  font-size: 13px; font-weight: 600; font-family: 'Noto Sans KR', sans-serif;
  cursor: pointer; transition: all .2s;
}
.btn-retry:hover { border-color: #7C3AED; color: #7C3AED; transform: translateY(-1px); }

/* ══════════════════════════════
   반응형
══════════════════════════════ */
@media (max-width: 600px) {
  .apt-main { padding: 24px 16px 60px; }
  #resultScreen.apt-main { max-width: 100%; }
  .intro-card { padding: 36px 24px; }
  .question-card { padding: 28px 20px; }
  .question-text { font-size: 17px; }
  .yn-btn { padding: 16px 8px; }
  /* result mobile */
  .result-done-banner { padding: 14px 18px; }
  .result-grid { grid-template-columns: 1fr !important; }
  .persona-block { position: static; }
  .ill-bg { height: 140px; }
  .ill-bg--img { height: 180px; }
  .ill-main-icon { font-size: 44px; }
  .persona-header { padding: 16px 18px 12px; }
  .persona-name   { font-size: 18px; }
  .persona-body   { padding: 14px 18px 18px; }
  .rank1-hd { padding: 20px 20px 16px; }
  .r1-name  { font-size: 21px; }
  .r1-score-num { font-size: 58px; }
  .rank1-reason { padding: 14px 20px; }
  .rank1-jobs { padding: 16px 20px 12px; }
  .job-cards  { grid-template-columns: 1fr; gap: 8px; }
  .rank1-works { padding: 0 20px 18px; grid-template-columns: repeat(2,1fr); }
  .rank1-salary-strip { padding: 13px 20px; }
  .rank2-body { grid-template-columns: 1fr; padding: 12px 18px; }
  .rank2-hd { padding: 16px 18px; }
  .action-row { flex-direction: column; }
}
