/* ══════════════════════════════════════════════════════════════════
   EZPRO V6 — 다크 + 토스블루
   ──────────────────────────────────────────────────────────────────
   레퍼런스: "EZPRO AI 트레이딩 랜딩페이지 구성안" 이미지 (Hero ·
   Use Cases · Pricing 세 섹션). 방향 참고: Easycut.

   색 규칙
   · 토스블루(#0064FF)는 CTA, 핵심 단어, 활성 탭, 중요한 신호에만.
     카드·버튼을 전부 파랗게 칠하지 않는다.
   · 어두운 글자 바탕 위 파란 "글자"는 가독성을 위해 같은 계열의 밝은
     톤(--blue-t)을 쓴다. 채우기(버튼·뱃지·박스 테두리)는 --blue.
   · 빨강은 손실(하락)에만 (docs/founder_book.md PART 8). 헷징의
     SHORT 다리는 손실이 아니므로 빨강으로 칠하지 않는다(보라).
   · 앰버는 비용·주의(펀딩비·수수료, 관망).
   · 금색·화려한 그라데이션·네온 글로우를 쓰지 않는다.

   타이포
   · Pretendard 한 종류. 숫자는 tabular-nums 로 정렬만 맞춘다.
   · 한글은 word-break: keep-all — 단어 중간에서 줄이 갈리지 않게.
   · 차트 위 글자는 전부 HTML. 캔버스에는 글자를 그리지 않는다.
   ══════════════════════════════════════════════════════════════════ */

:root {
  --bg:      #05070D;
  --bg-2:    #070B14;
  --panel:   #0B1220;
  --panel-2: #0F1828;
  --panel-3: #152036;
  --line:    rgba(140, 160, 190, .12);
  --line-2:  rgba(140, 160, 190, .20);
  --line-3:  rgba(140, 160, 190, .32);

  --text:   #F3F5F9;
  --text-2: #A9B3C3;
  --text-3: #7A8698;
  --text-4: #556073;

  --blue:      #0064FF;
  --blue-h:    #1673FF;
  --blue-p:    #0057E0;
  --blue-t:    #4A92FF;
  --blue-soft: rgba(0, 100, 255, .12);
  --blue-line: rgba(0, 100, 255, .55);

  --up:     #1FBF8F;
  --down:   #F2566B;
  --violet: #A08CFF;
  --amber:  #F0A940;

  --r-sm: 10px; --r: 12px; --r-lg: 16px; --r-xl: 20px;
  --wrap: 1240px;
  --nav-h: 68px;

  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
          'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.65; letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  word-break: keep-all; overflow-wrap: anywhere;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (min-width: 1600px) { :root { --wrap: 1360px; } }
:focus-visible { outline: 2px solid var(--blue-t); outline-offset: 2px; }

/* ── 버튼 ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent;
  font-size: 16px; font-weight: 650; letter-spacing: -.015em; white-space: nowrap;
  cursor: pointer; transition: background-color .16s, border-color .16s, color .16s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn-pri { background: var(--blue); color: #fff; }
.btn-pri:hover { background: var(--blue-h); color: #fff; }
.btn-pri:active { background: var(--blue-p); }
.btn-line { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-line:hover { background: rgba(255, 255, 255, .04); border-color: var(--line-3); color: var(--text); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: var(--r-sm); }
.btn-block { width: 100%; }

/* ── 상단 바 ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60; height: var(--nav-h);
  background: rgba(5, 7, 13, .72);
  border-bottom: 1px solid transparent;
  transition: background-color .2s, border-color .2s;
}
@supports (backdrop-filter: blur(1px)) {
  .nav { backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); }
}
.nav.is-stuck { background: rgba(5, 7, 13, .9); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.logo img { width: 28px; height: 28px; }
.logo b { font-size: 19px; font-weight: 800; letter-spacing: .005em; }
.nav-menu { display: flex; align-items: center; flex: 1 1 auto; gap: 32px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--text-2); transition: color .16s; }
.nav-links a:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-right .login { font-size: 15px; color: var(--text-2); }
.nav-right .login:hover { color: var(--text); }
.nav-burger {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none;
  align-items: center; justify-content: center; cursor: pointer; border-radius: var(--r-sm);
}
.nav-burger span { position: relative; display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: background-color .2s; }
.nav-burger span::before, .nav-burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .22s var(--ease-out);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav.is-open .nav-burger span { background: transparent; }
.nav.is-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ══ HERO ══════════════════════════════════════════════════════ */
.hero { position: relative; padding: 56px 0 72px; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; pointer-events: none; z-index: 0;
  right: -10%; top: -6%; width: 62%; height: 92%;
  background: radial-gradient(closest-side, rgba(0, 100, 255, .16), rgba(0, 100, 255, .05) 55%, transparent 100%);
}
.hero-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: 56px; align-items: center;
  min-height: min(760px, calc(100svh - var(--nav-h) - 96px));
}
.hero-h1 {
  font-size: clamp(32px, 2.6vw + 30px, 76px); line-height: 1.2; letter-spacing: -.038em; font-weight: 800;
}
.hero-h1 em { font-style: normal; color: var(--blue-t); }
.hero-sub { margin-top: 22px; font-size: clamp(16px, .4vw + 14.6px, 19px); line-height: 1.7; color: var(--text-2); max-width: 34em; }

/* AI 요청 입력창 */
.ask { margin-top: 34px; max-width: 580px; }
.ask-box {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 10px 10px 10px 18px; border-radius: var(--r-lg);
  background: var(--panel-2); border: 1.5px solid var(--blue-line);
  box-shadow: 0 0 0 4px rgba(0, 100, 255, .08), 0 18px 40px -22px rgba(0, 100, 255, .55);
  transition: border-color .16s, box-shadow .16s;
}
.ask-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 100, 255, .18), 0 18px 40px -22px rgba(0, 100, 255, .7); }
/* 아이콘·버튼 모두 상자 세로 가운데. 여러 줄이 되어도 두 중심선이 같이 움직인다 */
.ask-ico { flex: 0 0 auto; align-self: center; width: 20px; height: 20px; margin: 0; color: var(--text-3); }
.ask-in {
  flex: 1 1 auto; min-width: 0; min-height: 46px; max-height: 128px; padding: 11px 0; resize: none; overflow-y: auto;
  border: 0; outline: 0; background: transparent; color: var(--text);
  font-family: inherit; font-size: 16px; line-height: 1.5; letter-spacing: -.012em;
}
.ask-in::placeholder { color: var(--text-3); opacity: 1; }
.ask-go {
  flex: 0 0 auto; height: 46px; padding: 0 18px; border: 0; border-radius: var(--r);
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: var(--blue); color: #fff; font-size: 15.5px; font-weight: 650;
  transition: background-color .16s;
}
.ask-go:hover { background: var(--blue-h); }
.ask-go:active { background: var(--blue-p); }
.ask-go svg { width: 16px; height: 16px; }
.ask-go-ico { display: none; }
.ask-err { margin-top: 10px; font-size: 14px; color: var(--amber); }
.chips { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px;
  border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02);
  color: var(--text-2); font-size: 14.5px; font-weight: 550; cursor: pointer; white-space: nowrap;
  transition: border-color .16s, color .16s, background-color .16s;
  -webkit-tap-highlight-color: transparent;
}
.chip svg { width: 15px; height: 15px; opacity: .8; }
.chip:hover { border-color: var(--line-3); color: var(--text); }
.chip[aria-pressed="true"] { border-color: var(--blue-line); color: var(--blue-t); background: var(--blue-soft); }
.chip[aria-pressed="true"] svg { opacity: 1; }
.hero-flow {
  margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  font-size: 14px; color: var(--text-3);
}
.hero-flow i { font-style: normal; color: var(--text-4); }
.hero-flow b { font-weight: 550; color: var(--text-2); }

.hero-vis { position: relative; min-width: 0; }
.hero-cta-m { display: none; }

/* ══ 시연 무대 (Hero) ═══════════════════════════════════════════ */
.stage {
  position: relative; width: 100%; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 80% at 70% 0%, rgba(0, 100, 255, .10), transparent 60%),
    linear-gradient(180deg, #0B1322, #080E1A);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  user-select: none; -webkit-user-select: none;
}
.stage[data-mode="hero"] { aspect-ratio: 1.08 / 1; }
.stage-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-ov { position: absolute; inset: 0; pointer-events: none; }

/* 움직이는 오버레이는 transform 으로만 옮긴다(레이아웃 재계산 없음) */
.ov { position: absolute; left: 0; top: 0; will-change: transform, opacity; opacity: 0; }

/* 사용자 요청 말풍선 */
.ov-bubble {
  left: 22px; top: 22px; display: flex; align-items: center; gap: 10px;
  width: max-content; max-width: calc(100% - 44px); padding: 12px 14px; border-radius: var(--r);
  background: rgba(15, 24, 40, .94); border: 1px solid var(--line-2);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .9);
}
.ov-bubble .av {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-t);
}
.ov-bubble .av svg { width: 15px; height: 15px; }
.ov-bubble .tx { flex: 1 1 auto; min-width: 0; font-size: 15px; font-weight: 550; line-height: 1.45; color: var(--text); }
.ov-bubble .tx .caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--blue-t); }
.ov-bubble .att {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px;
  border-radius: 7px; border: 1px solid var(--blue-line); color: var(--blue-t); font-size: 12.5px; font-weight: 600;
}
.ov-bubble .att svg { width: 12px; height: 12px; }

