@font-face{font-family:Pretendard;font-weight:400;src:url(../assets/pretendard-regular.woff2) format('woff2');font-display:swap}
@font-face{font-family:Pretendard;font-weight:700;src:url(../assets/pretendard-bold.woff2) format('woff2');font-display:swap}
@font-face{font-family:Pretendard;font-weight:900;src:url(../assets/pretendard-black.woff2) format('woff2');font-display:swap}
:root{--cream:#FFF8EF;--orange:#FF6A00;--orange-sub:#FF8A1F;--btc:#F7931A; /* Bitcoin asset only */--ink:#1A1714;--muted:#6b645b;--line:#eadfd5;--peach:#fff2e9;--green:#326756;--r:24px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--cream);color:var(--ink);font-family:Pretendard,-apple-system,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;line-height:1.45;letter-spacing:-0.025em;font-size:15px;padding-bottom:120px;word-break:keep-all;overflow-wrap:break-word}
a{color:inherit}img{max-width:100%}
h1,h2,h3,p{margin:0}
.wrap{max-width:860px;margin:0 auto;padding:14px 16px 8px}
.top{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;padding:10px 16px;background:rgba(255,248,239,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.authbar{flex:1 0 100%;display:flex;justify-content:flex-end;padding-top:8px;min-width:0}
.auth-pill{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-height:32px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font:inherit;font-size:12px;font-weight:700;line-height:1.3;text-align:center;cursor:pointer}
.auth-pill.on{justify-content:space-between;padding:4px 4px 4px 12px;cursor:default;text-align:left}
.auth-pill .who{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.auth-pill button{flex:none;border:0;border-radius:999px;background:var(--cream);color:var(--ink);min-height:28px;padding:0 10px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.auth-dialog{position:fixed;inset:0;z-index:50;background:rgba(26,23,20,.4);display:flex;align-items:flex-end;justify-content:center;padding:12px 12px 16px}
.auth-card{position:relative;width:min(420px,100%);max-height:min(86vh,640px);overflow:auto;background:#fff;color:var(--ink);border-radius:24px;padding:22px 20px 18px;box-shadow:0 18px 50px rgba(26,23,20,.16)}
.auth-x{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;border-radius:999px;background:var(--cream);color:var(--ink);font:inherit;font-size:22px;line-height:1;cursor:pointer}
.auth-head{text-align:center;padding:6px 36px 0;margin-bottom:18px}
.auth-seal{width:44px;height:44px;object-fit:contain;padding:8px;border-radius:999px;background:var(--cream);border:1px solid var(--line)}
.auth-card h2{font-size:20px;font-weight:900;letter-spacing:-0.03em;line-height:1.3;margin:12px 0 4px}
.auth-reason,.auth-card .reason{margin:0;color:var(--muted);font-size:14px;line-height:1.4}
.auth-google{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;padding:10px 16px;border:1px solid #747775;border-radius:999px;background:#fff;color:#1F1F1F;font:inherit;font-size:14px;font-weight:700;line-height:1.3;cursor:pointer}
.auth-google .gmark,.auth-kakao .kmark{flex:none;width:18px;height:18px}
.auth-kakao{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;margin-top:8px;padding:10px 16px;border:1px solid #FEE500;border-radius:999px;background:#FEE500;color:#191919;font:inherit;font-size:14px;font-weight:700;line-height:1.3;cursor:pointer}
.auth-tg{display:flex;justify-content:center;margin-top:8px}
.auth-tg:has(iframe) .auth-telegram{display:none}
.auth-telegram{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;padding:10px 16px;border:0;border-radius:12px;background:#2AABEE;color:#fff;font:inherit;font-size:14px;font-weight:700;line-height:1.3;cursor:pointer}
.auth-telegram .tmark{flex:none;width:18px;height:18px}
.farm-record{margin:0 0 14px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:24px}
.farm-record h2{font-size:15px;margin:0 0 8px}
.farm-record p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.farm-record ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.farm-record li{background:var(--cream);border-radius:16px;padding:8px 10px}
.farm-record small{display:block;color:var(--muted);font-size:11px;font-weight:700}
.farm-record b{display:block;margin-top:2px;font-size:14px}
.farm-record button{margin-top:10px;min-height:40px;padding:8px 14px;border:0;border-radius:999px;background:#2AABEE;color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.auth-or{display:flex;align-items:center;gap:12px;margin:16px 0;color:var(--muted);font-size:12px;font-weight:700}
.auth-or::before,.auth-or::after{content:"";flex:1;height:1px;background:var(--line)}
.auth-card label{display:block;margin:0 0 6px;font-size:13px;font-weight:700}
.auth-card input{width:100%;min-height:48px;margin-bottom:12px;border:1.5px solid var(--line);border-radius:16px;background:var(--cream);padding:8px 14px;font:inherit;color:var(--ink)}
.auth-card input:focus{outline:none;border-color:var(--orange);background:#fff}
.auth-card .msg{margin:0 0 12px;color:var(--muted);font-size:13px;line-height:1.4}
.auth-send{width:100%;margin-top:4px}
.auth-quiet{display:block;width:100%;margin-top:8px;padding:8px;border:0;background:none;color:var(--muted);font:inherit;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.auth-x:focus-visible,.auth-pill:focus-visible,.auth-pill button:focus-visible,.auth-google:focus-visible,.auth-kakao:focus-visible,.auth-telegram:focus-visible,.farm-record button:focus-visible,.auth-quiet:focus-visible{outline:3px solid #AB440B;outline-offset:2px}
@media(max-width:719px){.auth-pill{width:100%}}
@media(min-width:720px){
  .top:has(.authbar){justify-content:flex-start;gap:8px}
  .top:has(.authbar) .brand{margin-right:auto}
  .authbar{flex:0 1 auto;order:2;padding-top:0}
  .top:has(.authbar) .top-r{order:3}
  .auth-pill{white-space:nowrap}
  .auth-dialog{align-items:center;padding:24px}
}
.brand{display:flex;gap:9px;align-items:center;text-decoration:none}.brand span{display:flex;flex-direction:column;line-height:1.15}.brand b{font-weight:900;font-size:15px}.brand i{font-style:normal;font-size:10px;color:var(--muted);letter-spacing:.08em}
.top-r{display:flex;gap:8px;align-items:center}
.chip{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:3px 11px;font-size:12px;font-weight:700;white-space:nowrap}
.chip.xp{background:var(--peach);border-color:#f6d3b9}
.lang{border:1px solid var(--ink);background:var(--ink);color:var(--cream);border-radius:999px;min-width:44px;height:32px;font:inherit;font-weight:700;font-size:12px;cursor:pointer}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:10px 18px;border:1.5px solid var(--ink);background:#fff;color:var(--ink);border-radius:999px;font:inherit;font-weight:700;font-size:14px;text-decoration:none;cursor:pointer}
.btn.pri{background:var(--orange);border-color:var(--orange);color:#fff}.btn.danger{border-color:#b54b30;color:#b54b30}
.btn:focus-visible,.opt:focus-visible,input:focus-visible,.tabs a:focus-visible,.node a:focus-visible,.lang:focus-visible{outline:3px solid #AB440B;outline-offset:2px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px}
.tiny{font-size:11.5px;color:var(--muted);line-height:1.6}
.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:700;color:var(--orange)}
h1,h2,h3,.lec-h h1,.ntxt b,.feat-rec h2,.gate-hero h1{word-break:keep-all;text-wrap:balance;overflow-wrap:break-word}
h1{font-size:26px;font-weight:900;letter-spacing:-0.025em;line-height:1.25;margin:6px 0 10px}h2{font-size:19px;font-weight:900;letter-spacing:-0.025em;line-height:1.28}h3{letter-spacing:-0.025em;line-height:1.28}
/* hero */
.hero{display:flex;flex-direction:column;align-items:center;gap:6px;background:linear-gradient(180deg,#fff2e9,#fff);padding:18px 16px;text-align:left;overflow:hidden}
.hero-art{display:flex;justify-content:center;align-items:flex-end;height:190px}.hero-art img{height:190px;width:auto;object-fit:contain;filter:drop-shadow(0 12px 14px rgba(26,23,20,.18))}
.hero-txt{width:100%}.hero-txt h1{margin-top:2px}
.bubble{position:relative;background:#fff;border:1.5px solid var(--ink);border-radius:18px;padding:12px 15px;font-size:14.5px;line-height:1.65;flex:1;box-shadow:3px 3px 0 var(--ink)}
.bubble .who{display:block;font-size:11px;color:var(--orange);letter-spacing:.04em;margin-bottom:2px}
.bubble.big{margin:8px 0 12px;font-size:15px}
.bubble.big::before{content:"";position:absolute;left:46px;top:-9px;width:14px;height:14px;background:#fff;border-left:1.5px solid var(--ink);border-top:1.5px solid var(--ink);transform:rotate(45deg)}
.hero-cta{display:flex;gap:8px;flex-wrap:wrap}
.prof{display:flex;gap:10px;align-items:flex-end;margin:14px 0}
.prof-img{height:150px;width:auto;object-fit:contain;object-position:center;border-radius:0;background:transparent;flex:none}
.prof .bubble::before{content:"";position:absolute;left:-8px;bottom:26px;width:14px;height:14px;background:#fff;border-left:1.5px solid var(--ink);border-bottom:1.5px solid var(--ink);transform:rotate(45deg)}
.prof.intro .prof-img,.prof.cheer .prof-img{height:190px}
.hook{display:inline-block;margin-top:5px;color:var(--green);font-weight:700}
/* stats */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}
.stat{padding:14px}.stat:first-child{grid-column:1/-1}
.stat .lvl{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;color:var(--muted)}.stat .lvl b{font-size:18px;color:var(--ink);font-weight:900}
.bar{height:10px;border-radius:999px;background:var(--peach);overflow:hidden;margin:8px 0 4px;border:1px solid #f6d3b9}.bar i{display:block;height:100%;background:var(--orange);border-radius:999px;transition:width .4s}
.bar.big{height:16px;margin:14px 0 4px}
.stat small{color:var(--muted);font-size:11.5px}
.stat.mini{text-align:center}.stat.mini b{font-size:22px;font-weight:900;display:block;line-height:1.2}.stat.mini em{font-style:normal;font-size:12px;color:var(--muted);font-weight:400}
.stats:has(.mini:nth-child(4)){grid-template-columns:repeat(2,1fr)}.stats:has(.mini:nth-child(4)) .stat:first-child{grid-column:auto}
/* map */
.map-h{margin:22px 0 8px}.map-h p{color:var(--muted);font-size:13px}
.sem{margin:18px 0 26px}.sem-h{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px}.sem-h h2{font-size:18px}.sem-h p{font-size:12.5px;color:var(--muted)}
.sem-lock .depts{opacity:.82}
.depts{display:grid;gap:12px}
.dept{background:var(--c);border:1px solid rgba(26,23,20,.1);border-radius:var(--r);padding:14px}
.dept-h{display:flex;gap:12px;align-items:center;margin-bottom:10px}.dept-h img{width:54px;height:54px;object-fit:contain;flex:none;background:#fff8;border-radius:16px;padding:5px}
.dept-h small{font-weight:700;color:#4a443d;font-size:11px;letter-spacing:.05em}.dept-h h3{font-size:17px;font-weight:900;line-height:1.25}.dept-h p{font-size:12px;color:#4a443d;line-height:1.4}
.path{list-style:none;margin:0;padding:0 0 0 14px;position:relative}
.path::before{content:"";position:absolute;left:30px;top:20px;bottom:20px;border-left:2.5px dashed rgba(26,23,20,.25)}
.node{position:relative;margin:7px 0}
.node a{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:8px 10px 8px 8px;text-decoration:none;min-height:60px}
.node.done a{border-color:var(--green)}.node.locked a{background:#ffffffaa;opacity:.72}
.dot{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:#fff;font-weight:900;font-size:13px;z-index:1;margin-left:-22px;border:3px solid var(--cream)}
.node.done .dot{background:var(--green)}.node.open .dot{background:var(--orange)}.node.locked .dot{background:#9a9189;font-size:12px}
.thumb{width:56px;height:38px;object-fit:cover;object-position:50% 20%;border-radius:10px;flex:none;border:1px solid var(--line);background:#f6f4fb}
.ntxt{flex:1;min-width:0}.ntxt small{display:block;font-size:10.5px;color:var(--muted);letter-spacing:.03em}.ntxt b{display:block;font-size:13.5px;line-height:1.3;font-weight:700}
.st{flex:none;font-size:11px;font-weight:900;padding:3px 9px;border-radius:999px;background:var(--peach);color:#ab440b}.st.ok{background:var(--green);color:#fff;font-size:12px}.st.lock{background:#eee;color:#666}
/* lecture */
.back{display:inline-block;margin:4px 0 8px;font-size:13px;color:var(--muted);text-decoration:none}
.lec-h{background:var(--c);border-radius:var(--r);padding:16px 18px}.lec-h small{font-weight:700;color:#4a443d;font-size:11.5px}.lec-h h1{margin:4px 0 6px}.lec-h p{font-size:13.5px;color:#3d3832}
.sec{margin:14px 0}.sec-t{display:flex;gap:9px;align-items:center;margin-bottom:10px}.num{width:26px;height:26px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-weight:900;font-size:13px}
.lesson{display:flex;gap:10px;align-items:flex-start}.lesson p{margin-bottom:9px}.mini-prof{width:60px;height:auto;flex:none;align-self:flex-start;margin-top:4px}
.analogy,.take{border-radius:16px;padding:11px 14px;font-size:14px;margin-top:8px}.analogy{background:var(--peach)}.take{background:#e7f1ec;border-left:4px solid var(--green)}
.lab-title{font-size:16px}.mission{font-size:13.5px;color:var(--green);font-weight:700;margin:3px 0 10px}
.lab{background:#f7f4ec;border:1px solid #e2d9ce;border-radius:18px;padding:10px;text-align:center;overflow:hidden;margin-bottom:8px;--ink:#1A1714}
.lab-img{width:100%;aspect-ratio:965/330;object-fit:cover;object-position:50% 5%;border-radius:12px;margin-bottom:10px;display:block;background:#f6f4fb}
.lab>.btn{margin:0 0 4px}
.lab .mx-stage{text-align:left}
/* quiz */
.qhead{display:flex;gap:8px;margin-bottom:8px}.q{font-size:17px;line-height:1.5;margin:6px 0 12px;font-weight:700}.q-prof{float:right;height:92px;width:auto;margin:0 0 6px 8px}
.opts{display:grid;gap:9px}
.opt{display:flex;gap:11px;align-items:center;text-align:left;min-height:52px;padding:10px 14px;border:1.5px solid var(--line);border-radius:16px;background:#fff;font:inherit;font-size:14.5px;cursor:pointer;color:var(--ink)}
.opt span{flex:none;width:26px;height:26px;border-radius:50%;background:var(--peach);display:grid;place-items:center;font-weight:900;font-size:12px}
.opt:hover:not(:disabled){border-color:var(--orange);background:var(--peach)}
.opt.right{border-color:var(--green);background:#e7f1ec}.opt.right span{background:var(--green);color:#fff}
.opt.wrong{border-color:#b54b30;background:#fbece8;opacity:.85}.opt.wrong span{background:#b54b30;color:#fff}
.opt:disabled{cursor:default}
.fb{display:flex;gap:10px;align-items:center;border-radius:16px;padding:10px 12px;margin:12px 0 6px;font-size:13.5px}
.fb img{height:72px;width:auto;flex:none}.fb p{margin-top:3px;color:#3d3832}.fb.good{background:#e7f1ec}.fb.bad{background:#fbece8}
.ta{display:flex;gap:8px;align-items:center;font-size:12.5px;margin:4px 0 12px;color:#6b3a28}.ta img{height:96px;width:auto;object-fit:contain}.ta b{color:#b54b30;margin-right:4px}
.concept{margin:8px 0 0;padding:8px 10px;background:#FFF4E8;border-radius:10px;font-size:13.5px;line-height:1.45;color:#3d3832}
.gs-cmp{display:block;margin-top:4px;font-size:12px;font-weight:700;color:#3d3832;line-height:1.4}
.result .grade{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}.g{background:var(--peach);border-radius:16px;text-align:center;padding:10px 4px}.g small{display:block;font-size:11px;color:var(--muted)}.g b{font-size:22px;font-weight:900}
.unlock{background:#e7f1ec;border-radius:14px;padding:10px 14px;font-size:13.5px;margin-bottom:10px}.unlock a{font-weight:700;color:var(--green)}
.res-cta{display:flex;gap:8px;flex-wrap:wrap}
.locked-card{text-align:center}.locked-card .prof{justify-content:center}.locked-card .btn{margin-top:12px}
/* ID */
.idwrap h1{margin-bottom:12px}
.idcard{max-width:420px;margin:0 auto 16px;background:linear-gradient(160deg,#fff 0%,#fff2e9 100%);border:2px solid var(--ink);border-radius:24px;padding:16px;position:relative;overflow:hidden;box-shadow:6px 6px 0 var(--ink)}
.idc-top{display:flex;gap:10px;align-items:center;border-bottom:2px solid var(--orange);padding-bottom:10px;margin-bottom:12px}.idc-top b{display:block;font-weight:900;letter-spacing:.06em;font-size:15px}.idc-top small{font-size:11px;color:var(--muted)}
.idc-body{display:flex;gap:14px}.photo{flex:none;width:96px;height:120px;border-radius:14px;background:#EEDFCB;border:2px solid var(--ink);overflow:hidden;display:flex;align-items:flex-end;justify-content:center}.photo img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.info{min-width:0;flex:1}.info h2{font-size:20px;margin-bottom:6px;word-break:break-word}.info dl{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;margin:0;font-size:12.5px}.info dt{color:var(--muted)}.info dd{margin:0;font-weight:700}
.idc-stats{display:grid;grid-template-columns:repeat(4,1fr);text-align:center;gap:6px;margin:14px 0 10px}.idc-stats div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:6px 2px}.idc-stats b{display:block;font-size:16px;font-weight:900}.idc-stats small{font-size:10.5px;color:var(--muted)}
.barcode{display:flex;gap:2px;height:34px;align-items:stretch;margin-right:80px}.barcode i{background:var(--ink);display:block}
.idc-prof{position:absolute;right:6px;bottom:0;height:98px;width:auto}
.nameform label{font-weight:700;font-size:14px;display:block;margin-bottom:8px}.row{display:flex;gap:8px;flex-wrap:wrap}
input[type=text],input:not([type]){flex:1;min-width:160px;min-height:46px;border:1.5px solid var(--line);border-radius:14px;padding:8px 14px;font:inherit;background:#fff;color:var(--ink)}
.err{display:block;color:#b54b30;font-weight:700;min-height:0;margin-top:6px}
/* transcript */
.tsem{margin:12px 0;padding:14px}.tsem h2{font-size:16px;margin-bottom:8px}.tscroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;font-size:11px;color:var(--muted);border-bottom:2px solid var(--line);padding:5px 6px}td{padding:7px 6px;border-bottom:1px solid var(--line);vertical-align:top}td small{display:block;color:var(--muted);font-size:11px}td a{font-weight:700;text-decoration:none}tr.dim{opacity:.55}
.settings{margin-top:16px;display:grid;gap:12px}.switch{display:flex;gap:10px;align-items:center;font-size:14px}.switch input{width:20px;height:20px;accent-color:var(--orange)}
/* diploma */
.diploma{position:relative;background:var(--cream);border:6px solid var(--orange);outline:2px solid var(--ink);outline-offset:-14px;border-radius:12px;padding:30px 20px 24px;margin:12px 0;overflow:hidden;box-shadow:0 14px 30px rgba(26,23,20,.12)}
.dp-in{position:relative;z-index:1;max-width:64%}
.dp-logo{display:block;margin-bottom:8px}.dp-eyebrow{display:block;color:var(--orange);font-weight:700;font-size:10px;letter-spacing:.06em}
.diploma h2{font-size:32px;font-weight:900;line-height:1.1;margin:4px 0 8px}.diploma h2 i{display:block;font-style:normal;font-size:11px;color:var(--muted);letter-spacing:.15em;margin-top:3px}
.dp-lead{font-size:11.5px;line-height:1.6;color:#3d3832}
.dp-name{font-size:30px;font-weight:900;border-bottom:3px solid var(--orange);margin:14px 0 6px;padding-bottom:2px;word-break:break-word;line-height:1.2}
.dp-honor{font-size:12.5px;font-weight:700}.dp-honor b{color:var(--orange)}
.dp-row{display:flex;gap:14px;flex-wrap:wrap;margin:10px 0}.dp-row small{display:block;font-size:10px;color:var(--muted)}.dp-row b{font-size:12px}
.dp-sign{margin-top:12px}.sig{display:block;font-family:"Snell Roundhand","Brush Script MT",cursive;font-style:italic;font-weight:700;font-size:30px;border-bottom:1.5px solid var(--ink);width:auto;min-width:150px;max-width:70%;white-space:nowrap;word-break:normal;overflow-wrap:normal;letter-spacing:0}.dp-sign small{font-size:10px;color:var(--muted)}
.dp-id{display:block;font-family:monospace;font-size:9px;color:var(--muted);margin-top:8px;word-break:break-all}.dp-disc{display:block;font-size:9.5px;color:var(--muted)}
.dp-prof{position:absolute;right:8px;bottom:8px;width:clamp(120px,32%,220px);height:auto;aspect-ratio:1;object-fit:contain;object-position:center;border-radius:0;background:transparent}
.dl{margin:12px 0}
/* footer / tabs */
.foot{max-width:860px;margin:18px auto 0;padding:14px 16px;font-size:12px;color:var(--muted);border-top:1px solid var(--line);line-height:1.45}.foot p+p{margin-top:5px}.foot b{color:var(--ink)}
.tabs{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;justify-content:center;background:rgba(255,255,255,.96);border-top:1px solid var(--line);padding:0;backdrop-filter:blur(8px)}
.tabs-inner{width:100%;max-width:860px;display:flex;justify-content:center;gap:0;padding:6px 16px calc(6px + env(safe-area-inset-bottom));box-sizing:border-box}
.tabs a{flex:1;max-width:150px;display:flex;flex-direction:column;align-items:center;gap:0;font-size:11px;font-weight:700;color:var(--muted);text-decoration:none;padding:3px 4px;border-radius:14px;min-height:48px;justify-content:center}.tabs a span{font-size:19px;line-height:1.2}.tabs a.on{color:var(--orange);background:var(--peach)}
@media(min-width:720px){
 body{font-size:16px}.wrap{padding-top:22px}
 .hero{flex-direction:row;align-items:center;gap:22px;padding:22px 26px}.hero-art{height:290px;flex:none}.hero-art img{height:290px}.hero-txt{flex:1}
 .stats{grid-template-columns:2fr 1fr 1fr 1fr}.stat:first-child{grid-column:auto}.stats:has(.mini:nth-child(4)){grid-template-columns:repeat(4,1fr)}
 .depts{grid-template-columns:1fr 1fr;align-items:start}
 .idc-prof{height:118px}
 .dp-in{max-width:62%}.diploma{padding:44px 40px 34px}.diploma h2{font-size:46px}.dp-lead{font-size:14px}.dp-name{font-size:44px}.dp-honor{font-size:15px}.dp-row b{font-size:14px}.sig{font-size:40px}
}
@media print{.top,.tabs,.foot,.back,.dl,.nameform{display:none!important}body{background:#fff}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.dp-eyebrow{font-size:9px;letter-spacing:0}
.barcode{height:58px}.idc-prof{height:82px}
@media(min-width:720px){.idc-prof{height:96px}.dp-eyebrow{font-size:11px}}

/* University onboarding + REC101 video */
.gate{max-width:720px;margin:24px auto 40px;padding:0 8px}
.gate-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 20px 24px;background:linear-gradient(180deg,#fff2e9,#fff)}
.gate-hero img.photo{width:140px;height:140px;object-fit:contain;object-position:center;border-radius:0;border:0;background:transparent;box-shadow:none;overflow:visible;margin-bottom:8px}
.gate-steps{display:grid;gap:10px;margin:14px 0 18px}
.gate-steps article{display:flex;gap:12px;align-items:flex-start;text-align:left;padding:12px 14px;border:1px solid #e2d9ce;border-radius:16px;background:#fff}
.gate-steps .num{flex:0 0 28px;height:28px;border-radius:50%;background:#FF6A00;color:#fff;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center}
.gate-steps h3{margin:0 0 2px;font-size:15px}
.gate-steps p{margin:0;font-size:13px;color:#6b645b}
.gate-steps small{display:block;color:#8a8278;font-size:11px;margin-top:2px}
.lec-video{margin:0 0 16px;background:#1A1714;border-radius:18px;overflow:hidden;text-align:center}
.lec-video video{width:min(100%,420px);height:auto;max-height:70vh;background:#000;display:block;margin:0 auto;aspect-ratio:9/16}
.lec-video figcaption{background:#fff8ef;color:#4a453f;font-size:12.5px;line-height:1.45;padding:10px 14px 12px;text-align:left}
.lec-video figcaption b{display:block;color:#1A1714;font-size:13.5px;margin-bottom:2px}
.feat-rec{display:flex;gap:14px;align-items:center;padding:12px}
.feat-rec img{width:92px;height:92px;object-fit:contain;border-radius:16px;background:#fff2e9;flex:0 0 auto}
.feat-rec h2{margin:0 0 4px;font-size:18px}
.feat-rec p{margin:0 0 8px;font-size:13.5px;color:#6b645b}
.back-museum{font-size:12.5px;color:#6b645b}
.muse-sync{font-size:12.5px;color:#3d6b45;background:#eef6ee;border-radius:12px;padding:8px 12px;margin:8px 0}
.photo-prof{width:84px;height:84px;object-fit:cover;border-radius:50%;border:2px solid #fff;box-shadow:0 4px 10px rgba(26,23,20,.15)}
@media(min-width:720px){
  .gate-hero{flex-direction:row;text-align:left;gap:24px;align-items:center}
  .lec-video video{width:min(100%,360px)}
}

.why{font-size:14.5px;line-height:1.45;margin:6px 0 0}
.why b{display:block;font-size:12px;color:var(--orange);margin-bottom:2px}
.learned{margin:10px 0 6px}
.idc-prof{pointer-events:none;z-index:0}
.idc-body,.idc-stats,.idc-top,.barcode{position:relative;z-index:1}
.diploma .dp-in{padding-right:8px}
.dp-prof{z-index:0;pointer-events:none}
.q-prof{max-width:28%;height:auto}
@media(max-width:719px){
  .dp-in{max-width:70%}
  .dp-prof{width:clamp(120px,34%,160px);height:auto;max-width:none;max-height:none}
  .idc-prof{height:72px}
}

/* ===== Quest MVP: mission-first lecture, ETH swap sandbox, EasyBoy reactions ===== */
.st.feat{background:var(--orange);color:#fff}
.next-mission{margin:14px 0;border:2px solid var(--ink);box-shadow:5px 5px 0 var(--ink);background:linear-gradient(180deg,var(--c,#fff2e9) 0%,#fff 70%)}
.nm-h{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.nm-body{display:flex;gap:12px;align-items:flex-start}.nm-body h2{font-size:21px;margin-bottom:4px}.nm-body p{font-size:13.5px;color:#3d3832}
.nm-thumb{width:92px;height:64px;object-fit:cover;object-position:50% 20%;border-radius:14px;border:1px solid var(--line);flex:none;background:#f6f4fb}
.nm-steps{list-style:none;display:flex;flex-wrap:wrap;gap:5px;margin:8px 0 0;padding:0;counter-reset:nm}
.nm-steps li{counter-increment:nm;font-size:11.5px;font-weight:700;background:#fff;border:1px solid var(--line);border-radius:999px;padding:2px 9px 2px 4px}
.nm-steps li::before{content:counter(nm);display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--ink);color:#fff;font-size:10px;margin-right:4px}
.nm-cta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:4px}
.ta.eb{background:#fff4ee;border:1.5px solid #f2c9b5;border-radius:16px;padding:8px 12px;margin:10px 0;color:#5a2f20;font-size:13.5px;line-height:1.5}
.ta.eb img{height:58px;width:auto;flex:none}
.ta.eb.success{background:#e7f1ec;border-color:#a9cdbd;color:#1f4a3c}.ta.eb.success b{color:var(--green)}
.ta.eb.big img{height:84px}.ta.eb.big{font-size:15px}
.ta.eb.stuck{background:#fbece8;border-color:#e8b5a6}
.ta.eb.comeback{background:#eef1fb;border-color:#bfc8e8;color:#28345a}.ta.eb.comeback b{color:#3e57a8}
.sub-title{font-size:12.5px;color:#4a443d;font-weight:700}
.mission-do{font-size:16.5px;font-weight:700;line-height:1.5}
.real{margin:8px 0 2px;background:var(--peach);border-radius:14px;padding:9px 12px;font-size:13.5px}.real b{display:block;font-size:11.5px;color:var(--orange)}
.prof.brief{margin:12px 0 4px}.prof.brief .prof-img,.prof.one .prof-img{height:118px}
.stuck-row{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px dashed var(--line)}
.stuck-btn{border-color:#b54b30;color:#b54b30}.stuck-btn[aria-expanded="true"]{background:#fbece8}
.theory{margin-top:10px}.theory[hidden]{display:none}
.more{margin-top:8px;border:1px solid var(--line);border-radius:16px;padding:8px 12px;background:#fffdfa}.more summary,.more-lab summary{cursor:pointer;font-weight:700;font-size:13.5px;min-height:32px;display:list-item}
.more[open] summary{margin-bottom:8px}
.more-lab{margin:12px 0 4px;border:1px solid var(--line);border-radius:16px;padding:8px 12px}.more-lab[open] summary{margin-bottom:6px}
.real-stage{font-size:12.5px;color:var(--muted);background:#f4f1ec;border-radius:12px;padding:8px 12px;margin-top:8px}
.q-wait{background:#f4f1ec;border-radius:14px;padding:12px 14px;font-size:14px;color:#4a443d}
/* swap sandbox */
.swap{max-width:440px;margin:0 auto;background:#fff;border:2px solid var(--ink);border-radius:24px;padding:14px;box-shadow:4px 4px 0 var(--ink)}
.sw-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.sw-badge{display:inline-flex;align-items:center;gap:4px;background:#FFE7D4;color:#9b3b00;border:1px dashed #ff9c5c;border-radius:999px;padding:3px 10px;font-size:11.5px;font-weight:900}
.sw-wallet{font-size:11.5px;color:var(--muted);font-family:ui-monospace,monospace}
.sw-bal{display:flex;gap:10px;align-items:baseline;font-weight:900;font-size:14px;margin-bottom:8px}.sw-bal small{color:var(--muted);font-weight:400;font-size:11px;margin-left:auto}
.sw-steps{list-style:none;padding:0;margin:0 0 10px;display:grid;grid-template-columns:repeat(5,1fr);gap:4px}
.sw-steps li{font-size:10.5px;line-height:1.25;text-align:center;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:3px}
.sw-steps li span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#eee;color:#777;font-weight:900;font-size:11px}
.sw-steps li.cur{color:var(--ink);font-weight:700}.sw-steps li.cur span{background:var(--orange);color:#fff}
.sw-steps li.ok span{background:var(--green);color:#fff}.sw-steps li.ok{color:var(--green)}
.sw-box{background:#f7f4ec;border:1px solid #e2d9ce;border-radius:18px;padding:10px 12px}
.sw-row{display:flex;justify-content:space-between;align-items:center;gap:8px}
.sw-amt{flex:1;min-width:0;border:0;background:transparent;font:inherit;font-size:28px;font-weight:900;color:var(--ink);padding:4px 0;outline:none}
.sw-amt:focus-visible{outline:3px solid #AB440B;outline-offset:2px;border-radius:8px}
.sw-out{font-size:28px;font-weight:900;padding:4px 0}
.tok{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:5px 11px 5px 6px;font-weight:900;font-size:14px;flex:none}
.sw-arrow{width:34px;height:34px;margin:-6px auto;position:relative;z-index:1;display:grid;place-items:center;background:#fff;border:2px solid var(--ink);border-radius:12px;font-weight:900}
.sw-info{margin-top:10px;border:1px solid var(--line);border-radius:16px;padding:8px 12px;font-size:13px}
.sw-info div{display:flex;justify-content:space-between;gap:8px;padding:3px 0}.sw-info span{color:var(--muted)}.sw-info b{text-align:right}
.sw-slip{margin-top:10px;background:var(--peach);border:1.5px solid var(--orange);border-radius:16px;padding:10px 12px}
.sw-slip .tiny{margin:2px 0 8px}
.sw-seg{display:flex;gap:6px;margin-bottom:10px}.sw-seg button{flex:1;min-height:42px;border:1.5px solid var(--ink);border-radius:12px;background:#fff;font:inherit;font-weight:900;cursor:pointer;color:var(--ink)}
.sw-seg button.on{background:var(--ink);color:#fff}
.btn.sm{min-height:40px;padding:8px 14px;font-size:13px}
.sw-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.sw-actions .btn.pri{flex:1}
.btn:disabled{opacity:.45;cursor:not-allowed}
.sw-hint{margin-top:6px;color:#ab440b;font-weight:700}
.sw-fail{margin-top:10px;background:#fbece8;border:1.5px solid #b54b30;border-radius:14px;padding:9px 12px;font-size:13.5px;color:#7a2d1a}
.sw-receipt{background:#e7f1ec;border:1.5px solid var(--green);border-radius:16px;padding:10px 12px;font-size:13.5px}
.sw-receipt dl{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;margin:6px 0}.sw-receipt dt{color:var(--muted)}.sw-receipt dd{margin:0;font-weight:900;text-align:right}
.sw-confirm{margin-top:10px}.sw-confirm label{display:block;font-weight:700;font-size:13.5px;margin-bottom:6px}
.sw-done{background:#e7f1ec;border-radius:16px;padding:12px;font-size:13.5px}.sw-done b{font-size:16px;color:var(--green)}.sw-done p{margin:4px 0 10px}
.sw-note{margin-top:10px}
.result .grade{grid-template-columns:repeat(4,1fr)}
@media(min-width:720px){.nm-thumb{width:150px;height:100px}.nm-body h2{font-size:24px}}
.swap input.sw-amt{border:0;background:transparent;min-height:0;padding:4px 0;border-radius:8px;min-width:0;font-size:28px;font-weight:900}
.result .prof.cheer .prof-img{height:130px}
.swap input.sw-amt:not([readonly]){border-bottom:2px dashed #d4c6b7;border-radius:0}
.q-prof{height:110px;width:auto;max-width:28%;object-fit:contain}@media(min-width:720px){.q-prof{height:140px}}

/* ===== QA layout fixes 2026-11-12 ===== */
/* Professor + speech bubble: never let the bubble stretch across the whole card on wide screens */
.prof{min-width:0}.prof .bubble{min-width:0}
@media(min-width:720px){
  .prof .bubble{flex:0 1 auto;max-width:560px}
  .prof-img{height:176px}
  .prof.brief .prof-img,.prof.one .prof-img{height:150px}
  .prof.intro .prof-img,.prof.cheer .prof-img{height:220px}
}
/* Locked cards (diploma progress, locked lecture): centered figure + bubble, progress label above bar, CTA on its own row */
.locked-card{display:flex;flex-direction:column;align-items:stretch}
.locked-card .prof{justify-content:center;align-self:center;max-width:100%}
.locked-card .bubble{text-align:left}
.locked-card .prof .prof-img{height:180px}
@media(min-width:720px){.locked-card{padding:26px 28px}.locked-card .prof .prof-img{height:230px}.locked-card .prof .bubble{max-width:480px}}
.dp-progress{width:100%;max-width:520px;margin:8px auto 0}
.dp-prog-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px;color:var(--muted);font-weight:700}
.dp-prog-h b{font-size:20px;font-weight:900;color:var(--ink)}
.dp-progress .bar.big{margin:6px 0 0}
.locked-cta{display:flex;justify-content:center;margin-top:16px}
.locked-card .locked-cta .btn,.locked-card>.btn{margin-top:0}
.locked-card>.btn{align-self:center;margin-top:12px}
.locked-card>.tiny{text-align:center}
/* Diploma: break names at spaces only (no "테스/트"), keep the signature underline as wide as the signature */
.dp-name{word-break:keep-all;overflow-wrap:anywhere}
.sig{width:max-content;max-width:100%}
/* Header: keep brand + Museum link on one line on small phones (EN especially) */
.brand b,.back-museum,.chip{white-space:nowrap}
.brand{min-width:0}
@media(max-width:430px){
  .top{padding:8px 12px;gap:8px}.top-r{gap:6px}.brand{gap:7px}.brand img{width:24px;height:24px}
  .brand b{font-size:14px}.chip{padding:3px 8px;font-size:11.5px}.back-museum{font-size:12px}.lang{min-width:40px;height:30px}
}
@media(max-width:374px){.brand i{display:none}}
/* Small character avatars that rendered too tiny */
.fb img{height:84px}
.idc-prof{height:86px}
@media(min-width:720px){.idc-prof{height:110px}}
.locked-card .prof{align-items:center}.locked-card .prof .bubble::before{bottom:auto;top:calc(50% - 7px)}

/* ===== Student ID v2: tiered, shareable card ===== */
.sid-h{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.sid-h h1{margin-bottom:6px}
.sid-stage{perspective:1100px;max-width:400px;margin:4px auto 14px}
.sid{--mx:28%;--my:18%;--rx:0deg;--ry:0deg;--ink2:var(--ink);--sub2:var(--muted);--tile:rgba(255,255,255,.78);--acc:var(--orange);--edge:var(--ink);
  position:relative;border-radius:26px;border:2px solid var(--edge);overflow:hidden;color:var(--ink2);box-shadow:6px 6px 0 var(--edge);
  background:linear-gradient(160deg,#fff 0%,#fff2e9 100%);transform:rotateX(var(--rx)) rotateY(var(--ry));transform-style:preserve-3d;transition:transform .5s cubic-bezier(.2,.8,.2,1),box-shadow .3s;touch-action:pan-y;isolation:isolate}
.sid.live{transition:transform .08s linear}
.sid-in{position:relative;z-index:2;padding:22px 16px 14px}
.sid-fx,.sid-glare{position:absolute;inset:0;pointer-events:none;z-index:1}
.sid-glare{background:radial-gradient(circle at var(--mx) var(--my),rgba(255,255,255,.55),rgba(255,255,255,0) 45%);mix-blend-mode:soft-light;opacity:.0;transition:opacity .3s}
.sid.live .sid-glare{opacity:1}
.sid-slot{position:absolute;top:9px;left:50%;width:62px;height:9px;margin-left:-31px;border-radius:9px;background:rgba(26,23,20,.16);box-shadow:inset 0 1px 2px rgba(0,0,0,.25);z-index:3}
.sid-top{display:flex;gap:9px;align-items:center;padding-bottom:9px;border-bottom:2px solid var(--acc);margin-bottom:12px}
.sid-top b{display:block;font-weight:900;letter-spacing:.06em;font-size:14px;white-space:nowrap}.sid-top small{display:block;font-size:10.5px;color:var(--sub2);letter-spacing:.08em;font-weight:700}
.sid-hero{display:flex;gap:13px;align-items:stretch}
.sid-photo{flex:none;width:96px;height:124px;border-radius:16px;border:2px solid var(--edge);overflow:hidden;background:#EEDFCB}
.sid-photo img{width:100%;height:100%;object-fit:contain;object-position:center bottom}
.sid-who{min-width:0;flex:1}
.sid-tier{display:inline-flex;align-items:center;gap:5px;background:var(--ink);color:#FFF8EF;border-radius:999px;padding:3px 10px;font-size:11.5px;font-weight:900;white-space:nowrap;max-width:100%}
.sid-tier i{font-style:normal;font-size:9.5px;letter-spacing:.14em;opacity:.75}
.sid-who h2{font-size:22px;font-weight:900;line-height:1.15;margin:6px 0 1px;word-break:keep-all;overflow-wrap:anywhere}.sid-who h2.ph{color:var(--sub2);font-size:17px}
.sid-who code{font-family:ui-monospace,Menlo,monospace;font-size:11.5px;color:var(--sub2);font-weight:700;letter-spacing:.04em}
.sid-who dl{display:grid;grid-template-columns:auto 1fr;gap:2px 9px;margin:7px 0 0;font-size:12px}.sid-who dt{color:var(--sub2)}.sid-who dd{margin:0;font-weight:700;min-width:0;overflow-wrap:anywhere}
.sid-say{display:flex;gap:8px;align-items:flex-start;margin:12px 0 0;background:var(--tile);border-radius:14px;padding:8px 10px;font-size:12.5px;line-height:1.45}
.sid-say img{width:26px;height:26px;border-radius:50%;object-fit:cover;object-position:50% 10%;background:var(--acc);flex:none}
.sid-say b{color:var(--acc);font-weight:900;margin-right:3px}
.sid-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0 0}
.sid-stats div{background:var(--tile);border-radius:14px;padding:8px 4px 7px;text-align:center;min-width:0}
.sid-stats b{display:block;font-size:24px;font-weight:900;line-height:1.05;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.sid-stats em{font-style:normal;font-size:12px;color:var(--sub2);font-weight:700;margin-left:1px}
.sid-stats small{display:block;font-size:10.5px;color:var(--sub2);font-weight:700;margin-top:3px;white-space:nowrap}
.sid-next{margin:10px 0 0}.sid-bar{height:8px;border-radius:9px;background:rgba(26,23,20,.12);overflow:hidden}.sid-bar i{display:block;height:100%;background:var(--acc);border-radius:9px}
.sid-next small{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--sub2);font-weight:700;margin-top:4px}
.sid-stamps{display:flex;align-items:center;gap:6px;min-height:40px;margin:10px 0 0;flex-wrap:wrap}
.sid-stamp{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--sc,#fff);border:2.5px dashed var(--acc);box-shadow:0 2px 0 rgba(26,23,20,.15)}
.sid-stamp img{width:24px;height:24px;object-fit:contain}.sid-stamp b{font-size:9.5px;font-weight:900;letter-spacing:.02em;color:#1A1714}
.sid-stamp.r0{transform:rotate(-9deg)}.sid-stamp.r2{transform:rotate(8deg)}
.sid-stamp.off{filter:grayscale(1);opacity:.35;border-color:#9a9087}
.sid-more{font-size:12px;font-weight:900;color:var(--sub2)}.sid-empty{font-size:11.5px;color:var(--sub2);font-weight:700}
.sid-foot{position:relative;display:flex;align-items:flex-end;gap:10px;margin-top:10px;min-height:72px;padding-right:84px}
.sid-code{display:flex;gap:2px;height:36px;align-items:stretch;flex:none}.sid-code i{background:var(--ink2);display:block}
.sid-foot small{font-size:9.5px;line-height:1.35;color:var(--sub2);font-weight:700;letter-spacing:.06em;font-family:ui-monospace,Menlo,monospace;min-width:0}
.sid-prof{position:absolute;right:2px;bottom:0;height:84px;width:auto;max-width:76px;object-fit:contain;object-position:center bottom;border-radius:0;background:transparent;pointer-events:none}
/* tiers */
.sid-student{--edge:#1A1714;background:linear-gradient(125deg,#f6f7f9 0%,#d6dbe2 28%,#fbfcfd 46%,#c3c9d2 70%,#eef0f3 100%)}
.sid-student .sid-photo{background:#dfe4ea}
.sid-honors{--ink2:#2A1C05;--sub2:#6a5222;--acc:#B85400;--edge:#2A1C05;--tile:rgba(255,250,235,.62);background:linear-gradient(125deg,#fff3c9 0%,#f0c46a 26%,#fff0bd 46%,#d9a33c 72%,#f6d684 100%)}
.sid-honors .sid-photo{background:#f7dc98}.sid-honors .sid-tier{background:#2A1C05;color:#FFE7A6}
.sid-alumni{--ink2:#FFF8EF;--sub2:#cbbfb2;--acc:#FF8A2A;--edge:#FF8A2A;--tile:rgba(255,255,255,.08);background:linear-gradient(150deg,#221a15 0%,#120e0b 100%);box-shadow:6px 6px 0 #1A1714,0 18px 40px rgba(255,106,0,.25)}
.sid-alumni .sid-photo{background:#2e241d}.sid-alumni .sid-tier{background:linear-gradient(90deg,#ff8a2a,#ffd23f);color:#1A1714}
.sid-alumni .sid-slot{background:rgba(255,255,255,.18)}.sid-alumni .sid-bar{background:rgba(255,255,255,.14)}.sid-alumni .sid-stamp b{color:#1A1714}
.sid-alumni .sid-stamp:not([style*="--sc"]){background:#FFF8EF}
/* foil sheen for silver/gold, iridescent holo for alumni */
.sid-student .sid-fx,.sid-honors .sid-fx{background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.7) 45%,transparent 60%) no-repeat;background-size:250% 100%;background-position:var(--mx) 0;mix-blend-mode:soft-light}
.sid-alumni .sid-fx{background:radial-gradient(120% 80% at var(--mx) var(--my),rgba(255,255,255,.18),transparent 55%),linear-gradient(115deg,#ff6a00 0%,#ff5fa2 18%,#b36bff 34%,#3fa7ff 50%,#5dfdcb 66%,#ffd23f 82%,#ff6a00 100%);background-size:100% 100%,260% 260%;background-position:0 0,var(--mx) var(--my);mix-blend-mode:screen;opacity:.26}
.sid-alumni .sid-fx::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(55deg,rgba(255,255,255,.06) 0 2px,transparent 2px 7px)}
@media(prefers-reduced-motion:no-preference){
  .sid-student:not(.live) .sid-fx,.sid-honors:not(.live) .sid-fx{animation:sidSheen 5.5s ease-in-out infinite}
  .sid-alumni:not(.live) .sid-fx{animation:sidHolo 8s ease-in-out infinite alternate}
}
@keyframes sidSheen{0%,55%{background-position:120% 0}100%{background-position:-20% 0}}
@keyframes sidHolo{0%{background-position:0 0,0% 30%}100%{background-position:0 0,100% 70%}}
@media(prefers-reduced-motion:reduce){.sid{transform:none!important}.sid-fx{animation:none!important}}
/* tier ladder */
.sid-ladder{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-width:400px;margin:0 auto 14px;padding:0}
.sid-ladder li{text-align:center;font-size:11px;color:var(--muted);min-width:0}
.sid-ladder span{display:block;height:8px;border-radius:9px;background:#eadfd5;margin-bottom:5px}
.sid-ladder b{display:block;font-size:12.5px;color:var(--ink);white-space:nowrap}.sid-ladder small{font-size:10.5px}
.sid-ladder .t-fresh span{background:#e8d9c8}.sid-ladder .t-student span{background:linear-gradient(90deg,#c3c9d2,#f4f6f8,#c3c9d2)}.sid-ladder .t-honors span{background:linear-gradient(90deg,#d9a33c,#fff0bd,#d9a33c)}.sid-ladder .t-alumni span{background:linear-gradient(90deg,#ff6a00,#ffd23f,#5dfdcb,#3fa7ff,#b36bff)}
.sid-ladder li:not(.past):not(.now){opacity:.45}.sid-ladder li.now b{color:var(--orange)}.sid-ladder li.now span{outline:2px solid var(--ink);outline-offset:1px}
/* share + stamp book */
.sid-share,.sid-book{max-width:560px;margin:0 auto 14px}
.sid-share-h{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px}.sid-share-h h2{font-size:18px}
.sid-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.sid-actions .btn{flex:1 1 auto}.sid-actions .btn.pri{flex-basis:100%}
.sid-msg{display:block;font-size:12.5px;font-weight:700;color:var(--green);margin-top:8px;overflow-wrap:anywhere}.sid-msg:empty{display:none}
.sid-prev{margin:12px 0 0;text-align:center}.sid-prev img{width:min(100%,300px);height:auto;border-radius:16px;box-shadow:0 10px 26px rgba(26,23,20,.18);display:block;margin:0 auto}
.sid-prev figcaption{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:10px}
.sid-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;margin-top:10px}
.sid-cell{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:10px 6px;border-radius:16px;background:#faf6f1;min-width:0}
.sid-cell .sid-stamp{width:46px;height:46px}.sid-cell .sid-stamp img{width:30px;height:30px}.sid-cell .sid-stamp b{font-size:11px}
.sid-cell>b{font-size:12px;line-height:1.25}.sid-cell small{font-size:10.5px;color:var(--muted);line-height:1.35}.sid-cell.on{background:#fff2e9}.sid-cell.on small{color:var(--green);font-weight:700}
@media(min-width:720px){.sid-stage{margin-top:8px}.sid-in{padding:26px 22px 16px}.sid-photo{width:112px;height:142px}.sid-who h2{font-size:26px}.sid-prof{height:96px;max-width:86px}.sid-foot{padding-right:96px}.sid-actions .btn.pri{flex-basis:auto}}
@media(max-width:374px){.sid-in{padding:20px 12px 12px}.sid-photo{width:84px;height:112px}.sid-top b{font-size:12.5px}.sid-stats b{font-size:21px}.sid-hero{gap:10px}}
@media print{.sid-share,.sid-book,.sid-ladder{display:none}}

/* GPA rule label under 우등생 can wrap on small phones */
.sid-ladder small{display:block;line-height:1.3}
.sid-gpa-short .sid-next small span:last-child{color:#B85400}

/* ===== Batch 1 hands-on courses ===== */
.cx{display:grid;gap:12px;min-width:0}
.cx *{min-width:0}
.cx-steps{grid-template-columns:repeat(auto-fit,minmax(70px,1fr))}
.cx code{font-family:ui-monospace,Menlo,monospace;font-size:12px;overflow-wrap:anywhere;word-break:break-all}
.cx-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cx-actions .btn{flex:1 1 auto}
.cx-result{border-radius:16px;padding:11px 14px;font-size:14px;line-height:1.5;font-weight:700;border:1.5px solid;animation:cxpop .35s ease}
.cx-result.good{background:#E8F3EE;border-color:#7FB49F;color:#1d4a3b}
.cx-result.bad{background:#FDECEA;border-color:#E39A93;color:#7d1f19}
.cx-result.warn{background:#FFF5DC;border-color:#E8C46A;color:#6b4d00}
.cx-seg{display:flex;flex-wrap:wrap;gap:6px}
.cx-seg button,.cx-seg .btn{flex:1 1 auto;min-height:42px;padding:8px 12px;border-radius:999px;border:1.5px solid var(--line);background:#fff;font:inherit;font-weight:700;font-size:13px;cursor:pointer;color:var(--ink)}
.cx-seg button.on,.cx-seg .btn.on{background:var(--ink);border-color:var(--ink);color:#fff}
.cx .nope,.cx-seg button.nope{animation:cxshake .4s;border-color:#E39A93!important;background:#FDECEA!important;color:#7d1f19!important}
.cx-client{display:inline-flex;margin-top:8px;font-size:12px;font-weight:800;background:#EEF0FF;color:#2f3a8f;border:1px solid #c9cdf5;border-radius:999px;padding:4px 11px;max-width:100%;white-space:normal}
.cx-client-chip{background:#EEF0FF;color:#2f3a8f;border-color:#c9cdf5;white-space:normal}
[data-drag]{touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
[data-drag].dragging{opacity:.35}
.cx-ghost{position:fixed;left:0;top:0;z-index:999;pointer-events:none;opacity:.92;box-shadow:0 14px 30px rgba(0,0,0,.25);transform-origin:center;margin:0!important}
[data-drop].over{outline:3px dashed var(--orange);outline-offset:2px;background:#FFF2E9!important}
@keyframes cxpop{from{transform:scale(.97);opacity:.4}to{transform:none;opacity:1}}
@keyframes cxshake{20%,60%{transform:translateX(-4px)}40%,80%{transform:translateX(4px)}}
@keyframes cxpulse{50%{box-shadow:0 0 0 4px rgba(255,106,0,.25)}}
.q-wait{margin:0;padding:12px 14px;border-radius:14px;background:#f6f1ea;font-weight:700;font-size:14px;color:var(--muted)}
/* REC101 ledger */
.lg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.lg-card{border:1.5px solid var(--line);border-radius:14px;padding:8px 10px;background:#fff;font-size:12px;transition:.25s}
.lg-card.pulse{animation:cxpulse 1s 2}
.lg-card.bad{border-color:#E39A93;background:#FDECEA}.lg-card.fixed{border-color:#7FB49F;background:#E8F3EE}
.lg-h{display:flex;justify-content:space-between;font-weight:900;margin-bottom:4px}.lg-card.bad .lg-h i{color:#B5312A}.lg-h i{font-style:normal;color:var(--green)}
.lg-rows{list-style:none;margin:0;padding:0;display:grid;gap:3px}.lg-rows li{display:flex;flex-wrap:wrap;gap:4px;align-items:baseline}.lg-rows li em{font-style:normal;font-weight:900}.lg-rows li.bad em{color:#B5312A}.lg-rows code{margin-left:auto;color:var(--muted);font-size:11px}
.lg-why{display:block;margin-top:4px;color:#B5312A;font-weight:700}.lg-why.ok{color:var(--green)}
/* REC102 token */
.tk-official{background:#EEF6FF;border:1.5px solid #b9d4f5;border-radius:14px;padding:10px 12px;display:grid;gap:4px;font-size:13px}
.tk-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
.tk-card{border:1.5px solid var(--line);border-radius:18px;padding:12px;background:#fff;display:grid;gap:10px;transition:.25s}
.tk-card.win{border-color:var(--green);box-shadow:0 0 0 3px #cfe6dc}.tk-card.nope{border-color:#E39A93;background:#FFF6F5}
.tk-face{display:grid;justify-items:center;text-align:center;gap:4px}.tk-face b{font-size:18px}.tk-face small{color:var(--muted)}
.tk-face code{background:#f6f1ea;border-radius:8px;padding:6px;text-align:left}.tk-face mark{background:#FFB3A8;color:#7d1f19;border-radius:3px;padding:0 1px}
.tk-face dl{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;margin:0;font-size:12px;text-align:left}.tk-face dt{color:var(--muted)}.tk-face dd{margin:0;font-weight:700}
.tk-q{font-size:34px;font-weight:900;color:#d9cbbd;line-height:1.2}
.tk-btns{display:flex;flex-wrap:wrap;gap:6px}.tk-btns .btn{flex:1 1 auto}
/* REC103 train */
.tr-wallet,.ky-wallet{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;background:#1A1714;color:#fff;border-radius:16px;padding:10px 14px;font-size:13px}
.tr-lane{display:grid;gap:6px;font-size:13px}.tr-q{display:flex;flex-wrap:wrap;gap:6px}
.tx{display:inline-flex;padding:4px 10px;border-radius:999px;background:#f1ebe3;font-size:12px;font-weight:700;font-family:ui-monospace,Menlo,monospace}
.tx.me{background:var(--orange);color:#fff;animation:cxpulse 1.2s infinite}
.tr-rail{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding-bottom:8px;border-bottom:4px double #b9ab9b}
.car{border:1.5px solid var(--line);border-radius:12px 12px 6px 6px;min-height:64px;padding:6px;display:grid;align-content:start;gap:4px;font-size:11px;background:#fff;transition:.3s}
.car.go{background:#FFF2E9;border-color:#ffb37f}.car.mine{background:#E8F3EE;border-color:var(--green)}
.car i{display:block;height:6px;border-radius:4px;background:#e2d6c9}.car b{font-size:12px;color:var(--green)}
.tr-stamp{justify-self:start;display:flex;align-items:center;gap:8px;font-weight:900;font-size:13px}
.tr-stamp span{border:3px solid var(--green);color:var(--green);border-radius:10px;padding:2px 10px;transform:rotate(-6deg);opacity:calc(.2 + var(--s)*.8)}
/* REC104 gas */
.gs-road{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:repeating-linear-gradient(90deg,#3a3530 0 18px,#433d37 18px 36px);border-radius:16px;padding:12px}
.gs-cars{font-size:18px;letter-spacing:-2px;overflow:hidden;white-space:nowrap;flex:1 1 120px;max-width:100%}
.gs-meter{background:#000;color:#7CFFB2;border-radius:12px;padding:8px 12px;display:grid;font-family:ui-monospace,Menlo,monospace;min-width:150px}
.gs-meter small{color:#aaa;font-family:inherit}.gs-meter b{font-size:18px}.gs-meter span{font-size:11px;color:#9fd}
.gs-slide{display:flex;align-items:center;gap:10px;font-weight:700;font-size:14px;flex-wrap:wrap}.gs-slide input{flex:1 1 140px;accent-color:var(--orange)}.gs-slide em{font-style:normal;min-width:48px}
.gs-log{width:100%;border-collapse:collapse;font-size:13px}.gs-log th,.gs-log td{border-bottom:1px solid var(--line);padding:5px 6px;text-align:left}
.gs-day{display:grid;gap:8px;font-size:13px}
.gs-bars{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;align-items:end;min-height:110px}
.gs-bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;border:0;background:none;font:inherit;cursor:pointer;padding:0;min-height:44px}
.gs-bar i{display:block;width:100%;max-width:44px;height:var(--h);border-radius:8px 8px 3px 3px;background:#ffb37f}
.gs-bar small{font-size:11px;color:var(--muted);white-space:nowrap}
.gs-bar.win i{background:var(--green)}.gs-bar.nope i{background:#E39A93}
/* KEY101 keys */
.ky-wallet code{color:#ffd8bd}.ky-wallet small{display:block;color:#bbb}.ky-wallet b{display:block}
.ky-net{background:#2e7d5b;border-radius:999px;padding:3px 10px;font-weight:800;font-size:12px}
.ky-read{display:grid;gap:8px;font-size:14px}
.ky-ring{display:flex;flex-wrap:wrap;gap:8px;min-height:46px;align-items:center}
.ky-item,.ap-pop{border:1.5px solid var(--ink);background:#fff;border-radius:14px;padding:9px 12px;font:inherit;font-weight:800;font-size:13px;color:var(--ink);min-height:44px}
.ky-item.sel,.ap-pop.sel{background:var(--orange);border-color:var(--orange);color:#fff;transform:translateY(-2px)}
.ky-zones,.ap-bins{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}
.ky-zone,.ap-bin{border:2px dashed #cbbcad;border-radius:16px;padding:12px;min-height:96px;display:flex;flex-direction:column;gap:6px;cursor:pointer;background:#fffdfa;font-size:13px}
.ky-zone.z-safe{border-color:#7FB49F;background:#F4FAF7}.ky-zone.z-friend{border-color:#9fb8e6;background:#F5F8FF}
.ky-zone span{background:#fff;border-radius:10px;padding:4px 8px;font-weight:700;font-size:12px;border:1px solid var(--line)}
/* KEY102 swipe */
.sp-combo{display:grid;gap:5px;--acc:var(--orange)}
.sp-stage{display:grid;grid-template-columns:64px 1fr 64px;gap:8px;align-items:stretch}
.sp-bin{border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:22px;cursor:pointer;border:2px dashed}
.sp-bin small{font-size:11px;font-weight:800}
.sp-bin.l{background:#FDECEA;border-color:#E39A93;color:#7d1f19}.sp-bin.r{background:#E8F3EE;border-color:#7FB49F;color:#1d4a3b}
.sp-card{position:relative;background:#fff;border:1.5px solid var(--ink);border-radius:18px;padding:14px 14px 22px;box-shadow:0 6px 0 #1A1714;font-size:14px;animation:cxpop .3s}
.sp-card small{color:var(--muted);font-weight:700}.sp-card p{margin:6px 0 0;line-height:1.5;font-weight:700}
.sp-n{position:absolute;right:10px;bottom:6px;font-size:11px;color:var(--muted)}
.sp-why{color:var(--green);font-weight:700}
/* KEY103 approve */
.ap-pops{display:grid;gap:8px}.ap-pop{display:flex;gap:8px;align-items:center;text-align:left;border-radius:14px}
.ap-pop span{font-size:20px}.ap-pop.bomb{border-color:#B5312A}
.ap-bin b{font-size:22px}.ap-bin em{font-style:normal;font-size:20px}
.ap-bomb{border-radius:18px;background:#1A1714;color:#fff;padding:14px;display:grid;gap:10px}.ap-bomb.safe{background:#1d4a3b}
.ap-bomb-h{font-weight:900;font-size:18px}.ap-bomb p{margin:0}
.ap-wires{display:grid;gap:8px}.ap-wires .btn{justify-content:flex-start;text-align:left;border-width:2px;color:#fff;background:transparent}
.w-red{border-color:#ff6b5f!important}.w-blue{border-color:#6aa8ff!important}.w-green{border-color:#59d39a!important}
/* KEY104 conveyor */
.cv-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.cv-belt{display:flex;gap:6px}.cv-dot{width:18px;height:18px;border-radius:50%;background:#e8ded3}.cv-dot.ok{background:var(--green)}.cv-dot.bad{background:#B5312A}.cv-dot.cur{background:var(--orange);animation:cxpulse 1s infinite}
.cv-card{border:1.5px solid var(--ink);border-radius:18px;padding:12px 14px;display:grid;gap:8px;background:#fff;animation:cxpop .25s}
.cv-h{display:flex;justify-content:space-between;gap:8px;font-size:13px;overflow-wrap:anywhere}.cv-n{font-weight:900;font-size:20px;color:var(--orange)}
.cv-card p{margin:0;font-weight:700;line-height:1.5}
.cv-time{height:8px;background:#eee;border-radius:9px;overflow:hidden}.cv-time i{display:block;height:100%;background:var(--orange);transition:width .1s linear}
/* DEF204 TBV */
.tv-mode{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.tv-client{font-size:11.5px;font-weight:900;background:#EEF0FF;color:#2f3a8f;border:1px solid #c9cdf5;border-radius:999px;padding:3px 10px}
.tv-chains{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:760px){.tv-chains{grid-template-columns:1.1fr 1fr}}
.tv-btc,.tv-eside{border-radius:18px;padding:12px;display:grid;gap:10px;align-content:start}
.tv-btc{background:#FFF4E6;border:1.5px solid #f5c28f}.tv-eside{background:#F1F2FB;border:1.5px solid #cfd2f0}
.tv-eside:empty{display:none}
.tv-btc>small{font-weight:900;color:#a65300}
.tv-wallet{font-size:13px;display:grid;gap:6px}
.tv-coins{display:flex;gap:8px;flex-wrap:wrap}
.tv-coin{width:58px;height:58px;border-radius:50%;border:3px solid #c97a00;background:radial-gradient(circle at 35% 30%,#FFD27A,var(--btc));color:#fff;font:inherit;font-size:22px;font-weight:900;display:grid;place-items:center;line-height:1;box-shadow:0 4px 0 #a65d00;padding:0}
.tv-coin small{font-size:10px}
.tv-vaults{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}
.tv-vault{border:2px dashed #d9a66b;border-radius:16px;padding:10px;display:grid;gap:3px;justify-items:center;text-align:center;background:#fff;cursor:pointer;position:relative;font-size:12px;transition:.3s}
.tv-vault small{color:var(--muted)}.tv-vault em{font-style:normal;font-weight:900}
.tv-vault.full{border-style:solid;border-color:var(--btc)}
.tv-door{width:56px;height:56px;border-radius:12px;background:#d8d1c8;border:3px solid #8f857a;display:grid;place-items:center;transition:transform .5s,background .3s;transform:perspective(200px) rotateY(-55deg);transform-origin:left}
.tv-dial{width:20px;height:20px;border-radius:50%;border:3px solid #6b6259;background:#efe9e1;transition:transform .6s}
.tv-vault.full .tv-door{background:#F7C77A}
.tv-vault.locked .tv-door{transform:none;background:#4b4540;border-color:#2b2723}.tv-vault.locked .tv-dial{transform:rotate(270deg);background:var(--btc);border-color:#ffd9a3}
.tv-vault.seized{opacity:.55;border-color:#B5312A}.tv-vault.kept{box-shadow:0 0 0 3px #cfe6dc;border-color:var(--green)}
.tv-tag{font-style:normal;font-weight:900;font-size:11px;border-radius:999px;padding:2px 8px}.tv-tag.bad{background:#B5312A;color:#fff}.tv-tag.ok{background:var(--green);color:#fff}
.tv-conf{display:grid;gap:5px;font-size:12px}
.tv-blocks{display:grid;grid-template-columns:repeat(12,1fr);gap:3px}.tv-blocks i{height:14px;border-radius:3px;background:#eadbc9}.tv-blocks i.on{background:var(--btc)}
.tv-eth{background:#fff;border-radius:14px;border:1.5px solid #9aa2e6;padding:10px;display:grid;gap:3px;font-size:12px;animation:cxpop .4s}.tv-eth b{font-size:15px}.tv-eth span{color:var(--muted)}
.tv-gauge{display:grid;justify-items:center;gap:2px;position:relative}
.tv-arc{width:150px;height:75px;border-radius:150px 150px 0 0;background:conic-gradient(from 270deg at 50% 100%,#B5312A 0 45deg,#C98A00 45deg 90deg,#326756 90deg 180deg,transparent 180deg);position:relative;overflow:hidden}
.tv-arc::after{content:"";position:absolute;left:22px;right:22px;bottom:0;height:53px;border-radius:106px 106px 0 0;background:#F1F2FB}
.tv-arc .tv-one{position:absolute;left:calc(50% - 1px);bottom:0;width:2px;height:74px;background:#1A1714;z-index:2}
.tv-one-label{position:absolute;top:0;left:calc(50% + 8px);font-size:11px;font-weight:800;font-style:normal;color:#1A1714}
.tv-arc i{position:absolute;left:calc(50% - 2px);bottom:0;width:4px;height:68px;background:var(--ink);border-radius:2px;transform-origin:50% 100%;z-index:3;transition:transform .4s}
.tv-gauge b{font-size:24px;color:var(--c)}.tv-gauge small{font-size:12px;font-weight:700}
.tv-borrow,.tv-price{display:grid;gap:6px;font-size:13px}
.tv-borrow input,.tv-price input{width:100%;accent-color:var(--orange)}
.tv-row{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.tv-price{background:#fff;border-radius:14px;padding:10px;border:1.5px solid var(--line)}.tv-price small{color:var(--muted)}
.tv-redeem{display:grid;gap:8px}.tv-redeem p{margin:0;font-weight:700}
.tv-clock{display:grid;gap:8px;background:#F1F2FB;border-radius:16px;padding:12px}
.tv-days{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.tv-days i{font-style:normal;text-align:center;padding:6px;border-radius:10px;background:#fff;border:1.5px solid var(--line);font-weight:800;font-size:12px}.tv-days i.on{background:var(--green);border-color:var(--green);color:#fff}
.tv-clock small{color:var(--muted)}
/* course shell: micro-lecture, real step, licence */
.mlec{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:start}
.mlec-prof{width:96px;height:auto;object-fit:contain;object-position:center;border-radius:0;background:transparent}
.mlec.locked{opacity:.75}.mlec.locked .mlec-prof{filter:grayscale(.6)}
.mlec h3{margin:4px 0 8px;font-size:17px}.mlec-list{margin:0;padding-left:20px;display:grid;gap:6px;font-size:14px;line-height:1.55}
.mlec-soon{margin:10px 0 0;font-size:12px;font-weight:800;color:#9b3b00;background:#FFE7D4;border-radius:12px;padding:6px 10px;display:inline-block}
@media(max-width:480px){.mlec{grid-template-columns:64px 1fr;gap:10px}.mlec-prof{width:64px}}
.rs-kind{margin:0 0 8px;display:flex;flex-wrap:wrap;gap:6px}.rs-kind .chip{white-space:normal}
.rs-steps{margin:0 0 10px;padding-left:20px;display:grid;gap:6px;font-size:14px;line-height:1.5}
.rs-links{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.rs-check{display:grid;gap:8px;margin:0 0 10px;font-size:14px}.rs-check .switch{align-items:flex-start}.rs-check input{flex:0 0 auto}
.rs-locked{padding:12px 14px;border-radius:14px;background:#f6f1ea;font-weight:800;margin-bottom:10px}
.rs-mainnet{display:grid;gap:4px;padding:12px 14px;border-radius:16px;border:2px dashed #b3a796;background:repeating-linear-gradient(135deg,#faf6f0 0 10px,#f3ede4 10px 20px);margin:10px 0;font-size:14px}
.rs-mainnet small{color:var(--muted);line-height:1.5}
.rs-side{display:grid;gap:8px;padding:12px 14px;border-radius:16px;background:#F1F2FB;border:1.5px solid #cfd2f0;margin:10px 0;font-size:14px}.rs-side .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.rs-note{margin:8px 0 0;line-height:1.5}
.lic-card{border-radius:20px;padding:14px 16px;background:linear-gradient(135deg,#efe9e1,#ddd3c7);border:1.5px solid #c7b9a8;display:grid;gap:8px;color:var(--ink)}
.lic-card.on{background:linear-gradient(135deg,#1A1714,#4a2a12 60%,#FF6A00);color:#fff;border-color:#1A1714}
.lic-h{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.lic-h span{font-size:11px;font-weight:900;letter-spacing:.08em;border:1.5px solid currentColor;border-radius:8px;padding:2px 8px}
.lic-card p{margin:0;font-weight:700}.lic-card code{font-size:12px;opacity:.85}.lic-card small{opacity:.85;line-height:1.5}
.lic-req{display:flex;gap:6px;flex-wrap:wrap}.lic-req a{font-size:12px;font-weight:900;text-decoration:none;color:inherit;border:1.5px solid currentColor;border-radius:999px;padding:3px 10px}.lic-req a.ok{background:var(--green);border-color:var(--green);color:#fff}
.lic-banner{margin:8px 0;padding:10px 14px;border-radius:14px;background:linear-gradient(90deg,#1A1714,#FF6A00);color:#fff;font-weight:800}
@media(prefers-reduced-motion:reduce){.cx-result,.sp-card,.cv-card,.tv-eth,.tx.me,.lg-card.pulse,.cv-dot.cur{animation:none!important}.tv-door,.tv-dial,.tv-arc i{transition:none!important}}
/* ===== Real brand logos (batch 1) ===== */
.bl{display:inline-block;vertical-align:-0.2em;height:1.15em;width:auto;max-width:100%;object-fit:contain;flex:0 0 auto}
.bl-xxs{height:12px;margin-right:3px;vertical-align:-1px}
.bl-xs{height:16px;margin-right:4px;vertical-align:-3px}
.bl-s{height:20px;margin-right:2px;vertical-align:-4px}
.bl-tok{width:40px;height:40px}
.bl-word{height:15px;vertical-align:-3px}
.bl-on-dark{background:#fff;border-radius:50%;padding:2px;box-sizing:content-box}
.bl-coin{width:42px;height:42px;margin:0;pointer-events:none;-webkit-user-drag:none}
.tv-coin{background:none!important;border:0!important;box-shadow:none!important;color:var(--ink)!important;width:auto!important;height:auto!important;display:grid;justify-items:center;gap:2px;padding:4px!important;border-radius:12px!important}
.tv-coin small{font-size:11px!important;font-weight:900}
.tv-coin:hover .bl-coin,.tv-coin:focus-visible .bl-coin{transform:translateY(-2px);filter:drop-shadow(0 4px 4px rgba(0,0,0,.25))}
.tv-client,.cx-client,.cx-client-chip{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap}
.tk-face{position:relative}
.tk-fakelogo{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#cfd6de;color:#fff;font-weight:900;font-size:22px;border:2px dashed #9aa5b1;font-family:Georgia,serif}
.tk-etag{font-style:normal;font-size:11px;font-weight:900;background:#EEF6FF;color:#235;border:1px solid #b9d4f5;border-radius:999px;padding:1px 8px}
.tk-warn{font-style:normal;font-size:11.5px;font-weight:800;color:#B5312A}
.tk-official b{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.rs-links .btn{gap:6px}.rs-steps li .bl{margin-right:6px}
.lic-card.on .lic-logo{background:#fff;border-radius:6px;padding:2px}
.ky-net,.tr-wallet span{display:inline-flex;align-items:center;gap:2px;flex-wrap:wrap}
.bl-dark{background:#1A1714;border-radius:5px;padding:2px 5px;box-sizing:content-box}
/* ===== DEF204 vault sizing fix: consistent, proportional vaults at every width/state ===== */
.tv-vaults{display:flex;justify-content:center;align-items:stretch;gap:10px;flex-wrap:nowrap}
.tv-vault{flex:0 1 156px;min-width:0;max-width:156px;padding:12px 8px 10px;gap:4px;align-content:start;grid-template-rows:auto auto auto auto}
.tv-vault small{font-size:11px;line-height:1.3;min-height:2.6em;display:flex;align-items:center;justify-content:center}
.tv-vault b{font-size:13px}.tv-vault em{font-size:12.5px;line-height:1.3}
.tv-door{width:62%;max-width:72px;height:auto;aspect-ratio:1/1;transform:none!important;border-radius:14%;box-sizing:border-box;border-width:3px;background:#efe9e1;box-shadow:inset 0 0 0 5px #fff,inset 0 0 0 7px #cfc6bb;position:relative}
.tv-door::after{content:"";position:absolute;right:9%;top:30%;width:7%;height:40%;border-radius:3px;background:#8f857a}
.tv-dial{width:34%;height:auto;aspect-ratio:1/1;box-sizing:border-box}
.tv-vault.full .tv-door{background:#F7C77A}
.tv-vault.locked .tv-door{background:#4b4540;border-color:#2b2723;box-shadow:inset 0 0 0 5px #5d564f,inset 0 0 0 7px #2b2723}
.tv-vault.locked .tv-door::after{background:var(--btc)}
.tv-tag{position:absolute;top:6px;right:6px;line-height:1.4}
.tv-coins{gap:12px}
.bl-coin{width:44px;height:44px}
@media(max-width:420px){.tv-vaults{gap:8px}.tv-vault{padding:10px 6px 8px}.tv-vault em{font-size:12px}.tv-tag{font-size:10px;top:4px;right:4px}}

/* ===== Campus home ===== */
.campus-hero{display:grid;grid-template-columns:72px minmax(0,1fr);gap:20px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px 24px}
.hero-mark{width:72px;height:72px;object-fit:contain}
.campus-hero h1{font-size:28px;line-height:1.3;margin:4px 0 8px}
.lede{font-size:15px;line-height:1.55;max-width:40em;color:#3d3832}
.hero-meta{display:flex;gap:20px;margin:16px 0}
.hero-meta div{min-width:56px}
.hero-meta dt{font-size:12px;color:var(--muted);font-weight:700}
.hero-meta dd{margin:0;font-size:18px;font-weight:800;line-height:1.2}
.learn-path,.catalog,.trust{margin:28px 0}
.learn-path h2,.catalog-h h2,.trust h2{margin-bottom:6px}
.path-grid,.trust-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 0;padding:0;list-style:none}
.trust-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.path-step,.trust-grid li{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;min-height:100%}
.path-step span{display:block;font-size:12px;font-weight:800;color:var(--orange);margin-bottom:6px}
.path-step h3,.trust-grid h3{font-size:16px;margin-bottom:6px}
.path-step p,.trust-grid p,.company{font-size:14px;line-height:1.5;color:#3d3832}
.company{margin-top:14px;max-width:46em}
.catalog-h{margin-bottom:8px}
.catalog-h p{color:var(--muted);font-size:14px;line-height:1.5;max-width:46em}
.track{margin:22px 0}
.track-h{display:flex;justify-content:space-between;gap:12px;align-items:flex-end;margin-bottom:12px}
.track-h p{color:var(--muted);font-size:13px;margin-top:4px}
.track-progress{display:flex;gap:6px;align-items:baseline;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.track-progress b{color:var(--ink);font-size:15px;font-weight:800}
.track-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}
.track-card{background:var(--c);border-radius:20px;padding:14px;display:flex;flex-direction:column;min-height:100%}
.track-card-h{display:flex;gap:10px;align-items:center;margin-bottom:10px}
.track-card-h img{width:44px;height:44px;object-fit:contain;background:rgba(255,255,255,.7);border-radius:12px;padding:4px;flex:none}
.track-card h3{font-size:17px}
.lec-list{display:flex;flex-direction:column;gap:8px}
.course{display:grid;grid-template-columns:76px minmax(0,1fr);gap:4px 12px;align-items:start;background:#fff;border-radius:14px;padding:12px;text-decoration:none;min-height:76px}
.course-code{font-size:13px;font-weight:800;letter-spacing:.02em}
.course-main{min-width:0}
.course-main b{display:block;font-size:15px;line-height:1.35}
.course-main small{display:block;margin-top:3px;color:var(--muted);font-size:13px;line-height:1.45}
.course-facts{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:6px 10px;color:var(--muted);font-size:12px;font-weight:700}
.course.locked{opacity:.72}
.syllabus{background:var(--c);border-radius:24px;padding:18px 18px 14px;margin-bottom:12px}
.syllabus h1{font-size:26px;margin:4px 0 8px}
.outcome{font-size:15px;line-height:1.5}
.syllabus-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 0}
.syllabus-facts div{background:rgba(255,255,255,.72);border-radius:12px;padding:10px 12px;min-width:0}
.syllabus-facts dt{font-size:12px;color:var(--muted);font-weight:700}
.syllabus-facts dd{margin:2px 0 0;font-size:15px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:719px){
  .campus-hero{grid-template-columns:auto minmax(0,1fr);padding:16px;gap:12px}
  .hero-mark{width:56px;height:56px}
  .hero-copy{grid-column:1 / -1}
  .campus-hero h1{font-size:22px}
  .campus-hero .btn.pri{width:100%}
  .path-grid,.trust-grid,.track-grid,.syllabus-facts{grid-template-columns:1fr}
  .track-h{flex-direction:column;align-items:flex-start}
}
/* ===== Mechanism scenes: how it works, before practice ===== */
.mechanism{min-width:0}
.mechanism .prof.brief .prof-img{height:88px}
/* The full emblem is square. On a phone, 180–190px of width leaves the speech bubble a sliver. Cap the mark at 120px so the ring text stays and the bubble keeps the rest of the row. */
@media(max-width:719px){
  .prof-img,
  .prof.intro .prof-img,
  .prof.cheer .prof-img,
  .prof.brief .prof-img,
  .prof.one .prof-img,
  .locked-card .prof .prof-img,
  .result .prof.cheer .prof-img{height:120px;width:120px;max-width:120px}
  .mechanism .prof.brief .prof-img{height:88px;width:auto;max-width:76px}
}
.scene{display:flex;flex-direction:column;gap:10px;min-width:0}
.scene-top{display:flex;align-items:flex-end;gap:8px;min-width:0}
.scene-logo{width:28px;height:28px;object-fit:contain;flex:none}
.scene-id{min-width:0;flex:1}
.scene-id b{display:block;font-size:13px;letter-spacing:.04em}
.scene-id small{display:block;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.scene-score{position:relative;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:1px;min-height:30px;font-weight:900;color:var(--orange);flex:none;font-size:14px;line-height:1.15}
.scene-score .pop{position:static;font-size:11px;font-weight:800;line-height:1;animation:scene-pop .7s ease forwards}
.burst{position:absolute;right:10px;bottom:0;width:8px;height:8px;pointer-events:none}
.burst i{position:absolute;left:0;top:0;width:7px;height:7px;border-radius:50%;background:#FFB15A;box-shadow:inset -2px -2px 0 #FF6A00;animation:coin .65s ease-out forwards}
.burst i:nth-child(1){--x:-16px;--y:2px}
.burst i:nth-child(2){--x:-8px;--y:10px;animation-delay:.04s}
.burst i:nth-child(3){--x:2px;--y:12px;animation-delay:.02s}
.burst i:nth-child(4){--x:12px;--y:6px;animation-delay:.06s}
.burst i:nth-child(5){--x:6px;--y:-2px;animation-delay:.03s}
@keyframes coin{to{transform:translate(var(--x),var(--y)) scale(.35);opacity:0}}
.scene-bar{height:10px;border-radius:999px;background:#fff2e9;overflow:hidden;border:1px solid #f6d3b9}
.scene-bar i{display:block;height:100%;background:linear-gradient(90deg,#FF8A1F,#FF6A00);border-radius:999px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);transition:width .7s cubic-bezier(.22,.7,.2,1)}
.scene-board{position:relative;background:#1A1714;color:#FFF8EF;border-radius:16px;padding:12px;min-height:156px;overflow:hidden}
.scene-row{display:flex;gap:14px;align-items:flex-end;min-width:0;min-height:96px}
.scene-eb{width:72px;height:96px;object-fit:contain;object-position:center bottom;flex:none;background:transparent}
.scene-cap{position:relative;min-width:0;flex:1;min-height:72px;display:flex;align-items:center;background:#fff;border:1.5px solid var(--ink);border-radius:18px;padding:12px 14px}
.scene-cap::before{content:'';position:absolute;left:-9px;bottom:20px;border-width:8px 10px 8px 0;border-style:solid;border-color:transparent var(--ink) transparent transparent}
.scene-cap::after{content:'';position:absolute;left:-6px;bottom:21px;border-width:7px 8px 7px 0;border-style:solid;border-color:transparent #fff transparent transparent}
.scene-cap p{margin:0;font-size:15px;line-height:1.45;font-weight:800;color:#1A1714;overflow-wrap:anywhere}
.capw{opacity:0;color:#FF6A00;animation:type .08s linear forwards;animation-delay:calc(var(--d) * .028s)}
@keyframes type{to{opacity:1}}
.scene-ctrl{display:flex;gap:8px}
.scene-ctrl .btn{flex:1 1 0;min-width:0;min-height:44px;padding:8px 10px}
.scene-ctrl .btn:disabled{opacity:.4;cursor:default}
.world-frame{position:relative;display:flex;flex-direction:column;height:auto;min-height:240px;background:linear-gradient(180deg,#1A1714 0%,#24211e 52%,#3a342c 100%);border-radius:16px;overflow:hidden;color:#FFF8EF}
.world-frame::before{content:none}
.world-track{display:flex;width:400%;height:200px;flex:none;position:relative;z-index:1;transform:translateX(calc(var(--i) * -25%));transform-origin:left center;transition:transform 1.05s cubic-bezier(.22,.7,.2,1),width 1.05s cubic-bezier(.22,.7,.2,1)}
.stop{width:25%;height:100%;flex:none;position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;padding:8px 6px 14px;box-sizing:border-box;overflow:hidden}
.stage{position:relative;z-index:1;display:flex;gap:4px;align-items:flex-end;justify-content:center;width:100%;min-width:0;flex:1 1 auto;flex-wrap:nowrap}
.roadbed{position:relative;align-self:stretch;height:12px;margin:12px 12px 0;border-radius:8px;z-index:0;pointer-events:none;flex:none;background-color:#1A1714;background-image:repeating-linear-gradient(90deg,#FFF8F0 0 12px,transparent 12px 26px);background-repeat:no-repeat;background-position:center;background-size:auto 3px;box-shadow:inset 0 0 0 1px rgba(255,248,240,.35),inset 0 -3px 0 #FF8A1F}
.scene .hook{position:relative;top:auto;left:auto;right:auto;display:block;z-index:2;margin:0;padding:12px 14px 2px;font-size:20px;line-height:1.2;font-weight:900;letter-spacing:-.03em;color:#FFF8EF;text-shadow:0 2px 0 rgba(0,0,0,.45);overflow-wrap:anywhere}
.obj{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px;min-width:0;max-width:none;flex:1 1 0}
.scene[data-step="0"] .stop:nth-child(1) .obj,
.scene[data-step="1"] .stop:nth-child(2) .obj,
.scene[data-step="2"] .stop:nth-child(3) .obj,
.scene[data-step="3"] .stop:nth-child(4) .obj,
.scene[data-step="4"] .obj{animation:land .72s cubic-bezier(.18,1.4,.36,1) both}
@keyframes land{0%{opacity:0;transform:translateY(16px) scale(.88)}62%{opacity:1;transform:translateY(-6px) scale(1.04)}100%{opacity:1;transform:none}}
.obj .prop{width:min(68px,100%);height:auto;aspect-ratio:1;object-fit:contain;display:block;flex:none;opacity:.72;filter:drop-shadow(0 2px 1px rgba(0,0,0,.35))}
.obj.hot .prop{opacity:1;filter:drop-shadow(0 2px 1px rgba(0,0,0,.4)) drop-shadow(0 0 6px rgba(255,106,0,.7));animation:hotpulse 2.4s ease-in-out infinite}
@keyframes hotpulse{50%{filter:drop-shadow(0 2px 1px rgba(0,0,0,.4)) drop-shadow(0 0 10px rgba(255,106,0,.9))}}
.obj b{position:static;display:inline-block;box-sizing:border-box;margin:0;padding:2px 6px;border-radius:999px;border:1.5px solid #FFF8EF;background:transparent;font-size:11px;line-height:1.15;font-weight:900;text-align:center;color:#FFF8EF;max-width:100%;overflow-wrap:anywhere}
.obj.hot b{background:#FF6A00;border-color:#FF6A00;color:#FFF8EF}
.endcard{position:relative;z-index:3;flex:none;margin:8px;display:flex;align-items:center;gap:8px;background:#FFF8EF;color:#1A1714;border-radius:12px;padding:6px 10px}
.endcard img{width:28px;height:28px;object-fit:contain;flex:none}
.endcard b{display:block;font-size:13px;line-height:1.2}
.endcard small{display:block;color:#6b645b;font-size:10px}
.scene[data-step="0"] .stop:nth-child(1) .pour .prop,
.scene[data-step="1"] .stop:nth-child(2) .pour .prop,
.scene[data-step="2"] .stop:nth-child(3) .pour .prop,
.scene[data-step="3"] .stop:nth-child(4) .pour .prop{animation:bob 1.15s ease-in-out infinite,hotpulse 2.4s ease-in-out infinite}
@keyframes bob{50%{transform:translateY(5px)}}
.scene[data-step="4"] .hook{display:none}
.scene[data-step="4"] .world-track{width:100%!important;height:188px;transform:none!important;align-items:stretch}
.scene[data-step="4"] .stop{width:25%;align-items:center;justify-content:flex-end;padding:8px 3px 12px}
.scene[data-step="4"] .obj{flex-direction:column-reverse;max-width:100%}
.scene[data-step="4"] .obj:not(.hot){display:none}
.scene[data-step="4"] .stage{flex-wrap:nowrap}
.scene[data-step="4"] .obj .prop{width:min(56px,88%);height:auto}
.scene[data-step="4"] .obj:not(.hot) b{display:none}
.scene[data-step="4"] .obj b{font-size:10px;line-height:1.1;padding:2px 4px}
.scene[data-step="4"] .roadbed{height:12px;margin:8px 0 0;background:none;box-shadow:none;border-radius:0}
.scene[data-step="4"] .world-track::after{content:"";position:absolute;left:10px;right:10px;bottom:12px;height:12px;border-radius:8px;pointer-events:none;z-index:0;background-color:#1A1714;background-image:repeating-linear-gradient(90deg,#FFF8F0 0 12px,transparent 12px 26px);background-repeat:no-repeat;background-position:center;background-size:auto 3px;box-shadow:inset 0 0 0 1px rgba(255,248,240,.35),inset 0 -3px 0 #FF8A1F}
.scene[data-lesson="risk-5"][data-step="1"] .obj.crash .prop{transform:scale(.72);transform-origin:center bottom}
.scene[data-lesson="risk-5"][data-step="3"] .obj.crash .prop{transform:scale(.7);transform-origin:center bottom}
.scene[data-lesson="risk-5"][data-step="3"] .obj.mix .prop{transform:scale(.86);transform-origin:center bottom}
.scene[data-lesson="defi-5"][data-step="1"] .obj.climb .prop{transform:translateY(-8px)}
.scene[data-lesson="defi-5"] .obj.deep .prop{width:min(84px,100%)}
.sand{display:grid;gap:12px}
.sand-row{display:flex;gap:8px;flex-wrap:wrap}
.sand-row .btn{min-height:44px}
.sand-row .btn[aria-pressed="true"]{background:#1A1714;color:#FFF8EF}
.sand label{display:block;font-weight:800;font-size:14px;margin-bottom:4px}
.sand input[type=range]{width:100%;accent-color:#FF6A00;min-height:36px}
.sand-bars{display:flex;align-items:stretch;gap:8px;height:148px;padding:10px;background:#1A1714;border-radius:16px}
.sand-bars>div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;min-width:0;color:#FFF8EF;font-size:11px;font-weight:800;text-align:center;gap:6px}
.sand-bars .bar-track,.poolvis .bar-track{flex:1;width:100%;min-height:64px;display:flex;align-items:flex-end}
.sand-bars i,.poolvis .bar-track span{display:block;width:100%;border-radius:8px 8px 2px 2px;min-height:8px}
.sand-bars img{width:16px;height:16px;object-fit:contain}
.sand-out{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sand-out div{background:#FFF8EF;border:1.5px solid #1A1714;border-radius:12px;padding:8px}
.sand-out b{display:block;font-size:22px;line-height:1.2}
.sand-note{font-size:12px;line-height:1.45;color:#6b645b;margin:0}
.sand-math{font-weight:800;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.poolvis{display:flex;gap:10px;align-items:stretch;height:140px}
.poolvis>div{flex:1;background:#F3EBE1;border-radius:12px;height:100%;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;padding:8px}
.poolvis .bar-track span{background:#FF6A00}
.poolvis .usdc .bar-track span{background:#2775CA}
.poolvis .eth span{background:#FF6A00}
.poolvis .usdc span{background:#2775CA}
.poolvis small{display:block;text-align:center;font-size:11px;font-weight:800;padding:4px 0}
.endcard{animation:cardin .45s ease .55s both}
@keyframes cardin{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.board{display:flex;gap:6px;align-items:stretch;min-width:0}
.board .tile,.board .rowline,.board .sheet,.board .mrow{min-width:0}
.board .tile{flex:1 1 0;background:#FFF8EF;color:#1A1714;border-radius:12px;padding:8px 6px;text-align:center;border:2px solid transparent}
.board .tile b,.board .rowline b,.board .sheet b,.board .mrow b{display:block;font-size:12px;line-height:1.25}
.board .v{display:none;font-size:11px;font-weight:800;line-height:1.3;margin-top:4px}
.scene[data-step="0"] .v.s0,.scene[data-step="1"] .v.s1,.scene[data-step="2"] .v.s2,.scene[data-step="3"] .v.s3{display:block}
.scene[data-step="0"] .heat0,.scene[data-step="1"] .heat1,.scene[data-step="2"] .heat2,.scene[data-step="3"] .heat3{border-color:#FF6A00;transform:translateY(-3px)}
.board.nodes{flex-wrap:wrap}
.board.nodes .tile{flex:1 1 46%}
.board.cards{flex-direction:column}
.board.versus .tile{min-height:108px}
.board.lane{position:relative;display:block;padding-top:34px}
.board.lane .stops{display:flex;gap:6px}
.board.lane .coin{position:absolute;top:10px;left:8%;width:18px;height:18px;border-radius:50%;background:#FF6A00;box-shadow:0 0 0 4px rgba(255,106,0,.28);transition:left .5s cubic-bezier(.2,.7,.2,1)}
.scene[data-step="1"] .board.lane .coin{left:32%}
.scene[data-step="2"] .board.lane .coin{left:56%}
.scene[data-step="3"] .board.lane .coin{left:calc(100% - 34px)}
.board.ladder{flex-direction:column;gap:6px}
.board.ladder .rowline,.board.stack .sheet{background:#FFF8EF;color:#1A1714;border-radius:12px;padding:8px 10px;border:2px solid transparent}
.board.meters{flex-direction:column;gap:10px}
.board.meters .mrow{background:#2a2622;border-radius:12px;padding:8px 10px}
.board.meters .barline{height:14px;border-radius:999px;background:#3a342e;overflow:hidden;margin-top:6px}
.board.meters .fill{display:block;height:100%;width:28%;background:#FF6A00;border-radius:999px;transition:width .5s cubic-bezier(.2,.7,.2,1)}
.scene[data-kind="pool"][data-step="0"] .fill.eth{width:42%}.scene[data-kind="pool"][data-step="0"] .fill.usdc{width:70%}
.scene[data-kind="pool"][data-step="1"] .fill.eth{width:62%}.scene[data-kind="pool"][data-step="1"] .fill.usdc{width:48%}
.scene[data-kind="pool"][data-step="2"] .fill.eth{width:84%}.scene[data-kind="pool"][data-step="2"] .fill.usdc{width:28%}
.scene[data-kind="pool"][data-step="3"] .fill.eth{width:70%}.scene[data-kind="pool"][data-step="3"] .fill.usdc{width:40%}
.scene[data-kind="vault"][data-step="0"] .fill.col{width:78%}.scene[data-kind="vault"][data-step="0"] .fill.debt{width:8%}
.scene[data-kind="vault"][data-step="1"] .fill.col{width:78%}.scene[data-kind="vault"][data-step="1"] .fill.debt{width:46%}
.scene[data-kind="vault"][data-step="2"] .fill.col{width:46%}.scene[data-kind="vault"][data-step="2"] .fill.debt{width:46%}
.scene[data-kind="vault"][data-step="3"] .fill.col{width:34%}.scene[data-kind="vault"][data-step="3"] .fill.debt{width:64%}
.scene[data-kind="flow"][data-step="0"] .fill.in{width:24%}.scene[data-kind="flow"][data-step="0"] .fill.out{width:24%}
.scene[data-kind="flow"][data-step="1"] .fill.in{width:100%}.scene[data-kind="flow"][data-step="1"] .fill.out{width:18%}
.scene[data-kind="flow"][data-step="2"] .fill.in{width:100%}.scene[data-kind="flow"][data-step="2"] .fill.out{width:80%}
.scene[data-kind="flow"][data-step="3"] .fill.in{width:36%}.scene[data-kind="flow"][data-step="3"] .fill.out{width:16%}
.scene[data-kind="recover"][data-step="0"] .fill.score{width:100%}.scene[data-kind="recover"][data-step="0"] .fill.rate{width:10%}
.scene[data-kind="recover"][data-step="1"] .fill.score{width:80%}.scene[data-kind="recover"][data-step="1"] .fill.rate{width:36%}
.scene[data-kind="recover"][data-step="2"] .fill.score{width:96%}.scene[data-kind="recover"][data-step="2"] .fill.rate{width:36%}
.scene[data-kind="recover"][data-step="3"] .fill.score{width:100%}.scene[data-kind="recover"][data-step="3"] .fill.rate{width:62%}
.scene[data-kind="ledger"][data-step="2"] .tile:nth-child(3){background:#FFE1CC}
.scene[data-kind="ledger"][data-step="3"] .tile:nth-child(3){background:#E7F1EC;border-color:#326756}
@keyframes scene-pop{from{opacity:1;transform:translateY(2px)}to{opacity:0;transform:translateY(0)}}
@media(min-width:720px){
  .scene-board{min-height:180px;padding:16px}
  .scene-eb{width:72px;height:96px}
  .scene-cap{min-height:72px}
  .scene-cap p{font-size:15px}
  .scene .hook{font-size:26px}
  .scene-ctrl{max-width:480px}
  .world-track{height:280px}
  .scene[data-step="4"] .world-track{height:240px}
  .obj .prop{width:min(112px,100%)}
  .scene[data-step="4"] .obj .prop{width:min(84px,88%)}
  .scene[data-lesson="defi-5"] .obj.deep .prop{width:min(140px,100%)}
  .board.nodes .tile,.board.cards .tile{flex:1 1 0}
  .board.cards{flex-direction:row}
  .board .tile b{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
  .scene-score .pop,.burst{animation:none;display:none}
  .capw{animation:none;opacity:1;color:var(--ink)}
  .endcard,.obj,.obj .prop,.glyph{animation:none!important}
  .world-track,.scene-bar i{transition:none!important}
}

/* 11/23 검수: 카드에는 강의 시간만, 시계 아이콘 칩 */
.course-facts .dur{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;background:var(--cream);border:1px solid var(--line)}
.course-facts .dur::before{content:'';width:12px;height:12px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center/contain no-repeat}
.sem-chip{display:inline-block;vertical-align:middle;margin-left:8px;padding:3px 10px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:12px;font-weight:700;color:var(--muted);letter-spacing:0}
