/* 탄퀀트 아카데미 전자책 「퀀트 입문」(/academy-ebook · 2026-10-14) — 아카데미(academy.css)와 같은 결: 검은 바탕 · 흰 글자 · 파란 강조.
   한 화면 = 한 페이지(개념 하나 + 그림 하나). 왼쪽 목차 · 오른쪽 글 · 아래 이전 · 다음. 그림(SVG)의 색은 전부 여기 class 로. */
:root{
  --eb-bg:var(--tq-eb-bg);--eb-card:var(--tq-eb-card);--eb-card2:var(--tq-eb-card2);--eb-line:var(--tq-eb-line);--eb-line2:var(--tq-eb-line2);
  --eb-ink:var(--tq-eb-ink);--eb-sub:var(--tq-eb-sub);--eb-mut:var(--tq-eb-mut);--eb-blue:var(--tq-eb-blue);--eb-blue-ink:var(--tq-eb-blue-ink);--eb-blue-weak:var(--tq-eb-blue-weak);--eb-gold:var(--tq-eb-gold);
  --eb-up:var(--tq-eb-up);--eb-dn:var(--tq-eb-dn);--eb-wa:var(--tq-eb-wa);--eb-l3:var(--tq-eb-l3);
  --eb-sans:"SF Pro Display",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Pretendard","Malgun Gothic",system-ui,sans-serif;
  --eb-mono:"Tape Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;--eb-ease:cubic-bezier(.2,.7,.2,1)
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{background:var(--eb-bg)}
body.eb-page{margin:0;min-height:100vh;background:var(--eb-bg);color:var(--eb-ink);font:400 16px/1.7 var(--eb-sans);-webkit-font-smoothing:antialiased;word-break:keep-all;overflow-x:clip}
.skip-link{position:absolute;left:12px;top:-60px;z-index:1000;padding:10px 14px;border-radius:10px;background:var(--eb-ink);color:var(--eb-bg);font-weight:700;text-decoration:none}
.skip-link:focus{top:12px}
a{color:var(--eb-blue-ink)}
.eb{max-width:1180px;margin:0 auto;padding:clamp(96px,12vh,124px) clamp(16px,4vw,36px) 120px}
/* 머리 */
.eb-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 20px;margin:0 0 22px}
.eb-eyebrow{margin:0 0 8px;font:500 12px/1 var(--eb-mono);letter-spacing:.22em;color:var(--eb-blue-ink)}
.eb-h1{margin:0;font-size:clamp(26px,2.4vw + 14px,40px);line-height:1.2;font-weight:800;letter-spacing:-.03em}
.eb-h1 small{display:block;margin-top:6px;font-size:15px;font-weight:500;letter-spacing:0;color:var(--eb-sub)}
.eb-meta{margin:0;color:var(--eb-mut);font-size:13px;line-height:1.6;text-align:right}
.eb-meta a{color:var(--eb-sub)}
/* 두 칸 */
.eb-grid{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px;align-items:start}
.eb-toc{position:sticky;top:96px;max-height:calc(100vh - 120px);overflow:auto;padding:14px;border:1px solid var(--eb-line);border-radius:18px;background:var(--eb-card)}
.eb-toc-h{margin:4px 6px 10px;font:500 11px/1 var(--eb-mono);letter-spacing:.18em;color:var(--eb-mut)}
.eb-toc-part{margin:12px 6px 6px;font-size:12.5px;font-weight:800;color:var(--eb-blue-ink)}
.eb-toc-part:first-of-type{margin-top:0}
.eb-toc ol{margin:0;padding:0;list-style:none}
.eb-toc li{margin:0}
.eb-toc button{display:flex;align-items:center;gap:9px;width:100%;padding:8px 8px;border:0;border-radius:10px;background:none;color:var(--eb-sub);font:500 14px/1.35 var(--eb-sans);text-align:left;cursor:pointer}
.eb-toc button:hover{background:var(--tq-eb-w04);color:var(--eb-ink)}
.eb-toc button[aria-current="page"]{background:var(--eb-blue-weak);color:var(--eb-ink);font-weight:700}
.eb-toc button i{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:var(--tq-eb-w05);font:700 11.5px/1 var(--eb-mono);font-style:normal;color:var(--eb-mut)}
.eb-toc button[aria-current="page"] i{background:var(--tq-eb-blue-fill);color:var(--tq-eb-white)}
.eb-toc-fold{display:none}
/* 페이지 */
.eb-pg{padding:clamp(22px,3vw,36px);border:1px solid var(--eb-line);border-radius:24px;background:linear-gradient(180deg,var(--eb-card2),var(--eb-card));animation:eb-in .3s var(--eb-ease)}
@keyframes eb-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.eb-pg-k{margin:0 0 8px;font:500 11.5px/1 var(--eb-mono);letter-spacing:.2em;color:var(--eb-blue-ink)}
.eb-pg-h{margin:0;font-size:clamp(24px,1.6vw + 16px,34px);line-height:1.25;font-weight:800;letter-spacing:-.03em}
.eb-pg-lead{margin:14px 0 0;font-size:17px;line-height:1.7;color:var(--eb-ink);text-wrap:pretty}
.eb-fig{margin:22px 0 0;padding:14px 14px 10px;border:1px solid var(--eb-line);border-radius:18px;background:var(--tq-eb-plot)}
.eb-fig figcaption{margin:8px 4px 0;font-size:12.5px;line-height:1.6;color:var(--eb-mut)}
.eb-fig img{display:block;width:100%;height:auto;border-radius:10px}
.eb-body{margin:20px 0 0}
.eb-body p{margin:0 0 12px;font-size:15.5px;line-height:1.8;color:var(--eb-ink);text-wrap:pretty}   /* 2026-10-15 본문 = 흰색(사장님 「일반 텍스트도 더 잘 보이게」) */
.eb-body p b{color:var(--eb-blue-ink)}
.eb-nums{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:18px 0 0}
.eb-nums div{padding:12px 14px;border-radius:14px;background:var(--tq-eb-w03);border:1px solid var(--eb-line)}
.eb-nums dt{font-size:12px;color:var(--eb-sub)}
.eb-nums dd{margin:4px 0 0;font-size:19px;font-weight:800;letter-spacing:-.01em;color:var(--eb-ink);font-variant-numeric:tabular-nums}
.eb-nums dd.up{color:var(--eb-up)}.eb-nums dd.dn{color:var(--eb-dn)}.eb-nums dd.wa{color:var(--eb-wa)}
.eb-key{margin:20px 0 0;padding:14px 16px;border-radius:14px;border:1px solid var(--tq-eb-gold-line);background:var(--tq-eb-gold-weak);color:var(--eb-ink);font-size:15px;line-height:1.7}
.eb-key b{color:var(--eb-gold);margin-right:8px;font:700 11.5px/1 var(--eb-mono);letter-spacing:.14em}
.eb-src{margin:14px 0 0;font-size:12.5px;line-height:1.6;color:var(--eb-mut)}
.eb-cta,.eb-page .eb-cta{display:inline-flex;align-items:center;gap:8px;margin:16px 10px 0 0;padding:11px 16px;border-radius:12px;background:var(--tq-eb-blue-fill);color:var(--tq-eb-white);font-weight:700;text-decoration:none}   /* .eb-page 를 붙인 까닭 — body.rr-bt a 가 글자를 노랗게 덮어 파란 단추 위 2.1:1 이었다(2026-10-21) */
.eb-cta.ghost{background:var(--tq-eb-w05);color:var(--eb-ink);border:1px solid var(--eb-line2)}
/* 이전 · 다음 */
.eb-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 0}
.eb-nav button{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 18px;border:1px solid var(--eb-line2);border-radius:14px;background:var(--eb-card);color:var(--eb-ink);font:700 15px/1 var(--eb-sans);cursor:pointer}
.eb-nav button:disabled{opacity:.35;cursor:default}
.eb-nav button.next{background:var(--tq-eb-blue-fill);border-color:var(--tq-eb-blue-fill);color:var(--tq-eb-white)}
.eb-nav .eb-pos{font:500 13px/1 var(--eb-mono);color:var(--eb-mut);letter-spacing:.08em}
.eb-bar{height:4px;margin:10px 0 0;border-radius:2px;background:var(--tq-eb-w06);overflow:hidden}
.eb-bar i{display:block;height:100%;background:var(--eb-blue);transition:width .3s var(--eb-ease)}
/* 그림(SVG) 색 — 전부 class */
.ebk-svg{display:block;width:100%;height:auto;font-family:var(--eb-sans)}
.ebk-svg .grid{stroke:var(--tq-eb-grid);stroke-width:1}.ebk-svg .grid.v{stroke:var(--tq-eb-grid-v)}
.ebk-svg .zero{stroke:var(--tq-eb-zero);stroke-width:1;stroke-dasharray:3 3}
.ebk-svg .ax,.ebk-svg .lg,.ebk-svg .sub{fill:var(--eb-mut);font-size:12px}.ebk-svg .lg{fill:var(--eb-sub);font-size:12.5px}
.ebk-svg .ln{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.ebk-svg .ln.l1{stroke:var(--eb-blue)}.ebk-svg .ln.l2{stroke:var(--tq-eb-grey)}.ebk-svg .ln.l3{stroke:var(--eb-l3)}
.ebk-svg .area{stroke:none}.ebk-svg .area.l1{fill:var(--tq-eb-blue-area)}.ebk-svg .area.l2{fill:var(--tq-eb-grey-area)}.ebk-svg .area.l3{fill:var(--tq-eb-l3-area)}
.ebk-svg .dot{fill:var(--eb-bg);stroke-width:2.5}.ebk-svg .dot.up{stroke:var(--eb-up)}.ebk-svg .dot.dn{stroke:var(--eb-dn)}.ebk-svg .dot.wa{stroke:var(--eb-wa)}
.ebk-svg .lab{font-size:12.5px;font-weight:700;fill:var(--eb-ink);paint-order:stroke;stroke:var(--tq-eb-plot);stroke-width:4px;stroke-linejoin:round}
.ebk-svg .lab.up{fill:var(--eb-up)}.ebk-svg .lab.dn{fill:var(--eb-dn)}
.ebk-svg .band{fill:var(--tq-eb-dn-band)}
.ebk-svg .bar{fill:var(--tq-eb-line2)}.ebk-svg .bar.l1{fill:var(--eb-blue)}.ebk-svg .bar.l2{fill:var(--tq-eb-grey)}.ebk-svg .bar.l3{fill:var(--eb-l3)}.ebk-svg .bar.wa{fill:var(--eb-wa)}.ebk-svg .bar.dn{fill:var(--eb-dn)}
.ebk-svg .lab-l{fill:var(--eb-sub);font-size:13px}.ebk-svg .lab-l.hl{fill:var(--eb-ink);font-weight:700}
.ebk-svg .val{fill:var(--eb-ink);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}.ebk-svg .val.hl{fill:var(--eb-wa)}.ebk-svg .val.in{fill:var(--eb-bg)}.ebk-svg .val.in .sub{fill:var(--eb-bg);opacity:.8}
.ebk-svg .box{fill:var(--tq-eb-w03);stroke:var(--tq-eb-w15);stroke-width:1}.ebk-svg .num{fill:var(--eb-blue)}.ebk-svg .numt{fill:var(--tq-eb-white);font-size:13px;font-weight:800}
.ebk-svg .bt{fill:var(--eb-ink);font-size:14.5px;font-weight:700}.ebk-svg .bs{fill:var(--eb-sub);font-size:12.5px}
.ebk-svg .arr{fill:none;stroke:var(--eb-blue-ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* 표 */
.eb-tbl{width:100%;margin:18px 0 0;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}
.eb-tbl th,.eb-tbl td{padding:9px 10px;border-bottom:1px solid var(--eb-line);text-align:right;white-space:nowrap}
.eb-tbl th{font-size:12px;color:var(--eb-mut);font-weight:700}
.eb-tbl th:first-child,.eb-tbl td:first-child{text-align:left;color:var(--eb-ink)}
.eb-tbl tr.hl td{color:var(--eb-ink);font-weight:700;background:var(--eb-blue-weak)}
.eb-tbl-w{overflow-x:auto}
@media (max-width:900px){
  .eb-grid{grid-template-columns:1fr}
  .eb-toc{position:static;max-height:none}
  .eb-toc-fold{display:flex;align-items:center;justify-content:space-between;width:100%;padding:4px 6px;border:0;background:none;color:var(--eb-ink);font:700 15px/1 var(--eb-sans);cursor:pointer}
  .eb-toc[data-shut="1"] .eb-toc-in{display:none}
  .eb-meta{text-align:left}
}
@media (max-width:560px){
  .eb{padding-top:84px}
  .eb-pg{padding:18px 14px;border-radius:18px}
  .eb-fig{padding:8px 6px 6px}
  .eb-nav button{padding:0 12px;font-size:14px}
}
/* 2026-10-14 원고판 — 그림 여러 장 · 묶음 막대 · 위기 띠 이름 · 결과 카드(결과 화면 지표 칸 모양) */
.eb-fig+.eb-fig{margin-top:14px}
.ebk-svg .ln.up{stroke:var(--eb-up)}.ebk-svg .ln.dn{stroke:var(--eb-dn)}.ebk-svg .ln.wa{stroke:var(--eb-wa)}.ebk-svg .ln.thick{stroke-width:3}
.ebk-svg .area.wa{fill:var(--tq-eb-gold-weak)}.ebk-svg .bar.dn{fill:var(--eb-dn)}.ebk-svg .bar.up{fill:var(--eb-up)}
.ebk-svg .bandt{fill:var(--eb-dn);font-size:11.5px;font-weight:700}.ebk-svg .val.sm{font-size:11.5px}
.ebk-svg line.hl,.ebk-svg path.hl{stroke:var(--eb-wa);stroke-dasharray:4 3;stroke-width:1}   /* 2026-10-15 글자(.lab-l.hl · .val.hl)에 점선 테두리가 씌워져 깨져 보이던 것 — 선에만 */
.ebk-svg .kp-bg{fill:var(--eb-card);stroke:var(--tq-eb-line);stroke-width:1}.ebk-svg .kp-tile{fill:var(--tq-eb-w03);stroke:var(--tq-eb-line);stroke-width:1}
.ebk-svg .kp-title{fill:var(--eb-ink);font-size:15px;font-weight:800}.ebk-svg .kp-tag{fill:var(--eb-mut);font-size:11.5px;letter-spacing:.06em}
.ebk-svg .kp-l{fill:var(--eb-mut);font-size:11.5px}.ebk-svg .kp-v{fill:var(--eb-ink);font-size:19px;font-weight:800;font-variant-numeric:tabular-nums}
.ebk-svg .kp-v.up,.ebk-svg .kp-v2.up,.ebk-svg .up{fill:var(--eb-up)}.ebk-svg .kp-v.dn,.ebk-svg .kp-v2.dn,.ebk-svg .dn{fill:var(--eb-dn)}.ebk-svg .kp-v.wa{fill:var(--eb-wa)}
.ebk-svg .kp-v2{fill:var(--eb-ink);font-size:13px;font-weight:800}.ebk-svg .kp-s{fill:var(--eb-mut);font-size:10.5px}
.ebk-svg .kp-note{fill:var(--tq-eb-dn-band)}.ebk-svg .kp-note-bar{fill:var(--eb-dn)}.ebk-svg .kp-nt{fill:var(--eb-sub);font-size:12px}.ebk-svg .kp-nt .b{fill:var(--eb-ink);font-weight:800}
.ebk-svg .kp-h{fill:var(--eb-ink);font-size:13.5px;font-weight:800}.ebk-svg .kp-k{fill:var(--eb-mut);font-size:11.5px}.ebk-svg .kp-kv{fill:var(--eb-ink);font-size:12px;font-weight:700}.ebk-svg .kp-ln{stroke:var(--tq-eb-line);stroke-width:1}
.ebk-svg .kp-foot{fill:var(--eb-mut);font-size:11px}
/* 2026-10-16 실제 차트 장면 — 돌파 매수 B(형광) · 매도 S · 손절선 · 돌파선 · 금고 보관/투입 화살표 */
.ebk-svg .ln.px{stroke:var(--tq-eb-grey)}
.ebk-svg .ln.chan{stroke:var(--eb-wa);stroke-dasharray:5 4;stroke-width:1.5;opacity:.9}
.ebk-svg .hl.stop{stroke:var(--eb-dn)}.ebk-svg .lab.stop{fill:var(--eb-dn)}
.ebk-svg .mk{stroke:var(--eb-bg);stroke-width:1.5}
.ebk-svg .mk.b{fill:var(--eb-up);filter:drop-shadow(0 0 6px var(--eb-up))}
.ebk-svg .mk.s{fill:var(--eb-dn)}
.ebk-svg .mkt{fill:var(--tq-eb-white);font-size:11px;font-weight:900}
.ebk-svg .flow{fill:none;stroke-width:2.2;stroke-linecap:round;stroke-dasharray:2 3}
.ebk-svg .flow.wa{stroke:var(--eb-wa)}.ebk-svg .flow.up{stroke:var(--eb-up)}
.ebk-svg .flowh.wa{fill:var(--eb-wa)}.ebk-svg .flowh.up{fill:var(--eb-up)}
.ebk-svg .lab.wa2{fill:var(--eb-wa)}
.ebk-svg .pt{fill:var(--eb-ink);font-size:13.5px;font-weight:800}
/* 2026-10-15 결과 화면 그대로 — 공용 모듈(bt-analytics.css · fibo-rr.css 토큰)이 그린 칸 · 곡선 · 표를 전자책 쪽 안에 */
body.eb-page.rr-bt{background:var(--eb-bg);color:var(--eb-ink)}
.eb-group{display:grid;gap:14px}
.eb-figbox{min-width:0}.eb-figt{margin:0 0 8px;font-size:13px;font-weight:700;color:var(--eb-sub)}
.eb-bta{padding:14px 14px 10px}.eb-bta .bta-grid{gap:14px 16px}.eb-bta .bta-v{font-size:22px}
.eb-tbl table{width:100%;font-size:13px}.eb-tbl th,.eb-tbl td{text-align:right;white-space:nowrap}.eb-tbl th.l,.eb-tbl td.l{text-align:left}.eb-tbl thead th{color:var(--eb-mut);font-weight:600}
.eb-tbl .up{color:var(--eb-up);font-weight:700}.eb-tbl .dn{color:var(--eb-dn);font-weight:700}.eb-tbl .wa{color:var(--eb-wa);font-weight:800}.eb-tbl .hl{color:var(--eb-ink);font-weight:800}.eb-tbl .sm{font-size:12px;color:var(--eb-mut);white-space:normal}
.eb-kv th,.eb-kv td{text-align:left;white-space:normal}.eb-kv th{width:14%;color:var(--eb-mut);font-weight:500}.eb-kv td{width:19%;font-weight:700}
.eb-tiles .eb-k{cursor:default;border-bottom-style:solid}
@media (max-width:560px){.eb-bta .bta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eb-bta .bta-v{font-size:18px}.eb-kv th,.eb-kv td{display:block;width:auto}.eb-kv th{padding-bottom:0;border:0}}
/* 실제 차트(캔들) — 2026-10-15 사장님 「선 말고 차트 데이터로」: MDD(A · B) · 언더워터 그림. 색은 전부 class */
.ebk-svg .cd{stroke-width:1.2}.ebk-svg .cd.up{stroke:var(--eb-up)}.ebk-svg .cd.dn{stroke:var(--eb-dn)}
.ebk-svg .cdb.up{fill:var(--eb-up)}.ebk-svg .cdb.dn{fill:var(--eb-dn)}
.ebk-svg .band.wa{fill:var(--tq-eb-gold-weak)}.ebk-svg .bandt.wa{fill:var(--eb-wa)}
.ebk-svg .dur{fill:none;stroke:var(--eb-wa);stroke-width:2;stroke-linecap:round}
.ebk-svg .durt{fill:var(--eb-wa);font-size:12.5px;font-weight:800;paint-order:stroke;stroke:var(--tq-eb-plot);stroke-width:4px;stroke-linejoin:round}
.ebk-svg .lab.wa{fill:var(--eb-wa)}.ebk-svg .dot.wa{stroke:var(--eb-wa)}.ebk-svg .hl.up{stroke:var(--eb-up)}
.ebk-svg .band.dn{fill:var(--eb-dn);opacity:.16}.ebk-svg .band.up{fill:var(--eb-up);opacity:.14}.ebk-svg .bandt.up{fill:var(--eb-up)}.ebk-svg .band.wa{fill:var(--eb-wa);opacity:.14}
/* 2026-10-15 사장님 「책 글 말고 상세페이지 · 랜딩페이지 형태로 · 가독성 · 사진 많이 · 휴대폰 최적화」 — 1권(.eb-land)만. 한 줄에 한 문장 · 강조 칸 · 큰 숫자 · 꽉 찬 그림 · 위 칩 목차 · 아래 장 넘기기. 색은 토큰만 */
.eb-land .eb{max-width:1120px;padding-top:clamp(84px,10vh,112px)}
.eb-page .eb-bar{position:fixed;top:0;left:0;right:0;z-index:100200;height:3px;margin:0;border-radius:0;background:var(--tq-eb-w06)}
.eb-land .eb-hero{display:block;margin:0 0 16px}
.eb-land .eb-h1{font-size:clamp(32px,7.5vw,46px);line-height:1.12}
.eb-land .eb-h1 small{margin-top:10px;font-size:clamp(14px,3.6vw,16px);line-height:1.55}
.eb-land .eb-meta{margin-top:12px;text-align:left}
/* 목차(2026-10-15 사장님 「PC 는 옆에 목차 · 휴대폰은 왼쪽 위 목차 단추로」) — PC: 왼쪽에 붙어 따라오는 목차(두 칸) · 휴대폰: 위 줄 「☰ 목차」 → 왼쪽 서랍 */
.eb-land .eb-grid{display:grid;grid-template-columns:264px minmax(0,780px);gap:28px;align-items:start}
.eb-land .eb-main{min-width:0;max-width:780px}
.eb-land .eb-toc{position:sticky;top:92px;max-height:calc(100vh - 112px);overflow:auto;padding:12px;border:1px solid var(--eb-line);border-radius:18px;background:var(--eb-card)}
.eb-land .eb-toc[data-shut="1"] .eb-toc-in{display:block}
.eb-toc-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 6px 8px}
.eb-toc-top .eb-toc-h{margin:0}
.eb-land .eb-toc .eb-toc-x{display:none;width:36px;height:36px;padding:0;border:0;border-radius:999px;background:var(--tq-eb-w05);color:var(--eb-ink);font:700 20px/1 var(--eb-sans);cursor:pointer}   /* 휴대폰 서랍 전용(.eb-toc button 규칙보다 세게) */
.eb-tocbar{display:none}
.eb-toc-bd{display:none}
.eb-land .eb-toc-fold{display:none}
@media (max-width:900px){
  .eb-land .eb-grid{display:block}
  .eb-land .eb-main{max-width:none}
  .eb-tocbar{position:sticky;top:54px;z-index:50;display:flex;align-items:center;gap:10px;margin:0 calc(-1 * clamp(16px,4vw,36px)) 4px;padding:8px clamp(16px,4vw,36px);border-top:1px solid var(--eb-line);border-bottom:1px solid var(--eb-line);background:var(--eb-bg)}
  .eb-land .eb-toc-fold{display:inline-flex;align-items:center;gap:6px;flex:none;width:auto;min-height:38px;padding:0 14px;border:1px solid var(--eb-line2);border-radius:999px;background:var(--eb-card);color:var(--eb-ink);font:700 14px/1 var(--eb-sans);cursor:pointer}
  .eb-land .eb-toc-fold[aria-expanded="true"]{border-color:var(--eb-blue);background:var(--eb-blue-weak)}
  .eb-tocbar-now{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 12.5px/1.3 var(--eb-mono);letter-spacing:.02em;color:var(--eb-sub)}
  .eb-land .eb-toc{position:fixed;top:0;bottom:0;left:0;z-index:100300;width:min(86vw,340px);max-height:none;padding:16px 14px calc(16px + env(safe-area-inset-bottom,0px));border:0;border-right:1px solid var(--eb-line2);border-radius:0 22px 22px 0;transform:translateX(-102%);transition:transform .28s var(--eb-ease);overflow:auto;overscroll-behavior:contain}
  .eb-land .eb-toc[data-shut="0"]{transform:none}
  .eb-land .eb-toc .eb-toc-x{display:grid;place-items:center}
  .eb-toc-bd[data-on="1"]{display:block;position:fixed;inset:0;z-index:100290;background:var(--tq-eb-shadow)}
  body.eb-toc-open{overflow:hidden}
}
.eb-land .eb-pg{padding:0;border:0;border-radius:0;background:none;animation:none}
.eb-sec{padding:34px 0 40px;border-bottom:1px solid var(--eb-line);scroll-margin-top:116px}
.eb-sec:last-child{border-bottom:0}
.eb-sec-k{display:flex;justify-content:space-between;gap:10px;margin:0 0 10px;font:500 11.5px/1.4 var(--eb-mono);letter-spacing:.14em;color:var(--eb-blue-ink)}
.eb-sec-k .n{flex:none;color:var(--eb-mut);letter-spacing:.08em}
.eb-sec-h{margin:0;font-size:clamp(27px,7vw,38px);line-height:1.18;font-weight:800;letter-spacing:-.03em;text-wrap:balance}
.eb-sec-lead{margin:14px 0 0;font-size:clamp(17px,4.6vw,20px);line-height:1.65;font-weight:600;color:var(--eb-ink);text-wrap:pretty}
.eb-sec-lead b{color:var(--eb-blue-ink)}
.eb-land .eb-fig{margin:22px calc(-1 * clamp(16px,4vw,36px)) 0;padding:12px 10px 10px;border-left:0;border-right:0;border-radius:0}
.eb-land .eb-body .eb-fig{margin-top:18px}
.eb-land .eb-fig figcaption{margin-top:10px;padding:0 4px;font-size:13.5px;color:var(--eb-sub)}
.eb-land .eb-body{margin-top:4px}
.eb-para{margin:22px 0 0}
.eb-line{margin:0 0 10px;font-size:17px;line-height:1.75;color:var(--eb-ink);text-wrap:pretty}   /* 2026-10-15 문장 = 흰색 · 굵은 글 = 파랑(강조 칸과 같게) */
.eb-line b{color:var(--eb-blue-ink)}
.eb-line.hl{margin:14px 0;padding:14px 16px;border-left:3px solid var(--eb-blue);border-radius:0 14px 14px 0;background:var(--eb-blue-weak);color:var(--eb-ink);font-weight:600;line-height:1.7}
.eb-line.hl b{color:var(--eb-blue-ink)}
.eb-land .eb-nums{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px}
.eb-land .eb-nums div{padding:16px 14px;border-radius:16px}
.eb-land .eb-nums dt{font-size:13px;line-height:1.4;color:var(--eb-sub)}
.eb-land .eb-nums dd{margin-top:6px;font-size:clamp(22px,6vw,30px);line-height:1.15}
.eb-land .eb-key{margin-top:24px;padding:18px;border-radius:18px;font-size:16.5px;line-height:1.65;font-weight:600}
.eb-land .eb-key b{display:block;margin:0 0 8px}
.eb-land .eb-src{font-size:12.5px}
.eb-land .eb-ctas{margin:0}
.eb-land .eb-cta{margin-top:18px}
.eb-land .eb-nav{position:sticky;bottom:calc(env(safe-area-inset-bottom,0px) + 12px);z-index:60;width:min(100%,460px);margin:24px 0 0;padding:8px;border:1px solid var(--eb-line2);border-radius:999px;background:var(--eb-card)}
@media (min-width:901px){.eb-land .eb-nav{bottom:calc(env(safe-area-inset-bottom,0px) + 86px)}}   /* PC 는 오른쪽 아래 텔레그램 띠 위로 */
.eb-land .eb-nav button{min-height:40px;padding:0 16px;border-radius:999px;font-size:14px}
.eb-land .eb-nav .eb-pos{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;font-size:12.5px;letter-spacing:.04em;color:var(--eb-sub)}
@media (max-width:900px){.eb-land .eb-nav{width:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 74px);margin-right:92px}}   /* 탭바 위 · 오른쪽 텔레그램 떠 있는 단추를 피해서 */
@media (max-width:560px){
  .eb-land .eb{padding-top:76px}
  .eb-sec{padding:28px 0 32px;scroll-margin-top:104px}
  .eb-line{font-size:16.5px}
  .eb-land .eb-fig{padding:8px 4px 8px}
  .eb-land .eb-nav button{padding:0 12px}
}
/* 2026-10-21 1쪽 후킹 — 결과 화면 「통합 리플레이」 모양(SVG · 토큰만) */
.ebk-svg .rp-bg{fill:var(--eb-bg);stroke:var(--tq-eb-line);stroke-width:1}.ebk-svg .rp-card{fill:var(--eb-card);stroke:var(--tq-eb-line);stroke-width:1}
.ebk-svg .rp-prog{fill:var(--eb-wa);font-size:12.5px;font-weight:800}.ebk-svg .rp-big{fill:var(--eb-ink);font-size:26px;font-weight:800;font-variant-numeric:tabular-nums}.ebk-svg .rp-arrow{fill:var(--eb-blue-ink);font-size:22px}
.ebk-svg .rp-dg{fill:var(--tq-eb-w05);stroke:var(--tq-eb-line2);stroke-width:1}.ebk-svg .rp-dgi{fill:var(--eb-ink);font-size:20px;font-weight:800}.ebk-svg .rp-sep{fill:var(--eb-mut);font-size:20px;font-weight:800}
.ebk-svg .rp-tag{fill:var(--eb-wa)}.ebk-svg .rp-tag.up{fill:var(--eb-up)}.ebk-svg .rp-tagt{fill:var(--tq-eb-plot);font-size:11px;font-weight:800}
.ebk-svg .rp-dot{fill:var(--eb-blue)}.ebk-svg .rp-logo{fill:var(--eb-blue)}.ebk-svg .rp-logot{fill:var(--tq-eb-white);font-size:18px;font-weight:900}.ebk-svg .rp-logot.sm{font-size:12px}
.ebk-svg .ln.bb{stroke:var(--eb-blue);stroke-width:1.2}.ebk-svg .ln.bbm{stroke:var(--eb-blue);stroke-width:1;stroke-dasharray:3 3;opacity:.7}
.ebk-svg .mk.up{fill:var(--eb-up)}.ebk-svg .mk.dn{fill:var(--eb-dn)}.ebk-svg .mkt{font-size:11px;font-weight:800;paint-order:stroke;stroke:var(--eb-card);stroke-width:3px}.ebk-svg .mkt.up{fill:var(--eb-up)}.ebk-svg .mkt.dn{fill:var(--eb-dn)}
.ebk-svg .rp-btn-y{fill:var(--eb-wa)}.ebk-svg .rp-btn-yt{fill:var(--tq-eb-plot);font-size:14px;font-weight:800}.ebk-svg .rp-btn{fill:var(--tq-eb-w05);stroke:var(--tq-eb-line2);stroke-width:1}.ebk-svg .rp-btn.on{stroke:var(--eb-wa)}
.ebk-svg .rp-btnt{fill:var(--eb-ink);font-size:12px;font-weight:700}.ebk-svg .rp-btnt.mut{fill:var(--eb-mut);font-weight:500}.ebk-svg .rp-btnt.on{fill:var(--eb-wa)}
/* 2026-10-27 실제 매매 리플레이(tq-replay-live.js · 메인 랜딩과 같은 .mp 틀 — 스타일은 fibo-rr.css) */
.eb-live{display:grid;gap:14px}
.eb-live-head{display:grid;gap:10px}
.eb-live-big{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.eb-live-big b{font:400 clamp(34px,5vw,56px)/1 var(--tq-font-mono,ui-monospace,monospace);letter-spacing:-.04em}.eb-live-big b.up{color:var(--eb-up)}.eb-live-big b.dn{color:var(--eb-dn)}
.eb-live-big span{font-size:14px;color:var(--eb-sub)}
.eb-live-kv{display:grid;grid-template-columns:repeat(2,minmax(0,auto));gap:8px 26px;margin:0}.eb-live-kv dt{font-size:12px;color:var(--eb-mut)}.eb-live-kv dd{margin:2px 0 0;font-size:14px;font-weight:700;color:var(--eb-ink);font-variant-numeric:tabular-nums}.eb-live-kv dd.dn{color:var(--eb-dn)}
.eb-live-stage{position:relative;min-height:520px;padding:0;border:1px solid var(--eb-line);border-radius:18px;background:var(--tq-bg);overflow:visible}
.eb-live-wait{margin:0;padding:90px 20px;text-align:center;font-size:13.5px;color:var(--eb-mut)}
.eb-live-stage[aria-busy="true"] .eb-live-wait::after{content:"";display:block;width:120px;height:3px;margin:18px auto 0;border-radius:3px;background:linear-gradient(90deg,transparent,var(--eb-blue),transparent);animation:ebLiveBar 1.2s linear infinite}
@keyframes ebLiveBar{from{background-position:-120px 0}to{background-position:120px 0}}
.eb .hrp-logo{flex:none;width:28px;height:28px;border-radius:50%;background:var(--eb-ink);padding:3px;object-fit:contain}
@media (max-width:560px){.eb-live-stage{min-height:420px}.eb-live-kv{grid-template-columns:1fr 1fr;gap:8px 14px}}
