/* 이슈코인 — 사장님 시안(2026-10-12): 흰 바탕 · 초록 포인트 · 둥근 카드. 그린·레드는 등급 구분색, 오름 빨강 · 내림 파랑 */
:root {
  color-scheme: light;
  --bg: #f7f9f8;
  --surface: #ffffff;
  --surface-2: #f4f7f5;
  --line: #e4eae6;
  --line-soft: #eef2ef;
  --line-strong: #cfd8d2;
  --ink: #17211c;
  --ink-2: #3b4842;
  --muted: #6c7871;
  --faint: #9aa59f;
  --blue: #22b35e;          /* 주 강조색(초록). 단추·선택·링크 */
  --blue-d: #179a4e;
  --blue-soft: #e7f7ee;
  --brand-tint: #f1f9f4;
  --green: #16a34a;
  --green-d: #0f7a37;
  --green-soft: #e6f6ec;
  --red: #e5484d;
  --red-soft: #fdecee;
  --amber: #b7791f;
  --amber-soft: #fdf3e1;
  --gold: #d99a06;
  --gold-soft: #fdf5dc;
  --violet: #7c5cdb;
  --violet-soft: #f0ebff;
  --up: #16a34a;     /* 상승 = 초록 (사장님 2026-10-13 「등락률 색도 상승 초록 하락 빨강으로 다 바꿔」) */
  --down: #e5484d;   /* 하락 = 빨강 */
  --liq-long: #16a34a;   /* 롱 = 초록 (사장님 2026-10-13 「코인은 롱이 녹색 숏이 빨간색」) */
  --liq-short: #e5484d;  /* 숏 = 빨강 */
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 40, 28, .04), 0 8px 24px rgba(20, 40, 28, .05);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15px; line-height: 1.55; letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; color: inherit; }
.ic { flex: none; }
[hidden] { display: none !important; }

/* ── 상단 메뉴바 ── */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar-in { max-width: 1440px; margin: 0 auto; padding: 0 28px; height: 84px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; gap: 1px; }
.logo-text b { font-size: 27px; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.logo-text small { font-size: 16px; font-weight: 600; color: var(--gold); letter-spacing: 0; }
.nav { display: flex; align-items: stretch; height: 100%; gap: 6px; margin-left: 24px; }
.nav-item {
  display: flex; align-items: center; gap: 8px; padding: 0 16px; font-size: 17px; font-weight: 600; color: var(--ink-2);
  border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.nav-item .ic { width: 22px; height: 22px; }
.nav-item.blue .ic { color: var(--blue); }
.nav-item.ink .ic { color: var(--muted); }
.nav-item.gold .ic { color: var(--gold); }
.nav-item.gold.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-item.green .ic { color: var(--green); }
.nav-item.red .ic { color: var(--red); }
.nav-item:hover { color: var(--ink); background: var(--line-soft); }
.nav-item.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-item.green.active { color: var(--green); border-bottom-color: var(--green); }
.nav-item.red.active { color: var(--red); border-bottom-color: var(--red); }
.account { position: relative; flex: none; margin-left: auto; }
.acct-btn { list-style: none; height: 44px; color: var(--blue); background: var(--blue-soft); border-color: transparent; }
.acct-btn::-webkit-details-marker { display: none; }
.acct-btn span { font-size: 11px; }
.acct-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 170px; padding: 6px;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
  display: flex; flex-direction: column;
}
.acct-menu a, .acct-menu button {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; border: 0; background: none;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); cursor: pointer;
}
.acct-menu a:hover, .acct-menu button:hover { background: var(--line-soft); color: var(--ink); }
.acct-menu form { border-top: 1px solid var(--line-soft); margin-top: 4px; padding-top: 4px; }

/* ── 버튼·칩·배지 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; cursor: pointer;
}
.btn:hover { border-color: var(--line-strong); color: var(--ink); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); color: #fff; }
.btn-login { height: 46px; padding: 0 30px; font-size: 15px; }
.guest { display: flex; align-items: center; gap: 16px; flex: none; margin-left: auto; }
.signup-link { font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.form-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }
.form-foot a { color: var(--blue); font-weight: 600; }
.opt, .req { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 1px 6px; border-radius: 5px; margin-left: 4px; vertical-align: 1px; }
.opt { color: var(--muted); background: var(--surface-2); }
.req { color: var(--red); background: var(--red-soft); }
.privacy-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--ink-2); }
.privacy-box ul { margin: 6px 0 0; padding-left: 18px; }
.privacy-box li { margin: 2px 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.member-search { display: flex; gap: 8px; margin-bottom: 12px; }
.member-search input { flex: 1; }
.members { list-style: none; margin: 8px 0 0; padding: 0; }
.member { border-top: 1px solid var(--line-soft); padding: 12px 0; }
.member:first-child { border-top: 0; }
.member.is-off { opacity: .6; }
.member.is-saved { background: var(--green-soft); margin: 0 -12px; padding: 12px; border-radius: 10px; }
.member-form { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.m-who { display: flex; flex-direction: column; min-width: 0; }
.m-who b { font-size: 15px; }
.m-who span { font-size: 13px; color: var(--ink-2); }
.m-who small { font-size: 12.5px; color: var(--muted); }
.m-set { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.m-set .btn-xs { height: 32px; padding: 0 14px; margin: 0; font-size: 13px; }
.btn-ghost { background: transparent; }
.btn-danger { color: var(--red); }
.btn-warn { color: var(--amber); border-color: rgba(245, 165, 36, .4); background: var(--amber-soft); }
.btn-xs { height: 26px; padding: 0 8px; font-size: 12px; border-radius: 7px; margin-left: 6px; }
.btn-lg { height: 50px; padding: 0 32px; font-size: 16px; }
.btn[disabled] { opacity: .6; cursor: wait; }
form.inline { display: inline; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 36px; padding: 0 16px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center;
}
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.chip.big { height: 42px; min-width: 104px; justify-content: center; font-size: 15px; }
.board.green .chip.on { background: var(--green); border-color: var(--green); }
.board.red .chip.on { background: var(--red); border-color: var(--red); }

.badges { display: inline-flex; gap: 4px; flex: none; }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.b-notice { background: var(--blue-soft); color: var(--blue); }
.b-free { background: var(--violet-soft); color: var(--violet); }
.b-green { background: var(--green-soft); color: var(--green-d); }
.b-red { background: var(--red-soft); color: var(--red); }
.b-kind-new { background: var(--blue-soft); color: var(--blue); }
.b-kind-add { background: var(--violet-soft); color: var(--violet); }
.b-blind { background: var(--surface-2); color: var(--muted); }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.r-none { background: var(--line-soft); color: var(--ink-2); }
.r-tp { background: var(--green-soft); color: var(--green-d); }
.r-sl { background: var(--red-soft); color: var(--red); }
.board.red .r-none, .detail.red .r-none { background: var(--line-soft); color: var(--ink-2); }

.avatar {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex: none; font-weight: 800; color: #fff;
  background: hsl(var(--hue) 55% 45%);
}

/* ── 페이지 틀 ── */
body { min-height: 100vh; display: flex; flex-direction: column; }
.page { max-width: 1440px; width: 100%; margin: 0 auto; padding: 24px 28px 48px; flex: 1; }
.panel, .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel { padding: 22px 22px 18px; }
.card { padding: 22px 24px; }
.panel-head, .card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head h2, .card-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.card-head .meta, .meta { color: var(--muted); font-size: 14px; display: inline-flex; align-items: center; gap: 10px; }
.more { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font-size: 14px; }
.empty { color: var(--faint); padding: 18px 0; text-align: center; list-style: none; }
.hint { color: var(--muted); font-size: 13px; }
.feed-state { display: inline-block; font-size: 12px; margin-top: 8px; padding: 2px 8px; border-radius: 6px; }
.feed-state.stale { color: var(--amber); background: var(--amber-soft); }
.feed-state.none { color: var(--muted); background: var(--surface-2); }

