/* 홈 인기뉴스 위 「코인마켓 이슈」 카드 — 인기뉴스(.ebd-hotside)와 같이 PC(1024px 이상)에서만 (2026-12-03 EB 지시) */
.ebd .ebd-mi { display: none; }
@media (min-width: 1024px) { body.home .ebd .ebd-mi { display: block; } }
/* 디지털자산 카테고리 칸(eb_mi_box)을 그대로 쓰되, 홈에는 그 칸의 틀 CSS(home.php .ebl-*)가 없어 같은 값을 여기서 준다 — 안쪽 간격·머리·더보기→ 똑같이 (2026-12-03 EB 지시) */
/* 칸 틀(배경·테두리·모서리)은 홈 다른 칸(.ebd-p·인기뉴스)과 같게 — 회색 배경만 달라 보였다 (2026-12-03 EB 지시: 배경색 통일) */
.ebd-mi .ebmi-box { display: flex; flex-direction: column; padding: 20px 22px 14px; border: 1px solid var(--bd, #dce3eb); border-radius: 12px; background: var(--pn, #fff); color: #111418; letter-spacing: -.2px; word-break: keep-all; }
html.dark .ebd-mi .ebmi-box { color: inherit; }
.ebd-mi .ebmi-box a { color: inherit; text-decoration: none; }
.ebd-mi .ebmi-box h2 { margin: 0; padding: 0; font-family: inherit; }
.ebd-mi .ebl-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.ebd-mi .ebl-eye { display: none; } /* 홈은 영어 MARKET INSIGHTS 빼고 한글 제목만 (2026-12-03 EB 지시) */
.ebd-mi .ebl-h { color: inherit; font-size: 17px; font-weight: 800; line-height: 1.3; letter-spacing: -.4px; }
.ebd-mi .ebmi-box .ebl-more { display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; height: 21px; color: #5f6773; font-size: 13px; font-weight: 600; line-height: 1; }
.ebd-mi .ebl-more svg { display: block; }
html.dark .ebd-mi .ebmi-box .ebl-more { color: #bfc7d1; }
.ebd-mi .ebmi-box__tk + .ebmi-box__rows { margin-top: 14px; }
.ebmi-page, .ebmi-mini {
	--mi-ink: #162a30;
	--mi-muted: #52666c;
	--mi-line: #dce5e5;
	--mi-paper: #fff;
	--mi-wash: #f3f7f7;
	--mi-accent: #08786c;
	--mi-up: #b22f43;
	--mi-down: #2354a7;
	box-sizing: border-box;
	color: var(--mi-ink);
	min-width: 0;
}
html.dark :is(.ebmi-page, .ebmi-mini) {
	--mi-ink: #edf4f2;
	--mi-muted: #acc1c3;
	--mi-line: #35464a;
	--mi-paper: #192225;
	--mi-wash: #202e31;
	--mi-accent: #74d8bb;
	--mi-up: #ff9b9e;
	--mi-down: #9bbcff;
}
.ebmi-page *, .ebmi-mini * { box-sizing: border-box; }
.ebmi-page a, .ebmi-mini a { color: inherit; text-decoration: none; }
.ebmi-page a:hover, .ebmi-mini a:hover { color: var(--mi-accent); text-decoration: underline; text-underline-offset: 3px; }
.ebmi-page :focus-visible, .ebmi-mini :focus-visible { outline: 2px solid var(--mi-accent); outline-offset: 3px; }
.ebmi-kicker { display: block; font-size: 10px; font-weight: 750; line-height: 1.4; letter-spacing: .16em; color: var(--mi-accent); }
.ebmi-logo, .ebmi-initial { width: 32px; height: 32px; display: block; object-fit: contain; border-radius: 50%; }
.ebmi-initial { display: grid; place-items: center; color: var(--mi-accent); background: var(--mi-wash); font-size: 14px; font-weight: 700; }
.ebmi-chart { width: 100%; height: 25px; color: var(--mi-accent); }
.ebmi-change { color: var(--mi-muted); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ebmi-news { margin-top: 14px; border-top: 1px solid var(--mi-line); padding-top: 11px; }
.ebmi-news-label { color: var(--mi-accent); font-size: 11px; font-weight: 720; }
.ebmi-news ul { list-style: none; padding: 0; margin: 0; }
.ebmi-news li { display: flex; align-items: baseline; gap: 9px; margin: 5px 0 0; font-size: 14px; line-height: 1.52; overflow-wrap: anywhere; }
.ebmi-news li a { flex: 1; min-width: 0; }
.ebmi-news time { font-size: 11px; color: var(--mi-muted); }
/* 코인마켓 이슈 페이지(/market-insights/) — 시안 C: 어두운 바탕 · 위 히트맵 · 아래 표형 줄. 사이트 밝은/어두운 모드와 관계없이 어둡게 (2026-12-03 EB 선택) */
.ebmi-page { --c-ink: #e6ebf2; --c-mu: #8592a6; --c-ln: #1f2633; --c-up: #ff5a63; --c-dn: #5aa2ff; width: min(100%, 1200px); margin: 20px auto 56px; padding: 30px 34px 26px; border-radius: 20px; background: #0b0f17; background-image: radial-gradient(60% 50% at 100% 0, rgba(116, 216, 187, .12), transparent), radial-gradient(50% 40% at 0 0, rgba(26, 115, 232, .18), transparent); color: var(--c-ink); }
.ebmi-page a:hover { color: #fff; }
.ebmi-page [data-dir="up"] { --dir: var(--c-up); }
.ebmi-page [data-dir="down"] { --dir: var(--c-dn); }
.ebmi-page__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.ebmi-page .ebmi-kicker { color: #74d8bb; font-size: 12px; font-weight: 800; letter-spacing: 2px; }
/* 제목: 다른 카테고리 제목 상자와 같은 18px·800, 앞에 18px 선 아이콘(코인마켓 이슈 칸과 같은 맥박 모양) (2026-12-03 EB 지시) */
.ebmi-page .ebmi-page__h { display: flex; align-items: center; margin: 3px 0 0; padding: 0; border: 0; background: none; color: #fff; font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: normal; }
.ebmi-page .ebmi-page__h::before { content: ""; flex: none; width: 18px; height: 18px; margin-right: 8px; background: #74d8bb; -webkit-mask: var(--ebmi-ic) center/contain no-repeat; mask: var(--ebmi-ic) center/contain no-repeat; }
.ebmi-page__h { --ebmi-ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M22%2012h-4l-3%209L9%203l-3%209H2%27%2F%3E%3C%2Fsvg%3E"); }
.ebmi-page__tabs { display: flex; gap: 4px; margin: 18px 0 14px; border-bottom: 1px solid var(--c-ln); }
.ebmi-page .ebmi-page__tabs a { padding: 10px 14px; color: var(--c-mu); font-size: 14.5px; font-weight: 650; text-decoration: none; }
.ebmi-page .ebmi-page__tabs a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 #74d8bb; }
.ebmi-page .ebmi-page__back { display: inline-block; margin: 0 0 12px; color: var(--c-mu); font-size: 13px; font-weight: 650; }
.ebmi-page .ebmi-box__tk { margin: 0 0 16px; padding: 6px 14px 6px 6px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .06); }
.ebmi-hm { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 64px; grid-auto-flow: dense; gap: 8px; margin: 18px 0 0; } /* 목록 아래 (2026-12-03 EB 지시) */
.ebmi-page .ebmi-hc { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: transform .15s; }
.ebmi-page a.ebmi-hc:hover { transform: translateY(-2px); text-decoration: none; }
.ebmi-hc[data-dir="up"] { background: rgba(255, 64, 76, var(--a)); }
.ebmi-hc[data-dir="down"] { background: rgba(40, 120, 255, var(--a)); }
.ebmi-hc--l { grid-column: span 2; grid-row: span 2; }
.ebmi-hc--m { grid-row: span 2; }
.ebmi-page .ebmi-hc:not(.ebmi-hc--l):not(.ebmi-hc--m) { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: space-between; align-items: center; column-gap: 6px; padding: 9px 11px; } /* 작은 칸: 로고·티커 한 줄 + 변동률 아래 — 세로로 쌓으면 티커가 안 보였다 */
.ebmi-page .ebmi-hc:not(.ebmi-hc--l):not(.ebmi-hc--m) .ebmi-change { grid-column: 1 / -1; }
.ebmi-hc .ebmi-logo, .ebmi-hc .ebmi-initial { width: 22px; height: 22px; background: #fff; }
.ebmi-hc--l .ebmi-logo, .ebmi-hc--l .ebmi-initial { width: 34px; height: 34px; }
.ebmi-hc b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 800; }
.ebmi-hc--l b { font-size: 20px; }
.ebmi-page .ebmi-hc .ebmi-change { color: #fff; font-size: 13px; font-weight: 800; }
.ebmi-page .ebmi-hc--l .ebmi-change { font-size: 26px; }
.ebmi-ls { border: 1px solid var(--c-ln); border-radius: 16px; background: rgba(255, 255, 255, .02); }
.ebmi-lr { display: grid; grid-template-columns: 64px 180px minmax(0, 1fr) 140px 96px 80px; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid #1a202b; }
.ebmi-lr:first-child { border-top: 0; }
.ebmi-lr__c { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ebmi-lr__c .ebmi-logo, .ebmi-lr__c .ebmi-initial { flex: none; width: 30px; height: 30px; background: #fff; }
.ebmi-lr__nm { min-width: 0; }
.ebmi-lr__nm > a, .ebmi-lr__nm > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-size: 15px; font-weight: 750; }
.ebmi-lr__nm small { color: #7f8aa0; font-size: 12px; }
.ebmi-lr__w { --w: #8592a6; flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border: 1px solid color-mix(in srgb, var(--w) 50%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--w) 22%, transparent); color: color-mix(in srgb, var(--w) 65%, #fff); font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.ebmi-lr > .ebmi-lr__w { justify-self: start; } /* 이유 알약은 로고 앞 칸 (2026-12-03 EB 지시) */
.ebmi-lr[data-why^="상장"] .ebmi-lr__w { --w: #0f9f7a; }
.ebmi-lr[data-why="상장폐지"] .ebmi-lr__w { --w: #9aa3ad; }
.ebmi-lr:is([data-why="유의"], [data-why="주의"]) .ebmi-lr__w { --w: #e8890c; }
.ebmi-lr:is([data-why="입출금"], [data-why="해킹"]) .ebmi-lr__w { --w: #7c5ce0; }
.ebmi-lr[data-why="급등"] .ebmi-lr__w { --w: #e0323c; }
.ebmi-lr[data-why="급락"] .ebmi-lr__w { --w: #1a6fe0; }
.ebmi-lr__n { min-width: 0; margin: 0; padding: 0; list-style: none; }
.ebmi-lr__n li { display: flex; align-items: baseline; gap: 10px; min-width: 0; margin: 0; font-size: 15px; line-height: 1.5; }
.ebmi-lr__n li + li { margin-top: 3px; font-size: 13.5px; }
.ebmi-lr__n li + li a { color: #b9c3d2; font-weight: 500; }
.ebmi-lr__n time { flex: none; min-width: 4.4em; color: #7f8aa0; font-size: 12.5px; }
.ebmi-lr__n a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e6ebf2; font-weight: 600; }
.ebmi-lr__n .is-no { color: #8592a6; }
.ebmi-lr__p { display: flex; align-items: center; justify-content: flex-end; gap: 6px; color: #e6ebf2; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ebmi-lr__p .ebmi-ex { width: 14px; height: 14px; border-radius: 50%; }
.ebmi-lr .ebmi-chart { width: 96px; height: 30px; color: var(--dir, var(--c-mu)); }
.ebmi-page .ebmi-lr .ebmi-change { color: var(--dir, var(--c-mu)); font-size: 15px; font-weight: 800; text-align: right; }
/* 정렬표 머리 — 누르면 그 칸으로 정렬, ▲▼ 표시 (2026-12-03 EB 지시) */
.ebmi-lr--hd { padding-top: 11px; padding-bottom: 11px; color: var(--c-mu); font-size: 12.5px; }
.ebmi-page .ebmi-lr--hd button { justify-self: start; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; font: inherit; font-weight: 650; line-height: 1.4; cursor: pointer; }
.ebmi-page .ebmi-lr--hd .is-r { justify-self: end; }
.ebmi-page .ebmi-lr--hd button:hover, .ebmi-page .ebmi-lr--hd button:focus-visible, .ebmi-page .ebmi-lr--hd .is-asc, .ebmi-page .ebmi-lr--hd .is-desc { background: none; color: #fff; }
.ebmi-lr--hd button::after { content: "↕"; margin-left: 3px; font-size: 10px; opacity: .45; }
.ebmi-lr--hd .is-asc::after { content: "▲"; opacity: 1; color: #74d8bb; }
.ebmi-lr--hd .is-desc::after { content: "▼"; opacity: 1; color: #74d8bb; }
.ebmi-page__empty { margin: 18px 0; color: var(--c-mu); }
.ebmi-page__foot { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: 12px 0 0; color: var(--c-mu); font-size: 12px; }
.ebmi-page__foot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fd36b; box-shadow: 0 0 8px #2fd36b; } /* 머리에 있던 「국내 원화마켓 · 오전 9시 대비」를 맨 아래로 (2026-12-03 EB 지시) */
@media (max-width: 1023.98px) {
	.ebmi-lr { grid-template-columns: 60px 160px minmax(0, 1fr) 120px 72px; }
	.ebmi-lr .ebmi-chart, .ebmi-lr__hc { display: none; }
}
@media (max-width: 767.98px) {
	.ebmi-page { margin: 8px auto 32px; padding: 18px 14px 16px; border-radius: 14px; }
	.ebmi-page__top { flex-direction: column; align-items: flex-start; gap: 6px; }
	.ebmi-page .ebmi-page__tabs a { padding: 9px 10px; font-size: 14px; }
	.ebmi-hm { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 56px; }
	.ebmi-page .ebmi-hc:nth-child(n+9) { display: none; }
	.ebmi-page .ebmi-hc:not(.ebmi-hc--l), .ebmi-page .ebmi-hc:not(.ebmi-hc--l):not(.ebmi-hc--m) { grid-column: span 2; grid-row: span 1; display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 10px 12px; }
	.ebmi-page .ebmi-hc:not(.ebmi-hc--l) .ebmi-change { margin-left: auto; }
	.ebmi-hc--l b { font-size: 17px; }
	.ebmi-page .ebmi-hc--l .ebmi-change { font-size: 22px; }
	.ebmi-lr { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 10px; padding: 12px 14px; }
	.ebmi-lr--hd [data-k="t"], .ebmi-lr--hd [data-k="p"] { display: none; }
	.ebmi-lr__n { grid-column: 1 / -1; order: 3; }
	.ebmi-lr__n li + li { display: none; }
	.ebmi-lr__n li { font-size: 14.5px; }
	.ebmi-lr__p { display: none; }
}
.ebmi-mini { width: 100%; background: var(--mi-paper); border: 1px solid var(--mi-line); border-radius: 12px; padding: 16px; }
.ebmi-coin { margin: 14px 0; }
.ebmi-mini-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ebmi-mini .ebmi-mini-head h2 { background: none; padding: 0; margin: 0; color: var(--mi-ink); font-size: 17px; font-weight: 750; letter-spacing: -.04em; line-height: 1.4; }
.ebmi-mini .ebmi-mini-head h2::before { content: none; }
.ebmi-mini .ebmi-mini-head a { color: var(--mi-muted); font-size: 12px; font-weight: 600; }
/* 디지털자산 헤드라인 첫 화면 제목 상자 아래 「코인마켓 이슈」 카드 띠 — PC 한 줄 최대 3장(태블릿 2장), 휴대폰은 옆으로 넘김 (2026-12-03 EB 지시: 시안 A) */
.ebmi-strip {
	--s-ink: #111827;
	--s-sub: #1f2937;
	--s-mu: #6b7280;
	--s-ln: #e3e8ef;
	--s-ln2: #e6ebf1;
	--s-bg: #fff;
	--s-card: #f8fafc;
	--s-ac: #08786c;
	--s-up: var(--eb-up, #c8281e);
	--s-dn: var(--eb-dn, #1466d6);
	box-sizing: border-box;
	min-width: 0;
	margin: 14px 0 6px;
	padding: 14px 16px 16px;
	border: 1px solid var(--s-ln);
	border-radius: 14px;
	background: var(--s-bg);
	color: var(--s-ink);
}
html.dark .ebmi-strip { --s-ink: #ecf1f7; --s-sub: #d3dbe6; --s-mu: #98a5b6; --s-ln: #343d49; --s-ln2: #343d49; --s-bg: #171d25; --s-card: #202832; --s-ac: #74d8bb; --s-up: var(--eb-up-d, #ff6b6f); --s-dn: var(--eb-dn-d, #6ba8ff); }
.ebmi-strip * { box-sizing: border-box; }
.ebmi-strip a { color: inherit; text-decoration: none; }
.ebmi-strip a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ebmi-strip :focus-visible { outline: 2px solid var(--s-ac); outline-offset: 2px; }
/* 머리: 디지털자산 헤드라인 제목 상자처럼 영어(MARKET INSIGHTS) 위 · 아이콘+한글 제목 아래, 기준 글자는 오른쪽 아래 (2026-12-03 EB 지시) */
.ebmi-strip__hd { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "k b" "h b"; align-items: end; gap: 3px 8px; margin: 0 0 12px; }
.ebmi-strip .ebmi-kicker { grid-area: k; color: var(--s-ac); font-size: 12px; font-weight: 800; letter-spacing: 2px; line-height: 1.2; }
.ebmi-strip .ebmi-strip__hd h2 { grid-area: h; display: flex; align-items: center; margin: 0; padding: 0; border: 0; background: none; color: var(--s-ink); font-size: 18px; font-weight: 800; line-height: 1.35; letter-spacing: -.03em; }
.ebmi-strip .ebmi-strip__hd h2::after { content: none; }
.ebmi-strip .ebmi-strip__hd h2::before { content: ""; display: block; flex: none; width: 18px; height: 18px; margin: 0 8px 0 0; border: 0; border-radius: 0; background: var(--s-ac); -webkit-mask: var(--ebmi-ic) center/contain no-repeat; mask: var(--ebmi-ic) center/contain no-repeat; }
.ebmi-strip__hd { --ebmi-ic: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272.2%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M22%2012h-4l-3%209L9%203l-3%209H2%27%2F%3E%3C%2Fsvg%3E"); }
.ebmi-strip__basis { grid-area: b; align-self: end; padding-bottom: 3px; display: flex; align-items: center; gap: 5px; margin-left: auto; color: var(--s-mu); font-size: 12px; white-space: nowrap; }
.ebmi-strip__basis::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fb344; }
.ebmi-strip__row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--ebmi-n, 1) - 1) * 10px) / var(--ebmi-n, 1)); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ebmi-strip__row::-webkit-scrollbar { display: none; }
.ebmi-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px 14px; border: 1px solid var(--s-ln2); border-radius: 12px; background: var(--s-card); scroll-snap-align: start; }
.ebmi-card[data-dir="up"] { --s-dir: var(--s-up); }
.ebmi-card[data-dir="down"] { --s-dir: var(--s-dn); }
.ebmi-card__t { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ebmi-card__t .ebmi-logo, .ebmi-card__t .ebmi-initial { flex: none; width: 26px; height: 26px; }
.ebmi-card__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--s-ink); font-size: 16px; font-weight: 750; letter-spacing: -.02em; }
.ebmi-card__sym { flex: none; color: var(--s-mu); font-size: 12px; }
.ebmi-card .ebmi-change { flex: none; margin-left: auto; color: var(--s-dir, var(--s-mu)); font-size: 16px; font-weight: 800; }
.ebmi-card__v { display: flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; color: var(--s-mu); font-size: 12.5px; line-height: 1.4; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ebmi-card__v .ebmi-ex { display: block; flex: none; width: 14px; height: 14px; border-radius: 50%; }
.ebmi-card__v i { font-style: normal; }
.ebmi-card__v b { color: var(--s-sub); font-weight: 650; }
/* PC 에 3장이 나란히 서면 카드가 좁아 거래대금이 잘려 — 카드 폭이 좁을 때는 거래소 이름 글자를 빼고 로고만 둔다 */
.ebmi-card { container-type: inline-size; }
@container (max-width: 260px) {
	.ebmi-card__v > .ebmi-ex + span, .ebmi-card__v > .ebmi-ex + span + i { display: none; }
}
.ebmi-card .ebmi-chart { display: block; width: 100%; height: 34px; color: var(--s-dir, var(--s-mu)); }
.ebmi-card__n { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--s-ln2); }
.ebmi-card__n li { display: flex; align-items: baseline; gap: 7px; margin: 0; padding: 7px 0 0; color: var(--s-sub); font-size: 13.5px; line-height: 1.45; }
.ebmi-card__n time { flex: none; min-width: 4.4em; color: var(--s-mu); font-size: 12px; }
.ebmi-card__n a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1023.98px) {
	.ebmi-strip:not(.ebmi-strip--one) .ebmi-strip__row { grid-auto-columns: calc((100% - 10px) / 2); }
}
@media (max-width: 767px) {
	.ebmi-strip { margin: 10px 0 8px; padding: 12px 0 14px 12px; }
	.ebmi-strip__hd { padding-right: 12px; }
	.ebmi-strip__row { grid-auto-columns: 84%; padding-right: 12px; }
	.ebmi-strip--one .ebmi-strip__row { grid-auto-columns: 100%; }
	.ebmi-card__n a { display: -webkit-box; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
/* 터미널(/terminal/) 전체·디지털자산 목록 위 한 줄 「코인 이슈」 띠 + 펼침 — 다른 메뉴·한 화면 보기·글 읽기에서는 숨김 (2026-12-03 EB 지시: 시안 C) */
.ebmi-tbar { --t-up: var(--eb-up-d, #ff6b6f); --t-dn: var(--eb-dn-d, #6ba8ff); border-bottom: 1px solid var(--bd, #1c2433); background: var(--pn2, #0d121b); color: var(--tx, #e7ecf3); }
#ebw:not([data-f="all"]):not([data-f="da"]) .ebmi-tbar, #ebw.is-view .ebmi-tbar, #ebw.is-read .ebmi-tbar { display: none; }
.ebmi-tbar a { color: inherit; text-decoration: none; }
.ebmi-tbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ebmi-tbar [data-dir="up"] .ebmi-change { color: var(--t-up); }
.ebmi-tbar [data-dir="down"] .ebmi-change { color: var(--t-dn); }
.ebmi-tbar__r { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 10px 0 20px; }
.ebmi-tbar__b { flex: none; color: var(--am, #f5b841); font-size: 12.5px; font-weight: 800; letter-spacing: -.02em; }
.ebmi-tbar .ebmi-roll { position: relative; flex: 1; min-width: 0; height: 44px; overflow: hidden; }
.ebmi-tbar .ebmi-roll__i { display: flex; align-items: center; gap: 8px; min-width: 0; height: 44px; font-size: 14px; line-height: 1.2; }
.ebmi-tbar .ebmi-roll__i[hidden] { display: none; }
.ebmi-tbar .ebmi-logo, .ebmi-tbar .ebmi-initial { flex: none; width: 18px; height: 18px; }
.ebmi-tbar__s { flex: none; color: #fff; font-weight: 750; }
.ebmi-tbar .ebmi-change { flex: none; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ebmi-tbar__h { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sb, #c9d2de); font-weight: 600; }
.ebmi-tbar .ebmi-roll__i time { flex: none; min-width: 0; color: var(--mu, #a3aebd); font-size: 12px; white-space: nowrap; }
.ebmi-tbar__n { flex: none; color: var(--mu, #a3aebd); font-size: 12px; font-variant-numeric: tabular-nums; }
.ebmi-tbar__x { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin: 0; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--mu, #a3aebd); cursor: pointer; }
.ebmi-tbar__x:hover, .ebmi-tbar__x:focus-visible { background: var(--bd2, #2a3547); color: #fff; }
.ebmi-tbar__x svg { display: block; transition: transform .2s; }
.ebmi-tbar__x[aria-expanded="true"] svg { transform: rotate(180deg); }
.ebmi-tbar__p { padding: 2px 20px 8px; border-top: 1px solid var(--bd, #1c2433); background: var(--pn, #111723); }
.ebmi-tbar__p[hidden] { display: none; }
.ebmi-tbar__i { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 4px 8px; padding: 10px 0; border-top: 1px solid var(--bd, #1c2433); }
.ebmi-tbar__i:first-child { border-top: 0; }
.ebmi-tbar__i .ebmi-logo, .ebmi-tbar__i .ebmi-initial { width: 22px; height: 22px; }
.ebmi-tbar__nm { min-width: 0; color: #fff; font-size: 14px; font-weight: 750; }
.ebmi-tbar__nm small { margin-left: 5px; color: var(--mu, #a3aebd); font-size: 12px; font-weight: 600; }
.ebmi-tbar__q { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 13px; font-weight: 800; }
.ebmi-tbar__q .ebmi-ex { display: block; width: 14px; height: 14px; border-radius: 50%; }
.ebmi-tbar__q i { color: var(--mu, #a3aebd); font-size: 12px; font-style: normal; font-weight: 500; }
.ebmi-tbar__q i b { color: var(--sb, #c9d2de); font-weight: 650; }
.ebmi-tbar__i ul { grid-column: 2 / -1; list-style: none; margin: 0; padding: 0; }
.ebmi-tbar__i li { display: flex; align-items: baseline; gap: 8px; margin: 3px 0 0; color: var(--sb, #c9d2de); font-size: 13.5px; line-height: 1.5; }
.ebmi-tbar__i li time { flex: none; min-width: 4.4em; color: var(--mu, #a3aebd); font-size: 12px; }
.ebmi-tbar__i li a { min-width: 0; overflow-wrap: anywhere; }
/* 터미널 오른쪽 사이드 맨 위 「코인마켓 이슈」 상자 — 사이드가 오른쪽 칸인 1200px 이상만 (2026-12-03 EB 지시) */
.ebmi-side { --t-up: var(--eb-up-d, #ff6b6f); --t-dn: var(--eb-dn-d, #6ba8ff); order: -9; box-sizing: border-box; min-width: 0; padding: 14px 16px 10px; border: 1px solid var(--bd, #1c2433); border-radius: 14px; background: var(--pn, #111723); color: var(--tx, #e7ecf3); }
@media (max-width: 1199px) { .ebmi-side { display: none; } }
.ebmi-side * { box-sizing: border-box; }
.ebmi-side a { color: inherit; text-decoration: none; }
.ebmi-side a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ebmi-side__hd { display: flex; align-items: center; gap: 8px; margin: 0 0 2px; }
.ebmi-side .ebmi-side__hd h2 { margin: 0; padding: 0; border: 0; background: none; color: #fff; font-size: 17px; font-weight: 750; line-height: 1.4; letter-spacing: -.03em; }
.ebmi-side .ebmi-side__hd h2::before, .ebmi-side .ebmi-side__hd h2::after { content: none; }
.ebmi-side__basis { display: flex; align-items: center; gap: 5px; margin-left: auto; color: var(--mu, #a3aebd); font-size: 12px; white-space: nowrap; }
.ebmi-side__basis::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fb344; }
.ebmi-side__list { list-style: none; margin: 0; padding: 0; }
.ebmi-side__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 4px 8px; margin: 0; padding: 10px 0; border-top: 1px solid var(--bd, #1c2433); }
.ebmi-side__list li:first-child { border-top: 0; }
.ebmi-side .ebmi-logo, .ebmi-side .ebmi-initial { width: 22px; height: 22px; }
.ebmi-side__nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-size: 14px; font-weight: 750; }
.ebmi-side__nm small { margin-left: 5px; color: var(--mu, #a3aebd); font-size: 12px; font-weight: 600; }
.ebmi-side__q { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ebmi-side__q .ebmi-ex { display: block; width: 14px; height: 14px; border-radius: 50%; }
.ebmi-side [data-dir="up"] .ebmi-change { color: var(--t-up); }
.ebmi-side [data-dir="down"] .ebmi-change { color: var(--t-dn); }
.ebmi-side .ebmi-roll { grid-column: 1 / -1; position: relative; min-width: 0; height: 21px; overflow: hidden; }
.ebmi-side .ebmi-roll__i { display: flex; align-items: baseline; gap: 7px; min-width: 0; height: 21px; }
.ebmi-side .ebmi-roll__i[hidden] { display: none; }
.ebmi-side .ebmi-roll__i time { flex: none; min-width: 4.4em; color: var(--mu, #a3aebd); font-size: 12px; line-height: 21px; white-space: nowrap; }
.ebmi-side .ebmi-roll__i a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sb, #c9d2de); font-size: 13.5px; line-height: 21px; }
@media (max-width: 767px) {
	.ebmi-tbar__b, .ebmi-tbar__s, .ebmi-tbar__n { display: none; }
	.ebmi-tbar__r { gap: 7px; padding: 0 6px 0 16px; }
	.ebmi-tbar .ebmi-roll__i { gap: 7px; }
	.ebmi-tbar__p { padding: 2px 16px 8px; }
}
@media (max-width: 767px) {
	.ebmi-grid { gap: 8px; }
	.ebmi-page { margin: 12px auto 36px; border-radius: 12px; }
	.ebmi-hero { padding-bottom: 6px; }
	.ebmi-page .ebmi-filters { gap: 20px; }
	.ebmi-page .ebmi-venues a { height: 44px; font-size: 14.5px; }
}
@media (max-width: 420px) {
	.ebmi-page { padding: 14px 10px; }
	.ebmi-quote { grid-template-columns: 26px minmax(0, min(31%, 106px)) minmax(0, 24%) max-content; gap: 6px; }
	.ebmi-logo, .ebmi-initial { width: 26px; height: 26px; }
	.ebmi-values strong, .ebmi-page .ebmi-asset h2 { font-size: 14px; }
}
@media (max-width: 364px) {
	body:has(main.ebmi-page) .eb-footer__nav--cats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
/* 디지털자산(1) PC 「코인마켓 이슈 | 어나운스먼트」 두 칸 — ETF·시황 | 매크로 줄과 같은 모양 (2026-12-03 EB 지시: 시안 A). 휴대폰은 예전 어나운스먼트 카드 */
/* 어나운스먼트는 예전 카드(.ebl-hero) 그대로 크기만 줄여 오른쪽 칸 — .ebl-grp·.ebl-sa 가 PC 에서 display:contents 라 카드가 .ebl 격자에 바로 선다 (같은 날 EB 지시) */
@media (min-width: 768px) {
	.ebl.ebl--mi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; row-gap: 18px; }
	.ebl--mi > *, .ebl--mi > .ebl-grp > *, .ebl--mi .ebl-sa > * { grid-column: 1 / -1; }
	.ebl--mi > .ebl-mi-col { grid-column: 1; grid-row: 1; display: flex; min-width: 0; }
	.ebl--mi > .ebl-mi-col > .ebl-box { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-bottom: 14px; }
	.ebl--mi .ebl-sa > .ebl-hero { grid-column: 2; grid-row: 1; min-height: 0; }
	.ebl--mi .ebl-hero__top { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 0; } /* ANNOUNCEMENT·칩·더보기는 카드 위쪽(왼쪽 코인마켓 이슈 머리와 같은 높이), 제목은 아래 글 바로 위 (2026-12-03 EB 지시) */
	.ebl--mi .ebl-hero__row { flex: none; }
	.ebl--mi .ebl-hero__shade { background: linear-gradient(to bottom, rgba(6, 13, 28, .78) 0%, rgba(6, 13, 28, .2) 26%, rgba(6, 13, 28, 0) 40%), linear-gradient(to top, rgba(6, 13, 28, .97) 0%, rgba(6, 13, 28, .86) 48%, rgba(6, 13, 28, .15) 85%); } /* 위로 올린 머리 글자가 밝은 그림 위에서도 읽히게 */
	.ebl--mi .ebl-hero__ti { font-size: 19px; line-height: 1.4; letter-spacing: -.5px; }
	.ebl--mi .ebl-hero__lnk { margin-top: auto; padding-top: 14px; }
	.ebl--mi .ebl .ebl-hero__subs, .ebl.ebl--mi .ebl-hero__subs { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 14px 22px 0; padding: 0 0 12px; }
	.ebl.ebl--mi .ebl-hero__subs li { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
	.ebl.ebl--mi .ebl-hero__subs li:first-child { border-top: 0; }
	body.category-digital-asset .ebl--mi .ebl-hero__subs .ebl-ti { font-size: 14.5px; }
}
@media (max-width: 767px) {
	.ebl-mi-col { display: none !important; }
	/* 어나운스먼트 카드: ANNOUNCEMENT·칩·더보기를 카드 위쪽(옆 ETF·시황 칸 머리와 같은 줄)로, 제목은 카드 아래 (2026-12-03 EB 지시) */
	.ebl .ebl-hero__row { margin-bottom: auto; }
	.ebl .ebl-hero__lnk { margin-top: 18px; }
	.ebl .ebl-hero__shade { background: linear-gradient(to bottom, rgba(6, 13, 28, .78) 0%, rgba(6, 13, 28, .2) 30%, rgba(6, 13, 28, 0) 45%), linear-gradient(to top, rgba(6, 13, 28, .97) 0%, rgba(6, 13, 28, .86) 48%, rgba(6, 13, 28, .15) 85%); }
}
/* 휴대폰 디지털자산 「헤드라인」 칸 제목 아래 한 줄 「코인마켓 이슈」 띠 — 위 「인기」 띠와 같은 모양 (2026-12-03 EB 지시: C안) */
.ebmi-cbar { --b-up: var(--eb-up, #d6303a); --b-dn: var(--eb-dn, #1466d6); --b-mu: #657286; margin: 0 0 12px; border: 1px solid #dfe5ec; border-radius: 8px; background: #f1f4f8; color: #263445; }
html.dark .ebmi-cbar { --b-up: var(--eb-up-d, #ff6b6f); --b-dn: var(--eb-dn-d, #6ba8ff); --b-mu: #9aa3ad; border-color: #353c46; background: #20242a; color: #e7ebf0; }
.ebmi-cbar__r { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 3px 0 10px; }
.ebmi-cbar__b { flex: none; color: #0f9f7a; font-size: 13.5px; font-weight: 800; }
html.dark .ebmi-cbar__b { color: #74d8bb; }
.ebmi-cbar .ebmi-roll { position: relative; flex: 1; min-width: 0; height: 36px; overflow: hidden; }
.ebmi-cbar .ebmi-roll__i { display: flex; align-items: center; gap: 6px; min-width: 0; height: 36px; color: inherit; text-decoration: none; }
.ebmi-cbar .ebmi-roll__i[hidden] { display: none; }
.ebmi-cbar .ebmi-roll .ebmi-logo, .ebmi-cbar .ebmi-roll .ebmi-initial { flex: none; width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.ebmi-cbar__s { flex: none; font-size: 14px; font-weight: 800; white-space: nowrap; }
.ebmi-cbar .ebmi-roll .ebmi-change { flex: none; color: var(--b-mu); font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ebmi-cbar .ebmi-roll .ebmi-change:empty { display: none; }
.ebmi-cbar .ebmi-roll [data-dir="up"] .ebmi-change, .ebmi-cbar .ebmi-roll__i[data-dir="up"] .ebmi-change { color: var(--b-up); }
.ebmi-cbar .ebmi-roll__i[data-dir="down"] .ebmi-change { color: var(--b-dn); }
.ebmi-cbar__h { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 650; }
.ebmi-cbar .ebmi-roll__i time { flex: none; color: var(--b-mu); font-size: 11.5px; white-space: nowrap; }
.ebmi-cbar .ebmi-cbar__x { width: 30px; height: 32px; color: var(--b-mu); }
.ebmi-cbar .ebmi-cbar__x:hover, .ebmi-cbar .ebmi-cbar__x:focus-visible { background: rgba(127, 127, 127, .14); color: inherit; }
.ebmi-cbar__p { padding: 2px 12px 8px; border-top: 1px solid rgba(127, 127, 127, .25); }
.ebmi-cbar__p .ebmi-box__rows, .ebt .ebmi-cbar__p .ebmi-box__rows { margin: 0; }
.ebmi-cbar__p .ebmi-box__rows > li:first-child { padding-top: 11px; }
.ebmi-cbar .ebmi-roll .ebmi-cbar__s { display: none; } /* 한 줄 띠는 로고·변동률·상대 시간·제목 — 시간이 제목 앞으로 오면서 제목 자리가 모자라 이름은 펼침에서만 (2026-12-03) */
.ebmi-cbar__p .ebmi-box__name { flex: 0 0 auto; font-size: 14px; }
.ebmi-cbar__p .ebmi-box__p { font-size: 12.5px; }
.ebmi-cbar .ebmi-cbar__p .ebmi-change { min-width: 54px; font-size: 12px; }
.ebmi-cbar__p .ebmi-box__sym { display: none; } /* 휴대폰 폭에서는 티커가 잘려(A..·RITU…) 이름만 */
.ebmi-box { --b-up: var(--eb-up, #d6303a); --b-dn: var(--eb-dn, #1466d6); --b-mu: #6b7280; --b-ac: #0f9f7a; --b-ln: #e3e6eb; }
html.dark .ebmi-box { --b-up: var(--eb-up-d, #ff6b6f); --b-dn: var(--eb-dn-d, #6ba8ff); --b-mu: #98a1ad; --b-ac: #74d8bb; --b-ln: rgba(255, 255, 255, .12); }
.ebmi-box .ebl-eye { color: var(--b-ac) !important; }
.ebmi-box .ebl-section-title { display: inline-flex; align-items: center; gap: 7px; }
.ebmi-box__ic { flex: none; color: var(--b-ac); }
.ebmi-box__rows, .ebl .ebmi-box__rows { list-style: none; margin: 20px 0 0; padding: 0; } /* 제목과 첫 줄 사이 넓게 (EB 지시) */
/* 머리 아래 「이슈」 한 줄 — 햄버거 메뉴 「헤드라인」 줄처럼 파랑 알약 + 글 제목 한 줄, 3.5초마다 아래에서 위로 (2026-12-03 EB 지시) */
.ebmi-box__tk { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 16px -10px 0; padding: 6px 10px 6px 6px; border-radius: 999px; background: rgba(26, 115, 232, .07); } /* 줄을 칸 안쪽 여백까지 양쪽 10px 넓히고 알약은 왼쪽 끝에 붙임 — 알약이 코인 로고보다 왼쪽에서 시작 (2026-12-03 EB 지적: 줄이 좁아 보임) */
html.dark .ebmi-box__tk { background: rgba(107, 168, 255, .1); }
.ebmi-box__tkb { flex: none; padding: 2px 10px; border-radius: 999px; background: #1a73e8; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .2px; line-height: 17px; } /* 둥근 알약, 작게 (2026-12-03 EB 지시) */
.ebmi-box__tk .ebmi-roll { position: relative; flex: 1; min-width: 0; height: 24px; overflow: hidden; }
.ebmi-box__tk .ebmi-roll__i { display: block; height: 24px; line-height: 24px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: inherit; font-size: 15px; font-weight: 600; text-decoration: none; }
.ebmi-box__tk .ebmi-roll__i[hidden] { display: none; }
.ebmi-box__tk .ebmi-roll__i:hover { text-decoration: underline; text-underline-offset: 3px; }
.ebmi-box__tk + .ebmi-box__rows, .ebl .ebmi-box__tk + .ebmi-box__rows { margin-top: 14px; }
.ebmi-box__rows > li { margin: 0; padding: 11px 0; border-top: 1px solid var(--b-ln); }
.ebmi-box__rows > li:first-child { border-top: 0; padding-top: 2px; }
.ebmi-box__t { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ebmi-box__t .ebmi-logo, .ebmi-box__t .ebmi-initial { flex: none; width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.ebmi-box__name { flex: 0 1 auto; min-width: 3.5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; font-size: 15px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.ebmi-box__sym { flex: 0 100 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--b-mu); font-size: 12px; } /* 칸이 좁으면 티커부터 줄어 이름이 덜 잘리게 */
.ebmi-why { flex: none; padding: 2px 6px; border-radius: 5px; background: rgba(127, 127, 127, .16); color: var(--b-mu); font-size: 11px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.ebmi-why.is-fill { background: transparent; box-shadow: inset 0 0 0 1px rgba(127, 127, 127, .35); }
.ebmi-box__p { display: inline-flex; align-items: center; gap: 4px; flex: none; margin-left: auto; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ebmi-box__p .ebmi-ex { display: block; width: 14px; height: 14px; border-radius: 50%; }
.ebmi-box__p b { font-weight: 700; }
.ebmi-box .ebmi-change { flex: none; min-width: 60px; padding: 3px 6px; border-radius: 6px; background: rgba(127, 127, 127, .14); color: var(--b-mu); text-align: center; font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ebmi-box .ebmi-change:empty { display: none; }
.ebmi-box [data-dir="up"] .ebmi-change { background: rgba(255, 107, 111, .13); color: var(--b-up); }
.ebmi-box [data-dir="down"] .ebmi-change { background: rgba(107, 168, 255, .14); color: var(--b-dn); }
/* 소식 줄: 상대 시간 → 제목 한 줄 (2026-12-03 EB 지시: 헤드라인 카드 띠와 같은 방식) */
.ebmi-box__nw { display: flex; align-items: baseline; gap: 8px; min-width: 0; margin: 8px 0 0; }
.ebmi-box__nw time { flex: none; min-width: 4.4em; color: var(--b-mu); font-size: 12px; white-space: nowrap; }
.ebmi-box__n { display: block; flex: 1; min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.45; text-decoration: none; }
.ebmi-box__n:hover { text-decoration: underline; text-underline-offset: 3px; }
.ebmi-box__basis { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin: auto 0 0; padding-top: 6px; color: var(--b-mu); font-size: 11.5px; }
.ebmi-box__basis::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2fb344; }
