/* =========================================================
   영단어랩 · 디자인 v2 (받은 시안을 pt 눈금으로 실측해 맞춤, 390pt 폭 기준)
   ========================================================= */
@font-face{font-family:"Pretendard";src:url("/fonts/Pretendard-subset.woff2") format("woff2");font-weight:100 900;font-display:swap}
:root{
  --ink:#0E1A3A; --ink2:#2E3F62; --muted:#6A7A97; --line:#E4ECF6; --bg:#F2F7FD; --card:#fff;
  --blue:#1A84FF; --blue-d:#0A64DA; --blue-l:#E3F0FF; --green:#22B262; --green-l:#E2F6E9; --red:#EF4B5F; --red-l:#FFE7EA; --amber:#E89A00; --amber-l:#FFF3D0; --orange:#FF6A2B;
  --sh:0 4px 14px rgba(28,72,140,.07); --sh2:0 2px 8px rgba(28,72,140,.06);
  --font:"Pretendard","Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",sans-serif;
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#E8F0FA;color:var(--ink);font-family:var(--font);letter-spacing:-.02em;word-break:keep-all;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer;touch-action:manipulation}
a{color:inherit;text-decoration:none}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
svg .fillc{fill:currentColor;stroke:none}
svg.ic{stroke:none;width:20px;height:20px}
.ic-sm{width:16px!important;height:16px!important}.ic-lg{width:22px!important;height:22px!important}.ic-btn{width:20px!important;height:20px!important}
:focus-visible{outline:3px solid #7BB8FF;outline-offset:2px;border-radius:12px}
[hidden]{display:none!important}
.app{position:relative;max-width:440px;min-height:100dvh;margin:0 auto;background:var(--bg);padding-bottom:calc(72px + env(safe-area-inset-bottom,0px));overflow-x:hidden}
@media (min-width:460px){ .app{box-shadow:0 18px 60px rgba(24,52,94,.12)} }
.screen{display:none;padding:0 10px 16px}
.app[data-screen="home"] [data-screen="home"],.app[data-screen="learn"] [data-screen="learn"],.app[data-screen="listen"] [data-screen="listen"],.app[data-screen="spell"] [data-screen="spell"],.app[data-screen="speak"] [data-screen="speak"],.app[data-screen="review"] [data-screen="review"],.app[data-screen="report"] [data-screen="report"],.app[data-screen="my"] [data-screen="my"],.app[data-screen="qz"] [data-screen="qz"]{display:block}
.card{background:var(--card);border-radius:18px;box-shadow:var(--sh)}
.bar{height:8px;border-radius:999px;background:#E6EDF6;overflow:hidden;margin-top:8px}
.bar i{display:block;height:100%;width:0;border-radius:999px;background:var(--blue);transition:width .4s}
.bar--green i{background:#3CC774}.bar--yellow i{background:#FFC93D}
.c-blue{color:var(--blue)!important}.c-red{color:var(--red)!important}.c-amber{color:var(--amber)!important}.c-ink{color:var(--ink)!important}

/* ---------- 상단 ---------- */
.home-top{display:flex;align-items:center;justify-content:space-between;gap:8px;height:62px;margin-top:env(safe-area-inset-top,0px);padding-top:6px}
.logo{display:flex;align-items:center;gap:4px;min-width:0}
.logo img{width:52px;height:52px;object-fit:contain;margin-left:-4px}
.logo b{display:block;font-size:30px;font-weight:900;letter-spacing:-.05em;line-height:1.02}
.logo b em{font-style:normal;color:var(--blue)}
.logo small{display:block;font-size:12.5px;font-weight:600;color:var(--ink2);margin-top:3px;letter-spacing:-.03em}
.level-pill{display:flex;align-items:center;gap:7px;height:38px;padding:0 10px 0 3px;border-radius:999px;background:#fff;box-shadow:var(--sh);font-size:15px;font-weight:700;white-space:nowrap;margin-right:-2px}
.level-pill img{width:32px;height:32px;border-radius:50%;background:var(--blue-l);object-fit:contain}
.level-pill svg{width:15px;height:15px;stroke-width:2.6}
.topbar{display:flex;align-items:center;gap:6px;height:56px;margin-top:env(safe-area-inset-top,0px)}
.topbar b{flex:1;text-align:center;font-size:20px;font-weight:800;letter-spacing:-.04em}
.topbar--left b{text-align:left;padding-left:4px}
.back{width:36px;height:40px;display:grid;place-items:center;margin-left:-4px}
.back svg{width:26px;height:26px;stroke-width:2.6}
.cnt{height:32px;padding:0 14px;border-radius:999px;background:#fff;box-shadow:var(--sh2);display:flex;align-items:center;gap:3px;font-size:15px;font-weight:600;color:var(--ink2);white-space:nowrap}
.cnt b{font-size:17px;font-weight:800;color:var(--blue);flex:none;text-align:left;padding:0}

/* ---------- 배너 (하늘·구름·건물·숲) ---------- */
.banner{position:relative;border-radius:18px;overflow:hidden;background:
  radial-gradient(ellipse 46px 16px at 14% 34%,rgba(255,255,255,.95) 60%,transparent 63%),
  radial-gradient(ellipse 30px 12px at 21% 28%,rgba(255,255,255,.9) 60%,transparent 63%),
  radial-gradient(ellipse 60px 20px at 86% 26%,rgba(255,255,255,.9) 60%,transparent 63%),
  radial-gradient(ellipse 34px 13px at 78% 20%,rgba(255,255,255,.85) 60%,transparent 63%),
  linear-gradient(180deg,#9FD6FF 0%,#C9E9FF 55%,#E3F5FF 100%)}
.banner::before{content:"";position:absolute;left:0;right:0;bottom:12px;height:48%;opacity:.75;pointer-events:none;background:
  linear-gradient(#CFE3F6,#CFE3F6) 52% 100%/8% 70% no-repeat,
  linear-gradient(#B9D6F2,#B9D6F2) 61% 100%/9% 92% no-repeat,
  linear-gradient(#D9E9F8,#D9E9F8) 71% 100%/7% 60% no-repeat,
  linear-gradient(#F3DCCB,#F3DCCB) 80% 100%/8% 78% no-repeat,
  linear-gradient(#C7DDF4,#C7DDF4) 90% 100%/9% 100% no-repeat,
  linear-gradient(#D2E6F7,#D2E6F7) 6% 100%/8% 55% no-repeat,
  linear-gradient(#C3DBF2,#C3DBF2) 16% 100%/7% 75% no-repeat}
.banner::after{content:"";position:absolute;left:-4%;right:-4%;bottom:-6px;height:34px;pointer-events:none;background:
  radial-gradient(ellipse 34px 20px at 6% 60%,#8FD48F 60%,transparent 62%),
  radial-gradient(ellipse 30px 18px at 20% 70%,#A3DC99 60%,transparent 62%),
  radial-gradient(ellipse 40px 22px at 40% 72%,#9AD891 60%,transparent 62%),
  radial-gradient(ellipse 36px 20px at 66% 70%,#A8DE9E 60%,transparent 62%),
  radial-gradient(ellipse 42px 22px at 90% 66%,#93D58E 60%,transparent 62%),
  linear-gradient(transparent 55%,#B5E3AC 55%)}
.banner--home{height:130px;margin-top:8px}
.banner-txt{position:relative;z-index:2;padding:22px 0 0 24px}
.banner-txt h1{margin:0;font-size:22px;line-height:1.3;font-weight:800;letter-spacing:-.04em}
.banner-txt h1 u{text-decoration:none;background:linear-gradient(transparent 78%,#FFD43B 78%,#FFD43B 92%,transparent 92%);padding-bottom:2px}
.banner-txt p{margin:9px 0 0;font-size:13px;font-weight:600;color:var(--ink2);line-height:1.5}
.banner-char{position:absolute;right:28px;bottom:0;z-index:2;width:120px;height:112px}
.banner-char img{position:absolute;right:0;bottom:0;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.bubble-s{position:absolute;z-index:3;padding:7px 11px;border-radius:18px;background:#fff;font-size:12px;font-weight:700;line-height:1.35;text-align:center;box-shadow:0 3px 8px rgba(0,0,0,.06);white-space:nowrap;color:var(--ink)}
.bubble-s::after{content:"";position:absolute;width:9px;height:9px;background:#fff;transform:rotate(45deg)}
.banner--home .bubble-s{right:-22px;top:-8px}
.banner--home .bubble-s::after{left:10px;bottom:-4px}

/* ---------- 홈 통계 ---------- */
.stats3{display:grid;grid-template-columns:1.05fr 1fr 1fr;margin-top:10px;padding:12px 4px}
.st{display:flex;gap:7px;padding:0 9px;min-width:0;align-items:flex-start}
.st+.st{border-left:1px solid var(--line)}
.st>div{min-width:0;flex:1}
.st-ic{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex:none}
.st-ic svg.ic{width:19px;height:19px}
.ic-blue{background:var(--blue-l)}.ic-orange{background:#FFEBDD}.ic-red{background:var(--red-l)}.ic-yellow{background:var(--amber-l)}
.st small{display:block;font-size:13px;font-weight:600;color:var(--ink2);margin-top:1px}
.st b{display:block;font-size:26px;font-weight:800;line-height:1.15;color:var(--blue);white-space:nowrap;letter-spacing:-.03em}
.st b i{font-style:normal;font-size:17px;color:var(--ink);font-weight:700;margin-left:2px}
.st em{display:block;font-style:normal;font-size:11.5px;font-weight:600;color:var(--muted);margin-top:2px}
.st-hl{background:#FFF6EA;border-radius:12px;padding:4px 8px 6px;margin:-2px 0 -2px -4px;text-align:center}
.st-hl small{text-align:left}
.st-hl b{color:var(--ink)}

/* ---------- 섹션 ---------- */
.sec{display:flex;align-items:center;justify-content:space-between;margin:18px 2px 9px}
.sec h2,.sec-row h2{margin:0;font-size:18px;font-weight:800;display:flex;align-items:center;gap:7px;letter-spacing:-.04em}
.sec-card{margin-top:12px;padding:13px 12px}
.sec-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sec-row small{font-size:12px;font-weight:600;color:var(--muted)}
.sec-row h3{margin:0;font-size:16px;font-weight:800;display:flex;align-items:center;gap:6px}
.more{display:flex;align-items:center;gap:2px;font-size:14px;font-weight:600;color:var(--ink2);white-space:nowrap}
.sec-sub{margin:5px 0 11px 29px;font-size:13px;font-weight:500;color:var(--ink2)}

/* 오늘의 학습 카드 */
.today3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.tcard{position:relative;height:126px;padding:10px 10px 10px 11px;border-radius:18px;text-align:left;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:var(--sh2);overflow:hidden;border:1px solid rgba(255,255,255,.7)}
.tcard b{font-size:17px;font-weight:800;letter-spacing:-.04em;margin-bottom:3px}
.tcard small{font-size:11.5px;font-weight:500;color:var(--ink2);line-height:1.42;letter-spacing:-.04em;padding-right:22px}
.tcard--yellow{background:linear-gradient(170deg,#FFF4CD 0%,#FFE39A 100%)}
.tcard--blue{background:linear-gradient(170deg,#EAF5FF 0%,#CBE6FF 100%)}
.tcard--green{background:linear-gradient(170deg,#ECFAEC 0%,#CFF0D4 100%)}
.t-go{position:absolute;right:7px;bottom:8px;width:23px;height:23px;border-radius:50%;background:#fff;display:grid;place-items:center;color:var(--blue);box-shadow:0 2px 5px rgba(0,0,0,.08)}
.t-go svg.ic{width:13px;height:13px}
.tcard--yellow .t-go{color:#C27A00}.tcard--green .t-go{color:var(--green)}
.t-art{position:absolute;top:8px;left:50%;transform:translateX(-50%);width:76px;height:56px;object-fit:contain}
.t-art--mic{width:44px;height:58px;top:6px}
.spell-link{display:flex;align-items:center;gap:12px;width:100%;margin-top:8px;padding:9px 40px 9px 12px;border-radius:16px;background:#fff;box-shadow:var(--sh2);text-align:left;position:relative}
.spell-link .t-art{position:static;transform:none;width:30px;height:30px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20l1.2-5L16 4.2l3.8 3.8L9 18.8z' fill='%23EF5A6F'/%3E%3Cpath d='M4 20l1.2-5 3.8 3.8z' fill='%23FBD6A8'/%3E%3C/svg%3E") center/26px no-repeat;border-radius:10px;background-color:#FFEFF2}
.spell-link b{display:block;font-size:15px;font-weight:800}.spell-link small{font-size:12px;font-weight:500;color:var(--ink2)}
.spell-link .t-go{bottom:auto;top:50%;transform:translateY(-50%)}

/* 복습 추천 */
.rec3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.rec{padding:10px 9px 9px;border-radius:14px;border:1px solid var(--line);text-align:left;min-width:0;background:#fff}
.rec b{display:flex;align-items:center;gap:4px;font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;letter-spacing:-.02em}
.rec b>span{overflow:hidden;text-overflow:ellipsis}
.rec b svg{width:16px;height:16px;color:var(--blue)}
.rec small{display:block;font-size:12.5px;font-weight:500;color:var(--ink2);margin:4px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:100%;height:24px;border-radius:9px;font-size:12px;font-weight:700;white-space:nowrap}
.badge svg.ic{width:14px;height:14px}
.badge--red{background:var(--red-l);color:#D9334A}.badge--amber{background:var(--amber-l);color:#C47F00}.badge--green{background:var(--green-l);color:#14874A}.badge--blue{background:var(--blue-l);color:var(--blue-d)}
.empty{grid-column:1/-1;padding:14px;border-radius:14px;background:#F5F9FE;font-size:13px;font-weight:600;color:var(--muted);text-align:center;line-height:1.55}

/* 약한 유형 */
.weak3{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.wk{padding:9px 10px 10px;border-radius:14px}
.wk b{display:flex;align-items:center;gap:5px;font-size:15.5px;font-weight:800}
.wk .wk-row{display:flex;align-items:center;gap:7px;margin-top:8px}
.wk .bar{flex:1;margin:0;height:7px}
.wk span{font-size:13px;font-weight:700;color:var(--ink)}
.wk--red{background:#FFEFF1}.wk--red .bar i{background:#F36B7C}
.wk--amber{background:#FFF7E0}.wk--amber .bar i{background:#FFC233}
.wk--blue{background:#EAF4FF}
.wk--green{background:#EAF9EF}.wk--green .bar i{background:#3CC774}
.wk .warn{width:15px;height:15px;border-radius:50%;background:#F36B7C;color:#fff;font-size:10px;font-weight:900;display:grid;place-items:center}
.wk--amber .warn{background:#FFB300}

/* ---------- 필수 단어 ---------- */
.banner--word{height:220px;padding:20px 12px 0}
.tag-mini{position:relative;z-index:2;display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 11px;border-radius:999px;background:rgba(255,255,255,.75);color:var(--blue-d);font-size:12.5px;font-weight:700}
.word-card{position:relative;z-index:2;width:72%;margin-top:6px;padding:14px 14px 14px 16px;border-radius:18px;background:#fff;box-shadow:var(--sh)}
.word-card .tag-mini{position:absolute;top:-36px;left:0}
.w-row{display:flex;align-items:center;gap:8px}
.w-main{font-size:33px;font-weight:800;letter-spacing:-.03em;word-break:break-word;line-height:1.08}
.spk{width:34px;height:34px;border-radius:50%;background:var(--blue-l);color:var(--blue);display:grid;place-items:center;flex:none}
.spk svg{width:18px;height:18px}
.ipa{display:block;margin-top:5px;font-size:16px;font-weight:400;color:var(--ink2);font-family:"Lucida Sans Unicode","Arial Unicode MS","Segoe UI",var(--font);letter-spacing:.01em}
.pos-chip{display:inline-block;margin-top:9px;height:22px;line-height:22px;padding:0 9px;border-radius:999px;background:var(--blue-l);color:var(--blue-d);font-size:12.5px;font-weight:700}
.w-mean{margin:7px 0 0;font-size:20px;font-weight:600;letter-spacing:-.04em}
.banner--word .banner-char{right:2px;width:128px;height:150px}
.banner--word .bubble-s{right:28px;top:-48px;font-size:12.5px}
.banner--word .bubble-s::after{left:16px;bottom:-4px}
.relate{margin-top:10px;padding:12px}
.chips{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.chips span{display:flex;align-items:center;min-height:46px;padding:6px 12px;border-radius:14px;background:#ECF9F0;font-size:15px;font-weight:700;color:#155E36}
.chips span:nth-child(2n){background:#EAF4FF;color:#0D4FA6}
.know{margin-top:10px;padding:13px 12px}
.know h3{margin:0;font-size:17px;font-weight:800;display:flex;align-items:center;gap:6px}.know p{margin:3px 0 11px 28px;font-size:13px;font-weight:500;color:var(--ink2)}
.know2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.kbtn{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;height:60px;padding:0 12px;border-radius:16px}
.kbtn .kic{grid-row:1/3;width:32px!important;height:32px!important}
.kbtn b{font-size:16px;font-weight:800;align-self:end}.kbtn small{font-size:12px;font-weight:500;color:var(--ink2);align-self:start}
.kbtn--ok{background:#E3F6E9}.kbtn--more{background:#FFF1DA}
.kbtn[aria-pressed="true"]{outline:2.5px solid var(--blue);outline-offset:-2.5px}
.actions3,.actions2{display:grid;gap:8px;margin-top:12px}
.actions3{grid-template-columns:1fr 1fr 1.1fr}.actions2{grid-template-columns:1fr 1fr}
.abtn{height:48px;border-radius:14px;font-size:16px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 6px;transition:transform .08s;white-space:nowrap;letter-spacing:-.04em}
.abtn:active{transform:scale(.97)}
.abtn--soft{background:var(--blue-l);color:var(--blue-d)}
.abtn--line{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1.5px #DCE7F3}
.abtn--line svg.ic use{color:var(--blue)}
.abtn--pink{background:#FFE6EC;color:#8A1F3A}
.abtn--blue{background:var(--blue);color:#fff;box-shadow:0 5px 12px rgba(26,132,255,.28)}
.abtn--blue svg.ic{color:#fff}
.abtn:disabled{opacity:.45}
.lips{font-size:18px;line-height:1}

/* ---------- 문제 공통 ---------- */
.banner--short{height:116px}
.banner--short .banner-char{right:30px;width:118px;height:110px}
.banner--short .bubble-s{right:118px;top:12px;font-size:12.5px}
.banner--short .bubble-s::after{right:-4px;bottom:12px}
.q-ask{display:flex;align-items:center;gap:8px;margin:16px 2px 12px;font-size:19px;font-weight:800;letter-spacing:-.05em}
.ic-q{width:30px!important;height:30px!important}
.play-card{display:flex;align-items:center;gap:14px;width:100%;height:82px;padding:0 14px;border-radius:18px;background:#EDF5FF}
.play-btn{width:58px;height:58px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;flex:none;box-shadow:0 0 0 6px #fff}
.play-btn svg.ic{width:26px;height:26px;margin-left:3px}
.play-mid{flex:1;display:flex;flex-direction:column;gap:6px;min-width:0}
.wave{display:flex;align-items:center;gap:3px;height:24px}
.wave i{width:3px;border-radius:2px;background:#8EC5FF;height:30%}
.wave i:nth-child(3n){height:70%}.wave i:nth-child(4n){height:50%}.wave i:nth-child(5n){height:95%}
.play-card.playing .wave i{animation:wv .6s ease-in-out infinite alternate}
.play-card.playing .wave i:nth-child(2n){animation-delay:.2s}
@keyframes wv{to{transform:scaleY(.35)}}
.heard{font-size:21px;font-weight:800;text-align:left;min-height:25px}
.heard.hide{color:#9DB2CC;font-size:14px;font-weight:600}
.opts{display:grid;gap:8px;margin-top:12px}
.opt{display:flex;align-items:center;gap:14px;width:100%;height:52px;padding:0 12px;border-radius:16px;background:#fff;border:1.5px solid #E6EEF7;text-align:left;font-size:17px;font-weight:600;letter-spacing:-.04em}
.opt i{width:32px;height:32px;border-radius:50%;background:#EEF3F9;display:grid;place-items:center;font-style:normal;font-size:15px;font-weight:700;color:var(--ink2);flex:none}
.opt.is-right{border-color:var(--blue);background:#EEF6FF}.opt.is-right i{background:var(--blue);color:#fff}
.opt.is-right::after{content:"";margin-left:auto;width:24px;height:24px;border-radius:50%;background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat}
.opt.is-wrong{border-color:var(--red);background:#FFF4F6}.opt.is-wrong i{background:var(--red);color:#fff}
.opt:disabled{cursor:default}

/* 철자 */
.mean-box{display:flex;align-items:center;justify-content:center;gap:12px;height:62px;background:#EAF3FE;box-shadow:none}
.mean-box b{font-size:24px;font-weight:800;letter-spacing:-.04em}
.mean-box .spk{background:#fff;width:36px;height:36px}
.letters{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;margin:12px 0}
.letters span{width:38px;height:48px;border-radius:10px;background:#fff;box-shadow:0 0 0 1.5px #E3ECF6;display:grid;place-items:center;font-size:22px;font-weight:700}
.letters span.blank{background:#E5F1FF;box-shadow:0 0 0 1.5px #7FB8F5;color:var(--blue-d)}
.letters span.blank.now{box-shadow:0 0 0 2.5px var(--blue)}
.letters span.gap{background:none;box-shadow:none;width:10px}
.letters.ok span.blank{background:var(--green-l);box-shadow:0 0 0 2px var(--green);color:#14874A}
.letters.bad span.blank{background:var(--red-l);box-shadow:0 0 0 2px var(--red);color:#C72C42}
.tiles{display:grid;grid-template-columns:repeat(3,86px);justify-content:center;gap:10px 18px;padding:14px 10px;border-radius:18px;background:#EAF3FE}
.tiles button{height:44px;border-radius:14px;background:#fff;box-shadow:0 2px 6px rgba(28,72,140,.08);font-size:22px;font-weight:700}
.tiles button:disabled{opacity:.25}
.tip{position:relative;margin-top:12px;min-height:68px;padding:12px 92px 12px 14px;background:#FFF5DC;box-shadow:none}
.tip b{display:flex;align-items:center;gap:6px;font-size:15.5px;font-weight:800;color:#8A4B12}.tip p{margin:5px 0 0;font-size:14.5px;font-weight:500;color:var(--ink);line-height:1.45}
.tip img{position:absolute;right:8px;bottom:0;width:80px;height:72px;object-fit:contain;object-position:bottom}
.tip--yellow{padding-right:14px}
.spell-stats{display:grid;grid-template-columns:1fr 1fr;margin-top:10px;padding:12px 0}
.ss{display:flex;gap:9px;padding:0 13px;align-items:flex-start}.ss+.ss{border-left:1px solid var(--line)}
.ss>div{flex:1;min-width:0}
.ss-ic{width:36px!important;height:36px!important;padding:7px;border-radius:50%;background:var(--red-l);box-sizing:border-box}
.ss+.ss .ss-ic{background:#FFEBDD}
.spell-stats small{font-size:13px;font-weight:600;color:var(--ink2)}
.spell-stats b{display:block;font-size:22px;font-weight:800;line-height:1.2}
.spell-stats em{font-style:normal;font-size:11.5px;font-weight:500;color:var(--muted)}

/* 말하기 */
.banner--speak{padding:14px 12px 16px;text-align:center;height:auto;min-height:392px}
.speak-guide{position:relative;z-index:2;display:inline-flex;align-items:center;gap:6px;margin:0;font-size:14px;font-weight:600;color:var(--ink)}
.speak-word{position:relative;z-index:2;margin:10px auto 0;padding:14px 12px 12px;border-radius:18px;background:#fff;box-shadow:var(--sh);width:290px;max-width:88%;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:6px}
.speak-word b{font-size:34px;font-weight:800;text-align:center;letter-spacing:-.03em;padding-left:40px}
.speak-word .spk{width:40px;height:40px}
.speak-word small{grid-column:1/-1;font-size:16px;font-weight:500;color:var(--ink2);margin-top:4px}
.mic{position:relative;z-index:2;width:118px;height:118px;margin:34px auto 0;border-radius:50%;background:radial-gradient(circle at 40% 32%,#8CCBFF,#2B91FF 55%,#1172EA);color:#fff;display:grid;place-items:center;box-shadow:0 0 0 10px rgba(255,255,255,.85),0 0 0 22px rgba(26,132,255,.12),0 12px 30px rgba(26,132,255,.35)}
.mic svg{width:52px;height:52px}
.mic-ring{position:absolute;inset:-30px;border-radius:50%;border:4px solid rgba(26,132,255,.18);border-top-color:rgba(26,132,255,.55)}
.mic.listening .mic-ring{animation:spin 1.2s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.mic:disabled{filter:grayscale(.7);opacity:.6}
.mic-state{position:relative;z-index:2;display:block;margin-top:30px;font-size:17px;font-weight:800;color:var(--blue-d);min-height:24px;padding:0 70px}
.banner--speak .banner-char{right:0;bottom:0;width:104px;height:110px}
.banner--speak .bubble-s{right:56px;top:-58px;font-size:12.5px}
.banner--speak .bubble-s::after{right:18px;bottom:-4px}
.speak-result{margin-top:10px;padding:13px 12px}
.speak-result h3{margin:0 0 10px;font-size:17px;font-weight:800;display:flex;align-items:center;gap:6px}
.sr-row{display:flex;align-items:center;gap:14px}
.gauge{--p:0;width:124px;height:124px;border-radius:50%;flex:none;display:flex;align-items:baseline;justify-content:center;padding-top:42px;background:radial-gradient(closest-side,#fff 80%,transparent 81% 100%),conic-gradient(#37C978 calc(var(--p)*1%),#E8EEF6 0)}
.gauge b{font-size:40px;font-weight:800;line-height:1;letter-spacing:-.04em}.gauge small{font-size:17px;font-weight:700;margin-left:2px}
.checks{list-style:none;margin:0;padding:0;display:grid;gap:7px;flex:1}
.checks li{display:flex;align-items:center;gap:8px;height:36px;padding:0 12px;border-radius:18px;background:#F2F6FB;font-size:14.5px;font-weight:600;color:var(--muted)}
.checks li::before{content:"";width:20px;height:20px;border-radius:50%;background:#D6DFEA;flex:none}
.checks li.on{background:#EFF8F2;color:var(--ink)}
.checks li.on::before{background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.checks li b{color:#F2A900}
.heard-line{margin:8px 0 0;font-size:13px;font-weight:600;color:var(--muted)}

/* ---------- 복습 ---------- */
.review-head{position:relative;display:flex;align-items:flex-end;min-height:104px;padding:6px 2px 10px}
.review-head h2{margin:0;font-size:28px;font-weight:800;letter-spacing:-.05em;display:flex;align-items:center;gap:6px}
.review-head h2 svg.ic{width:24px;height:24px}
.review-head p{margin:6px 0 0;font-size:14px;font-weight:500;color:var(--ink2);max-width:62%;line-height:1.45}
.review-head .banner-char{right:6px;bottom:4px;width:120px;height:118px}
.review-head .bubble-s{right:80px;top:-30px}
.review-head .bubble-s::after{right:14px;bottom:-4px}
.rev3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.rv{display:flex;align-items:center;gap:8px;height:58px;padding:0 10px;border-radius:16px}
.rv-ic{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;flex:none}
.rv-ic svg.ic{width:22px;height:22px}
.rv small{display:block;font-size:13px;font-weight:600;color:var(--ink2)}
.rv b{display:block;font-size:24px;font-weight:800;line-height:1.1}.rv b i{font-style:normal;font-size:16px;color:var(--ink);font-weight:700;margin-left:2px}
.wlist{display:grid;gap:8px;margin-top:10px}
.wrow{display:flex;align-items:center;gap:8px;width:100%;min-height:52px;padding:7px 12px 7px 14px;border-radius:16px;text-align:left;background:#EEF5FF}
.wrow.t-red{background:#FFF1F3}.wrow.t-amber{background:#FFF8E5}.wrow.t-green{background:#ECF9F0}.wrow.t-plain{background:#fff;box-shadow:inset 0 0 0 1.5px #E6EEF7}
.wrow>span:first-child{flex:1;min-width:0}
.wrow b{display:flex;align-items:center;gap:6px;font-size:18px;font-weight:800;letter-spacing:-.02em}
.wrow b svg{width:17px;height:17px;color:var(--blue)}
.wrow small{display:block;font-size:14px;font-weight:500;color:var(--ink2);margin-top:1px}
.wrow .badge{width:auto;height:28px;padding:0 12px;font-size:13.5px;border-radius:14px}
.wrow .chev{width:18px;height:18px;color:var(--ink2)}
.done-ring{display:grid;grid-template-columns:auto auto 1fr;gap:0 12px;align-items:center;margin-top:12px;padding:12px}
.ring{--p:0;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(closest-side,#fff 74%,transparent 75% 100%),conic-gradient(var(--blue) calc(var(--p)*1%),#E3EAF3 0)}
.ring b{font-size:15px;font-weight:800}
.done-ring>div small{display:block;font-size:14.5px;font-weight:700;color:var(--ink)}.done-ring>div b{display:block;font-size:28px;font-weight:800;letter-spacing:-.03em}
.done-ring>div b em{font-style:normal;color:var(--blue)}
.done-msg{margin:0;padding:10px 12px;border-radius:14px;background:#EEF5FF;font-size:12.5px;font-weight:600;color:var(--ink2);line-height:1.45}
.cta{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:56px;margin-top:12px;border-radius:16px;background:var(--blue);color:#fff;font-size:19px;font-weight:800;box-shadow:0 6px 16px rgba(26,132,255,.3)}
.cta svg.ic{width:22px;height:22px;color:#fff}
.cta:disabled{background:#C3D2E6;box-shadow:none}

/* ---------- 리포트 ---------- */
.rep-title{position:relative;padding:calc(12px + env(safe-area-inset-top,0px)) 0 12px 2px}
.rep-title h1{display:flex;align-items:center;gap:8px;margin:0;font-size:30px;font-weight:800;letter-spacing:-.05em;line-height:1.15}
.ic-title{width:30px!important;height:30px!important}
.rep-title p{margin:4px 0 0;font-size:14px;font-weight:500;color:var(--ink2)}
.month-pill{position:absolute;right:0;top:calc(14px + env(safe-area-inset-top,0px));display:flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:999px;background:#fff;box-shadow:var(--sh);font-size:15px;font-weight:700}
.banner--report,.banner--my{height:122px}
.banner--report .banner-txt{padding:18px 0 0 22px}
.banner--report .banner-char{right:34px;width:118px;height:118px}
.week{position:relative;display:grid;grid-template-columns:repeat(7,1fr);gap:8px;align-items:end;height:170px;margin:10px 0 0 22px;padding-bottom:22px;background:linear-gradient(#EEF2F8,#EEF2F8) 0 0/100% 1px no-repeat,linear-gradient(#EEF2F8,#EEF2F8) 0 50%/100% 1px no-repeat}
.week div{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:3px;position:relative}
.week i{width:72%;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,#61AEFF,#2D8EFF);min-height:3px}
.week b{font-size:13px;font-weight:800}
.week small{position:absolute;bottom:-22px;font-size:13px;font-weight:600;color:var(--ink2)}
.week .today-col small{color:var(--blue);font-weight:800}
.week-axis{position:absolute;left:-22px;top:-6px;bottom:16px;display:flex;flex-direction:column;justify-content:space-between;font-size:11.5px;font-weight:600;color:var(--muted)}
.type-wrap{display:flex;gap:10px;align-items:center;margin-top:12px}
.donut{width:122px;height:122px;border-radius:50%;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}
.donut::before{content:"";position:absolute;inset:16px;border-radius:50%;background:#fff}
.donut>*{position:relative}
.donut small{font-size:12px;font-weight:600;color:var(--ink2);order:-1}.donut b{font-size:30px;font-weight:800;line-height:1.1;letter-spacing:-.03em}
.type4{flex:1;display:grid;grid-template-columns:1fr 1fr;gap:7px}
.type4 .wk{padding:9px 10px}
.type4 .wk b{font-size:15.5px}
.type4 .wk span{font-size:15px;font-weight:800}
.type4 .wk--red span{color:#C72C42}.type4 .wk--amber span{color:#A36A00}.type4 .wk--green span{color:#14874A}.type4 .wk--blue span{color:var(--blue-d)}
.strength{display:flex;align-items:center;gap:6px;margin-top:12px;padding:8px 10px 8px 4px;border-radius:16px;background:#E6F2FF}
.strength img{width:72px;height:62px;object-fit:contain;object-position:bottom}
.strength p{flex:1;margin:0;padding:10px 12px;border-radius:14px;background:#fff;font-size:15px;font-weight:600;line-height:1.5}
.strength b{color:var(--blue-d);font-weight:800}.strength em{font-style:normal;color:var(--red);font-weight:800}
.reco3{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}
.reco3 button{position:relative;height:96px;padding:10px 9px;border-radius:16px;text-align:left;font-size:15.5px;font-weight:800;letter-spacing:-.04em}
.reco3 button small{display:block;margin-top:5px;font-size:11.5px;font-weight:500;color:var(--ink2);line-height:1.4;padding-right:18px}
.reco3 .t-go{width:22px;height:22px}

/* ---------- 마이 ---------- */
.profile{position:relative;z-index:2;display:flex;align-items:center;gap:12px;margin:16px 0 0 14px;padding:12px 14px 12px 10px;border-radius:18px;background:#fff;width:178px;box-shadow:var(--sh)}
.avatar{width:56px;height:56px;border-radius:50%;background:var(--blue-l);display:grid;place-items:center;flex:none;overflow:hidden}.avatar img{width:50px;height:50px;object-fit:contain}
.profile b{display:block;font-size:19px;font-weight:800;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile small{display:inline-block;margin-top:3px;padding:2px 9px;border-radius:999px;background:#F2F6FB;font-size:12px;font-weight:600;color:var(--ink2)}
.streak-chip{display:inline-flex;align-items:center;gap:3px;margin-top:4px;padding:2px 9px 2px 6px;border-radius:999px;background:#FFF0DF;color:#9A4A00;font-size:12px;font-weight:700}
.edit{position:absolute;right:10px;bottom:-26px;font-size:12px;font-weight:700;color:var(--blue-d);background:#fff;padding:3px 9px;border-radius:999px;box-shadow:var(--sh2)}
.banner--my{height:134px;overflow:visible}
.banner--my .banner-char{right:28px;width:118px;height:118px}
.banner--my .bubble-s{right:70px;top:-26px}
.banner--my .bubble-s::after{right:14px;bottom:-4px}
.badges{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.bdg{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:92px;padding:6px 4px 8px;border-radius:16px;text-align:center;background:#F3F6FA;filter:grayscale(1);opacity:.55}
.bdg.on{filter:none;opacity:1}
.bdg img{width:62px;height:56px;object-fit:contain}
.bdg b{display:block;font-size:14.5px;font-weight:800;margin-top:3px}.bdg small{font-size:10.5px;font-weight:500;color:var(--muted)}
.bdg.on.c1{background:#FFF3D2}.bdg.on.c2{background:#FFE7E3}.bdg.on.c3{background:#E3F0FF}.bdg.on.c4{background:#EEE8FF}.bdg.on.c5{background:#E0F7EA}.bdg.on.c6{background:#FFF0DA}
.set-row{display:flex;align-items:center;gap:12px;width:100%;height:58px;margin-top:7px;padding:0 12px 0 10px;border-radius:14px;box-shadow:inset 0 0 0 1.5px #E8EEF6;text-align:left;color:var(--ink2)}
.set-row:first-of-type{margin-top:10px}
.set-row>span:nth-child(2){flex:1;min-width:0}
.set-row b{display:block;font-size:16px;font-weight:800;color:var(--ink)}.set-row small{display:block;font-size:13px;font-weight:500;color:var(--ink2);margin-top:1px}
.set-row>svg{width:18px;height:18px}
.s-ic{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;flex:none}
.s-ic svg.ic{width:22px;height:22px}
.s-ic--blue{background:#EAF3FF}.s-ic--red{background:#FFEAEE}.s-ic--purple{background:#EFEBFF}
.set-row--danger b{color:var(--red)}
.mystat3{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}
.ms{display:flex;align-items:center;gap:8px;height:60px;padding:0 8px;border-radius:16px}
.ms--blue{background:#E8F3FF}.ms--green{background:#E4F7EA}.ms--amber{background:#FFF2DB}
.ms-ic{width:34px;height:34px;border-radius:50%;background:var(--blue);display:grid;place-items:center;flex:none}
.ms-ic svg.ic{width:20px;height:20px}
.ms-ic--plain{background:none}.ms-ic--plain svg.ic{width:34px;height:34px}
.ms small{display:block;font-size:12.5px;font-weight:600;color:var(--ink2)}
.ms b{display:block;font-size:21px;font-weight:800;line-height:1.15}.ms b i{font-style:normal;font-size:15px;font-weight:700}
.source{margin:14px 4px 0;font-size:11.5px;font-weight:500;color:var(--muted);line-height:1.55}

/* ---------- 하단 메뉴·알림·시트 ---------- */
.nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:440px;z-index:30;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;background:rgba(255,255,255,.97);box-shadow:0 -2px 12px rgba(28,72,140,.06);padding:6px 10px calc(6px + env(safe-area-inset-bottom,0px))}
.nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:48px;border-radius:16px;font-size:12px;font-weight:700;color:#4A5B78}
.nav svg{width:25px;height:25px;stroke-width:2}
.nav button[aria-current="true"]{background:var(--blue-l);color:var(--blue-d)}
.nav button[aria-current="true"] svg{fill:var(--blue);stroke:var(--blue)}
.toast{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom,0px));transform:translate(-50%,10px);background:#0E1A3A;color:#fff;font-size:14px;font-weight:700;padding:11px 16px;border-radius:999px;opacity:0;pointer-events:none;transition:.18s;z-index:60;max-width:90vw;text-align:center}
.toast.on{opacity:1;transform:translate(-50%,0)}
.sheet{position:fixed;inset:0;z-index:70;background:rgba(14,26,58,.35);display:flex;align-items:flex-end;justify-content:center}
.sheet-box{width:100%;max-width:440px;background:#fff;border-radius:24px 24px 0 0;padding:20px 16px calc(18px + env(safe-area-inset-bottom,0px))}
.sheet-box h3{margin:0 0 6px;font-size:19px;font-weight:800}.sheet-box p{margin:0 0 14px;font-size:14px;font-weight:500;color:var(--ink2);line-height:1.55}
.sheet-opts{display:grid;gap:8px}
.sheet-opts button{min-height:52px;padding:0 16px;border-radius:14px;background:#F1F6FD;font-size:16px;font-weight:700;text-align:left;display:flex;justify-content:space-between;align-items:center}
.sheet-opts button small{font-size:13px;font-weight:600;color:var(--muted)}
.sheet-opts button[aria-pressed="true"]{background:var(--blue);color:#fff}
.sheet-opts button:disabled{opacity:.55}
.sheet-opts input{width:100%;height:52px;border-radius:14px;border:2px solid var(--line);padding:0 14px;font:inherit;font-size:16px;font-weight:700}
@media (max-width:370px){ .logo b{font-size:26px}.logo small{font-size:11.5px}.level-pill{font-size:13.5px}.tcard b{font-size:15.5px}.tcard small{font-size:11px}.st b{font-size:22px}.word-card{width:76%}.w-main{font-size:28px}.opt{font-size:16px}.tiles{grid-template-columns:repeat(3,76px);gap:10px 14px}.letters span{width:34px} }
@media (prefers-reduced-motion:reduce){ .mic.listening .mic-ring,.play-card.playing .wave i{animation:none} }

/* ===== v2 보정 (시안 대조 2차) ===== */
.screen{padding:0 8px 16px}
.tcard{height:128px;padding:8px 8px 9px 9px}
.t-art{top:7px;width:70px;height:50px}
.t-art--mic{width:40px;height:54px;top:5px}
.tcard b{font-size:16.5px;margin-bottom:2px}
.tcard small{font-size:11px;line-height:1.4;padding-right:0;letter-spacing:-.06em}
.t-go{right:6px;bottom:7px;width:22px;height:22px}
.banner--word{padding-top:46px;height:226px}
.word-card .tag-mini{top:-34px}
.q-ask{font-size:20px;gap:10px;margin:14px 2px 12px}
.ic-q{width:40px!important;height:40px!important}
.type-box{margin-top:10px;padding:10px 12px;border-radius:16px;background:#EDF5FF}
.type-box b{display:flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700}
.type-box b svg.ic{width:18px;height:18px}
.tags{display:flex;gap:6px;margin:8px 0 0 24px;flex-wrap:wrap}
.tg{height:26px;padding:0 12px;border-radius:999px;display:inline-flex;align-items:center;font-size:13px;font-weight:700}
.tg--red{background:#FFE7EA;color:#D9334A}.tg--amber{background:#FFF0C9;color:#A86C00}.tg--blue{background:#DDEEFF;color:var(--blue-d)}
.okdot{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#fff;color:var(--blue);font-size:12px;font-weight:900}
.banner--speak{min-height:384px}
.mic-state{padding:0 96px 0 10px;margin-top:28px;font-size:16px}
.banner--speak .banner-char{right:0;bottom:16px;width:96px;height:100px}
.banner--speak .bubble-s{right:40px;top:-54px}
.tip--yellow p{font-size:14px}
.review-head{margin-top:6px}
.review-head .bubble-s{right:104px;top:6px}
.review-head .bubble-s::after{right:-4px;bottom:12px}
.ring b{font-size:14px!important;letter-spacing:-.03em}
.dr-txt small{display:block;font-size:14.5px;font-weight:700;color:var(--ink)}.dr-txt b{display:block;font-size:28px;font-weight:800;letter-spacing:-.03em;line-height:1.15}
.dr-txt b em{font-style:normal;color:var(--blue)}
.week{height:124px;margin-top:14px}
.donut::before{inset:15px}
.dn-in{display:flex;flex-direction:column;align-items:center;position:relative;z-index:1}
.dn-in small{font-size:12px;font-weight:600;color:var(--ink2)}
.dn-in b{font-size:28px;font-weight:800;line-height:1.1;letter-spacing:-.03em}
.wk-ic{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.75);display:grid;place-items:center}
.wk-ic svg.ic{width:17px;height:17px}
.type4 .wk b{gap:6px}
.rc-ic{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.8);margin-bottom:6px}
.rc-ic svg.ic{width:18px;height:18px}
.reco3 button{height:auto;min-height:106px}
.month-pill::after{content:"";width:7px;height:7px;border-right:2.2px solid var(--ink);border-bottom:2.2px solid var(--ink);transform:rotate(45deg) translateY(-2px);margin-left:2px}
.edit{right:8px;top:8px;bottom:auto;width:28px;height:28px;padding:0;display:grid;place-items:center;border-radius:50%;background:#EEF5FF;box-shadow:none}
.edit svg.ic{width:15px;height:15px}
.banner--my{height:124px;overflow:hidden}
.profile{margin-top:14px;width:186px}
.bdg{height:96px;justify-content:center;gap:2px}
.bdg img{width:66px;height:60px}
.bdg b{font-size:14.5px}
.set-row{height:50px;margin-top:6px}
.set-row b{font-size:15px}.set-row small{font-size:12.5px}
.s-ic{width:34px;height:34px}

.spk-mini{display:inline-grid;place-items:center;width:28px;height:28px;margin:-4px -4px -4px 0;border-radius:50%;color:var(--blue)}
.spk-mini:active{background:var(--blue-l)}
.spk-mini svg.ic{width:17px;height:17px}
.pulse{animation:pls 1.4s ease-in-out infinite}
@keyframes pls{50%{box-shadow:0 0 0 4px rgba(26,132,255,.25)}}
.pat{display:block;margin-top:4px;font-size:12px;font-weight:600;color:var(--ink2)}
.checks li b{color:var(--blue-d);margin-left:2px}

/* 홈: 퀴즈 3칸 */
.mini3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:8px}
.mini{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 9px;border-radius:16px;text-align:left;box-shadow:var(--sh2)}
.mini b{font-size:14px;font-weight:800;letter-spacing:-.05em;margin-top:4px}.mini small{font-size:11px;font-weight:500;color:var(--ink2);letter-spacing:-.05em}
.mini-ic{width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.85);display:grid;place-items:center}.mini-ic svg.ic{width:18px;height:18px}
.mini--pink{background:#FFEFF2}.mini--purple{background:#F1ECFF}.mini--teal{background:#E5F7F4}
/* 공용 퀴즈 카드 */
.qz-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 10px;padding:16px;min-height:76px}
.qz-card b{font-size:24px;font-weight:800;letter-spacing:-.03em;line-height:1.25;word-break:break-word}
.qz-card small{grid-column:1/-1;font-size:14px;font-weight:600;color:var(--ink2)}
.qz-card .blank-mark{display:inline-block;min-width:64px;border-bottom:3px solid var(--blue);color:var(--blue);text-align:center}
.chips .tg-syn{background:#E6F3FF;color:#0D4FA6}.chips .tg-ant{background:#FFEFF1;color:#B4233A}.chips .tg-idi{background:#F1ECFF;color:#4B2FB0}
.chips span small{display:block;font-size:12px;font-weight:600;opacity:.8}
.wk--purple{background:#F1ECFF}.wk--purple .bar i{background:#8E6CFF}.type4 .wk--purple span{color:#5B3FD0}
.wk--teal{background:#E3F6F2}.wk--teal .bar i{background:#2BB5A0}.type4 .wk--teal span{color:#11806F}
.chips span{flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;line-height:1.25}
.chips span small{margin-top:2px}

/* 마이페이지 상단: 말풍선·이름이 잘리지 않게 */
.banner--my{height:142px;overflow:hidden}
.banner--my .banner-char{right:18px;bottom:0;width:104px;height:104px}
.banner--my .bubble-s{right:100px;top:12px;left:auto}
.banner--my .bubble-s::after{right:-4px;left:auto;bottom:12px}
.profile{width:auto;max-width:calc(100% - 140px);min-width:190px;padding-right:42px;margin-top:22px}
.profile>div{min-width:0}
.profile b{max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.edit{top:50%;transform:translateY(-50%);right:8px}
@media (max-width:370px){ .banner--my .bubble-s{display:none} .profile{max-width:calc(100% - 118px)} }
/* 마이페이지 상단 2차: 카드 폭 고정, 말풍선은 배움이 머리 위 한 줄 */
.profile{width:204px;min-width:0;max-width:none}
.banner--my .banner-char{right:14px;bottom:0;width:96px;height:94px}
.banner--my .bubble-s{right:6px;left:auto;top:-40px;white-space:nowrap;padding:5px 10px;font-size:12px}
.banner--my .bubble-s::after{left:50%;right:auto;margin-left:-4px;bottom:-4px}
@media (max-width:370px){ .banner--my .bubble-s{display:block} .profile{width:196px;max-width:none} }
@media (max-width:370px){ .profile{width:210px;gap:9px;padding-right:38px} .profile b{font-size:17.5px} .avatar{width:50px;height:50px} .avatar img{width:44px;height:44px} }
