/* mNAV 모아 — 지원모아(jiwonmoa.orfa.shop) 디자인 시스템을 따른다:
 * 회색 바탕 알약(칩·단추·입력), 고른 것은 검정 알약, 주요 행동 하나만 노랑, 깊이는 선 대신 옅은 그림자, 모서리 24px. */
:root {
  --gray-0: #ffffff; --gray-50: #f8f8f8; --gray-100: #f3f3f3; --gray-150: #eeeeee; --gray-200: #dcdcdc; --gray-300: #c4c4c4;
  --gray-400: #a3a3a3; --gray-500: #8a8a8a; --gray-600: #666666; --gray-800: #333333; --gray-900: #111111;
  --blue-50: #eef5fd; --blue-100: #cde2fb; --blue-500: #2a78d6; --blue-600: #256abf; --blue-700: #1c5cab;
  --green-50: #eef8ee; --green-500: #008300; --green-600: #007500;
  --red-50: #fdeeee; --red-500: #d03b3b; --red-600: #b3261e;
  --orange-50: #fff0e6; --orange-500: #c2410c; --orange-600: #b5410e;
  --yellow-500: #fae100;

  --canvas: var(--gray-0); --fg: var(--gray-800); --fg-strong: var(--gray-900); --muted: var(--gray-600);
  --surface: var(--gray-150); --surface-hover: var(--gray-100); --pressed: var(--gray-200);
  --line: var(--gray-200); --divider: var(--gray-150);
  --dark: var(--gray-900); --dark-hover: rgba(17, 17, 17, .75); --on-dark: #ffffff; --dark-edge: #ffffff;
  --yellow: var(--yellow-500); --on-yellow: #000000;
  --up: var(--red-500); --down: var(--blue-600);       /* 프리미엄·상승 = 빨강, 디스카운트·하락 = 파랑 */
  --warn: var(--orange-600); --warn-weak: var(--orange-50);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-border: 0 0 0 1px oklch(0 0 0 / 0.06), 0 1px 2px -1px oklch(0 0 0 / 0.06), 0 2px 4px 0 oklch(0 0 0 / 0.04);
  --shadow-panel: 0 0 0 1px oklch(0 0 0 / 0.06), 0 4px 12px -2px oklch(0 0 0 / 0.06), 0 16px 32px -8px oklch(0 0 0 / 0.08);
  --tabs-h: 56px;
  color-scheme: light;
}

/* ---------- 바탕 ---------- */
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--canvas); color: var(--fg);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
  font-size: .875rem; line-height: 1.6; letter-spacing: -0.2px; word-break: keep-all; overflow-wrap: anywhere;
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; background: var(--surface); padding: 1px 6px; border-radius: 6px; }
.wrap { max-width: 1720px; margin: 0 auto; padding-left: 44px; padding-right: 44px; }
.muted { color: var(--muted); }
.r { text-align: right; }
.num, .stat-num, .stat-of, .big-v, .tk, .mnav { font-variant-numeric: tabular-nums; }
.up { color: var(--up); } .down { color: var(--down); }
.warn-t { color: var(--warn); }
:is(a, button, input, select, [tabindex]):focus-visible { outline: 2px solid var(--fg-strong); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 맨 위 안내 띠 ---------- */
.site-note { background: var(--surface); color: var(--fg); font-size: .8125rem; line-height: 1.4; }
.site-note-inner { display: flex; align-items: center; gap: 8px; min-height: 34px; }
.site-note p { margin: 0; min-width: 0; }
.site-note .sn-short { display: none; }
.site-note a { font-weight: 700; margin-left: auto; white-space: nowrap; }

/* ---------- 머리·탭 ---------- */
.top { background: var(--canvas); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 8px; }
.brand { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; min-width: 0; }
.brand h1 { margin: 0; font-size: 1.875rem; line-height: 1.33; font-weight: 700; color: var(--fg-strong); letter-spacing: -1px; }
.brand h1 a { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 11px; flex: none; }
.top-actions { display: flex; align-items: center; gap: 4px; }
.top-run { color: var(--muted); font-size: .8125rem; }
.lang-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 18px; background: var(--surface); color: var(--fg-strong); font-size: .8125rem; font-weight: 700; text-decoration: none; margin-left: 8px; }
.lang-btn:hover { background: var(--pressed); text-decoration: none; }

