/* ═══════════════════════════════════════════════════════════
   지구에서 함께 사는 마음 · 분리배출 OX 퀴즈
   디자인 시스템: 키비주얼 통합본 (컬랩윈, 2026.07) 기준
   ═══════════════════════════════════════════════════════════ */

/* ── 하이원 원추리체 (강원랜드, KOGL 제1유형) ── */
@font-face{
  font-family:'High1Wonchuri';
  src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-2@1.0/high1WonchuriBodyB.woff2') format('woff2');
  font-weight:700; font-style:normal; font-display:swap;
}
@font-face{
  font-family:'High1Wonchuri';
  src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-2@1.0/high1WonchuriBodyR.woff2') format('woff2');
  font-weight:400; font-style:normal; font-display:swap;
}

/* ══════════ 토큰 ══════════ */
:root{
  /* 색상 팔레트 */
  --sky:#c3e7f1;
  --teal:#519cab;
  --yellow:#ffc64f;
  --ink:#20373b;
  --mist:#edf6f6;
  --gray:#666666;
  --paper:#ffffff;

  --teal-dark:#3d7f8d;
  --ink-80:rgba(32,55,59,.80);
  --ink-60:rgba(32,55,59,.58);
  --ink-12:rgba(32,55,59,.12);

  /* 타이포 */
  --f-display:'High1Wonchuri','Pretendard Variable',Pretendard,system-ui,sans-serif;
  --f-body:'Pretendard Variable',Pretendard,-apple-system,'Noto Sans SC',system-ui,sans-serif;
  --f-en:'Cabin','Pretendard Variable',sans-serif;

  /* 리듬 */
  --r-sm:12px; --r-md:20px; --r-lg:28px; --r-xl:40px;
  --gut:clamp(20px,5vw,64px);
  --shell:1180px;
  --shell-cover:1020px;

  /* 모션 */
  --ease:cubic-bezier(.22,1,.36,1);
  --spring:cubic-bezier(.34,1.56,.64,1);
}

/* ══════════ 언어별 서체 ══════════
   컬랩윈 디자인 시스템 5쪽의 서체 제안을 따르되, 글리프가 실제로 없는
   조합은 대체한다. 근거는 docs/LANGUAGES.html 참조.
   - 하이원 원추리체: 베트남 성조·한자 글리프 없음
   - Cabin: 베트남어 지원, 한자 없음
   - Pretendard: 베트남어 지원, 한자 없음 (동적 서브셋에는 베트남 확장 없음)
   지원 언어는 의뢰처 검수(2026-10-07)에 따라 한국어·영어·베트남어·중국어·인도네시아어 다섯이다.
   인도네시아어는 기본 라틴 글자만 써서 영어와 같은 서체를 쓴다.  */
html[lang="en"],html[lang="id"]{ --f-display:'Cabin','Pretendard Variable',sans-serif }
html[lang="vi"]{
  --f-display:'Cabin','Pretendard Full','Pretendard Variable',sans-serif;
  --f-body:'Pretendard Full','Pretendard Variable',sans-serif;
  --f-en:'Cabin','Pretendard Full',sans-serif;
}
html[lang="vi"] .cover__lead{font-size:clamp(14px,1.55vw,16px); line-height:1.7}
html[lang="en"] .cover__lead,html[lang="id"] .cover__lead{font-size:clamp(14.5px,1.6vw,16.5px)}
html[lang="vi"] .eyebrow,html[lang="en"] .eyebrow,html[lang="id"] .eyebrow{font-size:12px; line-height:1.5; align-items:flex-start}
html[lang="vi"] .eyebrow__dot,html[lang="en"] .eyebrow__dot,html[lang="id"] .eyebrow__dot{margin-top:5px}
html[lang="vi"] .cover__title,html[lang="id"] .cover__title{font-size:clamp(38px,5vw,64px)}
html[lang="zh"]{
  --f-display:'Noto Sans SC','Pretendard Variable',sans-serif;
  --f-body:'Noto Sans SC','Pretendard Variable',sans-serif;
  --f-en:'Cabin','Noto Sans SC',sans-serif;
}
/* 한글 전용 조판값은 한국어에서만 적용한다 */
html:not([lang="ko"]) body{ word-break:normal }
html[lang="zh"] body{ line-height:1.75; line-break:strict }
/* 제목은 줄 길이를 고르게, 본문은 마지막 줄에 한 조각만 남지 않게 */
.cover__title,.quiz__q,.result__title,.sheet__verdict,.notes__title,.cover__en{text-wrap:balance}
.cover__lead,.sheet__why,.sheet__note,.sheet__q,.result__msg,.note__q,.note__body,.notes__sub{text-wrap:pretty}
html[lang="zh"] .cover__title{font-size:clamp(38px,7.4vw,72px)}
html[lang="zh"] .cover__lead{line-height:1.66; max-width:none}
html[lang="zh"] .quiz__q{max-width:none}
html[lang="zh"] .result__msg{max-width:none}

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none !important}
html{-webkit-text-size-adjust:100%; scrollbar-gutter:stable}
body{
  margin:0; background:var(--mist); color:var(--ink);
  font-family:var(--f-body); font-size:16px; line-height:1.6;
  font-feature-settings:'tnum' 0;
  word-break:keep-all; overflow-wrap:break-word;
  -webkit-font-smoothing:antialiased;
}
img{display:block; max-width:100%; height:auto}
button{font:inherit; color:inherit; margin:0}
h1,h2,h3,p,ol,ul,figure{margin:0}
ol,ul{list-style:none; padding:0}
b,strong{font-weight:700}
kbd{
  font-family:var(--f-en); font-size:.72em; font-weight:600;
  border:1.5px solid var(--ink-12); border-radius:6px;
  padding:1px 6px; background:var(--paper); color:var(--ink-60);
}
:focus-visible{outline:3px solid var(--teal); outline-offset:3px; border-radius:6px}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:-9999px;top:12px;z-index:99;background:var(--ink);color:var(--mist);padding:10px 18px;border-radius:99px;text-decoration:none}
.skip:focus{left:12px}

/* ══════════ 화면 전환 ══════════ */
.app{min-height:100svh}
.screen{display:none; min-height:100svh; flex-direction:column}
.screen.is-active{display:flex; animation:screenIn .5s var(--ease) both}
@keyframes screenIn{from{opacity:0;transform:scale(.994)}to{opacity:1;transform:none}}