/* ── 시세 줄 ── */
.ticker { display: flex; gap: 14px; align-items: stretch; margin-bottom: 22px; }
.ticks { flex: 1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.tick { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px; box-shadow: var(--shadow); min-width: 0; }
.tick-name { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.tick-price { font-size: clamp(16px, 1.32vw, 22px); font-weight: 800; letter-spacing: -0.035em; margin: 6px 0 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chg { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.chg.up { color: var(--up); }
.chg.down { color: var(--down); }
.chg.flat { color: var(--faint); }
.tick.is-stale .tick-price { color: var(--ink-2); }
.ticker-side { flex: none; width: 140px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; }
.ticker-side .btn { height: 46px; width: 100%; font-size: 15px; }
.provider { color: var(--muted); font-size: 12px; }
.ticker-side .provider { white-space: nowrap; text-align: right; }

/* ── 메인 3단 ── */
.home-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
/* 세 칸의 바닥선을 맞춘다: 칸마다 마지막 상자가 남은 높이를 채운다 */
.home-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.home-col > .panel:last-child { flex: 1 1 auto; }
.recent-panel { display: flex; flex-direction: column; }
.recent-panel .recent:not([hidden]) { flex: 1 1 auto; display: flex; flex-direction: column; }
.recent-panel .recent > li.empty { margin: auto 0; }
.yt-panel .yt-grid { row-gap: 16px; }
.side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.news .ic { color: var(--blue); }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--line-soft); }
.news-list li:first-child { border-top: 0; }
.news-title { font-size: 15.5px; font-weight: 500; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-list time { color: var(--muted); font-size: 13px; flex: none; padding-top: 2px; font-variant-numeric: tabular-nums; }
.news-list.wide li { justify-content: flex-start; }
.news-list.wide .news-title { display: block; -webkit-line-clamp: unset; }
.news-src { display: block; margin-top: 2px; font-size: 12.5px; color: var(--faint); font-weight: 500; }
.news-provider { margin: 10px 0 0; font-size: 12px; }
.news-list.wide time { width: 54px; }

.recent-panel .panel-head .ic { color: var(--blue); }
.recent-panel .chips { margin-bottom: 8px; }
.recent { list-style: none; margin: 0; padding: 0; }
.recent li a { display: flex; align-items: flex-start; gap: 14px; padding: 15px 2px; border-top: 1px solid var(--line-soft); }
.recent li:first-child a { border-top: 0; }
.recent .badges { min-width: 52px; padding-top: 1px; }
.rt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rt b { font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt small { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent time { color: var(--muted); font-size: 13px; flex: none; font-variant-numeric: tabular-nums; padding-top: 2px; }
.recent .is-hidden b { color: var(--muted); font-weight: 600; }

.channels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.ch { display: flex; align-items: center; gap: 10px; padding: 12px 10px; min-width: 0; border: 1px solid var(--line); border-radius: 12px; min-height: 66px; }
.ch:hover { border-color: var(--line-strong); color: var(--ink); background: var(--surface-2); }
.ch .ic:last-child { margin-left: auto; color: var(--faint); }
.ch.is-off { opacity: .55; cursor: not-allowed; }
.ch-mark { width: 42px; height: 42px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; }
.ch-mark.kakao { background: #fee500; color: #191919; font-size: 11px; letter-spacing: -0.02em; }
.ch-mark.insta { background: linear-gradient(135deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 85%, #4f5bd5); }
.ch-mark.tg { background: #2aabee; }
.ch-mark.yt { background: #ff0000; }
.ch-mark.yt .ic rect { fill: transparent; }
.ch-label { display: flex; flex-direction: column; font-size: 14px; font-weight: 700; line-height: 1.3; word-break: keep-all; letter-spacing: -0.03em; }
.ch-label small { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.tg-ic { color: #2aabee; display: inline-flex; }
.yt-ic { color: #ff0000; display: inline-flex; }
.tg-list { list-style: none; margin: 0; padding: 0; }
.tg-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-soft); }
.tg-list li:first-child { border-top: 0; }
.tg-list a { display: flex; flex-direction: column; min-width: 0; }
.tg-title { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg-sum { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg-list time { color: var(--muted); font-size: 13px; flex: none; }
.yt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.yt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.yt img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
.yt-title { font-size: 14.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt time { color: var(--muted); font-size: 12.5px; }

/* ── 추천게시판 ── */
.board-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 8px 0 22px; }
.board-hero h1 { margin: 0; font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; }
.board-hero p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }
.board-hero.green .g { color: var(--green); }
.board-hero.red .g { color: var(--red); }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.blind-note { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; background: var(--green-soft); color: var(--green-d); font-size: 14px; font-weight: 600; }
.board-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.board-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.board.green .card-head .ic, .detail.green .rationale .ic { color: var(--green); }
.board.red .card-head .ic, .detail.red .rationale .ic { color: var(--red); }

.latest-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 16px; }
.latest-coin {
  display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 12px; color: #fff;
  background: linear-gradient(160deg, #14532d, #0d3b21);
}
.latest.red .latest-coin { background: linear-gradient(160deg, #7f1d1d, #4c0f0f); }
.latest-coin:hover { color: #fff; }
.latest-coin .badge { background: rgba(255, 255, 255, .16); color: #fff; }
.coin-line { display: flex; align-items: center; gap: 12px; }
.coin-line b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; word-break: break-all; }
.latest-coin .go { margin-top: auto; font-size: 13px; opacity: .85; display: inline-flex; align-items: center; gap: 2px; }
.latest-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.price-grid { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.pc { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 14px 8px; border-left: 1px solid var(--line); min-width: 0; }
.pc:first-child { border-left: 0; }
.pc span { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.pc.tp span { color: var(--blue); }
.pc.sl span { color: var(--red); }
.pc b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; word-break: keep-all; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; line-height: 1.3; }
.pc b small { font-size: 14px; font-weight: 600; color: var(--muted); }
.pc.sl b { color: var(--red); }
.pct { font-size: 13px; font-weight: 600; }
.pct.up { color: var(--green); }
.pct.down { color: var(--red); }
.rationale { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.rationale h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 16px; }
.rationale ul { margin: 0; padding-left: 20px; }
.rationale li, .rationale p { margin: 3px 0; color: var(--ink-2); font-size: 14.5px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 600; color: var(--muted); background: var(--surface-2); padding: 11px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 10px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; vertical-align: middle; }
td.coin a, td.coin { display: flex; align-items: center; gap: 8px; }
.rec-table { font-size: 13.5px; }
.rec-table th, .rec-table td { padding-left: 7px; padding-right: 7px; }
.rec-table td.coin b { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
td.res { text-align: center; }
.rec-table th { white-space: normal; }
.rec-table td.wrap { white-space: normal; max-width: 160px; }
td.res form { display: block; margin-top: 4px; }
td.res .btn-xs { margin: 0; }
td.sum { max-width: 150px; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
td.title { white-space: normal; font-weight: 600; width: 100%; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.is-hidden td { color: var(--muted); }
tr.is-hidden a { display: inline-flex; align-items: center; gap: 6px; }
tr.admin-blinded td { background: var(--surface-2); }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.pager a, .pager span { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--line); font-size: 14px; }
.pager .on { background: var(--blue); color: #fff; border-color: var(--blue); }

.guide { list-style: none; margin: 0; padding: 0; }
.guide li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.guide li:first-child { border-top: 0; }
.guide .num { width: 30px; height: 30px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; background: var(--green-soft); color: var(--green-d); }
.board.red .guide .num { background: var(--red-soft); color: var(--red); }
.guide p { margin: 3px 0 0; color: var(--ink-2); font-size: 14.5px; }
.side-recs { list-style: none; margin: 0; padding: 0; }
.side-recs a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.side-recs a .avatar { grid-row: span 2; }
.side-recs li:first-child a { border-top: 0; }
.sr-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.sr-top b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-top time { flex: none; color: var(--faint); font-size: 12.5px; }
.sr-meta { display: flex; align-items: center; gap: 4px; min-width: 0; }
.sr-meta .badge { height: 21px; padding: 0 7px; font-size: 11.5px; flex: none; }
.sr-meta .sum { flex: 1; min-width: 0; margin-left: 4px; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── 상세 ── */
.detail { max-width: 980px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.crumbs { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.detail-head { margin-bottom: 18px; }
.detail-title { display: flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 6px; }
.detail .card > * + * { margin-top: 16px; }
.post-body { font-size: 16px; line-height: 1.8; color: var(--ink-2); white-space: normal; word-break: break-word; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.notice-box { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); }
.notice-box p { margin: 4px 0 0; color: var(--muted); }
.notice-box a { color: var(--blue); font-weight: 600; }
.admin-panel { border-color: #f2d9a6; background: #fffcf4; }
.admin-panel h2 { margin: 0 0 6px; font-size: 16px; color: var(--amber); }
.admin-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
select { height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: var(--surface-2); margin-left: 6px; }

/* ── 폼 ── */
.form-page { max-width: 820px; margin: 0 auto; }
.form-page.narrow { max-width: 440px; }
.form-page h1 { font-size: 28px; margin: 8px 0 18px; letter-spacing: -0.03em; }
.rec-form, .post-form { display: flex; flex-direction: column; gap: 16px; }
.row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: start; border: 0; margin: 0; padding: 0; }
.row > span, .row > legend { font-weight: 700; padding-top: 10px; font-size: 15px; }
fieldset.row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
fieldset.row legend { float: left; width: 110px; padding: 0; margin-right: 2px; }
.post-form .row { grid-template-columns: 1fr; gap: 6px; }
.post-form .row > span { padding-top: 0; }
input:not([type=checkbox]):not([type=radio]), textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--surface-2); font-size: 15px;
}
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
textarea { resize: vertical; line-height: 1.6; }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.check.green input { accent-color: var(--green); }
.check.red input { accent-color: var(--red); }
.check.warn { font-weight: 500; color: var(--amber); align-items: flex-start; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.sub { display: flex; align-items: center; gap: 10px; }
.sub em { font-style: normal; width: 34px; color: var(--muted); font-weight: 600; }
.msg-preview { margin: 0; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 14px; white-space: pre-wrap; word-break: break-word; min-height: 80px; }
.ok-box { background: var(--green-soft); color: var(--green-d); border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; font-weight: 600; }
.form-sub { font-size: 17px; margin: 0 0 4px; }
.status-list { list-style: none; margin: 8px 0 0; padding: 0; }
.status-list li { display: flex; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.status-list li:first-child { border-top: 0; }
.status-list b { width: 130px; flex: none; }
.status-list span { color: var(--ink-2); word-break: break-all; }
.errors { background: var(--red-soft); color: #ff8a8f; border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; }
.errors p { margin: 2px 0; }
.msg-card h1 { font-size: 22px; margin: 0 0 8px; }
.msg-card p { color: var(--ink-2); }

/* ── 바닥글 ── */
.footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-in { max-width: 1440px; margin: 0 auto; padding: 22px 28px; display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.footer-logo b { font-size: 20px; color: var(--ink); font-weight: 800; letter-spacing: -0.03em; }
.footer-logo small { color: var(--gold); font-weight: 600; font-size: 14px; }
.footer-copy { margin-left: auto; }

/* ── 좁은 화면 ── */
@media (max-width: 1280px) {
  .ticks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .home-grid .col-right { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
  .home-grid .col-right > .panel { flex: 1 1 0; }
  .board-grid { grid-template-columns: minmax(0, 1fr); }
  .board-grid .side { display: grid; grid-template-columns: 1fr 1fr; }
}
/* 메뉴가 8칸이라 1500px 아래 PC 는 [로고 · 계정] / [메뉴] 두 줄 */
@media (min-width: 1500px) and (max-width: 1700px) {
  .nav { margin-left: 8px; gap: 0; }
  .nav-item { padding: 0 12px; font-size: 16px; }
}
@media (min-width: 961px) and (max-width: 1499px) {
  .topbar-in {
    height: auto; padding: 0 24px; column-gap: 16px;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo acct" "nav nav";
  }
  .logo { grid-area: logo; height: 66px; }
  .account, .guest { grid-area: acct; }
  .nav { grid-area: nav; margin: 0 -24px; padding: 0 12px; height: 52px; gap: 0; border-top: 1px solid var(--line-soft); justify-content: space-between; }
  .nav-item { padding: 0 12px; font-size: 15.5px; }
}

/* ── 태블릿·휴대폰 ── */
@media (max-width: 960px) {
  body { font-size: 14.5px; }
  /* 상단: [로고 · 계정] / [검색] / [메뉴 5칸]. 고정하지 않아 본문을 가리지 않는다 */
  .topbar { position: static; }
  .topbar-in {
    height: auto; padding: 10px 16px 0; gap: 10px 12px;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo acct" "nav nav";
  }
  .logo { grid-area: logo; gap: 8px; }
  .logo svg { width: 34px; height: 34px; }
  .logo-text b { font-size: 22px; }
  .logo-text small { font-size: 13px; }
  .account, .guest { grid-area: acct; justify-self: end; }
  .guest { gap: 12px; }
  .signup-link { font-size: 13.5px; }
  .btn-login, .acct-btn { height: 38px; padding: 0 16px; font-size: 14px; }
  .nav {
    grid-area: nav; margin: 0 -16px; height: auto; gap: 0; border-top: 1px solid var(--line-soft);
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .nav-item {
    flex-direction: column; justify-content: center; gap: 3px; padding: 9px 2px 8px; font-size: 12.5px; font-weight: 600;
    letter-spacing: -0.04em; text-align: center; min-width: 0;
  }
  .nav-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .nav-item .ic { width: 21px; height: 21px; }
  .nav-item:hover { background: none; }

  .page { padding: 14px 14px 36px; }
  .panel, .card { padding: 16px; border-radius: 12px; }
  .panel-head h2, .card-head h2 { font-size: 18px; gap: 8px; }
  .panel-head, .card-head { margin-bottom: 10px; flex-wrap: wrap; }

  /* 시세: 가로로 밀어 보는 한 줄 */
  .ticker { flex-direction: column; gap: 8px; margin: 0 -14px 16px; }
  .ticks {
    display: flex; gap: 8px; overflow-x: auto; padding: 2px 14px 6px; scroll-snap-type: x proximity; scroll-padding-inline: 14px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .ticks::-webkit-scrollbar { display: none; }
  .tick { flex: none; width: 156px; padding: 11px 12px; scroll-snap-align: start; }
  .tick-name { font-size: 13px; }
  .tick-name .avatar { width: 22px !important; height: 22px !important; font-size: 11px !important; }
  .tick-price { font-size: 18px; }
  .chg { font-size: 12px; }
  .ticker-side { width: auto; flex-direction: row; align-items: center; justify-content: space-between; padding: 0 14px; flex-wrap: wrap; }
  .ticker-side .btn { width: auto; height: 36px; font-size: 13.5px; order: 2; }
  .ticker-side .provider { order: 1; }
  .ticker-side .feed-state { order: 3; width: 100%; margin-top: 0; }

  .board-grid .side { grid-template-columns: minmax(0, 1fr); display: grid; gap: 14px; }
  /* 휴대폰: 칸을 풀고 속보 → 최근 게시글 → 공식채널 → 텔레그램 → 유튜브 순 */
  .home-grid { display: flex; flex-direction: column; gap: 14px; }
  .home-col { display: contents; }
  .home-grid .news { order: 1; } .home-grid .recent-panel { order: 2; } .home-grid .ch-panel { order: 3; } .home-grid .tg-panel { order: 4; } .home-grid .yt-panel { order: 5; }
  .news-list li { padding: 11px 0; }
  .news-title { font-size: 15px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .recent li a { gap: 10px; padding: 13px 0; }
  .recent .badges { min-width: 0; flex-direction: column; align-items: flex-start; }
  .rt b { font-size: 15px; }
  .ch { min-height: 58px; padding: 10px 8px; gap: 8px; }
  .ch-mark { width: 36px; height: 36px; border-radius: 10px; }
  .ch-label { font-size: 13px; }
  .ch .ic:last-child { display: none; }

  /* 게시판 */
  .board-top { flex-direction: column; align-items: stretch; margin: 4px 0 14px; gap: 12px; }
  .board-top .btn { align-self: flex-start; }
  .board-hero h1 { font-size: 28px; }
  .board-hero p { font-size: 14px; }
  .filter-row { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 14px; }
  .chip.big { min-width: 0; height: 38px; padding: 0 16px; font-size: 14px; }
  .filter-row .chips { margin: 0 -14px; padding: 0 14px 2px; }

  /* 긴 제목은 잘라 겹치게 두지 말고 두 줄까지 감는다 */
  .rt b, .tg-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-all; line-height: 1.4; }
  .recent time, .tg-list time { padding-left: 4px; }
  .blind-note { height: auto; padding: 9px 12px; font-size: 13px; align-items: flex-start; line-height: 1.4; }
  .board-main { gap: 14px; }
  .latest-body { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .latest-coin { padding: 16px; gap: 10px; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .latest-coin .coin-line { flex: 1 1 100%; order: 2; }
  .latest-coin .coin-line b { font-size: 22px; }
  .latest-coin .go { margin: 0 0 0 auto; order: 1; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc { border-left: 0; border-top: 1px solid var(--line); padding: 11px 6px; }
  .pc:nth-child(-n + 2) { border-top: 0; }
  .pc:nth-child(2n) { border-left: 1px solid var(--line); }
  .pc b { font-size: 17px; }
  .rationale { padding: 12px 14px; }

  /* 상세 */
  .detail { gap: 12px; }
  .detail-title { font-size: 22px; line-height: 1.3; flex-wrap: wrap; gap: 8px; }
  .detail .card > * + * { margin-top: 12px; }
  .post-body { font-size: 15px; }
  .admin-row { gap: 8px; }
  .talk-row { padding: 8px 0; border-top: 1px solid var(--line-soft); }

  /* 폼 */
  .form-page h1 { font-size: 24px; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .row > span { padding-top: 0; }
  fieldset.row legend { float: none; width: 100%; margin-bottom: 2px; }
  .btn-lg { width: 100%; }
  .status-list li { flex-direction: column; gap: 2px; }

  .footer-in { padding: 18px 16px; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 13px; }
  .footer-copy { margin-left: 0; }
}

/* ── 휴대폰: 표를 카드로 ── */
@media (max-width: 760px) {
  .table-wrap { overflow: visible; }
  .rec-table thead, .post-table thead, .rec-table td.no, .post-table td.no { display: none; }
  .rec-table, .rec-table tbody, .post-table, .post-table tbody { display: block; }

  .rec-table tr {
    display: grid; grid-template-columns: minmax(0, max-content) 1fr auto; gap: 4px 8px; align-items: center;
    padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  }
  .rec-table td { display: block; padding: 0; border: 0; white-space: normal; max-width: none; background: none !important; }
  .rec-table td.coin { grid-column: 1; grid-row: 1; display: flex; min-width: 0; }
  .rec-table td.coin a { min-width: 0; }
  .rec-table td.coin b { max-width: none; font-size: 15px; line-height: 1.35; }
  .rec-table td.kind { grid-column: 2; grid-row: 1; justify-self: start; }
  .rec-table td.res { grid-column: 3; grid-row: 1; text-align: right; }
  .rec-table tr.admin-blinded { background: var(--surface-2); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .rec-table td[data-label] { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-2); display: flex; gap: 8px; }
  .rec-table td[data-label]::before { content: attr(data-label); flex: none; width: 64px; color: var(--muted); }
  .rec-table td.wrap { max-width: none; }
  .rec-table td.sum { grid-column: 1 / -1; font-size: 13px; color: var(--muted); max-width: none; overflow: hidden; }
  .rec-table td.sum a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rec-table td.date { grid-column: 1 / -1; font-size: 12.5px; color: var(--faint); }
  .rec-table tr.is-hidden td.hidden-title { grid-column: 1 / -1; }
  .rec-table td.empty { grid-column: 1 / -1; }
  td.res form { display: block; margin: 4px 0 0; }

  .post-table tr { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .post-table td { display: block; padding: 0; border: 0; white-space: normal; }
  .post-table td.date { font-size: 12.5px; color: var(--faint); }

  .quote-table th, .quote-table td { padding: 10px 6px; font-size: 13.5px; }
  .quote-table td.coin small { display: none; }
  .quote-table .chg { white-space: normal; }
}


/* ══ 이슈코인 추가 (2026-10-11) ══ */
body { background: var(--bg); }
.topbar { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: #c08805; color: #fff; }
.hint { color: var(--muted); font-size: 13px; }
.src-line { color: var(--muted); font-size: 12.5px; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.src-line .feed-state { margin-top: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.na { color: var(--faint); font-size: 12.5px; }
.chg { white-space: nowrap; }
.chg.up { color: var(--up); } .chg.down { color: var(--down); } .chg.flat { color: var(--muted); }

/* 보조자료 머리 · 하위 메뉴 */
.board-hero h1 .sub { color: var(--muted); font-weight: 700; font-size: .6em; margin-left: 6px; letter-spacing: -0.02em; }
.sub-nav { margin: 18px 0 10px; }
.sub-nav .chip, .coin-chips .chip { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; font-size: 14.5px; }
.coin-chips { margin: 0 0 14px; }
.aux .card + .card, .market .card + .card, .aux-grid + .card, .card + .aux-grid { margin-top: 16px; }
.aux-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.aux-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
.aux-grid.wide-left { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }

/* 공통 자료 표 */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; }
.data-table th.num { text-align: right; }
.data-table td { padding: 11px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.data-table td.coin { white-space: nowrap; }
.data-table td.coin > .avatar, .data-table td.coin > .cn, .data-table td.coin > b { vertical-align: middle; }
.data-table td.coin > .avatar { margin-right: 8px; }
.data-table td.coin > .cn { display: inline-flex; }
.data-table td.no { color: var(--muted); width: 36px; }
.data-table .cn { display: flex; flex-direction: column; line-height: 1.25; }
.data-table .cn small { color: var(--muted); font-size: 12px; }
.kimp-table td.kimp .chg { font-weight: 800; font-size: 15px; }
.addr { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.addr:hover { color: var(--blue); }
.side { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 700; }
.side.long { color: var(--green); background: var(--green-soft); }
.side.short { color: var(--red); background: var(--red-soft); }

/* 고래: 코인별 롱·숏 막대 */
.bias { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bias li { display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: "coin bar" "coin num"; gap: 4px 12px; align-items: center; }
.bias-coin { grid-area: coin; display: flex; align-items: center; gap: 8px; }
.bias-bar { grid-area: bar; display: flex; height: 10px; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.bias-bar i { display: block; height: 100%; }
.bias-bar i.l, .bias-num em.l::before { background: var(--green); }
.bias-bar i.s, .bias-num em.s::before { background: var(--red); }
.bias-num { grid-area: num; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.bias-num em { font-style: normal; display: inline-flex; align-items: center; gap: 5px; }
.bias-num em::before { content: ""; width: 8px; height: 8px; border-radius: 2px; }

/* 알림 목록(고래·급등락·크립토퀀트) */
.ev-list, .mv-alerts, .cq-list, .mv-list, .liq-big { list-style: none; margin: 0; padding: 0; }
.ev-list li, .mv-alerts li { display: grid; grid-template-columns: 48px auto minmax(0, 1fr); gap: 4px 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.ev-list time, .mv-alerts time, .cq-list time, .liq-big time { color: var(--faint); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ev-type { font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.ev-type.t-open { color: var(--gold); background: var(--gold-soft); }
.ev-type.t-close { color: var(--muted); }
.ev-type.t-flip { color: var(--violet); background: var(--violet-soft); }
.ev-body { min-width: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.ev-body small { color: var(--muted); }
.mv-alerts li { grid-template-columns: 48px minmax(0, 1fr) auto; }
.mv-alerts .mv-what { text-align: right; white-space: nowrap; font-size: 13px; }
.mv-alerts .num { grid-column: 2 / -1; color: var(--muted); font-size: 12.5px; text-align: left; }
.mv-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.mv-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mv-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mv-name small { color: var(--muted); font-size: 12px; }
.mv-list .num { font-size: 13.5px; color: var(--ink-2); }
.up-ic { color: var(--up); font-size: 16px; } .down-ic { color: var(--down); font-size: 16px; }
.cq-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.cq-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cq-body b { font-size: 15px; word-break: break-word; }
.cq-body span { color: var(--muted); font-size: 13px; word-break: break-word; }
.cq-ko { font-style: normal; font-size: 12px; font-weight: 700; color: var(--gold); }

/* 미결제 약정 카드 */
.oi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.oi-card { display: flex; flex-direction: column; gap: 6px; }
.oi-head { display: flex; align-items: center; gap: 8px; }
.oi-head b { font-size: 18px; }
.oi-head small { color: var(--muted); font-size: 12px; margin-left: auto; }
.oi-val { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.oi-sub { color: var(--muted); font-size: 13px; }
.oi-chg, .stat-row, .liq-total { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0; }
.oi-chg div, .stat-row div, .liq-total div { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; min-width: 0; }
.oi-chg dt, .stat-row dt, .liq-total dt { color: var(--muted); font-size: 12px; }
.oi-chg dd, .stat-row dd, .liq-total dd { margin: 2px 0 0; font-weight: 700; font-size: 14px; word-break: keep-all; }

/* 선 그래프 */
.chart { display: block; width: 100%; height: 140px; margin-top: 4px; }
.oi-card .chart { height: 90px; }
.chart-line { fill: none; stroke: var(--blue); stroke-width: 2; }
.chart-area { fill: var(--blue-soft); }
.chart.alt .chart-line { stroke: var(--gold); }
.chart.alt .chart-area { fill: var(--gold-soft); }
.chart-cap { color: var(--faint); font-size: 12px; margin: 0; }
.compare-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.compare-grid > .card:first-child { grid-column: 1 / -1; }
.compare-grid .card > .empty { padding: 8px 0; text-align: left; }

/* 청산맵 */
.liq-total { margin: 0 0 16px; }
.liq-total .l dd { color: var(--liq-long); } .liq-total .s dd { color: var(--liq-short); }
.liq-total dd { font-size: 18px; }
.legend { gap: 12px; }
.legend em { font-style: normal; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; }
.legend em::before, .lv-num em::before { content: ""; width: 9px; height: 9px; border-radius: 2px; }
.legend em.l::before, .lv-num em.l::before { background: var(--liq-long); }
.legend em.s::before, .lv-num em.s::before { background: var(--liq-short); }
.liq-map { list-style: none; margin: 0; padding: 0; }
.liq-map li { display: grid; grid-template-columns: 92px minmax(0, 1fr) minmax(0, 1fr) 150px; gap: 8px; align-items: center; padding: 3px 0; font-size: 12.5px; }
.liq-map li.here { background: var(--surface-2); border-radius: 8px; outline: 1px dashed var(--line-strong); }
.lv-price { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.lv-price em { font-style: normal; color: var(--gold); font-size: 11px; font-weight: 700; }
.lv-bar { height: 14px; display: flex; }
.lv-bar.s { justify-content: flex-end; }
.lv-bar i { display: block; height: 100%; border-radius: 3px; min-width: 0; }
.lv-bar.s i { background: var(--liq-short); }
.lv-bar.l i { background: var(--liq-long); }
.lv-num { display: flex; flex-direction: column; gap: 1px; color: var(--ink-2); }
.lv-num em { font-style: normal; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.liq-big li { display: grid; grid-template-columns: 80px auto minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.liq-big .side.long { color: var(--green-d); background: var(--green-soft); }
.liq-big .side.short { color: var(--red); background: var(--red-soft); }

/* 수익 마감 갤러리 */
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 18px; }
.g-card {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius);
  background: linear-gradient(160deg, #fff8e6, var(--surface) 55%); border: 1px solid #f1dfae; box-shadow: var(--shadow);
}
.g-card:hover { border-color: var(--gold); color: var(--ink); }
.g-stamp {
  align-self: flex-start; padding: 3px 10px; border: 2px solid var(--gold); border-radius: 8px; color: var(--gold);
  font-weight: 800; font-size: 13px; letter-spacing: .04em; transform: rotate(-4deg);
}
.g-stamp.big { font-size: 16px; padding: 4px 14px; }
.g-top { display: flex; gap: 6px; flex-wrap: wrap; }
.g-coin { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; word-break: break-word; }
.g-pct { font-size: 34px; font-weight: 900; color: var(--up); letter-spacing: -0.03em; line-height: 1.1; }
.g-line { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; border-top: 1px solid var(--line-soft); padding-top: 7px; }
.g-line small { color: var(--muted); font-size: 12.5px; flex: none; }
.g-foot { display: flex; justify-content: space-between; gap: 6px; flex-wrap: wrap; color: var(--faint); font-size: 12px; margin-top: 2px; }
.cert { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; border-color: rgba(245, 184, 46, .35);
  background: linear-gradient(160deg, #fff8e6, var(--surface) 60%); }
.cert-badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
.cert-title { margin: 0; font-size: 30px; letter-spacing: -0.03em; line-height: 1.25; word-break: break-word; }
.cert-pct { margin: 0; font-size: 56px; font-weight: 900; color: var(--up); letter-spacing: -0.04em; line-height: 1; }
.cert-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0; }
.cert-grid div { background: var(--surface-2); border-radius: 10px; padding: 10px 14px; min-width: 0; }
.cert-grid dt { color: var(--muted); font-size: 12.5px; }
.cert-grid dd { margin: 3px 0 0; font-weight: 700; word-break: break-word; }
.gallery-on { color: var(--gold); }
.close-row select { max-width: 100%; }

@media (max-width: 1280px) {
  .aux-grid.three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .aux-grid.three > .card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .board-hero h1 .sub { display: block; margin: 4px 0 0; font-size: 18px; }
  .sub-nav, .coin-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -14px; margin-right: -14px; padding: 0 14px 2px; }
  .sub-nav::-webkit-scrollbar, .coin-chips::-webkit-scrollbar { display: none; }
  .sub-nav .chip, .coin-chips .chip { flex: none; height: 36px; padding: 0 13px; font-size: 13.5px; }
  .aux-grid, .aux-grid.three, .aux-grid.wide-left, .compare-grid { grid-template-columns: minmax(0, 1fr); }
  .aux-grid.three > .card:last-child { grid-column: auto; }
  .oi-val { font-size: 22px; }
  .cert-title { font-size: 22px; }
  .cert-pct { font-size: 44px; }
  .liq-map li { grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr) 104px; gap: 6px; font-size: 11.5px; }
  .liq-big li { grid-template-columns: 70px auto minmax(0, 1fr); }
  .liq-big li b { grid-column: 3; justify-self: end; }
  .liq-big li .num:not(b) { display: none; }
}
@media (max-width: 760px) {
  /* 자료 표: 휴대폰에서는 카드 줄로 */
  .data-table thead { display: none; }
  .data-table, .data-table tbody { display: block; }
  .data-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
  .data-table td { display: block; padding: 0; border: 0; text-align: left; }
  .data-table td.num { text-align: right; }
  .data-table td.empty { grid-column: 1 / -1; text-align: center; }
  .kimp-table tr { grid-template-columns: 24px minmax(0, 1fr) auto auto; align-items: center; }
  .kimp-table td.no { width: auto; }
  .data-table td.coin { white-space: normal; min-width: 0; }
  .data-table .cn { min-width: 0; }
  .data-table .cn b { overflow-wrap: anywhere; line-height: 1.3; }
  .kimp-table td:nth-child(3), .kimp-table td:nth-child(4) { font-size: 12.5px; }
  .kimp-table td:nth-child(4) { display: none; }
  .whale-table tr { grid-template-columns: minmax(0, 1fr) auto auto; }
  .whale-table td:nth-child(n+4) { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); text-align: left; }
  .whale-table td:nth-child(4)::before { content: "진입가"; color: var(--muted); }
  .whale-table td:nth-child(5)::before { content: "청산가"; color: var(--muted); }
  .whale-table td:nth-child(6)::before { content: "미실현 손익"; color: var(--muted); }
  .whale-table td:nth-child(7)::before { content: "레버리지"; color: var(--muted); }
  .whale-table td:nth-child(8)::before { content: "고래"; color: var(--muted); }
  .whale-table td:nth-child(8) { align-items: center; }
  .cert-grid { grid-template-columns: minmax(0, 1fr); }
  .g-grid { grid-template-columns: minmax(0, 1fr); }
  .oi-chg dd, .stat-row dd { font-size: 13px; }
}

/* ── 고래 이름·픽셀 캐릭터 (2026-10-11) ── */
.px-whale { display: block; flex: none; image-rendering: pixelated; }
.who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.who-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.who-name b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.dex { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.dex-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px 12px; text-align: center;
  background: linear-gradient(180deg, #f1f9f4, var(--surface)); border: 1px solid var(--line); border-radius: 14px; min-width: 0;
}
.dex-card:nth-child(-n+3) { border-color: rgba(245, 184, 46, .45); }
.dex-rank { position: absolute; top: 8px; left: 10px; font-size: 12px; font-weight: 800; color: var(--muted); }
.dex-card:nth-child(-n+3) .dex-rank { color: var(--gold); }
.dex-px { padding: 6px 0 2px; }
.dex-name { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dex-val { font-size: 12.5px; color: var(--ink-2); }
.dex-pos { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 8px; font-size: 12px; }
.dex-pos em { font-style: normal; }
.dex-pos em.l { color: var(--green); } .dex-pos em.s { color: var(--red); }
.dex-top { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.ev-body .px-whale { align-self: center; }
.ev-who { color: var(--ink-2); font-weight: 600; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg-src { font-style: normal; font-size: 11.5px; color: var(--faint); }
.sec-title { font-size: 17px; margin: 22px 0 10px; color: var(--ink-2); letter-spacing: -0.02em; }

/* 예상 청산 히트맵: 위 숏 · 현재가 · 아래 롱 */
.stat-row.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hm-map { list-style: none; margin: 8px 0 0; padding: 0; }
.hm-map li { display: grid; grid-template-columns: 110px minmax(0, 1fr) 132px; gap: 10px; align-items: center; padding: 4px 0; font-size: 13px; }
.hm-map .lv-price em { color: var(--muted); font-weight: 500; }
.hm-bar { height: 16px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.hm-bar i { display: block; height: 100%; border-radius: 4px; }
.hm-map li.short .hm-bar i { background: linear-gradient(90deg, rgba(229, 72, 77, .4), var(--liq-short)); }
.hm-map li.long .hm-bar i { background: linear-gradient(90deg, rgba(22, 163, 74, .4), var(--liq-long)); }
.hm-map .lv-num small { color: var(--faint); font-size: 11.5px; }
.hm-map li.spot { grid-template-columns: 110px minmax(0, 1fr); margin: 4px 0; }
.hm-map li.spot .lv-price { color: var(--gold); font-weight: 800; }
.spot-line { border-top: 2px dashed var(--gold); color: var(--gold); font-size: 12px; font-weight: 700; padding-top: 2px; text-align: right; }

@media (max-width: 960px) {
  .stat-row.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-map li { grid-template-columns: 84px minmax(0, 1fr) 96px; gap: 6px; font-size: 12px; }
  .hm-map li.spot { grid-template-columns: 84px minmax(0, 1fr); }
  .dex { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 760px) {
  .cash-table tr { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
  .cash-table td:nth-child(n+4) { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); }
  .cash-table td:nth-child(4)::before { content: "스테이블코인"; color: var(--muted); }
  .cash-table td:nth-child(5)::before { content: "전체(자체코인 제외)"; color: var(--muted); }
  .whale-table .who-name b { max-width: 150px; }
}
.nm-kind { font-size: 10.5px; font-weight: 700; color: var(--faint); letter-spacing: 0; }
.nm-kind.k-owner { color: var(--gold); }
.nm-kind.k-alias { color: var(--violet); }

/* ── 청산 히트맵 그래프(노란 단무지) · 미결제 약정 거래소별 (2026-10-11) ── */
.hc { margin-top: 12px; }
.hc-main { display: grid; grid-template-columns: 62px minmax(0, 1fr) 84px; gap: 0 6px; }
.hc-y { grid-column: 1; grid-row: 1; position: relative; }
.hc-plot { grid-column: 2; grid-row: 1; position: relative; height: 380px; border-radius: 10px; overflow: hidden; }
.hc-side { grid-column: 3; grid-row: 1; position: relative; height: 380px; border-radius: 8px; overflow: hidden; }
.hc-plot svg, .hc-side svg { display: block; width: 100%; height: 100%; }
.hc-price { fill: none; stroke: #f4f4f5; stroke-width: 1.6; opacity: .92; }
.hc-spot { stroke: var(--gold); stroke-width: 1; stroke-dasharray: 5 4; }
.hc-y span { position: absolute; right: 0; transform: translateY(-50%); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hc-y span:first-child { transform: none; }
.hc-y span:last-child { transform: translateY(-100%); }
.hc-now { position: absolute; right: 6px; transform: translateY(-50%); background: #fde725; color: #1b1404; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.hc-tag { position: absolute; right: 3px; transform: translateY(-50%); font-size: 10.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px #000; white-space: nowrap; }
.hc-x { position: relative; height: 18px; margin: 4px 90px 0 68px; }
.hc-x span { position: absolute; transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap; }
.hc-x span:first-child { transform: none; }
.hc-x span:last-child { transform: translateX(-100%); }
.hc-legend { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: 12px; color: var(--muted); }
.hc-legend i { display: block; width: 140px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #2d0f4f, #3b4b8c, #1f9e89, #6ece58, #fde725); }
.hc-legend small { color: var(--faint); flex-basis: 100%; }
.hc.small .hc-plot, .hc.small .hc-side { height: 220px; }
.oi-ex { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; font-size: 12.5px; }
.oi-ex li { display: flex; justify-content: space-between; gap: 6px; color: var(--muted); }
.oi-ex b { color: var(--ink-2); font-weight: 600; }
@media (max-width: 760px) {
  .hc-main { grid-template-columns: 50px minmax(0, 1fr) 56px; gap: 0 4px; }
  .hc-plot, .hc-side { height: 280px; }
  .hc.small .hc-plot, .hc.small .hc-side { height: 200px; }
  .hc-x { margin: 4px 60px 0 54px; }
  .hc-x span:nth-child(even) { display: none; }
  .hc-y span, .hc-x span { font-size: 10px; }
  .hc-tag { font-size: 9.5px; }
}

/* ── 메인: 시세·김프 / 보조자료 / 수익 갤러리 묶음 (2026-10-11) ── */
.dash { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.dash-row { display: grid; gap: 16px; align-items: stretch; }
.dash-row.two { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.dash-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dash-row > .panel { min-width: 0; }
.dash-title { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.dash-title .more { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 2px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mini-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12.5px; padding: 6px; border-bottom: 1px solid var(--line); }
.mini-table th.num { text-align: right; }
.mini-table td { padding: 7px 6px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.mini-table .coin-in { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mini-table .cn { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.mini-table .cn b { overflow-wrap: anywhere; }
.mini-table .cn small { color: var(--muted); font-size: 11.5px; }
.mini-table td.kimp .chg { font-weight: 800; }
.mini-h { display: flex; align-items: center; gap: 6px; margin: 12px 0 6px; font-size: 13.5px; color: var(--ink-2); }
.mini-h.up { color: var(--up); } .mini-h.down { color: var(--down); }
.mv-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.mv-two .mini-h { margin-top: 0; }
.mv-mini, .mv-alert-mini, .dw-list { list-style: none; margin: 0; padding: 0; }
.mv-mini li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.mv-alert-mini li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; font-size: 13px; }
.mv-alert-mini time { color: var(--faint); font-size: 12px; }
.mv-alert-mini b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty.sm { padding: 8px 0; font-size: 13px; }
.dw-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-areas: "px name" "px pos"; gap: 0 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.dw-list .px-whale { grid-area: px; }
.dw-name { grid-area: name; display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.dw-name b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-pos { grid-area: pos; display: flex; gap: 10px; flex-wrap: wrap; font-size: 12.5px; }
.dw-pos em { font-style: normal; } .dw-pos em.l { color: var(--green); } .dw-pos em.s { color: var(--red); }
.ev-list.mini li { padding: 8px 0; font-size: 13px; }
.oi-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.oi-mini { background: var(--surface-2); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.oi-mini .oi-val { font-size: 20px; }
.oi-mini .oi-chg { grid-template-columns: 1fr 1fr; margin: 4px 0; }
.oi-mini .oi-chg div { background: var(--surface); padding: 6px 8px; }
.oi-mini .chart { height: 56px; }
.cash-big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cash-big b { font-size: 34px; font-weight: 900; letter-spacing: -0.03em; }
.cash-big small { color: var(--muted); font-size: 12px; }
.cash-big + .chart { height: 90px; }
.cq-list.mini li { grid-template-columns: 46px minmax(0, 1fr); padding: 9px 0; }
.cq-list.mini .cq-body b { font-size: 13.5px; }
.cq-list.mini .cq-body span { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dash-g { margin-top: 0; }
.dash .hc { margin-top: 4px; }
@media (max-width: 1280px) {
  .dash-row.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .dash-row.two, .dash-row.three { grid-template-columns: minmax(0, 1fr); }
  .dash { gap: 14px; margin-top: 14px; }
  .dash-title { font-size: 19px; }
}
@media (max-width: 480px) {
  .mini-table .hide-s { display: none; }
  .mini-table td, .mini-table th { padding: 7px 4px; }
  .cash-big b { font-size: 28px; }
}
.mv-alert-mini li > span { white-space: nowrap; font-size: 12.5px; }

/* ── 보조지표 바로가기 띠 (2026-10-12) ── */
.subbar { border-top: 1px solid var(--line-soft); background: var(--brand-tint); }
.subbar-in { max-width: 1440px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 14px; height: 46px; }
.sb-label { flex: none; font-size: 12.5px; font-weight: 800; color: var(--gold); letter-spacing: -0.01em; }
.sb-scroll { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; height: 100%; align-items: stretch; }
.sb-scroll::-webkit-scrollbar { display: none; }
.sb-item { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.sb-item .ic { color: var(--muted); }
.sb-item:hover { color: var(--ink); background: var(--surface-2); }
.sb-item.on { color: var(--gold); border-bottom-color: var(--gold); }
.sb-item.on .ic { color: var(--gold); }
@media (min-width: 961px) and (max-width: 1499px) {
  .subbar-in { padding: 0 24px; }
}
@media (max-width: 960px) {
  .subbar-in { padding: 0 0 0 14px; gap: 10px; height: 42px; }
  .sb-label { font-size: 11.5px; }
  .sb-scroll { padding-right: 14px; }
  .sb-item { padding: 0 10px; font-size: 13px; }
}


/* ══════ 사장님 시안 컨셉 (2026-10-12) — 아래 규칙이 위를 덮는다 ══════ */
body { color: var(--ink); }
a:hover { color: var(--blue-d); }
.panel, .card { border-radius: var(--radius); border-color: var(--line); box-shadow: var(--shadow); }
.panel-head h2, .card-head h2 { color: var(--ink); }
.panel-head h2 .ic, .card-head h2 .ic { color: var(--blue); }
.more { color: var(--muted); font-size: 13.5px; }
.btn { border-radius: 12px; }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn-soft { height: 34px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; font-weight: 600; margin-left: 8px; }
.btn-soft:hover { border-color: var(--blue); color: var(--blue-d); }
.chip { border-radius: 999px; }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
input:not([type=checkbox]):not([type=radio]), select, textarea { background: #fff !important; }
th { background: var(--surface-2); color: var(--muted); }
.page { padding-top: 22px; }

/* 상단: [로고 · 계정] / [메뉴 글자 고르게] / [보조지표 띠] */
.topbar { border-bottom: 1px solid var(--line); }
@media (min-width: 961px) {
  .topbar-in { height: auto; padding: 0 28px; column-gap: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo acct" "nav nav"; }
  .logo { grid-area: logo; height: 70px; }
  .account, .guest { grid-area: acct; }
  .nav { grid-area: nav; margin: 0 -28px; padding: 0 28px; height: 54px; gap: 0; border-top: 1px solid var(--line-soft); justify-content: space-between; }
  .nav-item { flex: 1 1 0; justify-content: center; padding: 0 6px; font-size: 16.5px; font-weight: 600; color: var(--ink-2); border-bottom-width: 3px; }
  .nav-item .ic { display: none; }
  .nav-item:hover { background: none; color: var(--ink); }
  .nav-item.active, .nav-item.green.active, .nav-item.red.active, .nav-item.gold.active { color: var(--blue-d); border-bottom-color: var(--blue); }
}
.logo-text b { color: var(--ink); }
.logo-text small { color: var(--blue); }
.acct-btn { color: var(--blue-d); background: var(--blue-soft); }
.acct-menu { background: #fff; border-color: var(--line); box-shadow: 0 12px 32px rgba(20, 40, 28, .14); }
.signup-link { color: var(--ink-2); font-weight: 600; }
.subbar { border-bottom: 1px solid var(--line-soft); }
.sb-label { color: var(--blue-d); }
.sb-item { color: var(--ink-2); }
.sb-item:hover { background: #fff; color: var(--ink); }
.sb-item.on { color: var(--blue-d); border-bottom-color: var(--blue); }
.sb-item.on .ic { color: var(--blue); }

/* 시세 한 줄: 흰 카드 + 등락 알약 */
.ticker { gap: 14px; }
.tick { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.tick-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tick-price { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.tick .chg { font-size: 11.5px; color: var(--faint) !important; }
.pill-chg { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill-chg.up { color: var(--up); background: var(--green-soft); }
.pill-chg.down { color: var(--down); background: var(--red-soft); }
.pill-chg.flat { color: var(--muted); background: var(--surface-2); }
.cic { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; overflow: hidden; background: hsl(var(--hue, 150) 45% 92%); color: hsl(var(--hue, 150) 45% 32%); font-weight: 800; }
.cic i { font-style: normal; }
.cic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.cic.flag { border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cic.flag svg { width: 140%; height: 100%; margin-left: 20%; }

/* 메인 줄 배치 */
.home-row { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: stretch; }
.home-row.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.home-row > .panel { min-width: 0; }
.kimp-panel .panel-head .meta { margin-left: auto; }
.kimp-panel .mini-table td { padding: 10px 8px; font-size: 14.5px; }
.kimp-panel .mini-table thead th { background: var(--surface-2); border: 0; padding: 10px 8px; }
.kimp-panel .mini-table thead th:first-child { border-radius: 10px 0 0 10px; }
.kimp-panel .mini-table thead th:last-child { border-radius: 0 10px 10px 0; }
.kimp-panel .cn b { font-size: 14.5px; }
.news-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.news-cards li + li { border-top: 1px solid var(--line-soft); }
.nc { display: grid; grid-template-columns: 96px minmax(0, 1fr) 16px; gap: 14px; align-items: center; padding: 10px 0; }
.nc-thumb { position: relative; width: 96px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--brand-tint); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.nc-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nc-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nc-body b { font-size: 14.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-all; }
.nc-body small { color: var(--faint); font-size: 12px; }
.nc > .ic { color: var(--faint); }
.recent-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; margin-top: 12px; }
.recent-lists { min-width: 0; border: 1px solid var(--line-soft); border-radius: 14px; padding: 4px 14px; }
.empty-art { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 0; color: var(--muted); }
.empty-art .ic { color: #b9d9c4; }
.grade-cards { display: flex; flex-direction: column; gap: 12px; }
.grade-card { flex: 1; display: grid; grid-template-columns: 58px minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 16px; min-height: 96px; }
.grade-card svg { width: 54px; height: 54px; }
.grade-card span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.grade-card b { font-size: 18px; }
.grade-card small { color: var(--ink-2); font-size: 13px; }
.grade-card.green { background: #e8f7ee; color: var(--green-d); }
.grade-card.red { background: #fdeced; color: #c4343a; }
.grade-card:hover { filter: brightness(.98); }
.mv-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.mv-cards a { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 16px; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 14px; }
.mv-cards a:hover { border-color: var(--line-strong); color: inherit; }
.mv-cards .chg { font-size: 15px; font-weight: 800; }
.mv-cards .ic { color: var(--faint); }
.mv-last { display: flex; align-items: center; gap: 6px; margin: 10px 2px 0; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }

/* 보조자료 한눈에: 연한 초록 큰 상자 안에 흰 카드 */
.aux-board, .home-gallery { margin-top: 22px; }
.aux-board { background: var(--brand-tint); border: 1px solid #dceee3; border-radius: 26px; padding: 18px 22px 22px; }
.aux-board-head { display: flex; align-items: center; gap: 10px; margin: 0 2px 14px; }
.aux-board-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.aux-board-head h2 .ic { color: var(--blue); }
.aux-board-head .meta, .aux-board-head .more { margin-left: auto; }
.aux-board .panel { box-shadow: 0 1px 2px rgba(20, 40, 28, .04); }
.chart { background: #15181d; border-radius: 12px; }
.chart-line { stroke: #5b8cff; }
.chart-area { fill: rgba(91, 140, 255, .18); }
.chart.alt .chart-line { stroke: #f2c94c; }
.chart.alt .chart-area { fill: rgba(242, 201, 76, .18); }
.oi-mini { background: var(--surface-2); }
.oi-mini .oi-chg div { background: #fff; }
.oi-chg div, .stat-row div, .liq-total div { background: var(--surface-2); }
.cash-big b { color: var(--ink); }

/* 공식채널 띠 */
.ch-band { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 18px; align-items: center; padding: 22px 26px; background: linear-gradient(100deg, #eaf8ef, #f6fbf8 60%, #eef7f1); border: 1px solid #dceee3; border-radius: 22px; }
.ch-band-text h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.ch-band-text h2 em { font-style: normal; color: var(--blue-d); }
.ch-band-text p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.ch-band .channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ch-band .ch { display: flex; align-items: center; gap: 12px; padding: 14px; min-height: 76px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.ch-band .ch.is-off { opacity: 1; }
.ch-band .ch.is-off .ch-mark { filter: saturate(.85); }
.ch-band .ch-label { display: flex; flex-direction: column; gap: 2px; font-weight: 700; font-size: 14px; min-width: 0; }
.ch-band .ch-label small { color: var(--faint); font-weight: 500; font-size: 12px; }
.ch-mark { border-radius: 12px; }

/* 바닥글 */
.footer { background: #fff; border-top: 1px solid var(--line); margin-top: 30px; }
.footer-in { gap: 18px 26px; }
.footer-logo { display: inline-flex; align-items: center; gap: 8px; }
.footer-logo b { font-size: 20px; color: var(--ink); }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-2); }
.footer-desc { color: var(--muted); font-size: 12.5px; }
.footer-copy { margin-left: auto; color: var(--faint); font-size: 12.5px; }

/* 게시판·상세·갤러리·고래 밝게 */
.board-hero h1 { color: var(--ink); }
.latest-coin .badge { background: rgba(255, 255, 255, .22); }
.dex-card:nth-child(-n+3) { border-color: #f1dfae; }
.g-stamp { border-color: var(--gold); color: var(--gold); }
.cert { border-color: #f1dfae; }
.hc-tag { text-shadow: 0 1px 2px #000; }
.feed-state.none { background: var(--surface-2); }
.ok-box { background: var(--green-soft); color: var(--green-d); border-radius: 14px; }
.errors { color: #b42318; }

@media (max-width: 1280px) {
  .ch-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1100px) {
  .home-row, .home-row.even { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .topbar { background: #fff; }
  .nav-item.active { color: var(--blue-d); border-bottom-color: var(--blue); }
  .ticker-side .btn { height: 34px; }
  .aux-board { padding: 14px 12px 14px; border-radius: 20px; margin-left: -6px; margin-right: -6px; }
  .home-row { gap: 14px; margin-top: 14px; }
  .recent-split { grid-template-columns: minmax(0, 1fr); }
  .grade-cards { flex-direction: row; }
  .grade-card { grid-template-columns: 40px minmax(0, 1fr); padding: 12px; min-height: 0; }
  .grade-card svg { width: 38px; height: 38px; }
  .grade-card > .ic { display: none; }
  .grade-card b { font-size: 15.5px; }
  .grade-card small { font-size: 12px; }
  .ch-band { padding: 18px 16px; }
  .ch-band .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-copy { margin-left: 0; }
}
@media (max-width: 480px) {
  .nc { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
  .nc > .ic { display: none; }
  .nc-thumb { width: 76px; height: 54px; }
  .kimp-panel .mini-table td { padding: 9px 4px; font-size: 13.5px; }
  .kimp-panel .panel-head .meta { display: none; }
  .ch-band-text h2 { font-size: 19px; }
}

/* ── 시안 2차(2026-10-12): 환율·테더 띠 · 상단 단추 · 로고 ── */
.logo-text small { font-size: 10.5px; letter-spacing: .28em; color: var(--muted); font-weight: 700; }
.guest { display: flex; gap: 8px; align-items: center; }
.btn-line { height: 40px; padding: 0 20px; background: #fff; border: 1px solid var(--line-strong); color: var(--ink-2); font-weight: 600; }
.btn-line:hover { border-color: var(--blue); color: var(--blue-d); }
.btn-join { height: 40px; padding: 0 20px; }
.fx-strip { margin: 18px 0 0; display: flex; align-items: center; gap: 16px; padding: 12px 22px; background: linear-gradient(100deg, #f6faff, #fff 40%, #f4fbf7); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.fx-strip .ticks { flex: 1; display: flex; align-items: center; justify-content: center; gap: 28px; min-width: 0; overflow: visible; padding: 0; margin: 0; }
.fx-strip .tick { display: flex; align-items: center; gap: 14px; background: none; border: 0; box-shadow: none; padding: 4px 0; width: auto; min-width: 0; }
.fx-strip .tick-name { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); font-weight: 600; margin: 0; }
.fx-strip .tick-price { font-size: 21px; }
.tick-sep { width: 1px; height: 32px; background: var(--line); flex: none; }
.spark { width: 70px; height: 26px; flex: none; }
.spark path { fill: none; stroke-width: 1.6; }
.spark.up path { stroke: var(--up); }
.spark.down path { stroke: var(--down); }
.fx-strip .ticker-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; width: auto; }
.fx-strip .ticker-side .btn-soft { margin: 0; }
@media (max-width: 960px) {
  .fx-strip { margin: 14px 0 0; flex-direction: column; align-items: stretch; padding: 12px 14px; gap: 8px; }
  .fx-strip .ticks { flex-direction: column; align-items: stretch; gap: 6px; overflow: visible; padding: 0; }
  .fx-strip .tick { width: auto; justify-content: flex-start; flex-wrap: wrap; gap: 8px 10px; }
  .fx-strip .tick-name { flex: 1 1 auto; }
  .fx-strip .tick-price { font-size: 18px; }
  .tick-sep { width: 100%; height: 1px; }
  .spark { width: 56px; }
  .fx-strip .ticker-side { flex-direction: row; align-items: center; justify-content: space-between; padding: 0; }
  .btn-line, .btn-join { height: 36px; padding: 0 14px; font-size: 13.5px; }
}
@media (max-width: 400px) { .mini-table .hide-xs { display: none; } .kimp-panel .cn small { display: none; } }
@media (max-width: 560px) { .oi-two { grid-template-columns: minmax(0, 1fr); } .oi-mini .oi-val { font-size: 19px; } .oi-mini .oi-chg dd { white-space: nowrap; } }
.tg-wide { margin-top: 18px; }
.ch-band .channels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .ch-band .channels { grid-template-columns: minmax(0, 1fr); } }

/* ── 청산 히트맵(코인글래스 방식) 2026-10-12 ── */
.lm { margin-top: 12px; width: 100%; }
.lm-canvas { display: block; width: 100%; border-radius: 12px; }
.lm-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 12px; color: var(--muted); }
.lm-key { display: inline-flex; align-items: center; gap: 6px; }
.lm-key::before { content: ""; width: 12px; height: 8px; border-radius: 2px; }
.lm-key.k-c::before { background: linear-gradient(90deg, #2ee87f 50%, #ff4d57 50%); }
.lm-key.k-h::before { background: linear-gradient(90deg, #440154, #21918c, #fde725); width: 26px; }
.lm-key.k-s::before { background: #e5484d; height: 2px; }
.lm-key.k-l::before { background: #16a34a; height: 2px; }
.lm.small .lm-legend { display: none; }
.range-chips { gap: 6px; margin-left: auto; flex-wrap: nowrap; }
.chip.sm { height: 32px; padding: 0 14px; font-size: 13px; }
.stat-row dd.l { color: var(--liq-long); } .stat-row dd.s { color: var(--liq-short); }
@media (max-width: 960px) { .range-chips { margin: 0; padding: 0; overflow: visible; } }
.market .aux-grid.three { align-items: stretch; }

/* ── 피드 판: 시간대별 구역 + 카드 격자 (2026-10-12) ── */
.fb { display: flex; flex-direction: column; gap: 18px; margin-top: 4px; }
.fb-h { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.fb-h b { font-size: 15.5px; color: var(--ink); }
.fb-h small { color: var(--faint); font-size: 12.5px; }
.fb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.fb-card { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; min-width: 0; color: inherit; }
a.fb-card:hover { border-color: var(--blue); box-shadow: 0 4px 14px rgba(20, 40, 28, .08); color: inherit; }
.fb-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.fb-time { font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.fb-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--surface-2); color: var(--ink-2); }
.fb-tag.k-in { background: var(--red-soft); color: #c4343a; }
.fb-tag.k-out { background: var(--green-soft); color: var(--green-d); }
.fb-tag.k-miner, .fb-tag.k-alarm { background: var(--amber-soft); color: var(--amber); }
.fb-tag.k-long { background: var(--green-soft); color: var(--green-d); }
.fb-tag.k-short { background: var(--red-soft); color: var(--red); }
.fb-whales { color: #2f6fe4; font-size: 9px; letter-spacing: 2px; }
.fb-main { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.fb-main b { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.fb-main em { font-style: normal; font-weight: 700; color: var(--ink-2); font-size: 14px; margin-left: auto; white-space: nowrap; }
.fb-sub { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fb-src { font-size: 11px; color: var(--faint); }
.fb-card > .fb-src:last-child { margin-top: auto; }
.stat-row dd.in { color: #c4343a; } .stat-row dd.out { color: var(--green-d); }
.bias.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.nw-card { padding: 0; overflow: hidden; gap: 0; }
.nw-card .fb-top, .nw-card .nw-title { padding: 0 14px; }
.nw-card .fb-top { padding-top: 10px; }
.nw-thumb { display: block; aspect-ratio: 16 / 8; overflow: hidden; background: var(--brand-tint); }
.nw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-title { font-size: 14.5px; font-weight: 700; line-height: 1.45; padding-bottom: 14px !important; padding-top: 4px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: break-all; }
@media (max-width: 760px) {
  .bias.two { grid-template-columns: minmax(0, 1fr); }
  .fb-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
.legacy { font-style: normal; color: var(--violet); font-weight: 600; }
.legacy.warn { color: var(--amber); }

/* ── 관리자 화면 (코인마을 관리자 화면을 옮겨 초록 밝은 테마로, 2026-10-13) ── */
.admin { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.admin-tabs { margin-bottom: -4px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.admin-top h1 { margin: 0; font-size: 28px; letter-spacing: -0.03em; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; }
.quick .btn { gap: 6px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.admin-table th, .admin-table td { padding: 10px 8px; border-top: 1px solid var(--line-soft); text-align: left; white-space: nowrap; }
.admin-table th { color: var(--muted); font-weight: 600; font-size: 13px; border-top: 0; }
.admin-table td:nth-child(2) { white-space: normal; min-width: 160px; }
.admin-table .num { text-align: right; }
.admin-table .neg { color: var(--red); }
.b-none { background: #f3f4f6; color: var(--muted); }
.adm-home { gap: 20px; }
.adm-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 26px 28px; border-radius: 18px; color: #fff;
  background: linear-gradient(120deg, #0f7a37 0%, #179a4e 50%, #22b35e 100%);
  box-shadow: 0 10px 30px rgba(23, 154, 78, .18);
}
.hero-date { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 14px; opacity: .85; }
.adm-hero h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.hero-sum { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.sum-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(255, 255, 255, .16); }
.sum-chip.ok::before, .sum-chip.warn::before, .sum-chip.bad::before { content: ''; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; background: #4ade80; }
.sum-chip.warn::before { background: #fbbf24; }
.sum-chip.bad::before { background: #f87171; }
.hero-actions { display: grid; grid-template-columns: repeat(5, minmax(0, auto)); gap: 8px; }
.act {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 96px; height: 76px; padding: 0 10px;
  border-radius: 14px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 13.5px; font-weight: 700; text-align: center;
  border: 1px solid rgba(255, 255, 255, .22); transition: background .15s, transform .15s;
}
.act:hover { background: rgba(255, 255, 255, .26); color: #fff; transform: translateY(-1px); }
.act.t-green { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .5); }
.act.t-red { background: var(--red); border-color: var(--red); }
.act.t-blue { background: #fff; color: var(--blue-d); border-color: #fff; }
.act.t-green:hover, .act.t-red:hover { filter: brightness(1.06); }
.act.t-blue:hover { background: var(--blue-soft); color: var(--blue-d); }

.adm-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.adm-main, .adm-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.adm-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); min-width: 0; }
.adm-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.adm-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.adm-head h2 .ic { color: var(--muted); }
.adm-head .count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12.5px; }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi {
  --tone: var(--blue); --tone-bg: var(--blue-soft);
  display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 14px; border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--surface), var(--brand-tint)); min-width: 0; transition: border-color .15s, box-shadow .15s;
}
a.kpi:hover { border-color: var(--tone); box-shadow: 0 4px 14px rgba(16, 24, 40, .06); }
.kpi.t-green { --tone: var(--green); --tone-bg: var(--green-soft); }
.kpi.t-red { --tone: var(--red); --tone-bg: var(--red-soft); }
.kpi.t-amber { --tone: #d97706; --tone-bg: #fef3c7; }
.kpi.t-gray { --tone: #64748b; --tone-bg: #f1f5f9; }
.kpi-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.kpi-ic { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; flex: none; background: var(--tone-bg); color: var(--tone); }
.kpi-label { font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-num { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
.kpi-num small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 3px; letter-spacing: 0; }
.kpi-num.kpi-sm { font-size: 20px; }
.kpi-sub { font-size: 12.5px; color: var(--muted); }

.adm-2col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.adm-list { list-style: none; margin: 0; padding: 0; }
.adm-list li { border-top: 1px solid var(--line-soft); }
.adm-list li:first-child { border-top: 0; }
.adm-list li > a, .adm-list li:not(:has(> a)) { display: flex; align-items: center; gap: 12px; padding: 10px 0; min-width: 0; }
.adm-list li > a:hover b { color: var(--blue); }
.adm-list li.empty { color: var(--muted); padding: 14px 0; font-size: 14px; }
.av { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; flex: none; font-weight: 800; font-size: 15px; background: #f1f5f9; color: #475569; }
.av.t-green { background: var(--green-soft); color: var(--green-d); }
.av.t-red { background: var(--red-soft); color: var(--red); }
.av.t-blue { background: var(--blue-soft); color: var(--blue); }
.li-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.li-main b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li-main small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li-main em { font-style: normal; }
.li-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.li-end time { font-size: 12px; color: var(--faint, #9ca3af); }
.li-end .badges { display: flex; gap: 4px; }
.neg { color: var(--red); }

.adm-todos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.adm-todos a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; }
.adm-todos .t-bad a { background: var(--red-soft); border-color: #fecaca; }
.adm-todos a:hover { filter: brightness(.98); }
.todo-ic { display: inline-flex; color: #d97706; flex: none; }
.adm-todos .t-bad .todo-ic { color: var(--red); }
.todo-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.todo-txt b { font-size: 14.5px; }
.todo-txt small { font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.adm-allgood { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px; text-align: center; color: var(--green-d); background: var(--green-soft); border-radius: 12px; }
.adm-allgood small { color: var(--ink-2); font-size: 12.5px; }

.adm-links { list-style: none; margin: 0 0 14px; padding: 0; }
.adm-links li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.adm-links li:first-child { border-top: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: #cbd5e1; }
.dot.on { background: #22c55e; box-shadow: 0 0 0 3px #dcfce7; }
.dot.warn { background: #f59e0b; box-shadow: 0 0 0 3px #fef3c7; }
.adm-links .lk-name { flex: 1; min-width: 0; font-weight: 600; }
.adm-links .lk-state { font-size: 12.5px; color: var(--muted); text-align: right; padding: 0; background: none; }
.ping { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 10px; margin-bottom: 10px; font-size: 13.5px; font-weight: 600; }
.ping.ok { background: var(--green-soft); color: var(--green-d); }
.ping.bad { background: var(--red-soft); color: var(--red); }
.ping-form { display: flex; flex-direction: column; gap: 6px; }
.ping-form .btn { gap: 6px; justify-content: center; }
.ping-form small { font-size: 12px; color: var(--muted); }

.adm-shortcuts { display: flex; flex-direction: column; }
.adm-shortcuts a { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.adm-shortcuts a:first-child { border-top: 0; }
.adm-shortcuts a > span:nth-child(2) { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.adm-shortcuts b { font-size: 14.5px; }
.adm-shortcuts small { font-size: 12.5px; color: var(--muted); }
.adm-shortcuts a:hover b { color: var(--blue); }
.sc-ic { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); flex: none; }

/* 문자 보내기 */
.tgts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.tgt { position: relative; display: block; cursor: pointer; }
.tgt input { position: absolute; opacity: 0; }
.tgt span { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; height: 100%; }
.tgt b { font-size: 14.5px; }
.tgt small { font-size: 12.5px; color: var(--muted); }
.tgt input:checked + span { border-color: var(--blue); background: var(--blue-soft); }
.tgt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.row-block { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; font-weight: 600; font-size: 14.5px; }
.sms-form textarea { width: 100%; }
.sms-form .check { margin: 10px 0 6px; display: flex; gap: 8px; align-items: center; font-size: 14px; }
.byte { font-size: 13px; color: var(--muted); font-weight: 600; }
.byte.over { color: var(--red); }
.form-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.form-actions .btn { gap: 6px; }
.kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; }
.sub-h { font-size: 16px; margin: 4px 0 8px; }
.sms-preview { white-space: pre-wrap; word-break: break-all; background: var(--brand-tint); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; line-height: 1.6; max-width: 420px; }
.lk-state.st-sent { background: var(--green-soft); color: var(--green-d); padding: 2px 9px; border-radius: 999px; font-size: 12.5px; }
.lk-state.st-error { background: var(--red-soft); color: var(--red); padding: 2px 9px; border-radius: 999px; font-size: 12.5px; }
.lk-state.st-pending { background: #f1f5f9; color: var(--muted); padding: 2px 9px; border-radius: 999px; font-size: 12.5px; }

.adm-home .adm-grid { grid-template-rows: auto 1fr; grid-template-areas: "main todo" "main rest"; }
.adm-home .adm-main { grid-area: main; }
.adm-home .todo-card { grid-area: todo; }
.adm-home .adm-side { grid-area: rest; }
@media (max-width: 1180px) {
  .adm-grid { grid-template-columns: minmax(0, 1fr); }
  .adm-home .adm-grid { grid-template-rows: none; grid-template-areas: "todo" "main" "rest"; }
  .adm-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
@media (max-width: 960px) {
  .adm-hero { padding: 20px 18px; border-radius: 14px; }
  .adm-hero h1 { font-size: 24px; }
  .hero-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .act { min-width: 0; height: 64px; font-size: 12.5px; }
  .adm-card { padding: 16px; border-radius: 14px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 13px; }
  .kpi-num { font-size: 24px; }
  .adm-2col { grid-template-columns: minmax(0, 1fr); }
  .adm-side { grid-template-columns: minmax(0, 1fr); }
  .tgts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis-3 { grid-template-columns: minmax(0, 1fr); }
}
/* 관리 표(추천 관리·발송 기록): 휴대폰에서는 한 줄씩 카드로 */
@media (max-width: 760px) {
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody { display: block; }
  .admin-table tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
  .admin-table tr:first-child { border-top: 0; }
  .admin-table td { border: 0; padding: 0; white-space: normal; }
  .admin-table td.ttl, .admin-table td.empty { flex: 1 1 100%; min-width: 0; }
  .admin-table td.no { display: none; }
  .admin-table td.num { text-align: left; }
  .admin-table td:nth-child(2) { min-width: 0; }
  .admin-table time { color: var(--faint); font-size: 12.5px; }
}
/* 회원 관리·운영 설정·문자 명단: 메뉴 띠를 아래 본문 폭에 맞춘다 */
.admin-tabs:has(+ .form-page) { max-width: 820px; margin: 0 auto 6px; }
.admin-table td .badge + .badge { margin-left: 4px; }

/* ── PC 폭 맞춤 (사장님 2026-10-13 「메뉴랑 밑에 뿌려지는 것의 간격이랑 폭을 맞춰라, 들쭉날쭉」) ──
   모든 화면 본문을 위 로고·메뉴와 같은 폭(.page 안쪽, 최대 1384px)으로. 로그인·가입 같은 좁은 폼과 박제 인증서만 가운데 좁게. */
.admin, .detail, .form-page:not(.narrow) { max-width: none; }
.admin-tabs:has(+ .form-page) { max-width: none; margin: 0 0 6px; }
/* 묶음 안 카드 위 여백이 첫 칸만 빠져 위 끝이 어긋나던 것 */
.aux-grid > .card, .aux .aux-grid > .card, .market .aux-grid > .card, .aux .oi-grid > .card, .g-grid > .card { margin-top: 0; }
/* 갤러리: 카드 수가 적어도 줄을 꽉 채운다 */
.g-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
/* 시세표 코인 칸이 flex 라 아래 줄이 끊기던 것 */
@media (min-width: 761px) { .data-table td.coin, .rec-table td.coin, .post-table td.coin { display: table-cell; } }
/* 스크롤 막대가 있는 화면·없는 화면에서 로고·메뉴·본문이 7px 씩 옆으로 튀던 것 */
html { scrollbar-gutter: stable; }
/* 메뉴 아래 첫 줄 간격을 모든 화면 22px 로 */
.page > :first-child, .board > .board-top:first-child, .board > .board-hero:first-child { margin-top: 0; }
.form-page h1 { margin-top: 0; }
/* 화면 제목 크기 통일: 게시판 제목과 같게(관리 화면·작성 화면 포함, 로그인 같은 좁은 폼은 그대로) */
.admin-top h1, .form-page:not(.narrow) > h1, .board > h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; }
@media (max-width: 760px) { .admin-top h1, .form-page:not(.narrow) > h1, .board > h1 { font-size: 28px; } }
/* 게시판 오른쪽 칸(aside.side)이 롱·숏 꼬리표(.side)와 이름이 같아 간격이 사라지던 것 */
aside.side { display: flex; flex-direction: column; gap: 20px; padding: 0; border-radius: 0; font-size: inherit; font-weight: inherit; }

/* ── 머리말 한 줄로 (사장님 2026-10-13 「메인 화면 메뉴와 로그인하는 곳 공간이 비어 보인다, 컴팩트하게」) ──
   넓은 PC: [로고 | 메뉴 | 로그인·회원가입] 한 줄 64px. 메뉴가 다 안 들어가는 폭은 두 줄이되 윗줄을 낮게. */
@media (min-width: 1280px) {
  .topbar-in { display: flex; align-items: stretch; height: 64px; padding: 0 28px; gap: 20px; }
  .logo { height: auto; flex: none; align-self: center; }
  .account, .guest { flex: none; align-self: center; margin-left: 0; }
  .nav { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; height: auto; border-top: 0; justify-content: center; gap: 2px; }
  .nav-item { flex: 0 1 auto; padding: 0 14px; font-size: 16px; }
}
@media (min-width: 1280px) and (max-width: 1440px) {
  .topbar-in { gap: 12px; }
  .nav-item { padding: 0 10px; font-size: 15.5px; }
}
@media (min-width: 961px) and (max-width: 1279px) {
  .topbar-in { row-gap: 0; }
  .logo { height: 60px; }
  .nav { height: 48px; }
}

/* 돛배 로고 (사장님 2026-10-13 「로고도 돛배로 바꿔」): 원래 이슈코인 색 — 「이슈」 빨강·「코인」 검정, 영문은 Issue 빨강 Coin 검정 */
.logo .lr, .footer-logo .lr { color: #e2322f; }
.logo-text b { color: #111; letter-spacing: -0.05em; }
.logo-text small { font-size: 12.5px; letter-spacing: 0; color: #111; font-weight: 800; text-transform: none; }
.logo-boat { flex: none; }
.footer-logo .logo-mark { width: 28px; height: 28px; }
@media (max-width: 960px) { .logo-text small { font-size: 11.5px; } }

/* ── 공포·탐욕 지수 · 알트코인 지수(도미넌스) — 메인 보조자료 맨 앞 (2026-10-19) ── */
.dash-row.even { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; }
@media (max-width: 760px) { .dash-row.even { grid-template-columns: minmax(0, 1fr); } }
.t-xfear { color: #e5484d; } .t-fear { color: #ea7a1a; } .t-neutral { color: #b7791f; } .t-greed { color: #4d9a1f; } .t-xgreed { color: #16a34a; }
.fng { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 6px; }
.fng-dial { position: relative; width: 190px; flex: none; }
.fng-gauge { display: block; width: 100%; height: auto; }
.fng-now { position: static; margin-top: 2px; display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.fng-now b { font-size: 34px; font-weight: 900; letter-spacing: -0.03em; }
.fng-now span { font-size: 13.5px; font-weight: 800; }
.fng-past { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex: 1 1 200px; min-width: 0; }
.fng-past li { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px; background: var(--surface-2, #f4f7f5); }
.fng-past small { font-size: 12px; color: var(--muted); }
.fng-past b { font-size: 20px; font-weight: 800; }
.fng-past span { font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.dom { display: flex; gap: 12px; margin-bottom: 12px; }
.dom-big { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 12px 14px; border-radius: 12px; background: var(--blue-soft); }
.dom-big.btc { background: #fff4e6; }
.dom-big > small { width: 100%; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.dom-big b { font-size: 28px; font-weight: 900; letter-spacing: -0.03em; color: var(--ink); }
.dom-big .chg + small { font-size: 11.5px; color: var(--muted); }
.dom-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--line-soft); margin-bottom: 8px; }
.dom-bar i, .dom-legend i { display: block; }
.d-btc { background: #f7931a; } .d-eth { background: #627eea; } .d-alt { background: #22b35e; } .d-st { background: #9aa59f; }
.dom-legend { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ink-2); }
.dom-legend li { display: flex; align-items: center; gap: 6px; }
.dom-legend li i { width: 10px; height: 10px; border-radius: 3px; }
.dom-legend b { color: var(--ink); }
/* 공포·탐욕·도미넌스 작게 (사장님 2026-10-19 「탐욕지수 이런 거 너무 커」) */
.fng { gap: 14px; margin-bottom: 4px; }
.fng-dial { width: 112px; }
.fng-now { margin-top: 0; }
.fng-now b { font-size: 22px; }
.fng-now span { font-size: 12px; }
.fng-past { gap: 6px; flex-basis: 180px; }
.fng-past li { padding: 6px 4px; border-radius: 10px; gap: 0; }
.fng-past small, .fng-past span { font-size: 11px; }
.fng-past b { font-size: 16px; }
.fng-panel .chart, .dom-panel .chart { height: 40px; margin-top: 2px; border-radius: 8px; }
.fng-panel .hint, .dom-panel .hint { margin: 6px 0 0; font-size: 11.5px; }
.dom { gap: 8px; margin-bottom: 8px; }
.dom-big { padding: 8px 12px; border-radius: 10px; }
.dom-big > small { font-size: 11.5px; }
.dom-big b { font-size: 20px; }
.dom-bar { height: 10px; margin-bottom: 6px; }
.dom-legend { font-size: 12px; margin-bottom: 4px; }
/* 보조자료 한눈에: 줄 사이 여백 */
.aux-board .dash-row + .dash-row { margin-top: 16px; }
.dash-row.even { margin-bottom: 0; }

/* ── 간격 통일 (사장님 2026-10-19 「데이터들의 간격 디자인 좀 더 신경 써서 균일하게, 모바일도 같이」) ──
   상자 사이·묶음 사이 = --gap, 상자 안 여백 = --pad, 자료 한 줄 위아래 = --row, 제목 → 내용 = --head.
   전에는 상자 사이 14·16·18·22px, 안 여백 위 22·아래 18, 줄 여백 0·8·9·10·11·14·15px 가 섞여 있었다. */
:root { --gap: 20px; --pad: 22px; --row: 10px; --head: 14px; }
@media (max-width: 760px) { :root { --gap: 14px; --pad: 16px; --row: 9px; --head: 12px; } }

/* 상자 안 여백 */
.page .panel, .page .card, .page .adm-card, .page .aux-board { padding: var(--pad); }
.page .fx-strip { padding-left: var(--pad); padding-right: var(--pad); }
.page .aux-board .panel { padding: var(--pad); }

/* 상자 사이(가로·세로 격자) */
.home-row, .dash-row, .aux-grid, .aux-grid.three, .board-grid, .oi-grid, .g-grid, .compare-grid, .adm-grid, .adm-2col, .adm-main, .adm-side, aside.side { gap: var(--gap); }

/* 묶음 사이(위아래) */
.home-row, .aux-board, .home-gallery, .tg-wide, .ch-band, .page > .fx-strip + * { margin-top: var(--gap); }
.page > :first-child { margin-top: 0; }
.aux-board .dash-row + .dash-row { margin-top: var(--gap); }
.aux .card + .card, .market .card + .card, .aux-grid + .card, .card + .aux-grid, .board .card + .card, .card + .oi-grid, .oi-grid + .card { margin-top: var(--gap); }
.aux-grid > .card, .aux .aux-grid > .card, .market .aux-grid > .card, .aux .oi-grid > .card, .g-grid > .card { margin-top: 0; }
.admin { gap: var(--gap); }

/* 상자 제목 → 내용 */
.panel-head, .card-head, .aux-board-head, .adm-head { margin-bottom: var(--head); }
.aux-board-head h2 { font-size: 20px; }

/* 자료 한 줄 위아래 여백(줄 사이에 선이 있는 목록·표) */
.dw-list > li, .ev-list > li, .cq-list > li, .liq-big > li, .mv-list > li, .mv-alerts > li, .adm-list li > a, .adm-list li:not(:has(> a)) { padding-top: var(--row); padding-bottom: var(--row); }
.news-cards > li > a, .mv-cards > li > a, .side-recs a { padding-top: var(--row); padding-bottom: var(--row); }
.recent > li > a { padding-top: calc(var(--row) + 2px); padding-bottom: calc(var(--row) + 2px); }
.mini-table td { padding-top: var(--row); padding-bottom: var(--row); }
@media (min-width: 761px) {
  .data-table td, .rec-table td, .admin-table td { padding-top: var(--row); padding-bottom: var(--row); }
}
/* 세로로 쌓는 칸(flex·grid) 안에서는 gap 만 쓰고 margin 은 겹치지 않게 */
aside.side > *, .compare-grid > *, .adm-side > *, .adm-main > * { margin-top: 0 !important; }
/* 목록 줄: 더 구체적인 옛 규칙(.mini 등)보다 우선 */
.page .ev-list > li, .page .ev-list.mini > li, .page .cq-list > li, .page .cq-list.mini > li { padding-top: var(--row); padding-bottom: var(--row); }
.page .side-recs > li { padding: 0; }
/* 휴대폰: 표가 카드 줄로 바뀌는 곳(고래·시세·현금보유율·추천·관리 표)은 줄 위아래 12px 로 통일 */
@media (max-width: 760px) {
  .data-table tbody tr, .rec-table tbody tr, .admin-table tbody tr { padding-top: calc(var(--row) + 3px); padding-bottom: calc(var(--row) + 3px); }
}
/* 목표가 알림 (2026-10-19) */
.tgt-card textarea { width: 100%; font-size: 14px; line-height: 1.55; }
.tgt-meta { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.tgt-card .form-actions { margin-top: 10px; }
/* 휴대폰: 옆으로 미는 칩 띠는 화면 끝까지 — 바깥 여백을 본문 여백(14px)과 맞춘다(16px 이라 2px 넘쳤음) */
@media (max-width: 960px) { .chips { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; } }
.page > .aux-board + .fx-strip { margin-top: var(--gap); }
/* 고래 청산 (2026-10-20) — 메인 보조자료 첫 줄 셋째 칸 */
.dash-row.top3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1180px) { .dash-row.top3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dash-row.top3 > .wl-panel { grid-column: 1 / -1; } }
@media (max-width: 760px) { .dash-row.top3 { grid-template-columns: minmax(0, 1fr); } }
.wl-list { list-style: none; margin: 0; padding: 0; }
.wl-list .wl { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: var(--row) 0; border-bottom: 1px solid var(--line-soft); }
.wl-list .wl:last-child { border-bottom: 0; }
.wl-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wl-main b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-what { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); flex-wrap: wrap; }
.wl-what strong { color: var(--ink); font-weight: 800; }
.wl-what .side { padding: 0 6px; font-size: 11.5px; }
.wl-boom { font-style: normal; font-weight: 800; font-size: 11px; color: #fff; background: var(--red); border-radius: 6px; padding: 1px 6px; }
.wl.ours { background: linear-gradient(90deg, var(--red-soft), transparent 70%); border-radius: 10px; padding-left: 6px; margin: 0 -6px; }
.wl-list time { font-size: 12px; color: var(--faint); white-space: nowrap; }
.wl-panel .hint { margin: 8px 0 0; font-size: 11.5px; }

/* 칸 아래 여백 채우기 (2026-10-22): 채우는 목록의 숨긴 줄, 그래프는 남는 높이까지 늘어남 */
.fill-x.is-off { display: none !important; }
.home-row > .panel, .dash-row > .panel { display: flex; flex-direction: column; }
.fng-panel > svg.chart, .dom-panel > svg.chart { flex: 1 1 auto; min-height: 40px; }
.dash-row > .panel .cash-big + svg.chart { flex: 1 1 auto; min-height: 90px; }
.dash-row > .panel > .oi-two { flex: 1 1 auto; }
.oi-two > .oi-mini { display: flex; flex-direction: column; }
.oi-two > .oi-mini > svg.chart { flex: 1 1 auto; min-height: 56px; }
/* 최근 게시글: 글이 적을 때(운영) 아래가 비지 않게 베이직·프리미엄 바로가기 카드가 남는 높이까지 늘어남 (2026-10-22) */
.recent-panel > .recent-split { flex: 1 1 auto; }
.page > .home-row + .fx-strip { margin-top: var(--gap); }

/* ── 관리자 콘솔 (2026-10-23 「관리자 페이지도 따로 만들어서 관리하기 쉽게」) ── */
body.admin-console { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; background: var(--bg); }
.am-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: #0f2a1c; color: #d8e8de; display: flex; flex-direction: column; padding: 18px 14px; gap: 14px; }
.am-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #fff; }
.am-brand .am-boat { flex: none; filter: invert(1); }
.am-brand > span { display: flex; flex-direction: column; line-height: 1.15; }
.am-brand b { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.am-brand b .lr { color: #ff6b68; }
.am-brand small { font-size: 12px; color: #8fb8a0; font-weight: 700; }
.am-nav { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.am-gtitle { margin: 0 0 4px; padding: 0 10px; font-size: 11.5px; font-weight: 700; color: #7fa38d; letter-spacing: .04em; }
.am-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: #d8e8de; font-size: 14.5px; font-weight: 600; }
.am-item .ic { flex: none; opacity: .85; }
.am-item:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.am-item.on { background: #22b35e; color: #fff; }
.am-item.on .ic { opacity: 1; }
.am-item span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-badge { flex: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #e5484d; color: #fff; font-size: 11.5px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.am-foot { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 12px; }
.am-site { display: block; padding: 9px 10px; border-radius: 10px; color: #b9d6c4; font-weight: 700; font-size: 14px; }
.am-site:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.am-main { min-width: 0; display: flex; flex-direction: column; }
.am-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 28px; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.am-crumb { margin: 0; font-size: 14px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-crumb a { color: var(--ink-2); }
.am-crumb span { margin: 0 4px; color: var(--faint); }
.am-user { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); flex: none; }
.am-user span { font-weight: 700; }
.am-user form { margin: 0; }
.am-page { max-width: none; width: 100%; margin: 0; padding: 24px 28px 48px; }
.post-acts { display: flex; gap: 6px; justify-content: flex-end; white-space: nowrap; }
.post-acts form { margin: 0; }
.btn-danger-line { color: var(--red); border-color: #f3c2c4; }
@media (max-width: 960px) {
  body.admin-console { display: block; }
  .am-side { position: sticky; top: 0; z-index: 10; height: auto; overflow: visible; padding: 10px 14px 0; gap: 8px; }
  .am-brand { padding: 0 2px 8px; }
  .am-brand b { font-size: 17px; }
  .am-nav { flex-direction: row; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px; padding: 0 14px 10px; }
  .am-nav::-webkit-scrollbar { display: none; }
  .am-group { display: contents; }
  .am-gtitle { display: none; }
  .am-item { flex: none; padding: 7px 11px; font-size: 13.5px; }
  .am-item .ic { display: none; }
  .am-foot { display: none; }
  .am-top { position: static; padding: 10px 14px; }
  .am-page { padding: 14px 14px 36px; }
}
@media (max-width: 480px) { .am-user span { display: none; } }
/* 연동 상태: 이름은 한 줄, 긴 상태 글은 오른쪽에서 줄바꿈 */
.adm-links .lk-name { flex: 0 1 auto; min-width: 7em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-links .lk-state { flex: 1 1 0; min-width: 0; text-align: right; overflow-wrap: anywhere; }
/* 문자 보내기: 회원 찾아서 고르기 (2026-10-23) */
.pick { margin: 4px 0 14px; display: flex; flex-direction: column; gap: 8px; }
.row-block-title { font-weight: 600; font-size: 14.5px; }
.pick-search { display: flex; gap: 8px; }
.pick-search input { flex: 1; min-width: 0; }
.pick-results { list-style: none; margin: 0; padding: 4px 12px; border: 1px solid var(--line); border-radius: 12px; max-height: 280px; overflow-y: auto; background: #fff; }
.pick-results li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.pick-results li:last-child { border-bottom: 0; }
.pick-results li.empty { color: var(--muted); font-size: 14px; }
.pr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pr-main b { font-size: 14px; }
.pr-main small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-results em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: var(--line-soft); color: var(--ink-2); flex: none; }
.pick-results em.t-g { background: var(--green-soft); color: var(--green-d); } .pick-results em.t-r { background: var(--red-soft); color: var(--red); }
.pick-chosen { display: flex; flex-wrap: wrap; gap: 6px; }
.pick-chosen:empty { display: none; }
.pick-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 999px; background: var(--blue-soft); border: 1px solid #bfe6cf; max-width: 100%; }
.pick-chip b { font-size: 13.5px; }
.pick-chip small { font-size: 12px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pick-x { border: 0; background: #fff; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 15px; line-height: 1; color: var(--ink-2); flex: none; }
.pick-list { margin: 0 0 12px; font-size: 14px; color: var(--ink-2); }
.pick-search select { width: auto; flex: none; }
.pick-results em.t-dup { background: var(--amber-soft); color: var(--amber); }
.pick-results .pr-more { justify-content: center; }
.pick-meta { margin: 0; }
@media (max-width: 560px) { .pick-search { flex-wrap: wrap; } .pick-search input { flex: 1 1 100%; } }

/* ── 블로그 (코인마을 마이블로그를 옮김, 2026-10-23) ── */
.blog-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 14px; }
.blog-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 84px; }
.blog-side .card { padding: 18px; }
.blog-side h2 { font-size: 14px; font-weight: 800; margin: 0 0 10px; color: var(--ink); }
.blog-profile b { font-size: 16px; }
.blog-profile p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.blog-cats { display: flex; flex-direction: column; }
.blog-cats a { display: flex; justify-content: space-between; padding: 8px 4px; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.blog-cats a:first-of-type { border-top: 0; }
.blog-cats a small { color: var(--faint); }
.blog-cats a[aria-current="page"] { color: var(--blue); font-weight: 700; }
.blog-tags div, .blog-tags-line { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-d); font-size: 13px; }
.blog-tag:hover { background: var(--blue); color: #fff; }
.blog-main.card, .blog-main > .card { padding: 6px 22px 18px; }
.blog-list { list-style: none; margin: 0; padding: 0; }
.blog-item { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line-soft); align-items: center; }
.blog-item:first-child { border-top: 0; }
.blog-item h3 { margin: 6px 0 8px; font-size: 18px; font-weight: 800; line-height: 1.4; }
.blog-item a:hover h3 { color: var(--blue); }
.blog-item p { margin: 0 0 10px; color: var(--muted); font-size: 14.5px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-thumb { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; aspect-ratio: 760 / 360; }
.blog-thumb svg, .blog-chart svg { display: block; width: 100%; height: auto; }
.blog-cat { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--blue); }
.blog-meta { font-size: 13px; color: var(--muted); }
.blog-post { padding: 26px 30px; }
.blog-post-head { border-bottom: 1px solid var(--line-soft); padding-bottom: 16px; margin-bottom: 22px; }
.blog-post-head h1, .blog-post > h1 { font-size: 27px; line-height: 1.4; margin: 8px 0 10px; font-weight: 800; word-break: keep-all; }
.blog-body { font-size: 16.5px; line-height: 1.95; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
.blog-body h2 { font-size: 21px; margin: 34px 0 12px; padding-left: 12px; border-left: 4px solid var(--blue); line-height: 1.45; }
.blog-body h3 { font-size: 18px; margin: 24px 0 8px; }
.blog-body p { margin: 0 0 16px; }
.blog-body ul { margin: 0 0 18px; padding-left: 22px; }
.blog-body li { margin: 4px 0; }
.blog-body blockquote { margin: 0 0 18px; padding: 14px 18px; background: var(--bg); border-left: 4px solid var(--line); border-radius: 0 10px 10px 0; color: var(--ink-2, var(--ink)); }
.blog-body strong { background: linear-gradient(transparent 60%, #fff1a8 60%); }
.blog-chart { margin: 8px 0 22px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.blog-tags-line { margin: 18px 0 6px; }
.blog-related { padding: 18px 22px; margin-top: 14px; }
.blog-related h2 { font-size: 15px; margin: 0 0 8px; }
.blog-related ul { list-style: none; margin: 0; padding: 0; }
.blog-related li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.blog-related li:first-child { border-top: 0; }
.blog-related time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.blog-hot { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 10px; }
.blog-hot label { display: block; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.blog-hot small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
@media (max-width: 960px) {
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-side { position: static; order: 2; }
  .blog-item { grid-template-columns: 1fr; gap: 10px; }
  .blog-thumb { order: -1; }
  .blog-post { padding: 20px 16px; }
  .blog-post-head h1, .blog-post > h1 { font-size: 22px; }
  .blog-main.card, .blog-main > .card { padding: 4px 16px 14px; }
}
/* 블로그: 핵심 답·근거·FAQ·공식채널 (AI 검색 인용용) */
.blog-tldr { margin: 0 0 22px; padding: 16px 18px; border-radius: 12px; background: var(--blue-soft); border: 1px solid #cfe0ff; }
.blog-tldr b { display: block; font-size: 13px; color: var(--blue-d); margin-bottom: 4px; }
.blog-tldr p { margin: 0; font-size: 16px; line-height: 1.75; font-weight: 600; }
.blog-body sup.cite { font-size: 11px; margin-left: 1px; }
.blog-body sup.cite a { color: var(--blue); }
.blog-faq, .blog-sources { margin: 28px 0 8px; }
.blog-faq h2, .blog-sources h2, .blog-channels h2 { font-size: 18px; margin: 0 0 10px; }
.blog-faq details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 0 0 8px; }
.blog-faq summary { font-weight: 700; cursor: pointer; }
.blog-faq details p { margin: 8px 0 0; line-height: 1.75; color: var(--ink); }
.blog-sources ol { margin: 0; padding-left: 22px; font-size: 14.5px; line-height: 1.7; }
.blog-sources li:target { background: #fff8d6; }
.blog-sources small { color: var(--muted); }
.blog-channels { margin: 22px 0 6px; padding: 16px 18px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.blog-channels a { display: grid; grid-template-columns: 18px 70px minmax(0, 1fr); gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.blog-channels h2 + a { border-top: 0; }
.blog-channels a span { color: var(--muted); font-size: 13.5px; }
.blog-admin-forms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 14px 0; }
.blog-admin-forms .card-head small { font-size: 12px; color: var(--blue); font-weight: 600; margin-left: 6px; }
.blog-src-admin { margin: 0; padding-left: 18px; font-size: 13.5px; }
@media (max-width: 1180px) { .blog-admin-forms { grid-template-columns: 1fr; } }
.blog-topics { margin: 14px 0; padding: 6px 22px 12px; }
.blog-topics h2 small { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.blog-topics ol { list-style: none; margin: 0; padding: 0; }
.blog-topics li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.blog-topics li:first-child { border-top: 0; }
.blog-topics li b { font-size: 15.5px; margin: 0 4px; }
.blog-topics li small { color: var(--muted); font-size: 12.5px; }
.blog-topics li p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2, var(--ink)); }
.blog-topics li.done { opacity: .6; }
@media (max-width: 960px) { .blog-topics li { flex-direction: column; align-items: stretch; } }
.blog-risk { display: flex; gap: 10px; margin: 24px 0 6px; padding: 16px 18px; border-radius: 12px; background: var(--amber-soft); border: 1px solid #f3d29a; color: var(--ink); }
.blog-risk > svg { flex: none; color: var(--amber); margin-top: 2px; }
.blog-risk b { display: block; font-size: 15px; margin-bottom: 6px; color: var(--amber); }
.blog-risk ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.75; }

/* 블로그 그림·쉬운 쓰기 (2026-10-21) */
.blog-img svg, .blog-thumb img { display: block; width: 100%; height: auto; border-radius: 12px; }
.blog-cover { margin: 0 0 18px; }
.blog-chart figcaption, .blog-art figcaption { font-size: 13px; color: var(--muted); margin: 6px 0; }
.blog-art .art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 14px; }
.blog-art figure { margin: 0; min-width: 0; }
.blog-art figure .btn { margin-top: 8px; }
.blog-easy { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.blog-easy h2 { margin: 0 0 6px; font-size: 22px; }
.blog-easy p { margin: 0 0 10px; color: var(--muted); }
.blog-easy .easy-next { color: var(--ink, #111827); }
.blog-easy .easy-next small { color: var(--muted); margin-left: 4px; }
.easy-coin { background: #f8fafc; border: 1px solid var(--line-soft, #eef2f7); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; justify-content: center; min-width: 0; }
.easy-coin small { color: var(--muted); }
.easy-row { display: flex; gap: 8px; flex-wrap: wrap; }
.easy-row select { flex: 1 1 160px; min-width: 0; }
.blog-more { margin: 14px 0; }
.blog-more > summary { cursor: pointer; font-weight: 700; padding: 10px 2px; color: var(--muted); }
@media (max-width: 760px) { .blog-easy { grid-template-columns: 1fr; } }


/* ── 접속 통계 (코인마을 것을 옮김, 2026-10-23) ── */
.kpis.stat-kpis { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.stat-chart { width: 100%; height: auto; display: block; }
.stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stat-list li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.stat-list .sl-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat-list .sl-bar { height: 8px; background: #eef2f7; border-radius: 999px; overflow: hidden; }
.stat-list .sl-bar i { display: block; height: 100%; background: var(--green); border-radius: 999px; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: 1fr; } }
/* 5칸이 4+1 로 꺾여 한 칸만 남지 않게: 넓으면 5칸, 중간 3칸(+2), 휴대폰 2칸 */
.admin-console .kpis.stat-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1180px) { .admin-console .kpis.stat-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .admin-console .kpis.stat-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 마선장 블로그 꼴 시황방 안내(인사 바로 아래, 2026-10-23) */
.blog-invite { margin: 14px 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--green-soft); border: 1px solid #cdebd8; display: grid; gap: 8px; }
.blog-body .blog-invite p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.blog-invite .bi-link { display: grid; grid-template-columns: 18px auto minmax(0, 1fr); gap: 8px; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--card, #fff); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink, inherit); text-decoration: none; }
.blog-invite .bi-link span { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blog-invite .bi-link + p { margin-top: 4px; }

/* 블로그 나머지(코인마을 10-23 판: 그림 폭·한눈에 보기·목차·작성자·카테고리 카드) — 처음 옮길 때 빠졌던 줄, 2026-10-23 */
/* 공개 글 그림(<img>)도 칸 폭에 맞게 — 2026-10-23 「사진이 튀어나간다」 */
.blog-img img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 12px; }
.blog-glance { margin: 0 0 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.blog-glance h2 { margin: 0; padding: 12px 16px; font-size: 16px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.blog-glance table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.blog-glance th, .blog-glance td { padding: 10px 16px; border-bottom: 1px solid var(--line-soft, #eef2f7); text-align: left; }
.blog-glance th { width: 38%; color: var(--muted); font-weight: 600; background: #fcfdff; }
.blog-glance tr:last-child th, .blog-glance tr:last-child td { border-bottom: 0; }
.blog-glance small { display: block; padding: 8px 16px; color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--line-soft, #eef2f7); }
.blog-toc { margin: 0 0 20px; padding: 14px 18px; border-radius: 14px; background: #f8fafc; border: 1px solid var(--line); }
.blog-toc b { display: block; margin-bottom: 6px; font-size: 14px; }
.blog-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14.5px; }
.blog-toc a { color: inherit; }
.blog-author { display: flex; gap: 12px; align-items: center; margin: 18px 0; padding: 14px 16px; border-radius: 14px; background: #f8fafc; border: 1px solid var(--line); }
.blog-author .av { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.blog-author p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
.blog-main, .blog-side { min-width: 0; }
.blog-glance table { table-layout: fixed; }
.blog-glance th, .blog-glance td { overflow-wrap: anywhere; word-break: keep-all; }
@media (max-width: 560px) { .blog-glance th { width: 42%; padding: 9px 10px; } .blog-glance td { padding: 9px 10px; } }

/* 블로그 관리: 추천 칸 펼쳐 보기 (2026-10-23) */
.blog-sec-h { font-size: 19px; margin: 22px 2px 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.blog-sec-h small, .blog-easy h2 small { font-size: 13px; color: var(--muted); font-weight: 500; }
.blog-cats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.blog-cat-card ol { list-style: none; margin: 0; padding: 0; }
.blog-cat-card li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-soft, #eef2f7); }
.blog-cat-card li:first-child { border-top: 0; }
.blog-cat-card li > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.blog-cat-card li b { font-size: 15px; overflow-wrap: anywhere; }
.blog-cat-card li small { color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.blog-cat-card li.done b { color: var(--muted); }
.blog-cat-card form { flex: none; margin: 0; }
@media (max-width: 860px) { .blog-cats-grid { grid-template-columns: 1fr; } }
/* 이슈코인은 표 머리칸이 기본 한 줄(nowrap)이라 휴대폰에서 값 칸과 겹쳤다 → 한눈에 보기 표만 줄바꿈 */
.blog-glance th { white-space: normal; }

/* 회원 탈퇴·임시 비밀번호 (2026-10-24, 코인마을과 같게) */
.leave { margin-top: 18px; }
.leave summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; }
.leave[open] summary { margin-bottom: 10px; }
.temp-pw code { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: .08em; padding: 12px 18px; border-radius: 12px; background: #f1f5f9; border: 1px dashed #94a3b8; overflow-wrap: anywhere; }

/* 회원 상세·유료 완료일 (2026-10-24) */
.legacy.paid { color: var(--green-d); background: var(--green-soft); }
.member-sum dl { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 12px; margin: 0; font-size: 14.5px; }
.member-sum dt { color: var(--muted); }
.member-sum dd { margin: 0; overflow-wrap: anywhere; }
.member-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0; }
.member-forms .card { margin: 0; }
.days-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.days-row input[type=number] { width: 110px; }
.days-table td .up, .member-sum .up { color: var(--green-d); font-weight: 700; }
.days-table td .down, .member-sum .down { color: var(--red); font-weight: 700; }
.crumb { margin: 0 0 6px; font-size: 14px; }
@media (max-width: 760px) { .member-forms { grid-template-columns: 1fr; } }

/* ── 블로그 잡지형 「마도로스 코인 이야기」 (2026-10-25 「코인마을이랑 겹친다」) ── */
.ib-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14px; padding: 26px 28px; border-radius: 18px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #1f8a50 0%, #0f3b26 45%, #0a2418 100%); overflow: hidden; }
.ib-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; opacity: .18;
  background: repeating-radial-gradient(circle at 12px -6px, transparent 0 10px, #fff 10px 12px, transparent 12px 24px); background-size: 24px 26px; }
.ib-hero-in { display: flex; align-items: center; gap: 18px; min-width: 0; position: relative; z-index: 1; }
.ib-hero .ib-boat { fill: #fff; flex: none; }
.ib-kicker { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: #a7f3c4; letter-spacing: .02em; }
.ib-hero h1, .ib-name { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: -.02em; color: #fff; line-height: 1.2; }
.ib-sub { margin: 6px 0 0; font-size: 14.5px; color: #d6efe0; }
.ib-sub span { color: #a7f3c4; font-weight: 700; }
.ib-admin { position: relative; z-index: 1; background: #fff; color: #0f3b26; border-color: #fff; flex: none; }
.ib-hero.is-small { padding: 14px 20px; border-radius: 14px; }
.ib-hero.is-small .ib-name { font-size: 20px; }
.ib-hero.is-small::after { height: 14px; }
.ib-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 12px; padding: 4px; border-radius: 14px; background: var(--card, #fff); border: 1px solid var(--line); }
.ib-tabs::-webkit-scrollbar { display: none; }
.ib-tab { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2, #334155); text-decoration: none; white-space: nowrap; }
.ib-tab small { font-size: 12px; color: var(--muted); font-weight: 600; }
.ib-tab:hover { background: var(--green-soft); }
.ib-tab.on { background: var(--green); color: #fff; }
.ib-tab.on small { color: #d9f7e6; }
.ib-tagrow { display: flex; align-items: center; gap: 6px 8px; flex-wrap: wrap; margin: 0 2px 16px; font-size: 13.5px; }
.ib-tagrow b { color: var(--muted); font-weight: 700; margin-right: 4px; }
.ib-title { font-size: 20px; margin: 4px 2px 12px; }
.ib-title small { font-size: 13px; color: var(--muted); font-weight: 600; }
.ib-lead, .ib-grid { list-style: none; margin: 0 0 18px; padding: 0; }
.ib-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ib-card a { display: flex; flex-direction: column; height: 100%; border-radius: 16px; overflow: hidden; background: var(--card, #fff); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.ib-card a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 59, 38, .12); }
.ib-thumb { display: block; aspect-ratio: 16 / 9; background: #0b0f17; overflow: hidden; }
.ib-thumb img, .ib-thumb svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.ib-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, #0f3b26, #1f8a50); }
.ib-noimg svg { fill: #fff; opacity: .85; }
.ib-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; min-width: 0; flex: 1; }
.ib-cat { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--green-d); background: var(--green-soft); padding: 3px 9px; border-radius: 999px; }
.ib-body h3 { margin: 0; font-size: 16.5px; line-height: 1.4; overflow-wrap: anywhere; }
.ib-body p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ib-meta { margin-top: auto; font-size: 12.5px; color: var(--muted); }
.ib-lead .ib-card a { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.ib-lead .ib-thumb { aspect-ratio: auto; min-height: 240px; }
.ib-lead .ib-body { padding: 22px 24px; justify-content: center; }
.ib-lead .ib-body h3 { font-size: 22px; }
.ib-lead .ib-body p { -webkit-line-clamp: 4; font-size: 15px; }
.ib-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 46px 20px; border-radius: 16px; background: var(--card, #fff); border: 1px dashed var(--line); text-align: center; color: var(--muted); }
.ib-empty svg { fill: var(--green); opacity: .7; }
.ib-empty b { color: var(--ink, #0f172a); font-size: 16px; }
.ib-empty p { margin: 0; font-size: 14px; }
.ib-read { max-width: 820px; margin: 0 auto; }
.ib .crumbs { max-width: 820px; margin-left: auto; margin-right: auto; }
@media (max-width: 960px) { .ib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .ib-hero { padding: 20px 18px; border-radius: 14px; flex-wrap: wrap; }
  .ib-hero .ib-boat { width: 44px; height: 44px; }
  .ib-hero h1 { font-size: 23px; }
  .ib-lead .ib-card a { grid-template-columns: 1fr; }
  .ib-lead .ib-thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .ib-lead .ib-body { padding: 16px; }
  .ib-lead .ib-body h3 { font-size: 18px; }
  .ib-grid { grid-template-columns: 1fr; gap: 12px; }
  .ib-tabs { margin-left: -14px; margin-right: -14px; border-radius: 0; border-left: 0; border-right: 0; }
}
.ib-thumb .ib-noimg svg { width: 56px; height: 56px; object-fit: contain; }