.tabs { position: sticky; top: 0; z-index: 10; background: var(--canvas); border-bottom: 1px solid var(--divider); }
.tabs-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 10px; }
.tabs-inner::-webkit-scrollbar { display: none; }
.tabs a {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 37px; padding: 0 16px; border: 0; border-radius: 999px;
  background: transparent; color: var(--fg-strong); text-decoration: none; font-size: 1.0625rem; font-weight: 400;
}
.tabs a:hover, .tabs a:active { background: var(--surface-hover); text-decoration: none; }
.tabs a[aria-current="page"] { background: var(--dark); color: var(--on-dark); font-weight: 700; }

/* ---------- 단추·칩·전환 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 20px; border-radius: 24px; border: 0;
  background: var(--surface); color: var(--fg-strong); cursor: pointer; text-decoration: none; font-size: .875rem; font-weight: 700; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn.gray:hover, .btn.gray:active, .btn:not(.yellow):not(.dark):active { background: var(--pressed); }
.btn.dark { background: var(--dark); color: var(--on-dark); border-radius: 16px; }
.btn.dark:hover, .btn.dark:active { background: var(--dark-hover); }
.btn.yellow { background: var(--yellow); color: var(--on-yellow); box-shadow: inset 0 0 0 2px var(--on-yellow); border-radius: 16px; letter-spacing: -0.5px; }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: .8125rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 30px; flex: 0 0 auto; white-space: nowrap;
  background: var(--surface); color: var(--fg-strong); cursor: pointer; font-size: 1rem; font-weight: 700; line-height: 1.3;
}
.chip:active { background: var(--pressed); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--dark); color: var(--on-dark); }
.chip .n { font-size: .8125rem; font-weight: 400; opacity: .72; }

.sel { appearance: none; border: 0; border-radius: 999px; background: var(--surface); color: var(--fg-strong); font-size: .8125rem; font-weight: 700; height: 36px; padding: 0 30px 0 14px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.seg-mini { position: relative; display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface); }
.seg-mini button { border: 0; background: none; height: 30px; padding: 0 12px; border-radius: 999px; cursor: pointer; font-size: .8125rem; font-weight: 700; color: var(--fg); white-space: nowrap; }
.seg-mini button[aria-pressed="true"] { background: var(--dark); color: var(--on-dark); }

.badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; border-radius: 999px; padding: 0 10px; font-size: .75rem; font-weight: 700; background: var(--surface); color: var(--fg); white-space: nowrap; letter-spacing: 0; }
.badge.warn { background: var(--warn-weak); color: var(--warn); }
.badge.line { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); }

/* ---------- 홈 머리 ---------- */
.home { padding-top: 28px; padding-bottom: 56px; }
.home-hero { padding-bottom: 28px; border-bottom: 1px solid var(--divider); margin-bottom: 28px; position: relative; isolation: isolate; }
.home-hero::before {
  content: ""; position: absolute; inset: -28px -44px 0 30%; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--gray-300) 1.4px, transparent 1.6px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 85% 20%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 85% at 85% 20%, #000 15%, transparent 72%);
}
.hero-title { margin: 0; font-size: 3.36rem; line-height: 1.23; font-weight: 700; letter-spacing: -1px; color: var(--fg-strong); }
.hero-title strong { font-weight: 800; font-variant-numeric: tabular-nums; }
.hero-sub { margin: 12px 0 20px; color: var(--muted); font-size: 1rem; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.today-row { display: flex; flex-wrap: wrap; gap: 8px; }
.today-new { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 8px; border: 0; border-radius: 999px;
  background: var(--blue-50); color: var(--fg-strong); font: inherit; font-size: .9375rem; text-decoration: none; }
.today-new:hover { background: var(--blue-100); text-decoration: none; }
.today-new strong { color: var(--blue-600); font-weight: 800; font-variant-numeric: tabular-nums; }
.today-new .badge { height: 26px; background: var(--blue-600); color: #fff; letter-spacing: .5px; }
.today-new.due { background: var(--red-50); }
.today-new.due:hover { background: color-mix(in srgb, var(--red-50), var(--red-500) 10%); }
.today-new.due strong { color: var(--red-600); }
.today-new.due .badge { background: var(--red-500); }

/* 시세 띠: 머리 아래 한 줄 */
.ticker { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 24px; font-size: .9375rem; color: var(--fg); }
.ticker b { color: var(--fg-strong); font-weight: 700; margin-right: 2px; }
.ticker .status { margin-left: auto; color: var(--muted); }

/* 숫자 타일 */
.home-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
@media (min-width: 1180px) { .home-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.stat {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 20px; border: 0; border-radius: 24px;
  background: var(--surface-hover); color: var(--fg-strong); cursor: pointer; text-align: left; font: inherit; min-width: 0;
}
.stat:hover, .stat:active { background: var(--surface); }
.stat.static { cursor: default; }
.stat[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--fg-strong); }
.stat-num { font-size: 1.875rem; line-height: 1.33; font-weight: 700; letter-spacing: -1px; }
.stat-label { display: flex; align-items: center; gap: 4px; font-weight: 700; }
.stat-label .arrow { margin-left: 2px; font-weight: 400; }
.stat-of { display: flex; justify-content: space-between; gap: 8px; width: 100%; margin-top: 8px; font-size: .75rem; line-height: 1.4; color: var(--muted); }
.stat-of + .stat-of { margin-top: 2px; }
.stat-of span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-of > span:last-child { flex: none; white-space: nowrap; }
.stat-ticks { display: flex; gap: 2px; width: 100%; height: 26px; margin-top: auto; padding-top: 6px; --c: var(--down); box-sizing: content-box; }
.stat-ticks i { flex: 1 1 0; min-width: 1px; border-radius: 1px; background: var(--gray-200); }
.stat-ticks i.on { background: var(--c); }

/* ---------- 목록 ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.toolbar-end { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: none; padding-left: 8px; background: var(--canvas); }
.list-card { border-radius: 24px; padding: 8px 24px 16px; background: var(--canvas); box-shadow: var(--shadow-border); min-width: 0; }
.table-wrap { background: var(--canvas); }
.grid { width: 100%; border-collapse: separate; border-spacing: 0; line-height: 1.4; }
.grid th, .grid td { padding: 12px 10px; border-bottom: 1px solid var(--divider); white-space: nowrap; background: var(--canvas); }
.grid th { font-size: .8125rem; color: var(--muted); font-weight: 600; text-align: left; position: sticky; top: var(--tabs-h); z-index: 2; border-bottom: 1px solid var(--line); }
.grid th.r { text-align: right; }
.grid th button { all: unset; cursor: pointer; display: inline-block; font: inherit; color: inherit; padding: 2px 0; border-radius: 4px; }
.grid th button:focus-visible { outline: 2px solid var(--fg-strong); outline-offset: 2px; }
.grid th[data-dir="asc"] button::after { content: " ↑"; } .grid th[data-dir="desc"] button::after { content: " ↓"; }
.grid tbody tr:hover td { background: var(--surface-hover); }
.grid tbody tr:last-child td { border-bottom: 0; }
.grid tr[hidden] { display: none; }
.co { display: flex; flex-direction: column; color: var(--fg-strong); line-height: 1.3; text-decoration: none; }
.co b { font-size: 1rem; } .co-name { font-size: .8125rem; color: var(--muted); margin-top: 1px; }
.co:hover b { text-decoration: underline; } .co:hover { text-decoration: none; }
.co-top { display: flex; align-items: center; gap: 6px; }
.asset { font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.a-btc { color: #b45309; } .a-eth { color: #3b4fc4; } .a-sol { color: #7e22ce; } .a-xrp { color: #1f3d5c; } .a-hype { color: #0d7a5f; } .a-bnb { color: #8a6500; } .a-trx { color: #b91c1c; } .a-gram { color: #0b5ea8; } .a-avax { color: #c2410c; } .a-sui { color: #1a5fa8; } .a-ltc { color: #4b5563; }
.a-zec { color: #a16207; } .a-ena { color: #1f2937; } .a-wld { color: #374151; } .a-inj { color: #0e7490; } .a-tao { color: #1f2937; } .a-cc { color: #6d28d9; }
.ctry { font-size: .6875rem; color: var(--muted); background: var(--surface); border-radius: 999px; padding: 1px 7px; line-height: 1.4; font-weight: 600; }
.grid td .date { display: block; font-size: .75rem; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.grid td .date small { font-size: .6875rem; }
.grid .c-co { width: 24%; }
.grid td .date.stale { color: var(--warn); background: none; padding: 0; }
.mnav { font-weight: 700; } .mnav.prem { color: var(--up); } .mnav.disc { color: var(--down); }
.date { font-size: .8125rem; color: var(--fg); } .date.stale { color: var(--warn); background: var(--warn-weak); padding: 1px 8px; border-radius: 999px; }
sup.warn { color: var(--warn); font-weight: 800; cursor: help; }
.under { margin: 14px 2px 0; font-size: .8125rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.under b { color: var(--fg-strong); }
.note { color: var(--muted); font-size: .8125rem; margin: 8px 0 0; }
.more { margin-top: 10px; font-size: .8125rem; }
.more summary { cursor: pointer; color: var(--muted); font-weight: 700; }

/* 코인별: 주간 순매수 막대 */
.bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 28px; width: 92px; }
.bars i { flex: 1 1 0; height: max(2px, var(--h)); background: var(--gray-200); border-radius: 1px; }
.bars i.up { background: var(--up); } .bars i.down { background: var(--down); }
.assets .c-co { width: 18%; }
.assets td .date { white-space: nowrap; }

/* ---------- 종목 ---------- */
.page { padding-top: 24px; padding-bottom: 56px; }
.crumb { margin: 0 0 6px; font-size: .8125rem; color: var(--muted); }
.co-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 20px; }
.co-head h1 { margin: 0; font-size: 2.25rem; line-height: 1.25; font-weight: 700; letter-spacing: -1px; color: var(--fg-strong); }
.co-sub { font-size: 1.125rem; font-weight: 500; color: var(--muted); margin-left: 8px; letter-spacing: -0.3px; }
.co-head .muted { margin: 4px 0 0; font-size: .8125rem; }
.stale-line { margin: 6px 0 0; font-size: .8125rem; }
.big { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; flex: 0 1 640px; }
.big-item { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 20px; background: var(--surface-hover); min-width: 0; }
.big-l { font-size: .8125rem; color: var(--muted); font-weight: 700; } .big-v { font-size: 1.75rem; line-height: 1.3; font-weight: 700; letter-spacing: -1px; }
.big-v.growth { font-size: 1.375rem; display: flex; flex-wrap: wrap; gap: 0 10px; align-items: baseline; } .big-v.growth .pair { white-space: nowrap; } .big-v.growth small { font-size: .75rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.card { min-width: 0; border-radius: 24px; padding: 24px; background: var(--canvas); box-shadow: var(--shadow-border); margin-bottom: 16px; }
.card h2 { margin: 0 0 12px; font-size: 1.25rem; line-height: 1.4; font-weight: 700; color: var(--fg-strong); }
.card h2 .muted { font-size: .8125rem; font-weight: 500; margin-left: 6px; }
.card h3 { margin: 20px 0 10px; font-size: 1rem; font-weight: 700; color: var(--fg-strong); }
.kv { width: 100%; border-collapse: collapse; font-size: .875rem; line-height: 1.45; }
.kv th { text-align: left; color: var(--muted); font-weight: 600; font-size: .8125rem; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.kv th.r { text-align: right; }
.kv td { padding: 9px 8px; border-bottom: 1px solid var(--divider); vertical-align: top; }
.kv tr:last-child td { border-bottom: 0; }
.kv-wrap { overflow-x: auto; }
.kv-wrap .kv { min-width: 620px; }
.kv td:first-child { white-space: nowrap; }
.has-note { text-decoration: underline dotted var(--gray-400); text-underline-offset: 3px; cursor: help; }
.kv .src { font-size: .8125rem; }
.kv .src code { word-break: break-all; }
.kv td.r, .kv td .date { white-space: nowrap; }
.shadow { display: block; font-size: .75rem; color: var(--muted); margin-top: 2px; }
.calc { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; font-size: .875rem; }
.calc dt { color: var(--muted); } .calc dd { margin: 0; }
.calc-box { background: var(--surface-hover); border-radius: 20px; padding: 16px 18px; font-size: .875rem; }
.calc-box label { display: flex; align-items: center; gap: 10px; margin: 4px 0 8px; font-weight: 700; color: var(--fg-strong); }
.calc-box input { width: 150px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 20px; background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.calc-box input:focus-visible { outline: 2px solid var(--fg-strong); outline-offset: 0; }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; }
.calc-out div { background: var(--canvas); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; }
.calc-out b { font-size: 1.125rem; letter-spacing: -0.3px; }
.chart-wrap { position: relative; width: 100%; }
.chart-wrap.tall { height: 420px; }
.filings { margin: 0; padding-left: 0; list-style: none; }
.filings li { padding: 8px 0; border-bottom: 1px solid var(--divider); font-size: .875rem; }
.filings li:last-child { border-bottom: 0; }
.filings .date { display: inline-block; width: 96px; color: var(--muted); }
.filings .ex { font-size: .75rem; margin-left: 6px; color: var(--muted); }

/* ---------- 추이·비교 ---------- */
.lead { margin: 0; color: var(--muted); max-width: 820px; font-size: 1rem; }
.page-head { margin: 0 0 20px; }
.page-head h1 { margin: 0 0 6px; font-size: 2.25rem; line-height: 1.25; font-weight: 700; letter-spacing: -1px; color: var(--fg-strong); }
.chip-row { margin: 0 0 16px; }
.pick-chips { margin: 12px 0 0; }
.pick-chips .chips { margin-bottom: 12px; }
.chip-pick { position: relative; min-height: 38px; padding: 0 14px; font-size: .875rem; font-weight: 600; }
.chip-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-pick:has(input:checked) { background: var(--dark); color: var(--on-dark); }
.chip-pick:has(input:focus-visible) { outline: 2px solid var(--fg-strong); outline-offset: 2px; }
.chip-pick .n { font-weight: 400; }
.chip-pick.off { opacity: .45; cursor: default; }
.cmp th { text-align: right; } .cmp th:first-child { text-align: left; }
.cmp th a { font-weight: 700; color: var(--blue-600); text-decoration: none; }

/* ---------- 문서 ---------- */
.doc { max-width: 920px; padding: 0; }
.doc h1 { font-size: 2.25rem; line-height: 1.25; font-weight: 700; letter-spacing: -1px; margin: 0 0 16px; color: var(--fg-strong); }
.doc h2 { font-size: 1.25rem; font-weight: 700; margin: 28px 0 8px; color: var(--fg-strong); }
.doc li { margin: 6px 0; }
.formula { background: var(--surface-hover); border-radius: 20px; padding: 16px 20px; font-size: .875rem; overflow-x: auto; }
.cols { columns: 2; padding-left: 18px; }

/* ---------- 꼬리말 ---------- */
.foot { border-top: 1px solid var(--divider); background: var(--surface-hover); color: var(--muted); font-size: .75rem; line-height: 1.6; }
.foot-inner { padding-top: 32px; padding-bottom: 24px; }
.foot p { margin: 0 0 8px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 32px; margin-bottom: 20px; }
.foot-name { display: flex; align-items: center; gap: 8px; margin: 0 0 6px !important; font-size: 1.125rem; font-weight: 800; color: var(--fg-strong); letter-spacing: -0.3px; }
.foot-name img { border-radius: 8px; }
.foot-run { font-size: .8125rem; color: var(--muted); }
.foot-menu { display: flex; gap: 4px 20px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.foot-menu a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; color: var(--fg-strong); text-decoration: none; }
.foot-menu a:hover { text-decoration: underline; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 20px; padding: 0; }
.foot-links a { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 24px; background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg-strong); text-decoration: none; font-size: .75rem; }
.foot-links a:hover { background: var(--pressed); text-decoration: none; }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 16px; }
.foot-last { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 8px; }
.foot-last p { margin: 0; }