/* ══════════ 공통 부품 ══════════ */
.topbar{
  display:flex; align-items:flex-start; justify-content:space-between; gap:16px;
  padding:clamp(18px,3vw,32px) var(--gut) 0;
  max-width:var(--shell); width:100%; margin-inline:auto;
}
.wordmark{display:block; color:var(--ink); text-decoration:none; line-height:0}
/* 의뢰처 제공 2줄 로고(2026-10-08). 한국어는 한국어판, 다른 언어는 영어판(Living on Earth Together) */
.wordmark__logo{display:block; height:clamp(40px,4vw,48px); width:auto; aspect-ratio:126/48; color:var(--ink)}
.wordmark__logo--en{aspect-ratio:133/45.1; height:clamp(37px,3.7vw,45px)}
html[lang="ko"] .wordmark__logo--en,html:not([lang="ko"]) .wordmark__logo--ko{display:none}
.topbar__right{display:flex; align-items:center; gap:12px; padding-top:1px}

/* ── 언어 선택 ── */
.langsel{
  position:relative; display:inline-flex; align-items:center;
  border:1.5px solid var(--ink-12); border-radius:99px; background:var(--paper);
  padding:0 30px 0 10px; height:36px;
  transition:border-color .2s, background .2s;
}
.langsel:hover{border-color:var(--teal)}
.langsel:focus-within{outline:3px solid var(--teal); outline-offset:2px}
.langsel__ico{width:16px; height:16px; color:var(--teal); flex:none; pointer-events:none}
.langsel__caret{
  position:absolute; right:10px; width:13px; height:13px;
  color:var(--gray); pointer-events:none;
}
.langsel__sel{
  appearance:none; -webkit-appearance:none;
  background:none; border:0; outline:none; cursor:pointer;
  font-family:var(--f-body); font-size:13.5px; font-weight:600; color:var(--ink);
  padding:0 6px 0 7px; height:100%; line-height:1;
  max-width:150px; text-overflow:ellipsis;
}
.langsel__sel option{color:var(--ink); background:var(--paper)}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px; text-align:left;
  font-size:13px; font-weight:600; letter-spacing:.02em; color:var(--teal);
}
.eyebrow__dot{width:9px;height:9px;border-radius:50%;background:var(--yellow);flex:none}

.footer{
  display:flex; flex-wrap:wrap; gap:4px 18px; justify-content:space-between;
  padding:clamp(20px,3.5vw,30px) var(--gut) clamp(18px,3vw,26px);
  max-width:var(--shell); width:100%; margin-inline:auto;
  font-size:11px; line-height:1.7; color:var(--gray);
  border-top:1px solid var(--ink-12); margin-top:auto;
}

/* ── 버튼 ── */
.btn{
  --bg:var(--ink); --fg:var(--mist);
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  background:var(--bg); color:var(--fg); border:2px solid var(--bg);
  border-radius:99px; padding:14px 26px; cursor:pointer;
  font-weight:700; font-size:15px; letter-spacing:-.01em;
  transition:transform .22s var(--spring), background .2s, color .2s, border-color .2s;
}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0) scale(.98)}
.btn--primary{--bg:var(--yellow); --fg:var(--ink)}
.btn--primary:hover{--bg:var(--ink); --fg:var(--yellow)}
.btn--ghost{--bg:transparent; --fg:var(--ink); border-color:var(--ink-12)}
.btn--ghost:hover{--bg:var(--sky); border-color:var(--sky)}
.btn--xl{padding:18px 34px; font-size:clamp(16px,1.8vw,19px)}
.btn--block{width:100%}
.btn__spin{width:1.15em;height:1.15em;color:currentColor;transition:transform .5s var(--ease)}
.btn:hover .btn__spin{transform:rotate(90deg)}

/* ══════════════════════════════════════════════
   1. 표지
   ══════════════════════════════════════════════ */
.screen--cover{position:relative; overflow:hidden}

.drift{position:absolute; inset:0; pointer-events:none; z-index:0}
.drift__s{position:absolute; color:var(--sky); opacity:.55}
.drift .d1{width:130px;height:130px;top:12%;left:4%;animation:float 13s ease-in-out infinite}
.drift .d2{width:76px;height:76px;top:66%;left:9%;color:var(--yellow);opacity:.5;animation:float 16s ease-in-out -3s infinite}
.drift .d3{width:104px;height:104px;top:78%;right:8%;animation:float 15s ease-in-out -6s infinite}
.drift .d4{width:64px;height:64px;top:8%;right:16%;opacity:.3;animation:float 11s ease-in-out -2s infinite}
.drift .d5{width:92px;height:92px;top:40%;right:3%;opacity:.4;animation:float 18s ease-in-out -9s infinite}
.drift .d6{width:70px;height:70px;bottom:6%;left:42%;opacity:.35;animation:float 14s ease-in-out -5s infinite}
@keyframes float{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg)}
  50%{transform:translate3d(10px,-26px,0) rotate(12deg)}
}

