/* Banksalad 현재 검증 토큰 기반 */
:root {
  --primary: #13bd7e;
  --action: #06a96c;
  --green-ink: #047a4e;       /* 작은 초록 글씨용(흰 배경 대비 확보) */
  --green-soft: rgba(19, 189, 126, 0.12);
  --canvas: #ffffff;
  --tint: #f7f9fb;
  --fg: #111111;
  --fg-2: #272a30;
  --secondary: #555c68;
  --neutral: #606874;
  --muted: #9fa4b0;
  --line: #f0f2f5;
  --line-2: #e4e7ec;
  --r-chip: 6px;
  --r-action: 16px;
  --r-card: 24px;
  --shadow-card: 0 8px 24px #dce9f3;
  --shadow-pill: 0 4px 9px rgba(0, 0, 0, 0.15);
  --font: Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); font-weight: 400; }

/* Header */
.gnb {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.gnb__inner { display: flex; align-items: center; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
.logo__mark { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.gnb__menu { display: flex; margin-left: 12px; gap: 14px; }
.gnb__menu a { font-size: 15px; font-weight: 700; letter-spacing: -0.08px; line-height: 26px; white-space: nowrap; }
.gnb__menu a:hover { color: var(--primary); }
.gnb .btn { margin-left: auto; }
@media (min-width: 900px) { .gnb__menu { margin-left: 24px; gap: 22px; } .gnb__menu a { font-size: 16px; } }
@media (max-width: 520px) {
  .gnb__inner { gap: 10px; }
  .logo { font-size: 0; gap: 0; }
  .gnb__menu { margin-left: 4px; gap: 12px; }
  .gnb .btn--sm { padding: 8px 12px; font-size: 14px; }
}

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 16px 20px; border: 0; border-radius: var(--r-action);
  background: var(--action); color: #fff; font-weight: 700; letter-spacing: -0.08px;
  cursor: pointer; overflow: hidden;
}
.btn::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; }
.btn:hover::after, .btn:active::after { opacity: 0.04; }
.btn--sm { height: 40px; padding: 8px 16px; border-radius: 12px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: default; }

.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 43px; padding: 10px 20px; border-radius: 41px;
  font-size: 18px; font-weight: 500; box-shadow: var(--shadow-pill);
}
.pill--fill { background: var(--primary); color: #fff; font-weight: 700; }
.pill--outline { background: #fff; color: var(--green-ink); border: 1px solid var(--primary); }

.link { display: inline-block; margin-top: 12px; color: var(--green-ink); font-weight: 700; }

/* Hero */
.hero { padding: 56px 0 48px; background: linear-gradient(180deg, #eefbf5 0%, #ffffff 100%); }
.eyebrow { display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: var(--r-chip); background: var(--green-soft); color: var(--green-ink); font-size: 14px; font-weight: 700; }
.hero h1 { margin: 0; font-size: 34px; line-height: 1.3; font-weight: 800; letter-spacing: -0.8px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero__lead { margin: 16px 0 0; max-width: 560px; color: var(--secondary); font-size: 17px; line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__stats { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 560px; }
.hero__stats li { padding: 16px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.stat__label { display: block; color: var(--neutral); font-size: 13px; font-weight: 500; letter-spacing: -0.07px; }
.hero__stats strong { display: block; margin-top: 4px; font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.receipt { margin-top: 32px; max-width: 420px; }
.receipt__tag { margin: 0; color: var(--neutral); font-size: 13px; font-weight: 700; }
.receipt__title { margin: 4px 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.3px; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0 4px; font-weight: 700; color: var(--secondary); }
.receipt__total strong { color: var(--green-ink); font-size: 28px; font-weight: 800; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
@media (min-width: 960px) {
  .hero__inner { display: grid; grid-template-columns: 1fr 380px; column-gap: 48px; }
  .hero__inner > :not(.receipt) { grid-column: 1; }
  .eyebrow { justify-self: start; }
  .receipt { grid-column: 2; grid-row: 1 / span 5; align-self: center; margin-top: 0; }
}
@media (min-width: 768px) {
  .hero { padding: 88px 0 72px; }
  .hero h1 { font-size: 48px; letter-spacing: -1.2px; }
  .hero__lead { font-size: 18px; }
}

/* Sections */
.section { padding: 56px 0; }
.section--tint { background: var(--tint); }
.section__title { margin: 0; font-size: 24px; line-height: 1.4; font-weight: 800; letter-spacing: -0.4px; }
.section__desc { margin: 8px 0 24px; color: var(--secondary); }
@media (min-width: 768px) { .section { padding: 80px 0; } .section__title { font-size: 30px; } }

/* Card */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.card--lift { box-shadow: var(--shadow-card); }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (max-width: 480px) { .calc.card { padding: 20px 16px; } .calc__result { padding: 16px; } }
@media (min-width: 900px) { .calc { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; padding: 32px; } }
.field { margin-bottom: 20px; }
.field__label { display: block; margin-bottom: 8px; font-weight: 700; letter-spacing: -0.08px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 12px; border-radius: var(--r-chip); border: 1px solid var(--line-2);
  background: #fff; color: var(--secondary); font-weight: 500; cursor: pointer;
}
.chip.is-on { background: var(--green-soft); border-color: transparent; color: var(--green-ink); font-weight: 700; }
.amount { display: flex; align-items: center; height: 56px; padding: 0 16px; border: 2px solid var(--line-2); border-radius: var(--r-action); }
.amount:focus-within { border-color: var(--primary); }
.amount input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; text-align: right; font-size: 22px; font-weight: 700; }
.amount__unit { margin-left: 8px; color: var(--neutral); font-weight: 500; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.quick button { padding: 6px 12px; border: 0; border-radius: 9999px; background: var(--line); color: var(--secondary); font-size: 14px; font-weight: 500; cursor: pointer; }
.quick button:hover { color: var(--green-ink); }
.help { margin: 8px 0 0; color: var(--neutral); font-size: 14px; font-weight: 500; line-height: 1.43; letter-spacing: -0.07px; }

.calc__result { border-radius: 20px; background: var(--tint); padding: 20px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); color: var(--secondary); }
.row strong { color: var(--fg); font-variant-numeric: tabular-nums; }
.result { padding: 20px 0; }
.result__label { display: block; color: var(--secondary); font-weight: 700; }
.result__num { display: block; margin-top: 4px; color: var(--green-ink); font-size: 36px; font-weight: 800; letter-spacing: -0.8px; font-variant-numeric: tabular-nums; }
.result__sub { color: var(--neutral); font-size: 15px; }
.result__sub b { color: var(--fg); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9999px; background: var(--primary); color: #fff; font-weight: 800; }
.step h3 { margin: 16px 0 8px; font-size: 20px; line-height: 1.4; }
.step p { margin: 0; color: var(--secondary); }
.code { padding: 2px 6px; border-radius: var(--r-chip); background: var(--green-soft); color: var(--green-ink); }

/* Tables */
.table-card { padding: 8px 4px; overflow-x: auto; }
.compare { margin-top: 16px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .table th, .table td { padding: 12px 8px; font-size: 14px; } }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table thead th { color: var(--neutral); font-size: 14px; font-weight: 700; }
.table tbody th { color: var(--secondary); font-weight: 500; }
.table .hl { color: var(--green-ink); font-weight: 700; }
.sub-title { margin: 40px 0 12px; font-size: 20px; line-height: 1.4; }
.source { margin: 12px 0 0; color: var(--neutral); font-size: 14px; }
.source a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 2px; }

/* CTA band */
.cta-band { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; background: #eefbf5; border-color: transparent; }
.cta-band__title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.3px; }
.cta-band__desc { margin: 6px 0 0; color: var(--secondary); }
.cta-band__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-band__actions .link { margin-top: 0; }
@media (min-width: 768px) { .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 32px; } }

/* Summary */
.section--tight { padding: 40px 0 0; }
.summary__title { margin: 0 0 12px; font-size: 22px; }
.summary__def { margin: 0; color: var(--fg-2); font-size: 17px; line-height: 1.65; }
.facts { margin: 20px 0 0; }
@media (min-width: 900px) { .facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--neutral); font-size: 15px; }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.summary__formula { margin: 20px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--green-soft); color: var(--green-ink); font-size: 15px; }

/* Glossary */
.glossary { margin: 0; padding: 8px 24px; }
.glossary div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.glossary div:last-child { border-bottom: 0; }
.glossary dt { font-weight: 700; }
.glossary dd { margin: 4px 0 0; color: var(--secondary); }
.updated { margin: 16px 0 0; color: var(--muted); font-size: 13px; }

/* Apply */
.apply { padding: 24px; }
@media (min-width: 768px) { .apply { padding: 32px; } }
.input {
  width: 100%; height: 56px; padding: 0 16px; border: 2px solid var(--line-2); border-radius: var(--r-action);
  background: #fff; font-size: 17px; outline: 0;
}
.input:focus { border-color: var(--primary); }
.input.is-error { border-color: #e5484d; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; color: var(--secondary); font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--action); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-msg { min-height: 24px; margin: 12px 0 0; font-weight: 700; text-align: center; }
.form-msg.ok { color: var(--green-ink); }
.form-msg.err { color: #d93036; }

/* FAQ */
.faq { padding: 0 4px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 20px; padding-right: 48px; position: relative;
  color: var(--fg-2); font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; margin: 0; font-size: 16px; font-weight: 700; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
  transition: transform 350ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq__body { padding: 0 20px 24px; color: var(--secondary); }
.faq__body p { margin: 0; }

/* Notice */
.notice h2 { margin: 0 0 12px; font-size: 20px; }
.notice ul { margin: 0; padding-left: 20px; color: var(--neutral); font-size: 15px; }
.notice li + li { margin-top: 8px; }

/* Footer */
.footer { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.footer__brand { margin: 0; font-weight: 800; }
.footer__note { margin: 8px 0 0; color: var(--neutral); font-size: 14px; }
.footer__copy { margin: 16px 0 0; color: var(--muted); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq summary::after { transition: none; }
}

/* Why SigBTC */
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.why__num { color: var(--primary); font-size: 14px; font-weight: 800; letter-spacing: 0.5px; }
.why h3 { margin: 8px 0 8px; font-size: 18px; line-height: 1.4; }
.why p { margin: 0; color: var(--secondary); font-size: 15px; line-height: 1.6; }
.why a, a.inline, .summary__def a { color: var(--green-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.why-cta { margin-top: 24px; text-align: center; }
.footer__note a { text-decoration: underline; text-underline-offset: 2px; }

/* Notices */
.gnb__menu a[aria-current="page"] { color: var(--primary); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sec-head .link { margin-top: 0; white-space: nowrap; }
.nlist { list-style: none; margin: 0; padding: 4px 0; }
.nlist__item a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.nlist__item:last-child a { border-bottom: 0; }
.nlist__item a:hover .nlist__title { color: var(--green-ink); }
.nlist__title { color: var(--fg-2); font-weight: 600; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nlist__item time { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.nlist__empty { padding: 24px 20px; color: var(--neutral); }
@media (max-width: 600px) {
  .nlist__item a { grid-template-columns: 1fr; gap: 6px; padding: 14px 16px; }
  .nlist__item .ntag { justify-self: start; }
}
.ntag { display: inline-block; padding: 3px 8px; border-radius: var(--r-chip); background: var(--line); color: var(--secondary); font-size: 13px; font-weight: 700; white-space: nowrap; }
.ntag--listing { background: var(--green-soft); color: var(--green-ink); }
.ntag--delisting { background: #fdecec; color: #c23030; }
.ntag--event, .ntag--airdrop { background: #fff4e0; color: #9a5b00; }
.ntag--news { background: #eaf2ff; color: #2456b8; }
.nfilter { margin-bottom: 16px; }
.npages { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0 32px; }
.btn--ghost { background: #fff; color: var(--fg-2); border: 1px solid var(--line-2); }
.crumb { margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.crumb a:hover { color: var(--green-ink); }
.nhead { margin-bottom: 20px; }
.nhead__title { margin: 12px 0 8px; font-size: 26px; line-height: 1.4; font-weight: 800; letter-spacing: -0.5px; }
@media (min-width: 768px) { .nhead__title { font-size: 32px; } }
.nhead__meta { margin: 0; color: var(--neutral); font-size: 14px; }
.nhead__meta a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 2px; }
.nhead__en { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.nbody { padding: 24px 20px; font-size: 16px; line-height: 1.75; color: var(--fg-2); overflow-wrap: anywhere; }
@media (min-width: 768px) { .nbody { padding: 36px 40px; } }
.nbody > :first-child { margin-top: 0; }
.nbody p, .nbody ul, .nbody ol, .nbody blockquote { margin: 0 0 14px; }
.nbody h2, .nbody h3, .nbody h4 { margin: 28px 0 12px; line-height: 1.4; color: var(--fg); }
.nbody h2 { font-size: 21px; } .nbody h3 { font-size: 19px; } .nbody h4 { font-size: 17px; }
.nbody ul, .nbody ol { padding-left: 22px; }
.nbody li { margin-bottom: 6px; }
.nbody a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 2px; }
.nbody table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; }
.nbody th, .nbody td { padding: 8px 12px; border: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.nbody th { background: var(--tint); }
.nbody blockquote { padding: 12px 16px; border-left: 3px solid var(--line-2); color: var(--secondary); }
.nbody__src { margin-top: 24px !important; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.notice-cta { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; background: #eefbf5; border-color: transparent; }
.notice-cta__title { margin: 0; font-size: 18px; font-weight: 800; }
.notice-cta__desc { margin: 6px 0 0; color: var(--secondary); font-size: 15px; }
.notice-cta__desc a { color: var(--green-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 768px) { .notice-cta { flex-direction: row; align-items: center; justify-content: space-between; } .notice-cta .btn { flex: none; } }
.npager { display: grid; gap: 8px; margin: 8px 0 32px; }
@media (min-width: 768px) { .npager { grid-template-columns: 1fr 1fr; } }
.npager a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; color: var(--fg-2); font-weight: 600; }
.npager a span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 13px; font-weight: 500; }
.npager__next { text-align: right; }

/* Data pages */
.up { color: #0b9e64; } .down { color: #e0384f; }
.mono { font-variant-numeric: tabular-nums; }
.dh1 { margin-top: 4px; }
.dnav { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 20px; padding-bottom: 2px; scrollbar-width: none; }
.dnav::-webkit-scrollbar { display: none; }
.dnav .chip { white-space: nowrap; text-decoration: none; }
.dstatus { margin: -8px 0 16px; color: var(--muted); font-size: 13px; }
.dtool { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.dtool .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.dtool .chips::-webkit-scrollbar { display: none; }
.dtool .chip { white-space: nowrap; padding: 8px 12px; font-size: 15px; }
.dsel select { height: 40px; padding: 0 32px 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font-weight: 700; font-size: 15px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9fa4b0 50%), linear-gradient(135deg, #9fa4b0 50%, transparent 50%); background-position: right 14px center, right 9px center; background-size: 5px 5px; background-repeat: no-repeat; }
.dsearch { height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 15px; min-width: 0; flex: 1 1 180px; max-width: 280px; }
.dzoom { display: flex; gap: 6px; margin-left: auto; }
.dkpi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
@media (min-width: 900px) { .dkpi { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dkpi:has(.lsk) { grid-template-columns: 1fr; }
@media (min-width: 768px) { .dkpi:has(.lsk) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dk { padding: 16px 18px; }
.dk__l, .lsk__label { margin: 0; color: var(--neutral); font-size: 13px; font-weight: 700; }
.dk__v { margin: 6px 0 2px; font-size: 22px; font-weight: 800; letter-spacing: -0.3px; font-variant-numeric: tabular-nums; }
.dk__s { margin: 0; color: var(--muted); font-size: 13px; }
.lsk { padding: 18px; }
.lsk__ratio { margin: 4px 0 10px; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lsbar { height: 10px; border-radius: 9999px; background: #f6465d; overflow: hidden; }
.lsbar__l { display: block; height: 100%; background: #0ecb81; }
.lsk__pct { display: flex; justify-content: space-between; margin: 8px 0 0; font-size: 14px; font-weight: 700; }
.lsmini { display: inline-block; width: 70px; height: 6px; margin-right: 8px; border-radius: 9999px; background: #f6465d; overflow: hidden; vertical-align: middle; }
.lsmini span { display: block; height: 100%; background: #0ecb81; }
.dchart-card { padding: 12px 8px 4px; margin-bottom: 16px; }
.dchart-head { padding: 4px 12px 0; font-size: 15px; }
.dchart { width: 100%; height: 380px; }
.dchart--sm { height: 260px; }
.dchart--lg { height: 460px; }
@media (max-width: 600px) { .dchart { height: 300px; } .dchart--lg { height: 360px; } }
.dlegend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 8px 16px 12px; color: var(--secondary); font-size: 13px; }
.dlegend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.dlegend i.ln { height: 3px; vertical-align: 3px; border-radius: 2px; }
.dtable td, .dtable th { white-space: nowrap; }
.dtable tbody tr[data-s], .dtable tbody tr[data-id] { cursor: pointer; }
.dtable tbody tr:hover { background: #fafbfc; }
.dtable tr.is-sel { background: #eefbf5; }
@media (max-width: 600px) { .m-hide { display: none; } }
.dload { padding: 40px 16px; color: var(--neutral); text-align: center; }
.derr small { color: var(--muted); }
.dabout { margin: 32px 0 8px; padding: 8px 24px 20px; color: var(--fg-2); line-height: 1.75; }
.dabout .sub-title { margin-top: 24px; }
.dabout ul { padding-left: 20px; }
.dabout li + li { margin-top: 6px; }
.dsec .faq { margin-bottom: 8px; }
.dcards { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .dcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dcard { display: block; height: 100%; transition: border-color .15s; }
.dcard:hover { border-color: var(--primary); }
.dcard h2 { margin: 0 0 8px; font-size: 19px; }
.dcard p { margin: 0; color: var(--secondary); font-size: 15px; line-height: 1.6; }
/* 청산 히트맵 */
.hm-wrap { position: relative; height: 560px; border-radius: 20px; overflow: hidden; background: #07080c; }
@media (max-width: 600px) { .hm-wrap { height: 440px; } }
.hm-canvas { display: block; width: 100%; height: 100%; }
.hm-load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #cfd3dc; font-size: 15px; background: rgba(7,8,12,.6); }
.hm-tip { position: fixed; z-index: 30; display: none; padding: 8px 10px; border-radius: 10px; background: rgba(10,12,18,.92); color: #fff; font-size: 12px; line-height: 1.6; pointer-events: none; }
/* 리더보드 (전체 폭 목록 + 펼침 상세) */
.lb { padding: 4px 0; overflow: hidden; }
.lb-row { display: grid; grid-template-columns: 44px minmax(0, 2.2fr) 1fr 0.9fr 110px 1fr 0.8fr 24px; align-items: center; gap: 12px; width: 100%; padding: 14px 20px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; font: inherit; color: var(--fg-2); cursor: pointer; }
.lb-row--head { cursor: default; padding-top: 10px; padding-bottom: 10px; color: var(--neutral); font-size: 13px; font-weight: 700; }
button.lb-row:hover { background: #fafbfc; }
.lb-item.is-open > .lb-row { background: #f3fbf7; }
.lb-rank { color: var(--neutral); font-weight: 800; font-variant-numeric: tabular-nums; }
.lb-top .lb-rank { color: #c99400; }
.lb-name { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 700; }
.lb-name__t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-ava { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; background: var(--line); }
.lb-ava--lg { width: 52px; height: 52px; }
.lb-live { flex: none; padding: 2px 7px; border-radius: 6px; background: var(--green-soft); color: var(--green-ink); font-size: 11px; font-style: normal; font-weight: 800; }
.lb-num { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-spark { display: block; }
.lb-caret { color: var(--muted); transition: transform .15s; }
.lb-item.is-open .lb-caret { transform: rotate(180deg); color: var(--green-ink); }
.m-only { display: none; }
.lb-detail { padding: 20px 20px 24px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.lb-prof { display: flex; gap: 14px; align-items: center; }
.lb-prof__name { margin: 0; font-size: 18px; font-weight: 800; }
.lb-prof__bio { margin: 4px 0 0; color: var(--secondary); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lb-sec { margin: 20px 0 10px; font-weight: 800; }
.lb-sec b { color: var(--green-ink); }
.lb-pos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.lb-pos__card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.lb-pos__top { display: flex; align-items: center; gap: 8px; }
.lb-mm { font-size: 12px; }
.lb-pos__pnl { margin: 8px 0 10px; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lb-pos__pnl small { font-size: 14px; font-weight: 700; }
.lb-pos__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0; font-size: 13px; }
.lb-pos__grid dt { color: var(--muted); }
.lb-pos__grid dd { margin: 0; color: var(--fg-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.lb-note { margin: 14px 0 0; font-size: 13px; }
@media (max-width: 760px) {
  .lb-row { grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: "r n c" "r a b"; row-gap: 4px; padding: 14px 16px; }
  .lb-row--head { display: none; }
  .lb-row > .lb-rank { grid-area: r; align-self: start; padding-top: 6px; }
  .lb-row > .lb-name { grid-area: n; }
  .lb-row > .lb-num:nth-child(3) { grid-area: a; font-size: 14px; }
  .lb-row > .lb-num:nth-child(4) { grid-area: b; font-size: 14px; justify-self: end; }
  .lb-row > .lb-caret { grid-area: c; justify-self: end; }
  .lb-row .m-hide { display: none; }
  .m-only { display: inline; color: var(--muted); font-weight: 500; }
  .lb-detail { padding: 16px; }
}
.lb-live { flex: none; padding: 1px 6px; border-radius: 6px; background: var(--green-soft); color: var(--green-ink); font-size: 11px; font-style: normal; font-weight: 800; }
.lb-spark { display: block; }

/* 상단 메뉴 드롭다운 (데이터 · 공지사항) */
.gnb__dd { position: relative; display: flex; align-items: center; }
.gnb__dd-btn { display: inline-flex; align-items: center; gap: 4px; }
.gnb__dd-btn svg { transition: transform .15s; color: var(--muted); }
.gnb__menu a.gnb__dd-btn:hover, .gnb__dd:hover > .gnb__dd-btn, .gnb__dd:focus-within > .gnb__dd-btn { color: var(--primary); }
.gnb__menu a[aria-current="page"] { color: var(--primary); }
.gnb__dd-menu {
  position: absolute; top: 100%; left: -16px; z-index: 40; min-width: 260px; padding: 8px; margin-top: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(17, 17, 17, .12);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.gnb__dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* 메뉴로 내려가는 틈 메우기 */
@media (hover: hover) {
  .gnb__dd:hover .gnb__dd-menu { opacity: 1; visibility: visible; transform: none; }
  .gnb__dd:hover .gnb__dd-btn svg { transform: rotate(180deg); }
}
.gnb__dd:focus-within .gnb__dd-menu { opacity: 1; visibility: visible; transform: none; }
.gnb__dd-menu a { display: block; padding: 10px 12px; border-radius: 10px; line-height: 1.35; white-space: normal; }
.gnb__dd-menu a:hover, .gnb__dd-menu a:focus-visible { background: var(--tint); }
.gnb__dd-menu a b { display: block; color: var(--fg); font-size: 15px; font-weight: 700; }
.gnb__dd-menu a span { display: block; margin-top: 2px; color: var(--neutral); font-size: 13px; font-weight: 500; }
.gnb__dd-menu a:hover b { color: var(--green-ink); }
.gnb__dd-menu .gnb__dd-all { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--green-ink); font-size: 14px; font-weight: 700; }
@media (hover: none) { .gnb__dd-btn svg { display: none; } } /* 터치 기기에서는 누르면 바로 해당 목록 페이지로 이동 */
/* 공지 분류 칩(링크) */
.nfilter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.nfilter::-webkit-scrollbar { display: none; }
.nfilter .chip { white-space: nowrap; }
@media (hover: none), (max-width: 760px) { .gnb__dd-menu { display: none; } }

/* 공지 핵심 요약 */
.nsum { margin-bottom: 16px; padding: 20px 22px; background: #f4fbf8; border-color: #d6f2e5; }
.nsum__t { display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 6px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; }
.nsum__lead { margin: 0 0 10px; font-size: 17px; font-weight: 800; line-height: 1.5; color: var(--fg); }
.nsum ul { margin: 0; padding-left: 20px; color: var(--fg-2); line-height: 1.7; }
.nsum li + li { margin-top: 4px; }
.nsum__note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