/* ---------- 반응형 ---------- */
@media (max-width: 1100px) {
  .list-card { padding: 4px 0 8px; }
  .list-card .under { padding: 0 16px; }
  .table-wrap { overflow-x: auto; }
  .grid { min-width: 760px; }
  .grid th { position: static; }
  .grid th:first-child, .grid td:first-child { padding-left: 16px; }
  .grid .c-co { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--divider); width: auto; max-width: 160px; }
  .grid .c-co .co-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 126px; }
  .grid tbody tr:hover .c-co { background: var(--surface-hover); }
}
@media (max-width: 860px) {
  .two { grid-template-columns: minmax(0, 1fr); }
  .calc { grid-template-columns: 1fr; gap: 2px; } .calc dt { margin-top: 8px; }
  .cols { columns: 1; }
  .co-sub { display: block; margin: 2px 0 0; font-size: 1rem; }
  .big { flex-basis: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kv .src .muted, .kv .src code { display: none; }
}
@media (max-width: 760px) {
  .ticker { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 16px; white-space: nowrap; margin-bottom: 16px; }
  .ticker::-webkit-scrollbar { display: none; }
  .ticker .status { margin-left: 0; }
  .col-opt { display: none; }
  .grid { min-width: 540px; }
}
@media (max-width: 639px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand h1 { font-size: 1.5rem; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .top-inner { padding-top: 14px; padding-bottom: 4px; }
  .top-run { display: none; }
  .tabs-inner { gap: 2px; }
  .tabs a { padding: 0 12px; font-size: 1rem; }
  .home { padding-top: 20px; }
  .home-hero::before { inset: -28px -16px 0 0; opacity: .7; }
  .hero-title { font-size: 1.875rem; line-height: 1.33; }
  .hero-sub { font-size: .875rem; margin-bottom: 16px; }
  .today-new { min-height: 40px; font-size: .875rem; }
  .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
  .stat { padding: 16px; border-radius: 20px; }
  .stat-label { gap: 3px; font-size: .9375rem; letter-spacing: -0.3px; }
  .stat-label .arrow { display: none; }
  .stat-num { font-size: 1.5rem; }
  .stat-ticks { height: 20px; gap: 1px; } .stat-of { margin-top: 8px; }
  .chip { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .chips::-webkit-scrollbar { display: none; }
  .toolbar { flex-wrap: wrap; gap: 8px; }
  .toolbar .chips { min-width: 0; flex: 1 1 100%; }
  .toolbar-end { flex: 1 1 100%; margin-left: 0; padding-left: 0; justify-content: space-between; }
  .co-head h1 { font-size: 1.75rem; }
  .big-item { padding: 12px 14px; border-radius: 16px; } .big-v { font-size: 1.375rem; } .big-v.growth { font-size: 1.125rem; }
  .card { padding: 20px 16px; border-radius: 20px; }
  .page-head h1, .doc h1 { font-size: 1.75rem; }
  .pick-chips .chips { flex-wrap: wrap; overflow: visible; }
  .chart-wrap.tall { height: 280px; }
  .foot-inner { padding-top: 24px; }
}
@media (max-width: 560px) {
  .grid th, .grid td { padding: 10px 8px; }
  .assets .stale-note, .assets .hold-sub { display: none; }
  .assets .c-co { max-width: 96px; }
  .assets .c-co .co-top .muted { display: none; }   /* 휴대폰: 코인 티커만 */
  .assets th, .assets td { padding-left: 6px; padding-right: 6px; }
  .col-md { display: none; }
  .grid { min-width: 0; }
  .grid .c-co { max-width: 118px; }
  .grid .c-co .co-name { max-width: 100px; }
  sup.warn { font-size: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .home-stats.grow .stat-ticks i.on { transform-origin: bottom; animation: tick-grow 400ms var(--ease-out) both; animation-delay: calc(250ms + var(--i) * 12ms); }
  @keyframes tick-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