.cover{
  position:relative; z-index:1; flex:1;
  display:grid; align-items:center; align-content:center; gap:clamp(24px,5vw,64px);
  grid-template-columns:1fr;
  max-width:var(--shell); width:100%; margin-inline:auto;
  padding:clamp(28px,5vw,56px) var(--gut);
}
.cover__hero{position:relative; justify-self:center; width:min(72vw,360px); aspect-ratio:1}
.cover__hero img{
  width:100%; border-radius:50%; background:var(--mist);
  animation:heroIn 1s var(--spring) both .1s;
}
@keyframes heroIn{from{opacity:0;transform:scale(.86) rotate(-6deg)}to{opacity:1;transform:none}}
.cover__ring{
  position:absolute; inset:6%; z-index:1; border-radius:50%;
  border:2px dashed rgba(81,156,171,.42);
  animation:spin 48s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

.cover__title{
  font-family:var(--f-display); font-weight:700;
  font-size:clamp(42px,8.6vw,88px); line-height:1.04; letter-spacing:-.025em;
  margin:10px 0 0;
}
.cover__title em{font-style:normal; color:var(--teal)}
.cover__en{
  display:inline-block; font-family:var(--f-en); font-weight:700;
  font-size:clamp(17px,2.4vw,24px); color:var(--ink); line-height:1.34;
  letter-spacing:.01em; margin-top:13px; padding:0 4px;
  background:linear-gradient(transparent 58%, var(--yellow) 58%);
}
.cover__lead{margin-top:28px; font-size:clamp(15px,1.7vw,17.5px); line-height:1.75; color:var(--ink-80); max-width:34ch}
.cover__lead b{color:var(--ink); font-weight:700}
.cover__body .btn{margin-top:32px}
.cover__note{margin-top:14px; font-size:13px; color:var(--gray)}
.cover__best{
  margin-top:9px; font-size:13px; font-weight:600; color:var(--teal);
  display:inline-flex; align-items:center; gap:7px;
}

@media (max-width:640px){
  .cover{gap:18px; padding-top:18px}
  .cover__hero{width:min(50vw,206px)}
  .cover__ring{inset:4%}
  /* 작은 화면에서 떠다니는 도형이 본문과 겹쳐 어수선해진다 */
  .drift .d2,.drift .d5,.drift .d6{display:none}
  .drift__s{opacity:.3}
  .drift .d1{width:96px;height:96px}
  .drift .d3{width:76px;height:76px}
  .topbar{align-items:center}
  .langsel{height:32px; padding:0 26px 0 9px}
  .langsel__ico{width:14px;height:14px}
  .langsel__sel{font-size:12.5px; max-width:94px; padding:0 4px 0 6px}
  .langsel__caret{right:9px; width:11px; height:11px}
  .wordmark__logo{height:36px}
  .wordmark__logo--en{height:34px}
}

@media (min-width:900px){
  .cover{
    max-width:var(--shell-cover);
    grid-template-columns:auto minmax(0,430px);
    justify-content:center;
    gap:clamp(40px,7vw,110px);
  }
  .cover__hero{width:min(34vw,360px); justify-self:center}
  .cover__title{font-size:clamp(46px,5.6vw,72px)}
}

/* ══════════════════════════════════════════════
   2. 퀴즈
   ══════════════════════════════════════════════ */
.screen--quiz{position:relative}

.quizbar{
  display:flex; align-items:center; gap:clamp(12px,3vw,28px);
  padding:16px var(--gut); max-width:var(--shell); width:100%; margin-inline:auto;
  border-bottom:1px solid var(--ink-12);
  position:sticky; top:0; background:var(--mist); z-index:5;
}
.quizbar__home{
  display:inline-flex; align-items:center; gap:12px; background:none; border:0; padding:4px 0;
  font-family:var(--f-display); font-weight:700; font-size:15px; cursor:pointer; white-space:nowrap; color:var(--ink);
}
/* 퀴즈 중에도 홈과 같은 로고를 줄이지 않고 쓴다(2026-10-06 의뢰처 “축약 아니고”) */
.quizbar__home .wordmark__logo{height:34px}
.quizbar__home .wordmark__logo--en{height:32px}
.quizbar__homelabel{padding-left:12px; border-left:1.5px solid var(--ink-12)}
.quizbar__home:hover,.quizbar__home:hover .wordmark__logo{color:var(--teal)}
.quizbar__count{margin-left:auto; font-family:var(--f-en); font-weight:600; font-size:15px; color:var(--gray); white-space:nowrap}
.quizbar__lang{flex:none}
.quizbar__lang .langsel{height:32px; padding-right:26px}
.quizbar__lang .langsel__sel{font-size:12.5px; max-width:92px}
@media (max-width:640px){
  .quizbar{gap:8px}
  .quizbar__homelabel{display:none}
  .quizbar__home .wordmark__logo{height:30px}
  .quizbar__home .wordmark__logo--en{height:28px}
  .quizbar{flex-wrap:wrap; row-gap:10px; padding-top:12px; padding-bottom:12px}
  .dots{order:5; flex-basis:100%; justify-content:flex-start}
  .quizbar__lang .langsel{padding:0 22px 0 7px}
  .quizbar__lang .langsel__ico{display:none}
  .quizbar__lang .langsel__sel{max-width:76px; font-size:12px; padding-left:2px}
}
.quizbar__count b{font-size:20px; color:var(--ink)}

.dots{display:flex; align-items:center; gap:clamp(5px,1.1vw,9px); flex:1; justify-content:center}
.dot{
  width:clamp(10px,1.5vw,14px); aspect-ratio:1; border-radius:50%;
  background:transparent; border:2px solid var(--ink-12);
  transition:all .4s var(--spring);
}
.dot.is-done{background:var(--teal); border-color:var(--teal); transform:scale(1)}
.dot.is-miss{background:var(--paper); border-color:var(--ink); position:relative}
.dot.is-miss::after{content:''; position:absolute; inset:24%; border-radius:50%; background:var(--ink)}
.dot.is-cur{transform:scale(1.34); box-shadow:0 0 0 3px rgba(255,198,79,.75)}
.dot.is-now{
  border-color:var(--yellow); background:var(--yellow); transform:scale(1.42);
  box-shadow:0 0 0 0 rgba(255,198,79,.7); animation:pulse 2s ease-out infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(255,198,79,.6)}
  70%{box-shadow:0 0 0 12px rgba(255,198,79,0)}
  100%{box-shadow:0 0 0 0 rgba(255,198,79,0)}
}

.quiz{
  flex:1; display:grid; gap:clamp(22px,4vw,56px); align-items:center; align-content:center;
  grid-template-columns:1fr;
  max-width:var(--shell); width:100%; margin-inline:auto;
  padding:clamp(24px,4vw,48px) var(--gut) clamp(40px,7vw,72px);
}

.quiz__fig{position:relative; justify-self:center; width:min(52vw,236px); aspect-ratio:1}
.quiz__figdisc{
  position:absolute; inset:-7%; border-radius:50%; background:var(--sky);
}
.quiz__fig::after{
  content:''; position:absolute; width:22%; aspect-ratio:1; border-radius:50%;
  background:var(--yellow); top:2%; right:-1%; z-index:2;
}
.quiz__fig img{
  position:relative; width:100%; border-radius:50%;
  animation:figIn .6s var(--spring) both;
}
@keyframes figIn{from{opacity:0;transform:scale(.8) rotate(8deg)}to{opacity:1;transform:none}}
/* 2026-11-24 의뢰처 최종 검수(전체 공통): 문제를 푼 뒤 그림 아래 뜨던 태그 알약(.quiz__tag) 삭제 — 해설 시트 .sheet__tag만 남김 */

.quiz__no{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--f-en); font-weight:700; font-size:clamp(30px,5vw,48px);
  line-height:1; color:var(--teal); letter-spacing:.01em;
}
.quiz__no::before{content:''; width:.34em; height:.34em; border-radius:50%; background:var(--yellow)}
.quiz__q{
  font-family:var(--f-display); font-weight:700;
  font-size:clamp(23px,3.6vw,38px); line-height:1.4; letter-spacing:-.022em;
  margin-top:10px; max-width:20ch;
}

