/* 코인라운지 — 다크 라운지 테마
   원칙: 짙은 흑연 바탕 + 강조색 하나(시그널 오렌지). 플레티넘(은색)·스탠다드(민트)는 등급 구분색, 시세는 국내 관례(상승 빨강 · 하락 파랑).
   모양 규칙: 타일 16px · 입력칸 12px · 단추·칩·배지는 둥근 알약. 숫자는 고정폭(Geist Mono). */

:root {
  --bg: #0c0d10;
  --bg-2: #101217;
  --tile: #15171c;
  --tile-2: #1c1f26;
  --tile-3: #23272f;
  --line: #262a33;
  --line-2: #343a46;
  --text: #eceef2;
  --text-2: #c2c7d0;
  --muted: #8f96a3;
  --accent: #ff6b2c;
  --accent-soft: rgba(255, 107, 44, 0.14);
  --on-accent: #1a0b03;
  /* 등급색: green=플레티넘(은색), red=스탠다드(민트). 변수 이름은 내부 값(green/red)을 따른다 */
  --green: #d3dbea;
  --green-bg: rgba(211, 219, 234, 0.10);
  --red: #4fd6c0;
  --red-bg: rgba(79, 214, 192, 0.11);
  --up: #ff5f5f;
  --down: #5c9dff;
  --warn: #fbbf24;
  --sans: 'Wanted Sans Variable', 'Wanted Sans', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --mono: 'Geist Mono Variable', ui-monospace, 'SFMono-Regular', Menlo, Consolas, var(--sans);
  --r: 16px;
  --rail: 248px;
  --tabbar: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 15px; line-height: 1.55; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--text); }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.25; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
* { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.ic { flex: none; }
[hidden] { display: none !important; }

.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.meta { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.empty { color: var(--muted); font-size: 14px; padding: 18px 4px; text-align: center; list-style: none; }
.provider { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.feed-state { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.feed-state.stale { color: var(--warn); }
code { font-family: var(--mono); font-size: 0.92em; background: var(--tile-2); padding: 1px 6px; border-radius: 6px; }

/* ───────── 틀: 레일 + 무대 ───────── */
.shell { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: 100dvh; }
.rail {
  position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 26px;
  padding: 22px 14px 18px; background: var(--bg-2); border-right: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 6px; min-width: 0; }
.brand .mark { flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand-text b { font-size: 17px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.brand-text small { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; white-space: nowrap; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  color: var(--text-2); font-weight: 600; font-size: 14.5px; transition: background .15s, color .15s;
}
.nav-item .ns { display: none; }
.nav-item:hover { background: var(--tile); color: var(--text); }
.nav-item.active { background: var(--tile-2); color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
.nav-item.n-green .ic { color: var(--green); }
.nav-item.n-red .ic { color: var(--red); }
.nav-item.active .ic { color: var(--accent); }
.nav-item.n-green.active .ic { color: var(--green); }
.nav-item.n-red.active .ic { color: var(--red); }

.rail-group { display: flex; flex-direction: column; gap: 2px; }
.rail-group .eyebrow { padding: 0 12px 8px; }
.rail-sub {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px;
  font-size: 13.5px; color: var(--muted); font-weight: 500;
}
.rail-sub:hover { color: var(--text); background: var(--tile); }
.rail-sub.active { color: var(--text); background: var(--tile-2); }

.rail-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.m-charts { display: none; }
.guest { display: flex; align-items: center; gap: 8px; }
.guest-join { font-size: 13.5px; font-weight: 600; color: var(--text-2); padding: 8px 10px; white-space: nowrap; }
.guest .btn { flex: 1; }

/* 펼침 메뉴(계정·지표) */
.drop { position: relative; }
.drop > summary { list-style: none; cursor: pointer; }
.drop > summary::-webkit-details-marker { display: none; }
.acct-btn {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--tile); font-size: 14px; font-weight: 600; min-width: 0;
}
.acct-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.caret { color: var(--muted); font-size: 11px; }
.acct-menu {
  position: absolute; z-index: 60; min-width: 190px; padding: 6px; border-radius: 14px;
  background: var(--tile-2); border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  display: flex; flex-direction: column;
}
.rail-foot .account .acct-menu { left: 0; right: 0; bottom: calc(100% + 8px); }
.acct-menu a, .acct-menu button {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 9px; border: 0;
  background: none; font-size: 14px; color: var(--text-2); cursor: pointer;
}
.acct-menu a:hover, .acct-menu button:hover, .acct-menu a[aria-current] { background: var(--tile-3); color: var(--text); }
.acct-menu form { margin: 0; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--tile); font-size: 13px; font-weight: 600; color: var(--text-2);
}
.pill-btn.on { border-color: var(--accent); color: var(--text); }

.stage { min-width: 0; display: flex; flex-direction: column; }
.page { width: 100%; max-width: 1360px; margin: 0 auto; padding: 26px 32px 56px; flex: 1; }
.footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 18px 32px 22px;
  border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted);
}
.footer-brand { display: inline-flex; align-items: baseline; gap: 6px; color: var(--text-2); }
.footer-brand small { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.footer-link { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.footer-copy { margin-left: auto; font-family: var(--mono); font-size: 11.5px; }

/* ───────── 공통 부품 ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--tile-2); color: var(--text);
  font-size: 14px; font-weight: 650; white-space: nowrap; cursor: pointer; transition: transform .12s, background .15s, border-color .15s;
}
.btn:hover { background: var(--tile-3); color: var(--text); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-accent { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.btn-accent:hover { background: #ff8247; color: var(--on-accent); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 15.5px; }
.btn-xs { height: 30px; padding: 0 12px; font-size: 12.5px; }
.btn-danger { background: transparent; color: #ffa3b4; border-color: rgba(255, 107, 136, .45); }
.btn-danger:hover { background: var(--red-bg); color: #ffc2cd; }
.btn-warn { background: transparent; color: #fcd34d; border-color: rgba(251, 191, 36, .45); }
.btn-warn:hover { background: rgba(251, 191, 36, .1); color: #fde68a; }
form.inline { display: inline-flex; margin: 0; }

.tile {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--tile); border: 1px solid var(--line); border-radius: var(--r); padding: 20px;
}
.tile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; min-width: 0; }
.tile-head h2 { display: flex; align-items: center; gap: 9px; font-size: 15.5px; font-weight: 750; min-width: 0; }
.tile-head h2 .ic { color: var(--accent); }
.tile-head .meta { white-space: nowrap; }
.more { display: inline-flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.more:hover { color: var(--accent); }
.tile-foot { margin-top: auto; padding-top: 14px; }

/* 칩·세그먼트(탭·걸러보기) */
.segs {
  display: flex; gap: 2px; padding: 4px; max-width: 100%; width: max-content; overflow-x: auto; scrollbar-width: none;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
}
.segs::-webkit-scrollbar { display: none; }
.seg {
  flex: none; padding: 7px 14px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  font-size: 13px; font-weight: 650; color: var(--muted); white-space: nowrap; transition: background .15s, color .15s;
}
.seg:hover { color: var(--text); }
.seg.on { background: var(--text); color: var(--bg); }

.badges { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.badge, .pill {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; white-space: nowrap; border: 1px solid transparent; line-height: 1;
}
.b-notice { background: var(--accent-soft); color: #ffa27a; }
.b-free { background: var(--tile-3); color: var(--text-2); }
.b-green { background: var(--green-bg); color: var(--green); }
.b-red { background: var(--red-bg); color: var(--red); }
.b-kind-new { border-color: var(--line-2); color: var(--text-2); }
.b-kind-add { border-color: rgba(255, 107, 44, .4); color: #ffa27a; }
.b-blind { background: rgba(251, 191, 36, .12); color: var(--warn); }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.r-none { background: var(--tile-3); color: var(--text-2); }
.r-none::before { animation: pulse 1.8s ease-in-out infinite; }
.r-tp { background: rgba(255, 95, 95, .13); color: #ff8b8b; }
.r-sl { background: rgba(92, 157, 255, .13); color: #8fbaff; }
@keyframes pulse { 50% { opacity: .25; } }

.avatar {
  display: inline-grid; place-items: center; flex: none; border-radius: 30%;
  background: hsl(var(--hue) 40% 20%); color: hsl(var(--hue) 85% 78%);
  font-family: var(--mono); font-weight: 700; line-height: 1;
}

.up { color: var(--up); }
.down { color: var(--down); }
.chg { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.chg.up { color: var(--up); }
.chg.down { color: var(--down); }
.chg.flat { color: var(--muted); }

.crumbs { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--accent); }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 22px; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin-top: 6px; }
.lede { color: var(--muted); font-size: 14.5px; margin-top: 6px; max-width: 62ch; }

.errors, .ok-box, .notice-box { border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 14px; }
.errors { background: var(--red-bg); border: 1px solid rgba(255, 107, 136, .4); color: #ffc2cd; }
.errors p + p { margin-top: 4px; }
.ok-box { background: var(--green-bg); border: 1px solid rgba(61, 220, 151, .35); color: #b5f3d6; }
.notice-box { display: flex; gap: 14px; align-items: flex-start; background: var(--tile-2); border: 1px solid var(--line-2); margin: 18px 0; }
.notice-box .ic { color: var(--accent); margin-top: 2px; }
.notice-box b { display: block; margin-bottom: 2px; }
.notice-box p { color: var(--text-2); }
.notice-box a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: 18px; }
.pager a, .pager span {
  min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 8px; border-radius: 999px;
  font-family: var(--mono); font-size: 13px; color: var(--text-2);
}
.pager a:hover { background: var(--tile-2); }
.pager .on { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.pager .gap { color: var(--muted); }

/* ───────── 메인: 시세 띠 ───────── */
.tape {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-bottom: 16px;
  background: var(--tile); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.ticks { display: flex; overflow-x: auto; scrollbar-width: none; }
.ticks::-webkit-scrollbar { display: none; }
.tick {
  flex: 1 0 158px; display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; min-width: 0;
  border-right: 1px solid var(--line);
}
.tick:last-child { border-right: 0; }
.tick-sym { display: flex; align-items: baseline; gap: 6px; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.tick-sym small { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--muted); }
.tick.is-fx .tick-sym { color: var(--accent); }
.tick-price { font-family: var(--mono); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tick.is-stale .tick-price { color: var(--text-2); }
.tape-side {
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px;
  padding: 12px 18px; border-left: 1px solid var(--line); background: var(--bg-2);
}

/* ───────── 메인: 벤토 ───────── */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.t-recent { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.t-news { grid-column: 8 / span 5; grid-row: 1; }
.t-tg { grid-column: 8 / span 5; grid-row: 2; }
.t-ch { grid-column: 1 / span 4; grid-row: 3; }
.t-yt { grid-column: 5 / span 8; grid-row: 3; }
.bento > .tile { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.bento > .tile:nth-child(2) { animation-delay: .04s; }
.bento > .tile:nth-child(3) { animation-delay: .08s; }
.bento > .tile:nth-child(4) { animation-delay: .12s; }
.bento > .tile:nth-child(5) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* 코인 속보 */
.news-list { list-style: none; }
.news-list li {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px dashed var(--line);
}
.news-list li:last-child { border-bottom: 0; }
.news-list .idx { font-family: var(--mono); font-size: 12px; color: var(--accent); opacity: .8; }
.news-title { min-width: 0; font-size: 14.5px; line-height: 1.45; }
.news-title a, .news-title > span {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text);
}
.news-title a:hover { color: var(--accent); }
.news-list time { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.news-list.wide li { grid-template-columns: 52px minmax(0, 1fr); }
.news-src { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 3px; }

/* 최근 게시글 */
.t-recent .segs { margin-bottom: 8px; }
.recent { list-style: none; }
.recent > li > a {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 12px; align-items: start;
  padding: 13px 4px; border-bottom: 1px solid var(--line); transition: background .15s;
}
.recent > li:last-child > a { border-bottom: 0; }
.recent > li > a:hover { background: linear-gradient(90deg, transparent, var(--tile-2) 30%, transparent); }
.recent .badges { padding-top: 1px; }
.rt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rt b { font-size: 14.5px; font-weight: 650; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rt small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent time { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; padding-top: 2px; }
.recent .is-hidden b { color: var(--muted); font-weight: 500; }

/* 공식채널 */
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.ch {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px; min-height: 108px; min-width: 0;
  border-radius: 14px; background: var(--tile-2); border: 1px solid var(--line); transition: border-color .15s, transform .15s;
}
a.ch:hover { border-color: var(--line-2); transform: translateY(-2px); }
.ch-glyph { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; margin-bottom: auto; }
.ch.kakao .ch-glyph { background: #fee500; color: #191600; font-size: 9.5px; letter-spacing: .02em; }
.ch.insta .ch-glyph { background: #e1306c; color: #fff; }
.ch.tg .ch-glyph { background: #2aabee; color: #fff; }
.ch.yt .ch-glyph { background: #ff0033; color: #fff; }
.ch-label { font-size: 13.5px; font-weight: 700; line-height: 1.3; padding-right: 18px; }
.ch-sub { font-family: var(--mono); font-size: 11.5px; color: var(--accent); }
.ch-sub.off { color: var(--muted); }
.ch-go { position: absolute; top: 12px; right: 12px; color: var(--muted); }
.ch.is-off { opacity: .55; }

/* 텔레그램 */
.tg-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 6px; }
.bubble {
  display: flex; flex-direction: column; gap: 3px; padding: 11px 14px; border-radius: 4px 16px 16px 16px;
  background: var(--tile-2); border: 1px solid var(--line); transition: border-color .15s;
}
.bubble:hover { border-color: #2aabee; }
.tg-title { font-size: 14px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-sum { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bubble time { align-self: flex-end; font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* 유튜브 */
.yt-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 6px; }
.yt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.yt-thumb { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--tile-2); }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.yt:hover img { transform: scale(1.04); }
.yt-title { font-size: 13px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt time { font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* ───────── 추천 게시판 ───────── */
.g-green { --g: var(--green); --g-bg: var(--green-bg); }
.g-red { --g: var(--red); --g-bg: var(--red-bg); }
.board-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 26px 26px 24px; margin-bottom: 16px; border-radius: var(--r); border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, .018) 14px 15px),
    linear-gradient(120deg, var(--g-bg), transparent 65%), var(--tile);
}
.board-head .eyebrow { display: flex; align-items: center; gap: 8px; color: var(--g); }
.board-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 4px var(--g-bg); }
.board-head h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 850; margin-top: 8px; }
.bh-text { min-width: 0; }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.blind-note { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.blind-note .ic { color: var(--warn); }
.board-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.board-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* 최근 추천 티켓 */
.ticket {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); border-radius: var(--r);
  background: var(--tile); border: 1px solid var(--line); overflow: hidden;
}
.stub {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px;
  background: var(--g-bg); border-right: 2px dashed var(--line-2); min-width: 0;
}
.stub::before, .stub::after {
  content: ''; position: absolute; right: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--bg);
}
.stub::before { top: -10px; }
.stub::after { bottom: -10px; }
.stub-coin { display: flex; align-items: center; gap: 12px; min-width: 0; margin-top: 6px; }
.stub-coin b { font-size: 24px; font-weight: 850; letter-spacing: -0.03em; line-height: 1.2; overflow-wrap: anywhere; min-width: 0; }
.stub .go { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 12px; color: var(--g); }
.ticket-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; padding: 20px 22px; }

/* 가격 사다리 */
.ladder { list-style: none; position: relative; padding-left: 20px; }
.ladder::before { content: ''; position: absolute; left: 5px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--up), var(--accent) 60%, var(--down)); opacity: .5; border-radius: 2px; }
.rung {
  position: relative; display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px dashed var(--line);
}
.rung:last-child { border-bottom: 0; }
.rung::before { content: ''; position: absolute; left: -19px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--tile); border: 2px solid var(--muted); }
.rung.tp::before { border-color: var(--up); }
.rung.sl::before { border-color: var(--down); }
.rung.entry::before { left: -21px; top: 15px; width: 14px; height: 14px; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.rk { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.rv { font-family: var(--mono); font-size: 15.5px; font-weight: 600; font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.rv small { font-size: 0.85em; color: var(--muted); }
.rung.entry .rv { color: var(--text); }
.pct { font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }

.rationale { min-width: 0; }
.rationale .eyebrow { margin-bottom: 10px; }
.rationale ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.rationale li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.rationale li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.rationale p { font-size: 14.5px; line-height: 1.65; color: var(--text-2); }

/* 표 */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th {
  text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--muted);
  padding: 0 10px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: rgba(255, 255, 255, .015); }
td.no, td.date { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
td.num { font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }
td.wrap { min-width: 110px; }
td.coin a { display: inline-flex; align-items: center; gap: 8px; }
td.coin b { font-weight: 750; overflow-wrap: anywhere; }
td.sum { color: var(--muted); max-width: 220px; }
td.sum a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
td.res { white-space: nowrap; }
td.res .inline { margin-left: 6px; }
td.hidden-title a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
tr.admin-blinded td { background: rgba(251, 191, 36, .04); }
td.empty { text-align: center; color: var(--muted); padding: 30px 10px; }
.post-table td.title a { font-weight: 600; font-size: 14.5px; }
.post-table td.title a:hover { color: var(--accent); }
.quote-table .num, .quote-table th.num { text-align: right; }
.quote-table td.coin { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quote-table td.coin small { color: var(--muted); font-size: 12px; }
.quote-table td.num { font-size: 14px; }

/* 옆칸 */
.guide { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.guide li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.guide .num { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 1px; }
.side-recs { list-style: none; }
.side-recs li a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.side-recs li:last-child a { border-bottom: 0; }
.side-recs .avatar { grid-row: span 2; }
.sr-top { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.sr-top b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-top time { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.sr-meta { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sr-meta .sum { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* 상세 */
.detail { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.detail > .crumbs { margin-bottom: -2px; }
.detail-card { padding: 26px; }
.detail-head { display: flex; flex-direction: column; gap: 10px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.detail-title { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 3vw, 30px); font-weight: 800; min-width: 0; }
.detail-title span { min-width: 0; }
.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding-top: 8px; }
.post-body { margin-top: 18px; font-size: 15.5px; line-height: 1.8; color: var(--text-2); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; align-items: center; }
.admin-panel { gap: 12px; border-color: rgba(255, 107, 44, .3); }
.admin-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; }
.talk-row { padding: 10px 12px; background: var(--tile-2); border-radius: 12px; }
.inline-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }

/* ───────── 폼 ───────── */
.form-page { max-width: 760px; margin: 0 auto; }
.form-page.narrow { max-width: 460px; }
.form-page.wide { max-width: 1180px; }
.form-page > h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 6px 0 20px; }
.form-sub { font-size: 16px; font-weight: 750; margin-bottom: 14px; }
.form-sub.small { font-size: 14px; color: var(--text-2); margin: 8px 0 0; }
.row { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.row > span, .row > legend, .row > .lbl { font-size: 13px; font-weight: 650; color: var(--text-2); padding: 0; }
.row > legend { margin-bottom: 8px; }
.stack { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.row input:not([type=checkbox]):not([type=radio]), .row select, .row textarea,
.member-search input, .post-form textarea, .inline-label select {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 12px 14px; font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; min-width: 0;
}
.inline-label select { width: auto; padding: 8px 12px; font-size: 14px; }
.row textarea, .post-form textarea { resize: vertical; line-height: 1.6; }
.row input:focus, .row select:focus, .row textarea:focus, .member-search input:focus, .post-form textarea:focus, .inline-label select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
::placeholder { color: #6b7280; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); width: 17px; height: 17px; margin: 2px 0 0; flex: none; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin: 0 0 14px; line-height: 1.5; cursor: pointer; }
.check.warn { color: #fde68a; }
em.opt, em.req { font-style: normal; font-family: var(--mono); font-size: 11px; padding: 1px 7px; border-radius: 999px; margin-left: 4px; vertical-align: 1px; }
em.opt { background: var(--tile-3); color: var(--muted); }
em.req { background: var(--accent-soft); color: #ffa27a; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg); font-size: 14px; font-weight: 650; color: var(--text-2); transition: all .15s;
}
.choice span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.choice.g-green span::before { background: var(--green); }
.choice.g-red span::before { background: var(--red); }
.choice input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.choice.g-green input:checked + span { background: var(--green); border-color: var(--green); color: #0c0d10; }
.choice.g-red input:checked + span { background: var(--red); border-color: var(--red); color: #04120f; }
.choice.g-green input:checked + span::before, .choice.g-red input:checked + span::before { background: currentColor; }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice input:disabled + span { opacity: .6; cursor: default; }
.tp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tp-grid .sub { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tp-grid em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--muted); }

.rec-form { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto 1fr; gap: 16px 20px; align-items: start; }
.rec-form .form-fields { grid-column: 1; grid-row: 1 / span 2; padding: 24px; }
.preview-pane { grid-column: 2; grid-row: 1; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.form-actions { grid-column: 2; grid-row: 2; margin-top: 0; }
.form-actions .btn { width: 100%; }
.rec-form.is-edit { grid-template-columns: minmax(0, 760px); justify-content: center; }
.rec-form.is-edit .form-fields { grid-row: 1; }
.rec-form.is-edit .form-actions { grid-column: 1; grid-row: 2; }
.phone { padding: 16px; border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line-2); min-width: 0; }
.msg-preview {
  margin: 0; padding: 14px 16px; border-radius: 4px 18px 18px 18px; background: var(--tile-3);
  font-family: var(--sans); font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text);
  max-height: 60vh; overflow-y: auto;
}
[data-bytes] { font-family: var(--mono); font-size: 11.5px; }
[data-bytes].over { color: var(--warn); }
.settings-form, .post-form, .rec-form.tile { padding: 24px; }
.post-form { padding: 24px; }
.privacy-box { background: var(--tile-2); border-radius: 12px; padding: 14px 16px; margin: 4px 0 14px; font-size: 13px; color: var(--text-2); }
.privacy-box b { display: block; margin-bottom: 6px; color: var(--text); }
.privacy-box ul { padding-left: 18px; display: flex; flex-direction: column; gap: 3px; }
.privacy-box a { display: inline-block; margin-top: 8px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.form-foot a { color: var(--accent); font-weight: 650; }
.form-page .actions .btn-lg { min-width: 160px; }
.narrow .actions .btn-lg { width: 100%; }

/* 운영자 화면 */
.member-search { display: flex; gap: 8px; margin-bottom: 16px; }
.members { list-style: none; margin-top: 8px; }
.member { border-bottom: 1px solid var(--line); }
.member:last-child { border-bottom: 0; }
.member.is-off { opacity: .6; }
.member.is-saved { background: var(--green-bg); border-radius: 12px; }
.member-form { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 14px 8px; }
.m-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.m-who span { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.m-who small { flex-basis: 100%; font-size: 12px; color: var(--muted); }
.m-set { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.m-set .check { margin: 0; }
.status-list { list-style: none; }
.status-list li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.status-list li:last-child { border-bottom: 0; }
.status-list span { font-family: var(--mono); font-size: 12.5px; color: var(--text-2); }
.form-page > .tile + .tile, .form-page > .tile + form, .form-page > form + .tile { margin-top: 16px; }
.form-page textarea[name=list] { font-family: var(--mono); font-size: 13px; }
details.leave { margin-top: 24px; }
details.leave summary { cursor: pointer; font-weight: 650; color: var(--muted); }
details.leave[open] summary { margin-bottom: 14px; color: var(--text); }
.doc { padding: 28px; font-size: 14.5px; color: var(--text-2); line-height: 1.75; }
.doc h2 { font-size: 16px; color: var(--text); margin: 24px 0 8px; }
.doc ul { padding-left: 20px; }
.doc .tbd { font-style: normal; color: var(--warn); }
.msg-card { text-align: center; padding: 36px 24px; gap: 12px; align-items: center; }
.msg-card h1 { font-size: 24px; }
.msg-card p { color: var(--text-2); }
.page > .ok-box { margin-bottom: 16px; }

/* 지표 차트 */
.chart-tabs { margin-bottom: 16px; }
.chart-card { padding: 12px; gap: 10px; }
.tv-chart { width: 100%; height: min(70dvh, 640px); min-height: 380px; border: 0; border-radius: 12px; background: var(--bg); }
.chart-card .hint { padding: 0 6px 4px; }
.chart-card .hint a { color: var(--accent); }

/* ───────── 화면 폭별 ───────── */
@media (max-width: 1279px) {
  :root { --rail: 216px; }
  .page { padding: 22px 24px 48px; }
  .t-news { grid-column: 1 / span 6; grid-row: 1; }
  .t-tg { grid-column: 7 / span 6; grid-row: 1; }
  .t-recent { grid-column: 1 / -1; grid-row: 2; }
  .t-ch { grid-column: 1 / span 5; grid-row: 3; }
  .t-yt { grid-column: 6 / span 7; grid-row: 3; }
  .yt-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-grid { grid-template-columns: minmax(0, 1fr); }
  .side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rec-form { grid-template-columns: minmax(0, 1fr) 320px; }
}

/* 표 → 카드 (중간 폭부터) */
@media (max-width: 1100px) {
  .rec-table thead { display: none; }
  .rec-table, .rec-table tbody, .rec-table tr, .rec-table td { display: block; }
  .rec-table tr {
    display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr) auto; gap: 8px 10px; align-items: center;
    padding: 14px 4px; border-bottom: 1px solid var(--line);
  }
  .rec-table tbody tr:last-child { border-bottom: 0; }
  .rec-table td { padding: 0; border: 0; }
  .rec-table td.no { display: none; }
  .rec-table td.coin { grid-column: 1; grid-row: 1; min-width: 0; }
  .rec-table td.kind { grid-column: 2; grid-row: 1; }
  .rec-table td.res { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
  .rec-table td.res .inline { margin: 0; }
  .rec-table td[data-label] { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .rec-table td[data-label]::before { content: attr(data-label); font-family: var(--sans); font-size: 12px; color: var(--muted); text-align: left; flex: none; }
  .rec-table td.wrap { min-width: 0; }
  .rec-table td.sum { grid-column: 1 / -1; max-width: none; font-size: 13px; }
  .rec-table td.sum:empty { display: none; }
  .rec-table td.date { grid-column: 1 / -1; font-size: 11.5px; }
  .rec-table td.hidden-title { grid-column: 1 / -1; grid-row: 1; }
  .rec-table tr.is-hidden td.date { grid-row: 2; }
  .rec-table td.empty { grid-column: 1 / -1; }
}

/* 태블릿·휴대폰: 윗줄 + 아래 탭바 */
@media (max-width: 1023px) {
  .shell { display: block; }
  .rail {
    position: static; height: auto; flex-direction: row; align-items: center; gap: 10px;
    padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--line);
  }
  .brand { padding: 0; }
  .brand .mark { width: 30px; height: 30px; }
  .rail-group { display: none; }
  .rail-foot { margin: 0 0 0 auto; flex-direction: row; align-items: center; gap: 8px; }
  .m-charts { display: block; }
  .acct-menu { top: calc(100% + 8px); right: 0; }
  .rail-foot .account .acct-menu { left: auto; right: 0; bottom: auto; }
  .acct-btn { height: 36px; padding: 0 12px; font-size: 13px; max-width: 150px; }
  .guest .btn { flex: none; }
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; flex-direction: row; gap: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(16, 18, 23, .94); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  }
  .nav-item { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 3px; padding: 6px 2px; font-size: 11px; font-weight: 650; text-align: center; border-radius: 10px; }
  .nav-item .nl { display: none; }
  .nav-item .ns { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .nav-item.active { box-shadow: none; background: none; color: var(--text); }
  .stage { padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom)); }
  .page { padding: 18px 20px 36px; }
  .footer { padding: 16px 20px 20px; }
  .detail-body { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .rec-form { grid-template-columns: minmax(0, 1fr); }
  .rec-form .form-fields, .preview-pane, .form-actions { grid-column: 1; grid-row: auto; }
  .preview-pane { position: static; }
}

@media (max-width: 860px) {
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .stub { border-right: 0; border-bottom: 2px dashed var(--line-2); }
  .stub::before, .stub::after { top: auto; bottom: -10px; right: auto; }
  .stub::before { left: -10px; }
  .stub::after { right: -10px; left: auto; }
  .ticket-body { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bento > .tile { grid-column: 1; grid-row: auto; }
  .t-news { order: 1; } .t-recent { order: 2; } .t-ch { order: 3; } .t-tg { order: 4; } .t-yt { order: 5; }
  .tape { grid-template-columns: minmax(0, 1fr); }
  .tape-side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 6px 12px; border-left: 0; border-top: 1px solid var(--line); padding: 10px 14px; }
  .tape-side .btn { height: 36px; padding: 0 14px; font-size: 13px; }
  .tick { flex: 0 0 148px; padding: 12px 14px; }
  .tile { padding: 16px; }
  .side { grid-template-columns: minmax(0, 1fr); }
  .board-head { padding: 20px 18px; }
  .detail-card { padding: 20px 18px; }
  .recent > li > a { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .recent .badges { grid-column: 1 / -1; }
  .recent time { grid-column: 2; grid-row: 2; }
  .footer-copy { margin-left: 0; }
}

@media (max-width: 480px) {
  .page { padding: 14px 16px 28px; }
  .rail { padding: 10px 16px; }
  .footer { padding: 14px 16px 18px; }
  .brand-text small { display: none; }
  .guest-join { padding: 8px 4px; font-size: 13px; }
  .tp-grid { grid-template-columns: minmax(0, 1fr); }
  .rung { grid-template-columns: 82px minmax(0, 1fr); }
  .rung .pct { grid-column: 2; }
  .ch { min-height: 100px; padding: 12px; }
  .ch-label { font-size: 13px; }
  .yt-row { gap: 10px; }
  .news-list.wide li { grid-template-columns: 44px minmax(0, 1fr); }
  .member-form { padding: 14px 2px; }
  .post-form, .rec-form .form-fields, .doc { padding: 18px 16px; }
  .msg-card { padding: 28px 18px; }
}

@media (max-width: 360px) {
  .brand-text b { font-size: 15px; }
  .m-charts .pill-btn span { display: none; }
  .acct-btn { max-width: 112px; }
  .channels { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 시세 띠: PC 에서 7칸이 다 보이게 — 아주 넓을 때만 단추를 옆에, 그 밖에는 띠 아래 한 줄 */
@media (max-width: 1679px) {
  .tape { grid-template-columns: minmax(0, 1fr); }
  .tape-side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 14px; border-left: 0; border-top: 1px solid var(--line); padding: 8px 14px; }
  .tape-side .btn { height: 34px; padding: 0 14px; font-size: 13px; }
}
@media (min-width: 1024px) {
  .tick { flex: 1 1 0; min-width: 128px; padding: 13px 14px; }
  .tick .chg { white-space: normal; }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .tick-price { font-size: 16px; }
  .tick .chg { font-size: 11.5px; }
}

/* 가격 사다리: 칸이 좁으면 % 를 값 아래로 내린다(어느 폭에서도 옆 칸과 안 겹치게) */
.ladder { container-type: inline-size; }
@container (max-width: 320px) {
  .rung { grid-template-columns: 84px minmax(0, 1fr); }
  .rung .pct { grid-column: 2; }
}
/* 티켓: 아주 넓을 때만 사다리·분석근거를 나란히 */
@media (max-width: 1535px) {
  .ticket-body { grid-template-columns: minmax(0, 1fr); }
}

/* 휴대폰 윗줄: [지표] 단추는 꺾이지 않게, 좁으면 아이콘만 */
.pill-btn { white-space: nowrap; flex: none; }
.rail-foot { min-width: 0; }
.rail-foot .account { min-width: 0; }
@media (max-width: 440px) {
  .m-charts .pill-btn { width: 36px; padding: 0; justify-content: center; }
  .m-charts .pill-btn span { display: none; }
}
.rec-table td.res { padding-left: 6px; }