/* 가격 라벨 · 신호 뱃지 */
.ov-pill {
  padding: 4px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 650; line-height: 1.2; white-space: nowrap;
  background: rgba(11, 18, 32, .92); border: 1px solid var(--line-2); color: var(--text-2);
}
.ov-pill.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.ov-badge {
  padding: 6px 11px; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.15; white-space: nowrap; color: #fff;
  background: var(--blue); box-shadow: 0 10px 22px -10px rgba(0, 100, 255, .9);
}
.ov-badge.is-exit { background: #E9EDF3; color: #0B1220; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .8); }
.ov-badge.is-live-buy { text-align: center; }
.ov-badge small { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; letter-spacing: -.005em; opacity: .85; }
.ov-badge.is-tp { background: var(--up); color: #04130D; box-shadow: 0 10px 22px -10px rgba(31, 191, 143, .75); }
.ov-pill.is-tp { background: var(--up); border-color: var(--up); color: #04130D; }
.ov-pill.is-live { background: #E9EDF3; border-color: #E9EDF3; color: #0B1220; }
.ov-tag {
  padding: 5px 10px; border-radius: 7px; font-size: 13px; font-weight: 650; white-space: nowrap; line-height: 1.2;
  background: rgba(11, 18, 32, .9); border: 1px solid var(--line-2); color: var(--text-2);
}
.ov-tag.k-up { color: #5AD3AD; border-color: rgba(31, 191, 143, .4); }
.ov-tag.k-flat { color: var(--text-2); }
.ov-tag.k-warn { color: var(--amber); border-color: rgba(240, 169, 64, .4); }
.ov-tag.k-blue { color: #fff; background: var(--blue); border-color: var(--blue); }
.ov-tag.k-tp { color: #5AD3AD; border-color: rgba(31, 191, 143, .45); }

/* 커서 */
.ov-cursor { width: 26px; height: 26px; margin: -3px 0 0 -4px; }
.ov-cursor svg { width: 26px; height: 26px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .6)); }
.ov-cursor .ring {
  position: absolute; left: -10px; top: -10px; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid rgba(74, 146, 255, .9); opacity: 0;
}

/* 시연 표시 */
.ov-demo {
  right: 16px; bottom: 14px; left: auto; top: auto; opacity: 1;
  font-size: 12px; font-weight: 550; color: var(--text-4); letter-spacing: -.005em;
}

/* EZPRO AI 카드 (Hero 데스크톱) */
.ov-ai {
  right: 18px; bottom: 44px; left: auto; top: auto; width: min(320px, 56%);
  padding: 15px 16px 14px; border-radius: var(--r-lg);
  background: rgba(11, 18, 32, .95); border: 1px solid var(--line-2);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .95);
}
.ai-h { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text); }
.ai-h .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(0, 100, 255, .2); }
.ai-list { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.ai-list li { display: none; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.ai-list li.is-in { display: flex; animation: aiIn .38s var(--ease-out) both; }
@keyframes aiIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ai-list li.is-final { color: var(--blue-t); font-weight: 650; }
.ck {
  flex: 0 0 auto; position: relative; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%;
  border: 1.5px solid var(--line-3);
}
.ck::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); opacity: 0;
}
.is-done > .ck { background: var(--up); border-color: var(--up); }
.is-done > .ck::after { opacity: 1; }
.is-final > .ck { background: var(--blue); border-color: var(--blue); }
.is-final > .ck::after { opacity: 1; }
.is-warn > .ck { background: var(--amber); border-color: var(--amber); }
.is-warn > .ck::after { opacity: 0; }
.is-warn > .ck::before { content: ""; position: absolute; left: 4.5px; top: 4px; width: 2px; height: 6px; background: #fff; box-shadow: 3px 0 0 #fff; }
.is-busy > .ck { border-color: var(--blue-t); border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ai-note { display: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.55; color: var(--text-3); }
.ai-note.is-in { display: block; }

/* 헷징 설계 패널 */
.ov-hedge {
  left: 22px; top: 92px; width: min(380px, calc(100% - 44px));
  padding: 18px 18px 16px; border-radius: var(--r-lg);
  background: rgba(11, 18, 32, .94); border: 1px solid var(--line-2);
  box-shadow: 0 24px 50px -26px rgba(0, 0, 0, .95);
}
.stage[data-mode="hero"] .ov-hedge { left: auto; top: auto; right: 18px; bottom: 44px; width: min(360px, 64%); }
.hg-row { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 12px; }
.hg-row + .hg-row { margin-top: 12px; }
.hg-k { font-size: 13px; font-weight: 750; letter-spacing: .02em; }
.hg-k.k-long { color: var(--up); }
.hg-k.k-short { color: var(--violet); }
.hg-k.k-net { color: var(--blue-t); }
.hg-bar { position: relative; height: 12px; border-radius: 4px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.hg-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 4px; transform-origin: left center; transform: scaleX(0); }
.hg-bar.b-long i { background: var(--up); }
.hg-bar.b-short i { background: var(--violet); }
.hg-bar.b-net i { background: var(--blue); }
.hg-v { min-width: 84px; text-align: right; font-size: 14px; font-weight: 700; color: var(--text); }
.hg-ratio { margin-top: 12px; display: flex; justify-content: space-between; font-size: 13px; color: var(--text-3); }
.hg-ratio b { color: var(--text); font-weight: 700; }
.hg-net { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); opacity: 0; }
.hg-netlabel { margin-top: 7px; font-size: 13px; color: var(--text-2); }
.hg-netlabel b { color: var(--blue-t); font-weight: 700; }
.hg-costs { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hg-costs li { display: flex; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--text-2); opacity: 0; transform: translateY(5px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.hg-costs li.is-in { opacity: 1; transform: none; }
.hg-costs li b { flex: 0 0 auto; color: var(--amber); font-weight: 700; }
.hg-note { margin-top: 12px; font-size: 12.5px; line-height: 1.55; color: var(--text-3); opacity: 0; transition: opacity .4s; }
.hg-note.is-in { opacity: 1; }
.hg-basis { margin-top: 8px; font-size: 11.5px; color: var(--text-4); }

/* 모바일 상태 한 줄 (AI 카드 대신) */
.stage-status {
  display: none; margin-top: 12px; align-items: center; gap: 9px; min-height: 24px;
  font-size: 14.5px; font-weight: 550; color: var(--text-2);
}
.stage-status.is-final { color: var(--blue-t); font-weight: 650; }

/* 재생 제어 */
.stage-ctl { margin-top: 14px; display: flex; align-items: center; gap: 10px; }
.prog { display: flex; flex: 1 1 auto; gap: 6px; }
.prog button {
  position: relative; flex: 1 1 0; height: 28px; padding: 0; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.prog .lb { font-size: 12.5px; font-weight: 600; color: var(--text-4); transition: color .2s; }
.prog button.is-on .lb { color: var(--text-2); }
.prog .bar { position: relative; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.prog .bar i { position: absolute; inset: 0; background: var(--blue); transform-origin: left center; transform: scaleX(0); }
.prog button.is-past .bar i { transform: scaleX(1); background: rgba(74, 146, 255, .45); }
.ctl-btn {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line-2);
  background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer;
  transition: color .16s, border-color .16s;
}
.ctl-btn:hover { color: var(--text); border-color: var(--line-3); }
.ctl-btn svg { width: 14px; height: 14px; }

/* ══ 섹션 공통 ══════════════════════════════════════════════════ */
.sec { position: relative; padding: 128px 0; }
.sec-alt { background: var(--bg-2); }
.sec-alt::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 25%, var(--line-2) 75%, transparent);
}
.sec-head { text-align: center; max-width: 720px; margin: 0 auto; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--blue-t); }
.h2 { margin-top: 14px; font-size: clamp(30px, 1.8vw + 22px, 48px); line-height: 1.22; letter-spacing: -.035em; font-weight: 800; }
.sec-sub { margin-top: 16px; font-size: clamp(16px, .3vw + 15px, 18px); line-height: 1.7; color: var(--text-2); }

/* ══ 02 이런 것까지, AI가? — 콘셉트 시연 (showcase.js) ════════════
   하나의 무대 + 세 탭. 왼쪽(모바일은 위) 자료 틀이 AI 를 거쳐 결과 차트로
   바뀌고, 오른쪽(모바일은 아래) 대화 칸에 요청과 AI 응답이 쌓인다.
   움직이는 값은 전부 showcase.js 가 시간 t 로 쓴다 — CSS 전환을 쓰지 않는다. */
.sx-h2 { font-size: clamp(36px, 2.2vw + 26px, 60px); line-height: 1.16; }
.sx-h2 .m-br { display: none; }

/* 탭: 하나의 바 안에 같은 너비 세 칸. 선택된 칸 아래 막대가 재생 위치 */
.sx-tabs {
  margin: 40px auto 0; width: min(100%, 620px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px;
  border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line);
}
.sx-tab {
  position: relative; min-width: 0; height: 50px; padding: 0 10px; border: 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--text-3); font-size: 15.5px; font-weight: 650; white-space: nowrap;
  cursor: pointer; transition: background-color .16s, color .16s; -webkit-tap-highlight-color: transparent;
}
.sx-tab svg { flex: 0 0 auto; width: 17px; height: 17px; }
.sx-tab:hover { color: var(--text); }
.sx-tab[aria-selected="true"] { background: var(--panel-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.sx-tab[aria-selected="true"] svg { color: var(--blue-t); }
.sx-tab .t-s { display: none; }
.sx-prog { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; overflow: hidden; opacity: 0; }
.sx-tab[aria-selected="true"] .sx-prog { opacity: 1; background: rgba(255, 255, 255, .08); }
.sx-prog b { position: absolute; inset: 0; background: var(--blue); transform-origin: left center; transform: scaleX(0); }

/* 무대 */
.sx-panel { margin-top: 20px; }
.sx-stage {
  position: relative; padding: 0 28px 28px; border-radius: var(--r-xl);
  background:
    radial-gradient(110% 80% at 25% 0%, rgba(0, 100, 255, .07), transparent 60%),
    linear-gradient(180deg, #0B1322, #080E1A);
  border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  user-select: none; -webkit-user-select: none;
}
.sx-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 66px; }
.sx-note {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap;
}
.sx-note::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.sx-note.is-soon::before { background: var(--amber); }
.sx-ctl { display: flex; gap: 8px; }
.sx-btn {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line-2);
  background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer;
  transition: color .16s, border-color .16s; -webkit-tap-highlight-color: transparent;
}
.sx-btn:hover { color: var(--text); border-color: var(--line-3); }
.sx-btn svg { width: 14px; height: 14px; }
.sx-btn[hidden] { display: none; }
.sx-scenes { position: relative; visibility: hidden; }
.sx-scenes.is-ready { visibility: visible; }
.sx-scene { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 32%, 420px); gap: 28px; }
.sx-scene[hidden] { display: none; }

/* 자료 틀: 16:9 그림 + 아래 정보 줄 */
.sx-obj { position: relative; min-width: 0; }
.sx-frame { position: relative; overflow: hidden; isolation: isolate; border-radius: 16px; background: #0A101C; border: 1px solid var(--line-2); }
.sx-vis { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.sx-chrome { position: relative; height: 66px; border-top: 1px solid var(--line); }
.sx-glow { position: absolute; inset: 0; border-radius: 16px; pointer-events: none; opacity: 0; box-shadow: 0 0 0 1px var(--blue-line), 0 0 0 5px rgba(0, 100, 255, .1); }
.sx-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.sx-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }

/* A 영상: 유튜브 다크 모드 플레이어 모양 (랜딩 전용 콘셉트 시연 — 실제 유튜브 플레이어·API·iframe 아님).
   빨간 진행 막대·재생 버튼은 유튜브 플레이어임을 알아보게 하는 표시로만 쓴다(손실 의미가 아니다). */
.yt { position: absolute; inset: 0; }
.yt-ann { fill: none; stroke: rgba(243, 245, 249, .92); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.yt-subs { position: absolute; left: 0; right: 0; bottom: 56px; height: 0; }
.yt-sub { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; padding: 0 16px; opacity: 0; }
.yt-sub span { max-width: 100%; padding: 5px 11px; border-radius: 6px; background: rgba(0, 0, 0, .68); color: #fff; font-size: 15px; font-weight: 550; line-height: 1.45; text-align: center; }
.yt-big {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 14px;
  display: grid; place-items: center; background: #FF0033; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .7);
}
.yt-big svg { width: 30px; height: 30px; fill: #fff; }
.yt-ctl { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; color: #fff; }
.yt-grad { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .66), rgba(0, 0, 0, .28) 55%, rgba(0, 0, 0, 0)); }
.yt-prog { position: absolute; left: 12px; right: 12px; bottom: 44px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .22); }
.yt-buf, .yt-fill { position: absolute; inset: 0; border-radius: 2px; transform-origin: left center; transform: scaleX(0); }
.yt-buf { background: rgba(255, 255, 255, .38); }
.yt-fill { background: #FF0033; }
.yt-dot { position: absolute; left: -6.5px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; border-radius: 50%; background: #FF0033; }
.yt-mk { position: absolute; top: -5px; width: 3px; height: 14px; margin-left: -1.5px; border-radius: 2px; background: var(--blue-t); transform-origin: center bottom; opacity: 0; }
.yt-btns { position: absolute; left: 6px; right: 6px; bottom: 2px; height: 40px; display: flex; align-items: center; }
.yt-ic { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; }
.yt-ic svg { width: 22px; height: 22px; fill: currentColor; }
.yt-ic .ln { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.yt-pp .pause, .yt-pp.is-playing .play { display: none; }
.yt-pp.is-playing .pause { display: block; }
.yt-time { margin-left: 6px; font-size: 13px; font-weight: 500; color: #F1F1F1; white-space: nowrap; }
.yt-sp { flex: 1 1 auto; }
.yt-chrome { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 16px; background: #0F0F0F; }
.yt-title { font-size: 15.5px; font-weight: 700; line-height: 1.3; color: #F1F1F1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yt-ch { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; color: #AAAAAA; white-space: nowrap; }
.yt-ch b { font-weight: 600; color: #F1F1F1; }
.yt-av { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #3A4656; color: #F1F1F1; font-size: 11px; font-weight: 700; }
.yt-join { margin-left: auto; flex: 0 0 auto; display: inline-flex; align-items: center; height: 26px; padding: 0 13px; border-radius: 13px; background: #F1F1F1; color: #0F0F0F; font-size: 12.5px; font-weight: 700; }

/* B 거래 내역 (틀 전체를 덮는 표) */
.tr-sheet { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; padding: 14px 20px 8px; background: #0A101C; }
.tr-hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 34px; }
.tr-name { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; }
.tr-v { font-weight: 550; color: var(--text-3); }
.tr-file {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 8px; border-radius: 6px;
  border: 1px solid var(--line-2); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--text-2);
}
.tr-file svg { width: 12px; height: 12px; }
.tr-count { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.tr-count b { color: var(--text); font-weight: 700; }
.tr-cols, .tr-row { display: grid; grid-template-columns: 52px 40px minmax(0, 1fr) 138px 58px; align-items: center; column-gap: 14px; }
.tr-cols { height: 30px; margin-top: 4px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--text-4); }
.tr-axis { position: relative; height: 100%; }
.tr-axis i { position: absolute; top: 50%; transform: translate(-50%, -50%); font-style: normal; white-space: nowrap; }
.tr-r { text-align: right; }
.tr-body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.tr-row { position: relative; flex: 1 1 0; min-height: 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-2); opacity: 0; }
.tr-row:last-child { border-bottom: 0; }
.tr-dir { position: relative; justify-self: start; }
.tr-pnl { position: relative; justify-self: end; font-weight: 650; }
.tr-pnl.k-up { color: var(--up); }
.tr-pnl.k-down { color: var(--down); }
.tr-hl { position: absolute; inset: -3px -7px; border-radius: 6px; opacity: 0; }
.tr-dir .tr-hl { background: rgba(0, 100, 255, .16); border: 1px solid var(--blue-line); }
.tr-pnl .tr-hl { background: rgba(242, 86, 107, .08); border: 1px solid rgba(242, 86, 107, .55); }
.tr-track { position: relative; height: 100%; }
.tr-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.tr-bar { position: absolute; top: 50%; height: 6px; margin-top: -3px; border-radius: 3px; background: #46536A; }
.tr-bar.is-hl { background: var(--blue-t); opacity: 0; }
.tr-px { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.tr-band { position: absolute; border-radius: 6px; background: rgba(0, 100, 255, .1); border: 1px dashed var(--blue-line); opacity: 0; pointer-events: none; transform-origin: center top; }
.tr-band b {
  position: absolute; left: 50%; top: -3px; transform: translate(-50%, -100%); padding: 2px 7px; border-radius: 5px;
  background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap;
}

/* C 차트 스크린샷 */
.sc-drop {
  position: absolute; inset: 14px; border-radius: 12px; border: 1.5px dashed var(--line-3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--text-3); font-size: 14px; font-weight: 600; opacity: 0;
}
.sc-drop svg { width: 28px; height: 28px; }
.sc-img { position: absolute; inset: 0; opacity: 0; transform-origin: 50% 40%; }
.sc-tb {
  position: absolute; left: 0; right: 0; top: 0; height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: rgba(255, 255, 255, .03); border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 11.5px; font-weight: 600; color: #8B95A6;
}
.sc-tb i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.sc-tb span { margin-left: 6px; }
.sc-pen { fill: none; stroke: rgba(243, 245, 249, .85); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sc-bs {
  position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  border: 2px solid rgba(243, 245, 249, .9); background: #141922;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #F3F5F9;
}
.sc-ai { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.sc-trace { fill: none; stroke: var(--blue-t); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sc-tag { position: absolute; padding: 3px 8px; border-radius: 6px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; opacity: 0; }
.sc-tag[data-side="up"] { transform: translateY(-100%); }
.sc-tag[data-side="right"] { transform: translateY(-50%); }
.sc-tag[data-side="left"] { transform: translate(-100%, -50%); }
.sc-ring { position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 2px solid var(--blue-t); opacity: 0; }
.sc-file { position: absolute; inset: 0; display: flex; align-items: center; gap: 9px; padding: 0 18px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.sc-file svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--text-3); }
.sc-file em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--text-3); }

/* 결과 차트 층 */
.rs { position: absolute; inset: 0; z-index: 3; opacity: 0; }
.rs-wipe { position: absolute; inset: 0; overflow: hidden; }
.rs-wipe-in { position: absolute; inset: 0; background: #0A101C; }
.rs-edge { position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, transparent, var(--blue-t) 20%, var(--blue-t) 80%, transparent); opacity: 0; }
.rs-hd { position: absolute; left: 14px; top: 13px; font-size: 12.5px; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.rs-hd .m { display: none; }
.rs-done {
  position: absolute; right: 12px; top: 10px; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 7px;
  border-radius: 999px; background: rgba(0, 100, 255, .16); border: 1px solid var(--blue-line);
  color: #fff; font-size: 13.5px; font-weight: 700; white-space: nowrap; opacity: 0;
}
.sx-ck { position: relative; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); }
.sx-ck::after {
  content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg);
}
.rs-tline { fill: none; stroke-width: 1.3; stroke-dasharray: 3 3; }
.rs-tline.is-win { stroke: rgba(31, 191, 143, .75); }
.rs-tline.is-loss { stroke: rgba(242, 86, 107, .75); }
.rs-band { fill: rgba(0, 100, 255, .09); }
.rs-mk { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid #0A101C; opacity: 0; }
.rs-mk.k-in { background: var(--blue); box-shadow: 0 0 0 3px rgba(0, 100, 255, .25); }
.rs-mk.k-tp { background: var(--up); }
.rs-mk.k-sl { background: var(--down); }
.rs-lb { position: absolute; left: 0; top: 0; padding: 3px 7px; border-radius: 6px; font-size: 11.5px; font-weight: 700; line-height: 1.25; white-space: nowrap; opacity: 0; }
.rs-lb.k-in { background: var(--blue); color: #fff; transform: translateX(-50%); }
.rs-lb.k-out { background: #E9EDF3; color: #0B1220; transform: translate(-50%, -100%); }
.rs-tag {
  position: absolute; left: 0; top: 0; padding: 2px 7px; border-radius: 5px; transform: translateY(-100%);
  background: rgba(11, 18, 32, .9); border: 1px solid var(--blue-line); color: var(--blue-t);
  font-size: 11.5px; font-weight: 700; white-space: nowrap; opacity: 0;
}
.rs-stats { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 12px; padding: 0 18px; }
.rs-stat { display: flex; flex-direction: column; gap: 1px; min-width: 0; opacity: 0; }
.rs-stat small { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.rs-stat b { font-size: 15.5px; font-weight: 700; color: var(--text); white-space: nowrap; }
.rs-stat b.k-down { color: var(--down); }
.rs-stat b.k-warn { color: var(--amber); }

/* 대화 칸: 요청 줄(첨부 · 문장 · 전송) + AI 응답 기록 */
.sx-chat { position: relative; min-width: 0; }
.sx-req {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2; padding: 12px 12px 12px 14px; border-radius: 16px;
  background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .9);
}
.sx-req-glow { position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: 0 0 0 1.5px var(--blue-line), 0 0 0 5px rgba(0, 100, 255, .08); }
.sx-atts { height: 30px; display: flex; align-items: center; }
.sx-att {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px 0 9px; border-radius: 9px;
  border: 1px solid var(--blue-line); background: var(--blue-soft); color: var(--blue-t);
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.sx-att svg { flex: 0 0 auto; width: 14px; height: 14px; }
.sx-atts .sx-att { opacity: 0; }
.sx-thumb { flex: 0 0 auto; width: 26px; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.sx-line { position: relative; display: flex; align-items: flex-end; gap: 10px; margin-top: 8px; }
.sx-tx { flex: 1 1 auto; min-width: 0; min-height: 30px; padding: 4px 0 4px 2px; font-size: 15px; font-weight: 550; line-height: 1.45; color: var(--text); }
.sx-req.is-sent .sx-tx { color: var(--text-2); }
.sx-caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--blue-t); }
.sx-ph { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 15px; color: var(--text-3); white-space: nowrap; }
.sx-send { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.sx-send svg { width: 15px; height: 15px; }
.sx-ghost { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; opacity: 0; }
.sx-ghost .sx-att { background: #10213F; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .85); }
.sx-log { position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; }
.sx-log.is-scrolled { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30px); mask-image: linear-gradient(180deg, transparent 0, #000 30px); }
.sx-msg { position: absolute; left: 0; right: 0; top: 0; opacity: 0; }
.sx-card { padding: 14px 16px 10px; border-radius: 14px; }
.sx-card-bg { position: absolute; inset: 0; border-radius: inherit; background: rgba(15, 24, 40, .92); border: 1px solid var(--line-2); opacity: 0; }
.sx-hd { position: relative; display: flex; align-items: center; gap: 9px; height: 22px; font-size: 14px; font-weight: 700; color: var(--text); }
.sx-hd .dot, .sx-qq .dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(0, 100, 255, .2); }
.hd-t { position: relative; flex: 1 1 auto; min-width: 0; height: 22px; }
.hd-t .a, .hd-t .b { position: absolute; left: 0; top: 0; line-height: 22px; white-space: nowrap; }
.hd-t .b { opacity: 0; }
.sx-hd .tc { flex: 0 0 auto; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.sx-rows { position: relative; margin: 8px 0 0; padding: 0; list-style: none; }
.sx-rows li {
  display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; column-gap: 10px;
  padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; color: var(--text-2); opacity: 0;
}
.sx-rows li:first-child { border-top: 0; }
.sx-rows .rt { min-width: 0; color: var(--text); }
.sx-rows em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--text-3); }
.sx-lb { justify-self: start; padding: 2px 7px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.45; white-space: nowrap; color: var(--text-2); background: rgba(255, 255, 255, .06); }
.sx-lb.k-in { color: var(--blue-t); background: rgba(0, 100, 255, .15); }
.sx-lb.k-out { color: var(--text); background: rgba(233, 237, 243, .1); }
.sx-lb.k-sl { color: #FF8B9A; background: rgba(242, 86, 107, .13); }
.sx-lb.k-warn { color: var(--amber); background: rgba(240, 169, 64, .13); }
.sx-tag { display: inline-block; margin-left: 2px; padding: 0 6px; border-radius: 5px; font-style: normal; font-size: 11.5px; font-weight: 700; line-height: 1.65; vertical-align: 1px; white-space: nowrap; }
.sx-tag.k-est { color: var(--text-2); border: 1px dashed var(--line-3); }
.sx-tag.k-warn { color: var(--amber); border: 1px dashed rgba(240, 169, 64, .55); }
.sx-cnote { position: relative; margin: 4px 0 2px; font-size: 12.5px; line-height: 1.55; color: var(--text-3); opacity: 0; }
.sx-q { padding: 2px 4px; }
.sx-q > p:first-child { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.sx-qq { display: flex; align-items: center; gap: 9px; margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--text); }
.sx-qcs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; opacity: 0; }
.sx-qc {
  position: relative; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-3); font-size: 13.5px; font-weight: 650; color: var(--text); white-space: nowrap;
}
.sx-qc span { position: relative; }
.sx-qc .on { position: absolute; inset: -1px; border-radius: inherit; background: var(--blue); opacity: 0; }
.sx-qc.is-on { border-color: var(--blue); color: #fff; }
.sx-tap { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); opacity: 0; }

/* ══ 03 EZPRO DATA — 시장 데이터를 전략 조건으로 (ezdata.js) ═══════════
   EZPRO DATA 창 하나에서 탭이 청산지도 → 고래 → 매수·매도세 · 호가벽 순서로 넘어가고,
   화면마다 강조된 데이터가 아래 "전략 조건으로 쓸 수 있는 데이터"로 모인다.
   마지막에 AI 요청 한 줄로 두 조건이 합쳐져 조건 초안 → 백테스트 → 자동매매.
   색: 주황 = 추정 청산 밀집, 초록 = 고래(대형 매수), 보라 = 매수·매도세(CVD), 회색 = 호가벽, 파랑 = AI · 전략.
   움직이는 값은 전부 ezdata.js 가 시간 t 로 쓴다 — CSS 전환을 쓰지 않는다. */
.dx::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 25%, var(--line-2) 75%, transparent);
}
.dx-perk {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 13px; border-radius: 999px;
  background: var(--blue-soft); border: 1px solid rgba(0, 100, 255, .38); color: #D6E5FF; font-size: 14.5px; font-weight: 650; white-space: nowrap;
}
.dx-perk svg { flex: 0 0 auto; width: 15px; height: 15px; color: var(--blue-t); }
.dx-panel { margin-top: 44px; }
.dx-stage {
  position: relative; padding: 0 28px 26px; border-radius: var(--r-xl);
  background:
    radial-gradient(90% 70% at 72% 0%, rgba(0, 100, 255, .06), transparent 60%),
    linear-gradient(180deg, #0B1322, #080E1A);
  border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  user-select: none; -webkit-user-select: none;
}
.dx-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.dx-note {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0; height: 30px; padding: 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap;
}
.dx-note::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.dx-btn {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line-2);
  background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer;
  transition: color .16s, border-color .16s; -webkit-tap-highlight-color: transparent;
}
.dx-btn:hover { color: var(--text); border-color: var(--line-3); }
.dx-btn svg { width: 14px; height: 14px; }
.dx-btn[hidden] { display: none; }
.dx-body { position: relative; visibility: hidden; }
.dx-body.is-ready { visibility: visible; }
.dx-body .num { font-variant-numeric: tabular-nums; }
.dx-body .up { color: var(--up); }
.dx-body .dn { color: var(--down); }

/* EZPRO DATA 창: 머리(로고 · 탭 · 시연 데이터) + 화면 세 장이 겹쳐 있다 */
.dx-app { position: relative; z-index: 1; border-radius: 14px; background: #080D16; border: 1px solid var(--line-2); overflow: hidden; }
.dx-bar { display: flex; align-items: center; gap: 22px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.dx-logo { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; letter-spacing: -.01em; color: var(--text-2); white-space: nowrap; }
.dx-logo svg { width: 16px; height: 16px; margin-right: 2px; fill: none; stroke: var(--up); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dx-logo b { color: var(--text); font-weight: 800; }
.dx-tabs { position: relative; align-self: stretch; display: flex; min-width: 0; }
.dx-tabs .tb { position: relative; display: grid; align-items: center; padding: 0 11px; font-size: 13.5px; white-space: nowrap; }
.dx-tabs .tb > * { grid-area: 1 / 1; font-style: normal; text-align: center; }
.dx-tabs .tb i { color: var(--text-3); font-weight: 500; }
.dx-tabs .tb b { color: var(--text); font-weight: 700; opacity: 0; }
.dx-ind { position: absolute; left: 0; bottom: -1px; width: 1px; height: 2px; border-radius: 2px; background: var(--blue-t); transform-origin: left center; }
.dx-demo {
  flex: 0 0 auto; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 11.5px; font-weight: 600; color: var(--text-3); white-space: nowrap;
}
.dx-demo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--text-3); box-sizing: border-box; }
.dx-view { position: relative; height: 312px; }
.dx-scr { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; opacity: 0; visibility: hidden; background: #080D16; }
.dx-chart { position: relative; min-width: 0; overflow: hidden; }
.dx-chart canvas { position: absolute; left: 0; top: 0; }
.dx-hd { position: absolute; left: 14px; top: 10px; display: flex; align-items: baseline; gap: 8px; font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.dx-hd b { font-size: 15px; font-weight: 750; letter-spacing: -.01em; color: var(--text); }
.dx-hd em { font-style: normal; }
.dx-ax { position: absolute; right: 8px; top: 0; font-size: 11px; line-height: 16px; color: var(--text-4); font-variant-numeric: tabular-nums; }
.dx-side { position: relative; min-width: 0; display: flex; flex-direction: column; padding: 14px 18px; border-left: 1px solid var(--line); }
.dx-scr .sd-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; white-space: nowrap; }
.dx-scr .sd-t > b { font-weight: 700; color: var(--text); }
.dx-scr .sd-s { margin-top: 3px; font-size: 12px; line-height: 1.45; color: var(--text-3); }
.dx-scr .sd-x { font-size: 11.5px; font-weight: 500; color: var(--text-3); }
.dx-scr .tag { display: grid; justify-items: end; font-size: 12.5px; font-weight: 700; color: var(--up); }
.dx-scr .tag > em { grid-area: 1 / 1; font-style: normal; }
.dx-scr .tag .a { color: var(--text-3); font-weight: 600; }
.dx-scr .tag .b { opacity: 0; }

/* 1 청산지도 */
.s-liq .dx-rev { position: absolute; top: 0; overflow: hidden; }
.s-liq .dx-rev-in { position: absolute; top: 0; }
.dx-px { position: absolute; left: 0; top: 0; height: 0; border-top: 1px dashed rgba(169, 179, 195, .45); }
.dx-zone { position: absolute; left: 0; top: 0; border: 1px solid rgba(255, 122, 69, .9); border-radius: 2px; background: rgba(255, 122, 69, .16); transform-origin: left center; }
.dx-zl {
  position: absolute; left: 0; top: 0; height: 19px; padding: 0 7px; border-radius: 5px; background: rgba(8, 13, 22, .86);
  color: #FF8B5E; font-size: 11.5px; font-weight: 700; line-height: 19px; white-space: nowrap;
}
.dx-ztag {
  position: absolute; right: 4px; top: 0; height: 17px; padding: 0 5px; border-radius: 3px; background: #FF7A45;
  color: #1A1320; font-size: 11px; font-weight: 750; line-height: 17px; font-variant-numeric: tabular-nums;
}
.lq-rows { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.lq-rows li { position: relative; display: grid; grid-template-columns: 40px auto minmax(0, 1fr) 24px; align-items: center; column-gap: 10px; height: 34px; padding: 0 10px; font-size: 13px; }
.lq-rows .hl { position: absolute; inset: 0; border-radius: 8px; border: 1px solid rgba(255, 122, 69, .7); background: rgba(255, 122, 69, .08); opacity: 0; }
.lq-rows .k { position: relative; color: var(--text-3); }
.lq-rows li > b { position: relative; font-weight: 650; color: var(--text); }
.lq-rows .bar { position: relative; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.lq-rows .bar b { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--w) * 100%); border-radius: inherit; background: #B44E92; }
.lq-rows .on .bar b { background: #FF7A45; }
.lq-rows li > em { position: relative; font-style: normal; font-weight: 700; color: #C86AA8; text-align: right; }
.lq-rows .on > em { color: #FF8B5E; }
.lq-obs { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text-3); }
.lq-obs .v { display: flex; gap: 14px; font-size: 13px; }
.lq-obs b { font-weight: 650; }

/* 2 고래 */
.wb-lb { position: absolute; left: 0; top: 0; height: 18px; padding: 0 6px; border-radius: 4px; background: rgba(8, 13, 22, .82); font-size: 11px; font-weight: 700; line-height: 18px; white-space: nowrap; }
.wb-new { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.wb-new i { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; }
.wb-new .b { background: rgba(31, 191, 143, .32); border: 1.5px solid rgba(31, 191, 143, .95); box-shadow: 0 0 10px rgba(31, 191, 143, .3); }
.wb-new .ring { border: 1.5px solid rgba(31, 191, 143, .8); opacity: 0; }
.wb-call {
  position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 1px; padding: 6px 9px; border-radius: 7px;
  background: rgba(8, 13, 22, .9); border: 1px solid rgba(31, 191, 143, .55); white-space: nowrap;
}
.wb-call b { font-size: 12px; font-weight: 700; color: var(--up); }
.wb-call span { font-size: 11.5px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.wh-st { margin-top: 12px; display: grid; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.wh-st p { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-3); }
.wh-st b { font-weight: 700; }
.wh-st .sw { display: grid; justify-items: end; }
.wh-st .sw em { grid-area: 1 / 1; font-style: normal; }
.wh-st .sw .b { opacity: 0; }
.wh-lh { margin-top: 10px; font-size: 12px; color: var(--text-3); }
.wh-list { position: relative; margin: 4px 0 0; padding: 0; list-style: none; height: 112px; overflow: hidden; }
.wh-list li { position: absolute; left: 0; right: 0; display: grid; grid-template-columns: 52px 34px minmax(0, 1fr) auto; align-items: center; column-gap: 8px; height: 28px; padding: 0 6px; font-size: 12.5px; }
.wh-list li:nth-child(1) { top: 0; }
.wh-list li:nth-child(2) { top: 28px; }
.wh-list li:nth-child(3) { top: 56px; }
.wh-list li:nth-child(4) { top: 84px; }
.wh-list .hl { position: absolute; inset: 0; border-radius: 6px; background: rgba(31, 191, 143, .12); opacity: 0; }
.wh-list li > * { position: relative; }
.wh-list .t { color: var(--text-3); }
.wh-list .s { font-weight: 700; }
.wh-list .v { font-weight: 700; color: var(--text); }
.wh-list .x { color: var(--text-3); font-size: 12px; }

/* 3 매수·매도세 / 호가벽 */
.s-flow { grid-template-rows: auto auto 1fr; grid-template-areas: "chart ratio" "chart walls" "chart der"; }
.s-flow .dx-chart { grid-area: chart; }
.fl-rev { position: absolute; top: 0; overflow: hidden; }
.fl-rev-in { position: absolute; top: 0; }
.fl-band { position: absolute; left: 12px; font-size: 11px; font-weight: 600; color: var(--text-4); }
.fl-cvd { position: absolute; left: 0; top: 0; overflow: visible; }
.fl-cvd path { fill: none; stroke: var(--violet); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fl-dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(160, 140, 255, .18); }
.fl-cl { position: absolute; left: 0; top: 0; height: 20px; padding: 0 7px; border-radius: 5px; background: rgba(8, 13, 22, .88); border: 1px solid rgba(160, 140, 255, .5); color: #C4B8FF; font-size: 11.5px; font-weight: 700; line-height: 18px; white-space: nowrap; }
.fl-ratio, .fl-walls, .fl-der { position: relative; min-width: 0; padding-left: 18px; padding-right: 18px; border-left: 1px solid var(--line); }
.fl-ratio { grid-area: ratio; padding-top: 14px; }
.fl-nums { margin-top: 10px; display: flex; justify-content: space-between; font-size: 13px; color: var(--text-3); }
.fl-nums b { font-size: 18px; font-weight: 750; }
.fl-nums span:first-child b { color: var(--up); }
.fl-nums span:last-child b { color: var(--down); }
.fl-bar { position: relative; display: block; margin-top: 6px; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(242, 86, 107, .8); }
.fl-bar b { position: absolute; inset: 0; background: var(--up); transform-origin: left center; transform: scaleX(.5); }
.fl-walls { grid-area: walls; padding-top: 14px; }
.fl-walls ul { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.fl-walls li { position: relative; display: grid; grid-template-columns: 44px auto minmax(0, 1fr) auto; align-items: center; column-gap: 8px; height: 30px; padding: 0 8px; font-size: 12.5px; }
.fl-walls .hl { position: absolute; inset: 0; border-radius: 7px; border: 1px solid rgba(31, 191, 143, .6); background: rgba(31, 191, 143, .07); opacity: 0; }
.fl-walls li > * { position: relative; }
.fl-walls .k { color: var(--text-3); }
.fl-walls li > b { font-weight: 650; color: var(--text); }
.fl-walls .bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.fl-walls .bar b { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--w) * 100%); border-radius: inherit; transform-origin: left center; }
.fl-walls .w-ask .bar b { background: rgba(242, 86, 107, .8); }
.fl-walls .w-bid .bar b { background: var(--up); }
.fl-walls em { font-style: normal; font-size: 12px; font-weight: 650; color: var(--text-2); }
.fl-der { grid-area: der; display: flex; align-items: flex-end; gap: 8px; padding-bottom: 14px; }
.fl-der span { display: inline-flex; gap: 5px; height: 24px; align-items: center; padding: 0 9px; border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: 12px; color: var(--text-3); white-space: nowrap; }
.fl-der b { font-weight: 650; color: var(--text-2); }
.fl-der .up { color: var(--up); }

/* 아래: 전략 조건으로 쓸 수 있는 데이터 → AI 요청 → 조건 초안 → 백테스트 → 자동매매 */
.dx-dock { position: relative; z-index: 3; max-width: 1000px; margin: 14px auto 0; display: flex; flex-direction: column; gap: 12px; }
.dx-tray-h { display: grid; font-size: 12.5px; font-weight: 650; color: var(--text-3); }
.dx-tray-h > span { grid-area: 1 / 1; }
.dx-tray-h .b { justify-self: end; color: var(--text-2); opacity: 0; }
.dx-chips { margin-top: 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dx-chip { position: relative; display: grid; align-items: center; height: 50px; padding: 0 14px; border-radius: 11px; }
.dx-chip > i { position: absolute; inset: 0; border-radius: inherit; }
.dx-chip .ol { border: 1px dashed var(--line-3); }
.dx-chip .sol { background: #0E1626; border: 1px solid var(--line-2); opacity: 0; }
.dx-chip .sk, .dx-chip .tx { position: relative; grid-area: 1 / 1; min-width: 0; }
.dx-chip .sk { font-size: 12.5px; font-weight: 600; color: var(--text-4); }
.dx-chip .tx { display: flex; flex-direction: column; gap: 1px; opacity: 0; }
.dx-chip small { font-size: 11px; color: var(--text-3); }
.dx-chip .tx b { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--text); white-space: nowrap; }
.dx-chip em { font-style: normal; }
.dx-chip em.s { display: none; }
.dx-body .dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; }
.k-liq .dot { background: #FF7A45; }
.k-whale .dot, .dx-slot.k1 .dot, .gk1 .dot { background: var(--up); }
.k-cvd .dot, .dx-slot.k2 .dot, .gk2 .dot { background: var(--violet); }
.k-wall .dot { background: #C3CDDC; }
.dx-chip .pick { inset: -1px; opacity: 0; }
.dx-chip.k-whale .pick { border: 1.5px solid rgba(31, 191, 143, .85); background: rgba(31, 191, 143, .07); }
.dx-chip.k-cvd .pick { border: 1.5px solid rgba(160, 140, 255, .85); background: rgba(160, 140, 255, .07); }

.dx-ai { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 14px; border-radius: 14px; background: #0B1220; border: 1px solid var(--line); }
.dx-ai .bd { position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--blue-line); opacity: 0; pointer-events: none; }
.dx-ask { display: flex; align-items: center; gap: 12px; min-height: 30px; }
.dx-who {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 7px;
  background: var(--blue-soft); color: var(--blue-t); font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.dx-who i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-t); }
.dx-saybox { flex: 1 1 auto; min-width: 0; display: grid; }
.dx-saybox > * { grid-area: 1 / 1; }
.dx-say-sk { display: flex; align-items: center; gap: 10px; }
.dx-say-sk i { display: block; height: 7px; width: 46%; border-radius: 4px; background: rgba(255, 255, 255, .06); }
.dx-say-sk i + i { width: 24%; }
.dx-say { min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.55; letter-spacing: -.02em; color: var(--text); }
.dx-say .c { opacity: 0; }
.dx-say .ph { position: relative; display: inline-block; white-space: nowrap; }
.dx-say .ph i { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; transform-origin: left center; transform: scaleX(0); }
.dx-say .p1 i { background: var(--up); }
.dx-say .p2 i { background: var(--violet); }
.dx-say .p3 i { background: var(--blue-t); }
.dx-cond { display: grid; grid-template-columns: auto minmax(0, 1fr) 30px minmax(0, 1fr) 34px auto; align-items: center; column-gap: 0; }
.dx-cap { display: grid; margin-right: 14px; font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.dx-cap > span { grid-area: 1 / 1; }
.dx-cap .z { color: var(--text-4); }
.dx-cap .a { color: var(--text-2); opacity: 0; }
.dx-slot { position: relative; display: flex; align-items: center; height: 40px; padding: 0 14px; min-width: 0; }
.dx-slot > i { position: absolute; inset: 0; border-radius: 10px; }
.dx-slot .ol { border: 1px dashed var(--line-3); }
.dx-slot .sol { background: var(--panel-2); border: 1px solid var(--line-2); opacity: 0; }
.dx-slot .tx { position: relative; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; opacity: 0; }
.dx-plus {
  justify-self: center; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--panel-3); border: 1px solid var(--line-2); color: var(--text-2); font-size: 14px; font-weight: 700; line-height: 1; opacity: 0;
}
.dx-ar { justify-self: center; color: var(--text-3); opacity: 0; }
.dx-ar svg { width: 16px; height: 16px; }
.dx-rs { position: relative; display: grid; }
.dx-rs .ph { position: absolute; inset: 0; border-radius: 10px; border: 1px dashed var(--line-3); }
.dx-res {
  position: relative; display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 10px;
  background: #0E2A5C; border: 1px solid rgba(74, 146, 255, .7); color: #fff; font-size: 14px; font-weight: 750; white-space: nowrap; opacity: 0;
}

.dx-flow { display: flex; align-items: center; justify-content: center; gap: 12px; height: 28px; font-size: 13.5px; font-weight: 650; }
.dx-flow .st { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.dx-flow .st > i { position: relative; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line-3); }
.dx-flow .st > i b { position: absolute; inset: -1.5px; border-radius: 50%; background: var(--blue-t); opacity: 0; }
.dx-flow .lb { display: grid; }
.dx-flow .lb > span { grid-area: 1 / 1; }
.dx-flow .lb .d { color: var(--text-4); }
.dx-flow .lb .b { color: var(--text); opacity: 0; }
.dx-flow .ln { position: relative; flex: 0 0 auto; width: 64px; height: 2px; margin-right: 4px; border-radius: 2px; background: var(--line-2); }
.dx-flow .ln b { position: absolute; inset: 0; border-radius: inherit; background: var(--blue-t); transform-origin: left center; transform: scaleX(0); }
.dx-flow .ln::after, .dx-flow .ln em {
  content: ""; position: absolute; right: -3px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-top: 2px solid var(--line-2); border-right: 2px solid var(--line-2); transform: rotate(45deg); box-sizing: border-box;
}
.dx-flow .ln em { border-color: var(--blue-t); opacity: 0; }

/* 데이터 → 조건 칸으로 옮겨 가는 조각 */
.dx-gh, .dx-gk { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; opacity: 0; }
.dx-gh.g-liq { width: 36px; height: 9px; border-radius: 5px; background: linear-gradient(90deg, rgba(255, 122, 69, .35), #FF7A45 30%, #FF7A45 70%, rgba(255, 122, 69, .35)); box-shadow: 0 0 10px rgba(255, 122, 69, .4); }
.dx-gh.g-whale { width: 18px; height: 18px; border-radius: 50%; background: rgba(31, 191, 143, .4); border: 1.5px solid var(--up); box-shadow: 0 0 10px rgba(31, 191, 143, .35); }
.dx-gh.g-cvd { width: 14px; height: 14px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px rgba(160, 140, 255, .45); }
.dx-gh.g-wall { width: 32px; height: 7px; border-radius: 4px; background: var(--up); box-shadow: 0 0 8px rgba(31, 191, 143, .35); }
.dx-gk {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 13px; border-radius: 10px;
  background: #13203A; border: 1px solid rgba(74, 146, 255, .55); color: var(--text); font-size: 13.5px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .9);
}
.dx-fine { margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--text-3); text-align: center; }

@media (max-width: 1100px) {
  .dx-stage { padding: 0 22px 22px; }
  .dx-scr { grid-template-columns: minmax(0, 1fr) 264px; }
  .dx-tabs .tb-x { display: none; }
  .dx-side, .fl-ratio, .fl-walls, .fl-der { padding-left: 14px; padding-right: 14px; }
  .lq-rows li { grid-template-columns: 38px auto minmax(0, 1fr) 22px; column-gap: 8px; padding: 0 8px; }
}

@media (max-width: 860px) {
  .dx-panel { margin-top: 30px; }
  .dx-stage { padding: 0 16px 16px; }
  .dx-top { height: 54px; }
  .dx-note { height: 28px; padding: 0 10px; gap: 7px; font-size: 12.5px; }
  .dx-perk { margin-top: 18px; height: 34px; font-size: 14px; }
  .dx-fine { text-align: left; font-size: 12.5px; }
  .dx-bar { gap: 14px; }
  .dx-tabs .tb { padding: 0 8px; font-size: 13px; }
  .dx-view { height: 300px; }
  .dx-scr { grid-template-columns: minmax(0, 1fr) 240px; }
  .dx-hd em { display: none; }
  .wh-st { margin-top: 8px; gap: 2px; padding-bottom: 8px; }
  .wh-lh { margin-top: 8px; }
  .wh-list { height: 84px; }
  .dx-chips { gap: 8px; }
  .dx-chip { height: 40px; padding: 0 11px; }
  .dx-chip small { display: none; }
  .dx-chip em.l { display: none; }
  .dx-chip em.s { display: inline; }
  .dx-cond { grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 30px auto; }
  .dx-cap { grid-column: 1 / -1; margin: 0 0 8px; }
}

@media (max-width: 600px) {
  .dx-panel { margin: 24px -20px 0; }
  .dx-stage { border-radius: 0; border-left: 0; border-right: 0; padding: 0 14px 14px; }
  .dx-app { border-radius: 12px; }
  .dx-bar { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "logo demo" "tabs tabs"; height: auto; gap: 0; padding: 0; }
  .dx-logo { grid-area: logo; height: 38px; padding-left: 12px; font-size: 12.5px; }
  .dx-logo svg { width: 14px; height: 14px; }
  .dx-demo { grid-area: demo; justify-self: end; margin: 0 10px 0 0; height: 22px; padding: 0 8px; font-size: 11px; }
  .dx-tabs { grid-area: tabs; height: 36px; border-top: 1px solid var(--line); }
  .dx-tabs .tb { flex: 1 1 0; justify-content: center; padding: 0 2px; font-size: 12.5px; }
  .dx-view { height: 238px; }
  .dx-scr { grid-template-columns: minmax(0, 1fr); }
  .dx-side { border-left: 0; }
  .dx-hd { left: 10px; top: 8px; gap: 6px; font-size: 11px; }
  .dx-hd b { font-size: 13.5px; }
  .dx-ax { right: 6px; font-size: 10.5px; }
  .dx-ztag { display: none; }
  .dx-zl { height: 18px; padding: 0 6px; font-size: 11px; line-height: 18px; }
  /* 1 청산지도: 차트만 */
  .s-liq .dx-side { display: none; }
  /* 2 고래: 위 차트 · 아래 최근 대형 체결 */
  .s-whale { grid-template-rows: 124px minmax(0, 1fr); }
  .s-whale .dx-side { padding: 6px 12px 0; border-top: 1px solid var(--line); }
  .s-whale .sd-s, .wh-st, .wh-lh { display: none; }
  .s-whale .sd-t { font-size: 13px; }
  .wh-list { margin-top: 4px; height: 84px; }
  .wh-list li { grid-template-columns: 48px 30px minmax(0, 1fr) auto; column-gap: 6px; height: 28px; padding: 0 4px; font-size: 12.5px; }
  .wb-lb { display: none; }
  .wb-new i { left: -11px; top: -11px; width: 22px; height: 22px; }
  .wb-call { padding: 4px 7px; }
  .wb-call b { font-size: 11.5px; }
  .wb-call span { font-size: 11px; }
  /* 3 매수·매도세: 위 비율 · 가운데 델타·CVD · 아래 호가벽 */
  .s-flow { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "ratio" "chart" "walls"; }
  .fl-ratio, .fl-walls { border-left: 0; padding-left: 12px; padding-right: 12px; }
  .fl-ratio { padding-top: 8px; padding-bottom: 6px; }
  .fl-ratio .sd-s, .fl-der, .s-flow .dx-hd { display: none; }
  .fl-ratio .sd-t { font-size: 13px; }
  .fl-nums { margin-top: 4px; font-size: 12px; }
  .fl-nums b { font-size: 15px; }
  .fl-bar { margin-top: 4px; height: 5px; }
  .fl-walls { padding-top: 6px; padding-bottom: 8px; }
  .fl-walls .sd-t { display: none; }
  .fl-walls ul { margin: 0; grid-template-columns: 1fr 1fr; gap: 6px; }
  .fl-walls li { grid-template-columns: auto auto; justify-content: start; column-gap: 6px; height: 28px; padding: 0 8px; border-radius: 7px; background: rgba(255, 255, 255, .03); font-size: 12px; }
  .fl-walls .bar { display: none; }
  .fl-walls em { display: none; }
  /* 아래 */
  .dx-dock { margin-top: 12px; gap: 10px; }
  .dx-tray-h { font-size: 12px; }
  .dx-chips { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
  .dx-chip { height: 34px; padding: 0 10px; border-radius: 9px; }
  .dx-chip .sk { font-size: 12px; }
  .dx-chip .tx b { font-size: 12.5px; gap: 6px; }
  .dx-ai { padding: 10px 12px 12px; gap: 8px; }
  .dx-ask { flex-direction: column; align-items: flex-start; gap: 6px; }
  .dx-who { height: 22px; padding: 0 8px; font-size: 11.5px; }
  .dx-saybox { width: 100%; }
  .dx-say { font-size: 14px; line-height: 1.6; }
  .dx-say-sk { flex-direction: column; align-items: flex-start; justify-content: center; gap: 9px; }
  .dx-say-sk i { width: 88%; }
  .dx-say-sk i + i { width: 52%; }
  .dx-cond { grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr); row-gap: 8px; }
  .dx-cap { display: none; }
  .dx-slot { height: 36px; padding: 0 10px; }
  .dx-slot .tx { font-size: 12.5px; gap: 6px; }
  .dx-plus { width: 20px; height: 20px; font-size: 13px; }
  .dx-ar { display: none; }
  .dx-rs { grid-column: 1 / -1; }
  .dx-res { height: 36px; font-size: 13.5px; }
  .dx-res::before { content: "→"; margin-right: 6px; font-weight: 600; opacity: .85; }
  .dx-flow { gap: 8px; height: 26px; font-size: 12.5px; }
  .dx-flow .ln { width: 40px; }
  .dx-gk { height: 30px; padding: 0 10px; font-size: 12.5px; gap: 6px; }
}

@media (max-width: 360px) {
  .dx-panel { margin-left: -16px; margin-right: -16px; }
  .dx-stage { padding: 0 12px 12px; }
  .dx-tabs .tb { font-size: 12px; }
  .wh-list li { grid-template-columns: 44px 28px minmax(0, 1fr) auto; font-size: 12px; }
  .fl-walls li { padding: 0 6px; font-size: 11.5px; }
}

/* ══ 04 실제 사용자 후기 — 자동으로 흐르는 무한 슬라이더 (voices.js) ═════
   카드 줄이 화면 끝에서 끝까지 일정한 속도로 오른쪽 → 왼쪽으로 흐른다.
   위치는 voices.js 가 transform 으로만 쓴다. 지금 카드는 예시 — 실명·사진·별점·날짜를 두지 않는다. */
.vc { padding: 96px 0 104px; overflow: hidden; }
.vc::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 25%, var(--line-2) 75%, transparent);
}
.vc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.vc-titles { min-width: 0; }
.vc-h2 { font-size: clamp(28px, 1.4vw + 20px, 40px); line-height: 1.2; }
.vc-note {
  margin-top: 14px; display: inline-flex; align-items: flex-start; gap: 8px; max-width: 100%;
  padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2);
  font-size: 13px; line-height: 1.5; color: var(--text-2);
}
.vc-note[hidden] { display: none; }
.vc-note svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 2px; color: var(--text-3); }
.vc-pause {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2);
  background: transparent; color: var(--text-2); display: grid; place-items: center; cursor: pointer;
  transition: color .16s, border-color .16s; -webkit-tap-highlight-color: transparent;
}
.vc-pause:hover { color: var(--text); border-color: var(--line-3); }
.vc-pause svg { width: 14px; height: 14px; }
.vc-pause[hidden] { display: none; }
.vc-track {
  position: relative; margin-top: 28px; overflow: hidden; touch-action: pan-y; cursor: grab;
  user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.vc-track.is-drag { cursor: grabbing; }
.vc-track:focus-visible { outline: none; }
.vc-track:focus-visible .vc-card { border-color: var(--blue-line); }
.vc-rail { display: flex; align-items: stretch; gap: 16px; width: max-content; padding: 2px 0 4px; will-change: transform; }
.vc-card {
  flex: 0 0 auto; width: 340px; margin: 0; padding: 22px 22px 18px; border-radius: 18px;
  display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
}
.vc-tag { align-self: flex-start; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; background: var(--blue-soft); color: var(--blue-t); font-size: 12.5px; font-weight: 700; }
.vc-quote { flex: 1 1 auto; margin: 12px 0 14px; }
.vc-q { font-size: 17px; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; color: var(--text); }
.vc-q::before { content: "“"; }
.vc-q::after { content: "”"; }
.vc-b { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }
.vc-cap { padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }

/* ══ PRICING ═══════════════════════════════════════════════════ */
.plans { margin-top: 52px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  padding: 28px 24px 24px; border-radius: var(--r-lg); cursor: pointer;
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .16s, background-color .16s;
  -webkit-tap-highlight-color: transparent;
}
.plan:hover { border-color: var(--line-3); }
.plan.is-best { border-color: var(--blue-line); background: linear-gradient(180deg, rgba(0, 100, 255, .08), rgba(0, 100, 255, .02) 60%), var(--panel); }
.plan-badge {
  position: absolute; top: -12px; left: 22px; padding: 4px 11px; border-radius: 7px;
  background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700;
}
.plan-n { font-size: 16px; font-weight: 650; color: var(--text-2); }
/* 가격 위 비교 칸: 6·12개월은 "월 요금 기준 합계" + 취소선(1개월 요금 × 개월 수), 1개월은 "기본 요금".
   네 카드 모두 같은 높이를 잡아 판매가가 한 줄에 맞춰 선다. */
.plan-was { margin-top: 12px; min-height: 40px; display: flex; flex-direction: column; justify-content: flex-end; gap: 1px; }
.plan-wl { font-size: 12.5px; line-height: 1.4; color: var(--text-3); }
.plan-wp { font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(169, 179, 195, .7); }
.plan-p { margin-top: 2px; font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; color: var(--text); white-space: nowrap; }
.plan-p small { margin-left: 3px; font-size: 17px; font-weight: 600; color: var(--text-3); letter-spacing: -.01em; }
.plan-row { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.plan-s { font-size: 14.5px; color: var(--text-3); }
.plan-off {
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: 6px;
  background: var(--blue-soft); color: var(--blue-t); font-size: 13px; font-weight: 750; white-space: nowrap;
}
.plan.is-best .plan-off { background: var(--blue); color: #fff; }
.plan-cta {
  margin-top: 26px; width: 100%; height: 46px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  font-size: 15.5px; font-weight: 650; border: 1px solid var(--line-2); color: var(--text);
  transition: background-color .16s, border-color .16s;
}
.plan:hover .plan-cta { border-color: var(--line-3); background: rgba(255, 255, 255, .03); }
.plan.is-best .plan-cta { background: var(--blue); border-color: var(--blue); color: #fff; }
.plan.is-best:hover .plan-cta { background: var(--blue-h); }
.plan-chev { display: none; }
.plan-note { margin-top: 28px; padding: 22px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(255, 255, 255, .012); }
.plan-inc { font-size: 15px; line-height: 1.7; color: var(--text-2); }
.plan-inc b { color: var(--text); font-weight: 650; }
.plan-fine { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.75; color: var(--text-3); }
.plan-fine a, .plan-more a { color: var(--blue-t); }
.plan-more { margin-top: 12px; font-size: 13.5px; line-height: 1.75; color: var(--text-3); }
.plan-more summary {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 600; color: var(--text-2);
}
.plan-more summary::-webkit-details-marker { display: none; }
.plan-more summary::after {
  content: ""; width: 7px; height: 7px; margin-left: 2px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease-out);
}
.plan-more[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.plan-more summary:hover { color: var(--text); }
.plan-more p { margin-top: 10px; }

/* ══ FAQ ═══════════════════════════════════════════════════════ */
.faq { margin: 48px auto 0; max-width: 800px; border-top: 1px solid var(--line); }
.fq { border-bottom: 1px solid var(--line); }
.fq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 4px; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: 17px; font-weight: 650; line-height: 1.5; color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.fq-q:hover { color: var(--blue-t); }
.fq-q::after {
  content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-right: 6px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .22s var(--ease-out);
}
.fq.open .fq-q::after { transform: rotate(-135deg) translate(-2px, -2px); border-color: var(--blue-t); }
.fq-a { display: none; padding: 0 4px 24px; font-size: 16px; line-height: 1.8; color: var(--text-2); }
.fq.open .fq-a { display: block; }
.fq-a b { color: var(--text); font-weight: 650; }
.fq-a a { color: var(--blue-t); }

/* ══ 푸터 ══════════════════════════════════════════════════════ */
.ft { padding: 56px 0 72px; border-top: 1px solid var(--line); background: var(--bg-2); }
.ft-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.ft-desc { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--text-3); }
.ft-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.ft-links a { font-size: 14.5px; color: var(--text-2); }
.ft-links a:hover { color: var(--text); }
.ft-biz { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.95; color: var(--text-3); }
.ft-biz span { display: inline-block; margin-right: 16px; }
.ft-dis { margin-top: 18px; font-size: 12.5px; line-height: 1.85; color: var(--text-4); max-width: 90ch; }
.ft-cr { margin-top: 22px; font-size: 12.5px; color: var(--text-4); }

/* ══ 모달 (신청 · 시작 안내) ═══════════════════════════════════ */
.ez-modal-overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(2, 4, 9, .76); opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.ez-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.ez-modal {
  width: 100%; max-width: 460px; max-height: calc(100svh - 40px); overflow-y: auto; position: relative;
  padding: 30px 26px 26px; border-radius: var(--r-xl); background: var(--panel); border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95); color: var(--text);
}
.ez-modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 9px; background: transparent; border: 1px solid var(--line-2); color: var(--text-3); font-size: 14px; cursor: pointer;
}
.ez-modal-close:hover { color: var(--text); border-color: var(--line-3); }
.ez-modal-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--blue-t); }
.ez-modal-title { margin: 10px 0 0; padding-right: 40px; font-size: 22px; font-weight: 750; letter-spacing: -.03em; line-height: 1.35; }
.ez-modal-desc { margin: 10px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--text-2); }
.ez-field { margin-top: 16px; }
.ez-field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.ez-field input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r-sm);
  background: var(--panel-2); border: 1px solid var(--line-2); color: var(--text);
  font-family: inherit; font-size: 16px; transition: border-color .16s;
}
.ez-field input::placeholder { color: var(--text-4); }
.ez-field input:focus { outline: none; border-color: var(--blue); }
.ez-field-hint { font-weight: 400; color: var(--text-3); }
.ez-req { color: var(--blue-t); margin-left: 2px; }
.ez-withdrawal-note { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 13px; line-height: 1.65; color: var(--text-3); }
.ez-withdrawal-note strong { color: var(--text-2); }
.ez-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--text-2); cursor: pointer; }
.ez-consent input[type="checkbox"] { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--blue); flex: 0 0 auto; }
.ez-consent-link { color: var(--blue-t); text-decoration: underline; text-underline-offset: 2px; }
.ez-form-error { margin-top: 12px; font-size: 14px; color: var(--amber); white-space: pre-line; }
.ez-submit {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin-top: 20px; border: 0; border-radius: var(--r);
  background: var(--blue); color: #fff; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: background-color .16s;
}
.ez-submit:hover:not(:disabled) { background: var(--blue-h); color: #fff; }
.ez-submit:disabled { opacity: .55; cursor: not-allowed; }
.ez-bank-card { margin-top: 18px; padding: 18px; border-radius: var(--r); background: var(--panel-2); border: 1px solid var(--line-2); }
.ez-bank-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.ez-bank-bank { font-size: 14px; color: var(--text-2); }
.ez-bank-number { font-size: 17px; font-weight: 750; color: var(--text); font-variant-numeric: tabular-nums; }
.ez-copy-btn {
  margin-left: auto; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--blue-line);
  background: var(--blue-soft); color: var(--blue-t); font-family: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer;
}
.ez-copy-btn:hover { background: rgba(0, 100, 255, .22); color: #fff; }
.ez-bank-holder { margin-top: 10px; font-size: 14px; color: var(--text-3); }
.ez-bank-amount { margin-top: 16px; font-size: 15px; color: var(--text-2); }
.ez-bank-amount strong { margin-left: 6px; font-size: 20px; font-weight: 750; color: var(--text); }
.ez-bank-notes { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.8; color: var(--text-3); }

/* 시작 안내 */
.st-quote {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--panel-2); border: 1px solid var(--line-2);
  font-size: 15.5px; font-weight: 600; line-height: 1.55; color: var(--text);
}
.st-steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 12px; }
.st-steps li { counter-increment: st; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.st-steps li::before {
  content: counter(st); width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-t); font-size: 13px; font-weight: 750;
}
.st-steps b { display: block; color: var(--text); font-weight: 650; }
.st-copy {
  margin-top: 14px; height: 40px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: transparent; color: var(--text); font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
}
.st-copy:hover { border-color: var(--line-3); }
.st-copy svg { width: 15px; height: 15px; }
.st-alt { display: block; margin-top: 12px; text-align: center; font-size: 14.5px; color: var(--text-2); }
.st-alt:hover { color: var(--text); }
.st-fine { margin-top: 14px; font-size: 12.5px; line-height: 1.6; color: var(--text-3); }
.st-fine button { padding: 0; border: 0; background: none; color: var(--text-3); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font-size: inherit; }

.ez-toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 12px); z-index: 200;
  padding: 13px 20px; border-radius: 12px; background: var(--panel-3); border: 1px solid var(--line-2);
  color: var(--text); font-size: 14.5px; font-weight: 600; white-space: nowrap; max-width: calc(100vw - 32px);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .95); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.ez-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ── 스크롤 등장 ─────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .ai-list li.is-in { animation: none; }
  .hg-costs li { transition: none; }
  .is-busy > .ck { animation: none; }
}

/* ══ 반응형 ════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 40px; min-height: 0; }
  .hero-copy { max-width: 640px; }
  .hero::before { right: -30%; top: 30%; width: 120%; height: 70%; }
  .stage[data-mode="hero"] { aspect-ratio: 1.5 / 1; }
  .sx-scene { grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; }
  .sx-stage { padding: 0 22px 22px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  .wrap { padding: 0 20px; }
  .nav-burger { display: inline-flex; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .9);
    opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
    transition: opacity .2s, transform .2s var(--ease-out), visibility 0s .2s;
  }
  .nav.is-open .nav-menu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .2s, transform .2s var(--ease-out), visibility 0s; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: flex; align-items: center; height: 52px; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav-right { margin: 16px 0 0; gap: 10px; }
  .nav-right .login { flex: 1 1 0; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--text); font-weight: 600; }
  .nav-right .login[hidden] { display: none; }
  .nav-right .btn { flex: 1 1 0; height: 48px; font-size: 16px; }

  .hero { padding: 28px 0 56px; }
  .hero-in { gap: 28px; }
  .hero-h1 { font-size: clamp(32px, 10.2vw, 46px); line-height: 1.22; }
  .hero-sub { margin-top: 16px; font-size: 16px; line-height: 1.65; }
  .hero-sub br { display: none; }
  .ask { margin-top: 24px; max-width: none; }
  .ask-box { padding: 6px 6px 6px 14px; }
  .ask-in { font-size: 16px; padding: 12px 0; }
  .ask-go { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 11px; }
  .ask-go-txt { display: none; }
  .ask-go-ico { display: block; }
  .chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .chip { min-width: 0; height: 44px; padding: 0 6px; justify-content: center; gap: 6px; font-size: 14px; }
  .chip svg { flex: 0 0 auto; width: 14px; height: 14px; }
  .hero-flow { display: none; }

  .hero-vis { margin: 0 -20px; }
  .stage[data-mode="hero"] { aspect-ratio: auto; height: clamp(356px, 104vw, 420px); border-radius: 0; border-left: 0; border-right: 0; }
  .stage[data-mode="hero"] .ov-ai { display: none; }
  .hero-vis .stage-status, .hero-vis .stage-ctl { padding: 0 20px; }
  .hero-vis .stage-status { display: flex; }
  .hero-cta-m { display: flex; margin: 18px 20px 0; width: calc(100% - 40px); height: 54px; font-size: 17px; }
  .ov-bubble { left: 14px; top: 14px; max-width: calc(100% - 28px); padding: 10px 12px; gap: 9px; }
  .ov-bubble .tx { font-size: 14.5px; }
  .ov-bubble .av { width: 26px; height: 26px; }
  .stage[data-mode] .ov-hedge { left: 12px; right: 12px; top: auto; bottom: 30px; width: auto; padding: 13px 14px 12px; }
  .hg-row + .hg-row { margin-top: 9px; }
  .hg-ratio { margin-top: 9px; }
  .hg-net { margin-top: 10px; padding-top: 10px; }
  .hg-netlabel { margin-top: 5px; }
  .hg-costs { margin-top: 10px; padding-top: 10px; gap: 6px; }
  .hg-note { margin-top: 9px; font-size: 12px; }
  .ov-pill { font-size: 11.5px; padding: 3px 6px; }
  .hg-row { grid-template-columns: 50px 1fr auto; gap: 10px; }
  .hg-v { min-width: 72px; font-size: 13.5px; }
  .ov-demo { right: 12px; bottom: 10px; font-size: 11.5px; }

  .sec { padding: 88px 0; }
  .sec-head { text-align: left; }
  .h2 { font-size: clamp(28px, 7.6vw, 36px); }
  .sec-sub br { display: none; }
  /* 02 콘셉트 시연: 자료 틀 위, 대화 칸 아래 — 모바일용으로 다시 짠다 */
  .sx-h2 { font-size: clamp(34px, 10.4vw, 46px); line-height: 1.18; }
  .sx-h2 .m-br { display: inline; }
  #cases .sec-sub .sx-br { display: inline; }
  .sx-tabs { margin-top: 26px; width: 100%; }
  .sx-tab { height: 48px; padding: 0 6px; font-size: 15px; }
  .sx-tab svg { display: none; }
  .sx-prog { left: 10px; right: 10px; bottom: 5px; }
  .sx-panel { margin-top: 12px; }
  .sx-stage { padding: 0 16px 16px; }
  .sx-top { height: 54px; }
  .sx-note { height: 28px; padding: 0 10px; gap: 7px; font-size: 12.5px; }
  .sx-scene { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sx-frame, .sx-glow { border-radius: 14px; }
  .sx-chrome { height: 50px; }
  .sx-chat { height: 300px; }
  .yt-subs { bottom: 36px; }
  .yt-sub { padding: 0 10px; }
  .yt-sub span { padding: 3px 8px; font-size: 12.5px; line-height: 1.4; }
  .yt-big { width: 52px; height: 36px; margin: -18px 0 0 -26px; border-radius: 11px; }
  .yt-big svg { width: 24px; height: 24px; }
  .yt-ctl { height: 58px; }
  .yt-prog { left: 10px; right: 10px; bottom: 28px; height: 3px; }
  .yt-dot { left: -5px; width: 10px; height: 10px; margin-top: -5px; }
  .yt-mk { top: -4px; height: 11px; }
  .yt-btns { left: 4px; right: 4px; bottom: 1px; height: 27px; }
  .yt-ic { width: 27px; height: 27px; }
  .yt-ic svg { width: 17px; height: 17px; }
  .yt-ic.yt-d { display: none; }
  .yt-time { margin-left: 2px; font-size: 11px; }
  .yt-chrome { gap: 3px; padding: 0 12px; }
  .yt-title { font-size: 13.5px; }
  .yt-ch { gap: 6px; font-size: 11px; }
  .yt-av { width: 16px; height: 16px; font-size: 9px; }
  .yt-join { height: 19px; padding: 0 9px; border-radius: 10px; font-size: 11px; }
  .tr-sheet { padding: 9px 12px 4px; }
  .tr-hd { height: 28px; }
  .tr-name { gap: 7px; font-size: 13.5px; }
  .tr-file { height: 21px; padding: 0 6px; font-size: 10.5px; }
  .tr-file svg { width: 11px; height: 11px; }
  .tr-count { font-size: 12px; }
  .tr-cols, .tr-row { grid-template-columns: 40px 28px minmax(0, 1fr) 46px; column-gap: 9px; }
  .tr-cols { height: 24px; margin-top: 2px; font-size: 11px; }
  .tr-px { display: none; }
  .tr-row { font-size: 12.5px; }
  .tr-row:nth-child(n+7) { display: none; }
  .tr-row:nth-child(6) { border-bottom: 0; }
  .tr-hl { inset: -2px -5px; }
  .tr-bar { height: 5px; margin-top: -2.5px; }
  .tr-band b { font-size: 10.5px; padding: 1px 6px; }
  .sc-drop { inset: 10px; font-size: 13px; }
  .sc-tb { height: 22px; padding: 0 9px; font-size: 10px; }
  .sc-tb i { width: 6px; height: 6px; }
  .sc-bs { width: 18px; height: 18px; margin: -9px 0 0 -9px; font-size: 9.5px; border-width: 1.5px; }
  .sc-tag { padding: 2px 6px; font-size: 10.5px; }
  .sc-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .sc-file { gap: 7px; padding: 0 12px; font-size: 12.5px; }
  .sc-file svg { width: 15px; height: 15px; }
  .sc-file em { font-size: 11.5px; }
  .rs-hd { left: 10px; top: 9px; font-size: 11.5px; }
  .rs-hd .d { display: none; }
  .rs-hd .m { display: inline; }
  .rs-done { right: 8px; top: 7px; height: 26px; gap: 6px; padding: 0 9px 0 5px; font-size: 12px; }
  .rs-done .sx-ck { width: 16px; height: 16px; }
  .rs-done .sx-ck::after { left: 5.5px; top: 2.5px; width: 3.5px; height: 7px; }
  .rs-lb, .rs-tag { padding: 2px 6px; font-size: 10.5px; }
  .rs-stats { gap: 8px; padding: 0 12px; }
  .rs-stat small { font-size: 11px; }
  .rs-stat b { font-size: 14px; }
  .sx-req { padding: 10px 10px 10px 12px; border-radius: 14px; }
  .sx-atts { height: 26px; }
  .sx-att { height: 26px; gap: 6px; padding: 0 9px 0 7px; font-size: 12px; border-radius: 8px; }
  .sx-att svg { width: 13px; height: 13px; }
  .sx-line { margin-top: 6px; gap: 8px; }
  .sx-tx { min-height: 28px; padding: 3px 0 3px 2px; font-size: 14px; line-height: 1.42; }
  .sx-ph { left: 14px; font-size: 14px; }
  .sx-send { width: 32px; height: 32px; border-radius: 10px; }
  .sx-send svg { width: 14px; height: 14px; }
  .sx-card { padding: 11px 12px 7px; border-radius: 12px; }
  .sx-hd { gap: 8px; font-size: 13.5px; }
  .sx-hd .tc { font-size: 11.5px; }
  .sx-rows { margin-top: 5px; }
  .sx-rows li { grid-template-columns: 46px minmax(0, 1fr) auto; column-gap: 8px; padding: 6px 0; font-size: 13.5px; line-height: 1.4; }
  .sx-lb { padding: 1px 6px; font-size: 11.5px; }
  .sx-rows em { font-size: 11px; }
  .sx-tag { font-size: 10.5px; padding: 0 5px; }
  .sx-cnote { font-size: 12px; }
  .sx-q > p:first-child { font-size: 13.5px; }
  .sx-qq { margin-top: 4px; font-size: 14px; }
  .sx-qcs { margin-top: 8px; gap: 6px; }
  .sx-qc { height: 32px; padding: 0 12px; font-size: 13px; }

  .vc { padding: 68px 0 76px; }
  .vc-h2 { font-size: clamp(26px, 7vw, 34px); }
  .vc-note { margin-top: 12px; font-size: 12.5px; }
  .vc-pause { width: 38px; height: 38px; }
  .vc-track { margin-top: 20px; }
  .vc-rail { gap: 12px; }
  .vc-card { padding: 20px 20px 16px; border-radius: 16px; }

  .plans { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
  .plan {
    display: grid; grid-template-columns: 1fr auto 18px; grid-template-areas: "n p c" "s p c";
    align-items: center; column-gap: 14px; row-gap: 2px; padding: 20px 18px;
  }
  .plan-n { grid-area: n; font-size: 16px; color: var(--text); }
  .plan-row { display: contents; }
  .plan-s { grid-area: s; margin-top: 0; font-size: 14px; }
  .plan-p { grid-area: p; margin-top: 0; font-size: 24px; text-align: right; }
  .plan-was { display: none; }
  /* 6·12개월: 가격 아래 절약 표시, 맨 아래 한 줄에 "월 요금 기준 합계 ~~174,000원~~" */
  .plan.has-off { grid-template-areas: "n p c" "s o c" "x x x"; row-gap: 4px; }
  .plan-off { grid-area: o; justify-self: end; height: 22px; padding: 0 7px; font-size: 12.5px; }
  .plan.has-off .plan-was {
    grid-area: x; display: flex; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; min-height: 0;
    margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line);
  }
  .plan-wl { font-size: 12.5px; }
  .plan-wp { font-size: 13px; }
  .plan-p small { font-size: 15px; }
  .plan-cta { display: none; }
  .plan-chev { grid-area: c; display: block; width: 18px; height: 18px; color: var(--text-3); }
  .plan.is-best .plan-chev { color: var(--blue-t); }
  .plan-badge { top: -10px; left: 16px; }
  .plan.is-best { margin-top: 8px; }
  .plan-note { padding: 18px; }

  .faq { margin-top: 28px; }
  .fq-q { font-size: 16px; padding: 20px 2px; }
  .fq-a { font-size: 15.5px; padding: 0 2px 22px; }
  .ft { padding: 44px 0 56px; }
  .ft-links { flex-direction: column; gap: 14px; }
}

@media (max-width: 600px) {
  /* 모바일: 카드 한 장 + 다음 카드 일부가 보이는 폭 */
  .vc-card { width: calc(100vw - 84px); max-width: 330px; }
  .vc-track {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent 100%);
  }
  .sx-panel { margin: 12px -20px 0; }
  .sx-stage { border-radius: 0; border-left: 0; border-right: 0; padding: 0 14px 14px; }
}

@media (max-width: 374px) {
  .sx-tab .t-l { display: none; }
  .sx-tab .t-s { display: inline; }
}

@media (max-width: 360px) {
  .wrap { padding: 0 16px; }
  .chips { gap: 6px; }
  .chip { padding: 0 3px; font-size: 13.5px; gap: 5px; }
  .chip svg { width: 13px; height: 13px; }
  .hero-vis { margin: 0 -16px; }
  .sx-panel { margin-left: -16px; margin-right: -16px; }
  .sx-stage { padding: 0 12px 12px; }
  .hero-vis .stage-status, .hero-vis .stage-ctl { padding: 0 16px; }
  .hero-cta-m { margin: 18px 16px 0; width: calc(100% - 32px); }
  .ov-bubble .att { display: none; }
  .plan-p { font-size: 22px; }
  .plan-ex { display: none; }
  .plan-s { text-wrap: balance; }
}