/* ── O / X 선택 ── */
.choices{display:grid; grid-template-columns:1fr 1fr; gap:clamp(10px,1.6vw,18px); margin-top:clamp(22px,3.5vw,36px)}
.choice{
  --accent:var(--teal);
  position:relative; display:flex; flex-direction:column; align-items:center; gap:6px;
  background:var(--paper); border:2px solid var(--ink-12); border-radius:var(--r-lg);
  padding:clamp(16px,2.6vw,24px) 12px clamp(13px,2vw,18px); cursor:pointer;
  transition:transform .28s var(--spring), background .25s, border-color .25s, color .25s;
}
.choice--x{--accent:var(--ink)}
.choice__mark{width:clamp(56px,9vw,84px); aspect-ratio:1; display:block}
.choice__draw{
  fill:none; stroke:var(--accent); stroke-width:11; stroke-linecap:round;
  stroke-dasharray:var(--len,300); stroke-dashoffset:0;
  transition:stroke .25s;
}
.choice--o .choice__draw{--len:208}
.choice--x .choice__draw{--len:80}
.choice__label{font-family:var(--f-display); font-weight:700; font-size:clamp(15px,1.9vw,19px); letter-spacing:-.02em}

.choice:hover,.choice:focus-visible{
  transform:translateY(-6px); border-color:var(--accent); background:var(--accent); color:var(--paper);
}
.choice:hover .choice__draw,.choice:focus-visible .choice__draw{stroke:var(--paper); animation:redraw .55s var(--ease)}
@keyframes redraw{from{stroke-dashoffset:var(--len,300)}to{stroke-dashoffset:0}}
.choice:active{transform:translateY(-2px) scale(.97)}
.choice[disabled]{pointer-events:none}
.choice.is-dim{opacity:.35}
.choice.is-picked{border-color:var(--accent); background:var(--accent); color:var(--paper)}
.choice.is-picked .choice__draw{stroke:var(--paper)}

.quiz__hint{margin-top:16px; font-size:12.5px; color:var(--gray); display:flex; align-items:center; gap:6px}
/* 문항 아래 이동 줄: 앞 문항으로, 이미 푼 문항의 해설 다시 열기 */
.quiz__nav{display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:18px}
.quiz__nav .btn{padding:11px 20px; font-size:14px}
.quiz__review{margin-left:auto}
@media (pointer:coarse){.quiz__hint{display:none}}

@media (min-width:900px){
  .quiz{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
  .quiz__fig{width:100%; max-width:360px; justify-self:center}
}

/* ── 해설 바텀시트 ── */
.scrim{position:fixed; inset:0; background:rgba(32,55,59,.38); z-index:20; animation:fade .3s both}
@keyframes fade{from{opacity:0}to{opacity:1}}
.sheet{
  position:fixed; left:0; right:0; bottom:0; z-index:21;
  background:var(--paper); border-top:5px solid var(--yellow);
  border-radius:var(--r-xl) var(--r-xl) 0 0;
  max-height:88svh; overflow-y:auto;
  animation:sheetUp .5s var(--ease) both;
  padding-bottom:env(safe-area-inset-bottom);
}
@keyframes sheetUp{from{transform:translateY(102%)}to{transform:none}}
.sheet--correct{border-top-color:var(--teal)}
.sheet__grip{display:block; width:46px; height:5px; border-radius:99px; background:var(--ink-12); margin:12px auto 0}
.sheet__inner{max-width:660px; margin-inline:auto; padding:18px var(--gut) clamp(24px,4vw,34px)}

.sheet__head{display:flex; align-items:center; gap:16px}
.sheet__badge{
  flex:none; width:clamp(54px,11vw,68px); aspect-ratio:1; border-radius:50%;
  display:grid; place-items:center; background:var(--sky);
  font-family:var(--f-en); font-weight:700; font-size:clamp(26px,5vw,34px); color:var(--ink);
  animation:badgeIn .5s var(--spring) both .12s;
}
@keyframes badgeIn{from{transform:scale(0) rotate(-40deg)}to{transform:none}}
.sheet--correct .sheet__badge{background:var(--teal); color:var(--paper)}
.sheet--wrong .sheet__badge{background:var(--yellow); color:var(--ink)}
.sheet__verdict{font-family:var(--f-display); font-weight:700; font-size:clamp(22px,3.4vw,30px); line-height:1.2; letter-spacing:-.02em}
.sheet__correct{font-size:14px; color:var(--gray); margin-top:3px}
.sheet__correct b{font-family:var(--f-en); font-size:17px; color:var(--ink)}

.sheet__q{
  margin-top:20px; padding:13px 16px; border-radius:var(--r-sm);
  background:var(--mist); font-size:14px; line-height:1.6; color:var(--ink-80);
}
.sheet__q b{font-family:var(--f-en); color:var(--teal); margin-right:6px}
.sheet__tag{
  display:inline-block; margin-top:20px; padding:6px 14px; border-radius:99px;
  background:var(--mist); color:var(--teal); font-size:13px; font-weight:700;
}
.sheet__why{margin-top:12px; font-size:clamp(15.5px,1.9vw,17.5px); line-height:1.78; color:var(--ink-80)}
.sheet__note{
  margin-top:14px; padding:14px 16px; border-radius:var(--r-sm);
  background:var(--mist); border-left:4px solid var(--sky);
  font-size:14.5px; line-height:1.7; color:var(--ink-80);
}
.sheet__note b{display:block; margin-bottom:4px; color:var(--ink); font-size:13.5px}
.sheet__foot{display:flex; gap:10px; margin-top:26px}
.sheet__foot .btn--primary{flex:1 1 auto}
.sheet__foot .btn--ghost{flex:none}
.sheet__close{
  position:absolute; top:14px; right:14px; z-index:1; width:38px; height:38px; border-radius:50%;
  display:grid; place-items:center; border:0; background:var(--mist); color:var(--ink-80); cursor:pointer;
  transition:background .2s, color .2s;
}
.sheet__close svg{width:18px; height:18px}
.sheet__close:hover,.sheet__close:focus-visible{background:var(--ink); color:var(--paper)}
@media (max-width:480px){
  .sheet__foot{flex-direction:column-reverse}
}

@media (min-width:900px){
  .sheet{
    left:50%; right:auto; bottom:28px; width:min(680px,92vw);
    border-radius:var(--r-xl); border-top-width:6px;
    animation-name:sheetUpC;
  }
  @keyframes sheetUpC{from{transform:translate(-50%,calc(100% + 40px))}to{transform:translate(-50%,0)}}
  .sheet__grip{display:none}
  .sheet__inner{padding-top:30px; padding-inline:clamp(28px,4vw,44px)}
}

/* ── 정답 스탬프 · 파티클 ── */
.stamp{position:fixed; inset:0; z-index:30; display:none; place-items:center; pointer-events:none}
.stamp.is-on{display:grid}
.stamp__mark{
  font-family:var(--f-en); font-weight:700; font-size:min(48vw,340px); line-height:1;
  color:var(--teal); opacity:0; animation:stampIn .62s var(--ease) both;
}
.stamp__mark.is-x{color:var(--ink)}
@keyframes stampIn{
  0%{opacity:0; transform:scale(2.6) rotate(-22deg)}
  45%{opacity:.92; transform:scale(1) rotate(-9deg)}
  70%{opacity:.92; transform:scale(1) rotate(-9deg)}
  100%{opacity:0; transform:scale(1.06) rotate(-9deg)}
}
.fx{position:fixed; inset:0; z-index:29; pointer-events:none; overflow:hidden}
.bit{
  position:absolute; left:50%; top:46%; width:var(--sz,20px); height:var(--sz,20px);
  color:var(--c,var(--yellow));
  animation:burst var(--dur,1.15s) cubic-bezier(.16,.72,.36,1) both;
}
@keyframes burst{
  0%{opacity:0; transform:translate(-50%,-50%) scale(.2) rotate(0deg)}
  12%{opacity:1}
  100%{opacity:0; transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(1) rotate(var(--rot,180deg))}
}
.shake{animation:shake .42s cubic-bezier(.36,.07,.19,.97) both}
@keyframes shake{10%,90%{transform:translateX(-2px)}20%,80%{transform:translateX(4px)}30%,50%,70%{transform:translateX(-7px)}40%,60%{transform:translateX(7px)}}

/* ══════════════════════════════════════════════
   3. 결과
   ══════════════════════════════════════════════ */
.result{
  flex:1; max-width:var(--shell); width:100%; margin-inline:auto;
  padding:clamp(24px,4vw,48px) var(--gut) clamp(40px,6vw,64px);
  display:grid; gap:clamp(28px,4vw,48px); align-content:start;
}
.result__card{
  background:var(--paper); border-radius:var(--r-xl);
  padding:clamp(30px,5vw,56px) clamp(22px,4vw,48px);
  text-align:center; display:grid; justify-items:center;
}
.gauge{position:relative; width:min(62vw,220px); aspect-ratio:1; margin-top:22px}
.gauge__svg{width:100%; transform:rotate(-90deg)}
.gauge__track{fill:none; stroke:var(--mist); stroke-width:16}
.gauge__bar{
  fill:none; stroke:var(--teal); stroke-width:16; stroke-linecap:round;
  stroke-dasharray:603.2; stroke-dashoffset:603.2;
  transition:stroke-dashoffset 1.4s var(--ease) .2s;
}
.gauge__center{position:absolute; inset:0; display:grid; place-content:center; gap:0}
.gauge__score{font-family:var(--f-en); font-weight:700; font-size:clamp(54px,12vw,76px); line-height:1; color:var(--ink)}
.gauge__total{font-family:var(--f-en); font-weight:600; font-size:16px; color:var(--gray)}

.result__illu{width:min(46vw,180px); margin-top:26px; border-radius:50%}
.result__title{
  font-family:var(--f-display); font-weight:700;
  font-size:clamp(26px,4.4vw,40px); line-height:1.24; letter-spacing:-.025em; margin-top:18px;
}
.result__msg{margin-top:12px; font-size:clamp(14.5px,1.7vw,16.5px); line-height:1.8; color:var(--ink-80); white-space:pre-line; max-width:38ch}
.result__best{margin-top:14px; font-size:13px; font-weight:600; color:var(--teal); min-height:1em}
.result__acts{display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:30px}

.notes__title{font-family:var(--f-display); font-weight:700; font-size:clamp(21px,2.8vw,28px); letter-spacing:-.02em}
.notes__sub{margin-top:6px; font-size:14px; color:var(--gray)}
.notes__legend{display:flex; flex-wrap:wrap; gap:16px; margin-top:12px; font-size:12.5px; color:var(--gray)}
.notes__legend span{display:inline-flex; align-items:center; gap:7px}
.notes__legend i{width:18px; height:18px; border-radius:50%; flex:none}
.notes__list{display:grid; gap:10px; margin-top:20px}

.note{background:var(--paper); border-radius:var(--r-md); overflow:hidden; border:1px solid var(--ink-12)}
.note__btn{
  width:100%; display:grid; grid-template-columns:auto 1fr auto auto; align-items:center; gap:14px;
  list-style:none;
  background:none; border:0; padding:18px 20px; text-align:left; cursor:pointer;
}
.note__btn::-webkit-details-marker{display:none}
.note__btn::marker{content:''}
.note__btn:hover{background:var(--mist)}
.note[open] .note__btn{background:var(--mist)}
.note__no{font-family:var(--f-en); font-weight:700; font-size:15px; color:var(--teal); flex:none}
.note__q{font-size:14.5px; font-weight:600; line-height:1.55; letter-spacing:-.01em}
.note__ans{display:flex; align-items:center; gap:7px; flex:none; font-family:var(--f-en); font-weight:700; font-size:14px}
.note__chip{
  width:28px; height:28px; border-radius:50%; display:grid; place-items:center;
  background:var(--mist); color:var(--gray);
}
.note__chip--mine{background:var(--yellow); color:var(--ink)}
.note__chip--right{background:var(--teal); color:var(--paper)}
.note__caret{width:10px;height:10px;border-right:2px solid var(--gray);border-bottom:2px solid var(--gray);transform:rotate(45deg);transition:transform .3s var(--ease);flex:none}
.note[open] .note__caret{transform:rotate(-135deg)}
.note__body{padding:0 20px 20px; font-size:14.5px; line-height:1.75; color:var(--ink-80); border-top:1px dashed var(--ink-12); margin-top:-1px; padding-top:16px}
.note__body em{display:block; font-style:normal; margin-top:10px; padding:12px 14px; background:var(--mist); border-radius:var(--r-sm); font-size:13.5px}
.note__body em b{display:block; margin-bottom:2px; color:var(--ink)}
.notes__empty{
  background:var(--sky); border-radius:var(--r-md); padding:28px 22px; text-align:center;
  font-family:var(--f-display); font-weight:700; font-size:17px; letter-spacing:-.02em;
}

@media (min-width:900px){
  .result{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); align-items:start}
  .result__card{position:sticky; top:28px}
}

/* ══════════ 접근성: 모션 최소화 ══════════ */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important; scroll-behavior:auto !important;
  }
  .drift,.fx,.stamp{display:none !important}
  .gauge__bar{transition:none}
}

/* ══════════════════════════════════════════════
   4. 강별 퀴즈 확장 (2026-10)
   ══════════════════════════════════════════════ */

/* ── 표지: 전체 퀴즈로 돌아가기 · 강 번호 ── */
.crumb{
  display:flex; width:fit-content; align-items:center; gap:4px; margin-bottom:18px;
  font-size:13px; font-weight:700; color:var(--ink-60); text-decoration:none;
  padding:6px 12px 6px 8px; border-radius:99px; background:var(--paper);
  border:1.5px solid var(--ink-12); transition:border-color .2s, color .2s;
}
.crumb svg{width:14px; height:14px; transform:rotate(90deg); transition:transform .25s var(--spring)}
.crumb:hover{color:var(--ink); border-color:var(--teal)}
.crumb:hover svg{transform:rotate(90deg) translateY(2px)}
.lesson-chip{
  display:block; width:fit-content; margin-top:18px;
  font-family:var(--f-display); font-weight:700; font-size:15px; letter-spacing:-.01em;
  color:var(--paper); background:var(--teal); border-radius:99px; padding:5px 14px 4px;
}
.lesson-chip + .cover__title{margin-top:12px}
/* 긴 강 제목(자연과 우리의 건강)은 제목 줄만 따로 고르게 나눈다 */
.cover__title > span{display:inline-block; text-wrap:balance}
.cover__title[data-long="1"]{font-size:clamp(36px,6.6vw,64px)}
@media (min-width:900px){ .cover__title[data-long="1"]{font-size:clamp(40px,4.6vw,58px)} }
html[lang="vi"] .cover__title[data-long="1"],html[lang="id"] .cover__title[data-long="1"]{font-size:clamp(28px,3.6vw,44px)}

/* ── 퀴즈 상단: 강 이름 ── */
.quizbar__homelabel{max-width:22ch; overflow:hidden; text-overflow:ellipsis}

/* ── 문항 머리 ── */
.quiz__hard{
  font-family:var(--f-body); font-size:12.5px; font-weight:700; letter-spacing:0;
  color:var(--ink); background:var(--yellow); border-radius:99px; padding:4px 11px;
  align-self:center;
}
.quiz__q.is-long{font-size:clamp(20px,2.7vw,29px); line-height:1.45; max-width:26ch}
html[lang="vi"] .quiz__q.is-long,html[lang="en"] .quiz__q.is-long,html[lang="id"] .quiz__q.is-long{font-size:clamp(18px,2.3vw,25px)}
.quiz__ask{
  margin-top:14px; display:flex; align-items:center; gap:8px;
  font-size:14px; font-weight:600; color:var(--teal);
}
.quiz__ask::before{content:''; width:7px; height:7px; border-radius:50%; background:var(--teal); flex:none}
.quiz__ask + .choices{margin-top:16px}
/* 문장 안 강조: 제목은 이미 굵으니 색으로, 해설 줄은 굵기로 */
.quiz__q b.em{font-weight:inherit; color:var(--teal)}
.sheet__q b.em,.note__q b.em{font-family:inherit; color:inherit; margin:0; font-weight:700}
/* 중국어 표지 제목은 넣어 둔 자리에서만 끊는다 */
html[lang="zh"] .cover__title > span{word-break:keep-all}
.quiz__flow{
  margin-top:12px; padding:9px 14px; border-radius:var(--r-sm); width:fit-content; max-width:100%;
  background:var(--paper); border:1.5px solid var(--ink-12);
  font-size:clamp(13.5px,1.5vw,15px); font-weight:700; line-height:1.55; color:var(--ink);
}

/* ── 두 갈래 고르기 (날씨/기후 같은 짧은 낱말) ── */
.choices--pair .choice{justify-content:center; min-height:clamp(120px,15vw,158px)}
.choice__no{
  position:absolute; top:12px; left:12px; width:30px; height:30px; border-radius:50%;
  display:grid; place-items:center; background:var(--mist); color:var(--teal);
  font-family:var(--f-en); font-weight:700; font-size:15px; transition:background .2s, color .2s;
}
.choice:hover .choice__no,.choice:focus-visible .choice__no,.choice.is-picked .choice__no{background:var(--paper); color:var(--ink)}
.choice__word{
  font-family:var(--f-display); font-weight:700; line-height:1.2; letter-spacing:-.02em;
  font-size:clamp(23px,3.2vw,32px); text-align:center; text-wrap:balance;
}
html[lang="vi"] .choice__word,html[lang="id"] .choice__word{font-size:clamp(18px,2.4vw,24px)}

/* ── 여러 갈래 고르기 · 모두 고르기 ── */
.choices--list{grid-template-columns:1fr; gap:10px}
.opt{
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:14px;
  width:100%; text-align:left; cursor:pointer;
  background:var(--paper); border:2px solid var(--ink-12); border-radius:var(--r-md);
  padding:13px 16px 13px 13px;
  font-size:clamp(15px,1.7vw,17px); font-weight:600; line-height:1.5; letter-spacing:-.01em;
  transition:transform .26s var(--spring), border-color .2s, background .2s, color .2s, opacity .2s;
}
.opt__no{
  width:34px; height:34px; border-radius:50%; display:grid; place-items:center; flex:none;
  background:var(--mist); color:var(--teal);
  font-family:var(--f-en); font-weight:700; font-size:16px;
  transition:background .2s, color .2s;
}
.opt__box{
  width:26px; height:26px; border-radius:8px; border:2px solid var(--ink-12);
  display:grid; place-items:center; color:transparent; transition:all .22s var(--spring);
}
.opt__box svg{width:18px; height:18px}
.opt:hover,.opt:focus-visible{border-color:var(--teal); transform:translateX(4px)}
.opt:hover .opt__no,.opt:focus-visible .opt__no{background:var(--teal); color:var(--paper)}
.opt:active{transform:translateX(2px) scale(.99)}
.opt.is-on{border-color:var(--teal); background:#f4fafb}
.opt.is-on .opt__no{background:var(--teal); color:var(--paper)}
.opt.is-on .opt__box{background:var(--teal); border-color:var(--teal); color:var(--paper); transform:scale(1.06)}
.opt[disabled]{pointer-events:none}
.opt.is-picked{border-color:var(--ink); background:var(--ink); color:var(--paper)}
.opt.is-picked .opt__no{background:var(--yellow); color:var(--ink)}
.opt.is-picked .opt__box{background:var(--yellow); border-color:var(--yellow); color:var(--ink)}
.opt.is-dim{opacity:.38}

.btn--ink{--bg:var(--ink); --fg:var(--paper)}
.btn--ink:hover{--bg:var(--teal); border-color:var(--teal)}
.btn[disabled]{opacity:.32; cursor:not-allowed; transform:none}
.quiz__submit{margin-top:14px}
.quiz__count{
  font-family:var(--f-en); font-size:12.5px; font-weight:700;
  background:var(--yellow); color:var(--ink); border-radius:99px; padding:2px 9px;
}

/* ── 해설: 배지 · 선택지 검토 ── */
.sheet__badge--sm{font-size:clamp(17px,3.2vw,22px); letter-spacing:-.02em}
.sheet__badge svg{width:46%; height:46%}
.sopt--pair{grid-template-columns:1fr auto}
.sopt--pair .sopt__no{display:none}
@media (max-width:520px){ .sopt--pair{grid-template-columns:1fr} .sopt--pair .sopt__tags{grid-column:1} }
.sheet__opts{display:grid; gap:7px; margin-top:12px}
.sopt{
  display:grid; grid-template-columns:auto 1fr auto; gap:4px 11px; align-items:center;
  padding:10px 13px 10px 10px; border-radius:var(--r-sm);
  border:1.5px solid var(--ink-12); font-size:14px; line-height:1.5; color:var(--ink-60);
}
.sopt__no{
  width:26px; height:26px; border-radius:50%; display:grid; place-items:center;
  background:var(--mist); font-family:var(--f-en); font-weight:700; font-size:13px; color:var(--gray);
}
.sopt__tags{display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px}
@media (max-width:520px){ .sopt{grid-template-columns:auto 1fr} .sopt__tags{grid-column:2; justify-content:flex-start} }
.sopt__tags:empty{display:none}
.sopt__tag{
  display:inline-flex; align-items:center; gap:3px; border-radius:99px; padding:2px 9px 2px 8px;
  font-size:11.5px; font-weight:700;
}
.sopt__tag svg{width:12px; height:12px}
.sopt__tag--right{background:var(--teal); color:var(--paper)}
.sopt__tag--mine{background:var(--yellow); color:var(--ink)}
.sopt.is-right{border-color:var(--teal); background:#f2f9fa; color:var(--ink)}
.sopt.is-right .sopt__no{background:var(--teal); color:var(--paper)}
.sopt.is-wrong{border-style:dashed; border-color:var(--ink-60); color:var(--ink-80)}
.sopt.is-wrong .sopt__txt{text-decoration:line-through; text-decoration-color:var(--ink-60); text-decoration-thickness:1.5px}
.sopt.is-wrong .sopt__no{background:var(--yellow); color:var(--ink)}

/* ── 해설: 과정 흐름 ── */
.flow{margin-top:16px; padding:14px 16px 16px; border-radius:var(--r-sm); background:var(--mist)}
.flow__title{font-size:12.5px; font-weight:700; color:var(--teal); letter-spacing:.01em}
.flow__list{display:flex; flex-wrap:wrap; align-items:center; gap:8px 6px; margin-top:10px; counter-reset:f}
.flow__step{
  display:inline-flex; align-items:center; gap:6px; counter-increment:f;
  background:var(--paper); border-radius:99px; padding:6px 12px 6px 6px;
  font-size:13.5px; font-weight:700; color:var(--ink);
  animation:stepIn .45s var(--spring) both calc(.15s + var(--i) * .07s);
}
.flow__step::before{
  content:counter(f); width:20px; height:20px; border-radius:50%; display:grid; place-items:center;
  background:var(--yellow); font-family:var(--f-en); font-size:11.5px;
}
.flow__step:not(:last-child)::after{content:"\2192"; margin-left:6px; margin-right:-4px; color:var(--teal); font-weight:700}
@keyframes stepIn{from{opacity:0; transform:translateY(6px) scale(.9)}to{opacity:1; transform:none}}

/* ── 해설: 자료 표 ── */
.data{margin:16px 0 0; padding:16px 16px 12px; border-radius:var(--r-sm); background:var(--mist)}
.data__head{display:flex; justify-content:space-between; align-items:baseline; gap:12px}
.data__head b{font-size:14px}
.data__head span{font-size:12px; color:var(--gray); white-space:nowrap}
.data__table{width:100%; border-collapse:collapse; margin-top:10px; font-size:13.5px}
.data__table th,.data__table td{padding:8px 6px; text-align:right; vertical-align:bottom}
.data__table thead th{font-size:12px; font-weight:600; color:var(--gray); white-space:nowrap}
.data__table thead th.is-now{color:var(--ink); font-weight:700}
.data__table tbody th{text-align:left; font-weight:600; color:var(--ink-80)}
.data__table tbody tr+tr th,.data__table tbody tr+tr td{border-top:1px dashed var(--ink-12)}
.data__v{display:block; font-family:var(--f-en); font-weight:600; font-variant-numeric:tabular-nums; color:var(--ink-80)}
.data__table td.is-now .data__v{font-weight:700; color:var(--ink)}
.data__bar{display:flex; justify-content:flex-end; height:5px; margin-top:5px}
.data__bar i{display:block; height:100%; border-radius:99px; background:var(--sky)}
.data__table td.is-now .data__bar i{background:var(--teal)}
.data__src{margin-top:8px; font-size:11.5px; color:var(--gray)}

/* ── 결과: 다음 퀴즈 ── */
.result__next{
  display:flex; align-items:center; justify-content:space-between; gap:14px; width:100%;
  margin-top:26px; padding:16px 18px 16px 22px; border-radius:var(--r-md);
  background:var(--mist); color:var(--ink); text-decoration:none; text-align:left;
  font-family:var(--f-display); font-weight:700; font-size:clamp(15px,1.8vw,17px); letter-spacing:-.01em;
  transition:background .2s, color .2s;
}
.result__next svg{width:18px; height:18px; flex:none; transform:rotate(-90deg); transition:transform .25s var(--spring)}
.result__next:hover{background:var(--ink); color:var(--yellow)}
.result__next:hover svg{transform:rotate(-90deg) translateY(3px)}

/* ── 오답노트: 번호 답 ── */
.note__chip--wide{width:auto; min-width:28px; padding:0 9px; border-radius:99px}
.note__opts{display:grid; gap:5px; margin-bottom:12px}
.note__opts li{display:flex; gap:9px; align-items:baseline; font-size:13.5px; color:var(--ink-60)}
.note__opts b{font-family:var(--f-en); color:var(--gray); min-width:1ch}
.note__opts li.is-right{color:var(--ink); font-weight:700}
.note__opts li.is-right b{color:var(--teal)}
.note__why{display:block}

/* ══════════════════════════════════════════════
   5. 허브 (강 선택)
   ══════════════════════════════════════════════ */
.screen--hub{position:relative; overflow:hidden}
.hub{
  position:relative; z-index:1; flex:1;
  max-width:var(--shell); width:100%; margin-inline:auto;
  padding:clamp(30px,5.5vw,72px) var(--gut) clamp(44px,6vw,80px);
  display:grid; gap:clamp(30px,4.5vw,56px); align-content:start;
}
.hub__intro{max-width:900px}
.hub__title span,.hub__title em{display:inline-block; text-wrap:balance}
.hub__lead{max-width:660px}
.hub__title{
  font-family:var(--f-display); font-weight:700; margin-top:12px;
  font-size:clamp(36px,6.4vw,70px); line-height:1.08; letter-spacing:-.028em;
}
.hub__title em{font-style:normal; color:var(--teal)}
html[lang="vi"] .hub__title,html[lang="en"] .hub__title,html[lang="id"] .hub__title{font-size:clamp(30px,4.8vw,56px)}
.hub__lead{margin-top:22px; font-size:clamp(15px,1.7vw,17.5px); line-height:1.75; color:var(--ink-80)}
.hub__lead b{color:var(--ink)}
.hub__progress{
  display:inline-flex; align-items:center; gap:12px; margin-top:24px;
  background:var(--paper); border-radius:99px; padding:9px 18px 9px 14px;
  font-size:13.5px; font-weight:600; color:var(--ink-80);
}
.hub__progress.is-all{background:var(--yellow); color:var(--ink)}
.hub__pips{display:flex; gap:5px}
.hub__pips li{width:10px; height:10px; border-radius:50%; border:2px solid var(--ink-12); transition:all .4s var(--spring)}
.hub__pips li.is-done{background:var(--teal); border-color:var(--teal)}
.hub__progress.is-all .hub__pips li{background:var(--ink); border-color:var(--ink)}

.lessons{display:grid; gap:12px; grid-template-columns:1fr}
.lessons__item{display:flex; animation:cardIn .6s var(--spring) both calc(.08s + var(--i) * .07s)}
@keyframes cardIn{from{opacity:0; transform:translateY(18px)}to{opacity:1; transform:none}}
.lcard{
  position:relative; flex:1;
  display:grid; grid-template-columns:clamp(78px,22vw,104px) minmax(0,1fr) auto; align-items:center; gap:16px;
  background:var(--paper); color:var(--ink); text-decoration:none;
  border:2px solid transparent; border-radius:var(--r-lg);
  padding:16px 16px 16px 18px;
  transition:transform .3s var(--spring), border-color .25s;
}
.lcard:hover,.lcard:focus-visible{transform:translateY(-4px); border-color:var(--teal)}
.lcard__fig{position:relative; display:block; aspect-ratio:1}
.lcard__disc{position:absolute; inset:-5%; border-radius:50%; background:var(--sky); transition:transform .5s var(--spring)}
.lcard__fig img{position:relative; width:100%; border-radius:50%; transition:transform .6s var(--spring)}
.lcard:hover .lcard__fig img{transform:rotate(-8deg) scale(1.04)}
.lcard:hover .lcard__disc{transform:scale(1.06)}
.lcard__num{
  position:absolute; z-index:2; top:-6px; left:-6px;
  width:30px; height:30px; border-radius:50%; display:grid; place-items:center;
  background:var(--yellow); color:var(--ink); font-family:var(--f-en); font-weight:700; font-size:15px;
  border:3px solid var(--paper);
}
.lcard__body{display:grid; gap:3px; min-width:0}
.lcard__top{display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px}
.lcard__chip{font-size:12.5px; font-weight:700; color:var(--teal); letter-spacing:.01em}
.lcard__title{font-family:var(--f-display); font-weight:700; font-size:clamp(19px,2.2vw,23px); line-height:1.28; letter-spacing:-.02em; text-wrap:balance}
.lcard__blurb{font-size:13.5px; line-height:1.55; color:var(--ink-60); text-wrap:pretty}
.lcard__foot{display:flex; flex-wrap:wrap; align-items:center; gap:6px 10px; margin-top:7px; font-size:12.5px}
.lcard__meta{color:var(--gray)}
.lcard__best{font-weight:700; color:var(--ink-60); background:var(--mist); border-radius:99px; padding:3px 10px}
.lcard__best.is-done{background:var(--sky); color:var(--ink)}
.lcard__best.is-perfect{background:var(--ink); color:var(--yellow)}
.lcard__go{
  width:42px; height:42px; border-radius:50%; display:grid; place-items:center; flex:none;
  background:var(--mist); color:var(--ink); transition:background .2s, color .2s;
}
.lcard__go svg{width:16px; height:16px; transform:rotate(-90deg); transition:transform .3s var(--spring)}
.lcard:hover .lcard__go,.lcard:focus-visible .lcard__go{background:var(--ink); color:var(--yellow)}
.lcard:hover .lcard__go svg{transform:rotate(-90deg) translateY(3px)}

@media (max-width:520px){
  .lcard{grid-template-columns:76px minmax(0,1fr); padding:15px 15px 15px 16px; gap:14px}
  .lcard__go{display:none}
  .lcard__blurb{font-size:13px}
}
@media (min-width:760px){
  .lessons{grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px}
}
@media (min-width:1040px){
  .lessons{grid-template-columns:repeat(6,minmax(0,1fr)); gap:18px}
  .lessons__item{grid-column:span 2}
  .lessons__item:nth-child(4){grid-column:2 / span 2}
  .lcard{grid-template-columns:1fr; align-content:start; justify-items:start; padding:26px 24px 22px; gap:18px}
  .lcard__fig{width:132px}
  .lcard__go{position:absolute; top:22px; right:22px}
  .lcard__title{font-size:24px}
}
@media (prefers-reduced-motion:reduce){
  .flow__step,.lessons__item{animation-delay:0s !important}
}

/* 모바일: 고르기 문항은 선택지가 길어 그림을 줄여 첫 화면에 선택지가 보이게 한다 */
@media (max-width:899px){
  .quiz[data-kind="choice"] .quiz__fig,.quiz[data-kind="multi"] .quiz__fig{width:min(34vw,150px)}
  .quiz[data-kind="choice"],.quiz[data-kind="multi"]{gap:18px; padding-top:20px}
}
@media (max-width:520px){
  .hub__progress{border-radius:var(--r-md); align-items:flex-start; padding:12px 16px 12px 14px; line-height:1.5}
  .hub__pips{margin-top:5px}
}
